]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
aarch64: Remove nptl/vfork.S
[thirdparty/glibc.git] / ChangeLog
CommitLineData
cf7bfd28
SL
12014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2
3 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4
111cc714
RH
52014-06-03 Richard Henderson <rth@redhat.com>
6
89b4bd6b
RH
7 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11 in the SAVE_PID block.
12 (__libc_vfork): New alias.
71840409 13 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 14
111cc714
RH
15 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16 child in registers, not on the stack. Remove RESET_PID conditionals.
17 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18
ccc39911
MS
192014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20
21 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22
693096cc
W
232014-06-03 Wilco <wdijkstr@arm.com>
24
25 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
29 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
30 Likewise.
31
0b4366bc
W
322014-06-03 Wilco <wdijkstr@arm.com>
33
34 * sysdeps/aarch64/fpu/math_private.h
35 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
36 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
37 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39 Fix declarations.
40
8747cd03
KS
412014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
42
43 * crypt/crypt-private.h: Include ufc-crypt.h.
44 (__b64_from_24bit): Declare extern.
45 * crypt/crypt_util.c(__b64_from_24bit): New function.
46 (b64t): New static const variable.
47 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
48 (b64t): Remove variable.
49 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
50 * crypt/sha256-crypt.c: Include crypt-private.h.
51 (b64t): Remove variable.
52 (__sha256_crypt_r): Remove b64_from_24bit and replace
53 with __b64_from_24bit.
54 * crypt/sha512-crypt.c: Likewise.
55
d936d379
RM
562014-06-02 Roland McGrath <roland@hack.frob.com>
57
58 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
59 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
60 Label the code __libc_vfork rather than __vfork.
61 [!NOT_IN_libc] (vfork): Define as weak alias.
62 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
63 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
64 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
65
9fa76613
SP
662014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
67
68 * malloc/malloc.c (malloc_info): Fix format specifier for
69 n_mmaps.
70
a88dadbe
W
712014-06-02 Wilco <wdijkstr@arm.com>
72
73 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
74 FPCR write.
75
c95b3011
W
762014-06-02 Wilco <wdijkstr@arm.com>
77
78 [BZ #17009]
79 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
80 Rewrite to reduce FPCR/FPSR accesses.
81
6b4d7a90
DM
822014-06-01 David S. Miller <davem@davemloft.net>
83
84 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85
30f3d07c
DM
862014-05-31 David S. Miller <davem@davemloft.net>
87
88 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
89 to occur in round to nearest mode when |x| >= 2.0
90
74f31c18
RH
912014-05-30 Richard Henderson <rth@twiddle.net>
92
f0712b54
RH
93 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
94 (PSEUDO_RET_NOERRNO): Remove.
95 (ret): Don't redefine.
96 (ret_NOERRNO): Define in terms of ret.
97 (ret_ERRVAL): Likewise.
98
74f31c18
RH
99 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
100 use of PSEUDO_RET; perform the error check directly.
101
30477995
MM
1022014-05-30 Marko Myllynen <myllynen@redhat.com>
103
104 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
105 with __int128_t.
106
62a58816
SP
1072014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
108
109 * malloc/malloc (malloc_info): Fix formatting.
110
4d653a59
SP
1112014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
112 Roland McGrath <roland@hack.frob.com>
113
114 * malloc/malloc (malloc_info): Also print mmapped statistics.
115
5190c17f
RM
1162014-05-30 Roland McGrath <roland@hack.frob.com>
117
118 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
119 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
120
987c0269
OB
1212014-05-30 Ondřej Bílka <neleai@seznam.cz>
122
123 * malloc/malloc.c (malloc_info): Inline mi_arena.
124
af4e8ef9
RH
1252014-05-29 Richard Henderson <rth@twiddle.net>
126
1670e207
RH
127 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
128 Remove comma before expanding ASM_ARGS_##nr.
129 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
130 Make _x0 a strict output; make _x8 a strict input; adjust expansion
131 of ASM_ARGS_##nr.
132 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
133 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
134 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
135 (ASM_ARGS_1): Add leading comma.
136
11a28aee
RH
137 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
138 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
139 to __errno_location.
140 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
141 Remove the expected plt for __errno_location.
142
a17e5ffb 143 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 144 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
145 call to __read_tp.
146
b5be4597
RH
147 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
148 Always allocate 64 bytes of stack frame. Use ldp/stp to create
149 it and break it down.
150 (DOCARGS_0, DOCARGS_1): Do nothing.
151 (DOCARGS_2): Update to store into the new stack frame.
152 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
153 (UNDOCARGS_1): Update to restore from the new stack frame.
154 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
155 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
156
645d44ab
RH
157 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
158 (SINGLE_THREAD_P): New parameter for result regno.
159 (PSEUDO): Update to match; use cbz instead of beq.
160
a8b4f04a
RH
161 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
162 Use ENTRY to define the _nocancel entry point. Share the syscall
163 and syscall error check paths with the cancel path.
164 (PSEUDO_END): New.
165
af4e8ef9
RH
166 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
167 whitespace; tabs before and after asm mnemonics.
168
26b0d2e1
EW
1692014-05-29 Eric Wong <normalperson@yhbt.net>
170
171 [BZ #15132]
172 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
173 Call fstat64 or stat64 internally, depending on arguments passed.
174 Replace stat buffer argument with file descriptor argument.
175 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
176 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
177 Pass fd to __internal_statvfs instead of calling fstat64.
178 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
179 Pass fd to __internal_statvfs64 instead of calling fstat64.
180 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
181 Pass -1 to __internal_statvfs instead of calling stat64.
182 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
183 Pass -1 to __internal_statvfs64 instead of calling stat64.
184
1efe2bd9
RM
1852014-05-28 Roland McGrath <roland@hack.frob.com>
186
0d3b7a19
RM
187 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
188 that was previously under [RESET_PID].
189 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
190
1efe2bd9
RM
191 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
192 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
193
a6bea3ca
RM
1942014-05-27 Roland McGrath <roland@hack.frob.com>
195
30b6629e
RM
196 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
197
a6bea3ca
RM
198 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
199 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
200
3dfb9a5c
OB
2012014-05-27 Ondřej Bílka <neleai@seznam.cz>
202
203 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
204
774f9285
AS
2052014-05-27 Andreas Schwab <schwab@suse.de>
206
207 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
208 TLS_INIT_TP macro.
209 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
210 * elf/rtld.c (init_tls, dl_main): Likewise.
211 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
212 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
213 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
214 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
215 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
216 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
217 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
218 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
219 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
220 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
221 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
222 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
223 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
224 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
225 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
226 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
227 * sysdeps/generic/tls.h: Update description.
228
36ffe739
WN
2292014-05-27 Will Newton <will.newton@linaro.org>
230
231 [BZ #16990]
232 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
233 and restore r2 rather than just restoring.
234
2482ae43
SP
2352014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
236
237 [BZ #16724]
238 * libio/tst-ftell-append.c: New test case.
239 * libio/Makefile (tests): Add test case.
240 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
241 append mode.
242 * libio/wfileops.c (do_ftell_wide): Likewise.
243
3d1024e8
AZ
2442014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
245
bab90016
AZ
246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
247
c7a8d667
AZ
248 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
249 ...
250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
252 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
253 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
254 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
255 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
256 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
257 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
258 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
259 Moved ...
260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
261 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
262 Moved ...
263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
264 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
265 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
266 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
267 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
268 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
269 ...
270 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
271 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
272 Moved ...
273 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
274 here.
275 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
276 ...
277 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
278 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
279 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
280
daee7851
AZ
281 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
282 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
283 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
284 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
285
50a40819
AZ
286 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
287 merge into ...
288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
289 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
290 ...
291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
293 ...
294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
295 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
296 Moved ...
297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
298 here.
299 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
300 Moved ...
301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
303 Moved ...
304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
305
8464c2a1
AZ
306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
307 conditional [RESET_PID].
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
310 removed.
311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
312 removed.
313
3d1024e8
AZ
314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
315 <tcb-offsets.h>.
316 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
317 (__libc_vfork): New strong alias.
318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
319 removed.
320 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
321 Removed.
322
323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
324 <tcb-offsets.h>.
325 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
326 (__libc_vfork): New strong alias.
327 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
328 removed.
329 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
330 removed.
331
fdfd175d
CD
3322014-05-26 Carlos O'Donell <carlos@redhat.com>
333
334 * malloc/malloc.c (mi_arena): New function.
335 (malloc_info): Remove nested function mi_arena. Call non-nosted
336 function mi_arena.
337
d298c416
AZ
3382014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
339
340 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
341 by insrwi.
342 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
343 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
344 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
345 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
346 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
347 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
348 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
349
b60ea6ff
AS
3502014-05-26 Andreas Schwab <schwab@suse.de>
351
352 [BZ #16984]
353 * locale/programs/repertoire.c (repertoire_read): Add slash
354 between I18NPATH element and file name.
355 * locale/programs/locfile.c (locfile_read): Likewise.
356
67365926
SL
3572014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
358
359 * nptl/pthread_mutexattr_settype.c
360 (__pthread_mutexattr_settype):
361 Disable lock elision for PTHREAD_MUTEX_NORMAL.
362
f8bdf1f0
SL
3632014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
364
365 * nptl/tst-mutex5 (do_test):
366 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
367
15eaf6ff
SP
3682014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
369
370 * benchtests/README: Document 'init' directive.
371 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
372 BENCH_INIT.
373 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
374 (parse_file): Recognize 'init' directive.
375
75f11331
KM
3762014-05-26 Kyle McMartin <kyle@redhat.com>
377
378 [BZ #16796]
379 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
380 alignment of struct pthread.
381
c3ec475c
SP
3822014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
383
384 [BZ #16878]
385 * nscd/netgroupcache.c (addgetnetgrentX): Look for
386 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
387 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
388 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
389
82aab97c
RH
3902014-05-25 Richard Henderson <rth@twiddle.net>
391
aa2f176d
RH
392 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
393 (SINGLE_THREAD_P_PIC): Remove.
394 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
395 (SINGLE_THREAD_P_PIC): Remove.
396
ca3cfa40
RH
397 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
398 branch to syscall error ...
399 (PSEUDO): ... here.
400 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
401 from __local_syscall_error to .Lsyscall_error.
402 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
403 (SYSCALL_ERROR): Update label name.
404
6e6c2d01
RH
405 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
406 Do not use DOARGS/UNDOARGS.
407 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
408 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
409 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
410 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
411 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
412
c69abcee
RH
413 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
414 block comment.
415
82aab97c
RH
416 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
417 define if !NOT_IN_libc.
418 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
419 define with non-default symbol versions.
420
8820e3ac
RH
4212014-05-23 Richard Henderson <rth@twiddle.net>
422
900e445f
RH
423 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
424 (vfork, __vfork): Define via compat_symbol.
425
8820e3ac
RH
426 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
427 [!HAVE_IFUNC] (vfork_compat): Remove.
428 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
429
e59252a5
JM
4302014-05-23 Joseph Myers <joseph@codesourcery.com>
431
432 [BZ #16978]
433 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
434 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
435 variable.
436
132c7f5f
RH
4372014-05-23 Richard Henderson <rth@twiddle.net>
438
bc89e962
RH
439 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
440 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
441 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
442 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
443
444 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
445 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
446 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
447 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
448 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
449 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
450 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
451 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
452 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
453 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
454 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
455 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
456 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
457 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
458 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
459 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
460 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
461 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
462 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
463 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
464 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
465 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
466 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
467 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
468 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
469 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
470 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
471 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
472 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
473 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
474 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
475 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
476 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
477 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
478 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
479 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
480 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
481 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
482 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
483 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
484 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
485 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
486 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
487 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
488 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
489 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
490 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
491 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
492 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
493 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
494 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
495 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
496 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
497 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
498 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
499 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
500
e2fa4bc2
RH
501 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
502 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
503 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
504 before exiting on error.
505 (__libc_vfork): New strong alias.
506 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
507 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
508
279b24e2
RH
509 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
510 that was previously under [RESET_PID].
511 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
512
132c7f5f
RH
513 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
514
b72592e7
JM
5152014-05-23 Joseph Myers <joseph@codesourcery.com>
516
517 [BZ #16977]
518 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
519 value when x - 1 is zero.
520 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
521 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
522 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
523 0.0L for an argument of 1.0L.
524 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
525 Likewise.
526 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
527 value when x - 1 is zero.
528 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
529 * sysdeps/i386/fpu/libm-test-ulps: Update.
530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
531
2302d679
RV
5322014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
533
534 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
535 alphasort and versionsort.
536
32999d63
AZ
5372014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
538
539 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
540 macro.
541 [copysignf]: Likewise.
542
019324d0
SP
5432014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
544
545 * crypt/md5-crypt.c: Fix formatting.
546
34fff5c2
KS
5472014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
548
549 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
550 (b64_from_24bit): New function.
551
3d2badac
AZ
5522014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
553
554 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
555 libc_hidden_builtin_def to ifunc.
556 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
557 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
558
f7bb179f 5592014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
560
561 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
562 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
563
4134b50d
JM
5642014-05-21 Joseph Myers <joseph@codesourcery.com>
565
bb7d0337
JM
566 * nscd/Depend (linuxthreads): Remove.
567 (nptl): Add.
568 * resolv/Depend (linuxthreads): Remove.
569 * rt/Depend (linuxthreads): Remove.
570
4134b50d
JM
571 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
572 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
573 $(common-objpfx)elf/.
574 (link-libc-before-gnulib): Likewise.
575 (elfobjdir): Remove variable.
576 * Makefile (install): Use $(elf-objpfx) instead of
577 $(common-objpfx)elf/.
578 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
579 $(elfobjdir)/.
580 (link-libc-deps): Likewise.
581 ($(common-objpfx)libc.so): Likewise.
582 ($(common-objpfx)linkobj/libc.so): Likewise.
583 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
584 instead of $(common-objpfx)elf/.
585 (symbolic-link-list): Likewise.
586 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
587 [$(cross-compiling) = no]: Likewise.
588 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
589 $(elfobjdir)/.
590 (static-gnulib-arch): Likewise.
591 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
592 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
593 $(common-objpfx)elf/.
594
3612eb8f
RH
5952014-05-21 Richard Henderson <rth@redhat.com>
596
a6b3657b
RH
597 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
598 (SINGLE_THREAD_P): Use the correct width load. Fold
599 into the ldr offset.
600
3612eb8f
RH
601 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
602 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
603
175cef41
JM
6042014-05-20 Joseph Myers <joseph@codesourcery.com>
605
606 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
607 (libgcc_s_resume): Use __attribute_used__.
608 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
609 Likewise.
610
e13bccd3
AZ
6112014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
612
613 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
614 optimization when used with float constants.
615
7c112a38
AZ
616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
617
ae75a883
AJ
6182014-05-20 Aurelien Jarno <aurelien@aurel32.net>
619
620 [BZ #16915]
621 * locale/nl_langinfo_l.c: Make direct reference to every
622 _nl_current_CATEGORY symbol.
623 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
624 (tests-static): Add tst-langinfo-static.
625 (tests-special): Add tst-langinfo-static.out.
626 ($(objpfx)tst-langinfo.out): Redirect output.
627 ($(objpfx)tst-langinfo-static.out): New.
628 * localedata/tst-langinfo.sh: Send output to stdout.
629 * localedata/tst-langinfo-static.c: New file.
630
4406c41c
AJ
631 [BZ #16965]
632 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
633 when the shift amount is modulo the limb size.
634
4c0a1e63
RH
6352014-05-20 Richard Henderson <rth@redhat.com>
636
de9d8f20
RH
637 [BZ #16967]
638 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
639 Change type of sa_flags from unsigned int to int.
640
4c0a1e63
RH
641 [BZ #16966]
642 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
643
644 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
645
a60339aa
WN
6462014-05-20 Will Newton <will.newton@linaro.org>
647
648 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
649 Test the return value of the system call in the nocancel case.
650
7d05a816
YR
6512014-05-20 Will Newton <will.newton@linaro.org>
652 Yvan Roux <yvan.roux@linaro.org>
653
654 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
655 #include of asm/ptrace.h.
656 (PTRACE_GET_THREAD_AREA): Remove #undef.
657 (PTRACE_GETHBPREGS): Likewise.
658 (PTRACE_SETHBPREGS): Likewise.
659 (struct user_regs_struct): New structure.
660 (struct user_fpsimd_struct): New structure.
661 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
662 #include of asm/ptrace.h and second #include of sys/user.h.
663 (PTRACE_GET_THREAD_AREA): Remove #undef.
664 (PTRACE_GETHBPREGS): Likewise.
665 (PTRACE_SETHBPREGS): Likewise.
666 (ELF_NGREG): Use new struct user_regs_struct.
667 (elf_fpregset_t): Use new struct user_fpsimd_struct.
668
af121e37
AZ
6692014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
670
671 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
672 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
673
834caf06
JM
6742014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
675
676 [BZ #16958]
677 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
678 membar to avoid block loads/stores to overlap previous stores.
679
e184a918
RH
6802014-05-17 Richard Henderson <rth@redhat.com>
681
682 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
683 Create the __##syscall_name##_nocancel entry point.
684 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
685 Remove; let the sysdep-cancel.h code create it.
686
f56c7a6a
DM
6872014-05-17 David S. Miller <davem@davemloft.net>
688
689 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
690 Protect with __USE_GNU.
691 (TIOCSET_TEMPT): Likewise.
692 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
693 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
694 these are already provided in bits/ioctl-types.h
695
f75616b2
RM
6962014-05-16 Roland McGrath <roland@hack.frob.com>
697
3edeca86
RM
698 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
699 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
700
f75616b2
RM
701 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
702 Use wait4 regardless of [__NR_waitpid].
703
deb0f7f6
MR
7042014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
705
706 PR libgcc/60166
707 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
708 (_FP_NANSIGN_Q): Set the quiet bit.
709
79520f4b
JM
7102014-05-16 Joseph Myers <joseph@codesourcery.com>
711
712 * benchtests/Makefile
713 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
714 not $(common-objpfx)math/libm.so.
715 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
716 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
717 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
718 $(common-objpfx)dlfcn/libdl.so.
719 ($(objpfx)tst-audit8): Depend on $(libm), not
720 $(common-objpfx)math/libm.so.
721 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
722 not $(common-objpfx)dlfcn/libdl.so.
723 * math/Makefile
724 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
725 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
726 [$(build-shared) = yes].
727 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
728 $(common-objpfx)nptl/libpthread.so.
729 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
730 $(common-objpfx)math/libm.so$(libm.so-version) or
731 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
732 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
733 $(common-objpfx)dlfcn/libdl.so.
734 * setjmp/Makefile (link-libm): Remove variable.
735 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
736 * stdio-common/Makefile (link-libm): Remove variable.
737 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
738 * stdlib/Makefile (link-libm): Remove variable.
739 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
740 ($(objpfx)tst-strtod-round): Likewise.
741 ($(objpfx)tst-tininess): Likewise.
742 ($(objpfx)tst-strtod-underflow): Likewise.
743 ($(objpfx)tst-strtod6): Likewise.
744 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
745 $(libdl), not $(common-objpfx)nptl/libpthread.so and
746 $(common-objpfx)dlfcn/libdl.so.
747
026b0fe4
AZ
7482014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
749
750 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
751 BSD terminal modes definitions.
752
def4bcb2
RM
7532014-05-16 Roland McGrath <roland@hack.frob.com>
754
fe39b021
RM
755 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
756 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
757
1d1fc46e 758 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
759 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
760 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
761 Don't do #include_next.
762 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
763 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
764 Don't do #include_next.
765 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
766 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
767 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
768 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
769
c72399fb
AM
7702014-05-16 Allan McRae <allan@archlinux.org>
771
d51d659d
AM
772 * po/sv.po: Update Swedish translation from translation project.
773
c72399fb
AM
774 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
775 in sed expression.
776
d0583c40
AJ
7772014-05-16 Aurelien Jarno <aurelien@aurel32.net>
778
779 [BZ #16917]
780 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
781 errno if the TIOCGPTN ioctl fails with an error different than
782 EINVAL.
783 * login/tst-ptsname.c: New file.
784 * login/Makefile (tests): Add tst-ptsname.
785
d16e6ec7
AJ
786 [BZ #16943]
787 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
788 and prlimit64.
789
cf26a0cb
SP
7902014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
791
792 [BZ #16849]
793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
794 herrno to return EAI_AGAIN.
795
5675da1e
RM
7962014-05-14 Roland McGrath <roland@hack.frob.com>
797
a5d87b3d
RM
798 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
799 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
800 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
801 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
802 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
803 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
804 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
805 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
806 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
807 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
808 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
809 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
810 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
811 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
812 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
813 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
814 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
815 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
816 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
817 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
818 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
819 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
820 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
821 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
822 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
823 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
824 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
825 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
826 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
827 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
829 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
831 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
833 Moved ...
834 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
836 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
838 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
840 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
842 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
844 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
846 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
848 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
850 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
852 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
854 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
856 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
858 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
860 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
862 Moved ...
863 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
865 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
867 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
869 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
871 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
873 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
875 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
877 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
879 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
881 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
883 Moved ...
884 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
886 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
887
039890a6
RM
888 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
889 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
890 (libpthread-sysdep_routines): Add elision-related stuff here instead.
891 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
892 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
893 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
894 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
895 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
896 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
897 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
898 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
899 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
900 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
901 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
902 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
903 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
904 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
905 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
906 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
907 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
908 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
909 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
910 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
911 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
912 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
913 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
914 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
915 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
916 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
917 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
918 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
919
65c89320
RM
920 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
921 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
922
348f8e8c
RM
923 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
924 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
925 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
926 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
927 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
928 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
929 Moved ...
930 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
931 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
932 Moved ...
933 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
934 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
935 Moved ...
936 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
937 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
938 Moved ...
939 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
940 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
941 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
942 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
943 Moved ...
944 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
945 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
946 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
947 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
948 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
949 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
950 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
951 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
952 Moved ...
953 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
954 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
955 Moved ...
956 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
957 ... here.
958 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
959 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
960 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
961 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
962 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
963 Moved ...
964 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
965 ... here.
966 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
967 Moved ...
968 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
969 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
970 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
971 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
972 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
973 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
974 Moved ...
975 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
976 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
977 Moved ...
978 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
979 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
980 Moved ...
981 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
982 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
983 Moved ...
984 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
985 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
986 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
987 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
988 Moved ...
989 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
990 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
991 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
992 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
993 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
994 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
995 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
996 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
997 Moved ...
998 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
999 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1000 Moved ...
1001 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1002 ... here.
1003 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1004 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1005 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1006 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1007 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1008 Moved ...
1009 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1010 ... here.
1011 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1012 Moved ...
1013 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1014 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1015 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1016 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1017 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1018 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1019 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1020 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1021 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1022 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1023 Moved ...
1024 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1025 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1026 Moved ...
1027 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1028 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1029 Moved ...
1030 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1031 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1032 Moved ...
1033 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1034 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1035 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1036 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1037 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1038 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1039 Moved ...
1040 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1041 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1042 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1043 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1044 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1045 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1046 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1047 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1048 Moved ...
1049 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1050 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1051 Moved ...
1052 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1053 ... here.
1054 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1055 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1056 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1057 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1058 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1059 Moved ...
1060 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1061 ... here.
1062 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1063 Moved ...
1064 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1065 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1066 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1067 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1068 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1069 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1070 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1071 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1072 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1073 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1074 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1075
5085af05
RM
1076 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1077 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1078
708f0813
RM
1079 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1080 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1081
c96067bc
RM
1082 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1083 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1084 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1085 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1086 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1087 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1088 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1089 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1090 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1091 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1092 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1093 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1094 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1095 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1096 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1097 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1098 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1100 Moved ...
1101 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1102 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1103 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1104 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1105 Moved ...
1106 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1107 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1108 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1109 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1110 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1111 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1112 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1113 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1114 Moved ...
1115 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1116 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1117 Moved ...
1118 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1119 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1120 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1121 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1122 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1123 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1124 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1125 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1126 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1127 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1128 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1129 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1130 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1131 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1132 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1133 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1134 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1135
ec136444
RM
1136 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1137 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1138 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1139 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1140 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1141
2fbdf533
RM
1142 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1143 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1144 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1145 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1146 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1147 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1148 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1149 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1150 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1151 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1152
4c68138b
RM
1153 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1154 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1155
4eaae765
RM
1156 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1157 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
1158 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1159 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1160 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1161 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1162 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1163 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1164 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1165 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1166 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1167 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1168 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1169 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1170 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1171 Update #include.
1172 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1173 Likewise.
1174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1175 Likewise.
1176 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1177 Likewise.
1178 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1179 Likewise.
1180 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1181 Likewise.
1182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1183 Likewise.
1184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1185 Likewise.
1186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1187 Likewise.
1188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1189 Likewise.
4ef6befa
RM
1190 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1191 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1192 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1193 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1194 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
1195 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1196 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1197 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1198 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1199 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1200 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1201 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1202 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1203 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1204 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 1205
941d7dfd
RM
1206 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1207 that was previously under [RESET_PID].
1208 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1209 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1210 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1211
1b731c35
RM
1212 * sysdeps/i386/nptl/Implies: New file.
1213 * sysdeps/x86_64/nptl/Implies: New file.
1214 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1215 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1216 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1217 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1218
e2787137
RM
1219 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1220 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1221 (__libc_vfork): New strong alias.
1222 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1223 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1224
1225 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1226 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1227 (__libc_vfork): New strong alias.
1228 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1229 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1230
5675da1e
RM
1231 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1232 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1233 (__libc_vfork): New strong alias.
1234 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1235 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1236 * nptl/pt-vfork.c: New file.
1237 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1238 (libpthread: GLIBC_2.20): New version set (empty).
1239
4f02e2b8
WN
12402014-05-14 Will Newton <will.newton@linaro.org>
1241
1242 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1243 rather than #if.
1244
0bf061d3
JM
12452014-05-14 Joseph Myers <joseph@codesourcery.com>
1246
1a84c3d6
JM
1247 [BZ #16564]
1248 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1249 arguments with exponent 65 or above.
1250 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1251 arguments 0x1p113L or above.
1252 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1253 to arguments 0x1p107L or above.
1254 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1255 positive arguments with exponent 65 or above.
1256 * math/auto-libm-test-in: Add more tests of log1p.
1257 * math/auto-libm-test-out: Regenerated.
1258
01dbacd2
JM
1259 [BZ #16928]
1260 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1261 non-finite arguments is +0.
1262 * math/s_cacosf.c (__cacosf): Likewise.
1263 * math/s_cacosl.c (__cacosl): Likewise.
1264 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1265 * sysdeps/i386/fpu/libm-test-ulps: Update.
1266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1267
913d03c8
JM
1268 [BZ #16927]
1269 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1270 value.
1271 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1272 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1273 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1274 for explicit high bit of mantissa when testing for argument equal
1275 to 1.
1276 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1277 * sysdeps/i386/fpu/libm-test-ulps: Update.
1278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1279
0bf061d3
JM
1280 [BZ #16516]
1281 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1282 (__erf): Scale by 16 instead of 8 in potentially underflowing
1283 case. Ensure exception if result actually underflows.
1284 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1285 (__erff): Scale by 16 instead of 8 in potentially underflowing
1286 case. Ensure exception if result actually underflows.
1287 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1288 (efx8): Remove variable.
1289 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1290 case. Ensure exception if result actually underflows.
1291 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1292 (efx8): Remove variable.
1293 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1294 case. Ensure exception if result actually underflows.
1295 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1296 (efx8): Remove variable.
1297 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1298 case. Ensure exception if result actually underflows.
1299 * math/auto-libm-test-in: Add more tests of erf.
1300 * math/auto-libm-test-out: Regenerated.
1301
73ba67cb
AS
13022014-05-14 Andreas Schwab <schwab@suse.de>
1303
3d8c8bff
AS
1304 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1305 Remove code conditionalized on USE___THREAD.
1306
73ba67cb
AS
1307 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1308 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1309 not definedness.
1310
5c521ecd
JM
13112014-05-14 Joseph Myers <joseph@codesourcery.com>
1312
5e7698c6
JM
1313 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1314 Define unconditionally.
1315 (__ASSUME_O_CLOEXEC): Likewise.
1316 (__ASSUME_SOCK_CLOEXEC): Likewise.
1317 (__ASSUME_IN_NONBLOCK): Likewise.
1318 (__ASSUME_PIPE2): Likewise.
1319 (__ASSUME_EVENTFD2): Likewise.
1320 (__ASSUME_SIGNALFD4): Likewise.
1321 (__ASSUME_DUP3): Likewise.
1322 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1323 (__ASSUME_DUP3): Do not define.
1324 (__ASSUME_EVENTFD2): Likewise.
1325 (__ASSUME_IN_NONBLOCK): Likewise.
1326 (__ASSUME_O_CLOEXEC): Likewise.
1327 (__ASSUME_PIPE2): Likewise.
1328 (__ASSUME_SIGNALFD4): Likewise.
1329 (__ASSUME_SOCK_CLOEXEC): Likewise.
1330 (__ASSUME_UTIMES): Undefine.
1331 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1332 (__ASSUME_UTIMES): Do not define.
1333 (__ASSUME_O_CLOEXEC): Likewise.
1334 (__ASSUME_SOCK_CLOEXEC): Likewise.
1335 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1336 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1337 0x020621].
1338 (__ASSUME_PIPE2): Likewise.
1339 (__ASSUME_EVENTFD2): Likewise.
1340 (__ASSUME_SIGNALFD4): Likewise.
1341 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1342 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1343 Do not define.
1344 (__ASSUME_EVENTFD2): Likewise.
1345 (__ASSUME_SIGNALFD4): Likewise.
1346 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1347 (__ASSUME_32BITUIDS): Likewise.
1348 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1349 (__ASSUME_IPC64): Likewise.
1350 (__ASSUME_ST_INO_64_BIT): Likewise.
1351 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1352 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1353 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1354 (__ASSUME_UTIMES): Do not define.
1355 (__ASSUME_PSELECT): Likewise.
1356 (__ASSUME_PPOLL): Likewise.
1357 (__ASSUME_O_CLOEXEC): Likewise.
1358 (__ASSUME_SOCK_CLOEXEC): Likewise.
1359 (__ASSUME_IN_NONBLOCK): Likewise.
1360 (__ASSUME_PIPE2): Likewise.
1361 (__ASSUME_EVENTFD2): Likewise.
1362 (__ASSUME_SIGNALFD4): Likewise.
1363 (__ASSUME_DUP3): Likewise.
1364 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1365 (__ASSUME_UTIMES): Likewise.
1366 (__ASSUME_O_CLOEXEC): Likewise.
1367 (__ASSUME_SOCK_CLOEXEC): Likewise.
1368 (__ASSUME_IN_NONBLOCK): Likewise.
1369 (__ASSUME_PIPE2): Likewise.
1370 (__ASSUME_EVENTFD2): Likewise.
1371 (__ASSUME_SIGNALFD4): Likewise.
1372 (__ASSUME_DUP3): Likewise.
1373 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1374 (__ASSUME_UTIMES): Likewise.
1375 (__ASSUME_O_CLOEXEC): Likewise.
1376 (__ASSUME_SOCK_CLOEXEC): Likewise.
1377 (__ASSUME_IN_NONBLOCK): Likewise.
1378 (__ASSUME_PIPE2): Likewise.
1379 (__ASSUME_EVENTFD2): Likewise.
1380 (__ASSUME_SIGNALFD4): Likewise.
1381 (__ASSUME_DUP3): Likewise.
1382 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1383 Likewise.
1384 (__ASSUME_UTIMES): Likewise.
1385 (__ASSUME_EVENTFD2): Likewise.
1386 (__ASSUME_SIGNALFD4): Likewise.
1387 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1388 (__ASSUME_O_CLOEXEC): Likewise.
1389 (__ASSUME_SOCK_CLOEXEC): Likewise.
1390 (__ASSUME_IN_NONBLOCK): Likewise.
1391 (__ASSUME_PIPE2): Likewise.
1392 (__ASSUME_EVENTFD2): Likewise.
1393 (__ASSUME_SIGNALFD4): Likewise.
1394 (__ASSUME_DUP3): Likewise.
1395 (__ASSUME_UTIMES): Undefine.
1396
5c521ecd
JM
1397 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1398 feclearexcept. Remove symbol versioning code.
1399 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1400 symbol versioning code.
1401 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1402 symbol versioning code.
1403 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1404 feupdateenv. Remove symbol versioning code.
1405 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1406 fegetexceptflag. Remove symbol versioning code.
1407 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1408 fesetexceptflag. Remove symbol versioning code.
1409 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1410 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1411 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1412 (__posix_fadvise64_l32): Remove prototype.
1413 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1414 code.
1415
5da9dfad
RM
14162014-05-13 Roland McGrath <roland@hack.frob.com>
1417
1418 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1419 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1420 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1421 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1422
893b4f37
SK
14232014-05-13 Sami Kerola <kerolasa@iki.fi>
1424
1425 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1426 current working directory
1427
e0db6517
RM
14282014-05-13 Roland McGrath <roland@hack.frob.com>
1429
58aa195d
RM
1430 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1431 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1432 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1433 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1434 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1435 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1436 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1437 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1438 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1439 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1440 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1441 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1443 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1444 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1445 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1446 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1447 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1448 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1449 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1451 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1452 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1453 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1455 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1456 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1457 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1458 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1459 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1460 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1461 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1463 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1464 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1465 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1466 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1467 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1468 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1469 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1470 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1471 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1472
8c6d01f0
RM
1473 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1474 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1475
1476 * sysdeps/unix/sysv/linux/arm/Makefile
1477 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1478 Add rt-aeabi_unwind_cpp_pr1.
1479 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1480 Add nptl-aeabi_unwind_cpp_pr1.
1481 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1482 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1483 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1484 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1485 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1486 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1487
1488 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1489 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1490 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1491 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1492
bba6da4e
RM
1493 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1494 Deconditionalize the code that was previously under [RESET_PID].
1495 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1496
e0db6517
RM
1497 * sysdeps/generic/exit-thread.h: New file.
1498 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1499 * include/unistd.h (__exit_thread): Remove declaration.
1500 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1501 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1502 * csu/libc-start.c: Include <exit-thread.h>.
1503 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1504 * nptl/pthread_create.c: Include <exit-thread.h>.
1505 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1506 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1507 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1508 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1509 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1510 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1511 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1512 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1513 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1514 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1515 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1516 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1517 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1518 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1519 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1520 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1521 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1522
01eb16fd
AS
15232014-05-13 Andreas Schwab <schwab@suse.de>
1524
1525 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1526
637461d9
JM
15272014-05-12 Joseph Myers <joseph@codesourcery.com>
1528
1529 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1530 (__ASSUME_UTIMES): Do not condition on kernel version.
1531 (__ASSUME_PSELECT): Define unconditionally.
1532 (__ASSUME_PPOLL): Likewise.
1533 (__ASSUME_ATFCTS): Likewise.
1534 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1535 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1536 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1537 (__ASSUME_UTIMENSAT): Define unconditionally.
1538 (__ASSUME_PRIVATE_FUTEX): Likewise.
1539 (__ASSUME_FALLOCATE): Likewise.
1540 (__ASSUME_O_CLOEXEC): Likewise.
1541 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1542 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1543 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1544 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1545 (__ASSUME_IN_NONBLOCK): Likewise.
1546 (__ASSUME_PIPE2): Likewise.
1547 (__ASSUME_EVENTFD2): Likewise.
1548 (__ASSUME_SIGNALFD4): Likewise.
1549 (__ASSUME_DUP3): Likewise.
1550 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1551 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1552 (__ASSUME_AT_RANDOM): Likewise.
1553 (__ASSUME_PREADV): Likewise.
1554 (__ASSUME_PWRITEV): Likewise.
1555 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1556 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1557 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1558 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1559 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1560 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1561 (__ASSUME_O_CLOEXEC): Define unconditionally.
1562 (__ASSUME_PSELECT): Do not undefine conditionally.
1563 (__ASSUME_PPOLL): Likewise.
1564 (__ASSUME_ATFCTS): Likewise.
1565 (__ASSUME_SET_ROBUST_LIST): Likewise.
1566 (__ASSUME_UTIMENSAT): Likewise.
1567 (__ASSUME_FDATASYNC): Define unconditionally.
1568 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1569 (__ASSUME_SIGFRAME_V2): Likewise.
1570 )__ASSUME_EVENTFD2): Likewise.
1571 (__ASSUME_SIGNALFD4): Likewise.
1572 (__ASSUME_PSELECT): Do not undefine conditionally.
1573 (__ASSUME_PPOLL): Likewise.
1574 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1575 (__ASSUME_PSELECT): Define unconditionally.
1576 (__ASSUME_PPOLL): Likewise.
1577 (__ASSUME_O_CLOEXEC): Likewise.
1578 (__ASSUME_SOCK_CLOEXEC): Likewise.
1579 (__ASSUME_IN_NONBLOCK): Likewise.
1580 (__ASSUME_PIPE2): Likewise.
1581 (__ASSUME_EVENTFD2): Likewise.
1582 (__ASSUME_SIGNALFD4): Likewise.
1583 (__ASSUME_DUP3): Likewise.
1584 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1585 (__ASSUME_O_CLOEXEC): Likewise.
1586 (__ASSUME_SOCK_CLOEXEC): Likewise.
1587 (__ASSUME_IN_NONBLOCK): Likewise.
1588 (__ASSUME_PIPE2): Likewise.
1589 (__ASSUME_EVENTFD2): Likewise.
1590 (__ASSUME_SIGNALFD4): Likewise.
1591 (__ASSUME_DUP3): Likewise.
1592 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1593 (__ASSUME_EVENTFD2): Likewise.
1594 (__ASSUME_SIGNALFD4): Likewise.
1595 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1596
315eb1d8
AS
15972014-05-12 Andreas Schwab <schwab@suse.de>
1598
1599 [BZ #16932]
1600 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1601 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1602 than maximum RPC packet size.
1603 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1604 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1605 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1606 (_nss_nis_getservbyport_r): Likewise.
1607
91df99f7
WN
16082014-05-12 Will Newton <will.newton@linaro.org>
1609
1610 * malloc/Makefile (tests): Add tst-mallopt.
1611 * malloc/tst-mallopt.c: New file.
1612
0a982a29
RM
16132014-05-09 Roland McGrath <roland@hack.frob.com>
1614
1615 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1616 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1617
0ded08a5
AZ
16182014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1619
1620 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1621 (tst-tlsmod6.so): Likewise.
1622
55d4d550
RM
16232014-05-09 Roland McGrath <roland@hack.frob.com>
1624
1625 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1626
77d08aca
JM
16272014-05-09 Joseph Myers <joseph@codesourcery.com>
1628
1629 [BZ #16064]
1630 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1631 and <dl-procinfo.h>.
1632 (__fegetenv): Save SSE state in envp->__eip if supported.
1633 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1634 envp->__eip if supported.
1635 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1636 and <dl-procinfo.h>.
1637 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1638 __data_offset and __data_selector in environment to 0. Set SSE
1639 state if supported.
1640 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1641 test-fenv-sse.
1642 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1643 -mfpmath=sse.
1644 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1645
28162f4d
WN
16462014-05-09 Will Newton <will.newton@linaro.org>
1647
1648 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1649 and libc_relro_required for ARM.
1650 * sysdeps/arm/preconfigure: Regenerate.
1651
5a414ff7
DV
16522014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1653 Stefan Liebler <stli@linux.vnet.ibm.com>
1654
1655 * config.make.in (enable-lock-elision): New Makefile variable.
1656 * configure.ac: Likewise.
1657 * configure: Regenerate.
1658 * sysdeps/s390/configure.ac:
1659 Add check for gcc transactions support.
1660 * sysdeps/s390/configure: Regenerate.
1661 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1662 Build elision files if enabled.
1663 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1664 Add lock elision support for s390.
1665 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1666 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1667 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1668 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1669 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1670 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1671 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1672 Likewise.
1673 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1674 Likewise.
1675 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1676 Likewise.
1677 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1678 Likewise.
1679 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1680 (__lll_timedlock_elision, __lll_lock_elision)
1681 (__lll_unlock_elision, __lll_trylock_elision)
1682 (lll_timedlock_elision, lll_lock_elision)
1683 (lll_unlock_elision, lll_trylock_elision): Add.
1684 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1685 (pthread_mutex_t): Add lock elision support for s390.
1686
1a2f40e5
W
16872014-05-14 Wilco <wdijkstr@arm.com>
1688
1689 * sysdeps/arm/fclrexcpt.c: Cleanup.
1690 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1691 * sysdeps/arm/feenablxcpt.c: Cleanup.
1692 * sysdeps/arm/fegetenv.c: Cleanup.
1693 * sysdeps/arm/fegetexcept.c: Cleanup.
1694 * sysdeps/arm/fegetround.c: Cleanup.
1695 * sysdeps/arm/feholdexcpt.c: Cleanup.
1696 * sysdeps/arm/fesetenv.c: Cleanup.
1697 * sysdeps/arm/fesetround.c: Cleanup.
1698 * sysdeps/arm/feupdateenv.c: Cleanup.
1699 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1700 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1701 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1702 * sysdeps/arm/ftestexcept.c: Cleanup.
1703 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1704 * sysdeps/arm/setfpucw.c: Cleanup.
1705
f63c86fe
WN
17062014-05-09 Will Newton <will.newton@linaro.org>
1707
1708 * sysdeps/arm/armv7/strcmp.S: New file.
1709 * NEWS: Mention addition of ARMv7 optimized strcmp.
1710
7a1a51b5
RM
17112014-05-08 Roland McGrath <roland@hack.frob.com>
1712
95afbbe5
RM
1713 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1714 look for %.ac rather than %.in.
1715
1716 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1717 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1718 * sysdeps/mach/hurd/configure: Regenerated.
1719 * sysdeps/unix/sysv/linux/configure: Regenerated.
1720
7a1a51b5
RM
1721 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1722
5057ad3b
SE
17232014-05-07 Steve Ellcey <sellcey@mips.com>
1724
1725 [BZ# 16922]
1726 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1727 (LONG_SUB): Ditto.
1728 (PTR_SUB): Ditto.
1729
8dc97517
AS
17302014-05-07 Andreas Schwab <schwab@suse.de>
1731
1732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1733 when skipping over non-matching result from nscd.
1734
ce0c5b8f
OB
17352014-05-07 Ondřej Bílka <neleai@seznam.cz>
1736
1737 [BZ #16876]
1738 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1739
a1189263
OB
1740 [BZ #16877]
1741 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1742 nscd security class.
ce0c5b8f 1743
0f58d252
RM
17442014-05-06 Roland McGrath <roland@hack.frob.com>
1745
1746 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1747 * sysdeps/arm/unwind.h: ... here.
1748
83df9ad0
AJ
17492014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1750
ce0c5b8f
OB
1751 [BZ# 16916]
1752 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1753 Define.
83df9ad0 1754
f360f94a
VR
17552014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1756
1757 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1758 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1759 multiarch strncpy for PPC64.
1760 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1761 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1763 multiarch optimizations.
1764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1765 (__libc_ifunc_impl_list): Likewise.
1766 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1767 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1768 multiarch stpncpy for PPC64.
1769 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1770 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1771
978a41c3
AS
17722014-05-06 Andreas Schwab <schwab@suse.de>
1773
1774 [BZ #16912]
1775 * gmon/mcount.c (_MCOUNT_DECL): Use
1776 atomic_compare_and_exchange_bool_acq instead of
1777 catomic_compare_and_exchange_bool_acq.
1778
eb1ed03d
RM
17792014-05-05 Roland McGrath <roland@hack.frob.com>
1780
fe658845
RM
1781 * elf/Makefile (others, install-bin): Remove pldd.
1782 (pldd-modules): Variable removed.
1783 ($(objpfx)pldd): Target removed.
1784 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1785 (others, install-bin): Append pldd here.
1786 ($(objpfx)pldd): New target.
1787
eb1ed03d
RM
1788 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1789 to 0, so the first #if test emitted later doesn't see it undefined.
1790 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1791 * sysdeps/gnu/errlist.c: Regenerated.
1792
19c4bec0
AZ
17932014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1794
1795 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1796 [libc_hidden_builtin_def]: Define to empty value.
1797 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1798 [libc_hidden_builtin_def]: Likewise.
1799 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1800 [libc_hidden_builtin_def]: Likewise.
1801 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1802 [libc_hidden_builtin_def]: Likewise.
1803 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1804 __redirect_memcpy and define ifunc as default hidden symbol.
1805 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1806 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1807
7776e669
AC
18082014-05-04 Adam Conrad <adconrad@0c3.net>
1809
1810 * locale/iso-4217.def: Reintroduce XDR currency.
1811
d69aeb12
AM
18122014-05-04 Allan McRae <allan@archlinux.org>
1813
1814 * po/eo.po: Update Esperanto translation from translation project.
1815
8f1df5cf
CD
18162014-05-02 Carlos O'Donell <carlos@redhat.com>
1817
1818 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1819 and FEATURE_INDEX_MAX to 1.
1820 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1821
13e402e7
SE
18222014-05-01 Steve Ellcey <sellcey@mips.com>
1823
1824 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1825 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1826 * iconvdata/big5.c (ONE_DIRECTION): Define.
1827 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1828 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1829 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1830 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1831 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1832 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1833 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1834 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1835 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1836 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1837 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1838 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1839 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1840 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1841 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1842 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1843 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1844 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1845 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1846 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1847 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1848 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1849 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1850 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1851 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1852 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1853 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1854 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1855 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1856 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1857 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1858 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1859 * iconvdata/johab.c (ONE_DIRECTION): Define.
1860 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1861 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1862 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1863 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1864 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1865 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1866 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1867 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1868 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1869 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1870
c727f032
RM
18712014-05-01 Roland McGrath <roland@hack.frob.com>
1872
8f2f08d0
RM
1873 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1874 (_IO_JUMPS_OFFSET): Define to 0.
1875
c727f032
RM
1876 * nptl/sysdeps/pthread/bits/libc-lock.h
1877 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1878 (__libc_lock_define_initialized_recursive): Always define using
1879 initializer. Modern compilers treat uninitialized (implicit zero) and
1880 explicit zero initializers the same (i.e. put the datum in bss).
1881
a849e800
AS
18822014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1883
1884 * nscd/nscd-client.h: Include <string.h>.
1885
5331255b
DM
18862014-05-01 David S. Miller <davem@davemloft.net>
1887
1888 [BZ #16885]
1889 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1890 multiple zero bytes exist at the end of a string.
1891 Reported by Aurelien Jarno <aurelien@aurel32.net>
1892
1893 * string/test-strcmp.c (check): Add explicit test for situations where
1894 there are multiple zero bytes after the first.
1895
4fdfe821
AS
18962014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1897
1898 [BZ #16890]
1899 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1900 when compiling wprintf.
1901 * stdio-common/tstdiomisc.c (t3): New function.
1902 (main): Call it.
1903
0cdddc25
SE
19042014-05-01 Steve Ellcey <sellcey@mips.com>
1905
1906 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1907 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1908 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1909 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1910
6426d77e
SE
19112014-05-01 Steve Ellcey <sellcey@mips.com>
1912
1913 * stdlib/longlong.h: Updated from GCC.
1914
6d96f5e4
WN
19152014-05-01 Will Newton <will.newton@linaro.org>
1916 Bernard Ogden <bernie.ogden@linaro.org>
1917
7470db0c
WN
1918 * NEWS: Update fixed bug list.
1919
6d96f5e4
WN
1920 [BZ #15119]
1921 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1922
211d653c
DM
19232014-04-30 David S. Miller <davem@davemloft.net>
1924
4fa262fa
DM
1925 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1926 (libc_feholdexcept_setround_sparc_ctx): New function.
1927 (libc_fesetenv_sparc_ctx): Likewise.
1928 (libc_feupdateenv_sparc_ctx): Likewise.
1929 (libc_feholdsetround_sparc_ctx): Likewise.
1930 (libc_feholdexcept_setround_ctx): Define.
1931 (libc_feholdexcept_setroundf_ctx): Likewise.
1932 (libc_feholdexcept_setroundl_ctx): Likewise.
1933 (libc_fesetenv_ctx): Likewise.
1934 (libc_fesetenvf_ctx): Likewise.
1935 (libc_fesetenvl_ctx): Likewise.
1936 (libc_feupdateenv_ctx): Likewise.
1937 (libc_feupdateenvf_ctx): Likewise.
1938 (libc_feupdateenvl_ctx): Likewise.
1939 (libc_feresetround_ctx): Likewise.
1940 (libc_feresetroundf_ctx): Likewise.
1941 (libc_feresetroundl_ctx): Likewise.
1942 (libc_feholdsetround_ctx): Likewise.
1943 (libc_feholdsetroundf_ctx): Likewise.
1944 (libc_feholdsetroundl_ctx): Likewise.
1945
1d3d93ef
DM
1946 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1947 with __USE_GNU instead of XOPEN cpp guards.
1948
8aa583c3
DM
1949 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1950 0.
1951
211d653c
DM
1952 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1953 with XOPEN cpp guards.
1954
60c8f1f6
JB
19552014-04-30 Julian Brown <julian@codesourcery.com>
1956
1957 [BZ #16888]
1958 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1959 handling.
1960
9a461d46
JM
19612014-04-30 Joseph Myers <joseph@codesourcery.com>
1962
d0f5b3f8
JM
1963 [BZ #9894]
1964 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1965 Change to 2.6.32.
1966 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1967 * sysdeps/unix/sysv/linux/configure: Regenerated.
1968 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1969 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1970 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1971 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1972 * README: Update reference to required Linux kernel version.
1973 * manual/install.texi (Linux): Update reference to required Linux
1974 kernel headers version.
1975 * INSTALL: Regenerated.
1976
9a461d46
JM
1977 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1978 header inclusion.
1979 [POSIX] (limits.h): Likewise.
1980 [POSIX] (math.h): Likewise.
1981 [POSIX] (sys/wait.h): Likewise.
1982 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1983 function.
1984 [POSIX] (stddef.h): Do not allow header inclusion.
1985
1775babf
AZ
19862014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1987
57f41c40 1988 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1989
8f630cca
YY
19902014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1991
1992 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1993 Return immediately after lll_futex_wake.
1994
1cdeb237
SP
19952014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1996
bc8f194c
SP
1997 [BZ #16791]
1998 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1999 structure.
2000 (datahead_init_pos): Call datahead_init_common early.
2001 (datahead_init_neg): Likewise.
2002
1cdeb237
SP
2003 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2004 datahead_init_neg): New functions.
2005 * nscd/aicache.c (addhstaiX): Use them.
2006 * nscd/grpcache.c (cache_addgr): Likewise.
2007 * nscd/hstcache.c (cache_addhst): Likewise.
2008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2009 * nscd/netgroupcache.c (do_notfound): Likewise.
2010 (addgetnetgrentX): Likewise.
2011 (addinnetgrX): Likewise.
2012 * nscd/pwdcache.c (cache_addpw): Likewise.
2013 * nscd/servicescache.c (cache_addserv): Likewise.
2014
16b293a7
SP
20152014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2016 Atsushi Onoe <atsushi@onoe.org>
2017
2018 [BZ #14308]
2019 [BZ #12994]
2020 [BZ #13651]
2021 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2022 one response is valid.
2023 * resolv/res_send.c (send_dg): Check for validity of other
2024 response if the current response is a referral.
2025
a28a9b94
SE
20262014-04-29 Steve Ellcey <sellcey@mips.com>
2027
2028 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2029
2ca180e9
SL
20302014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2031
2032 [BZ #16823]
2033 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2034 Always divide by positive zero when computing -Inf result.
2035 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2036 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2037
18f2945a
AZ
20382014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2039
2040 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2041 FPSCR if value do not change.
2042 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2043 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2044 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2045 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2046 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2047 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2048 function.
2049
5abebba4
CD
20502014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2051
2052 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2053 * sysdeps/unix/sysv/linux/hppa: Move directory from
2054 ports/systeps/unix/sysv/linux/hppa.
2055 * README: Update listing for hppa-*-linux-gnu.
2056
f7ed60c2
OB
20572014-04-28 Ondřej Bílka <neleai@seznam.cz>
2058
fff763a5
OB
2059 [BZ #16754]
2060 * manual/stdio.texi (Hook functions): Fix types of stream hook
2061 functions.
f7ed60c2
OB
2062 [BZ #16854]
2063 * socket/sys/socket.h: Fix typo in comment.
2064
df639d73
WD
20652014-04-28 Wilco <wdijkstr@arm.com>
2066
f7ed60c2 2067 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
2068 * sysdeps/arm/math_private.h: New file.
2069 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2070
48332d82
L
20712014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2072
2073 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2074 with __int128_t.
2075 (La_x86_64_retval): Likewise.
2076
e5e0d9a4
IB
20772014-04-24 Ian Bolton <ian.bolton@arm.com>
2078
2079 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2080 fpsr if value didn't change.
2081 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2082 to fpcr if value didn't change.
2083 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2084 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2085 fpsr or fpcr if value didn't change.
2086 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2087 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2088 fpcr if value didn't change.
2089 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2090 to fpsr if value didn't change.
2091
bacc75f7
SP
20922014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2093
2094 * nptl/tst-sem3.c: Use test-skeleton.c
2095 (main): Rename to do_test. Use return instead of
2096 exit.
2097 * nptl/tst-sem4.c: Use test-skeleton.c
2098 (main): Rename to do_test.
2099
a059d359
DM
21002014-04-22 David S. Miller <davem@davemloft.net>
2101
2102 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2103 (struct sigaction): New struct member __glibc_reserved0, change
2104 type of sa_flags to int.
2105
ea6c92f3
YZ
21062014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2107
2108 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2109 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2110
766c4a36
SP
21112014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2112
2113 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2114 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2115
140cc7ab
VK
21162014-04-22 Will Newton <will.newton@linaro.org>
2117 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2118
2119 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2120 (__longjmp): Add longjmp and longjmp_target SystemTap
2121 probes.
2122 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2123 (__sigsetjmp): Add setjmp SystemTap probe.
2124
c54e5cf7
CD
21252014-04-17 Carlos O'Donell <carlos@redhat.com>
2126
2127 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2128 match manual order.
2129
75ffb047
AZ
21302014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2131
2132 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2133
2cd925f7
AZ
2134 * sysdeps/powerpc/fpu/fenv_private.h
2135 (libc_feholdexcept_setroundl_ctx): Define to
2136 libc_feholdexcept_setround_ppc_ctx.
2137 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2138 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2139 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2140 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2141
39e6cd8d
IB
21422014-04-17 Ian Bolton <ian.bolton@arm.com>
2143
2144 * sysdeps/aarch64/math-tests.h: New file.
2145
f9281df9
SY
21462014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2147
2148 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2149 New.
2150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2151 Check and set bit_AVX2_Usable.
2152 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2153 macro.
2154 (bit_AVX2): Likewise.
2155 (index_AVX2_Usable): Likewise.
2156 (CPUID_AVX2): Likewise.
2157 (HAS_AVX2): Likewise.
2158
37d35007
WN
21592014-04-17 Will Newton <will.newton@linaro.org>
2160
7c677662
WN
2161 * manual/setjmp.texi (System V contexts): Add note that
2162 calling setcontext on a context created by a call to a
2163 signal handler is undefined. Update text to note that
2164 setcontext from a signal handler is possible but not
2165 recommended.
2166
37d35007 2167 [BZ #16629]
e04a4e9d
WN
2168 * stdlib/tst-setcontext.c: Include signal.h.
2169 (main): Check that the signal stack before and
2170 after swapcontext is the same.
2171
37d35007
WN
2172 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2173 Re-implement to restore registers in user code and avoid
2174 rt_sigreturn system call.
2175
423a7160
W
21762014-04-17 Wilco <wdijkstr@arm.com>
2177
2178 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2179 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2180 * math/test-fenv.c: Skip exception trap tests on targets which only
2181 support non-stop mode.
2182
bc93ab29
IB
21832014-04-17 Ian Bolton <ian.bolton@arm.com>
2184 Wilco Dijkstra <wilco.dijkstra@arm.com>
2185
2186 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2187 (libc_feholdsetround_aarch64_ctx)
2188 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2189 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2190 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2191 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2192 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2193 (libc_feresetround_noexl_ctx): Define.
2194
95fc5fa3
RH
21952014-04-16 Richard Henderson <rth@redhat.com>
2196
ddb04724
RH
2197 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2198
d77c0899
RH
2199 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2200 unwind tables.
2201
a3df56fc
RH
2202 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2203 const from the non-libc, non-ldso copy.
2204
95fc5fa3
RH
2205 * sysdeps/alpha/libm-test-ulps: Regenerate.
2206
7e0b6763
IB
22072014-04-16 Ian Bolton <ian.bolton@arm.com>
2208 Wilco Dijkstra <wilco.dijkstra@arm.com>
2209
2210 * sysdeps/aarch64/fpu/math_private.h: New file.
2211
a9ea2e0c
MS
22122014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2213
2214 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2215
ea8ba7cd
IZ
22162014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2217
2218 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2219 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2221 Intel MPX bound registers before _dl_profile_fixup.
2222 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2223 registers after _dl_profile_fixup. Save and restore bound
2224 registers bnd0/bnd1 when calling _dl_call_pltexit.
2225 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2226 (LR_BND_OFFSET): Likewise.
2227 (LRV_BND0_OFFSET): Likewise.
2228 (LRV_BND1_OFFSET): Likewise.
2229
9f2a4fbc
ST
22302014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2231
2232 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2233 to...
2234 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
2235 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2236 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2237 fields.
9f2a4fbc 2238
fd15a59b
ST
22392014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2240
2241 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2242
f19dfa0a
SL
22432014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2244
2245 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2246
4fa8bc3b
SL
22472014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2248
2249 [BZ #14770]
2250 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2251 * sysdeps/s390/configure: Regenerate.
2252
8ea587db
SL
2253 [BZ #16824]
2254 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2255 Set round-to-nearest internally to reduce error accumulation.
2256
aa5f0ff1
AM
22572014-04-16 Alan Modra <amodra@gmail.com>
2258
2259 [BZ #16740]
2260 [BZ #16619]
2261 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2262 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 2263 * NEWS: Update fixed bug list.
aa5f0ff1 2264
bb9c256f
SP
22652014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2266
2267 * benchtests/Makefile: Depend on libraries in build directory.
2268 (bench-math): Separate out math tests.
2269 (bench-pthread): Separate out pthread tests.
2270 (bench): Include math and pthread tests.
2271
f737dfd0
CD
22722014-04-14 Carlos O'Donell <carlos@redhat.com>
2273
2274 [BZ #16831]
2275 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2276 _dl_debug_initialize.
2277
0699f766
CD
2278 * configure.ac: Remove SELinux header check.
2279 * configure: Regenerate.
2280 * nscd/selinux.c (perms): Array of const char* to permission names.
2281 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2282 default policy. Call string_to_security_class and string_to_av_perm to
2283 translate strings. Enforce default policy and call avs_has_perm with
2284 results of translated strings.
2285
809bd45f
DM
22862014-04-13 David S. Miller <davem@davemloft.net>
2287
2288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2289
89e691f2
AM
22902014-04-12 Allan McRae <allan@archlinux.org>
2291
2292 [BZ #16838]
2293 * manual/string.texi (Collation Functions): Fix qsort argument
2294 order in example.
2295 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2296
9c9daaeb
CM
22972014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2298
2299 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2300 Make the test a no-op if there are no exceptions defined.
2301
95561fb9
PP
23022014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2303
fe8d072c 2304 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
2305 enable-hardcoded-path-in-tests
2306
970c602a
WN
23072014-04-11 Will Newton <will.newton@linaro.org>
2308
2309 * benchtests/Makefile (extra-objs): Add json-lib.o.
2310 (bench-func): Tidy up JSON output.
2311 * benchtests/bench-skeleton.c: Include json-lib.h.
2312 (main): Use JSON library functions to do output of
2313 benchmark results.
2314 * benchtests/bench-timing-type.c (main): Output the
2315 timing type simply, leaving formatting to the user.
2316 * benchtests/json-lib.c: New file.
2317 * benchtests/json-lib.h: Likewise.
2318
36875b06
TR
23192014-04-11 Torvald Riegel <triegel@redhat.com>
2320
2321 [BZ #15215]
2322 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2323 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2324 memory barriers. Add comments.
2325 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2326 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2327 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2328 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2329 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2330 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2331
579db35a
SL
23322014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2333
2334 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2335 * sysdeps/s390/s390-64/configure.ac: ... this ...
2336 * sysdeps/s390/configure.ac: ... to here.
2337 * sysdeps/s390/s390-32/configure: Delete file.
2338 * sysdeps/s390/s390-64/configure: Delete file.
2339 * sysdeps/s390/configure: Regenerate.
2340
c12e9f37
JAPH
23412014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2342
2343 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2344
439bda32
WN
23452014-04-11 Will Newton <will.newton@linaro.org>
2346
2347 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2348 to zero if it is not defined elsewhere. (mtrim): Test
2349 the value of MALLOC_DEBUG with #if rather than #ifdef.
2350
6a5d6ea1
TR
23512014-04-10 Torvald Riegel <triegel@redhat.com>
2352
2353 * benchtests/pthread_once-inputs: New file.
2354 * benchtests/pthread_once-source.c: New file.
2355 * benchtests/README: Update documentation.
2356
a4c75cfd
IZ
23572014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2358 H.J. Lu <hongjiu.lu@intel.com>
2359
2360 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2361 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2362 * sysdeps/x86_64/configure: Regenerated.
2363 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2364 macro.
2365 (REGISTER_SAVE_RAX): Likewise.
2366 (REGISTER_SAVE_RCX): Likewise.
2367 (REGISTER_SAVE_RDX): Likewise.
2368 (REGISTER_SAVE_RSI): Likewise.
2369 (REGISTER_SAVE_RDI): Likewise.
2370 (REGISTER_SAVE_R8): Likewise.
2371 (REGISTER_SAVE_R9): Likewise.
2372 (REGISTER_SAVE_BND0): Likewise.
2373 (REGISTER_SAVE_BND1): Likewise.
2374 (REGISTER_SAVE_BND2): Likewise.
2375 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2376 bound registers when calling _dl_fixup.
2377
27822ce6
AZ
23782014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2379
2380 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
2381 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2382 of its definition.
27822ce6
AZ
2383 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2384 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2385 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2386 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2387 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2388 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2389 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2390
a88ddc90
PTB
23912014-04-09 Peter Brett <peter@peter-b.co.uk>
2392
2393 [BZ #15514]
2394 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2395 pathconf(_PC_NAME_MAX).
2396
01f8eac2
AZ
23972014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2398
2399 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2400 Remove macro usage.
2401 (__PTHREAD_SPINS): Move definition to ...
2402 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2403 (__PTHREAD_SPINS): ... here.
2404 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2405 (__PTHREAD_SPIN): Likewise.
2406 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2407 (__PTHREAD_SPIN): Likewise.
2408 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2409 (__PTHREAD_SPIN): Likewise.
2410 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2411 (__PTHREAD_SPIN): Likewise.
2412 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2413 (__PTHREAD_SPIN): Likewise.
2414 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2415 (__PTHREAD_SPIN): Likewise.
2416 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2417 (__PTHREAD_SPIN): Likewise.
2418 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2419 (__PTHREAD_SPIN): Likewise.
2420 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2421 (__PTHREAD_SPIN): Likewise.
2422 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2423 (__PTHREAD_SPIN): Likewise.
2424 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2425 (__PTHREAD_SPIN): Likewise.
2426 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2427 (__PTHREAD_SPIN): Likewise.
2428
de21c33c
AZ
2429 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2430 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2431 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2432 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2433 imply folder.
2434 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2435 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2436 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2437 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2438 correct imply path.
2439 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2440 strlen symbol for non multi-arch builds.
2441 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2442 missing hidden_def and weak_alias.
2443
862c472e
CD
24442014-04-08 Carlos O'Donell <carlos@redhat.com>
2445
2446 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2447
8667f90e
WN
24482014-04-07 Will Newton <will.newton@linaro.org>
2449
2450 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2451 and contents. [!_LIBC] Remove #ifndef and contents.
2452 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2453 * string/memccpy.c (__memccpy): Use ANSI prototype.
2454 * string/memfrob.c (memfrob): Likewise.
2455 * string/strcoll.c (STRCOLL): Likewise.
2456 * string/strlen.c (strlen): Likewise.
2457 * string/strtok.c (STRTOK): Likewise.
2458 * string/strcat.c: Remove unused #include of memcopy.h.
2459 (strcat): Use ANSI prototype.
2460 * string/strchr.c: Remove unused #include of memcopy.h.
2461 (strchr): Use ANSI prototype.
2462 * string/strcmp.c: Remove unused #include of memcopy.h.
2463 (strcmp): Use ANSI prototype.
2464 * string/strcpy.c: Remove unused #include of memcopy.h.
2465 (strcpy): Use ANSI prototype.
2466
7ffa9423
AZ
24672014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2468
2469 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2470 * config.make.in (config-extra-cppflags): Set it from
2471 libc_extra_cppflags.
2472 * configure.ac (libc_extra_cflags): Make it accumulate over
2473 configure fragments.
2474 (libc_extra_cppflags): New flag.
2475 * configure. Regenerate.
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2477 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2478 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2480
8bd70862
AZ
2481 [BZ #16815]
2482 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2483 result for FE_DOWNWARD rounding mode.
2484 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2485 Likewise.
2486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2487
d42f3448
CM
24882014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2489
2490 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2491 in function argument name.
2492
1c21d115
DS
24932014-04-03 David Svoboda <svoboda@cert.org>
2494
2495 [BZ #5666]
2496 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2497 explicitly.
2498
fcccd512
RM
24992014-04-03 Roland McGrath <roland@hack.frob.com>
2500
2501 * elf/dl-unmap-segments.h: New file.
2502 * sysdeps/generic/ldsodefs.h
2503 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2504 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2505 * elf/dl-fptr.c: Likewise.
2506 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2507 * sysdeps/aarch64/tlsdesc.c: Likewise.
2508 * sysdeps/arm/tlsdesc.c: Likewise.
2509 * sysdeps/i386/tlsdesc.c: Likewise.
2510 * sysdeps/tile/dl-runtime.c: Likewise.
2511 * sysdeps/x86_64/tlsdesc.c: Likewise.
2512 * elf/dl-load.h: New file.
2513 * elf/dl-load.c: Include it.
2514 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2515 Macros moved to dl-load.h.
2516 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2517 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2518 Use _dl_unmap_segments in place of __munmap.
2519 Break out segment-mapping loop into ...
2520 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2521
f6488e2b
WN
25222014-04-03 Will Newton <will.newton@linaro.org>
2523
2524 * elf/dl-lookup.c (do_lookup_x): Remove comment
2525 referring to nested function and move variable
2526 declarations down to before first use.
2527
6f05bafe
JM
25282014-04-02 Joseph Myers <joseph@codesourcery.com>
2529
a84e78c8
JM
2530 [BZ #16799]
2531 [BZ #16800]
2532 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2533 with 0 numerator.
2534 * math/s_catanf.c (__catanf): Likewise.
2535 * math/s_catanh.c (__catanh): Likewise.
2536 * math/s_catanhf.c (__catanhf): Likewise.
2537 * math/s_catanhl.c (__catanhl): Likewise.
2538 * math/s_catanl.c (__catanl): Likewise.
2539 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2540 by positive zero when computing -Inf result.
2541 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2542 (catanh_test): Likewise.
2543 * sysdeps/i386/fpu/libm-test-ulps: Update.
2544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2545
6f05bafe
JM
2546 [BZ #16789]
2547 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2548 instead of using underflowing value in computing result.
2549 * math/s_clog10.c (__clog10): Likewise.
2550 * math/s_clog10f.c (__clog10f): Likewise.
2551 * math/s_clog10l.c (__clog10l): Likewise.
2552 * math/s_clogf.c (__clogf): Likewise.
2553 * math/s_clogl.c (__clogl): Likewise.
2554 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2555 (clog10_test): Likewise.
2556 * sysdeps/i386/fpu/libm-test-ulps: Update.
2557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2558
b0abbc21
AM
25592014-04-02 Alan Modra <amodra@gmail.com>
2560
2561 [BZ #16739]
2562 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2563 output when value is near a power of two. Use int64_t for lx and
2564 remove casts. Use decimal rather than hex exponent constants.
2565 Don't use long double multiplication when double will suffice.
2566 * math/libm-test.inc (nextafter_test_data): Add tests.
2567 * NEWS: Add 16739 and 16786 to bug list.
2568
af6b1797
AM
2569 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2570
483818d7
AM
2571 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2572
f6c55796
WN
25732014-04-01 Will Newton <will.newton@linaro.org>
2574
2575 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2576 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2577
13f7fe35
FW
25782014-04-01 Florian Weimer <fweimer@redhat.com>
2579
2580 [BZ #13347]
2581 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2582 * nptl/tst-setuid2.c: New file.
2583 * nptl/Makefile (xtests): Add tst-setuid2.
2584
c859b32e
AM
25852014-04-01 Alan Modra <amodra@gmail.com>
2586
2587 [BZ #16786]
2588 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2589
54fa2475
JM
25902014-03-31 Joseph Myers <joseph@codesourcery.com>
2591
8795b4a4
JM
2592 [BZ #6803]
2593 [BZ #6804]
2594 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2595 set errno as appropriate.
2596 * math/w_scalbf.c (__scalbf): Likewise.
2597 * math/w_scalbl.c (__scalbl): Likewise.
2598 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2599 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2600 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2601 Add more NaN tests.
2602
54fa2475
JM
2603 [BZ #16349]
2604 * math/w_atan2.c: Include <errno.h>.
2605 (__atan2): Set errno for result underflowing to zero.
2606 * math/w_atan2f.c: Include <errno.h>.
2607 (__atan2f): Set errno for result underflowing to zero.
2608 * math/w_atan2l.c: Include <errno.h>.
2609 (__atan2l): Set errno for result underflowing to zero.
2610 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2611 tests.
2612 * math/auto-libm-test-out: Regenerated.
2613
757d9dd5
AZ
26142014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2615
2616 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2617 Encode instruction correctly in little endian.
2618 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2619 Likewise.
2620 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2621 Likewise.
2622 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2623 Likewise.
2624 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2625 Likewise.
2626
d7a68734
JM
26272014-03-31 Joseph Myers <joseph@codesourcery.com>
2628
47c5adeb
JM
2629 [BZ #9894]
2630 * sysdeps/unix/sysv/linux/kernel-features.h
2631 [__sparc__ && !__arch64__ && !__sparc_v9__]
2632 (__ASSUME_SET_ROBUST_LIST): Do not define.
2633 [__sparc__ && !__arch64__ && !__sparc_v9__]
2634 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2635 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2636 Likewise.
2637 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2638 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2639 (__ASSUME_REQUEUE_PI): Likewise.
2640 (__ASSUME_SET_ROBUST_LIST): Likewise.
2641 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2642 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2643 Undefine.
2644 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2645 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2646 Likewise.
2647 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2648 Likewise.
2649 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2650 Likewise.
2651 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2652 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2653 Undefine.
2654 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2655 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2656 Likewise.
2657
d7a68734
JM
2658 [BZ #16648]
2659 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2660 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2661 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2662
c760f5c2
WN
26632014-03-31 Will Newton <will.newton@linaro.org>
2664
2665 * benchtests/Makefile (bench): Add ffs and ffsll to list
2666 of tests.
2667 * benchtests/ffs-inputs: New file.
2668 * benchtests/ffsll-inputs: Likewise.
2669
ea6029b1
JM
26702014-03-29 Joseph Myers <joseph@codesourcery.com>
2671
2672 [BZ #16770]
2673 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2674 too large before casting to int.
2675 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2676 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2677 * math/libm-test.inc (scalb_test_data): Add more tests.
2678
cf806aff
SP
26792014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2680
56737508
SP
2681 * benchtests/Makefile (DETAILED_OPT): New make option.
2682 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2683 set.
2684 * benchtests/bench-skeleton.c: Include stdbool.h.
2685 (main): Store and print timings per input.
2686 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2687 member to each argument value.
2688 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2689 (_print_arg_data): Initialize per-input timing to 0.
2690
cb5e4aad
SP
2691 * benchtests/Makefile (timing-type): New binary.
2692 (bench-clean): Also remove bench-timing-type.
2693 (bench): New target for timing-type.
2694 (bench-func): Print output in JSON format.
2695 * benchtests/bench-skeleton.c (main): Print output in JSON
2696 format.
2697 * benchtests/bench-timing-type.c: New file.
2698 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2699 (TIMING_PRINT_STATS): Remove.
2700 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2701 name separately.
2702
cf806aff
SP
2703 * benchtests/bench-modf.c: Remove.
2704 * benchtests/modf-inputs: New inputs file.
2705
289e0779
JM
27062014-03-28 Joseph Myers <joseph@codesourcery.com>
2707
2708 [BZ #16362]
2709 * math/s_clog10.c (M_PI_LOG10E): New macro.
2710 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2711 imaginary parts are 0.
2712 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2713 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2714 imaginary parts are 0.
2715 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2716 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2717 imaginary parts are 0.
2718 * math/libm-test.inc (clog10_test_data): Update expected results
2719 for when real and imaginary parts are 0.
2720
277ae3f1
PP
27212014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2722
2723 * elf/dl-load.c: Finish conversion of __builtin_expect into
2724 __glibc_{un}likely.
2725
03a7091f
JM
27262014-03-27 Joseph Myers <joseph@codesourcery.com>
2727
2728 [BZ #16348]
2729 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2730 1+x for argument with exponent below -67.
2731 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2732 Likewise.
2733 * math/auto-libm-test-in: Add more tests of exp.
2734 * math/auto-libm-test-out: Regenerated.
2735
ea7d8b95
SP
27362014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2737
dd3022d7
SP
2738 [BZ #16759]
2739 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2740 (nscd_getnetgrent): Use it.
2741
ea7d8b95
SP
2742 [BZ #16760]
2743 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2744 of stpcpy.
2745
df5b85da
AK
27462014-03-27 Andi Kleen <ak@linux.intel.com>
2747
57f41c40
AS
2748 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2749 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2750 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2751 (lll_robust_unlock): Remove out of line section. Use cfi
2752 intrinsics.
df5b85da 2753 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2754 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2755 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2756 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2757 (lll_robust_unlock): Remove out of line section. Use cfi
2758 intrinsics.
df5b85da
AK
2759 (LLL_STUB_UNWIND_INFO*): Remove.
2760
fbd6b5a4
SP
27612014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2762
2763 [BZ #16758]
2764 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2765 blank values.
2766
1b26b855
PP
27672014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2768
2769 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2770
9be36fb8
JM
27712014-03-26 Joseph Myers <joseph@codesourcery.com>
2772
2773 [BZ #16198]
2774 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2775 fnstenv.
2776 * math/test-fenv-preserve.c: New file.
2777 * math/Makefile (tests): Add test-fenv-preserve.
2778
60a2f3c1
WN
27792014-03-26 Will Newton <will.newton@linaro.org>
2780
2781 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2782
a5e5f1e2
RM
27832014-03-25 Roland McGrath <roland@hack.frob.com>
2784
2785 * scripts/versionlist.awk: Partition the version sets and emit all
2786 GLIBC_* (sorted) before all others (sorted).
2787
00f4012a
JM
27882014-03-25 Joseph Myers <joseph@codesourcery.com>
2789
2790 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2791 GLIBC_2.2.5 version.
2792
7bc5a741
AZ
27932014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2794
2795 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2796 calls.
2797
7578473b
AZ
2798 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2799 previous change.
2800
f3f1dab3
AZ
2801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2802
6da36183
AS
28032014-03-25 Andreas Schwab <schwab@suse.de>
2804
2805 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2806 label to be used after in6ailist is initialized.
2807
f3f1dab3 28082014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2809
7578473b 2810 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2811 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2812
046651c1
JM
28132014-03-25 Joseph Myers <joseph@codesourcery.com>
2814
2815 [BZ #16357]
2816 [BZ #16599]
2817 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2818 min_plus_half.
2819 (fp_formats): Update initializers.
2820 (init_fp_formats): Initialize new field.
2821 (output_for_one_input_case): Allow underflow for results up to
2822 min_plus_half.
2823 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2824 * math/auto-libm-test-in: Don't mark some underflows from asin and
2825 atanh as spurious.
2826 * math/auto-libm-test-out: Regenerated.
2827 * sysdeps/i386/fpu/libm-test-ulps: Update.
2828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2829
003e49ed
AS
28302014-03-25 Andreas Schwab <schwab@suse.de>
2831
2832 * libio/Makefile (tst-ftell-partial-wide-ENV)
2833 (tst-ftell-active-handler-ENV): Define.
2834
de031874
SL
28352014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2836
2837 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2838
55a81e3b
PP
28392014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2840
2841 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2842
f3426898
JM
28432014-03-24 Joseph Myers <joseph@codesourcery.com>
2844
2845 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2846 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2847 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2848
a42faf59
PP
28492014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2850
2851 [BZ #16634]
a42faf59 2852 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2853 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2854 (open_path): Change from boolean 'secure' to complete flag 'mode'
2855 (_dl_map_object): Adjust.
a42faf59
PP
2856 * elf/Makefile (tests): Add tst-dlopen-aout.
2857 * elf/tst-dlopen-aout.c: New test.
2858
50936127
SL
28592014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2860
2861 [BZ #16714]
2862 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2863 (struct stat): Rename member pad0 to __glibc_reserved0.
2864
26011b5c
SL
2865 [BZ #16712]
2866 * sysdeps/s390/s390-32/bits/wordsize.h
2867 (__WORDSIZE32_SIZE_ULONG): New define.
2868 * sysdeps/s390/s390-64/bits/wordsize.h
2869 (__WORDSIZE32_SIZE_ULONG): Likewise.
2870 * sysdeps/generic/stdint.h (SIZE_MAX):
2871 Define as UL if __WORDSIZE32_SIZE_ULONG.
2872
a2d86bf1
SL
2873 [BZ #16713]
2874 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2875 (__glibc_reserved0): New variable.
2876 (sa_flags): Change type to int.
2877
78b6eebc
SL
2878 * posix/Makefile (before-compile): Use += before-compile instead
2879 of a :=.
2880
f1399b5a
SL
2881 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2882 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2883
a071766e
AS
28842014-03-20 Andreas Schwab <schwab@suse.de>
2885
2886 [BZ #16743]
2887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2888 non-matching result from nscd.
2889
27c673b8
SP
28902014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2891
2892 * scripts/bench.py: Moved to ...
2893 * benchtests/scripts/bench.py: ... here.
2894 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2895
44152e4b
AS
28962014-03-24 Andreas Schwab <schwab@suse.de>
2897
2898 [BZ #16002]
2899 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2900 alloca_account and account alloca use for struct in6ailist.
2901
b376a11a
JM
29022014-03-24 Joseph Myers <joseph@codesourcery.com>
2903
2904 [BZ #16284]
2905 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2906 rounding mode to recompute results that overflow to infinity or
2907 underflow to zero.
2908 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2909 bug 16284.
2910 * math/auto-libm-test-out: Regenerated.
2911 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2912 (ccosh_test): Likewise.
2913 (csin_test_data): Use plus_oflow.
2914 (csin_test): Use ALL_RM_TEST.
2915 (csinh_test_data): Use plus_oflow.
2916 (csinh_test): Use ALL_RM_TEST.
2917 * sysdeps/i386/fpu/libm-test-ulps: Update.
2918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2919
f7be7376
JM
29202014-03-21 Joseph Myers <joseph@codesourcery.com>
2921
1ca2d03e
JM
2922 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2923 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2924 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2925
f7be7376
JM
2926 [BZ #16731]
2927 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2928 when x - 1 is zero.
2929 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2930 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2931 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2932 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2933 argument is 1.
2934 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2935 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2936 zero.
2937 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2938 * sysdeps/i386/fpu/libm-test-ulps: Update.
2939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2940
fdf4534d
SP
29412014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2942
df26ea53
SP
2943 * scripts/bench.pl: Remove file.
2944 * scripts/bench.py: New benchmark script.
2945 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2946 * benchtests/README: Mention python dependency.
2947 * scripts/pylintrc: New file.
2948 * scripts/pylint: New file.
2949
fdf4534d
SP
2950 * bits/mathdef.h: Use #ifdef instead of #if.
2951 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2952 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2953 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2954 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2955 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2956 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2957
6f23d093
AZ
29582014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2959 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2960
2961 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2963 and strpbrk-ppc64 objects.
2964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2965 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2966 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2967 multiarch strpbrk for POWER7.
2968 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2969 multiarch strpbrk for PPC64.
2970 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2971 ifunc selector.
2972 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2973 strpbrk for POWER7.
2974
8c92dfff
JM
29752014-03-20 Joseph Myers <joseph@codesourcery.com>
2976
2977 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2978 (atan_test): Likewise.
2979 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2980 (atanh_test): Use ALL_RM_TEST.
2981 (atan2_test_data): Likewise.
2982 (cabs_test): Likewise.
2983 (cacosh_test): Likewise.
2984 (carg_test): Likewise.
2985 (casin_test): Likewise.
2986 (casinh_test): Likewise.
2987 (cbrt_test): Likewise.
2988 (csqrt_test): Likewise.
2989 (erf_test): Likewise.
2990 (erfc_test): Likewise.
2991 (pow10_test): Likewise.
2992 (exp2_test): Likewise.
2993 (hypot_test): Likewise.
2994 (j0_test): Likewise.
2995 (j1_test): Likewise.
2996 (lgamma_test): Likewise.
2997 (gamma_test): Likewise.
2998 (sincos_test): Likewise.
2999 (tanh_test): Likewise.
3000 (y0_test): Likewise.
3001 (y1_test): Likewise.
3002 * sysdeps/i386/fpu/libm-test-ulps: Update.
3003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3004
6eaf95cb
AZ
30052014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3006
a387428c
SP
3007 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3009 and strcspn-ppc64 objects.
3010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3011 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3012 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3013 multiarch strcspn for POWER7.
3014 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3015 multiarch strcspn for PPC64.
3016 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3017 ifunc selector.
3018 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3019 strcspn for POWER7.
3020
ae3a5dff
JM
30212014-03-20 Joseph Myers <joseph@codesourcery.com>
3022
3023 * math/gen-libm-test.pl (generate_testfile): Expect only function
3024 name as argument to AUTO_TESTS_* and pass results for all rounding
3025 modes to parse_args.
3026 (parse_auto_input): Separate inputs of automatic tests from
3027 outputs before storing in %auto_tests.
3028 * math/libm-test.inc (acos_test_data): Update call to
3029 AUTO_TESTS_f_f.
3030 (acos_test): Use ALL_RM_TEST.
3031 (acos_tonearest_test_data): Remove.
3032 (acos_test_tonearest): Likewise.
3033 (acos_towardzero_test_data): Likewise.
3034 (acos_test_towardzero): Likewise.
3035 (acos_downward_test_data): Likewise.
3036 (acos_test_downward): Likewise.
3037 (acos_upward_test_data): Likewise.
3038 (acos_test_upward): Likewise.
3039 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3040 (asin_test_data): Likewise.
3041 (asin_test): Use ALL_RM_TEST.
3042 (asin_tonearest_test_data): Remove.
3043 (asin_test_tonearest): Likewise.
3044 (asin_towardzero_test_data): Likewise.
3045 (asin_test_towardzero): Likewise.
3046 (asin_downward_test_data): Likewise.
3047 (asin_test_downward): Likewise.
3048 (asin_upward_test_data): Likewise.
3049 (asin_test_upward): Likewise.
3050 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3051 (atan_test_data): Likewise.
3052 (atanh_test_data): Likewise.
3053 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3054 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3055 (carg_test_data): Likewise.
3056 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3057 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3058 (ccosh_test_data): Likewise.
3059 (cexp_test_data): Likewise.
3060 (clog_test_data): Likewise.
3061 (clog10_test_data): Likewise.
3062 (cos_test_data): Update call to AUTO_TESTS_f_f.
3063 (cos_test): Use ALL_RM_TEST.
3064 (cos_tonearest_test_data): Remove.
3065 (cos_test_tonearest): Likewise.
3066 (cos_towardzero_test_data): Likewise.
3067 (cos_test_towardzero): Likewise.
3068 (cos_downward_test_data): Likewise.
3069 (cos_test_downward): Likewise.
3070 (cos_upward_test_data): Likewise.
3071 (cos_test_upward): Likewise.
3072 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3073 (cosh_test): Use ALL_RM_TEST.
3074 (cosh_tonearest_test_data): Remove.
3075 (cosh_test_tonearest): Likewise.
3076 (cosh_towardzero_test_data): Likewise.
3077 (cosh_test_towardzero): Likewise.
3078 (cosh_downward_test_data): Likewise.
3079 (cosh_test_downward): Likewise.
3080 (cosh_upward_test_data): Likewise.
3081 (cosh_test_upward): Likewise.
3082 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3083 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3084 (ctan_test_data): Likewise.
3085 (ctan_test): Use ALL_RM_TEST.
3086 (ctan_tonearest_test_data): Remove.
3087 (ctan_test_tonearest): Likewise.
3088 (ctan_towardzero_test_data): Likewise.
3089 (ctan_test_towardzero): Likewise.
3090 (ctan_downward_test_data): Likewise.
3091 (ctan_test_downward): Likewise.
3092 (ctan_upward_test_data): Likewise.
3093 (ctan_test_upward): Likewise.
3094 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3095 (ctanh_test): Use ALL_RM_TEST.
3096 (ctanh_tonearest_test_data): Remove.
3097 (ctanh_test_tonearest): Likewise.
3098 (ctanh_towardzero_test_data): Likewise.
3099 (ctanh_test_towardzero): Likewise.
3100 (ctanh_downward_test_data): Likewise.
3101 (ctanh_test_downward): Likewise.
3102 (ctanh_upward_test_data): Likewise.
3103 (ctanh_test_upward): Likewise.
3104 (erf_test_data): Update call to AUTO_TESTS_f_f.
3105 (erfc_test_data): Likewise.
3106 (exp_test_data): Likewise.
3107 (exp_test): Use ALL_RM_TEST.
3108 (exp_tonearest_test_data): Remove.
3109 (exp_test_tonearest): Likewise.
3110 (exp_towardzero_test_data): Likewise.
3111 (exp_test_towardzero): Likewise.
3112 (exp_downward_test_data): Likewise.
3113 (exp_test_downward): Likewise.
3114 (exp_upward_test_data): Likewise.
3115 (exp_test_upward): Likewise.
3116 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3117 (exp10_test): Use ALL_RM_TEST.
3118 (exp10_tonearest_test_data): Remove.
3119 (exp10_test_tonearest): Likewise.
3120 (exp10_towardzero_test_data): Likewise.
3121 (exp10_test_towardzero): Likewise.
3122 (exp10_downward_test_data): Likewise.
3123 (exp10_test_downward): Likewise.
3124 (exp10_upward_test_data): Likewise.
3125 (exp10_test_upward): Likewise.
3126 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3127 (expm1_test_data): Likewise.
3128 (expm1_test): Use ALL_RM_TEST.
3129 (expm1_tonearest_test_data): Remove.
3130 (expm1_test_tonearest): Likewise.
3131 (expm1_towardzero_test_data): Likewise.
3132 (expm1_test_towardzero): Likewise.
3133 (expm1_downward_test_data): Likewise.
3134 (expm1_test_downward): Likewise.
3135 (expm1_upward_test_data): Likewise.
3136 (expm1_test_upward): Likewise.
3137 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3138 (fma_test): Use ALL_RM_TEST.
3139 (fma_towardzero_test_data): Remove.
3140 (fma_test_towardzero): Likewise.
3141 (fma_downward_test_data): Likewise.
3142 (fma_test_downward): Likewise.
3143 (fma_upward_test_data): Likewise.
3144 (fma_test_upward): Likewise.
3145 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3146 (j0_test_data): Update call to AUTO_TESTS_f_f.
3147 (j1_test_data): Likewise.
3148 (jn_test_data): Update call to AUTO_TESTS_if_f.
3149 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3150 (log_test_data): Update call to AUTO_TESTS_f_f.
3151 (log10_test_data): Likewise.
3152 (log1p_test_data): Likewise.
3153 (log2_test_data): Likewise.
3154 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3155 (pow_tonearest_test_data): Likewise.
3156 (sin_test_data): Update call to AUTO_TESTS_f_f.
3157 (sin_test): Use ALL_RM_TEST.
3158 (sin_tonearest_test_data): Remove.
3159 (sin_test_tonearest): Likewise.
3160 (sin_towardzero_test_data): Likewise.
3161 (sin_test_towardzero): Likewise.
3162 (sin_downward_test_data): Likewise.
3163 (sin_test_downward): Likewise.
3164 (sin_upward_test_data): Likewise.
3165 (sin_test_upward): Likewise.
3166 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3167 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3168 (sinh_test): Use ALL_RM_TEST.
3169 (sinh_tonearest_test_data): Remove.
3170 (sinh_test_tonearest): Likewise.
3171 (sinh_towardzero_test_data): Likewise.
3172 (sinh_test_towardzero): Likewise.
3173 (sinh_downward_test_data): Likewise.
3174 (sinh_test_downward): Likewise.
3175 (sinh_upward_test_data): Likewise.
3176 (sinh_test_upward): Likewise.
3177 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3178 (sqrt_test): Use ALL_RM_TEST.
3179 (sqrt_tonearest_test_data): Remove.
3180 (sqrt_test_tonearest): Likewise.
3181 (sqrt_towardzero_test_data): Likewise.
3182 (sqrt_test_towardzero): Likewise.
3183 (sqrt_downward_test_data): Likewise.
3184 (sqrt_test_downward): Likewise.
3185 (sqrt_upward_test_data): Likewise.
3186 (sqrt_test_upward): Likewise.
3187 (tan_test_data): Update call to AUTO_TESTS_f_f.
3188 (tan_test): Use ALL_RM_TEST.
3189 (tan_tonearest_test_data): Remove.
3190 (tan_test_tonearest): Likewise.
3191 (tan_towardzero_test_data): Likewise.
3192 (tan_test_towardzero): Likewise.
3193 (tan_downward_test_data): Likewise.
3194 (tan_test_downward): Likewise.
3195 (tan_upward_test_data): Likewise.
3196 (tan_test_upward): Likewise.
3197 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3198 (tgamma_test_data): Likewise.
3199 (y0_test_data): Likewise.
3200 (y1_test_data): Likewise.
3201 (yn_test_data): Update call to AUTO_TESTS_if_f.
3202 (main): Do not call removed functions.
3203
d71aeee8
JM
32042014-03-19 Joseph Myers <joseph@codesourcery.com>
3205
3206 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3207 (ldexp_test_data): Remove.
3208 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3209 scalbn_test_data.
3210 (scalb_test): Use ALL_RM_TEST.
3211
baaf1ded
AS
32122014-03-19 Andreas Schwab <schwab@suse.de>
3213
3214 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3215
b1115e91
JM
32162014-03-19 Joseph Myers <joseph@codesourcery.com>
3217
3218 [BZ #16649]
3219 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3220 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3221 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3222 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3223 (__ASSUME_PREADV): Undefine.
3224 (__ASSUME_PWRITEV): Likewise.
3225
0283ecca
RM
32262014-03-18 Roland McGrath <roland@hack.frob.com>
3227
7d375303
RM
3228 * bits/mman-linux.h: Add comment about non-Linux use.
3229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3230 bits/mman-linux.h resting place.
3231
0283ecca
RM
3232 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3233 * bits/mman-linux.h: ... here.
3234
aebe1003
AZ
32352014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3236
3237 * conform/conformtest.pl: Add standard definition when calling C
3238 preprocessor on data files.
3239 (checknamespace): Remove unused variable.
3240
b29b6bb8
JM
32412014-03-18 Joseph Myers <joseph@codesourcery.com>
3242
3243 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3244 minus_oflow, plus_uflow and minus_uflow in expected results.
3245 * math/libm-test.inc (scalbn_test_data): Add more tests of
3246 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3247 minus_uflow.
3248 (scalbn_test): Use ALL_RM_TEST.
3249 (scalbln_test_data): Add more tests of negative arguments. Use
3250 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3251 (scalbln_test): Use ALL_RM_TEST.
3252
c8f8fa15
RM
32532014-03-18 Roland McGrath <roland@hack.frob.com>
3254
3255 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3256
fede7a5f
WN
32572014-03-18 Will Newton <will.newton@linaro.org>
3258
3259 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3260 inaccurate comment.
3261
80cf0a58
JM
32622014-03-18 Joseph Myers <joseph@codesourcery.com>
3263
3264 * Makerules [!subdir] (check-abi): Exit with error status if a
3265 test failed.
3266
b3620862
JM
32672014-03-17 Joseph Myers <joseph@codesourcery.com>
3268
3269 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3270 for rint. Include results for all rounding modes.
3271 (nearbyint_test): Use ALL_RM_TEST.
3272 (rint_test_data): Include all tests used for nearbyint.
3273
788bba36
WN
32742014-03-17 Will Newton <will.newton@linaro.org>
3275
04ec140a
WN
3276 * nptl/sysdeps/pthread/pthread.h: Revert previous
3277 change.
3278
7579d8d5
WN
3279 * sysdeps/generic/ldsodefs.h: Revert previous
3280 change.
3281
c15cf13a
WN
3282 * libio/genops.c: Revert previous change.
3283 * libio/libioP.h: Likewise.
3284 * stdio-common/vfprintf.c: Likewise.
3285
d0ac1324
WN
3286 * sysdeps/generic/math_private.h: Revert previous
3287 change.
3288
9290130a
WN
3289 * sysdeps/generic/math_private.h: Check whether
3290 HAVE_RM_CTX is defined with #ifdef rather
3291 than #if.
3292
afb466fc
WN
3293 * argp/argp-fmtstream.h: Check whether
3294 __STRICT_ANSI__ is defined with #ifdef rather
3295 than #if.
3296 * argp/argp.h: Likewise.
3297
f7efd7c3
WN
3298 * libio/genops.c: Check whether
3299 _IO_JUMPS_OFFSET is defined with #ifdef rather
3300 than #if.
3301 * libio/libioP.h: Likewise.
3302 * stdio-common/vfprintf.c: Likewise.
3303
53f1bed3
WN
3304 * sysdeps/generic/ldsodefs.h: Check whether
3305 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3306 than #if.
3307
788bba36
WN
3308 * nptl/sysdeps/pthread/pthread.h: Check
3309 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3310 its value.
3311
fcd89ebe
SP
33122014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3313
ae42bbc5
SP
3314 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3315 setting O_APPEND.
3316 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3317 test case.
3318
ea33158c
SP
3319 [BZ #16680]
3320 * libio/fileops.c (_IO_file_open): Seek to end of file but
3321 don't cache the offset.
3322 (get_file_offset): Remove function.
3323 (do_ftell): Use cached offset when available.
3324 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3325 don't cache the offset.
3326 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3327 case.
3328 (do_one_test): Call it.
3329 (do_ftell_test): Fix up expected old offset for a+ mode.
3330 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3331 available.
3332
b1dbb426
SP
3333 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3334 up test status with function return status.
3335 (do_write_test): Likewise.
3336 (do_append_test): Likewise.
3337
fcd89ebe
SP
3338 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3339 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3340 Remove.
3341
9962a2d3
JM
33422014-03-17 Joseph Myers <joseph@codesourcery.com>
3343
3344 * math/gen-libm-test.pl (parse_args): Handle results specified for
3345 each rounding mode separately.
3346 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3347 tests and results from lrint_tonearest_test_data,
3348 lrint_towardzero_test_data, lrint_downward_test_data and
3349 lrint_upward_test_data.
3350 (lrint_test): Use ALL_RM_TEST.
3351 (lrint_tonearest_test_data): Remove.
3352 (lrint_test_tonearest): Likewise.
3353 (lrint_towardzero_test_data): Likewise.
3354 (lrint_test_towardzero): Likewise.
3355 (lrint_downward_test_data): Likewise.
3356 (lrint_test_downward): Likewise.
3357 (lrint_upward_test_data): Likewise.
3358 (lrint_test_upward): Likewise.
3359 (llrint_test_data): Merge in per-rounding-mode tests and results
3360 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3361 llrint_downward_test_data and llrint_upward_test_data.
3362 (llrint_test): Use ALL_RM_TEST.
3363 (llrint_tonearest_test_data): Remove.
3364 (llrint_test_tonearest): Likewise.
3365 (llrint_towardzero_test_data): Likewise.
3366 (llrint_test_towardzero): Likewise.
3367 (llrint_downward_test_data): Likewise.
3368 (llrint_test_downward): Likewise.
3369 (llrint_upward_test_data): Likewise.
3370 (llrint_test_upward): Likewise.
3371 (rint_test_data): Merge in per-rounding-mode tests and results
3372 from rint_tonearest_test_data, rint_towardzero_test_data,
3373 rint_downward_test_data and rint_upward_test_data. Add
3374 per-rounding-mode results for tests not in those arrays.
3375 (rint_test): Use ALL_RM_TEST.
3376 (rint_tonearest_test_data): Remove.
3377 (rint_test_tonearest): Likewise.
3378 (rint_towardzero_test_data): Likewise.
3379 (rint_test_towardzero): Likewise.
3380 (rint_downward_test_data): Likewise.
3381 (rint_test_downward): Likewise.
3382 (rint_upward_test_data): Likewise.
3383 (rint_test_upward): Likewise.
3384 (main): Don't call removed functions.
3385
5006148e
RM
33862014-03-14 Roland McGrath <roland@hack.frob.com>
3387
3388 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3389 "Compiled on ..." crapola. It is anti-useful.
3390
d6fe5e58
JM
33912014-03-14 Joseph Myers <joseph@codesourcery.com>
3392
3393 * scripts/evaluate-test.sh: Handle fourth argument to determine
3394 whether test run should stop on failure.
3395 * Makeconfig (stop-on-test-failure): New variable.
3396 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3397 $(stop-on-test-failure).
3398 * Makefile (tests): Give a summary of results from testing and
3399 exit with failure status if they include an ERROR or FAIL.
3400 (xtests): Likewise.
3401 * manual/install.texi (Configuring and compiling): Mention
3402 stop-on-test-failure=y.
3403 * INSTALL: Regenerated.
3404
498a2233
RM
34052014-03-14 Roland McGrath <roland@hack.frob.com>
3406
22dbc19d
RM
3407 * scripts/versionlist.awk: New file.
3408 * Makerules [$(build-shared) = yes]
3409 (postclean-generated): Add Versions.def, not Versions.def.v and
3410 Versions.def.v.i.
3411 ($(common-objpfx)Versions.def.v.i): Target removed.
3412 ($(common-objpfx)Versions.def): New target.
3413 ($(common-objpfx)Versions.all): Depend on that rather that
3414 $(common-objpfx)Versions.def.v.
3415 * Versions.def: File removed.
3416
498a2233
RM
3417 * Makeconfig (+gccwarn): Add -Wundef.
3418 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3419 a dl-sysdep.h breaking its contract.
3420 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3421 * include/stackinfo.h: New file.
3422 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3423 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3424 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3425 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3426 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3427 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3428 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3429 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3430 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3431 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3432 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3433 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3434 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3435 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3436 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3437
c7de5025
AZ
34382014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3439
3440 [BZ #16707]
3441 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3442 implementation.
3443 * math/libm-test.inc (round_test_data): Add more tests.
3444
98fb27a3
AZ
3445 [BZ #16706]
3446 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3447 implementation.
3448 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3449
374f7f61
AZ
3450 [BZ #16701]
3451 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3452 implementation.
3453 * math/libm-test.inc (ceil_test_data): Add more tests.
3454
4655c291
AZ
3455 * math/libm-test.inc (trunc_test_data): Add more tests related to
3456 BZ#16414.
3457
d7329d4b
RM
34582014-03-14 Roland McGrath <roland@hack.frob.com>
3459
3460 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3461 with #if rather than #ifdef.
3462 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3463
aa4de9ce
L
34642014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3465
3466 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3467 first. Disable AVX-512 GCC support if assembler doesn't support
3468 it.
3469 * sysdeps/x86_64/configure: Regenerated.
3470
2e03fae7
CD
34712014-03-13 Carlos O'Donell <carlos@redhat.com>
3472
3473 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3474 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3475 (__old_pthread_attr_setstack): Likewise.
3476 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3477 [!_STACK_GROWS_DOWN]: Likewise.
3478
43ca83ec
MF
34792014-03-13 Mike Frysinger <vapier@gentoo.org>
3480
3481 * config.make.in (have-bash2): Delete.
3482 * configure.ac (libc_cv_have_bash2): Delete.
3483 * configure: Regenerate.
3484 * elf/Makefile (common-ldd-rewrite): Rename to ...
3485 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3486 (sh-ldd-rewrite): Delete.
3487 (bash-ldd-rewrite): Delete.
3488 (have-bash2): Delete checks.
57f41c40
AS
3489 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3490 ldd-rewrite.
c66e48b4
MF
3491
3492 * config.make.in (have-ksh): Delete.
3493 (KSH): Delete.
3494 * configure.ac (libc_cv_have_ksh): Delete.
3495 * configure: Regenerate.
3496
b93834ef
MF
3497 * elf/Makefile: Delete $(have-ksh) check.
3498 ($(objpfx)sotruss): Change KSH to BASH.
3499 * elf/sotruss.ksh: Rename to ...
3500 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3501 function style to match POSIX. Drop ksh vim mode setting.
3502
f3a4632a
MF
3503 * manual/time.texi (Specifying the Time Zone with TZ): Change
3504 Tuesday to Thursday.
3505
5896c8bd
MF
3506 * debug/tst-longjmp_chk2.c: Update header comment.
3507 (stackoverflow_handler): Add comment. Call assert on pass value.
3508
2d63a517
IZ
35092014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3510
3511 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3512 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3513 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3514 (La_x86_64_vector): Add zmm.
3515 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3516 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3517 ($(objpfx)tst-audit10): New target.
3518 ($(objpfx)tst-audit10.out): Likewise.
3519 (tst-audit10-ENV): New.
3520 (AVX512-CFLAGS): Likewise.
3521 (CFLAGS-tst-audit10.c): Likewise.
3522 (CFLAGS-tst-auditmod10a.c): Likewise.
3523 (CFLAGS-tst-auditmod10b.c): Likewise.
3524 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3525 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3526 * sysdeps/x86_64/configure: Regenerated.
3527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3528 AVX-512 zmm register support.
3529 (_dl_x86_64_save_sse): Likewise.
3530 (_dl_x86_64_restore_sse): Likewise.
3531 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3532 size vector registers.
3533 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3534 (ZMM_SIZE): Likewise.
3535 * sysdeps/x86_64/tst-audit10.c: New file.
3536 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3537 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3538
44c4e5d5
RM
35392014-03-13 Roland McGrath <roland@hack.frob.com>
3540
3541 * configure.ac (HAVE_EHDR_START): New check.
3542 * configure: Regenerated.
3543 * config.h.in (HAVE_EHDR_START): New #undef.
3544 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3545 assuming the lowest-addressed segment maps the start of the file.
3546
acd6e389
JM
35472014-03-13 Joseph Myers <joseph@codesourcery.com>
3548
3549 * INSTALL: Regenerated.
3550
6f918f36
WN
35512014-03-13 Will Newton <will.newton@linaro.org>
3552
3553 * manual/setjmp.texi (System V contexts): Improve
3554 clarity and grammar of documentation.
3555
798212a0
PP
35562014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3557
3558 [BZ #16381]
798212a0 3559 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3560 (tests-pie): Add tst-pie2.
798212a0
PP
3561 * elf/tst-pie2.c: New file.
3562 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3563 for ET_EXEC.
3564 * elf/rtld.c (map_doit): Load executable as lt_executable.
3565 (dl_main): Likewise.
3566
abe6d90c
JM
35672014-03-12 Joseph Myers <joseph@codesourcery.com>
3568
3569 [BZ #16642]
3570 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3571 (__ASSUME_PSELECT): Undefine.
3572
dd3946c6
AZ
35732014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3574
3575 [BZ #16689]
3576 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3577 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3578 static build.
3579 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3580 selector for static builds.
3581
c44496df
SP
35822014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3583
3584 [BZ #16695]
3585 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3586 key in the buffer.
3587
27c7220a
AZ
35882014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3589
57f41c40
AS
3590 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3591 IFUNC selector for static builds.
27c7220a 3592
600fa361
JM
35932014-03-11 Joseph Myers <joseph@codesourcery.com>
3594
76c96cf7
JM
3595 * sysdeps/mips/math_private.h [__mips_hard_float]
3596 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3597 libc_feresetround_mips_ctx.
3598 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3599 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3600 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3601
600fa361
JM
3602 [BZ #16677]
3603 * math/s_nextafter.c (__nextafter): Do not return value from
3604 overflowing computation.
3605 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3606 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3607 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3608 Likewise.
3609 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3610 Likewise.
3611 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3612 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3613
d7706c32
RM
36142014-03-11 Roland McGrath <roland@hack.frob.com>
3615
3616 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3617 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3618 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3619 the new mov targetting sp.
3620
4facea47
AZ
36212014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3622
3623 [BZ #16683]
3624 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3625 Define it for static builds as well.
3626 (NO_BZERO_IMPL): Likewise.
3627
e65caf1f
VR
36282014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3629
3630 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3631 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3632 multiarch strspn for PPC64.
3633 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3634 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3636 (__libc_ifunc_impl_list): Likewise.
3637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3638 multiarch optimizations
3639 * string/strspn.c (strspn): Using macro to redefine symbol name.
3640
ba9cc071
AZ
36412014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3642 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3643
3644 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3645 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3646 multiarch strncat for PPC64.
3647 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3648 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3650 (__libc_ifunc_impl_list): Likewise.
3651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3652 multiarch optimizations
3653
8b4ff974
SP
36542014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3655
3656 [BZ #16639]
3657 * nscd/nscd.service: Make service type forking.
3658
54b46a4b
AZ
36592014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3660
3661 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3662 sign in non default rounding modes.
3663 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3664
e9996ef7
JM
36652014-03-08 Joseph Myers <joseph@codesourcery.com>
3666
3667 * math/libm-test.inc (ALL_RM_TEST): New macro.
3668 (ceil_test): Use ALL_RM_TEST.
3669 (cimag_test): Likewise.
3670 (conj_test): Likewise.
3671 (copysign_test): Likewise.
3672 (cproj_test): Likewise.
3673 (creal_test): Likewise.
3674 (fabs_test): Likewise.
3675 (floor_test): Likewise.
3676 (fmax_test): Likewise.
3677 (fmin_test): Likewise.
3678 (fmod_test): Likewise.
3679 (fpclassify_test): Likewise.
3680 (frexp_test): Likewise.
3681 (ilogb_test): Likewise.
3682 (isfinite_test): Likewise.
3683 (finite_test): Likewise.
3684 (isgreater_test): Likewise.
3685 (isgreaterequal_test): Likewise.
3686 (isinf_test): Likewise.
3687 (isless_test): Likewise.
3688 (islessequal_test): Likewise.
3689 (islessgreater_test): Likewise.
3690 (isnan_test): Likewise.
3691 (isnormal_test): Likewise.
3692 (issignaling_test): Likewise.
3693 (isunordered_test): Likewise.
3694 (logb_test): Likewise.
3695 (logb_downward_test_data): Remove.
3696 (logb_test_downward): Likewise.
3697 (lround_test): Use ALL_RM_TEST.
3698 (llround_test): Likewise.
3699 (modf_test): Likewise.
3700 (nexttoward_test): Likewise.
3701 (remainder_test): Likewise.
3702 (drem_test): Likewise.
3703 (remainder_tonearest_test_data): Likewise.
3704 (remainder_test_tonearest): Likewise.
3705 (drem_test_tonearest): Likewise.
3706 (remainder_towardzero_test_data): Likewise.
3707 (remainder_test_towardzero): Likewise.
3708 (drem_test_towardzero): Likewise.
3709 (remainder_downward_test_data): Likewise.
3710 (remainder_test_downward): Likewise.
3711 (drem_test_downward): Likewise.
3712 (remainder_upward_test_data): Likewise.
3713 (remainder_test_upward): Likewise.
3714 (drem_test_upward): Likewise.
3715 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3716 (round_test): Use ALL_RM_TEST.
3717 (signbit_test): Likewise.
3718 (trunc_test): Likewise.
3719 (significand_test): Likewise.
3720 (main): Don't call removed functions.
3721
bc61d27c
JM
37222014-03-07 Joseph Myers <joseph@codesourcery.com>
3723
5c780849
JM
3724 [BZ #16674]
3725 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3726 || __USE_XOPEN2K8].
3727 (ILL_ILLOPN): Likewise.
3728 (ILL_ILLADR): Likewise.
3729 (ILL_ILLTRP): Likewise.
3730 (ILL_PRVOPC): Likewise.
3731 (ILL_PRVREG): Likewise.
3732 (ILL_COPROC): Likewise.
3733 (ILL_BADSTK): Likewise.
3734 (FPE_INTDIV): Likewise.
3735 (FPE_INTOVF): Likewise.
3736 (FPE_FLTDIV): Likewise.
3737 (FPE_FLTOVF): Likewise.
3738 (FPE_FLTUND): Likewise.
3739 (FPE_FLTRES): Likewise.
3740 (FPE_FLTINV): Likewise.
3741 (FPE_FLTSUB): Likewise.
3742 (SEGV_MAPERR): Likewise.
3743 (SEGV_ACCERR): Likewise.
3744 (BUS_ADRALN): Likewise.
3745 (BUS_ADRERR): Likewise.
3746 (BUS_OBJERR): Likewise.
3747 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3748 (TRAP_TRACE): Likewise.
3749 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3750 __USE_XOPEN2K8].
3751 (CLD_KILLED): Likewise.
3752 (CLD_DUMPED): Likewise.
3753 (CLD_TRAPPED): Likewise.
3754 (CLD_STOPPED): Likewise.
3755 (CLD_CONTINUED): Likewise.
3756 (POLL_IN): Likewise.
3757 (POLL_OUT): Likewise.
3758 (POLL_MSG): Likewise.
3759 (POLL_ERR): Likewise.
3760 (POLL_PRI): Likewise.
3761 (POLL_HUP): Likewise.
3762 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3763 Likewise.
3764 (ILL_ILLOPN): Likewise.
3765 (ILL_ILLADR): Likewise.
3766 (ILL_ILLTRP): Likewise.
3767 (ILL_PRVOPC): Likewise.
3768 (ILL_PRVREG): Likewise.
3769 (ILL_COPROC): Likewise.
3770 (ILL_BADSTK): Likewise.
3771 (FPE_INTDIV): Likewise.
3772 (FPE_INTOVF): Likewise.
3773 (FPE_FLTDIV): Likewise.
3774 (FPE_FLTOVF): Likewise.
3775 (FPE_FLTUND): Likewise.
3776 (FPE_FLTRES): Likewise.
3777 (FPE_FLTINV): Likewise.
3778 (FPE_FLTSUB): Likewise.
3779 (SEGV_MAPERR): Likewise.
3780 (SEGV_ACCERR): Likewise.
3781 (BUS_ADRALN): Likewise.
3782 (BUS_ADRERR): Likewise.
3783 (BUS_OBJERR): Likewise.
3784 (BUS_MCEERR_AR): Likewise.
3785 (BUS_MCEERR_AO): Likewise.
3786 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3787 (TRAP_TRACE): Likewise.
3788 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3789 __USE_XOPEN2K8].
3790 (CLD_KILLED): Likewise.
3791 (CLD_DUMPED): Likewise.
3792 (CLD_TRAPPED): Likewise.
3793 (CLD_STOPPED): Likewise.
3794 (CLD_CONTINUED): Likewise.
3795 (POLL_IN): Likewise.
3796 (POLL_OUT): Likewise.
3797 (POLL_MSG): Likewise.
3798 (POLL_ERR): Likewise.
3799 (POLL_PRI): Likewise.
3800 (POLL_HUP): Likewise.
3801 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3802 (ILL_ILLOPN): Likewise.
3803 (ILL_ILLADR): Likewise.
3804 (ILL_ILLTRP): Likewise.
3805 (ILL_PRVOPC): Likewise.
3806 (ILL_PRVREG): Likewise.
3807 (ILL_COPROC): Likewise.
3808 (ILL_BADSTK): Likewise.
3809 (FPE_INTDIV): Likewise.
3810 (FPE_INTOVF): Likewise.
3811 (FPE_FLTDIV): Likewise.
3812 (FPE_FLTOVF): Likewise.
3813 (FPE_FLTUND): Likewise.
3814 (FPE_FLTRES): Likewise.
3815 (FPE_FLTINV): Likewise.
3816 (FPE_FLTSUB): Likewise.
3817 (SEGV_MAPERR): Likewise.
3818 (SEGV_ACCERR): Likewise.
3819 (BUS_ADRALN): Likewise.
3820 (BUS_ADRERR): Likewise.
3821 (BUS_OBJERR): Likewise.
3822 (BUS_MCEERR_AR): Likewise.
3823 (BUS_MCEERR_AO): Likewise.
3824 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3825 (TRAP_TRACE): Likewise.
3826 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3827 __USE_XOPEN2K8].
3828 (CLD_KILLED): Likewise.
3829 (CLD_DUMPED): Likewise.
3830 (CLD_TRAPPED): Likewise.
3831 (CLD_STOPPED): Likewise.
3832 (CLD_CONTINUED): Likewise.
3833 (POLL_IN): Likewise.
3834 (POLL_OUT): Likewise.
3835 (POLL_MSG): Likewise.
3836 (POLL_ERR): Likewise.
3837 (POLL_PRI): Likewise.
3838 (POLL_HUP): Likewise.
3839 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3840 Likewise.
3841 (ILL_ILLOPN): Likewise.
3842 (ILL_ILLADR): Likewise.
3843 (ILL_ILLTRP): Likewise.
3844 (ILL_PRVOPC): Likewise.
3845 (ILL_PRVREG): Likewise.
3846 (ILL_COPROC): Likewise.
3847 (ILL_BADSTK): Likewise.
3848 (ILL_BADIADDR): Likewise.
3849 (ILL_BREAK): Likewise.
3850 (FPE_INTDIV): Likewise.
3851 (FPE_INTOVF): Likewise.
3852 (FPE_FLTDIV): Likewise.
3853 (FPE_FLTOVF): Likewise.
3854 (FPE_FLTUND): Likewise.
3855 (FPE_FLTRES): Likewise.
3856 (FPE_FLTINV): Likewise.
3857 (FPE_FLTSUB): Likewise.
3858 (FPE_DECOVF): Likewise.
3859 (FPE_DECDIV): Likewise.
3860 (FPE_DECERR): Likewise.
3861 (FPE_INVASC): Likewise.
3862 (FPE_INVDEC): Likewise.
3863 (SEGV_MAPERR): Likewise.
3864 (SEGV_ACCERR): Likewise.
3865 (SEGV_PSTKOVF): Likewise.
3866 (BUS_ADRALN): Likewise.
3867 (BUS_ADRERR): Likewise.
3868 (BUS_OBJERR): Likewise.
3869 (BUS_MCEERR_AR): Likewise.
3870 (BUS_MCEERR_AO): Likewise.
3871 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3872 (TRAP_TRACE): Likewise.
3873 (TRAP_BRANCH): Likewise.
3874 (TRAP_HWBKPT): Likewise.
3875 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3876 __USE_XOPEN2K8].
3877 (CLD_KILLED): Likewise.
3878 (CLD_DUMPED): Likewise.
3879 (CLD_TRAPPED): Likewise.
3880 (CLD_STOPPED): Likewise.
3881 (CLD_CONTINUED): Likewise.
3882 (POLL_IN): Likewise.
3883 (POLL_OUT): Likewise.
3884 (POLL_MSG): Likewise.
3885 (POLL_ERR): Likewise.
3886 (POLL_PRI): Likewise.
3887 (POLL_HUP): Likewise.
3888 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3889 (ILL_ILLOPN): Likewise.
3890 (ILL_ILLADR): Likewise.
3891 (ILL_ILLTRP): Likewise.
3892 (ILL_PRVOPC): Likewise.
3893 (ILL_PRVREG): Likewise.
3894 (ILL_COPROC): Likewise.
3895 (ILL_BADSTK): Likewise.
3896 (FPE_INTDIV): Likewise.
3897 (FPE_INTOVF): Likewise.
3898 (FPE_FLTDIV): Likewise.
3899 (FPE_FLTOVF): Likewise.
3900 (FPE_FLTUND): Likewise.
3901 (FPE_FLTRES): Likewise.
3902 (FPE_FLTINV): Likewise.
3903 (FPE_FLTSUB): Likewise.
3904 (SEGV_MAPERR): Likewise.
3905 (SEGV_ACCERR): Likewise.
3906 (BUS_ADRALN): Likewise.
3907 (BUS_ADRERR): Likewise.
3908 (BUS_OBJERR): Likewise.
3909 (BUS_MCEERR_AR): Likewise.
3910 (BUS_MCEERR_AO): Likewise.
3911 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3912 (TRAP_TRACE): Likewise.
3913 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3914 __USE_XOPEN2K8].
3915 (CLD_KILLED): Likewise.
3916 (CLD_DUMPED): Likewise.
3917 (CLD_TRAPPED): Likewise.
3918 (CLD_STOPPED): Likewise.
3919 (CLD_CONTINUED): Likewise.
3920 (POLL_IN): Likewise.
3921 (POLL_OUT): Likewise.
3922 (POLL_MSG): Likewise.
3923 (POLL_ERR): Likewise.
3924 (POLL_PRI): Likewise.
3925 (POLL_HUP): Likewise.
3926 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3927 (ILL_ILLOPN): Likewise.
3928 (ILL_ILLADR): Likewise.
3929 (ILL_ILLTRP): Likewise.
3930 (ILL_PRVOPC): Likewise.
3931 (ILL_PRVREG): Likewise.
3932 (ILL_COPROC): Likewise.
3933 (ILL_BADSTK): Likewise.
3934 (FPE_INTDIV): Likewise.
3935 (FPE_INTOVF): Likewise.
3936 (FPE_FLTDIV): Likewise.
3937 (FPE_FLTOVF): Likewise.
3938 (FPE_FLTUND): Likewise.
3939 (FPE_FLTRES): Likewise.
3940 (FPE_FLTINV): Likewise.
3941 (FPE_FLTSUB): Likewise.
3942 (SEGV_MAPERR): Likewise.
3943 (SEGV_ACCERR): Likewise.
3944 (BUS_ADRALN): Likewise.
3945 (BUS_ADRERR): Likewise.
3946 (BUS_OBJERR): Likewise.
3947 (BUS_MCEERR_AR): Likewise.
3948 (BUS_MCEERR_AO): Likewise.
3949 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3950 (TRAP_TRACE): Likewise.
3951 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3952 __USE_XOPEN2K8].
3953 (CLD_KILLED): Likewise.
3954 (CLD_DUMPED): Likewise.
3955 (CLD_TRAPPED): Likewise.
3956 (CLD_STOPPED): Likewise.
3957 (CLD_CONTINUED): Likewise.
3958 (POLL_IN): Likewise.
3959 (POLL_OUT): Likewise.
3960 (POLL_MSG): Likewise.
3961 (POLL_ERR): Likewise.
3962 (POLL_PRI): Likewise.
3963 (POLL_HUP): Likewise.
3964 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3965 (ILL_ILLOPN): Likewise.
3966 (ILL_ILLADR): Likewise.
3967 (ILL_ILLTRP): Likewise.
3968 (ILL_PRVOPC): Likewise.
3969 (ILL_PRVREG): Likewise.
3970 (ILL_COPROC): Likewise.
3971 (ILL_BADSTK): Likewise.
3972 (FPE_INTDIV): Likewise.
3973 (FPE_INTOVF): Likewise.
3974 (FPE_FLTDIV): Likewise.
3975 (FPE_FLTOVF): Likewise.
3976 (FPE_FLTUND): Likewise.
3977 (FPE_FLTRES): Likewise.
3978 (FPE_FLTINV): Likewise.
3979 (FPE_FLTSUB): Likewise.
3980 (SEGV_MAPERR): Likewise.
3981 (SEGV_ACCERR): Likewise.
3982 (BUS_ADRALN): Likewise.
3983 (BUS_ADRERR): Likewise.
3984 (BUS_OBJERR): Likewise.
3985 (BUS_MCEERR_AR): Likewise.
3986 (BUS_MCEERR_AO): Likewise.
3987 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3988 (TRAP_TRACE): Likewise.
3989 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3990 __USE_XOPEN2K8].
3991 (CLD_KILLED): Likewise.
3992 (CLD_DUMPED): Likewise.
3993 (CLD_TRAPPED): Likewise.
3994 (CLD_STOPPED): Likewise.
3995 (CLD_CONTINUED): Likewise.
3996 (POLL_IN): Likewise.
3997 (POLL_OUT): Likewise.
3998 (POLL_MSG): Likewise.
3999 (POLL_ERR): Likewise.
4000 (POLL_PRI): Likewise.
4001 (POLL_HUP): Likewise.
4002 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4003 (ILL_ILLOPN): Likewise.
4004 (ILL_ILLADR): Likewise.
4005 (ILL_ILLTRP): Likewise.
4006 (ILL_PRVOPC): Likewise.
4007 (ILL_PRVREG): Likewise.
4008 (ILL_COPROC): Likewise.
4009 (ILL_BADSTK): Likewise.
4010 (ILL_DBLFLT): Likewise.
4011 (ILL_HARDWALL): Likewise.
4012 (FPE_INTDIV): Likewise.
4013 (FPE_INTOVF): Likewise.
4014 (FPE_FLTDIV): Likewise.
4015 (FPE_FLTOVF): Likewise.
4016 (FPE_FLTUND): Likewise.
4017 (FPE_FLTRES): Likewise.
4018 (FPE_FLTINV): Likewise.
4019 (FPE_FLTSUB): Likewise.
4020 (SEGV_MAPERR): Likewise.
4021 (SEGV_ACCERR): Likewise.
4022 (BUS_ADRALN): Likewise.
4023 (BUS_ADRERR): Likewise.
4024 (BUS_OBJERR): Likewise.
4025 (BUS_MCEERR_AR): Likewise.
4026 (BUS_MCEERR_AO): Likewise.
4027 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4028 (TRAP_TRACE): Likewise.
4029 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4030 __USE_XOPEN2K8].
4031 (CLD_KILLED): Likewise.
4032 (CLD_DUMPED): Likewise.
4033 (CLD_TRAPPED): Likewise.
4034 (CLD_STOPPED): Likewise.
4035 (CLD_CONTINUED): Likewise.
4036 (POLL_IN): Likewise.
4037 (POLL_OUT): Likewise.
4038 (POLL_MSG): Likewise.
4039 (POLL_ERR): Likewise.
4040 (POLL_PRI): Likewise.
4041 (POLL_HUP): Likewise.
4042 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4043 (ILL_ILLOPN): Likewise.
4044 (ILL_ILLADR): Likewise.
4045 (ILL_ILLTRP): Likewise.
4046 (ILL_PRVOPC): Likewise.
4047 (ILL_PRVREG): Likewise.
4048 (ILL_COPROC): Likewise.
4049 (ILL_BADSTK): Likewise.
4050 (FPE_INTDIV): Likewise.
4051 (FPE_INTOVF): Likewise.
4052 (FPE_FLTDIV): Likewise.
4053 (FPE_FLTOVF): Likewise.
4054 (FPE_FLTUND): Likewise.
4055 (FPE_FLTRES): Likewise.
4056 (FPE_FLTINV): Likewise.
4057 (FPE_FLTSUB): Likewise.
4058 (SEGV_MAPERR): Likewise.
4059 (SEGV_ACCERR): Likewise.
4060 (BUS_ADRALN): Likewise.
4061 (BUS_ADRERR): Likewise.
4062 (BUS_OBJERR): Likewise.
4063 (BUS_MCEERR_AR): Likewise.
4064 (BUS_MCEERR_AO): Likewise.
4065 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4066 (TRAP_TRACE): Likewise.
4067 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4068 __USE_XOPEN2K8].
4069 (CLD_KILLED): Likewise.
4070 (CLD_DUMPED): Likewise.
4071 (CLD_TRAPPED): Likewise.
4072 (CLD_STOPPED): Likewise.
4073 (CLD_CONTINUED): Likewise.
4074 (POLL_IN): Likewise.
4075 (POLL_OUT): Likewise.
4076 (POLL_MSG): Likewise.
4077 (POLL_ERR): Likewise.
4078 (POLL_PRI): Likewise.
4079 (POLL_HUP): Likewise.
4080 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4081 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4082
bc61d27c
JM
4083 [BZ #16670]
4084 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4085 before #include of <time.h>.
4086 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4087 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4088 (test-xfail-UNIX98/sched.h/conform): Likewise.
4089
302949e2
MS
40902014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4091
4092 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4093 error absence of trapping exception support.
4094 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4095
a00f522a
JM
40962014-03-07 Joseph Myers <joseph@codesourcery.com>
4097
6f99f280
JM
4098 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4099 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4100 * timezone/Makefile (testdata): Move definition above include of
4101 Rules.
4102 (test-zones): New variable.
4103 (tests-special): Add zone files.
4104 (build-testdata): Use $(evaluate-test).
4105
0b20a9e8
JM
4106 * elf/Makefile (tests-special): Rename tests to end with .out.
4107 ($(objpfx)noload-mem): Likewise.
4108 ($(objpfx)tst-leaks1-mem): Likewise.
4109 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4110 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4111 $(objpfx)test-iconvconfig.out.
4112 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4113 set -e inside subshell and redirect output to file.
4114 * iconvdata/Makefile (generated): Rename tests to end with .out.
4115 Correct type.
4116 (tests-special): Rename tests to end with .out.
4117 ($(objpfx)mtrace-tst-loading): Likewise.
4118 * intl/Makefile (generated): Likewise.
4119 (tests-special): Likewise.
4120 ($(objpfx)mtrace-tst-gettext): Likewise.
4121 * misc/Makefile (generated): Likewise.
4122 (tests-special): Likewise.
4123 ($(objpfx)tst-error1-mem): Likewise.
4124 * nptl/Makefile (tests-special): Likewise.
4125 ($(objpfx)tst-stack3-mem): Likewise.
4126 (generated): Likewise.
4127 * posix/Makefile (generated): Likewise.
4128 (tests-special): Likewise.
4129 (xtests-special): Likewise.
4130 ($(objpfx)tst-fnmatch-mem): Likewise.
4131 ($(objpfx)bug-regex2-mem): Likewise.
4132 ($(objpfx)bug-regex14-mem): Likewise.
4133 ($(objpfx)bug-regex21-mem): Likewise.
4134 ($(objpfx)bug-regex31-mem): Likewise.
4135 ($(objpfx)tst-vfork3-mem): Likewise.
4136 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4137 ($(objpfx)tst-pcre-mem): Likewise.
4138 ($(objpfx)tst-boost-mem): Likewise.
4139 ($(objpfx)bug-ga2-mem): Likewise.
4140 ($(objpfx)bug-glob2-mem): Likewise.
4141 * resolv/Makefile (generate): Likewise.
4142 (tests-special): Likewise.
4143 (xtests-special): Likewise.
4144 (generated): Likewise.
4145 ($(objpfx)mtrace-tst-leaks): Likewise.
4146 ($(objpfx)mtrace-tst-leaks2): Likewise.
4147
265d52ab
JM
4148 * scripts/merge-test-results.sh: New file.
4149 * Makefile (tests-special-notdir): New variable.
4150 (tests): Run merge-test-results.sh.
4151 (xtests): Likewise.
4152 * Rules (tests-special-notdir): New variable.
4153 (xtests-special-notdir): Likewise.
4154 (tests): Run merge-test-results.sh
4155 (xtests): Likewise.
4156
54ee292d
JM
4157 * Makeconfig (test-xfail-name): New variable.
4158 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4159 compute variable name for expected failures.
4160 * conform/Makefile (conformtest-headers-data): New variable.
4161 (conformtest-standards): Likewise.
4162 (conformtest-headers-ISO): Likewise.
4163 (conformtest-headers-ISO99): Likewise.
4164 (conformtest-headers-ISO11): Likewise.
4165 (conformtest-headers-POSIX): Likewise.
4166 (conformtest-headers-XPG3): Likewise.
4167 (conformtest-headers-XPG4): Likewise.
4168 (conformtest-headers-UNIX98): Likewise.
4169 (conformtest-headers-XOPEN2K): Likewise.
4170 (conformtest-headers-POSIX2008): Likewise.
4171 (conformtest-headers-XOPEN2K8): Likewise.
4172 (conformtest-header-list-base): Likewise.
4173 (conformtest-header-list-tests): Likewise.
4174 (conformtest-header-base): Likewise.
4175 (conformtest-header-tests): Likewise.
4176 (tests-special): Add $(conformtest-header-list-tests). If
4177 [$(fast-check) && !$(cross-compiling)], add
4178 $(conformtest-header-tests) instead of
4179 $(objpfx)run-conformtest.out.
4180 (generated): Add $(conformtest-header-list-base). If
4181 [$(fast-check) && !$(cross-compiling)], add
4182 $(conformtest-header-base). Remove previous setting.
4183 ($(conformtest-header-list-tests)): New target.
4184 (test-xfail-run-conformtest): Remove variable.
4185 ($(objpfx)run-conformtest.out): Remove target.
4186 (test-xfail-ISO11/complex.h/conform): New variable.
4187 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4188 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4189 (test-xfail-XPG3/varargs.h/conform): Likewise.
4190 (test-xfail-XPG4/varargs.h/conform): Likewise.
4191 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4192 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4193 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4194 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4195 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4196 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4197 (test-xfail-XPG3/ftw.h/conform): Likewise.
4198 (test-xfail-XPG3/grp.h/conform): Likewise.
4199 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4200 (test-xfail-XPG3/limits.h/conform): Likewise.
4201 (test-xfail-XPG3/pwd.h/conform): Likewise.
4202 (test-xfail-XPG3/search.h/conform): Likewise.
4203 (test-xfail-XPG3/signal.h/conform): Likewise.
4204 (test-xfail-XPG3/stdio.h/conform): Likewise.
4205 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4206 (test-xfail-XPG3/string.h/conform): Likewise.
4207 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4208 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4209 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4210 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4211 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4212 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4213 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4214 (test-xfail-XPG3/termios.h/conform): Likewise.
4215 (test-xfail-XPG3/time.h/conform): Likewise.
4216 (test-xfail-XPG3/unistd.h/conform): Likewise.
4217 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4218 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4219 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4220 (test-xfail-XPG4/netdb.h/conform): Likewise.
4221 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4222 (test-xfail-XPG4/signal.h/conform): Likewise.
4223 (test-xfail-XPG4/stdio.h/conform): Likewise.
4224 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4225 (test-xfail-XPG4/stropts.h/conform): Likewise.
4226 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4227 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4228 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4229 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4230 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4231 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4232 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4233 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4234 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4235 (test-xfail-XPG4/termios.h/conform): Likewise.
4236 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4237 (test-xfail-XPG4/unistd.h/conform): Likewise.
4238 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4239 (test-xfail-POSIX/sched.h/conform): Likewise.
4240 (test-xfail-POSIX/signal.h/conform): Likewise.
4241 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4242 (test-xfail-POSIX/tar.h/conform): Likewise.
4243 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4244 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4245 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4246 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4247 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4248 (test-xfail-UNIX98/sched.h/conform): Likewise.
4249 (test-xfail-UNIX98/signal.h/conform): Likewise.
4250 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4251 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4252 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4253 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4254 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4255 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4256 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4257 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4258 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4259 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4260 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4261 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4262 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4263 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4264 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4265 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4266 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4267 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4268 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4269 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4270 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4271 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4272 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4273 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4274 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4275 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4276 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4277 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4278 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4279 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4280 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4281 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4282 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4283 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4284 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4285 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4286 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4287 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4288 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4289 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4290 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4291 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4292 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4293 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4294 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4295 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4296 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4297 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4298 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4299 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4300 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4301 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4302 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4303 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4304 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4305 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4306 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4307 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4308 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4309 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4310 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4311 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4312 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4313 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4314 (conformtest-cc-flags): Likewise.
4315 ($(conformtest-header-tests): New target.
4316 * conform/check-header-lists.sh: New file.
4317 * conform/run-conformtest.sh: Remove.
4318
a00f522a
JM
4319 * conform/conformtest.pl: Allow ' and \ in values given for
4320 constants.
4321 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4322 inclusion.
4323 [POSIX] (sys/types.h): Likewise.
4324 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4325 inclusion.
4326 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4327 inclusion.
4328 * conform/data/signal.h-data (SIGIO): Remove expectation.
4329 [XPG3] (SIGBUS): Do not expect.
4330 [POSIX || XPG3] (SIGPOLL): Likewise.
4331 [POSIX || XPG3] (SIGPROF): Likewise.
4332 [POSIX || XPG3] (SIGSYS): Likewise.
4333 [XPG3] (SIGTRAP): Likewise.
4334 [POSIX || XPG3] (SIGURG): Likewise.
4335 [POSIX || XPG3] (SIGVTALRM): Likewise.
4336 [POSIX || XPG3] (SIGXCPU): Likewise.
4337 [POSIX || XPG3] (SIGXFSZ): Likewise.
4338 [POSIX] (SA_SIGINFO): Expect.
4339 [XPG3] (siginfo_t): Do not expect type or contents.
4340 [POSIX] (si_pid): Do not expect element.
4341 [POSIX] (si_uid): Likewise.
4342 [POSIX] (si_addr): Likewise.
4343 [POSIX] (si_status): Likewise.
4344 [POSIX] (si_band): Likewise.
4345 [XPG4] (si_value): Likewise.
4346 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4347 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4348 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4349 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4350 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4351 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4352 [POSIX || XPG3] (ILL_COPROC): Likewise.
4353 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4354 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4355 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4356 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4357 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4358 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4359 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4360 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4361 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4362 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4363 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4364 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4365 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4366 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4367 [POSIX || XPG3] (CLD_EXITED): Likewise.
4368 [POSIX || XPG3] (CLD_KILLED): Likewise.
4369 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4370 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4371 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4372 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4373 [POSIX || XPG3] (POLL_IN): Likewise.
4374 [POSIX || XPG3] (POLL_OUT): Likewise.
4375 [POSIX || XPG3] (POLL_MSG): Likewise.
4376 [POSIX || XPG3] (POLL_ERR): Likewise.
4377 [POSIX || XPG3] (POLL_PRI): Likewise.
4378 [POSIX || XPG3] (POLL_HUP): Likewise.
4379 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4380 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4381 (SIG*): Do not allow.
4382 [XPG3] (si_*): Likewise.
4383 [XPG3] (SI_*): Likewise.
4384 [XPG3 || XPG4] (sigev_*): Likewise.
4385 [XPG3 || XPG4] (SIGEV_*): Likewise.
4386 [XPG3 || XPG4] (sival_*): Likewise.
4387 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4388 [POSIX || XPG3] (BUS_*): Likewise.
4389 [POSIX || XPG3] (CLD_*): Likewise.
4390 [POSIX || XPG3] (FPE_*): Likewise.
4391 [POSIX || XPG3] (ILL_*): Likewise.
4392 [POSIX || XPG3] (POLL_*): Likewise.
4393 [POSIX || XPG3] (SEGV_*): Likewise.
4394 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4395 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4396 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4397 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4398 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4399 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4400 Specify type and value.
4401 (TVERSLEN): Likewise.
4402 (REGTYPE): Likewise.
4403 (AREGTYPE): Likewise.
4404 (LNKTYPE): Likewise.
4405 (SYMTYPE): Likewise.
4406 (CHRTYPE): Likewise.
4407 (BLKTYPE): Likewise.
4408 (DIRTYPE): Likewise.
4409 (FIFOTYPE): Likewise.
4410 (CONTTYPE): Likewise.
4411 (TSUID): Likewise.
4412 (TSGID): Likewise.
4413 (TSVTX): Likewise.
4414 (TUREAD): Likewise.
4415 (TUWRITE): Likewise.
4416 (TUEXEC): Likewise.
4417 (TGREAD): Likewise.
4418 (TGWRITE): Likewise.
4419 (TGEXEC): Likewise.
4420 (TOREAD): Likewise.
4421 (TOWRITE): Likewise.
4422 (TOEXEC): Likewise.
4423 [POSIX] (TSVTX): Expect constant.
4424
aa97dee1
JM
44252014-03-06 Joseph Myers <joseph@codesourcery.com>
4426
f214606a
JM
4427 * Makefile (tests): Change dependencies to ....
4428 (tests-special): ... additions to this variable.
4429 (tests): Depend on $(tests-special).
4430 * Makerules (check-abi-list): New variable.
4431 (check-abi): Depend on $(check-abi-list).
4432 [$(subdir) = elf] (tests-special): Add
4433 $(objpfx)check-abi-libc.out.
4434 [$(build-shared) = yes && subdir] (tests-special): Add
4435 $(check-abi-list).
4436 [$(build-shared) = yes && subdir] (tests): Do not depend on
4437 check-abi.
4438 * Rules (tests): Depend on $(tests-special).
4439 (xtests): Depend on $(xtests-special).
4440 * catgets/Makefile (tests): Change dependencies to ....
4441 (tests-special): ... additions to this variable.
4442 * conform/Makefile (tests): Change dependencies to ....
4443 (tests-special): ... additions to this variable.
4444 * elf/Makefile (tests): Change dependencies to ....
4445 (tests-special): ... additions to this variable.
4446 * grp/Makefile (tests): Change dependencies to ....
4447 (tests-special): ... additions to this variable.
4448 * iconv/Makefile (xtests): Change dependencies to ....
4449 (xtests-special): ... additions to this variable.
4450 * iconvdata/Makefile (tests): Change dependencies to ....
4451 (tests-special): ... additions to this variable.
4452 * intl/Makefile (tests): Change dependencies to ....
4453 (tests-special): ... additions to this variable. Also add
4454 $(objpfx)tst-gettext.out.
4455 * io/Makefile (tests): Change dependencies to ....
4456 (tests-special): ... additions to this variable.
4457 * libio/Makefile (tests): Change dependencies to ....
4458 (tests-special): ... additions to this variable.
4459 * malloc/Makefile (tests): Change dependencies to ....
4460 (tests-special): ... additions to this variable.
4461 * misc/Makefile (tests): Change dependencies to ....
4462 (tests-special): ... additions to this variable.
4463 * nptl/Makefile (tests): Change dependencies to ....
4464 (tests-special): ... additions to this variable.
4465 * nptl_db/Makefile (tests): Change dependencies to ....
4466 (tests-special): ... additions to this variable.
4467 * posix/Makefile (tests): Change dependencies to ....
4468 (tests-special): ... additions to this variable.
4469 (xtests): Change dependencies to ....
4470 (xtests-special): ... additions to this variable.
4471 * resolv/Makefile (tests): Change dependencies to ....
4472 (tests-special): ... additions to this variable.
4473 (xtests): Change dependencies to ....
4474 (xtests-special): ... additions to this variable.
4475 * stdio-common/Makefile (tests): Change dependencies to ....
4476 (tests-special): ... additions to this variable.
4477 (do-tst-unbputc): Remove target.
4478 (do-tst-printf): Likewise.
4479 * stdlib/Makefile (tests): Change dependencies to ....
4480 (tests-special): ... additions to this variable.
4481 * string/Makefile (tests): Change dependencies to ....
4482 (tests-special): ... additions to this variable.
4483 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4484 (tests-special): ... additions to this variable.
4485
81700b53
JM
4486 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4487 whole file.
4488 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4489 whole file.
4490 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4491 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4492
2ea18461
JM
4493 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4494 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4495 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4496 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4497 * conform/data/libgen.h-data [XPG3]: Likewise.
4498 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4499 * conform/data/ndbm.h-data [XPG3]: Likewise.
4500 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4501 * conform/data/netdb.h-data [XPG3]: Likewise.
4502 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4503 * conform/data/poll.h-data [XPG3]: Likewise.
4504 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4505 * conform/data/strings.h-data [XPG3]: Likewise.
4506 * conform/data/stropts.h-data [XPG3]: Likewise.
4507 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4508 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4509 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4510 Likewise.
4511 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4512 * conform/data/sys/time.h-data [XPG3]: Likewise.
4513 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4514 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4515 * conform/data/sys/un.h-data [XPG3]: Likewise.
4516 * conform/data/syslog.h-data [XPG3]: Likewise.
4517 * conform/data/ucontext.h-data [XPG3]: Likewise.
4518 * conform/data/utmpx.h-data [XPG3]: Likewise.
4519 * conform/data/varargs.h-data [UNIX98]: Enable file.
4520
355bc986
JM
4521 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4522
215db402
JM
4523 * math/libm-test.inc (struct test_f_f_data): Move expected results
4524 into structure for each rounding mode.
4525 (struct test_ff_f_data): Likewise.
4526 (struct test_ff_f_data_nexttoward): Likewise.
4527 (struct test_fi_f_data): Likewise.
4528 (struct test_fl_f_data): Likewise.
4529 (struct test_if_f_data): Likewise.
4530 (struct test_fff_f_data): Likewise.
4531 (struct test_c_f_data): Likewise.
4532 (struct test_f_f1_data): Likewise.
4533 (struct test_fF_f1_data): Likewise.
4534 (struct test_ffI_f1_data): Likewise.
4535 (struct test_c_c_data): Likewise.
4536 (struct test_cc_c_data): Likewise.
4537 (struct test_f_i_data): Likewise.
4538 (struct test_ff_i_data): Likewise.
4539 (struct test_f_l_data): Likewise.
4540 (struct test_f_L_data): Likewise.
4541 (struct test_fFF_11_data): Likewise.
4542 (RM_): New macro.
4543 (RM_FE_DOWNWARD): Likewise.
4544 (RM_FE_TONEAREST): Likewise.
4545 (RM_FE_TOWARDZERO): Likewise.
4546 (RM_FE_UPWARD): Likewise.
4547 (RUN_TEST_LOOP_f_f): Update references to expected results.
4548 (RUN_TEST_LOOP_2_f): Likewise.
4549 (RUN_TEST_LOOP_fff_f): Likewise.
4550 (RUN_TEST_LOOP_c_f): Likewise.
4551 (RUN_TEST_LOOP_f_f1): Likewise.
4552 (RUN_TEST_LOOP_fF_f1): Likewise.
4553 (RUN_TEST_LOOP_fI_f1): Likewise.
4554 (RUN_TEST_LOOP_ffI_f1): Likewise.
4555 (RUN_TEST_LOOP_c_c): Likewise.
4556 (RUN_TEST_LOOP_cc_c): Likewise.
4557 (RUN_TEST_LOOP_f_i): Likewise.
4558 (RUN_TEST_LOOP_f_i_tg): Likewise.
4559 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4560 (RUN_TEST_LOOP_f_b): Likewise.
4561 (RUN_TEST_LOOP_f_b_tg): Likewise.
4562 (RUN_TEST_LOOP_f_l): Likewise.
4563 (RUN_TEST_LOOP_f_L): Likewise.
4564 (RUN_TEST_LOOP_fFF_11): Likewise.
4565 * math/gen-libm-test.pl (parse_args): Output four copies of
4566 expected results for each test.
4567
67737b8f
JM
4568 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4569 (__ASSUME_UTIMES): Remove.
4570 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4571 (__ASSUME_UTIMES): Likewise.
4572
aa97dee1
JM
4573 * math/gen-auto-libm-tests.c: Update comment on output format.
4574 (output_for_one_input_case): Generate before-rounding and
4575 after-rounding information as conditions on output flags not
4576 floating-point format.
4577 * math/auto-libm-test-out: Regenerated.
4578 * math/gen-libm-test.pl (cond_value): New function.
4579 (or_cond_value): Use cond_value.
4580 (generate_testfile): Handle conditional exceptions.
4581
e6b6a857
JM
45822014-03-05 Joseph Myers <joseph@codesourcery.com>
4583
2f0a0f44
JM
4584 * math/libm-test.inc (max_valid_error): New variable.
4585 (init_max_error): Take new argument specifying whether function
4586 results are exactly determined. Set max_valid_error and bound
4587 other variables for errors based on this argument.
4588 (set_max_error): Do not record results above max_valid_error.
4589 (check_float_internal): Only accept errors of up to 0.5ulps if
4590 also at most max_valid_error.
4591 (START): Take new argument EXACT and pass it to init_max_error.
4592 (acos_test): Update call to START.
4593 (acos_test_tonearest): Likewise.
4594 (acos_test_towardzero): Likewise.
4595 (acos_test_downward): Likewise.
4596 (acos_test_upward): Likewise.
4597 (acosh_test): Likewise.
4598 (asin_test): Likewise.
4599 (asin_test_tonearest): Likewise.
4600 (asin_test_towardzero): Likewise.
4601 (asin_test_downward): Likewise.
4602 (asin_test_upward): Likewise.
4603 (asinh_test): Likewise.
4604 (atan_test): Likewise.
4605 (atanh_test): Likewise.
4606 (atan2_test): Likewise.
4607 (cabs_test): Likewise.
4608 (cacos_test): Likewise.
4609 (cacosh_test): Likewise.
4610 (carg_test): Likewise.
4611 (casin_test): Likewise.
4612 (casinh_test): Likewise.
4613 (catan_test): Likewise.
4614 (catanh_test): Likewise.
4615 (cbrt_test): Likewise.
4616 (ccos_test): Likewise.
4617 (ccosh_test): Likewise.
4618 (ceil_test): Likewise.
4619 (cexp_test): Likewise.
4620 (cimag_test): Likewise.
4621 (clog_test): Likewise.
4622 (clog10_test): Likewise.
4623 (conj_test): Likewise.
4624 (copysign_test): Likewise.
4625 (cos_test): Likewise.
4626 (cos_test_tonearest): Likewise.
4627 (cos_test_towardzero): Likewise.
4628 (cos_test_downward): Likewise.
4629 (cos_test_upward): Likewise.
4630 (cosh_test): Likewise.
4631 (cosh_test_tonearest): Likewise.
4632 (cosh_test_towardzero): Likewise.
4633 (cosh_test_downward): Likewise.
4634 (cosh_test_upward): Likewise.
4635 (cpow_test): Likewise.
4636 (cproj_test): Likewise.
4637 (creal_test): Likewise.
4638 (csin_test): Likewise.
4639 (csinh_test): Likewise.
4640 (csqrt_test): Likewise.
4641 (ctan_test): Likewise.
4642 (ctan_test_tonearest): Likewise.
4643 (ctan_test_towardzero): Likewise.
4644 (ctan_test_downward): Likewise.
4645 (ctan_test_upward): Likewise.
4646 (ctanh_test): Likewise.
4647 (ctanh_test_tonearest): Likewise.
4648 (ctanh_test_towardzero): Likewise.
4649 (ctanh_test_downward): Likewise.
4650 (ctanh_test_upward): Likewise.
4651 (erf_test): Likewise.
4652 (erfc_test): Likewise.
4653 (exp_test): Likewise.
4654 (exp_test_tonearest): Likewise.
4655 (exp_test_towardzero): Likewise.
4656 (exp_test_downward): Likewise.
4657 (exp_test_upward): Likewise.
4658 (exp10_test): Likewise.
4659 (exp10_test_tonearest): Likewise.
4660 (exp10_test_towardzero): Likewise.
4661 (exp10_test_downward): Likewise.
4662 (exp10_test_upward): Likewise.
4663 (pow10_test): Likewise.
4664 (exp2_test): Likewise.
4665 (expm1_test): Likewise.
4666 (expm1_test_tonearest): Likewise.
4667 (expm1_test_towardzero): Likewise.
4668 (expm1_test_downward): Likewise.
4669 (expm1_test_upward): Likewise.
4670 (fabs_test): Likewise.
4671 (fdim_test): Likewise.
4672 (floor_test): Likewise.
4673 (fma_test): Likewise.
4674 (fma_test_towardzero): Likewise.
4675 (fma_test_downward): Likewise.
4676 (fma_test_upward): Likewise.
4677 (fmax_test): Likewise.
4678 (fmin_test): Likewise.
4679 (fmod_test): Likewise.
4680 (fpclassify_test): Likewise.
4681 (frexp_test): Likewise.
4682 (hypot_test): Likewise.
4683 (ilogb_test): Likewise.
4684 (isfinite_test): Likewise.
4685 (finite_test): Likewise.
4686 (isgreater_test): Likewise.
4687 (isgreaterequal_test): Likewise.
4688 (isinf_test): Likewise.
4689 (isless_test): Likewise.
4690 (islessequal_test): Likewise.
4691 (islessgreater_test): Likewise.
4692 (isnan_test): Likewise.
4693 (isnormal_test): Likewise.
4694 (issignaling_test): Likewise.
4695 (isunordered_test): Likewise.
4696 (j0_test): Likewise.
4697 (j1_test): Likewise.
4698 (jn_test): Likewise.
4699 (ldexp_test): Likewise.
4700 (lgamma_test): Likewise.
4701 (gamma_test): Likewise.
4702 (lrint_test): Likewise.
4703 (lrint_test_tonearest): Likewise.
4704 (lrint_test_towardzero): Likewise.
4705 (lrint_test_downward): Likewise.
4706 (lrint_test_upward): Likewise.
4707 (llrint_test): Likewise.
4708 (llrint_test_tonearest): Likewise.
4709 (llrint_test_towardzero): Likewise.
4710 (llrint_test_downward): Likewise.
4711 (llrint_test_upward): Likewise.
4712 (log_test): Likewise.
4713 (log10_test): Likewise.
4714 (log1p_test): Likewise.
4715 (log2_test): Likewise.
4716 (logb_test): Likewise.
4717 (logb_test_downward): Likewise.
4718 (lround_test): Likewise.
4719 (llround_test): Likewise.
4720 (modf_test): Likewise.
4721 (nearbyint_test): Likewise.
4722 (nextafter_test): Likewise.
4723 (nexttoward_test): Likewise.
4724 (pow_test): Likewise.
4725 (pow_test_tonearest): Likewise.
4726 (pow_test_towardzero): Likewise.
4727 (pow_test_downward): Likewise.
4728 (pow_test_upward): Likewise.
4729 (remainder_test): Likewise.
4730 (drem_test): Likewise.
4731 (remainder_test_tonearest): Likewise.
4732 (drem_test_tonearest): Likewise.
4733 (remainder_test_towardzero): Likewise.
4734 (drem_test_towardzero): Likewise.
4735 (remainder_test_downward): Likewise.
4736 (drem_test_downward): Likewise.
4737 (remainder_test_upward): Likewise.
4738 (drem_test_upward): Likewise.
4739 (remquo_test): Likewise.
4740 (rint_test): Likewise.
4741 (rint_test_tonearest): Likewise.
4742 (rint_test_towardzero): Likewise.
4743 (rint_test_downward): Likewise.
4744 (rint_test_upward): Likewise.
4745 (round_test): Likewise.
4746 (scalb_test): Likewise.
4747 (scalbn_test): Likewise.
4748 (scalbln_test): Likewise.
4749 (signbit_test): Likewise.
4750 (sin_test): Likewise.
4751 (sin_test_tonearest): Likewise.
4752 (sin_test_towardzero): Likewise.
4753 (sin_test_downward): Likewise.
4754 (sin_test_upward): Likewise.
4755 (sincos_test): Likewise.
4756 (sinh_test): Likewise.
4757 (sinh_test_tonearest): Likewise.
4758 (sinh_test_towardzero): Likewise.
4759 (sinh_test_downward): Likewise.
4760 (sinh_test_upward): Likewise.
4761 (sqrt_test): Likewise.
4762 (sqrt_test_tonearest): Likewise.
4763 (sqrt_test_towardzero): Likewise.
4764 (sqrt_test_downward): Likewise.
4765 (sqrt_test_upward): Likewise.
4766 (tan_test): Likewise.
4767 (tan_test_tonearest): Likewise.
4768 (tan_test_towardzero): Likewise.
4769 (tan_test_downward): Likewise.
4770 (tan_test_upward): Likewise.
4771 (tanh_test): Likewise.
4772 (tgamma_test): Likewise.
4773 (trunc_test): Likewise.
4774 (y0_test): Likewise.
4775 (y1_test): Likewise.
4776 (yn_test): Likewise.
4777 (significand_test): Likewise.
4778
e6b6a857
JM
4779 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4780 individual tests in comment.
4781 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4782 (prev_max_error): New variable.
4783 (prev_real_max_error): Likewise.
4784 (prev_imag_max_error): Likewise.
4785 (compare_ulp_data): Don't refer to test names in comment.
4786 (find_test_ulps): Remove function.
4787 (find_function_ulps): Likewise.
4788 (find_complex_function_ulps): Likewise.
4789 (init_max_error): Take function name as argument. Look up ulps
4790 for that function.
4791 (print_ulps): Remove function.
4792 (print_max_error): Use prev_max_error instead of calling
4793 find_function_ulps.
4794 (print_complex_max_error): Use prev_real_max_error and
4795 prev_imag_max_error instead of calling find_complex_function_ulps.
4796 (check_float_internal): Take max_ulp parameter instead of calling
4797 find_test_ulps. Don't call print_ulps.
4798 (check_float): Update call to check_float_internal.
4799 (check_complex): Update calls to check_float_internal.
4800 (START): Pass argument to init_max_error.
4801 * math/gen-libm-test.pl (%results): Don't include "kind"
4802 information.
4803 (parse_ulps): Don't handle ulps of individual tests.
4804 (print_ulps_file): Likewise.
4805 (output_ulps): Likewise.
4806 * math/README.libm-test: Update.
4807 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4808 individual tests.
4809 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4810 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4811 * sysdeps/arm/libm-test-ulps: Likewise.
4812 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4813 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4814 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4815 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4816 * sysdeps/microblaze/libm-test-ulps: Likewise.
4817 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4818 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4819 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4820 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4821 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4822 * sysdeps/sh/libm-test-ulps: Likewise.
4823 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4824 * sysdeps/tile/libm-test-ulps: Likewise.
4825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4826
45adef3c
JM
48272014-03-04 Joseph Myers <joseph@codesourcery.com>
4828
4829 * math/libm-test.inc (print_complex_max_error): Check separately
4830 whether real and imaginary errors are within allowed range and
4831 pass 0 to print_complex_function_ulps instead of value within
4832 allowed range.
4833
000232b9
SP
48342014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4835
d4b17258
SP
4836 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4837 formatting.
4838 (get_handles_fopen): Likewise.
4839 (do_write_test): Likewise.
4840
091eff71
SP
4841 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4842
fa3cd248
SP
4843 * libio/fileops.c (do_ftell): Use cached offset when
4844 available.
4845 * libio/iofwide.c (do_ftell_wide): Likewise.
4846 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4847 _IO_file_attach.
4848 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4849
000232b9
SP
4850 [BZ #16532]
4851 * libio/libioP.h (get_file_offset): New function.
4852 * libio/fileops.c (get_file_offset): Likewise.
4853 (do_ftell): Likewise.
4854 (_IO_new_file_seekoff): Split out ftell logic.
4855 * libio/wfileops.c (do_ftell_wide): Likewise.
4856 (_IO_wfile_seekoff): Split out ftell logic.
4857 * libio/tst-ftell-active-handler.c: New test case.
4858 * libio/Makefile (tests): Add it.
4859
116f4d1a
RM
48602014-03-03 Roland McGrath <roland@hack.frob.com>
4861
4862 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4863 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4864
532a6035
SP
48652014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4866
4867 [BZ #16639]
4868 * nscd/connections.c (nscd_init): Call do_exit.
4869 (start_threads): Call do_exit and notify_parent.
4870 (begin_drop_privileges): Call do_exit.
4871 (finish_drop_privileges): Likewise.
4872 * nscd/selinux.c (preserve_capabilities): Likewise.
4873 (install_real_capabilities): Likewise.
4874 (nscd_selinux_enabled): Likewise.
4875 (avc_create_thread): Likewise.
4876 (avc_alloc_lock): Likewise.
4877 (nscd_avc_init): Likewise.
4878 * nscd/nscd.c (parent_fd): New static variable.
4879 (main): Create a pipe between parent and child processes.
4880 Skip closing parent_fd.
4881 (monitor_child): New function.
4882 (do_exit): Likewise.
4883 (notify_parent): Likewise.
4884 * nscd/nscd.h (notify_parent): Likewise.
4885 (do_exit): Likewise.
4886
d6285c9f
CD
48872014-03-03 Carlos O'Donell <carlos@redhat.com>
4888
4889 * malloc/malloc.c (__libc_calloc): Revert last change.
4890
2b85d2a0
AZ
48912014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4892
4893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4894
c7debbdf
RS
48952014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4896
4897 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4899 implementation.
4900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4901 (__libc_ifunc_impl_list): Likewise.
4902 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4903 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4904 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4905 * string/strrchr.c: Define STRRCHR.
4906
235eed86
OB
49072014-02-28 Ondřej Bílka <neleai@seznam.cz>
4908
4909 * benchtest/bench-strtok.c (simple_strtok): Delete.
4910 (strtok_string): Use as benchmark.
4911 * string/strtok (STRTOK): New macro.
4912
8e25d1e7
CD
49132014-02-28 Carlos O'Donell <carlos@redhat.com>
4914
ef563f92
CD
4915 * manual/threads.texi: Add header and standard comments to all
4916 functions.
4917
8e25d1e7
CD
4918 * elf/dl-lookup.c (check_match): New function.
4919 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4920 (do_lookup_x): Remove nested function check_match. Use non-nested
4921 function check_match.
4922
ff71cc37
RM
49232014-02-28 Roland McGrath <roland@hack.frob.com>
4924
f08e9a26
RM
4925 * csu/Makefile (generated, before-compile): Use += rather than =.
4926 * catgets/Makefile (generated, generated-dirs): Likewise.
4927 * debug/Makefile (generated): Likewise.
4928 * dlfcn/Makefile (generated): Likewise.
4929 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4930 * iconvdata/Makefile (before-compile, generated): Likewise.
4931 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4932 * libio/Makefile (generated): Likewise.
4933 * malloc/Makefile (generated): Likewise.
4934 * manual/Makefile (generated, generated-dirs): Likewise.
4935 * misc/Makefile (generated): Likewise.
4936 * posix/Makefile (generated): Likewise.
4937 * resolv/Makefile (generated): Likewise.
4938 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4939 * timezone/Makefile (generated, generated-dirs): Likewise.
4940
ff71cc37
RM
4941 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4942
fe13a20c
AZ
49432014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4944
57f41c40
AS
4945 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4946 power8 implementation.
4947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4948 file: POWER8 llround ifunc implementation.
4949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4950 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4951 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4952 POWER8 llround implementation.
4953
57f41c40
AS
4954 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4955 power8 implementation.
4956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4957 file: POWER8 llrint ifunc implementation.
4958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4959 Add POWER8 implementation.
1ad8950a
AZ
4960 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4961 POWER8 llrint implementation.
4962
57f41c40
AS
4963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4964 power8 implementation.
4965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4966 file: POWER8 finite ifunc implementation.
4967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4968 Add POWER8 implementation.
cac626d6
AZ
4969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4970 Likewise.
4971 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4972 POWER8 finite implementation.
4973 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4974
57f41c40
AS
4975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4976 power8 implementation.
4977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4978 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4980 POWER8 implementation.
4981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4982 Likewise.
57f41c40
AS
4983 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4984 isinf implementation.
4393fc11
AZ
4985 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4986
57f41c40
AS
4987 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4988 (INIT_ARCH): Add hwcap2 initialization.
4989 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4990 power8 implementation.
4991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4992 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4994 POWER8 implementation.
4995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4996 Likewise.
57f41c40
AS
4997 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4998 isnan implementation.
487972ae
AZ
4999 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5000
7d92b787
JY
50012014-02-27 Joey Ye <joey.ye@arm.com>
5002
5003 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5004 (_FP_NANFRAC_Q): Set to zero.
5005
1cadc858
SP
50062014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5007
5008 [BZ #16623]
5009 * math/auto-libm-test-in: New test inputs.
5010 * math/auto-libm-test-out: Regenerate.
5011 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5012 and DA.
5013 (__cos): Likewise.
5014 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5015
f8c17e79
JM
50162014-02-27 Joseph Myers <joseph@codesourcery.com>
5017
5018 * scripts/evaluate-test.sh: Take new argument indicating whether
5019 failure is expected.
5020 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5021 indicating whether failure is expected.
5022 * conform/Makefile (test-xfail-run-conformtest): New variable.
5023 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5024 level.
5025 * posix/Makefile (test-xfail-annexc): New variable.
5026 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5027
a5f891ac
JM
50282014-02-26 Joseph Myers <joseph@codesourcery.com>
5029
5030 * argp/Makefile: Include Makeconfig immediately after defining
5031 subdir.
5032 * assert/Makefile: Likewise.
5033 * benchtests/Makefile: Likewise.
5034 * catgets/Makefile: Likewise.
5035 * conform/Makefile: Likewise.
5036 * crypt/Makefile: Likewise.
5037 * csu/Makefile: Likewise.
5038 (all): Remove target.
5039 * ctype/Makefile: Include Makeconfig immediately after defining
5040 subdir.
5041 * debug/Makefile: Likewise.
5042 * dirent/Makefile: Likewise.
5043 * dlfcn/Makefile: Likewise.
5044 * gmon/Makefile: Likewise.
5045 * gnulib/Makefile: Likewise.
5046 * grp/Makefile: Likewise.
5047 * gshadow/Makefile: Likewise.
5048 * hesiod/Makefile: Likewise.
5049 * hurd/Makefile: Likewise.
5050 (all): Remove target.
5051 * iconvdata/Makefile: Include Makeconfig immediately after
5052 defining subdir.
5053 * inet/Makefile: Likewise.
5054 * intl/Makefile: Likewise.
5055 * io/Makefile: Likewise.
5056 * libio/Makefile: Likewise.
5057 (all): Remove target.
5058 * locale/Makefile: Include Makeconfig immediately after defining
5059 subdir.
5060 * login/Makefile: Likewise.
5061 * mach/Makefile: Likewise.
5062 (all): Remove target.
5063 * malloc/Makefile: Include Makeconfig immediately after defining
5064 subdir.
5065 (all): Remove target.
5066 * manual/Makefile: Include Makeconfig immediately after defining
5067 subdir.
5068 * math/Makefile: Likewise.
5069 * misc/Makefile: Likewise.
5070 * nis/Makefile: Likewise.
5071 * nss/Makefile: Likewise.
5072 * po/Makefile: Likewise.
5073 (all): Remove target.
5074 * posix/Makefile: Include Makeconfig immediately after defining
5075 subdir.
5076 * pwd/Makefile: Likewise.
5077 * resolv/Makefile: Likewise.
5078 * resource/Makefile: Likewise.
5079 * rt/Makefile: Likewise.
5080 * setjmp/Makefile: Likewise.
5081 * shadow/Makefile: Likewise.
5082 * signal/Makefile: Likewise.
5083 * socket/Makefile: Likewise.
5084 * soft-fp/Makefile: Likewise.
5085 * stdio-common/Makefile: Likewise.
5086 * stdlib/Makefile: Likewise.
5087 * streams/Makefile: Likewise.
5088 * string/Makefile: Likewise.
5089 * sunrpc/Makefile: Likewise.
5090 (all): Remove target.
5091 * sysvipc/Makefile: Include Makeconfig immediately after defining
5092 subdir.
5093 * termios/Makefile: Likewise.
5094 * time/Makefile: Likewise.
5095 * timezone/Makefile: Likewise.
5096 (all): Remove target.
5097 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5098 subdir.
5099 * wctype/Makefile: Likewise.
5100
5b456e9d
SE
51012014-02-26 Steve Ellcey <sellcey@mips.com>
5102
5103 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5104 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5105 (libc_feholdexcept_setround_mips): Ditto.
5106 (libc_feholdsetround): New.
5107 (libc_feholdsetroundf): New.
5108 (libc_feholdsetroundl): New.
5109 (libc_feupdateenv_test_mips): New.
5110 (libc_feupdateenv_test): New.
5111 (libc_feupdateenv_testf): New.
5112 (libc_feupdateenv_testl): New.
5113 (libc_feresetround): New.
5114 (libc_feresetroundf): New.
5115 (libc_feresetroundl): New.
5116 (libc_fetestexcept_mips): New.
5117 (libc_fetestexcept): New.
5118 (libc_fetestexceptf): New.
5119 (libc_fetestexceptl): New.
5120 (HAVE_RM_CTX): New.
5121 (libc_feholdexcept_setround_mips_ctx): New.
5122 (libc_feholdexcept_setround_ctx): New.
5123 (libc_feholdexcept_setroundf_ctx): New.
5124 (libc_feholdexcept_setroundl_ctx): New.
5125 (libc_fesetenv_mips_ctx): New.
5126 (libc_fesetenv_ctx): New.
5127 (libc_fesetenv_ctxf): New.
5128 (libc_fesetenv_ctxl): New.
5129 (libc_feupdateenv_mips_ctx): New.
5130 (libc_feupdateenv_ctx): New.
5131 (libc_feupdateenvf_ctx): New.
5132 (libc_feupdateenvl_ctx): New.
5133 (libc_feholdsetround_mips_ctx): New.
5134 (libc_feholdsetround_ctx): New.
5135 (libc_feholdsetroundf_ctx): New.
5136 (libc_feholdsetroundl_ctx): New.
5137 (libc_feresetround_mips_ctx): New.
5138 (libc_feresetround_ctx): New.
5139 (libc_feresetroundf_ctx): New.
5140 (libc_feresetroundl_ctx): New.
5141
085d0e35
CD
51422014-02-26 Carlos O'Donell <carlos@redhat.com>
5143
f067bf1f
CD
5144 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5145
085d0e35
CD
5146 * manual/ipc.texi: New file.
5147 * manual/Makefile (chapters): Add ipc.
5148 * manual/job.texi: Add "Inter-Process Communication" to next.
5149 * manual/process.texi: Add "Inter-Process Communication" to prev.
5150
86e58c08
AZ
51512014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5152
5153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5154
4248f0da
OB
51552014-02-26 Ondřej Bílka <neleai@seznam.cz>
5156
5157 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5158
cf822e3c
OB
5159 * manual/arith.texi: Fix spaces after sentences.
5160 * manual/charset.texi: Likewise.
5161 * manual/errno.texi: Likewise.
5162 * manual/install.texi: Likewise.
5163 * manual/llio.texi: Likewise.
5164 * manual/locale.texi: Likewise.
5165 * manual/maint.texi: Likewise.
5166 * manual/math.texi: Likewise.
5167 * manual/memory.texi: Likewise.
5168 * manual/message.texi: Likewise.
5169 * manual/probes.texi: Likewise.
5170 * manual/resource.texi: Likewise.
5171 * manual/signal.texi: Likewise.
5172 * manual/socket.texi: Likewise.
5173 * manual/stdio.texi: Likewise.
5174 * manual/string.texi: Likewise.
5175 * manual/time.texi: Likewise.
5176 * manual/users.texi: Likewise.
5177
ade40b10
CD
51782014-02-25 Carlos O'Donell <carlos@redhat.com>
5179
5180 [BZ #16632]
5181 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5182 _DEFAULT_SOURCE is defined.
5183
d0503676
CD
51842014-02-25 Ulrich Drepper <drepper@gmail.com>
5185 Carlos O'Donell <carlos@redhat.com>
5186
5187 [BZ #16613]
5188 * elf/dl-tls.c (_dl_count_modids): New function.
5189 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5190 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5191 audit library and increment generation counter.
5192 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5193 * elf/tst-audit9.c: New file.
5194 * elf/tst-auditmod9a.c: New file.
5195 * elf/tst-auditmod9b.c: New file.
5196 * elf/Makefile: Add rules to build and run tst-audit9.
5197
4cbf380c
FW
51982014-02-25 Florian Weimer <fweimer@redhat.com>
5199
5200 [BZ #15347]
5201 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5202
80a56cc3
WN
52032014-02-25 Will Newton <will.newton@linaro.org>
5204
5205 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5206 (__longjmp): Restore sp and lr before restoring callee
5207 saved registers. Add longjmp and longjmp_target
5208 SystemTap probe point.
5209 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5210 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5211 Define to zero to match jmpbuf layout.
5212 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5213 (__sigsetjmp): Save sp and lr before saving callee
5214 saved registers. Add setjmp SystemTap probe point.
5215
3ea0f74e
SL
52162014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5217
5218 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5219
b04acb26
AS
52202014-02-24 Andreas Schwab <schwab@suse.de>
5221
5222 [BZ #15804]
5223 * elf/pldd.c (wait_for_ptrace_stop): New function.
5224 (main): Call it after attaching.
5225
098ad55c
RM
52262014-02-22 Roland McGrath <roland@hack.frob.com>
5227
d4ec6ae1
RM
5228 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5229 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5230 Versions files is now verboten.
5231 * hurd/Versions (libc: GLIBC_2.0):
5232 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5233 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5234 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5235 * mach/Versions: Likewise.
5236
098ad55c
RM
5237 * csu/Versions: Remove unused %include.
5238 * resolv/Versions: Likewise.
5239
acd7f096
JM
52402014-02-21 Joseph Myers <joseph@codesourcery.com>
5241
f0881698
JM
5242 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5243 ($(objpfx)check-local-headers.out): Likewise.
5244 ($(objpfx)begin-end-check.out): Likewise.
5245 * Makerules (check-abi-%.out): Likewise.
5246 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5247 ($(objpfx)test2.cat): Likewise.
5248 ($(objpfx)de/libc.cat): Likewise.
5249 ($(objpfx)test-gencat.out): Likewise.
5250 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5251 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5252 ($(objpfx)noload-mem): Likewise.
5253 ($(objpfx)tst-pathopt.out): Likewise.
5254 ($(objpfx)tst-rtld-load-self.out): Likewise.
5255 ($(objpfx)tst-array1-cmp.out): Likewise.
5256 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5257 ($(objpfx)tst-array2-cmp.out): Likewise.
5258 ($(objpfx)tst-array3-cmp.out): Likewise.
5259 ($(objpfx)tst-array4-cmp.out): Likewise.
5260 ($(objpfx)tst-array5-cmp.out): Likewise.
5261 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5262 ($(objpfx)check-textrel.out): Likewise.
5263 ($(objpfx)check-execstack.out): Likewise.
5264 ($(objpfx)check-localplt.out): Likewise.
5265 ($(objpfx)order2-cmp.out): Likewise.
5266 ($(objpfx)tst-leaks1-mem): Likewise.
5267 ($(objpfx)tst-leaks1-static-mem): Likewise.
5268 ($(objpfx)tst-initorder-cmp.out): Likewise.
5269 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5270 ($(objpfx)tst-unused-dep.out): Likewise.
5271 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5272 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5273 * iconv/Makefile (test-iconvconfig): Likewise.
5274 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5275 ($(objpfx)iconv-test.out): Likewise.
5276 ($(objpfx)tst-tables.out): Likewise.
5277 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5278 ($(objpfx)tst-gettext.out): Likewise.
5279 ($(objpfx)tst-translit.out): Likewise.
5280 ($(objpfx)tst-gettext2.out): Likewise.
5281 ($(objpfx)tst-gettext4.out): Likewise.
5282 ($(objpfx)tst-gettext6.out): Likewise.
5283 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5284 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5285 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5286 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5287 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5288 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5289 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5290 ($(objpfx)wordexp-tst.out): Likewise.
5291 ($(objpfx)annexc.out): Likewise.
5292 ($(objpfx)tst-fnmatch-mem): Likewise.
5293 ($(objpfx)bug-regex2-mem): Likewise.
5294 ($(objpfx)bug-regex14-mem): Likewise.
5295 ($(objpfx)bug-regex21-mem): Likewise.
5296 ($(objpfx)bug-regex31-mem): Likewise.
5297 ($(objpfx)tst-vfork3-mem): Likewise.
5298 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5299 ($(objpfx)tst-pcre-mem): Likewise.
5300 ($(objpfx)tst-boost-mem): Likewise.
5301 ($(objpfx)tst-getconf.out): Likewise.
5302 ($(objpfx)bug-ga2-mem): Likewise.
5303 ($(objpfx)bug-glob2-mem): Likewise.
5304 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5305 ($(objpfx)mtrace-tst-leaks2): Likewise.
5306 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5307 ($(objpfx)tst-printf.out): Likewise.
5308 ($(objpfx)tst-setvbuf1.out): Likewise.
5309 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5310 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5311 ($(objpfx)tst-fmtmsg.out): Likewise.
5312 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5313 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5314
acd7f096
JM
5315 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5316 * bits/sigaction.h [__USE_MISC]: Likewise.
5317 * bits/waitstatus.h: Update #endif comments.
5318 * ctype/ctype.h: Likewise.
5319 * dirent/dirent.h: Likewise.
5320 [__USE_MISC]: Remove redundant conditionals.
5321 * grp/grp.h: Update #endif comments.
5322 [__USE_GNU]: Remove redundant conditionals.
5323 [__USE_MISC]: Likewise.
5324 * inet/netinet/in.h [__USE_GNU]: Likewise.
5325 * io/sys/stat.h [__USE_MISC]: Likewise.
5326 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5327 * libio/bits/stdio.h: Update #endif comments.
5328 [__USE_MISC]: Remove redundant conditionals.
5329 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5330 * libio/stdio.h: Update #endif comments.
5331 [__USE_MISC]: Remove redundant conditionals.
5332 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5333 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5334 * math/math.h: Update #else and #endif comments.
5335 [__USE_MISC]: Remove redundant conditionals.
5336 * misc/sys/uio.h: Update #endif comments.
5337 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5338 * posix/glob.h [__USE_MISC]: Likewise.
5339 * posix/sys/types.h: Update #endif comments.
5340 [__USE_MISC]: Remove redundant conditionals.
5341 * posix/sys/wait.h: Update #endif comments.
5342 [__USE_MISC]: Remove redundant conditionals.
5343 * posix/unistd.h: Update #endif comments.
5344 [__USE_MISC]: Remove redundant conditionals.
5345 * pwd/pwd.h [__USE_GNU]: Likewise.
5346 [__USE_MISC]: Likewise.
5347 * resolv/netdb.h [__USE_GNU]: Likewise.
5348 * signal/signal.h: Update #endif comments.
5349 [__USE_MISC]: Remove redundant conditionals.
5350 * stdlib/stdlib.h: Update #else and #endif comments.
5351 [__USE_MISC]: Remove redundant conditionals.
5352 [__USE_GNU]: Likewise.
5353 * string/bits/string2.h [__USE_MISC]: Likewise.
5354 * string/string.h: Update #endif comments.
5355 [__USE_MISC]: Remove redundant conditionals.
5356 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5357 Likewise.
5358 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5359 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5360 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5361 Likewise.
5362 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5363 Likewise.
5364 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5365 comments.
5366 [__USE_MISC]: Remove redundant conditionals.
5367 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5368 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5369 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5370 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5371 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5372 Likewise.
5373 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5374 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5375 Likewise.
5376 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5377 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5378 Likewise.
5379 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5380 Likewise.
5381 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5382 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5383 Likewise.
5384 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5385 Likewise.
5386 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5387 * sysdeps/x86/bits/string.h: Update #endif comments.
5388 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5389 conditionals.
5390 * time/sys/time.h: Update #endif comments.
5391 * time/time.h: Likewise.
5392 [__USE_MISC]: Remove redundant conditionals.
5393
a5d82e4e
YG
53942014-02-21 Yury Gribov <y.gribov@samsung.com>
5395
5396 [BZ #16600]
5397 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5398
9a80491d
AS
53992014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5400
5401 * Versions.def (librt): Add GLIBC_2.17.
5402
105fa381
AC
54032014-02-21 Adam Conrad <adconrad@0c3.net>
5404
5405 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5406 synonym for _SYS_AUXV_H to allow direct inclusion.
5407 * sysdeps/sparc/bits/hwcap.h: Likewise.
5408 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5409 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5410 * sysdeps/sparc/sysdep.h: Likewise.
5411
b8cd1c4e
SP
54122014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5413
5414 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5415
bd939d23
RS
54162014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5417
5418 * benchtests/bench-strrchr.c: Print length instead of position.
5419
5d7b57ca
JM
54202014-02-20 Joseph Myers <joseph@codesourcery.com>
5421
bc688c10
JM
5422 [BZ #16611]
5423 * sysdeps/unix/sysv/linux/kernel-features.h
5424 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5425 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5426 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5427 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5428 Likewise.
5429 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5430 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5431 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5432 (__ASSUME_SENDMMSG): Define instead of using previous
5433 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5434 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5435 (__ASSUME_SENDMMSG_SYSCALL): Define.
5436 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5437 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5438 Likewise.
5439 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5440 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5441 Likewise.
5442 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5443 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5444 Likewise.
5445 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5446 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5447 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5448 [__ASSUME_SENDMMSG]: Change conditionals to
5449 [__ASSUME_SENDMMSG_SOCKETCALL].
5450 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5451 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5452 Define.
5453 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5454 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5455 Likewise.
5456 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5457 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5458 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5459 [!__ASSUME_SENDMMSG]: Change conditional to
5460 [!__ASSUME_SENDMMSG_SOCKETCALL].
5461 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5462 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5463 Define.
5464
0e31b18c
JM
5465 [BZ #16610]
5466 * sysdeps/unix/sysv/linux/kernel-features.h
5467 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5468 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5469 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5470 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5471 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5472 [__i386__ || __sparc__]
5473 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5474 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5475 (__ASSUME_RECVMMSG): Define instead of using previous
5476 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5477 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5478 (__ASSUME_RECVMMSG_SYSCALL): Define.
5479 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5480 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5481 Likewise.
5482 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5483 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5484 Likewise.
5485 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5486 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5487 Likewise.
5488 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5489 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5490 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5491 [__ASSUME_RECVMMSG]: Change condition to
5492 [__ASSUME_RECVMMSG_SOCKETCALL].
5493 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5494 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5495 Define.
5496 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5497 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5498 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5499 Likewise.
5500 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5501 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5502 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5503 [!__ASSUME_RECVMMSG]: Change condition to
5504 [!__ASSUME_RECVMMSG_SOCKETCALL].
5505 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5506 (__ASSUME_RECVMMSG_SYSCALL): Define.
5507
dd481ccf
JM
5508 [BZ #16609]
5509 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5510 __powerpc__ || __s390__ || __sh__ || __sparc__]
5511 (__ASSUME_SOCKETCALL): Define.
5512 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5513 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5514 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5515 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5516 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5517 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5518 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5519 (__ASSUME_ACCEPT4): Define instead of using previous
5520 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5521 __powerpc__ || __sparc__ || __s390__)] condition.
5522 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5523 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5524 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5525 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5526 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5527 [!__ASSUME_ACCEPT4]: Change condition to
5528 [!__ASSUME_ACCEPT4_SOCKETCALL].
5529 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5530 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5531 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5532 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5533 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5534 __ASSUME_ACCEPT4_SYSCALL.
5535 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5536 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5537 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5538 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5539 __ASSUME_ACCEPT4_SYSCALL.
5540 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5541 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5542 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5543 [__ASSUME_ACCEPT4]: Change condition to
5544 [__ASSUME_ACCEPT4_SOCKETCALL].
5545 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5546 (__ASSUME_SOCKETCALL): Define.
5547 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5548 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5549 (__ASSUME_SOCKETCALL): Define.
5550 (__ASSUME_ACCEPT4): Remove.
5551 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5552 Define.
5553 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5554 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5555 Likewise.
5556 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5557 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5558
5d7b57ca
JM
5559 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5560 macro.
5561 (HWCAP_ARM_LPAE): Likewise.
5562 (HWCAP_ARM_EVTSTRM): Likewise.
5563 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5564 Add vpfd32, lpae and evtstrm.
5565 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5566 Increase to 22.
5567
63689d61
JM
55682014-02-19 Joseph Myers <joseph@codesourcery.com>
5569
5570 * math/auto-libm-test-in: Add tests of clog10.
5571 * math/auto-libm-test-out: Regenerated.
5572 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5573 * sysdeps/i386/fpu/libm-test-ulps: Update.
5574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5575
ab09bf61
AS
55762014-02-18 Andreas Schwab <schwab@suse.de>
5577
5578 [BZ #16574]
5579 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5580 Store non-zero if the second buffer was newly allocated.
5581 (send_dg): Likewise.
5582 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5583 to send_vc and send_dg.
5584 (res_nsend): Pass NULL for ansp2_malloced.
5585 * resolv/res_query.c (__libc_res_nquery): Add parameter
5586 answerp2_malloced and pass it down to __libc_res_nsend.
5587 (res_nquery): Pass additional NULL to __libc_res_nquery.
5588 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5589 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5590 second answer buffer if answerp2_malloced was set.
5591 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5592 (__libc_res_nquerydomain): Add parameter
5593 answerp2_malloced and pass it down to __libc_res_nquery.
5594 (res_nquerydomain): Pass additional NULL to
5595 __libc_res_nquerydomain.
5596 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5597 additional NULL to __libc_res_nsend and __libc_res_nquery.
5598 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5599 additional NULL to __libc_res_nsearch.
5600 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5601 parameter of __libc_res_nsearch to check for separately allocated
5602 second buffer.
5603 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5604 __libc_res_nquery.
5605 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5606 additional NULL to __libc_res_nquery.
5607 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5608 __libc_res_nsearch.
5609 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5610 * include/resolv.h: Update prototypes of __libc_res_nquery,
5611 __libc_res_nsearch, __libc_res_nsend.
5612
a4fb7861
JM
56132014-02-18 Joseph Myers <joseph@codesourcery.com>
5614
c6af2d89
JM
5615 * math/auto-libm-test-in: Add tests of fma.
5616 * math/auto-libm-test-out: Regenerated.
5617 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5618 (fma_towardzero_test_data): Likewise.
5619 (fma_downward_test_data): Likewise.
5620 (fma_upward_test_data): Likewise.
5621 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5622 mpc_mode.
5623 (rounding_modes): Add values for new field.
5624 (func_calc_method): Add value mpfr_fff_f.
5625 (func_calc_desc): Add mpfr_fff_f union field.
5626 (test_function): Add field exact_args.
5627 (FUNC): Add macro argument EXACT_ARGS.
5628 (FUNC_mpfr_f_f): Update call to FUNC.
5629 (FUNC_mpfr_f_f): Likewise.
5630 (FUNC_mpfr_ff_f): Likewise.
5631 (FUNC_mpfr_if_f): Likewise.
5632 (FUNC_mpc_c_f): Likewise.
5633 (FUNC_mpc_c_c): Likewise.
5634 (test_functions): Add fma. Update calls to FUNC.
5635 (handle_input_arg): Add argument exact_args.
5636 (add_test): Update call to handle_input_arg.
5637 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5638 (output_for_one_input_case): Update call to calc_generic_results.
5639 Recalculate exact zero results in each rounding mode.
5640
a4fb7861
JM
5641 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5642 non-negative before setting low bit.
5643 * math/auto-libm-test-in: Mark one asin test possibly having
5644 spurious underflow.
5645 * math/auto-libm-test-out: Regenerated.
5646 * sysdeps/i386/fpu/libm-test-ulps: Update.
5647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5648
ef114eaf
DH
56492014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5650
2b7f4f2c
SP
5651 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5652 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5653 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5654 * README: Add missing listing for microblaze*-*-linux-gnu.
5655
c70a4b1d
MF
56562014-02-16 Mike Frysinger <vapier@gentoo.org>
5657
5658 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5659 * sysdeps/unix/sysv/linux/ia64: Move directory from
5660 ports/sysdeps/unix/sysv/linux/ia64.
5661 * README: Update listing for ia64-*-linux-gnu.
5662
591aeaf7
TD
56632014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5664 Joseph Myers <joseph@codesourcery.com>
5665
5666 * Makeconfig (test-name): New variable.
5667 (evaluate-test): Likewise.
5668 * Makerules (do-test-clean): Remove .test-result files.
5669 (common-mostlyclean): Likewise.
5670 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5671 * scripts/evaluate-test.sh: New file.
5672
6e89caf1
JM
56732014-02-14 Joseph Myers <joseph@codesourcery.com>
5674
7f98f180
JM
5675 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5676 separate $(objpfx)tst-fopenloc-cmp.out and
5677 $(objpfx)tst-fopenloc-mem.out targets.
5678 (tests): Update dependencies.
5679 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5680 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5681 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5682 (tst-rxspencer-no-utf8-ARGS): New variable.
5683 (tst-rxspencer-no-utf8-ENV): Likewise.
5684 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5685 instead of $(objpfx)tst-rxspencer-mem.
5686 ($(objpfx)tst-rxspencer-mem): Change target to
5687 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5688 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5689 * posix/tst-rxspencer-no-utf8.c: New file.
5690
6e89caf1
JM
5691 * elf/Makefile ($(objpfx)order.out): Remove rule.
5692 [$(run-built-tests) = yes] (tests): Depend on
5693 $(objpfx)order-cmp.out.
5694 ($(objpfx)order-cmp.out): New rule.
5695 [$(run-built-tests) = yes] (tests): Depend on
5696 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5697 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5698 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5699 $(objpfx)tst-array5-static-cmp.out.
5700 ($(objpfx)tst-array1.out): Remove rule.
5701 ($(objpfx)tst-array1-cmp.out): New rule.
5702 ($(objpfx)tst-array1-static.out): Remove rule.
5703 ($(objpfx)tst-array1-static-cmp.out): New rule.
5704 ($(objpfx)tst-array2.out): Remove rule.
5705 ($(objpfx)tst-array2-cmp.out): New rule.
5706 ($(objpfx)tst-array3.out): Remove rule.
5707 ($(objpfx)tst-array3-cmp.out): New rule.
5708 ($(objpfx)tst-array4.out): Remove rule.
5709 ($(objpfx)tst-array4-cmp.out): New rule.
5710 ($(objpfx)tst-array5.out): Remove rule.
5711 ($(objpfx)tst-array5-cmp.out): New rule.
5712 ($(objpfx)tst-array5-static.out): Remove rule.
5713 ($(objpfx)tst-array5-static-cmp.out): New rule.
5714 [$(run-built-tests) = yes] (tests): Depend on
5715 $(objpfx)order2-cmp.out.
5716 ($(objpfx)order2.out): Remove rule.
5717 ($(objpfx)order2-cmp.out): New rule.
5718 ($(objpfx)tst-initorder.out): Remove rule.
5719 [$(run-built-tests) = yes] (tests): Depend on
5720 $(objpfx)tst-initorder-cmp.out.
5721 ($(objpfx)tst-initorder-cmp.out): New rule.
5722 ($(objpfx)tst-initorder2.out): Remove rule.
5723 [$(run-built-tests) = yes] (tests): Depend on
5724 $(objpfx)tst-initorder2-cmp.out.
5725 ($(objpfx)tst-initorder2-cmp.out): New rule.
5726 [$(run-built-tests) = yes] (tests): Depend on
5727 $(objpfx)tst-unused-dep-cmp.out.
5728 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5729 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5730 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5731 on $(objpfx)tst-setvbuf1-cmp.out.
5732 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5733 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5734 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5735 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5736 ($(objpfx)tst-svc.out): Remove rule.
5737 ($(objpfx)tst-svc-cmp.out): New rule.
5738
ed9a38e2
JM
57392014-02-13 Joseph Myers <joseph@codesourcery.com>
5740
5741 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5742 * ctype/ctype.h [__USE_MISC]: Likewise.
5743 * dirent/dirent.h [__USE_MISC]: Likewise.
5744 * grp/grp.h [__USE_MISC]: Likewise.
5745 * io/fcntl.h [__USE_MISC]: Likewise.
5746 * io/sys/stat.h [__USE_MISC]: Likewise.
5747 * libio/stdio.h [__USE_MISC]: Likewise.
5748 * posix/unistd.h [__USE_MISC]: Likewise.
5749 * pwd/pwd.h [__USE_MISC]: Likewise.
5750 * stdlib.h [__USE_MISC]: Likewise.
5751 * string/bits/string2.h [__USE_MISC]: Likewise.
5752 * string/string.h [__USE_MISC]: Likewise.
5753 * time/time.h [__USE_MISC]: Likewise.
5754
d6680619
AS
57552014-02-13 Andreas Schwab <schwab@suse.de>
5756
5757 [BZ #16574]
5758 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5759 second answer buffer if it was separately allocated.
5760
ace614b8
JM
57612014-02-12 Joseph Myers <joseph@codesourcery.com>
5762
743151ae
JM
5763 * sysdeps/mips/math-tests.h: Include <features.h>.
5764 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5765 (ROUNDING_TESTS_long_double): Do not define.
5766 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5767 (EXCEPTION_TESTS_long_double): Likewise.
5768 * sysdeps/mips/mips64/libm-test-ulps: Update.
5769
498afc54
JM
5770 * include/features.h (__USE_BSD): Remove macro definitions.
5771 (__USE_SVID): Likewise.
5772 (_BSD_SOURCE): Likewise.
5773 (_SVID_SOURCE): Likewise.
5774 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5775 from definition of _DEFAULT_SOURCE.
5776 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5777 [_DEFAULT_SOURCE].
5778 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5779 * bits/mman.h [__USE_BSD]: Likewise.
5780 * bits/termios.h [__USE_BSD]: Likewise.
5781 * bits/waitstatus.h [__USE_BSD]: Likewise.
5782 * ctype/ctype.h [__USE_SVID]: Likewise.
5783 * dirent/dirent.h [__USE_BSD]: Likewise.
5784 * grp/grp.h [__USE_SVID]: Likewise.
5785 [__USE_BSD]: Likewise.
5786 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5787 * io/fcntl.h [__USE_BSD]: Likewise.
5788 * io/ftw.h [__USE_BSD]: Likewise.
5789 * io/sys/stat.h [__USE_BSD]: Likewise.
5790 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5791 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5792 * libio/stdio.h [__USE_SVID]: Likewise.
5793 [__USE_BSD]: Likewise.
5794 * math/math.h [__USE_SVID]: Likewise.
5795 [__USE_BSD]: Likewise.
5796 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5797 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5798 * misc/search.h [__USE_SVID]: Likewise.
5799 * misc/sys/mman.h [__USE_BSD]: Likewise.
5800 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5801 * misc/sys/uio.h [__USE_BSD]: Likewise.
5802 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5803 * posix/glob.h [__USE_BSD]: Likewise.
5804 * posix/regex.h [__USE_BSD]: Likewise.
5805 * posix/sys/types.h [__USE_BSD]: Likewise.
5806 [__USE_SVID]: Likewise.
5807 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5808 * posix/sys/wait.h [__USE_BSD]: Likewise.
5809 [__USE_SVID]: Likewise.
5810 * posix/unistd.h [__USE_BSD]: Likewise.
5811 [__USE_SVID]: Likewise.
5812 * pwd/pwd.h [__USE_SVID]: Likewise.
5813 * resolv/netdb.h [__USE_BSD]: Likewise.
5814 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5815 * signal/signal.h [__USE_BSD]: Likewise.
5816 [__USE_SVID]: Likewise.
5817 * socket/sys/socket.h [__USE_BSD]: Likewise.
5818 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5819 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5820 [__USE_SVID]: Likewise.
5821 * string/bits/string2.h [__USE_BSD]: Likewise.
5822 [__USE_SVID]: Likewise.
5823 * string/bits/string3.h [__USE_BSD]: Likewise.
5824 * string/endian.h [__USE_BSD]: Likewise.
5825 * string/string.h [__USE_SVID]: Likewise.
5826 [__USE_BSD]: Likewise.
5827 * string/strings.h [__USE_BSD]: Likewise.
5828 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5829 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5830 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5831 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5832 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5833 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5834 Likewise.
5835 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5836 Likewise.
5837 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5838 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5839 Likewise.
5840 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5841 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5842 Likewise.
5843 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5844 Likewise.
5845 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5846 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5847 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5848 Likewise.
5849 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5850 Likewise.
5851 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5852 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5853 * termios/termios.h [__USE_BSD]: Likewise.
5854 * time/sys/time.h [__USE_BSD]: Likewise.
5855 * time/time.h [__USE_BSD]: Likewise.
5856 [__USE_SVID]: Likewise.
5857
dd7b064c
JM
5858 * Makefile (subdir_targets): Remove subdir_lint.out.
5859
a2c4c199
JM
5860 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5861 (do-tst-printf): Likewise.
5862 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5863 $(objpfx)tst-printf.out.
5864
8756f740
JM
5865 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5866
1b6dd3f1
JM
5867 * Makerules (check-abi-%): Change target to
5868 $(objpfx)check-abi-%.out.
5869 (check-abi target): Update dependencies.
5870 (check-abi-pattern variable): Redirect output of diff to $@.
5871 (check-abi variable): Likewise.
5872 * elf/Makefile (check-abi): Update dependencies.
5873
ace614b8
JM
5874 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5875 unused.
5876 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5877 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5878 subnormal range.
5879 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5880 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5881 value has largest subnormal exponent.
5882 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5883 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5884 * sysdeps/aarch64/soft-fp/sfp-machine.h
5885 (_FP_TININESS_AFTER_ROUNDING): New macro.
5886 * sysdeps/alpha/soft-fp/sfp-machine.h
5887 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5888 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5889 Likewise.
5890 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5891 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5892 * sysdeps/mips/soft-fp/sfp-machine.h
5893 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5894 * sysdeps/powerpc/soft-fp/sfp-machine.h
5895 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5896 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5897 Likewise.
5898 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5899 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5900 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5901 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5902 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5903 Likewise.
5904
fbfdf9cb
DAS
59052014-02-12 Dylan Alex Simon <dylan@dylex.net>
5906
5907 [BZ #16545]
5908 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5909 model 1.
5910
68b7efaa
RH
59112014-02-12 Richard Henderson <rth@redhat.com>
5912
c70a4b1d 5913 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5914 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5915 * sysdeps/unix/sysv/linux/alpha: Move directory from
5916 ports/sysdeps/unix/sysv/linux/alpha.
5917 * README: Update listing for alpha-*-linux-gnu.
5918
cb4a2928
JM
59192014-02-11 Joseph Myers <joseph@codesourcery.com>
5920
c941736c
JM
5921 * include/features.h: Update comment documenting feature test
5922 macros.
5923 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5924 _DEFAULT_SOURCE.
5925 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5926 (_SVID_SOURCE): Likewise.
5927 (_DEFAULT_SOURCE): Update description of default features.
5928 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5929 with _GNU_SOURCE.
5930 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5931 (S_ISVTX): Likewise.
5932 * manual/math.texi (Mathematical Constants): Likewise.
5933 * manual/signal.texi (Interrupted Primitives): Likewise.
5934 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5935 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5936 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5937 Don't refer to _SVID_SOURCE in warning text.
5938
e8d8d7ec
JM
5939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5940
cb4a2928
JM
5941 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5942 already defined.
5943 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5944 * sysdeps/mips/dl-lookup.c: Remove.
5945 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5946
7e6424e3
AK
59472014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5948
5949 [BZ #16447]
5950 * math/auto-libm-test-in: Add testcase for expl.
5951 * math/auto-libm-test-out: Regenerate.
5952 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5953 calculation of unsafe.
5954 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5955
75eff3fe
MS
59562014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5957
5958 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5959 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5960 ports/sysdeps/unix/sysv/linux/aarch64.
5961 * README: Update listing for aarch64*-*-linux-gnu.
5962
d35f1e80
WN
59632014-02-11 Will Newton <will.newton@linaro.org>
5964
5965 * manual/probes.texi (Mathematical Function Probes): Use
5966 "triggered" instead of "hit".
5967
7b3436d4
WN
5968 * manual/probes.texi (Internal Probes): Add documentation
5969 of setjmp, longjmp and longjmp_target probes.
5970
b4f12ca3
WN
5971 * include/stap-probe.h: Add comment about probe argument
5972 format.
5973
c13a72b7
WN
5974 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5975 definition. (tr_where, tr_freehook, tr_mallochook,
5976 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5977
195b8165
DM
59782014-02-11 David S. Miller <davem@davemloft.net>
5979
5980 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5981 processing int_tests.
5982
2ad7600b
JM
59832014-02-10 Joseph Myers <joseph@codesourcery.com>
5984
5985 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5986 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5987 * sysdeps/unix/sysv/linux/mips: Move directory from
5988 ports/sysdeps/unix/sysv/linux/mips.
5989 * README: Update listing for mips-*-linux-gnu and
5990 mips64-*-linux-gnu.
5991
73588a72
AS
59922014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5993
5994 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5995 * sysdeps/unix/sysv/linux/m68k: Move directory from
5996 ports/sysdeps/unix/sysv/linux/m68k.
5997 * README: Update listing for m68k-*-linux-gnu.
5998
4372980f
CM
59992014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6000
6001 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6002 * sysdeps/unix/sysv/linux/generic: Move directory from
6003 ports/sysdeps/unix/sysv/linux/generic.
6004 * sysdeps/unix/sysv/linux/tile: Move directory from
6005 ports/sysdeps/unix/sysv/linux/tile.
6006 * README: Update listing for tile*-*-linux-gnu.
6007
a1ffb40e
OB
60082014-02-10 Ondřej Bílka <neleai@seznam.cz>
6009
57f41c40
AS
6010 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6011 __builtin_expect.
a1ffb40e
OB
6012 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6013 * catgets/open_catalog.c (__open_catalog): Likewise.
6014 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6015 * debug/confstr_chk.c: Likewise.
6016 * debug/fread_chk.c (__fread_chk): Likewise.
6017 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6018 * debug/getgroups_chk.c: Likewise.
6019 * debug/mbsnrtowcs_chk.c: Likewise.
6020 * debug/mbsrtowcs_chk.c: Likewise.
6021 * debug/mbstowcs_chk.c: Likewise.
6022 * debug/memcpy_chk.c: Likewise.
6023 * debug/memmove_chk.c: Likewise.
6024 * debug/mempcpy_chk.c: Likewise.
6025 * debug/memset_chk.c: Likewise.
6026 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6027 * debug/strcat_chk.c (__strcat_chk): Likewise.
6028 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6029 * debug/strncat_chk.c (__strncat_chk): Likewise.
6030 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6031 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6032 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6033 * debug/wcpncpy_chk.c: Likewise.
6034 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6035 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6036 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6037 * debug/wcsncpy_chk.c: Likewise.
6038 * debug/wcsnrtombs_chk.c: Likewise.
6039 * debug/wcsrtombs_chk.c: Likewise.
6040 * debug/wcstombs_chk.c: Likewise.
6041 * debug/wmemcpy_chk.c: Likewise.
6042 * debug/wmemmove_chk.c: Likewise.
6043 * debug/wmempcpy_chk.c: Likewise.
6044 * debug/wmemset_chk.c: Likewise.
6045 * dirent/scandirat.c (SCANDIRAT): Likewise.
6046 * dlfcn/dladdr1.c (dladdr1): Likewise.
6047 * dlfcn/dladdr.c (dladdr): Likewise.
6048 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6049 * dlfcn/dlerror.c (__dlerror): Likewise.
6050 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6051 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6052 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6053 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6054 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6055 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6056 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6057 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6058 Likewise.
6059 * elf/dl-conflict.c: Likewise.
6060 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6061 * elf/dl-dst.h: Likewise.
6062 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6063 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6064 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6065 * elf/dl-init.c (call_init, _dl_init): Likewise.
6066 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
6067 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6068 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6069 Likewise.
a1ffb40e
OB
6070 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6071 Likewise.
6072 * elf/dl-minimal.c (__libc_memalign): Likewise.
6073 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6074 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6075 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6076 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
6077 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6078 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
6079 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6080 * elf/dl-writev.h (_dl_writev): Likewise.
6081 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
6082 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6083 (dl_main): Likewise.
a1ffb40e
OB
6084 * elf/setup-vdso.h (setup_vdso): Likewise.
6085 * grp/compat-initgroups.c (compat_call): Likewise.
6086 * grp/fgetgrent.c (fgetgrent): Likewise.
6087 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6088 * grp/putgrent.c (putgrent): Likewise.
6089 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6090 Likewise.
6091 * hurd/hurdinit.c: Likewise.
6092 * iconvdata/8bit-gap.c (struct): Likewise.
6093 * iconvdata/ansi_x3.110.c : Likewise.
6094 * iconvdata/big5.c : Likewise.
6095 * iconvdata/big5hkscs.c : Likewise.
6096 * iconvdata/cp1255.c: Likewise.
6097 * iconvdata/cp1258.c : Likewise.
6098 * iconvdata/cp932.c : Likewise.
6099 * iconvdata/euc-cn.c: Likewise.
6100 * iconvdata/euc-jisx0213.c : Likewise.
6101 * iconvdata/euc-jp.c: Likewise.
6102 * iconvdata/euc-jp-ms.c : Likewise.
6103 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6104 * iconvdata/gb18030.c : Likewise.
6105 * iconvdata/gbbig5.c (const): Likewise.
6106 * iconvdata/gbgbk.c: Likewise.
6107 * iconvdata/gbk.c : Likewise.
6108 * iconvdata/ibm1364.c : Likewise.
6109 * iconvdata/ibm930.c : Likewise.
6110 * iconvdata/ibm932.c: Likewise.
6111 * iconvdata/ibm933.c : Likewise.
6112 * iconvdata/ibm935.c : Likewise.
6113 * iconvdata/ibm937.c : Likewise.
6114 * iconvdata/ibm939.c : Likewise.
6115 * iconvdata/ibm943.c: Likewise.
6116 * iconvdata/iso_11548-1.c: Likewise.
6117 * iconvdata/iso-2022-cn.c : Likewise.
6118 * iconvdata/iso-2022-cn-ext.c : Likewise.
6119 * iconvdata/iso-2022-jp-3.c: Likewise.
6120 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6121 * iconvdata/iso-2022-kr.c : Likewise.
6122 * iconvdata/iso646.c (gconv_end): Likewise.
6123 * iconvdata/iso_6937-2.c : Likewise.
6124 * iconvdata/iso_6937.c : Likewise.
6125 * iconvdata/iso8859-1.c: Likewise.
6126 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6127 * iconvdata/shift_jisx0213.c : Likewise.
6128 * iconvdata/sjis.c : Likewise.
6129 * iconvdata/t.61.c : Likewise.
6130 * iconvdata/tcvn5712-1.c : Likewise.
6131 * iconvdata/tscii.c: Likewise.
6132 * iconvdata/uhc.c : Likewise.
6133 * iconvdata/unicode.c (gconv_end): Likewise.
6134 * iconvdata/utf-16.c (gconv_end): Likewise.
6135 * iconvdata/utf-32.c (gconv_end): Likewise.
6136 * iconvdata/utf-7.c (base64): Likewise.
6137 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6138 * iconv/gconv_close.c (__gconv_close): Likewise.
6139 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
6140 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6141 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6142 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6143 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6144 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
6145 * iconv/iconv.c (iconv): Likewise.
6146 * iconv/iconv_close.c: Likewise.
6147 * iconv/loop.c (SINGLE): Likewise.
6148 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6149 * include/atomic.h: Likewise.
6150 * inet/inet6_option.c (option_alloc): Likewise.
6151 * intl/bindtextdom.c (set_binding_values): Likewise.
6152 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6153 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6154 * intl/localealias.c (read_alias_file): Likewise.
6155 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
6156 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6157 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
6158 * libio/fmemopen.c (fmemopen): Likewise.
6159 * libio/iofgets.c (_IO_fgets): Likewise.
6160 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6161 * libio/iofgetws.c (fgetws): Likewise.
6162 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6163 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
6164 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6165 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
6166 * locale/findlocale.c (_nl_find_locale): Likewise.
6167 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6168 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6169 Likewise.
6170 * locale/setlocale.c (setlocale): Likewise.
6171 * login/programs/pt_chown.c (main): Likewise.
6172 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6173 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
6174 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6175 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
6176 * math/e_exp2l.c: Likewise.
6177 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6178 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6179 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6180 * math/s_catan.c (__catan): Likewise.
6181 * math/s_catanf.c (__catanf): Likewise.
6182 * math/s_catanh.c (__catanh): Likewise.
6183 * math/s_catanhf.c (__catanhf): Likewise.
6184 * math/s_catanhl.c (__catanhl): Likewise.
6185 * math/s_catanl.c (__catanl): Likewise.
6186 * math/s_ccosh.c (__ccosh): Likewise.
6187 * math/s_ccoshf.c (__ccoshf): Likewise.
6188 * math/s_ccoshl.c (__ccoshl): Likewise.
6189 * math/s_cexp.c (__cexp): Likewise.
6190 * math/s_cexpf.c (__cexpf): Likewise.
6191 * math/s_cexpl.c (__cexpl): Likewise.
6192 * math/s_clog10.c (__clog10): Likewise.
6193 * math/s_clog10f.c (__clog10f): Likewise.
6194 * math/s_clog10l.c (__clog10l): Likewise.
6195 * math/s_clog.c (__clog): Likewise.
6196 * math/s_clogf.c (__clogf): Likewise.
6197 * math/s_clogl.c (__clogl): Likewise.
6198 * math/s_csin.c (__csin): Likewise.
6199 * math/s_csinf.c (__csinf): Likewise.
6200 * math/s_csinh.c (__csinh): Likewise.
6201 * math/s_csinhf.c (__csinhf): Likewise.
6202 * math/s_csinhl.c (__csinhl): Likewise.
6203 * math/s_csinl.c (__csinl): Likewise.
6204 * math/s_csqrt.c (__csqrt): Likewise.
6205 * math/s_csqrtf.c (__csqrtf): Likewise.
6206 * math/s_csqrtl.c (__csqrtl): Likewise.
6207 * math/s_ctan.c (__ctan): Likewise.
6208 * math/s_ctanf.c (__ctanf): Likewise.
6209 * math/s_ctanh.c (__ctanh): Likewise.
6210 * math/s_ctanhf.c (__ctanhf): Likewise.
6211 * math/s_ctanhl.c (__ctanhl): Likewise.
6212 * math/s_ctanl.c (__ctanl): Likewise.
6213 * math/w_pow.c: Likewise.
6214 * math/w_powf.c: Likewise.
6215 * math/w_powl.c: Likewise.
6216 * math/w_scalb.c (sysv_scalb): Likewise.
6217 * math/w_scalbf.c (sysv_scalbf): Likewise.
6218 * math/w_scalbl.c (sysv_scalbl): Likewise.
6219 * misc/error.c (error_tail): Likewise.
6220 * misc/pselect.c (__pselect): Likewise.
6221 * nis/nis_callback.c (__nis_create_callback): Likewise.
6222 * nis/nis_call.c (__nisfind_server): Likewise.
6223 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6224 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6225 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6226 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6227 * nis/nis_lookup.c (nis_lookup): Likewise.
6228 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
6229 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6230 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 6231 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
6232 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6233 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6234 * nis/nss_compat/compat-initgroups.c (add_group)
6235 (internal_getgrent_r): Likewise.
6236 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6237 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6238 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6239 (internal_getspnam_r): Likewise.
6240 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6241 (_nss_nis_getaliasbyname_r): Likewise.
6242 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6243 (_nss_nis_getntohost_r): Likewise.
6244 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6245 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6246 (_nss_nis_getgrgid_r): Likewise.
6247 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6248 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6249 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6250 (_nss_nis_gethostbyname4_r): Likewise.
6251 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6252 (initgroups_netid): Likewise.
a1ffb40e 6253 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
6254 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6255 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6256 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6257 (_nss_nis_getprotobynumber_r): Likewise.
6258 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6259 (_nss_nis_getsecretkey): Likewise.
6260 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6261 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6262 (_nss_nis_getpwuid_r): Likewise.
6263 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6264 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6265 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6266 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6267 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6268 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
6269 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6270 Likewise.
57f41c40
AS
6271 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6272 (_nss_nisplus_getntohost_r): Likewise.
6273 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6274 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6275 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6276 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 6277 Likewise.
57f41c40
AS
6278 * nis/nss_nisplus/nisplus-initgroups.c
6279 (_nss_nisplus_initgroups_dyn): Likewise.
6280 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6281 (_nss_nisplus_getnetbyaddr_r): Likewise.
6282 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6283 (_nss_nisplus_getprotobynumber_r): Likewise.
6284 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6285 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
6286 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6287 Likewise.
57f41c40
AS
6288 * nis/nss_nisplus/nisplus-service.c
6289 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6290 (_nss_nisplus_getservbyport_r): Likewise.
6291 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6292 (_nss_nisplus_getspnam_r): Likewise.
6293 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6294 Likewise.
a1ffb40e
OB
6295 * nscd/aicache.c (addhstaiX): Likewise.
6296 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
6297 * nscd/connections.c (register_traced_file, send_ro_fd)
6298 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6299 (main_loop_epoll): Likewise.
a1ffb40e
OB
6300 * nscd/grpcache.c (addgrbyX): Likewise.
6301 * nscd/hstcache.c (addhstbyX): Likewise.
6302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6303 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
6304 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6305 (addinnetgrX): Likewise.
6306 * nscd/nscd-client.h (__nscd_acquire_maplock)
6307 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
6308 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6309 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6310 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6311 Likewise.
6312 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6313 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
6314 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6315 (__nscd_get_map_ref): Likewise.
a1ffb40e 6316 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
6317 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6318 Likewise.
a1ffb40e
OB
6319 * nscd/pwdcache.c (addpwbyX): Likewise.
6320 * nscd/selinux.c (preserve_capabilities): Likewise.
6321 * nscd/servicescache.c (addservbyX): Likewise.
6322 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6323 * posix/fnmatch.c (fnmatch): Likewise.
6324 * posix/getopt.c (_getopt_internal_r): Likewise.
6325 * posix/glob.c (glob, glob_in_dir): Likewise.
6326 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
6327 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6328 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
6329 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6330 * resolv/res_init.c: Likewise.
6331 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6332 * resolv/res_query.c (__libc_res_nquery): Likewise.
6333 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6334 Likewise.
6335 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6336 * stdio-common/perror.c (perror): Likewise.
6337 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6338 * stdio-common/tmpnam.c (tmpnam): Likewise.
6339 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6340 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
6341 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6342 Likewise.
a1ffb40e
OB
6343 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6344 * stdlib/putenv.c (putenv): Likewise.
6345 * stdlib/setenv.c (__add_to_environ): Likewise.
6346 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6347 * stdlib/strtol_l.c (INTERNAL): Likewise.
6348 * string/memmem.c (memmem): Likewise.
6349 * string/strerror.c (strerror): Likewise.
6350 * string/strnlen.c (__strnlen): Likewise.
6351 * string/test-memmem.c (simple_memmem): Likewise.
6352 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6353 * sunrpc/pm_getport.c (__get_socket): Likewise.
6354 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6355 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
6356 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6357 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
6358 Likewise.
6359 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6360 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6361 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6362 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6363 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
6364 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6365 Likewise.
6366 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6367 Likewise.
a1ffb40e
OB
6368 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6369 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6370 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6371 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6372 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6373 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6374 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6375 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6376 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6377 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6378 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6379 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6380 Likewise.
6381 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6382 Likewise.
6383 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6384 Likewise.
6385 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6386 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6387 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6388 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6389 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6390 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6391 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6392 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6393 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6394 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6395 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6396 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6397 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6398 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6399 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
6400 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6401 Likewise.
a1ffb40e
OB
6402 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6403 Likewise.
6404 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6405 Likewise.
6406 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6407 Likewise.
6408 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6409 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6410 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6411 Likewise.
6412 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6413 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6414 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6415 * sysdeps/posix/sleep.c: Likewise.
6416 * sysdeps/posix/tempname.c: Likewise.
6417 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6418 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6419 Likewise.
57f41c40
AS
6420 * sysdeps/powerpc/powerpc32/dl-machine.h
6421 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6422 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6423 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6424 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6425 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6426 Likewise.
6427 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6428 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6429 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6430 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6431 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6432 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6433 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6434 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6435 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6436 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6437 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6438 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6439 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6440 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6441 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6442 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6443 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6444 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6445 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6446 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6447 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6448 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6450 Likewise.
6451 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6452 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6453 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6454 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6455 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6456 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6457 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6458 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6459 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6460 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6461 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6462 Likewise.
6463 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6464 (__posix_fallocate64_l64): Likewise.
6465 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6466 (posix_fallocate): Likewise.
57f41c40
AS
6467 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6468 Likewise.
a1ffb40e 6469 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6470 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6471 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6472 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6473 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6474 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6475 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6476 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6477 (__posix_fallocate64_l64): Likewise.
6478 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6479 Likewise.
6480 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6481 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6482 (__get_clockfreq): Likewise.
a1ffb40e
OB
6483 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6484 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6485 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6487 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6488 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6489 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6490 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6491 Likewise.
6492 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6493 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6494 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6495 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6496 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6497 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6498 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6499 Likewise.
6500 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6501 (posix_fallocate): Likewise.
6502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6503 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6504 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6505 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6506 (elf_machine_rela, elf_machine_rela_relative)
6507 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6508 * time/asctime.c (asctime_internal): Likewise.
6509 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6510 * time/tzset.c (__tzset_parse_tz): Likewise.
6511 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6512 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6513 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6514 * wcsmbs/wcsmbsload.h: Likewise.
6515
f3d338c9
OB
6516 [BZ #15894]
6517 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6518
57f41c40
AS
6519 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6520 (arena_get2): Remove THREAD_STATS conditionals.
6521 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6522 (__malloc_stats, int): Likewise.
bdfe308a 6523
d674667c
MF
65242014-02-08 Mike Frysinger <vapier@gentoo.org>
6525
6526 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6527 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6528
6349768c
MF
6529 * manual/setjmp.texi: Fix typos/grammar errors.
6530
0b7c7473
MF
6531 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6532 Only return early when n is <= 0. Delete unused return statement.
6533
ac8cc9e3
MF
6534 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6535 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6536 * debug/tst-longjmp_chk3.c: New file.
6537
c5bb8e23
MF
6538 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6539 (test_main): Replace code with set_fortify_handler call.
6540 * debug/test-strcpy_chk.c: Likewise.
6541 * debug/tst-chk1.c: Likewise.
6542 * debug/tst-longjmp_chk.c: Likewise.
6543 * test-skeleton.c: Include fcntl.h & paths.h
6544 (set_fortify_handler): Define.
6545
10444e42
MF
6546 * debug/tst-longjmp_chk.c: Add header comment and include
6547 ../test-skeleton.c.
6548 (do_test): Mark static.
6549 (TEST_FUNCTION): Define.
6550
1e805e8d
MF
6551 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6552 (IP_PMTUDISC_INTERFACE): Likewise.
6553 (IP_MULTICAST_IF): Likewise.
6554 (IP_MULTICAST_TTL): Likewise.
6555 (IP_MULTICAST_LOOP): Likewise.
6556 (IP_ADD_MEMBERSHIP): Likewise.
6557 (IP_DROP_MEMBERSHIP): Likewise.
6558 (IP_UNBLOCK_SOURCE): Likewise.
6559 (IP_BLOCK_SOURCE): Likewise.
6560 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6561 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6562 (IP_MSFILTER): Likewise.
6563 (MCAST_JOIN_GROUP): Likewise.
6564 (MCAST_BLOCK_SOURCE): Likewise.
6565 (MCAST_UNBLOCK_SOURCE): Likewise.
6566 (MCAST_LEAVE_GROUP): Likewise.
6567 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6568 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6569 (MCAST_MSFILTER): Likewise.
6570 (IP_MULTICAST_ALL): Likewise.
6571 (IP_UNICAST_IF): Likewise.
6572
73f79bb7
MF
6573 * timezone/Makefile: Delete $(have-ksh) check.
6574 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6575 * timezone/tzselect.ksh: Add +x mode bits.
6576
8da79b60
MF
6577 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6578 (ANON_INODE_FS_MAGIC): Likewise.
6579 (BDEVFS_MAGIC): Likewise.
6580 (BINFMTFS_MAGIC): Likewise.
6581 (BTRFS_TEST_MAGIC): Likewise.
6582 (CRAMFS_MAGIC_WEND): Likewise.
6583 (DEBUGFS_MAGIC): Likewise.
6584 (ECRYPTFS_SUPER_MAGIC): Likewise.
6585 (EXT3_SUPER_MAGIC): Likewise.
6586 (EXT4_SUPER_MAGIC): Likewise.
6587 (FUTEXFS_SUPER_MAGIC): Likewise.
6588 (HOSTFS_SUPER_MAGIC): Likewise.
6589 (HUGETLBFS_MAGIC): Likewise.
6590 (MINIX3_SUPER_MAGIC): Likewise.
6591 (MTD_INODE_FS_MAGIC): Likewise.
6592 (NILFS_SUPER_MAGIC): Likewise.
6593 (OPENPROM_SUPER_MAGIC): Likewise.
6594 (PIPEFS_MAGIC): Likewise.
6595 (PSTOREFS_MAGIC): Likewise.
6596 (QNX6_SUPER_MAGIC): Likewise.
6597 (RAMFS_MAGIC): Likewise.
6598 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6599 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6600 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6601 (SECURITYFS_MAGIC): Likewise.
6602 (SELINUX_MAGIC): Likewise.
6603 (SMACK_MAGIC): Likewise.
6604 (SOCKFS_MAGIC): Likewise.
6605 (SQUASHFS_MAGIC): Likewise.
6606 (STACK_END_MAGIC): Likewise.
6607 (TMPFS_MAGIC): Likewise.
6608 (USBDEVICE_SUPER_MAGIC): Likewise.
6609 (V9FS_MAGIC): Likewise.
6610 (XENFS_SUPER_MAGIC): Likewise.
6611 (CRAMFS_MAGIC): Fix typo in comment.
6612 (EXT2_SUPER_MAGIC): Update comment.
6613 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6614
464263cc
JM
66152014-02-08 Joseph Myers <joseph@codesourcery.com>
6616
c6bfe5c4
JM
6617 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6618 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6619 * sysdeps/unix/sysv/linux/arm: Move directory from
6620 ports/sysdeps/unix/sysv/linux/arm.
6621 * README: Update listing for arm-*-linux-gnueabi.
6622
464263cc
JM
6623 * README: Remove mention of am33.
6624
32749f6c
RM
66252014-02-07 Roland McGrath <roland@hack.frob.com>
6626
6627 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6628 than the comma operator, to avoid "rhs of comma has no effect"
6629 compiler warnings.
6630 (__sigfillset, __sigandset, __sigorset): Likewise.
6631 * include/signal.h (__sigemptyset): Likewise.
6632 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6633
d5b396c1
AM
66342014-02-07 Allan McRae <allan@archlinux.org>
6635
6636 * version.h (RELEASE): Set to "development".
6637 (VERSION): Set to "2.19.90"
6638 * NEWS: Add 2.20 section.
6639
3bfff2ed
CD
66402014-02-06 Carlos O'Donell <carlos@redhat.com>
6641
6642 [BZ #16529]
6643 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6644
ee7cc385
SP
66452014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6646
6647 * manual/contrib.texi: Update entry for Carlos O'Donell,
6648 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6649
f877c4f2
CD
66502014-02-05 Carlos O'Donell <carlos@rehdat.com>
6651
27e839f6
CD
6652 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6653
f877c4f2
CD
6654 * sysdeps/unix/sysv/linux/kernel-features.h
6655 [__LINUX_KERNEL_VERSION >= 0x020621]
6656 (__ASSUME_PROC_PID_TASK_COMM): Define.
6657
68159946
SP
66582014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6659
ba17cdbd
SP
6660 [BZ #16398]
6661 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6662 conversion when destination buffer does not have enough space.
6663 * libio/tst-ftell-partial-wide.c: New test case.
6664 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6665
68159946
SP
6666 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6667 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6668 Leonard and Allan McRae.
6669
2b528732
DM
66702014-02-04 David S. Miller <davem@davemloft.net>
6671
6672 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6673 32-bit.
6674
0ff82463
AZ
66752014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6676
57f41c40
AS
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6678 New file
c01603f7
AZ
6679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6680 New file
57f41c40
AS
6681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6682 New file.
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6684 New file.
c01603f7
AZ
6685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6686 New file.
57f41c40
AS
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6688 New file.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6690 New file.
c01603f7
AZ
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6692 New file.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6694 New file.
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6696 New file.
6697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6698 New file.
6699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6700 New file.
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6702 New file.
6703
67042014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6705
0ff82463
AZ
6706 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6707 * shlib-versions: Likewise.
6708
1695c773
AZ
67092014-02-04 Roland McGrath <roland@hack.frob.com>
6710 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6711
6712 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6713 (abilist-pattern): New variable, set to %-le.abilist.
6714
6715 * Makerules (abilist-pattern): New variable.
6716 (vpath): Use $(abilist-pattern) in place of %.abilist.
6717 (check-abi-% pattern rule): Likewise.
6718 (check-abi, update-abi): Likewise.
6719
6c0ce4b4
EW
67202014-02-04 Eric Wong <normalperson@yhbt.net>
6721
6722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6723
481e3524
CD
67242014-02-03 Carlos O'Donell <carlos@redhat.com>
6725
6726 * manual/startup.texi: Add next, previous, and top entries for
6727 the `Program Arguments' and `Environment Variables' nodes.
6728
375592d3
AO
67292014-02-03 Alexandre Oliva <aoliva@redhat.com>
6730
6731 * manual/macros.texi: Add comments before MTASC-safety macros.
6732
f54838ba
AO
6733 * manual/users.texi: Document MTASC-safety properties.
6734
57f41c40
AS
6735 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6736 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6737 @deftypefun, and add @safety note.
6738 * manual/signal.texi: Move comments that analyze the above
6739 functions to their home place.
6740
fd3daba4
AM
67412014-02-03 Allan McRae <allan@archlinux.org>
6742
6743 * po/sl.po: Update Slovenian translation from translation project.
6744
597636d7
AO
67452014-02-02 Alexandre Oliva <aoliva@redhat.com>
6746
6747 * manual/time.texi (timegm): Add missing blank after @c.
6748 Reported by Joseph Myers <joseph@codesourcery.com>.
6749
ee196e3c
AO
67502014-02-01 Alexandre Oliva <aoliva@redhat.com>
6751
6752 * manual/check-safety.sh: New.
6753 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6754
f8d529d5
AO
6755 * manual/terminal.texi: Document MTASC-safety properties.
6756
de55fdf4
AO
6757 * manual/filesys.texi: Document MTASC-safety properties.
6758
c3299c08
AO
6759 * manual/errno.texi: Document MTASC-safety properties.
6760
06e90b14
AO
6761 * manual/intro.texi: Document safety identifiers and
6762 conditionals.
6763
1acd4371
AO
6764 * manual/string.texi (wcstok): Fix prototype.
6765 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6766
23e5b8cb
AO
6767 * manual/time.texi: Document MTASC-safety properties.
6768
11087373
AO
6769 * manual/string.texi: Document MTASC-safety properties.
6770
5da2c93d
AO
6771 * manual/threads.texi: Document MTASC-safety properties.
6772
171e9210
AO
6773 * manual/stdio.texi: Document MTASC-safety properties.
6774
d9e02532
AO
6775 * manual/syslog.texi: Document MTASC-safety properties.
6776
6af8bab7
AO
6777 * manual/sysinfo.texi: Document MTASC-safety properties.
6778
663b02d7
AO
6779 * manual/startup.texi: Document MTASC-safety properties.
6780
973f180b
AO
6781 * manual/socket.texi: Document MTASC-safety properties.
6782
8f3c25c8
AO
6783 * manual/signal.texi: Document MTASC-safety properties.
6784
542210fb
AO
67852014-01-31 Alexandre Oliva <aoliva@redhat.com>
6786
6787 * manual/setjmp.texi: Document MTASC-safety properties.
6788
433c45a2
AO
6789 * manual/search.texi: Document MTASC-safety properties.
6790
c8ce789c
AO
6791 * manual/resource.texi: Document MTASC-safety properties.
6792
19f5d29c
AO
6793 * manual/process.texi: Document MTASC-safety properties.
6794
e2dfb7f4
AO
6795 * manual/platform.texi: Document MTASC-safety properties.
6796
8c1413f5
AO
6797 * manual/pipe.texi: Document MTASC-safety properties.
6798
03483ada
AO
6799 * manual/pattern.texi: Document MTASC-safety properties.
6800
29e7e2df
AO
6801 * manual/message.texi: Document MTASC-safety properties.
6802
9f529d7c
AO
6803 [BZ #12751]
6804 * manual/memory.texi: Document MTASC-safety properties.
6805
27aaa791
AO
6806 * manual/math.texi: Document MTASC-safety properties.
6807
f2d58726
AO
6808 * manual/locale.texi: Document MTASC-safety properties.
6809
2cc3615c
AO
6810 * manual/llio.texi: Document MTASC-safety properties.
6811
d9f0ec97
AO
6812 * manual/libdl.texi: New.
6813
e7c4409a
AO
6814 * manual/lang.texi: Document MTASC-safety properties.
6815
27bdc63c
AO
6816 * manual/job.texi: Document MTASC-safety properties.
6817
a7b90ea9
AO
6818 * manual/getopt.texi: Document MTASC-safety properties.
6819
c49130e3
AO
6820 * manual/ctype.texi: Document MTASC-safety properties.
6821
0d23a5c1
MR
68222014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6823
6824 [BZ #16046]
6825 * csu/libc-tls.c (static_map): Remove variable.
6826 (__libc_setup_tls): Use main executable's link map for TLS data.
6827 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6828 casing for LM_ID_BASE and GL(dl_nns).
6829 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6830 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6831 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6832 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6833 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6834 member.
6835 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6836 l_phnum members.
6837
0037bb60
AO
68382014-01-30 Alexandre Oliva <aoliva@redhat.com>
6839
6840 * manual/debug.texi: Document MTASC-safety properties.
6841
409e00bd
L
68422014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6843
6844 [BZ #16510]
6845 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6846 of __x86_64__ when disabling x87 inline functions.
6847
86e60666
AO
68482014-01-29 Alexandre Oliva <aoliva@redhat.com>
6849
6850 * manual/charset.texi: Document MTASC-safety properties.
6851
76167637
AO
6852 * manual/crypt.texi: Document MTASC-safety properties.
6853
e567f2a0
AO
6854 * manual/conf.texi: Document MTASC-safety properties.
6855
b719dafd
AO
6856 * manual/arith.texi: Document MTASC-safety properties.
6857
4a16c662
AO
6858 * manual/argp.texi: Document MTASC-safety properties.
6859
0a57b83e
AO
6860 * manual/macros.texi: Introduce macros to document multi
6861 thread, asynchronous signal and asynchronous cancellation
6862 safety properties.
6863 * manual/intro.texi: Introduce the properties themselves.
6864
feab2397
KK
68652014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6866
6867 * sysdeps/sh/sh4/Makefile: New file.
6868
1c0d11bc
AS
68692014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6870
6871 * math/gen-libm-test.pl ($srcdir): New variable.
6872 ($auto_input): Use it.
6873
af37a8a3
SP
68742014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6875
d7b00f98
SP
6876 [BZ #16506]
6877 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6878 access beyond array bounds when parsing netgroups file.
6879
af37a8a3
SP
6880 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6881 the old buffer before realloc.
6882
0c00f062
AM
68832014-01-27 Allan McRae <allan@archlinux.org>
6884
6885 * po/fr.po: Update French translation from translation project.
6886
7d69a1b0
KK
68872014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6888
6889 * sysdeps/sh/libm-test-ulps: Regenerate.
6890
6e697ff7
DM
68912014-01-24 David S. Miller <davem@davemloft.net>
6892
6893 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6894
9cadb35c
KK
68952014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6896
6897 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6898 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6899
5d41dadf
SP
69002013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6901
6902 [BZ #16474]
6903 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6904 string pointers after reallocation.
6905
0bad441c
KK
69062014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6907
6908 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6909 __SH4A__ instead of __SH_FPU_ANY__.
6910
7007c661
KK
69112014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6912
6913 * sysdeps/sh/fpu_control.h: New file.
6914 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6915 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6916 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6917 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6918 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6919 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6920 * sysdeps/sh/sys/ucontext.h: Remove.
6921 * sysdeps/sh/sys: Remove directory.
6922
0f0c35e4
AK
69232014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6924
6925 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6926 s390/sys/ucontext.h.
6927 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6928 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6929
4959e284
L
69302014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6931
6932 [BZ #15605]
6933 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6934
d98720e0
AZ
69352014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6936
6937 [BZ#16431]
6938 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6939 Adjust the vDSO correctly for internal calls.
6940 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6941
91cbd0bc
AM
69422014-01-20 Allan McRae <allan@archlinux.org>
6943
6944 * po/ca.po: Update Catalan translation from translation project.
6945
7a02cfad
MF
69462014-01-16 Mike Frysinger <vapier@gentoo.org>
6947
6948 * sysdeps/s390/sotruss-lib.c: New file.
6949
736c304a
AZ
69502014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6951
6952 [BZ#16430]
6e077ee5 6953 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6954 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6955 local calls issues by not having a PLT stub required for IFUNC calls.
6956 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6957
94d0cea0
JM
69582014-01-16 Joseph Myers <joseph@codesourcery.com>
6959
6960 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6961 * math/test-fpucw-static.c: Likewise.
6962
980cb518
SP
69632013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6964
6965 [BZ #16453]
6966 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6967
2393fc01
AZ
69682014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6969
6970 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6971 implementation for powerpc.
6972
d359bcc2
OB
69732014-01-15 Ondřej Bílka <neleai@seznam.cz>
6974
6975 [BZ #14782]
6976 * sysdeps/posix/system.c (__libc_system): Do not enable
6977 asynchronous cancellation.
6978
7beb48cb
AK
69792014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6980
6981 [BZ #16427]
6982 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6983 handling only for numbers special also in the IEEE case.
6984
c20d5bf5
AK
69852014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6986
6987 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6988
e83bd4ee
AM
69892014-01-11 Allan McRae <allan@archlinux.org>
6990
76d0ea69
AM
6991 * po/bg.po: Update Bulgarian translation from translation project.
6992
e83bd4ee
AM
6993 * po/de.po: Update German translation from translation project.
6994
bc2ba20a
RM
69952014-01-10 Roland McGrath <roland@hack.frob.com>
6996
6997 * sysdeps/generic/gcc-compat.h: New file.
6998
649ecea2
SP
69992014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7000
7001 * benchtests/asin-inputs: Correct slow inputs.
7002 * benchtests/acos-inputs: Likewise.
7003
1b19c006
AM
70042014-01-10 Allan McRae <allan@archlinux.org>
7005
a46dab08
AM
7006 * po:sv.po: Update Swedish translation from translation project.
7007
421df74a
AM
7008 * po/vi.po: Update Vietnamese translation from translation project.
7009
d61c51a7
AM
7010 * po/eo.po: Update Esperanto translation from translation project.
7011
0339a319
AM
7012 * po/cs.po: Update Czech translation from translation project.
7013
94ad3e99
AM
7014 * po/nl.po: Update Dutch translation from translation project.
7015
e349ca71
AM
7016 * po/pl.po: Update Polish translation from translation project.
7017
ddf930c1
AM
7018 * po/ru.po: Update Russian translation from translation project.
7019
1b19c006
AM
7020 * po/uk.po: Update Ukrainian translation from translation project.
7021
9f236c49
BM
70222014-01-08 Brooks Moses <bmoses@google.com>
7023
7024 * elf/dl-load.c: Fix comment typo.
7025
cd6701cf
CD
70262014-01-08 Carlos O'Donell <carlos@redhat.com>
7027
7028 * po/header.pot: Rename to...
7029 * po/pot.header: ... this.
7030 * po/Makefile: Use pot.header.
7031
66671c84
YK
70322014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7033 Maxim Kuvyrkov <maxim@kugelworks.com>
7034
7035 [BZ #16394]
cd6701cf
CD
7036 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7037 SRC and DEST against LEN.
66671c84 7038
38f34581
AZ
70392014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7040
7041 [BZ #16414]
7042 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7043 implementation.
7044 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7045
70462014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7047
7048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7049
4c327f2a
JM
70502014-01-08 Joseph Myers <joseph@codesourcery.com>
7051
7052 [BZ #16408]
7053 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7054 for large positive arguments.
7055
b821f414
JM
70562014-01-07 Joseph Myers <joseph@codesourcery.com>
7057
1f0f2067
JM
7058 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7059
a5a326f6
JM
7060 * math/auto-libm-test-in: Mark various tests with
7061 xfail-rounding:ldbl-128ibm.
7062 * math/auto-libm-test-out: Regenerated.
7063
b821f414
JM
7064 [BZ #16407]
7065 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7066 Increase overflow threshold.
7067
94c8a4bc
OB
70682014-01-07 Ondřej Bílka <neleai@seznam.cz>
7069
7070 [BZ #14286]
7071 * stdio-common/vfprintf.c: Check for integer overflow.
7072
87ded0c3
AK
70732014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7074
7075 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7076 the first argument and return value of __tls_get_addr_internal.
7077
c5eebdd0
AK
70782014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7079
7080 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7081 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7082
05d138ef
AK
70832014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7084
7085 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7086 * sysdeps/s390/rtld-global-offsets.sym: New file.
7087 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7088 GLIBC_2.19 symbol.
7089 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7090 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7091 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7092 ... this.
7093 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7094 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7095 ... this.
7096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7097 Regenerate.
7098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7099 Regenerate.
7100 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7101 halfs of GPRs for high_gprs contexts.
7102 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7103 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7104 field.
7105 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7106 uc_flags field.
7107 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7108 64 bit versions:
7109 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7110 for high GPRs (uc_high_gprs) and for future extensions
7111 (__reserved).
7112 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7113 for future extensions (__reserved).
7114 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7115 64 bit versions:
7116 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7117 SC_HIGHGPRS offset definition.
7118 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7119 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7120
93a45ff1
AK
7121 * Versions.def: Add GLIBC_2.19 for libpthread.
7122 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7123 siglongjmp for libpthread with GLIBC_2.19 symver.
7124 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7125 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7126 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7127 * sysdeps/s390/__longjmp.c: New file.
7128 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7129 * sysdeps/s390/longjmp.c: New file.
7130 * sysdeps/s390/setjmp.S: New file.
7131 * sysdeps/s390/sigjmp.S: New file.
7132 * sysdeps/s390/v1-longjmp.c: New file.
7133 * sysdeps/s390/v1-setjmp.h: New file.
7134 * sysdeps/s390/v1-sigjmp.c: New file.
7135 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7136 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7137 GLIBC_2.19 version.
7138 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7139 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7140 versioned symbols for ____longjmp_chk.
7141 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7142 Likewise.
7143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7144 Regenerate.
7145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7146 Regenerate.
7147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7148 Regenerate.
7149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7150 Regenerate.
7151 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7152 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7153 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7154 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7155 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7156 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7157 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7158 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7159 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7160 * sysdeps/s390/rtld-__longjmp.c: New file.
7161 * sysdeps/s390/rtld-setjmp.S: New file.
7162
eb3fc44b
JM
71632014-01-06 Joseph Myers <joseph@codesourcery.com>
7164
7165 [BZ #16400]
7166 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7167 Return -__logl (x) for small positive arguments without evaluating
7168 a polynomial.
7169
9341dde4
MF
71702014-01-06 Mike Frysinger <vapier@gentoo.org>
7171
7172 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7173 Rename to ...
7174 (__ptrace_peeksiginfo_args): ... this.
7175 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7176 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7177 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7178
4cff0293
AM
71792014-01-06 Allan McRae <allan@archlinux.org>
7180
7181 * inet/netinet/in.h: Fix typo in comment.
7182
75595dcf
AJ
71832014-01-05 Andreas Jaeger <aj@suse.de>
7184
7185 * sysdeps/i386/fpu/libm-test-ulps: Update.
7186
79c1e109
AM
71872014-01-05 Allan McRae <allan@archlinux.org>
7188
dd804818
AM
7189 * po/libc.pot: Regenerated.
7190
79c1e109
AM
7191 * malloc/memusagestat.c: Fix gettext call formatting.
7192
0c813d1f
SK
71932014-01-04 Sami Kerola <kerolasa@iki.fi>
7194
7195 * nscd/nscd.c: Improve usage() output.
7196
20f4a8d9
MF
71972014-01-04 Mike Frysinger <vapier@gentoo.org>
7198
7199 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7200 * sysdeps/unix/sysv/linux/configure: Regenerated.
7201 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7202 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7203
22562bb2
JM
72042014-01-03 Joseph Myers <joseph@codesourcery.com>
7205
7206 [BZ #16390]
7207 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7208 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7209
d7ad2d9b
AZ
72102014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7211
7212 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7213 extra tokens at end of #undef directive.
7214 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7215 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7216 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7217
7dd009d8
JM
72182014-01-03 Joseph Myers <joseph@codesourcery.com>
7219
24db925a
JM
7220 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7221
7dd009d8
JM
7222 * math/auto-libm-test-in: Mark various tests with
7223 xfail-rounding:ldbl-128ibm.
7224 * math/auto-libm-test-out: Regenerated.
7225
396e3ecf
JM
72262014-01-02 Joseph Myers <joseph@codesourcery.com>
7227
819e5d50
JM
7228 [BZ #16386]
7229 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7230 numbers with subnormal high part when calculating exponent.
7231
90b6a1e5
JM
7232 [BZ #16385]
7233 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7234 fabs.
7235
396e3ecf
JM
7236 [BZ #16384]
7237 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7238 M_LN2l.
7239 (__ieee754_acoshl): Use __log1pl not __log1p.
7240
6c8dbf00
OB
72412013-01-02 Ondřej Bílka <neleai@seznam.cz>
7242
57f41c40
AS
7243 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7244 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7245 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7246 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7247 (reused_arena, arena_get2): Convert to GNU style.
7248 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7249 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7250 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 7251 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
7252 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7253 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7254 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7255 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7256 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7257 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 7258 * malloc/malloc.h: Likewise.
57f41c40
AS
7259 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7260 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 7261 * malloc/mcheck.h: Likewise.
57f41c40
AS
7262 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7263 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
7264 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7265 * malloc/morecore.c (__default_morecore): Likewise.
7266 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
7267 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7268 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7269 (print_and_abort): Likewise.
6c8dbf00
OB
7270 * malloc/obstack.h: Likewise.
7271 * malloc/set-freeres.c (__libc_freeres): Likewise.
7272 * malloc/tst-mallocstate.c (main): Likewise.
7273 * malloc/tst-mtrace.c (main): Likewise.
7274 * malloc/tst-realloc.c (do_test): Likewise.
7275
d4124212
SP
72762013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7277
9a3c6a6f
SP
7278 [BZ #16366]
7279 * nscd/netgroupcache.c (do_notfound): New function.
7280 (addgetnetgrentX): Use it.
7281
d4124212
SP
7282 [BZ # 16365]
7283 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7284 NSS_STATUS_NOTFOUND.
7285
97b9a009
JM
72862014-01-01 Joseph Myers <joseph@codesourcery.com>
7287
7288 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7290
d4697bc9
AM
72912014-01-01 Allan McRae <allan@archlinux.org>
7292
ddb3687f
AM
7293 * scripts/update-copyrights: Update configure input file suffix.
7294
88726d48
AM
7295 * NEWS: Update copyright year.
7296 * catgets/gencat.c: Likewise.
7297 * csu/version.c: Likewise.
7298 * debug/catchsegv.sh: Likewise.
7299 * debug/pcprofiledump.c: Likewise.
7300 * debug/xtrace.sh: Likewise.
7301 * elf/ldconfig.c: Likewise.
7302 * elf/ldd.bash.in: Likewise.
7303 * elf/pldd.c: Likewise.
7304 * elf/sotruss.ksh: Likewise.
7305 * elf/sprof.c: Likewise.
7306 * iconv/iconv_prog.c: Likewise.
7307 * iconv/iconvconfig.c: Likewise.
7308 * locale/programs/locale.c: Likewise.
7309 * locale/programs/localedef.c: Likewise.
7310 * login/programs/pt_chown.c: Likewise.
7311 * malloc/memusage.sh: Likewise.
7312 * malloc/memusagestat.c: Likewise.
7313 * malloc/mtrace.pl: Likewise.
7314 * manual/libc.texinfo: Likewise.
7315 * nscd/nscd.c: Likewise.
7316 * nss/getent.c: Likewise.
7317 * nss/makedb.c: Likewise.
7318 * posix/getconf.c: Likewise.
7319 * scripts/test-installation.pl: Likewise.
7320
d4697bc9
AM
7321 * All files with FSF copyright notices: Update copyright dates
7322 using scripts/update-copyrights.
7323 * intl/plural.c: Regenerated.
7324 * locale/programs/charmap-kw.h: Likewise.
7325 * locale/programs/locfile-kw.h: Likewise.
7326
c8590f9d
MF
73272013-12-31 Mike Frysinger <vapier@gentoo.org>
7328
7329 * sysdeps/unix/sysv/linux/configure: Regenerated.
7330 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7331 the linux/fanotify.h header.
7332 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7333 HAVE_LINUX_FANOTIFY_H is defined.
7334
b19221b9
SP
73352013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7336
dd1d85e5
SP
7337 * benchtests/cos-inputs: New inputs.
7338 * benchtests/sin-inputs: Likewise.
7339
1acbb90f
SP
7340 * benchtests/atan-inputs: New inputs. Fix name of multiple
7341 precision fallback inputs.
7342
4c012ed3
SP
7343 * benchtests/atanh-inputs: New inputs.
7344 * benchtests/tanh-inputs: Likewise.
7345
eff98324
SP
7346 * benchtests/acosh-inputs: New inputs.
7347 * benchtests/asinh-inputs: Likewise.
7348
ce641152
SP
7349 * benchtests/cosh-inputs: New inputs.
7350 * benchtests/sinh-inputs: Likewise.
7351
b19221b9
SP
7352 * benchtests/acos-inputs: Add more inputs.
7353 * benchtests/asin-inputs: Likewise.
7354
030a4976 73552013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 7356
030a4976 7357 [BZ #16375]
9dcc8f11
VS
7358 * manual/arith.texi: Fix spelling.
7359 * manual/charset.texi: Likewise.
7360 * manual/errno.texi: Likewise.
7361 * manual/filesys.texi: Likewise.
7362 * manual/lang.texi: Likewise.
7363 * manual/llio.texi: Likewise.
7364 * manual/locale.texi: Likewise.
7365 * manual/message.texi: Likewise.
7366 * manual/resource.texi: Likewise.
7367 * manual/search.texi: Likewise.
7368 * manual/setjmp.texi: Likewise.
7369 * manual/stdio.texi: Likewise.
7370 * manual/string.texi: Likewise.
7371 * manual/sysinfo.texi: Likewise.
7372 * manual/time.texi: Likewise.
7373
11520a57
CD
73742013-12-27 Carlos O'Donell <carlos@redhat.com>
7375
7376 * po/sl.po: New file.
7377
471103ae
MF
73782013-12-27 Mike Frysinger <vapier@gentoo.org>
7379
7380 * .gitignore: Add core/.gdbinit/.gdb_history.
7381
6c9642ed
AM
73822013-12-27 Allan McRae <allan@archlinux.org>
7383
7384 [BZ #16369]
7385 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7386 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7387
3f637079
BM
73882013-12-24 Brooks Moses <bmoses@google.com>
7389
7390 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7391 all compilers that claim C++98 compliance, not just GCC.
7392 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7393 Likewise.
7394
abc26e99
MK
73952013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7396
7397 * NEWS: Restore accidentally deleted bug-fix entries.
7398
362b47fe
MK
73992013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7400 Ondřej Bílka <neleai@seznam.cz>
7401
7402 [BZ #15073]
7403 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7404 have_lock.
362b47fe 7405
b9bcbbcb
OB
74062013-12-23 Ondřej Bílka <neleai@seznam.cz>
7407
7408 [BZ #12986]
7409 * manual/stdio.texi (String Input Conversions): Clarify that character
7410 classes are not supported.
7411
fb55fcd2
AZ
74122013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7413
7414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7415
ef7344f0
JM
74162013-12-22 Joseph Myers <joseph@codesourcery.com>
7417
4f40e4b3
JM
7418 [BZ #16337]
7419 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7420 Calculate results for small negative arguments directly rather
7421 than using reflection formula with special underflow handling.
7422
ef7344f0
JM
7423 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7424 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7425 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7426 (fchflags): Likewise.
7427 (revoke): Likewise.
7428 (setlogin): Likewise.
7429 (sigaltstack): Likewise.
7430 (wait4): Likewise.
7431 (sigblock): Remove.
7432 (sigsetmask): Likewise.
7433 (wait3): Likewise.
7434 (waitpid): Likewise.
7435 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7436 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7437 file.
7438 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7439 * sysdeps/unix/bsd/Makefile: ... here.
7440 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7441 * sysdeps/unix/bsd/Versions: ... here.
7442 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7443 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7444 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7445 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7446 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7447 * sysdeps/unix/bsd/sigblock.c: ... here.
7448 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7449 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7450 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7451 * sysdeps/unix/bsd/sigvec.c: ... here.
7452 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7453 * sysdeps/unix/bsd/tcdrain.c: ... here.
7454 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7455 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7456 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7457 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7458 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7459 * sysdeps/unix/bsd/wait.c: ... here.
7460 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7461 * sysdeps/unix/bsd/wait3.c: ... here.
7462 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7463 * sysdeps/unix/bsd/waitpid.c: ... here.
7464
5b0626b9
JM
74652013-12-21 Joseph Myers <joseph@codesourcery.com>
7466
7467 [BZ #16356]
7468 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7469 round-to-nearest for [!USE_AS_EXPM1L].
7470 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7471 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7472 more tests of exp and exp10. Expect some exp10 tests to miss
7473 exceptions or fail in directed rounding modes.
7474 * math/auto-libm-test-out: Regenerated.
7475 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7476 (exp10_test_tonearest): New function.
7477 (exp10_towardzero_test_data): New array.
7478 (exp10_test_towardzero): New function.
7479 (exp10_downward_test_data): New array.
7480 (exp10_test_downward): New function.
7481 (exp10_upward_test_data): New array.
7482 (exp10_test_upward): New function.
7483 (main): Call the new functions.
7484 * sysdeps/i386/fpu/libm-test-ulps: Update.
7485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7486
7fda5682
JM
74872013-12-20 Joseph Myers <joseph@codesourcery.com>
7488
31e3a405
JM
7489 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7490 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7491 * math/auto-libm-test-out: Regenerated.
7492 * math/libm-test.inc (acosh_test_data): Add more tests.
7493 (atanh_test_data): Likewise.
7494 (ceil_test_data): Likewise.
7495 (copysign_test_data): Likewise.
7496 * sysdeps/i386/fpu/libm-test-ulps: Update.
7497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7498
85bff96a
JM
7499 * timezone/checktab.awk: Update from tzcode 2013i.
7500 * timezone/private.h: Likewise.
7501 * timezone/scheck.c: Likewise.
7502 * timezone/tzfile.h: Likewise.
7503 * timezone/tzselect.ksh: Likewise.
7504 * timezone/zdump.c: Likewise.
7505 * timezone/zic.c: Likewise.
7506
b7867a3b
JM
7507 * math/auto-libm-test-in: Add tests of cpow.
7508 * math/auto-libm-test-out: Regenerated.
7509 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 7510 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
7511 mpc_cc_c.
7512 (func_calc_desc): Add mpc_cc_c union field.
7513 (test_functions): Add cpow.
7514 (special_fill_2pi): New function.
7515 (special_real_inputs): Add 2pi.
7516 (calc_generic_results): Handle mpc_cc_c.
7517 * sysdeps/i386/fpu/libm-test-ulps: Update.
7518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7519
7fda5682
JM
7520 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7521 csqrt, ctan and ctanh.
7522 * math/auto-libm-test-out: Regenerated.
7523 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7524 (TEST_COND_x86): Likewise.
7525 (ccos_test_data): Use AUTO_TESTS_c_c.
7526 (ccosh_test_data): Likewise.
7527 (cexp_test_data): Likewise.
7528 (clog_test_data): Likewise.
7529 (csqrt_test_data): Likewise.
7530 (ctan_test_data): Likewise.
7531 (ctan_tonearest_test_data): Likewise.
7532 (ctan_towardzero_test_data): Likewise.
7533 (ctan_downward_test_data): Likewise.
7534 (ctan_upward_test_data): Likewise.
7535 (ctanh_test_data): Likewise.
7536 (ctanh_tonearest_test_data): Likewise.
7537 (ctanh_towardzero_test_data): Likewise.
7538 (ctanh_downward_test_data): Likewise.
7539 (ctanh_upward_test_data): Likewise.
7540 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7541 mpc_c_c.
7542 (func_calc_desc): Add mpc_c_c union field.
7543 (FUNC_mpc_c_c): New macro.
7544 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7545 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7546 ctanh.
7547 (special_fill_min_subnorm_p120): New function.
7548 (special_real_inputs): Add min_subnorm_p120.
7549 (calc_generic_results): Handle mpc_c_c.
7550 * sysdeps/i386/fpu/libm-test-ulps: Update.
7551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7552
5ff8d60e
SP
75532013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7554
57f41c40
AS
7555 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7556 (do_sin_slow): New functions.
7557 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7558 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7559
84ba214c
SP
7560 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7561 Use M to change sign of result instead of X. Assume X is
7562 positive.
7563 (csloww1): Likewise.
7564 (__sin): Adjust.
7565 (__cos): Adjust.
7566
975195e4
SP
7567 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7568 arguments A and DA.
7569 (__sin): Adjust.
7570 (__cos): Likewise.
7571
5ff8d60e
SP
7572 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7573 (__cos): Likewise.
7574 (sloww1): Don't adjust sign of DX.
7575 (csloww1): Likewise.
7576 (sloww2): Use X directly and don't adjust sign of DX.
7577 (csloww2): Likewise.
7578
eb983568
JM
75792013-12-19 Joseph Myers <joseph@codesourcery.com>
7580
64a17f1a
JM
7581 * math/auto-libm-test-in: Add tests of cabs and carg.
7582 * math/auto-libm-test-out: Regenerated.
7583 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7584 (carg_test_data): Likewise.
7585 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7586 mpc_c_f.
7587 (func_calc_desc): Add mpc_c_f union field.
7588 (test_functions): Add cabs and carg.
7589 (calc_generic_results): Handle mpc_c_f.
7590
eb983568
JM
7591 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7592 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7593 as a macro and a compat symbol.
7594 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7595 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7596 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7597 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7598 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7599 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7600 not use .hidden.
7601 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7602 Likewise.
7603 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7604 Likewise.
7605 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7606 Likewise.
7607 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7608 Likewise.
7609 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7610 Likewise.
7611 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7612 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7613 from GLIBC_2.3.2.
7614
6eeb678a
AZ
76152013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7616
7617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7618
6f6fc482
JM
76192013-12-19 Joseph Myers <joseph@codesourcery.com>
7620
21fea2e2
JM
7621 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7622 trailing whitespace removed.
7623 * scripts/config.guess: Update to version 2013-11-29.
7624 * scripts/config.sub: Update to version 2013-10-01.
7625
6f6fc482
JM
7626 * math/auto-libm-test-in: Add tests of sincos.
7627 * math/auto-libm-test-out: Regenerated.
7628 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7629 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7630 mpfr_f_11.
7631 (func_calc_desc): Add mpfr_f_11 union field.
7632 (test_functions): Add sincos.
7633 (calc_generic_results): Handle mpfr_f_11.
7634 * sysdeps/i386/fpu/libm-test-ulps: Update.
7635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7636
83f5c32d
AS
76372013-12-19 Andreas Schwab <schwab@suse.de>
7638
7639 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7640 CALL_MCOUNT.
7641 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7642 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7643 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7644
c688b419
JM
76452013-12-19 Joseph Myers <joseph@codesourcery.com>
7646
335ee092
JM
7647 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7648 * sysdeps/i386/fpu/libm-test-ulps: Update.
7649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7650
f88acd39
JM
7651 [BZ #16293]
7652 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7653 round-to-nearest mode when using frndint.
7654 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7655 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7656 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7657 Likewise.
7658 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7659 sinh test to fail.
7660 * math/auto-libm-test-out: Regenerated.
7661 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7662 (TEST_COND_x86): Likewise.
7663 (expm1_tonearest_test_data): New array.
7664 (expm1_test_tonearest): New function.
7665 (expm1_towardzero_test_data): New array.
7666 (expm1_test_towardzero): New function.
7667 (expm1_downward_test_data): New array.
7668 (expm1_test_downward): New function.
7669 (expm1_upward_test_data): New array.
7670 (expm1_test_upward): New function.
7671 (main): Run the new test functions.
7672 * sysdeps/i386/fpu/libm-test-ulps: Update.
7673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7674
c688b419
JM
7675 * include/features.h: Update comment documenting feature test
7676 macros. Mention _DEFAULT_SOURCE in comment.
7677 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7678 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7679 _BSD_SOURCE and _SVID_SOURCE.
7680 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7681 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7682 !_SVID_SOURCE]: Likewise.
7683 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7684 (__USE_POSIX_IMPLICITLY): Define.
7685 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7686 (_POSIX_SOURCE): Undefine and redefine.
7687 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7688 (_POSIX_C_SOURCE): Likewise.
7689 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7690 (Feature Test Macros): Update documentation of default features.
7691
9f6e964c
RS
76922013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7693
7694 * benchtests/Makefile: Add bench-strtok.
7695 * benchtests/bench-strtok.c: New file: strtok benchtest.
7696
ee0a148a
AM
76972013-12-19 Allan McRae <allan@archlinux.org>
7698
7699 * manual/install.texi: Suppress menu for plain text output.
7700 * INSTALL: Regenerated.
7701
b9ab448f
BM
77022013-12-18 Brooks Moses <bmoses@google.com>
7703
7704 [BZ #15846]
7705 * misc/getauxval.c: Include errno.h.
7706 (__getauxval): Set errno to ENOENT if the requested type is not
7707 found.
7708 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7709 don't declare with __attribute_const__.
7710 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7711 * manual/startup.texi: Document that getauxval sets errno.
7712
23776487
JM
77132013-12-18 Joseph Myers <joseph@codesourcery.com>
7714
f889953b
JM
7715 * math/auto-libm-test-in: Add tests of jn and yn.
7716 * math/auto-libm-test-out: Regenerated.
7717 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7718 (yn_test_data): Likewise.
7719 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7720 mpfr_if_f.
7721 (func_calc_desc): Add mpfr_if_f union field.
7722 (FUNC_mpfr_if_f): New macro.
7723 (test_functions): Add jn and yn.
7724 (calc_generic_results): Assert type of second input for
7725 mpfr_ff_f. Handle mpfr_if_f.
7726 (output_for_one_input_case): Disable all checking for arguments
7727 fitting floating-point types in case of an integer argument.
7728 * sysdeps/i386/fpu/libm-test-ulps: Update.
7729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7730
23776487
JM
7731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7732 Don't expect fegetround reference in libm.so.
7733
cb756c6d
MS
77342013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7735
7736 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7737 $(config-cflags-nofma).
7738
2dec468f
JM
77392013-12-18 Joseph Myers <joseph@codesourcery.com>
7740
5953eb3a
JM
7741 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7742 * math/auto-libm-test-out: Regenerated.
7743
2dec468f
JM
7744 [BZ #16338]
7745 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7746 to determine exponent and adjust argument to have exponent of -1.
7747 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7748 log2.
7749 * math/auto-libm-test-out: Regenerated.
7750 * sysdeps/i386/fpu/libm-test-ulps: Update.
7751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7752
4d84e6ad
OB
77532013-12-18 Ondřej Bílka <neleai@seznam.cz>
7754
7755 * manual/probes.texi: Remove cases when per-thread arenas are
7756 disabled.
7757
1818483b
AS
77582013-12-18 Andreas Schwab <schwab@suse.de>
7759
7760 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7761 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7762 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7763 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7764 * sysdeps/i386/i686/multiarch/Makefile: Update.
7765 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7766
25de95bf
JM
77672013-12-17 Joseph Myers <joseph@codesourcery.com>
7768
7769 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7770 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7771
674762d9
PE
77722013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7773
ed27ed83 7774 [BZ #15968]
0748546f
PE
7775 Support TZ transition times < 00:00:00.
7776 This is needed for version-3 tz-format files; it supports time
7777 stamps past 2037 for America/Godthab (the only entry in the tz
7778 database for which this change is relevant).
7779 * manual/time.texi (TZ Variable): Document transition times
7780 from -167:59:59 through -00:00:01.
7781 * time/tzset.c (tz_rule): Time of day is now signed.
7782 (__tzset_parse_tz): Parse negative time of day.
7783
4480e934
PE
7784 Document TZ transition times >= 25:00:00.
7785 * manual/time.texi (TZ Variable): Document transition times from
7786 25:00:00 through 167:59:59. These are already supported, and this
7787 support will help with version-3 tz-format files.
7788
69947401
PE
7789 * manual/time.texi (TZ Variable): Modernize North America example
7790 to reflect current (i.e., 2007-and-later) daylight saving rules.
7791
674762d9
PE
7792 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7793
7011c262
JM
77942013-12-17 Joseph Myers <joseph@codesourcery.com>
7795
2fc6557e
JM
7796 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7797 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7798 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7799 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7800 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7801 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7802 * sysdeps/unix/bsd/clock.c: Likewise.
7803 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7804 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7805 * sysdeps/unix/bsd/init-posix.c: Likewise.
7806 * sysdeps/unix/bsd/poll.c: Likewise.
7807 * sysdeps/unix/bsd/ptsname.c: Likewise.
7808 * sysdeps/unix/bsd/seekdir.c: Likewise.
7809 * sysdeps/unix/bsd/setegid.c: Likewise.
7810 * sysdeps/unix/bsd/seteuid.c: Likewise.
7811 * sysdeps/unix/bsd/setgid.c: Likewise.
7812 * sysdeps/unix/bsd/setrgid.c: Likewise.
7813 * sysdeps/unix/bsd/setruid.c: Likewise.
7814 * sysdeps/unix/bsd/setsid.c: Likewise.
7815 * sysdeps/unix/bsd/setuid.c: Likewise.
7816 * sysdeps/unix/bsd/sigaction.c: Likewise.
7817 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7818 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7819 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7820 * sysdeps/unix/bsd/telldir.c: Likewise.
7821 * sysdeps/unix/bsd/times.c: Likewise.
7822 * sysdeps/unix/bsd/usleep.c: Likewise.
7823
029c7b25
JM
7824 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7825 ($(objpfx)libbsd-compat.a): Remove rule.
7826
7011c262
JM
7827 * include/features.h (__FAVOR_BSD): Do not define.
7828 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7829 features conflicting with POSIX.
7830 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7831 (_BSD_SOURCE): Remove description of not being a subset of other
7832 feature test macros.
7833 * manual/job.texi (getpgrp): Do not document BSD version.
7834 (getpgid): Do not document by reference to BSD getpgrp.
7835 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7836 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7837 * signal/signal.h [__FAVOR_BSD]: Likewise.
7838 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7839 instead of making contents conditional on [__FAVOR_BSD].
7840 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7841
affb6f78
AZ
78422013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7843
7844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7845
c88769dd
JM
78462013-12-17 Joseph Myers <joseph@codesourcery.com>
7847
6432a540
JM
7848 [BZ #16314]
7849 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7850 values below 2**-450, not 2**-500.
7851 * math/auto-libm-test-in: Don't allow spurious underflow from
7852 hypot.
7853 * math/auto-libm-test-out: Regenerated.
7854
c88769dd
JM
7855 [BZ #16316]
7856 [BZ #16330]
7857 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7858 values of ha and hb and sort them after adjusting subnormal
7859 arguments.
7860 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7861 Likewise.
7862 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7863 values of ea and eb and sort them after adjusting subnormal
7864 arguments.
7865 * math/auto-libm-test-in: Do not expect some hypot tests of
7866 subnormals to fail. Add more hypot tests.
7867 * math/auto-libm-test-out: Regenerated.
7868
29618f6b
KK
78692013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7870
7871 [BZ #13304]
7872 * sysdeps/sh/s_fma.c: New file.
7873 * sysdeps/sh/s_fmaf.c: New file.
7874 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7875 version.
7876 * sysdeps/sh/Implies: Add sh/soft-fp.
7877
eacfdfbf
RM
78782013-12-16 Roland McGrath <roland@hack.frob.com>
7879
7880 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7881 level of indirection to members `objname', `errstring', `malloced'.
7882 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7883 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7884 it as the __longjmp argument (just pass 1 instead).
7885 (_dl_catch_error): Initialize C with argument pointers and address of
7886 volatile local ERRCODE rather than copying values out of C at return.
7887
ff362e5b
JM
78882013-12-16 Joseph Myers <joseph@codesourcery.com>
7889
7890 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7891 * math/auto-libm-test-out: Regenerated.
7892 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7893 (hypot_test_data): Likewise.
7894 (pow_test_data): Likewise.
7895 (pow_tonearest_test_data): Likewise.
7896 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7897 mpfr_ff_f.
7898 (func_calc_desc): Add mpfr_ff_f union field.
7899 (FUNC_mpfr_ff_f): New macro.
7900 (test_functions): Add atan2, hypot and pow.
7901 (special_fill_min): New function.
7902 (special_fill_minus_min): Likewise.
7903 (special_fill_min_subnorm): Likewise.
7904 (special_fill_minus_min_subnorm): Likewise.
7905 (special_real_inputs): Add min, -min, min_subnorm and
7906 -min_subnorm.
7907 (calc_generic_results): Handle mpfr_ff_f.
7908 * sysdeps/i386/fpu/libm-test-ulps: Update.
7909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7910
5764c27f
WN
79112013-12-16 Will Newton <will.newton@linaro.org>
7912
7913 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7914 (Aligned Memory Blocks): Add documentation for aligned_alloc
7915 and suggest it as an alternative to posix_memalign.
7916 (Hooks for Malloc): Document __memalign_hook is also called
7917 for aligned_alloc. (Summary of Malloc): Add summary for
7918 aligned alloc. Document __memalign_hook is also called
7919 for aligned_alloc.
7920
0a096e44
WN
79212013-12-16 Will Newton <will.newton@linaro.org>
7922
7923 * manual/memory.texi (Malloc Examples): Clarify default
7924 alignment documentation. Suggest posix_memalign rather
7925 than memalign or valloc.
7926 (Aligned Memory Blocks): Remove suggestion to use memalign
7927 or valloc. Remove obsolete comment about BSD.
7928 Document memalign errno values and mark the function obsolete.
7929 Document posix_memalign returned error codes. Mark valloc
7930 as obsolete. (Hooks for Malloc): __memalign_hook is also
7931 called for posix_memalign and valloc.
7932 (Summary of Malloc): Add posix_memalign to function summary.
7933 __memalign_hook is also called for posix_memalign and valloc.
7934
8d561986
SP
79352013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7936
7937 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7938 TAYLOR_SIN.
7939 (__sin): Adjust.
7940 (__cos): Likewise.
7941 (sloww): Use mynumber union. Expand ternary operator into
7942 if-else statements.
7943 (cslow): use mynumber union.
7944
73616a74
AM
79452013-12-16 Allan McRae <allan@archlinux.org>
7946
9e8ac24b
AM
7947 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7948 * configure: Regenerated.
7949
6f8e37eb
AM
7950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7951
8894bad3
AM
7952 [BZ #14120]
7953 * configure.ac: Added --enable-maintainer-mode. Check for
7954 autoconf when enabled.
7955 * configure: Regenerated.
7956
73616a74
AM
7957 * nscd/nscd.service: New file.
7958 * nscd/nscd.tmpfiles: New file.
7959
584b18eb
OB
79602013-12-14 Ondřej Bílka <neleai@seznam.cz>
7961
7962 [BZ #12100]
7963 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7964 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7965 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7966 (strstr): Add __strstr_sse2_unaligned ifunc.
7967 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7968 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7969 (strcasestr): Remove __strcasestr_sse42 ifunc.
7970 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7973
8a5c7897
KK
79742013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7975
7976 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7977 * sysdeps/sh/bits/fenv.h: ... here.
7978 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7979
fd712ef3
AZ
79802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7981
7982 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7983
42fcb46c
AZ
7984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7985 hypotf multiarch implementations.
7986 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7987 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7988 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7989 multiarch hypot for PPC64.
7990 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7991 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7992 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7993 multiarch hypotf for PPC64.
7994
83efded4
AZ
7995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7996 modff multiarch implementations.
7997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8000 multiarch modf for PPC64.
8001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8004 multiarch modff for PPC64.
8005
43e246d2
AZ
8006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8007 and logl multiarch implementations.
8008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8011 multiarch logb for PPC64.
8012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8015 multiarch logb for PPC64.
8016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8019 multiarch logb for PPC64.
8020
8fdad123
AZ
8021 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8022 isinff multiarch implementation.
8023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8024 file.
8025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8027 multiarch isinf for PPC64.
8028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8029 file.
8030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8031 multiarch isinff for PPC64.
8032
1481d706
AZ
8033 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8034 finitef multiarch implementation.
8035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8036 file.
8037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8039 multiarch finite for PPC64.
8040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8041 file.
8042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8043 multiarch finitef for PPC64.
8044
5ccd5fc8
AZ
8045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8046 lrint multiarch implementation.
8047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8048 file.
8049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8051 multiarch llrint for PPC64.
8052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8053 multiarch lrint for PPC64.
8054
2568f3fa
AZ
8055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8056 copysignf multiarch implementation.
8057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8058 file.
8059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8060 file.
8061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8062 multiarch copysign for PPC64.
8063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8064 multiarch copysignf for PPC64.
8065
1cb341fd
AZ
8066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8067 multiarch implementation.
8068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8069 file.
8070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8071 file.
8072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8073 file.
8074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8075 file.
8076 multiarch llround for PPC64.
8077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8078 multiarch trunc for PPC64.
8079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8080 multiarch truncf for PPC64.
8081
59a3e194
AZ
8082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8083 multiarch implementation.
8084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8085 file.
8086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8087 file.
8088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8089 file.
8090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8091 file.
8092 multiarch llround for PPC64.
8093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8094 multiarch round for PPC64.
8095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8096 multiarch roundf for PPC64.
8097
357fd3b4
AZ
8098 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8099 multiarch implementation.
8100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8101 file.
8102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8103 file.
8104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8105 file.
8106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8107 file.
8108 multiarch llround for PPC64.
8109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8110 multiarch floor for PPC64.
8111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8112 multiarch floorf for PPC64.
8113
96770f12
AZ
8114 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8115 multiarch implementation.
8116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8117 file.
8118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8119 file.
8120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8121 file.
8122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8123 file.
8124 multiarch llround for PPC64.
8125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8126 multiarch ceil for PPC64.
8127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8128 multiarch ceilf for PPC64.
8129
c3627f6e
AZ
8130 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8131 multiarch implementation.
8132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8133 file.
8134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8135 file.
8136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8137 file.
8138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8139 multiarch llround for PPC64.
8140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8141 multiarch lround for PPC64.
8142
b2284ad7
AZ
8143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8144 multiarch implementation.
8145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8148 file.
8149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8152 multiarch isnan for PPC64.
8153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8154 multiarch isnanf for PPC64.
8155
69bbc63d
AZ
8156 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8157 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8158 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8159 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8160 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8162
c24517c9
AZ
8163 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8164 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8165 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8167
a52374e8
AZ
8168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8169 multiarch implementations.
8170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8171 (__libc_ifunc_impl_list): Likewise.
8172 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8173 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8174 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8175 multiarch stpcpy for PPC64.
8176
7f5ec113
AZ
8177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8178 multiarch implementations.
8179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8180 (__libc_ifunc_impl_list): Likewise.
8181 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8182 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8183 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8184 multiarch strcpy for PPC64.
8185
e28bcd42
AZ
8186 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8187 redefine function name.
8188 (_wordcopy_fwd_dest_aligned): Likewise.
8189 (_wordcopy_bwd_aligned): Likewise.
8190 (_wordcopy_bwd_dest_aligned): Likewise.
8191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8192 multiarch implementations.
8193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8194 (__libc_ifunc_impl_list): Likewise.
8195 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8196 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8197 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8198 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8199 multiarch wcscpy for PPC64.
8200
92cacfce
AZ
8201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8202 multiarch implementations.
8203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8204 (__libc_ifunc_impl_list): Likewise.
8205 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8206 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8207 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8208 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8209 multiarch wcscpy for PPC64.
8210
7b714620
AZ
8211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8212 multiarch implementations.
8213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8214 (__libc_ifunc_impl_list): Likewise.
8215 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8216 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8217 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8218 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8219 multiarch wcsrchr for PPC64.
8220
16fd2ae3
AZ
8221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8222 multiarch implementations.
8223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8224 (__libc_ifunc_impl_list): Likewise.
8225 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8226 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8227 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8228 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8229 multiarch wcschr for PPC64.
8230
9ee2969b
AZ
8231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8232 multiarch implementations.
8233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8234 (__libc_ifunc_impl_list): Likewise.
8235 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8236 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8237 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8238 multiarch strchrnul for PPC64.
8239
372dc060
AZ
8240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8241 implementations.
8242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8243 (__libc_ifunc_impl_list): Likewise.
8244 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8245 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8246 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8247 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8248 strchr for PPC64.
8249
24c2c3b9
AZ
8250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8251 implementations.
8252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8253 (__libc_ifunc_impl_list): Likewise.
8254 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8255 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8256 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8257 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8258 strncmp for PPC64.
8259
1c92d9a0
AZ
8260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8261 multiarch implementations.
8262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8263 (__libc_ifunc_impl_list): Likewise.
8264 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8265 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8266 strncasecmp for PPC64.
8267 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8268 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8269 multiarch strncasecmp_l for PPC64.
8270
17de3ee3
AZ
8271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8272 multiarch implementations.
8273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8274 (__libc_ifunc_impl_list): Likewise.
8275 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8276 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8277 multiarch strcasecmp for PPC64.
8278 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8279 file.
8280 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8281 multiarch strcasecmp_l for PPC64.
8282
62982bf9
AZ
8283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8284 implementations.
8285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8286 (__libc_ifunc_impl_list): Likewise.
8287 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8288 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8289 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8290 strnlen for PPC64.
8291
a65f4904
AZ
8292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8293 implementations.
8294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8295 (__libc_ifunc_impl_list): Likewise.
8296 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8297 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8298 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8299 strlen for PPC64.
8300
1fd005ad
AZ
8301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8302 implementations.
8303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8304 (__libc_ifunc_impl_list): Likewise.
8305 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8306 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8307 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8308 rawmemrchr for PPC64.
8309
cd05ba91
AZ
8310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8311 implementation.
8312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8313 (__libc_ifunc_impl_list): Likewise.
8314 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8315 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8316 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8317 memrchr for PPC64.
8318
870f8676
AZ
8319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8320 implementation.
8321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8322 (__libc_ifunc_impl_list): Likewise.
8323 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8324 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8325 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8326 memchr for PPC64.
8327
f00be62b
AZ
8328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8329 implementation.
8330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8331 (__libc_ifunc_impl_list): Likewise.
8332 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8333 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8334 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8335 mempcpy for PPC64.
8336
8a29a3d0
AZ
8337 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8338 avoid cretion of __bzero symbol.
8339 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8340 Likewise.
8341 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8342 Likewise.
8343 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8344 Likewise.
8345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8346 multiarch implementations.
8347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8348 (__libc_ifunc_impl_list): Likewise.
8349 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8350 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8351 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8352 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8353 bzero for PPC32.
8354 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8355 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8356 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8357 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8358 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8359 memset for PPC64.
8360 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8361
07253fcf
AZ
8362 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8364 implementations.
8365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8366 (__libc_ifunc_impl_list): Likewise.
8367 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8368 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8369 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8370 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8371 memcmp for PPC64.
8372
b5beafbc
AZ
8373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8374 multiarch for POWER/PPC64.
8375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8376 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8377 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8378 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8379 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8380 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8381 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8382 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8383 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8384 memcpy for PPC64.
8385
5e6a4d4b
AZ
8386 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8387 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8388 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8389 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8390 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8391 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8392 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8393 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8394 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8395 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8396 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8397 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8398 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8399 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8400 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8408
ddfab6dc
KK
84092013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8410
8411 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8412
19b5525e
SP
84132013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8414
8415 * benchtests/Makefile (bench): Add exp2 and log2.
8416 (LDLIBS-bench-exp2): Add -lm.
8417 (LDLIBS-bench-log2): Likewise.
8418 * benchtests/exp2-inputs: New inputs file.
8419 * benchtests/log2-inputs: New inputs file.
8420 * benchtests/log-inputs: Add new inputs.
8421 * benchtests/tan-inputs: Likewise.
8422
196f7f5d
SP
84232013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8424
7a74607f
SP
8425 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8426 definition...
57f41c40
AS
8427 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8428 (csloww2): ... from here.
7a74607f 8429
196f7f5d
SP
8430 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8431 instead of structures.
8432 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8433 (POLYNOMIAL): Likewise.
8434 (TAYLOR_SLOW): Likewise.
8435 (__sin): Likewise.
8436 (__cos): Likewise.
8437 (slow1): Likewise.
8438 (slow2): Likewise.
8439 (sloww): Likewise.
8440 (sloww1); Likewise.
8441 (sloww2): Likewise.
8442 (bsloww1): Likewise.
8443 (bsloww2): Likewise.
8444 (cslow2): Likewise.
8445 (csloww): Likewise.
8446 (csloww1): Likewise.
8447 (csloww2): Likewise.
8448
0dfa665c
OB
84492013-12-10 Ondřej Bílka <neleai@seznam.cz>
8450
8451 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8452 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8453 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8454 * malloc/hooks.c (realloc_check): Likewise.
8455
5782a80f
OB
8456 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8457 * malloc/arena.c: Remove PER_THREAD conditional.
8458 [!PER_THREAD]: Remove code.
8459 (ptmalloc_unlock_all2): Likewise.
8460 (ptmalloc_init): Likewise.
8461 (_int_new_arena): Likewise.
8462 (arena_get2): Likewise.
8463 * malloc/hooks.c (__malloc_get_state): Likewise.
8464 (__malloc_set_state): Likewise.
8465 * malloc/malloc.c: Likewise.
8466 (struct malloc_state): Likewise.
8467 (struct malloc_par): Likewise.
8468 (__libc_realloc): Likewise.
8469 (__libc_mallopt): Likewise.
8470
aeb95445
AZ
84712013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8472
8473 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8474
e8349efd
OB
84752013-12-09 Ondřej Bílka <neleai@seznam.cz>
8476
8477 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8478 macro to a function. Check for zero perturb_byte.
8479 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8480
f3eeb3fc 8481 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8482 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8483 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8484 force_reg by atomic_forced_read.
8485 * malloc/arena.c (ptmalloc_init): Likewise.
8486 * malloc/hooks.c (top_check): Likewise.
8487
be2f9009
AZ
84882013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8489
8490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8491
e7b914bd
MT
84922013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8493
8494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8495
9f0be4f8
JM
84962013-12-08 Joseph Myers <joseph@codesourcery.com>
8497
8498 * math/auto-libm-test-in: Add tests of lgamma.
8499 * math/auto-libm-test-out: Regenerated.
8500 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8501 (M_LOG_2_SQRT_PIl): Likewise.
8502 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8503 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8504 mpfr_f_f1.
8505 (func_calc_desc): Add mpfr_f_f1 union field.
8506 (ARGS1): New macro.
8507 (ARGS2): Likewise.
8508 (ARGS3): Likewise.
8509 (ARGS4): Likewise.
8510 (RET1): Likewise.
8511 (RET2): Likewise.
8512 (CALC): Likewise.
8513 (FUNC): Likewise.
8514 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8515 (test_functions): Add lgamma.
8516 (calc_generic_results): Handle mpfr_f_f1.
8517 * sysdeps/i386/fpu/libm-test-ulps: Update.
8518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8519
24eeafdb
AZ
85202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8521
8522 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8523 __mpn_add_n for PowerPC64/POWER7.
8524 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8525 __mpn_sub_n for PowerPC64/POWER7.
8526
4a2c0fd4
AZ
8527 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8528 __mpn_addmul_1 for PowerPC64.
8529 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8530 __mpn_submul_1 for PowerPC64.
8531 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8532 for PowerPC64.
8533 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8534 for PowerPC64.
8535
4b5b548c
FS
85362013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8537
8538 [BZ #15089]
8539 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8540
0a3ac0aa
AZ
85412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8542
8543 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8544
ccdc8438
AZ
8545 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8546 add multiarch folders.
8547 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8548 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8549 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8550 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8551 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8552 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8553 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8554 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8555 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8556 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8557 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8564
2e973d99
AZ
8565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8566 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8568 New file.
8569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8570 New file.
8571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8572 multiarch __ieee754_hypot for PowerPC32.
8573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8574 New file.
8575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8576 New file.
8577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8578 multiarch __ieee754_hypotf for PowerPC32.
8579
2d9470b2
AZ
8580 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8581 long_double_symbol only if __logbl is defined.
8582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8583 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8584 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8585 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8586 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8587 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8588 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8589 path for implementation.
8590 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8591 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8593 logb, and logbl multiarch implementations for PowerPC32.
8594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8595 file.
8596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8597 file.
8598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8599 multiarch logb for PowerPC32.
8600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8601 file.
8602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8603 file.
8604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8605 multiarch logbf for PowerPC32.
8606 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8608 file.
8609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8610 multiarch logbl implementation for PowerPC32.
8611
5212ffce
AZ
8612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8613 and modff multiarch implementations.
8614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8615 New file.
8616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8617 New file.
8618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8619 multiarch modf for PowerPC32.
8620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8621 New file.
8622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8623 New file.
8624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8625 multiarch modff for PowerPC32.
8626
79dccf31
AZ
8627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8628 and lrintf multiarch implementations.
8629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8630 New file.
8631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8632 New file.
8633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8634 multiarch lrint for PowerPC32.
8635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8636 file: multiarch lrintf for PowerPC32.
8637
deb66480
AZ
8638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8639 and lroundf multiarch implementations.
8640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8641 New file.
8642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8643 New file.
8644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8645 New file.
8646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8647 multiarch lround for PowerPC32.
8648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8649 file: multiarch lroundf for PowerPC32.
8650
264b036b
AZ
8651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8652 copysign and copysignf multiarch implementations.
8653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8654 New file.
8655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8656 New file.
8657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8658 file: multiarch copysign for PowerPC32.
8659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8660 file: multiarch copysignf for PowerPC32.
8661
d47db6c9
AZ
8662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8663 and truncf multiarch implementations.
8664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8665 New file.
8666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8667 file.
8668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8669 multiarch trunc for PowerPC32.
8670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8671 New file.
8672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8673 New file.
8674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8675 multiarch truncf for PowerPC32.
8676
ddb60b5a
AZ
8677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8678 and roundf multiarch implementations.
8679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8680 New file.
8681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8682 file.
8683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8684 multiarch round for PowerPC32.
8685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8686 New file.
8687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8688 New file.
8689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8690 multiarch roundf for PowerPC32.
8691
bedcf49b
AZ
8692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8693 and floorf multiarch implementations.
8694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8695 New file.
8696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8697 file.
8698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8699 multiarch floor for PowerPC32.
8700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8701 New file.
8702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8703 New file.
8704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8705 multiarch floorf for PowerPC32.
8706
35ae5b40
AZ
8707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8708 and ceilf multiarch implementations.
8709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8710 New file.
8711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8712 file.
8713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8714 multiarch ceil for PowerPC32.
8715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8716 New file.
8717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8718 file.
8719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8720 multiarch ceilf for PowerPC32.
8721
ae1a4cd9
AZ
8722 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8723 is defined.
8724 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8725 FINITEF is defined.
8726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8727 and finitef multiarch implementations.
8728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8729 New file.
8730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8731 file.
8732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8733 multiarch finite for PowerPC32.
8734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8735 New file.
8736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8737 file: multiarch finitef for PowerPC32.
8738
64fffd65
AZ
8739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8740 and isinff multiarch implementations.
8741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8742 file.
8743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8744 file.
8745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8746 multiarch isinf for PowerPC32.
8747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8748 New file.
8749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8750 multiarch isinff for PowerPC32.
8751
8e4e7ba2
AZ
8752 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8753 alias when __isnan is defined.
8754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8755 and isnanf multiarch implementations.
8756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8757 file.
8758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8759 file.
8760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8761 file.
8762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8763 file.
8764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8765 multiarch isnan for PowerPC32.
8766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8767 New file.
8768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8769 New file.
8770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8771 multiarch isnanf for PowerPC32.
8772
ddba588e
AZ
8773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8774 and sqrtf multiarch implementations.
8775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8776 file.
8777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8778 file.
8779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8780 multiarch sqrt for PowerPC32.
8781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8782 file.
8783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8784 file.
8785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8786 multiarch sqrtf for PowerPC32.
8787
0f96a2f0
AZ
8788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8789 and llroundf multiarch implementations.
8790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8791 New file.
8792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8793 New file.
8794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8795 New file.
8796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8797 file: multiarch llround for PowerPC32.
8798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8799 file: multiarch llroundf for PowerPC32.
8800
c9b5d79e
AZ
8801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8802 multiarch PowerPC32 fpu implementations.
8803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8804 New file.
8805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8806 New file.
8807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8808 multiarch llrint for PowerPC32.
8809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8810 New file.
8811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8812 New file.
8813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8814 file.
8815
9cbb3aab
AZ
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8817
ea5a72f8
AZ
8818 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8819 file.
8820 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8821 file.
8822 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8823 file.
8824 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8825 multiarch wordcopy for PPC32.
8826 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8827 wordcopy objects.
8828 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8829 (__libc_ifunc_impl_list): Likewise.
8830 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8831 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8832 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8833 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8834 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8835 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8836
93be09e7
AZ
8837 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8838 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8839 file.
8840 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8841 file.
8842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8843 file.
8844 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8845 multiarch wcscpy for PPC32.
8846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8847 multiarch objects.
8848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8849 (__libc_ifunc_impl_list): Likewise.
8850 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8851 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8852 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8853 sysdeps/powerpc/power6/wcscpy.c.
8854
bb04e529
AZ
8855 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8857 file.
8858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8859 file.
8860 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8861 file.
8862 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8863 multiarch wcsrchr for PPC32.
8864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8865 multiarch objects.
8866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8867 (__libc_ifunc_impl_list): Likewise.
8868 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8869 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8870 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8871 sysdeps/powerpc/power6/wcsrchr.c.
8872
05b5cd1c
AZ
8873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8874 file.
8875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8876 file.
8877 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8878 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8879 multiarch wcschr for PPc32.
8880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8881 multiarch objects.
8882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8883 (__libc_ifunc_impl_list): Likewise.
8884 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8885 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8886 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8887 sysdeps/powerpc/power6/wcschr.c.
8888
ba964147
AZ
8889 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8890 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8891 file.
8892 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8893 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8894 file: multiarch strchr for PPC32.
8895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8896 multiarch objects.
8897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8898 (__libc_ifunc_impl_list): Likewise.
8899
31c81aaa
AZ
8900 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8901 name.
8902 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8903 file.
8904 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8905 file.
8906 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8907 multiarch strchrnul for PPC32.
8908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8909 multiarch objects.
8910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8911 (__libc_ifunc_impl_list): Likewise.
8912
0d0607d9
AZ
8913 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8914 file.
8915 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8916 multiarch strncasecmp for PPC32.
8917 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8918 file.
8919 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8920 multiarch strncasecmp_l for PPC32.
8921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8922 strncasecmp multiarch objects.
8923 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8924 (__libc_ifunc_impl_list): Likewise.
8925
4dfd5c86
AZ
8926 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8927 file.
8928 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8929 multiarch strncasecmp for PPC32.
8930 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8931 New file.
8932 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8933 multiarch strcasecmp_l for PPC32.
8934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8935 multiarch objects.
8936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8937 (__libc_ifunc_impl_list): Likewise.
8938
a19e01a3
AZ
8939 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8940 file.
8941 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8942 file.
8943 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8944 multiarch strncmp for PPC32.
8945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8946 multiarch objects.
8947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8948 (__libc_ifunc_impl_list): Likewise.
8949
ae9cf7a2
AZ
8950 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8951 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8952 file.
8953 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8954 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8956 multiarch objects.
8957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8958 (__libc_ifunc_impl_list): Likewise.
8959
3148bb7d
AZ
8960 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8961 file.
8962 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8963 file.
8964 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8966 multiarch objects.
8967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8968 (__libc_ifunc_impl_list): Likewise.
8969
7af8b946
AZ
8970 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8971 file.
8972 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8973 file.
8974 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8975 multiarch rawmemchr for PPC32.
8976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8977 multiarch objects.
8978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8979 (__libc_ifunc_impl_list): Likewise.
8980
03a6aa6a
AZ
8981 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8982 file.
8983 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8984 file.
8985 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8986 file: memrchr multiarch for PPC32.
8987 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8988 multiarch objects.
8989 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8990 (__libc_ifunc_impl_list): Likewise.
8991
1c62e6d9
AZ
8992 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8993 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8994 file.
8995 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8996 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8997 multiarch memchr for PPC32.
8998 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8999 multiarch objects.
9000 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9001 (__libc_ifunc_impl_list): Likewise.
9002
87da8bdb
AZ
9003 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9004 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9005 file.
9006 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9007 file.
9008 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9009 file: multiarch mempcpy for PPC32.
9010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9011 multiarch objects.
9012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9013 (__libc_ifunc_impl_list): Likewise.
9014
20ed4714
AZ
9015 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9016 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9017 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9018 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9019 multiarch bzero for PPC32.
9020 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9021 file.
9022 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9023 file.
9024 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9025 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9026 file: multiarch memset for PPC32.
9027 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9029 memset multiarch objects.
9030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9031 (__libc_ifunc_impl_list): Likewise.
9032
ab3e3a46
AZ
9033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9034 file.
9035 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9036 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9037 memcmp for PPC32.
9038 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9040 multiarch objects.
9041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9042 (__libc_ifunc_impl_list): Likewise.
9043
930de6f0
AZ
9044 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9045 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9046 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9047 file.
9048 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9049 file.
9050 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9051 file.
9052 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9053 multiarch memcpy for PPC32.
9054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9055 multiarch objects.
9056 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9057 (__libc_ifunc_impl_list): Likewise.
9058
4c628e00
AZ
9059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9060 support multiarch for POWER/PPC32.
9061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9062 Likewise.
9063 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9065 Implies file to make multiarch folder appers before the fpu and
9066 default folder for power4 configuration.
9067
f4479220
SP
90682013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9069
9070 * scripts/bench.pl: Append volatile keyword to type.
9071
8517800f
KK
90722013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9073
9074 * sysdeps/sh/sotruss-lib.c: New file.
9075 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9076
180138f1
AZ
90772013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9078
9079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9080
bbf37bdc
JM
90812013-12-05 Joseph Myers <joseph@codesourcery.com>
9082
e47cc4e0
JM
9083 [BZ #6810]
9084 * math/w_tgamma.c: Include <errno.h>.
9085 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9086 * math/w_tgammaf.c: Include <errno.h>.
9087 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9088 * math/w_tgammal.c: Include <errno.h>.
9089 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9090 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9091 underflow. Add more tgamma tests.
9092 * math/auto-libm-test-out: Regenerated.
9093 * sysdeps/i386/fpu/libm-test-ulps: Update.
9094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9095
bbf37bdc
JM
9096 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9097 sin, sinh, tan, tanh, tgamma, y0 and y1.
9098 * math/auto-libm-test-out: Regenerated.
9099 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9100 (TEST_COND_x86): Likewise.
9101 (M_E2l): Remove macro.
9102 (M_E3l): Likewise.
9103 (M_2_SQRT_PIl): Likewise.
9104 (M_SQRT_PIl): Likewise.
9105 (M_1_DIV_El): Likewise.
9106 (log_test_data): Use AUTO_TESTS_f_f.
9107 (log10_test_data): Likewise.
9108 (log1p_test_data): Likewise.
9109 (log2_test_data): Likewise.
9110 (sin_test_data): Likewise.
9111 (sin_tonearest_test_data): Likewise.
9112 (sin_towardzero_test_data): Likewise.
9113 (sin_downward_test_data): Likewise.
9114 (sin_upward_test_data): Likewise.
9115 (sinh_test_data): Likewise.
9116 (sinh_tonearest_test_data): Likewise.
9117 (sinh_towardzero_test_data): Likewise.
9118 (sinh_downward_test_data): Likewise.
9119 (sinh_upward_test_data): Likewise.
9120 (tan_test_data): Likewise.
9121 (tan_tonearest_test_data): Likewise.
9122 (tan_towardzero_test_data): Likewise.
9123 (tan_downward_test_data): Likewise.
9124 (tan_upward_test_data): Likewise.
9125 (tanh_test_data): Likewise.
9126 (tgamma_test_data): Likewise.
9127 (y0_test_data): Likewise.
9128 (y1_test_data): Likewise.
9129 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9130 (special_real_inputs): Add pi/4.
9131 * sysdeps/i386/fpu/libm-test-ulps: Update.
9132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9133
eb5ad6b9
AZ
91342013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9135
9136 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9137 "longjmp_target" static probes.
9138 (__longjmp): Rename to __longjmp_symbol.
9139 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9140 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9141 on which longjmp to generate.
9142 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9143 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9144 probe.
9145 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9146 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9147 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9148 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9149 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9150 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9152 __longjmp_symbol based on which __longjmp to generate.
9153 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9154 probe.
9155 (setjmp): Rename to setjmp_symbol.
9156 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9157 (_setjmp): Rename to _setjmp_symbol.
9158 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9159 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9160 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9161 which setjmp to generate.
9162 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9163 "longjmp_target" static probes.
9164
d136c6dc
SP
91652013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9166
9298ecba
SP
9167 * benchtests/README: Add note about output arguments.
9168 * benchtests/bench-sincos.c: Remove file.
9169 * benchtests/sincos-inputs: New file.
9170 * scripts/bench.pl: Identify output arguments and define
9171 static variables for them.
9172
232983e9
SP
9173 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9174
d136c6dc
SP
9175 [BZ #15941]
9176 * Makefile (INSTALL): Add install-plain.texi as the primary
9177 dependency.
9178 * manual/install-plain.texi: New file.
9179 * manual/install.texi: Include node directive only for
9180 non-plaintext output.
9181
699ff837
JM
91822013-12-04 Joseph Myers <joseph@codesourcery.com>
9183
ab07cea8
JM
9184 * stdlib/longlong.h: Update from GCC.
9185
699ff837
JM
9186 [BZ #6807]
9187 [BZ #15901]
9188 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9189 * math/w_j0f.c (y0f): Likewise.
9190 * math/w_j0l.c (__y0l): Likewise.
9191 * math/w_j1.c (y1): Likewise.
9192 * math/w_j1f.c (y1f): Likewise.
9193 * math/w_j1l.c (__y1l): Likewise
9194 * math/w_jn.c (yn): Likewise.
9195 * math/w_jnf.c (ynf): Likewise.
9196 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9197 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9198 value for Bessel function domain errors outside _SVID_ mode.
9199 Adjust sign of return value for yn (negative integer, 0).
9200 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9201 by zero in return for negative x and set sign appropriately for
9202 negative n.
9203 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9204 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9205 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9206 expectations in error cases.
9207 (y1_test_data): Likewise.
9208 (yn_test_data): Likewise.
9209 * sysdeps/i386/fpu/libm-test-ulps: Update.
9210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9211
5b118558
UW
92122013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9213
9214 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9215 "64" to "64-v1". Add "64-v2".
9216 (abi-64-options): Rename to ...
9217 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9218 (abi-64-condition): Rename to ...
9219 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9220 (abi-64-ld-soname): Rename to ...
9221 (abi-64-v1-ld-soname): ... this.
9222 (abi-64-v2-options): Define.
9223 (abi-64-v2-condition): Likewise.
9224 (abi-64-v2-ld-soname): Likewise.
9225 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9226 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9230
61cd8fe4
UW
92312013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9232 Alan Modra <amodra@gmail.com>
9233
9234 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9235 New versions for use with the ELFv2 ABI.
9236 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9237 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9238 declaration.
9239 (struct La_ppc64v2_retval): Likewise.
9240 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9241 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9242 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9243 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9244 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9245 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9246 Do not save or restore CR.
9247 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9248 (_dl_profile_resolve): Do no save or restore CR. Support extended
9249 return values for ELFv2 ABI. Fix location of FPR return registers.
9250 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9251 updated values for _CALL_ELF == 2.
9252 (La_regs, La_retval, int_retval): Likewise.
9253
8b8a692c
UW
92542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9255
9256 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9257 (FRAME_MIN_SIZE_PARM): Likewise.
9258 (FRAME_BACKCHAIN): Likewise.
9259 (FRAME_CR_SAVE): Likewise.
9260 (FRAME_LR_SAVE): Likewise.
9261 (FRAME_TOC_SAVE): Likewise.
9262 (FRAME_PARM_SAVE): Likewise.
9263 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9264 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9265 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9266 (call_mcount_parm_offset): New macro.
9267 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9268 (PROF): Use symbolic stack frame offsets.
9269 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9270 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9271 Redefine in terms of FRAME_MIN_SIZE.
9272 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9273 (_dl_profile_resolve): Likewise. Update comment.
9274 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9275 symbols stack frame offsets.
9276 (__sigsetjmp): Likewise.
9277 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9278 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9279 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9280 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9281
9282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9283 (FRAME_BACKCHAIN): Remove.
9284 (FRAME_CR_SAVE): Likewise.
9285 (FRAME_LR_SAVE): Likewise.
9286 (FRAME_COMPILER_DW): Likewise.
9287 (FRAME_LINKER_DW): Likewise.
9288 (FRAME_TOC_SAVE): Likewise.
9289 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
9290 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9291 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9292 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
9293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9294 (CHECK_SP): Use symbolic stack frame offsets.
9295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9296 zone" instead of caller's parameter save area for temp storage.
9297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9298 Likewise. Also, use symbolic stack frame offsets.
9299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9300 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9301 our own stack frame instead of the caller's.
9302 (__socket): Use symbolic stack frame offsets.
9303
122b66de
UW
93042013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9305 Alan Modra <amodra@gmail.com>
9306
9307 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9308 Define.
57f41c40
AS
9309 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9310 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
9311 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9312 New function.
9313 (elf_machine_fixup_plt): Call it.
9314 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9315 reloc arguments.
9316 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
9317 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9318 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
9319 r2 before calling target.
9320
696caf1d
UW
93212013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9322 Alan Modra <amodra@gmail.com>
9323
9324 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9325 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9326 versions of macros to support ELFv2 ABI.
9327 (LOCALENTRY): New macro.
9328 (ENTRY, EALIGN): Use it.
9329 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9330 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9331 fall through into ENTRY entry point.
9332 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9333 Only define if _CALL_ELF != 2.
9334
9335 (elf_machine_matches_host): Verify ABI version matches.
9336 (RTLD_START): Use LOCALENTRY.
9337 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9338 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9339 (PLT_ENTRY_WORDS): New macro.
9340 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9341 (elf_machine_runtime_setup): Support ELFv2 ABI.
9342 (elf_machine_fixup_plt): Likewise.
9343 (elf_machine_plt_conflict): Likewise.
9344 (resolve_ifunc): Likewise.
9345 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9346 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9347 Likewise.
9348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9349 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9351 (makecontext): Support ELFv2 ABI.
9352 * elf/elf.h (EF_PPC64_ABI): Define.
9353
d31beafa
UW
93542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9355
57f41c40
AS
9356 * sysdeps/powerpc/powerpc64/sysdep.h
9357 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9358 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9359 (ENTRY) [ASSEMBLER]: ... but instead here ...
9360 (EALIGN) [ASSEMBLER]: ... and here.
9361 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9362 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9363 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
9364 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9365 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
9366 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9367 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
9368 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9370 Use PPC64_LOAD_FUNCPTR.
9371
b525166b
UW
9372 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9373
7ec07d9a
AM
93742013-12-04 Alan Modra <amodra@gmail.com>
9375
9376 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9377 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9378 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9379 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9380
9381 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9382 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9383 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9384 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9385 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9386 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9387
5162e7dd
UW
93882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9389
9390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9391 (__makecontext): Fix incorrect CFI when backtracing out of
9392 context created via makecontext.
9393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9394 (__setcontext): Fix incorrect CFI during switch to new context.
9395 (__novec_setcontext): Likewise.
9396
19e3372b
OB
93972013-12-04 Ondřej Bílka <neleai@seznam.cz>
9398
9399 [BZ #4772]
9400 * time/strptime_l.c (__strptime_internal): Allow modifiers
9401 in strptime.
9402 * time/tst-strptime.c (day_tests): Add testcase.
9403
ecaf142d
SP
94042013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9405
9406 * scripts/bench.pl: Skip over blank lines.
9407
fbf964ae
PE
94082013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9409
9410 [BZ #926]
9411 * manual/time.texi (Calendar Time): Clarify what timezone functions
9412 use.
9413
fa60a674
AZ
94142013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9415
9416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9417
d674f0ef
OB
94182013-12-04 Ondřej Bílka <neleai@seznam.cz>
9419
9420 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9421 implementation.
9422 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9423 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9424 * debug/memset_chk.c (__memset_chk): Likewise.
9425 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9426 * debug/strncpy_chk.c: Likewise.
9427
17dea188
JM
94282013-12-03 Joseph Myers <joseph@codesourcery.com>
9429
749008ff
JM
9430 [BZ #15268]
9431 [BZ #15425]
9432 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9433 (__ieee754_exp): For possibly underflowing results, check size of
9434 result and force underflow exception if required.
9435 * math/auto-libm-test-in: Add more tests of exp.
9436 * math/auto-libm-test-out: Regenerated.
9437 * sysdeps/i386/fpu/libm-test-ulps: Update.
9438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9439
17dea188
JM
9440 [BZ #16283]
9441 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9442 * math/w_exp2f.c (__exp2f): Likewise.
9443 * math/w_exp2l.c (__exp2l): Likewise.
9444 * math/auto-libm-test-in: Do not allow missing errno on exp2
9445 underflow.
9446 * math/auto-libm-test-out: Regenerated.
9447
b20de2c3
OB
94482013-12-03 Ondřej Bílka <neleai@seznam.cz>
9449
9450 [BZ #16274]
9451 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9452 handle filename validation.
9453 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9454 (do_open): Delete.
9455
d8e2dbe3
JM
94562013-12-03 Joseph Myers <joseph@codesourcery.com>
9457
34e16df5
JM
9458 [BZ #6786]
9459 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9460 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9461 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9462 <float.h>.
9463 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9464 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9465 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9466 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9467 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9468 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9469 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9470 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9471 Add more erfc tests.
9472 * math/auto-libm-test-out: Regenerated.
9473 * sysdeps/i386/fpu/libm-test-ulps: Update.
9474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9475
d8e2dbe3
JM
9476 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9477 exp2, expm1, j0 and j1.
9478 * math/auto-libm-test-out: Regenerated.
9479 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9480 (erfc_test_data): Likewise.
9481 (exp_test_data): Likewise.
9482 (exp_tonearest_test_data): Likewise.
9483 (exp_towardzero_test_data): Likewise.
9484 (exp_downward_test_data): Likewise.
9485 (exp_upward_test_data): Likewise.
9486 (exp10_test_data): Likewise.
9487 (exp2_test_data): Likewise.
9488 (expm1_test_data): Likewise.
9489 (j0_test_data): Likewise.
9490 (j1_test_data): Likewise.
9491 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9492 (input_flag_type): Add flag_xfail_rounding.
9493 (input_flags): Add xfail-rounding.
9494 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9495 (output_for_one_input_case): Handle flag_xfail_rounding.
9496 * sysdeps/i386/fpu/libm-test-ulps: Update.
9497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9498
18d14251
AJ
94992013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9500
3d2e6075 9501 [BZ #16289]
18d14251
AJ
9502 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9503 division by 0.
9504
520d437b
SP
95052013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9506
9507 [BZ #16195]
9508 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9509 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9510 (STAP_PROBE0): New macro.
9511 (STAP_PROBE1): Likewise.
9512 (STAP_PROBE2): Likewise.
9513 (STAP_PROBE3): Likewise.
9514 (STAP_PROBE4): Likewise.
9515
416e0145
OB
95162013-12-02 Ondřej Bílka <neleai@seznam.cz>
9517
9518 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9519
9d17796a
SE
95202013-12-02 Steve Ellcey <sellcey@mips.com>
9521
9522 * benchtests/Makefile (bench): Add sqrt.
9523 (LDLIBS-bench-sqrt): New.
9524 * benchtests/sqrt-input: New.
9525
f524d6a8
PS
95262013-12-02 Pavel Simerda <psimerda@redhat.com>
9527
639a0ef8
PS
9528 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9529 (GAIH_EAI): Likewise.
9530 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9531 (gaih_inet): Likewise.
9532 (getaddrinfo): Don't use GAIH_EAI.
9533
f524d6a8
PS
9534 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9535 (struct gaih): Remove definition.
9536
df3aedaf
SP
95372013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9538
9539 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9540 Use HERRNOP directly.
9541
1ab19dec
AZ
95422013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9543
b42ad38d 9544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 9545
176b0c79
JM
95462013-11-30 Joseph Myers <joseph@codesourcery.com>
9547
9548 * math/gen-auto-libm-tests.c (test_functions): Add more
9549 single-argument functions.
9550 (special_fill_pi_2): New function.
9551 (special_fill_minus_pi_2): Likewise.
9552 (special_fill_pi_6): Likewise.
9553 (special_fill_minus_pi_6): Likewise.
9554 (special_fill_pi_3): Likewise.
9555 (special_fill_2pi_3): Likewise.
9556 (special_fill_e): Likewise.
9557 (special_fill_1_e): Likewise.
9558 (special_fill_e_minus_1): Likewise.
9559 (special_real_inputs): Add more special inputs.
9560 (output_for_one_input_case): Do not require ERANGE on underflow to
9561 zero if round-to-nearest result does not underflow to zero, unless
9562 exact results required.
9563 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9564 atan, atanh, cbrt, cos and cosh.
9565 * math/auto-libm-test-out: Regenerated.
9566 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9567 (acos_tonearest_test_data): Likewise.
9568 (acos_towardzero_test_data): Likewise.
9569 (acos_downward_test_data): Likewise.
9570 (acos_upward_test_data): Likewise.
9571 (acosh_test_data): Likewise.
9572 (asin_test_data): Likewise.
9573 (asin_tonearest_test_data): Likewise.
9574 (asin_towardzero_test_data): Likewise.
9575 (asin_upward_test_data): Likewise.
9576 (asinh_test_data): Likewise.
9577 (atan_test_data): Likewise.
9578 (atanh_test_data): Likewise.
9579 (cbrt_test_data): Likewise.
9580 (cos_test_data): Likewise.
9581 (cos_tonearest_test_data): Likewise.
9582 (cos_towardzero_test_data): Likewise.
9583 (cos_downward_test_data): Likewise.
9584 (cos_upward_test_data): Likewise.
9585 (cosh_test_data): Likewise.
9586 (cosh_tonearest_test_data): Likewise.
9587 (cosh_towardzero_test_data): Likewise.
9588 (cosh_downward_test_data): Likewise.
9589 (cosh_upward_test_data): Likewise.
9590 * sysdeps/i386/fpu/libm-test-ulps: Update.
9591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9592
ffb536d0
JM
95932013-11-29 Joseph Myers <joseph@codesourcery.com>
9594
2a77a467
JM
9595 [BZ #6787]
9596 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9597 * math/w_exp10f.c (__exp10f): Likewise.
9598 * math/w_exp10l.c (__exp10l): Likewise.
9599 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9600 errno settings in existing tests.
9601
ea3bc4e8
JM
9602 [BZ #14032]
9603 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9604 precision control set to double precision.
9605 * sysdeps/i386/fpu/w_sqrt.c: New file.
9606 * math/auto-libm-test-in: Add more tests.
9607 * math/auto-libm-test-out: Update.
9608
0712c9d8
JM
9609 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9610 (sqrt_test_tonearest): New function.
9611 (sqrt_towardzero_test_data): New variable.
9612 (sqrt_test_towardzero): New function.
9613 (sqrt_downward_test_data): New variable.
9614 (sqrt_test_downward): New function.
9615 (sqrt_upward_test_data): New variable.
9616 (sqrt_test_upward): New function.
9617 (main): Call the new functions.
9618
ffb536d0
JM
9619 * math/gen-auto-libm-tests.c: New file.
9620 * math/auto-libm-test-in: Likewise.
9621 * math/auto-libm-test-out: New generated file.
9622 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9623 variables.
9624 (%beautify): Add generated representations of zero.
9625 (top level): Set $auto_input and call parse_auto_input.
9626 (beautify): Remove trailing "f" from hex float constants.
9627 (parse_args): Handle XFAIL_TEST.
9628 (convert_condition): New function.
9629 (or_value): Likewise.
9630 (or_cond_value): Likewise.
9631 (generate_testfile): Handle AUTO_TESTS_* lines.
9632 (parse_auto_input): New function.
9633 * math/libm-test.inc (XFAIL_TEST): New macro.
9634 (ERRNO_UNCHANGED): Update value.
9635 (ERRNO_EDOM): Likewise.
9636 (ERRNO_ERANGE): Likewise.
9637 (IGNORE_RESULT): Likewise.
9638 (TEST_COND_flt_32): New macro.
9639 (TEST_COND_dbl_64): Likewise.
9640 (TEST_COND_ldbl_96_intel): Likewise.
9641 (TEST_COND_ldbl_96_m68k): Likewise.
9642 (TEST_COND_ldbl_128): Likewise.
9643 (TEST_COND_ldbl_128ibm): Likewise.
9644 (TEST_COND_long32): Likewise.
9645 (TEST_COND_long64): Likewise.
9646 (TEST_COND_before_rounding): Likewise.
9647 (TEST_COND_after_rounding): Likewise.
9648 (enable_test): Handle XFAIL_TEST flag.
9649 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9650 with finite results.
9651 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9652 auto-libm-test-out.
9653
acd98a8e
AK
96542013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9655 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9656
9657 [BZ #16214]
9658 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9659 __tls_get_addr_internal instead of __tls_get_offset in order to
9660 avoid GOT pointer dependency. Make rtld export
9661 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9662 __tls_get_addr since we are a __tls_get_offset platform.
9663 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9664 GOT pointer being set up before.
9665 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9666
3c1c46a6
JM
96672013-11-28 Joseph Myers <joseph@codesourcery.com>
9668
7475aef5
JM
9669 * manual/math.texi (Errors in Math Functions): Document accuracy
9670 goals.
9671
8bca7cd8
JM
9672 [BZ #15004]
9673 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9674 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9677 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9678 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9679 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9680 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9681 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9682 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9689
91a1f3fe
JM
9690 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9691 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9692 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9693 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9694 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9695 Likewise.
9696 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9697 Likewise.
9698 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9699 Likewise.
9700 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9701 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9702 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9703 atomic-feupdateenv and flt-rounds.
9704 * sysdeps/powerpc/nofpu/Versions (libc): Add
9705 __atomic_feholdexcept, __atomic_feclearexcept,
9706 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9707 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9708 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9709 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9710 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9711 here.
9712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9713 Update.
9714
c5df7609
JM
9715 * manual/arith.texi (FP Exceptions): Document that exceptions may
9716 not be raised when matherr is used.
9717 (Math Error Reporting): Document overflow in directed rounding
9718 modes. Document that errno may not be set when finite values are
9719 returned on overflow. Document intent to set errno on underflow
9720 only for underflow to zero.
9721
3c1c46a6
JM
9722 [BZ #16271]
9723 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9724 round-to-nearest then adjust result for other rounding modes.
9725 * include/fenv.h (fegetround): Use libm_hidden_proto.
9726 * math/fegetround.c (fegetround): Use libm_hidden_def.
9727 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9728 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9729 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9730 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9731 Likewise.
9732 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9733 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9734 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9735 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9736
5a4c6d53
SP
97372013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9738
9739 [BZ #16077]
9740 * nss/Versions (libnss_files): Add
9741 _nss_files_gethostbyname3_r.
9742 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9743 New function.
9744 (HOST_DB_LOOKUP): Remove macro.
9745 (_nss_files_gethostbyname_r): Implement function without the
9746 HOST_DB_LOOKUP macro.
9747 (_nss_files_gethostbyname2_r): Likewise.
9748
897b98ba
OB
97492013-11-28 Ondřej Bílka <neleai@seznam.cz>
9750
9751 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9752
6f476861
UB
97532013-11-26 Uros Bizjak <ubizjak@gmail.com>
9754
9755 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9756 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9757 warning.
9758
bd12ab55
AZ
97592013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9760
9761 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9762 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9763 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9764 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9765 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9766 __fe_nomask_env_priv and attribute_hidden.
9767 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9768 (libc_feupdateenv_test_ppc): Likewise.
9769 (libc_feresetround_ppc): Likewise.
9770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9771 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9772 compat_symbol macro.
9773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9774 (__fe_nomask_env): Likewise.
9775 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9776
52bb6543
OB
97772013-11-26 Ondřej Bílka <neleai@seznam.cz>
9778
9779 * string/Makefile: Remove ifunc tests.
9780 * string/test-string.h: Define TEST_IFUNC.
9781 * string/test-bcopy-ifunc.c: Remove.
9782 * string/test-bzero-ifunc.c: Likewise.
9783 * string/test-memccpy-ifunc.c: Likewise.
9784 * string/test-memchr-ifunc.c: Likewise.
9785 * string/test-memcmp-ifunc.c: Likewise.
9786 * string/test-memcpy-ifunc.c: Likewise.
9787 * string/test-memmem-ifunc.c: Likewise.
9788 * string/test-memmove-ifunc.c: Likewise.
9789 * string/test-mempcpy-ifunc.c: Likewise.
9790 * string/test-memrchr-ifunc.c: Likewise.
9791 * string/test-memset-ifunc.c: Likewise.
9792 * string/test-rawmemchr-ifunc.c: Likewise.
9793 * string/test-stpcpy-ifunc.c: Likewise.
9794 * string/test-stpncpy-ifunc.c: Likewise.
9795 * string/test-strcasecmp-ifunc.c: Likewise.
9796 * string/test-strcasestr-ifunc.c: Likewise.
9797 * string/test-strcat-ifunc.c: Likewise.
9798 * string/test-strchr-ifunc.c: Likewise.
9799 * string/test-strchrnul-ifunc.c: Likewise.
9800 * string/test-strcmp-ifunc.c: Likewise.
9801 * string/test-strcpy-ifunc.c: Likewise.
9802 * string/test-strcspn-ifunc.c: Likewise.
9803 * string/test-strlen-ifunc.c: Likewise.
9804 * string/test-strncasecmp-ifunc.c: Likewise.
9805 * string/test-strncat-ifunc.c: Likewise.
9806 * string/test-strncmp-ifunc.c: Likewise.
9807 * string/test-strncpy-ifunc.c: Likewise.
9808 * string/test-strnlen-ifunc.c: Likewise.
9809 * string/test-strpbrk-ifunc.c: Likewise.
9810 * string/test-strrchr-ifunc.c: Likewise.
9811 * string/test-strspn-ifunc.c: Likewise.
9812 * string/test-strstr-ifunc.c: Likewise.
9813
ab260039 98142013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9815
9816 * benchtests/Makefile: Remove ifunc tests.
9817 * benchtests/bench-string.h: Define TEST_IFUNC.
9818 * benchtests/bench-bcopy-ifunc.c: Remove.
9819 * benchtests/bench-bzero-ifunc.c: Likewise.
9820 * benchtests/bench-memccpy-ifunc.c: Likewise.
9821 * benchtests/bench-memchr-ifunc.c: Likewise.
9822 * benchtests/bench-memcmp-ifunc.c: Likewise.
9823 * benchtests/bench-memcpy-ifunc.c: Likewise.
9824 * benchtests/bench-memmem-ifunc.c: Likewise.
9825 * benchtests/bench-memmove-ifunc.c: Likewise.
9826 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9827 * benchtests/bench-memrchr-ifunc.c: Likewise.
9828 * benchtests/bench-memset-ifunc.c: Likewise.
9829 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9830 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9831 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9832 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9833 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9834 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9835 * benchtests/bench-strcat-ifunc.c: Likewise.
9836 * benchtests/bench-strchr-ifunc.c: Likewise.
9837 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9838 * benchtests/bench-strcmp-ifunc.c: Likewise.
9839 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9840 * benchtests/bench-strcpy-ifunc.c: Likewise.
9841 * benchtests/bench-strcspn-ifunc.c: Likewise.
9842 * benchtests/bench-strlen-ifunc.c: Likewise.
9843 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9844 * benchtests/bench-strncat-ifunc.c: Likewise.
9845 * benchtests/bench-strncmp-ifunc.c: Likewise.
9846 * benchtests/bench-strncpy-ifunc.c: Likewise.
9847 * benchtests/bench-strnlen-ifunc.c: Likewise.
9848 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9849 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9850 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9851 * benchtests/bench-strspn-ifunc.c: Likewise.
9852 * benchtests/bench-strstr-ifunc.c: Likewise.
9853
98542013-11-26 Ondřej Bílka <neleai@seznam.cz>
9855
ab260039
OB
9856 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9857
d1d9eaf4 98582013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9859
d1d9eaf4
OB
9860 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9861 * rt/aio.h: Likewise.
9862 * sysdeps/gnu/bits/utmp.h: Likewise.
9863 * sysdeps/gnu/bits/utmpx.h: Likewise.
9864 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9865 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9866 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9867 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9868 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9869 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9870 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9871 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9872 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9873 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9874 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9875 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9876 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9878 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9879 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9880 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9881 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9882 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9883 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9884 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9885 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9886 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9887 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9888 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9890 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9891 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9892 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9893 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9894 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9895 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9896 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9897 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9898 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9899 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9900 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9901 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9902 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9903 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9904 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9905 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9906
a7624ed9
CD
99072013-11-25 Carlos O'Donell <carlos@redhat.com>
9908
9909 [BZ #16245]
9910 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9911 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9912
63cfe52b
JM
99132013-11-25 Joseph Myers <joseph@codesourcery.com>
9914
9915 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9916 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9917 Likewise.
9918
41e8926a
AZ
99192013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9920
9921 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9922 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9923 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9924 (__fesetround): Remove define.
9925 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9926 rounding and exceptions handling.
9927 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9928 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9929 (__fe_nomask_env): Likewise.
9930 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9931 __fegetround instead of fegetround.
9932 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9933 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9934
6851bd4d
RM
99352013-11-21 Roland McGrath <roland@hack.frob.com>
9936
070906ff
RM
9937 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9938 it's there.
9939
6851bd4d
RM
9940 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9941
84ae135d
MI
99422013-11-21 Meador Inge <meadori@codesourcery.com>
9943
9944 [BZ #11157]
9945 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9946 (encrypt_r): Likewise.
9947 * malloc/obstack.h (obstack_free): Likewise.
9948 * posix/unistd.h (encrypt): Likewise.
9949
daf75146
GM
99502013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9951
9952 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9953 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9954 DL_CALL_DT_FINI() that call the functions directly.
9955 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9956 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9957 * elf/dl-fini.c: Likewise.
9958
10ad46bc
OB
99592013-11-20 Ondřej Bílka <neleai@seznam.cz>
9960
9961 * malloc/hooks.c (memalign_check): Add alignment rounding.
9962 * malloc/malloc.c (_mid_memalign): New function.
9963 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9964 Implement by calling _mid_memalign.
9965 * manual/probes.texi (Memory Allocation Probes): Remove
9966 memory_valloc_retry and memory_pvalloc_retry.
9967
f3fd2628
SP
99682013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9969
4712799f
SP
9970 * locale/programs/locarchive.c (open_archive): Add const
9971 qualifier to ARCHIVEFNAME and copy default fname to
9972 DEFAULT_FNAME.
9973
0417b20f
SP
9974 [BZ #15601]
9975 * libio/tst-widetext.input: Rename Oriya to Odia.
9976 * locale/iso-639.def: Likewise.
9977
f3fd2628
SP
9978 * manual/probes.texi (Mathematical Function Probes): Add
9979 documentation for sin, cos, asin and acos probes.
9980 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9981 (__sin32): Add slowasin probe.
9982 (__cos32): Add slowacos probe.
9983 (__mpsin): Add slowsin probe.
9984 (__mpcos): Add slowcos probe.
9985
73c1ce4f
JM
99862013-11-19 Joseph Myers <joseph@codesourcery.com>
9987
9988 [BZ #15483]
9989 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9990 thread-local __sim_exceptions_thread and global
9991 __sim_exceptions_global.
9992 (__sim_disabled_exceptions): Change to thread-local
9993 __sim_disabled_exceptions_thread and global
9994 __sim_disabled_exceptions_global.
9995 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9996 and global __sim_round_mode_global.
9997 (__simulate_exceptions): Use thread-local floating-point state and
9998 set global state from it as needed.
9999 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10000 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10001 __sim_round_mode_thread.
10002 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10003 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10004 and global __sim_exceptions_global.
10005 (__sim_disabled_exceptions): Change to thread-local
10006 __sim_disabled_exceptions_thread and global
10007 __sim_disabled_exceptions_global.
10008 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10009 and global __sim_round_mode_global.
10010 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10011 (SIM_SET_GLOBAL): Likewise.
10012 * sysdeps/powerpc/soft-fp/sfp-machine.h
10013 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10014 __sim_round_mode_thread.
10015 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10016 __sim_disabled_exceptions_thread.
10017 (__sim_exceptions): Change to __sim_exceptions_thread.
10018 (__sim_disabled_exceptions): Change to
10019 __sim_disabled_exceptions_thread.
10020 (__sim_round_mode): Change to __sim_round_mode_thread.
10021 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10022 thread-local floating-point state and set global state from it as
10023 needed.
10024 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10025 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10026 (__sim_disabled_exceptions): Remove extern declaration.
10027 (feenableexcept): Use thread-local floating-point state and set
10028 global state from it as needed.
10029 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10030 extern declaration.
10031 (__sim_disabled_exceptions): Likewise.
10032 (__sim_round_mode): Likewise.
10033 (__fegetenv): Use thread-local floating-point state.
10034 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10035 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10036 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10037 floating-point state and set global state from it as needed.
10038 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10039 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10040 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10041 Likewise.
10042 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10043 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10044 Likewise.
10045 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10046 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10047 Use __sim_round_mode_thread.
10048 * math/test-fenv-tls.c: New file.
10049 * math/Makefile (tests): Add test-fenv-tls.
10050 ($(objpfx)test-fenv-tls): Depend on
10051 $(common-objpfx)nptl/libpthread.so.
10052
b5449b12
AS
100532013-11-19 Andreas Schwab <schwab@suse.de>
10054
10055 * locale/programs/locale.c (show_info): Decode wordarray elements.
10056 * locale/categories.def (LC_MONETARY): Add element for
10057 _NL_MONETARY_CRNCYSTR.
10058 * locale/C-monetary.c (conversion_rate): New variable.
10059 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10060 element.
10061
e186536b
CM
100622013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10063
10064 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10065 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10066
5c349950
PP
100672013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10068
10069 * elf/Makefile (tst-auxv): New test.
10070 * elf/tst-auxv.c: New
10071 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10072
699df45b
JM
100732013-11-18 Joseph Myers <joseph@codesourcery.com>
10074
10075 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10076 (hidden_proto): Caller changed.
10077 (hidden_tls_proto): New macro.
10078 (libc_hidden_tls_proto): Likewise.
10079 (rtld_hidden_tls_proto): Likewise.
10080 (libm_hidden_tls_proto): Likewise.
10081 (libresolv_hidden_tls_proto): Likewise.
10082 (librt_hidden_tls_proto): Likewise.
10083 (libdl_hidden_tls_proto): Likewise.
10084 (libnss_files_hidden_tls_proto): Likewise.
10085 (libnsl_hidden_tls_proto): Likewise.
10086 (libnss_nisplus_hidden_tls_proto): Likewise.
10087 (libutil_hidden_tls_proto): Likewise.
10088
b7589107
OB
100892013-11-18 Ondřej Bílka <neleai@seznam.cz>
10090
10091 [BZ #10253]
10092 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10093 (decompose_rpath): Defer expansion to fillin_rpath.
10094 (_dl_init_paths): Pass linkmap to fillin_rpath.
10095
250c23bd
RS
100962013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10097
10098 * benchtests/Makefile: Add strsep.
10099 * benchtests/bench-strsep.c: New file: strsep benchtest.
10100 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10101
a7931fcf
AS
101022013-11-18 Andreas Schwab <schwab@suse.de>
10103
10104 * locale/programs/locale.c (show_info) [case byte]: Check for
10105 '\377' instead of '\177'.
10106 * locale/C-monetary.c (not_available): Always use "\377".
10107 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10108 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10109 detect unavailable sign_posn locale elements.
10110 * locale/localeconv.c (__localeconv): For grouping and
10111 mon_grouping handle "\177" and "\377" like no grouping.
10112 (INT_ELEM): New macro. Use it to set all numeric members.
10113 * locale/programs/ld-monetary.c (monetary_read)
10114 <tok_mon_grouping>: Normalize single -1 to the empty string.
10115 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10116 Likewise.
10117
728dab0e
OB
101182013-11-07 Ondřej Bílka <neleai@seznam.cz>
10119
10120 [BZ #16055]
10121 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10122 when we match (nil).
10123 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10124
66294491
JM
101252013-11-16 Joseph Myers <joseph@codesourcery.com>
10126
ce665817
JM
10127 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10128 (NO_TEST_INLINE): Update value.
10129 (ERRNO_UNCHANGED): Likewise.
10130 (ERRNO_EDOM): Likewise.
10131 (ERRNO_ERANGE): Likewise.
10132 (IGNORE_RESULT): Likewise.
10133 (check_float_internal): Check signs of NaN results if
10134 TEST_NAN_SIGN used.
10135 (check_complex): Pass TEST_NAN_SIGN flag through to second
10136 check_float_internal call.
10137 (copysign_test_data): Add tests with quiet NaNs as second
10138 argument. Use TEST_NAN_SIGN.
10139 (fabs_test_data): Add test of negative quiet NaN argument. Use
10140 TEST_NAN_SIGN.
10141 (signbit_test_data): Add tests of quiet NaN argument.
10142 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10143
ee1466a9
JM
10144 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10145 $ignore_result.
10146 (parse_args): Handle function results specified as IGNORE.
10147 * math/libm-test.inc (IGNORE_RESULT): New macro.
10148 (check_float_internal): Do not check numerical result if flag
10149 IGNORE_RESULT set.
10150 (check_complex): Pass through IGNORE_RESULT to second
10151 check_float_internal call.
10152 (check_int): Do not check numerical result if flag IGNORE_RESULT
10153 set.
10154 (check_long): Likewise.
10155 (check_bool): Likewise.
10156 (check_longlong): Likewise.
10157 (lrint_test_data): Add tests of infinite and NaN arguments.
10158 (lrint_tonearest_test_data): Likewise.
10159 (lrint_towardzero_test_data): Likewise.
10160 (lrint_downward_test_data): Likewise.
10161 (lrint_upward_test_data): Likewise.
10162 (llrint_test_data): Likewise.
10163 (llrint_tonearest_test_data): Likewise.
10164 (llrint_towardzero_test_data): Likewise.
10165 (llrint_downward_test_data): Likewise.
10166 (llrint_upward_test_data): Likewise.
10167 (lround_test_data): Likewise.
10168 (llround_test_data): Likewise.
10169
14407b7e
JM
10170 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10171 (ERRNO_UNCHANGED): Update value.
10172 (ERRNO_EDOM): Likewise.
10173 (ERRNO_ERANGE): Likewise.
10174 (NO_TEST_INLINE_FLOAT): New macro.
10175 (NO_TEST_INLINE_DOUBLE): Likewise.
10176 (enable_test): New function.
10177 (RUN_TEST_f_f): Check enable_test before running test.
10178 (RUN_TEST_2_f): Likewise.
10179 (RUN_TEST_fff_f): Likewise.
10180 (RUN_TEST_c_f): Likewise.
10181 (RUN_TEST_f_f1): Likewise.
10182 (RUN_TEST_fF_f1): Likewise.
10183 (RUN_TEST_fI_f1): Likewise.
10184 (RUN_TEST_ffI_f1): Likewise.
10185 (RUN_TEST_c_c): Likewise.
10186 (RUN_TEST_cc_c): Likewise.
10187 (RUN_TEST_f_i): Likewise.
10188 (RUN_TEST_f_i_tg): Likewise.
10189 (RUN_TEST_ff_i_tg): Likewise.
10190 (RUN_TEST_f_b): Likewise.
10191 (RUN_TEST_f_b_tg): Likewise.
10192 (RUN_TEST_f_l): Likewise.
10193 (RUN_TEST_f_L): Likewise.
10194 (RUN_TEST_fFF_11): Likewise.
10195 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10196 conditionals.
10197 (cosh_test_data): Likewise.
10198 (exp_test_data): Likewise.
10199 (expm1_test_data): Likewise.
10200 (hypot_test_data): Likewise.
10201 (pow_test_data): Likewise.
10202 (sinh_test_data): Likewise.
10203 (tanh_test_data): Likewise.
10204 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10205 flags argument.
10206
ca07f197
JM
10207 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10208 tests with quiet NaN input and output.
10209 (acosh_test_data): Likewise.
10210 (asin_test_data): Likewise.
10211 (asinh_test_data): Likewise.
10212 (atan_test_data): Likewise.
10213 (atanh_test_data): Likewise.
10214 (atan2_test_data): Likewise.
10215 (cbrt_test_data): Likewise.
10216 (cos_test_data): Likewise.
10217 (cosh_test_data): Likewise.
10218 (erf_test_data): Likewise.
10219 (erfc_test_data): Likewise.
10220 (exp_test_data): Likewise.
10221 (exp10_test_data): Likewise.
10222 (exp2_test_data): Likewise.
10223 (expm1_test_data): Likewise.
10224 (hypot_test_data): Likewise.
10225 (j0_test_data): Likewise.
10226 (j1_test_data): Likewise.
10227 (jn_test_data): Likewise.
10228 (lgamma_test_data): Likewise.
10229 (log_test_data): Likewise.
10230 (log10_test_data): Likewise.
10231 (log1p_test_data): Likewise.
10232 (log2_test_data): Likewise.
10233 (pow_test_data): Likewise.
10234 (scalb_test_data): Likewise.
10235 (sin_test_data): Likewise.
10236 (sincos_test_data): Likewise.
10237 (sinh_test_data): Likewise.
10238 (tan_test_data): Likewise.
10239 (tanh_test_data): Likewise.
10240 (tgamma_test_data): Likewise.
10241 (y0_test_data): Likewise.
10242 (y1_test_data): Likewise.
10243 (yn_test_data): Likewise.
10244
66294491
JM
10245 [BZ #16167]
10246 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10247 argument being NaN and avoid computations with second argument in
10248 that case.
10249 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10250 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10251 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10252
1820b143
CL
102532013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10254
10255 * locale/iso-639.def: Add Chitwani Tharu (the).
10256
714bd261
AS
102572013-11-14 Andreas Schwab <schwab@suse.de>
10258
10259 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10260 word instead of empty string.
10261
7ab44563
AZ
102622013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10263
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10265 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10267 (__fe_nomask_env): Likewise.
10268
e8470ea2
SE
102692013-11-13 Steve Ellcey <sellcey@mips.com>
10270
10271 * benchtests/bench-timing.h: Include time.h.
10272
17c1d9f0
L
102732013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10274
10275 [BZ #15997]
10276 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10277 to 3.4.0 for x32.
10278 * sysdeps/unix/sysv/linux/configure: Regenerated.
10279
9310c284
JM
102802013-11-13 Joseph Myers <joseph@codesourcery.com>
10281
10282 [BZ #16151]
10283 * stdlib/strtod_l.c (round_and_return): Do not consider
10284 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10285 exponent one less than half the least subnormal exponent.
10286 * stdlib/test-strtod-round-data: Add more tests.
10287 * stdlib/tst-strtod-round.c (tests): Regenerated.
10288
7a2ad8cf
AZ
102892013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10290
10291 [BZ #14143]
10292 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10293 (__fe_mask_env): Likewise.
10294 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10295 libm_hidden_proto and add function prototype.
10296 (__fe_mask_env): Add function prototype.
10297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10298 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10300 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10302 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10303
50727aa7
MS
103042013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10305
b2f386c1 10306 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
10307 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10308
a615be46
MS
103092013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10310
10311 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10312 of htab_find_slot().
10313
7ddace62
DM
103142013-11-11 David S. Miller <davem@davemloft.net>
10315
10316 [BZ #16150]
10317 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10318 symbol in the non-vis3 case in static builds.
10319 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10320 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10321 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10322 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10323
9182aa67
JK
103242013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10325
10326 [BZ #387]
10327 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10328 it is empty.
10329
450a2e2d
AZ
103302013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10331
b2f386c1
SP
10332 * benchtests/Makefile: Add bench-strtod.
10333 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 10334
8ec3f656
AS
103352013-11-11 Andreas Schwab <schwab@suse.de>
10336
10337 [BZ #16153]
10338 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10339 terminating NUL in key length.
10340
76a9b998
AZ
103412013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10342
10343 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10344 Add artificial ODP entry for vDSO symbol for PPC64.
10345 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10346 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10347
e4368156
OB
103482013-11-07 Ondřej Bílka <neleai@seznam.cz>
10349
10350 [BZ #15374]
10351 * nss/getent.c (services_keys): Recognize services starting with digit.
10352
8d6bb57c
DM
103532013-11-06 David S. Miller <davem@davemloft.net>
10354
10355 [BZ #15985]
10356 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10357 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10358
e256c421
WN
103592013-11-06 Will Newton <will.newton@linaro.org>
10360
10361 * manual/memory.texi (Malloc Examples): Remove register
10362 keyword from examples.
10363
f6e12daa 103642013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 10365
f6e12daa 10366 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 10367
9d880655
AS
103682013-11-04 Joseph Myers <joseph@codesourcery.com>
10369
fd2f9486 10370 [BZ #6981]
9d880655
AS
10371 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10372 depending on [__GCC_IEC_559 > 0].
10373 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10374 depending on [__GCC_IEC_559_COMPLEX > 0].
10375
ae129d3c
CL
103762013-11-03 Chris Leonard <cjl@sugarlabs.org>
10377
10378 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10379 to iso-639.def.
10380
4a15c2a4 103812013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
10382
10383 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10384
8b35e35d
OB
103852013-11-01 Ondřej Bílka <neleai@seznam.cz>
10386
10387 [BZ #16112]
10388 * malloc/malloc (malloc_info): Do not handle first bin as
10389 special case.
10390
1d70fd6c
CL
103912013-11-01 Chris Leonard <cjl@sugarlabs.org>
10392
10393 * locale/iso-639.def: Add Central Nahuatl (nhn).
10394
8c5c2600
BH
103952013-11-01 Bruno Haible <bruno@clisp.org>
10396
10397 [BZ #7003]
10398 * manual/math.texi (BSD Random): Specify range upper bound as
10399 in POSIX.
10400
da5579c2
CL
104012013-10-31 Chris Leonard <cjl@sugarlabs.org>
10402
10403 * locale/iso-639.def: Add Meadow Mari (mhr).
10404
5d30d853
OB
104052013-10-31 Ondřej Bílka <neleai@seznam.cz>
10406
10407 [BZ #14752], [BZ #15763]
10408 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10409 Validate name.
10410 * rt/tst_shm.c: Add test for escaping directory.
10411
a4966c61
AS
104122013-10-31 Andreas Schwab <schwab@suse.de>
10413
8a43e768 10414 [BZ #15917]
a4966c61
AS
10415 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10416 followed by 'x' as part of digit sequence.
10417 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10418
28d708c4
MAP
104192013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10420
10421 [BZ #16037]
10422 * configure.ac: allow GNU Make 4.0 and greater.
10423 * configure: Regenerated.
10424
a56ee40b
WN
104252013-10-30 Will Newton <will.newton@linaro.org>
10426
10427 [BZ #16038]
10428 * malloc/hooks.c (memalign_check): Limit alignment to the
10429 maximum representable power of two.
10430 * malloc/malloc.c (__libc_memalign): Likewise.
10431 * malloc/tst-memalign.c (do_test): Add test for very
10432 large alignment values.
10433 * malloc/tst-posix_memalign.c (do_test): Likewise.
10434
c6e4925d
OB
104352013-10-30 Ondřej Bílka <neleai@seznam.cz>
10436
10437 [BZ #11087]
10438 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10439 (munmap_chunk): Likewise.
10440 (mremap_chunk): Likewise.
10441
104422013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10443
8a43e768 10444 [BZ #15799]
bbea82f7
OB
10445 * stdlib/div.c (div): Remove obsolete code.
10446 * stdlib/ldiv.c (ldiv): Likewise.
10447 * stdlib/lldiv.c (lldiv): Likewise.
10448
977f4b31
SP
104492013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10450
10451 [BZ #16071]
10452 * nss/nss_files/files-XXX.c (get_contents_ret): New
10453 enumerator.
10454 (get_contents): New function.
10455 (internal_getent): Use it. Expand size of LINEBUFLEN.
10456
cb8a6dbd
MF
104572013-10-30 Mike Frysinger <vapier@gentoo.org>
10458
10459 * configure.in: Moved to ...
10460 * configure.ac: ... here. Change reference to configure.in
10461 to configure.ac.
10462 * sysdeps/arm/preconfigure.ac: ... here.
10463 configure.in to configure.ac.
10464 * sysdeps/gnu/configure.in: Moved to ...
10465 * sysdeps/gnu/configure.ac: ... here.
10466 * sysdeps/i386/configure.in: Moved to ...
10467 * sysdeps/i386/configure.ac: ... here.
10468 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10469 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10470 * sysdeps/mach/configure.in: Moved to ...
10471 * sysdeps/mach/configure.ac: ... here.
10472 * sysdeps/mach/hurd/configure.in: Moved to ...
10473 * sysdeps/mach/hurd/configure.ac: ... here.
10474 * sysdeps/powerpc/configure.in: Moved to ...
10475 * sysdeps/powerpc/configure.ac: ... here.
10476 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10477 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10478 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10479 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10480 * sysdeps/s390/s390-32/configure.in: Moved to ...
10481 * sysdeps/s390/s390-32/configure.ac: ... here.
10482 * sysdeps/s390/s390-64/configure.in: Moved to ...
10483 * sysdeps/s390/s390-64/configure.ac: ... here.
10484 * sysdeps/sh/configure.in: Moved to ...
10485 * sysdeps/sh/configure.ac: ... here.
10486 * sysdeps/sparc/configure.in: Moved to ...
10487 * sysdeps/sparc/configure.ac: ... here.
10488 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10489 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10490 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10491 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10492 * sysdeps/x86_64/configure.in: Moved to ...
10493 * sysdeps/x86_64/configure.ac: ... here.
10494 * sysdeps/x86_64/preconfigure.in: Moved to ...
10495 * sysdeps/x86_64/preconfigure.ac: ... here.
10496 * aclocal.m4: Change reference to configure.in to configure.ac.
10497 * config.h.in: Likewise.
10498 * manual/install.texi: Likewise.
10499 * manual/maint.texi: Likewise.
10500 * Makefile: Likewise.
10501 * malloc/Makefile: Likewise.
10502 * nscd/Makefile: Likewise.
10503 * Makeconfig: Change reference to configure.in and
10504 preconfigure.in to configure.ac and preconfigure.ac
10505 respectively.
10506 * INSTALL: Regenerated.
10507 * configure: Likewise.
10508 * sysdeps/gnu/configure: Likewise.
10509 * sysdeps/i386/configure: Likewise.
10510 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10511 * sysdeps/mach/configure: Likewise.
10512 * sysdeps/mach/hurd/configure: Likewise.
10513 * sysdeps/powerpc/configure: Likewise.
10514 * sysdeps/powerpc/powerpc32/configure: Likewise.
10515 * sysdeps/powerpc/powerpc64/configure: Likewise.
10516 * sysdeps/s390/s390-32/configure: Likewise.
10517 * sysdeps/s390/s390-64/configure: Likewise.
10518 * sysdeps/sh/configure: Likewise.
10519 * sysdeps/sparc/configure: Likewise.
10520 * sysdeps/unix/sysv/linux/configure: Likewise.
10521 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10522 * sysdeps/x86_64/configure: Likewise.
10523 * sysdeps/x86_64/preconfigure: Likewise.
10524
36a4953a
AS
105252013-10-29 Andreas Schwab <schwab@suse.de>
10526
10527 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10528
c79a1204
SP
105292013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10530
dfa1b402
SP
10531 * benchtests/pow-inputs: Add new inputs.
10532
54f73d9c
SP
10533 * benchtests/exp-inputs: Add new inputs.
10534
c79a1204
SP
10535 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10536 conditional check for return value.
10537 (__cos32): Likewise.
10538
67beb545 105392013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
10540
10541 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10542 to provide a boost for large inputs with word alignment.
10543 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10544 implementation based on optimized PPC64 strcpy.
10545 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10546 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10547 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10548 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10549
151659f6
OB
105502013-10-25 Ondřej Bílka <neleai@seznam.cz>
10551
482a077e 10552 [BZ #2801]
151659f6
OB
10553 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10554
10b0f26b
OB
105552013-10-25 Ondřej Bílka <neleai@seznam.cz>
10556
10557 [BZ #14876]
10558 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10559 * time/tst-strptime.c (day_tests): Add testcase.
10560
ca42d35e
OB
105612013-10-25 Ondřej Bílka <neleai@seznam.cz>
10562
482a077e 10563 [BZ #14029]
ca42d35e
OB
10564 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10565
52e6d801
FB
105662013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10567
10568 [BZ #16074]
10569 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10570 MAP_FAILED on error.
10571
7cbcdb36
SP
105722013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10573
10574 [BZ #16072]
10575 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10576 heap for large requests.
10577
894f3f10
AM
105782013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10579
10580 [BZ #9954]
10581 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10582 result if the result has no associated interface.
10583 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10584 interface for all 127.X.Y.Z addresses.
10585
b85545a6
CL
105862013-10-24 Chris Leonard <cjl@sugarlabs.org>
10587
10588 * locale/iso-639.def: Add Ligurian (lij)
10589
d1f23d46
OB
105902013-10-21 Ondřej Bílka <neleai@seznam.cz>
10591
10592 [BZ #15825]
10593 * sunrpc/rpc_main.c: Document rpcgen -5.
10594
4db5b08f
MS
105952013-10-19 Michael Stahl <mstahl@redhat.com>
10596
10597 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10598
a471e96a
OB
105992013-10-19 Ondřej Bílka <neleai@seznam.cz>
10600
d1f23d46 10601 [BZ #10278]
a471e96a
OB
10602 * posix/glob.c: Match only directories when trailing slash is present.
10603 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10604 (main): Add testcase.
10605
45c30c61
OB
106062013-10-19 Ondřej Bílka <neleai@seznam.cz>
10607
10608 [BZ #15670]
10609 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10610
484c12fb
CD
106112013-10-18 Carlos O'Donell <carlos@redhat.com>
10612
3d7dc513
CD
10613 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10614 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10615 AUTH_DES and cindex for FIPS 140-2.
10616 (DES Encryption): Add cindex FIPS 46-3.
10617
484c12fb
CD
10618 * locale/locarchive.h (struct locarhandle): Add fname.
10619 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10620 if an optional argument was specified to --list-archive,
10621 otherwise NULL.
10622 * locale/programs/locarchive.c (show_archive_content): Take new
10623 argument fname and pass it via ah.fname to open_archive.
10624 * locale/programs/localedef.h: Update decl.
10625 (open_archive): If AH->fname is non-null, open that file
10626 rather than the default file name, and don't ignore ENOENT.
10627 (create_archive): Set AH.fname to NULL.
10628 (delete_locales_from_archive): Likewise.
10629 (add_locales_to_archive): Likewise.
10630 * locale/programs/locfile.c (write_all_categories): Likewise.
10631
3c8325fb
JM
106322013-10-18 Joseph Myers <joseph@codesourcery.com>
10633 Aldy Hernandez <aldyh@redhat.com>
10634
10635 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10636 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10637 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10638 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10639 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10640 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10641 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10642 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10643 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10644 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10645 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10646 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10647 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10648 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10649 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10650 Likewise.
10651 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10652 Likewise.
10653 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10654 Likewise.
10655 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10656 Likewise.
10657 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10658 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10659 Likewise.
10660 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10661 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10662 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10663 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10664 Likewise.
10665 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10666 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10667 * sysdeps/powerpc/preconfigure: Likewise.
10668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10669 Likewise.
10670 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10671 Replace contents of file by #include of <fenv_libc.h>.
10672 * sysdeps/powerpc/soft-fp/sfp-machine.h
10673 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10674 and <sys/prctl.h>.
10675 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10676 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10677 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10678 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10679 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10680 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10682 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10683 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10684 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10685 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10686 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10688 Allow copysignl PLT reference to be missing.
10689
5abe0682
RS
106902013-10-18 Richard Sandiford <richard@codesourcery.com>
10691 Joseph Myers <joseph@codesourcery.com
10692
10693 [BZ #15948]
10694 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10695 single character.
10696 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10697
c7738d08
SP
106982013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10699
10700 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10701 * elf/tst-tls1.c: Likewise.
10702 * elf/tst-tls10.h: Likewise.
10703 * elf/tst-tls14.c: Likewise.
10704 * elf/tst-tls2.c: Likewise.
10705 * elf/tst-tls3.c: Likewise.
10706 * elf/tst-tls4.c: Likewise.
10707 * elf/tst-tls5.c: Likewise.
10708 * elf/tst-tls6.c: Likewise.
10709 * elf/tst-tls7.c: Likewise.
10710 * elf/tst-tls8.c: Likewise.
10711 * elf/tst-tls9.c: Likewise.
10712 * elf/tst-tlsmod1.c: Likewise.
10713 * elf/tst-tlsmod13.c: Likewise.
10714 * elf/tst-tlsmod13a.c: Likewise.
10715 * elf/tst-tlsmod14a.c: Likewise.
10716 * elf/tst-tlsmod16a.c: Likewise.
10717 * elf/tst-tlsmod16b.c: Likewise.
10718 * elf/tst-tlsmod2.c: Likewise.
10719 * elf/tst-tlsmod3.c: Likewise.
10720 * elf/tst-tlsmod4.c: Likewise.
10721 * elf/tst-tlsmod5.c: Likewise.
10722 * elf/tst-tlsmod6.c: Likewise.
10723
0bfcf2c7
OB
107242013-10-18 Ondřej Bílka <neleai@seznam.cz>
10725
10726 [BZ #12486]
10727 * malloc/malloc.c: remove checks for statistics.
10728
264aad1e
OB
107292013-10-17 Ondřej Bílka <neleai@seznam.cz>
10730
10731 [BZ #15277]
10732 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10733 * inet/tst-network.c: Add testcase.
10734
b957ced8
AS
107352013-10-17 Andreas Schwab <schwab@suse.de>
10736
10737 [BZ #15218]
10738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10739 to determine canonical name.
10740
c5d5d574
OB
107412013-10-17 Ondřej Bílka <neleai@seznam.cz>
10742
10743 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10744 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10745 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10765 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10767 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10768 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10769 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10770 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10772 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10773 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10774 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10775 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10776 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10777 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10782 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10785 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10786 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10787 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10788 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10798 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10801
e5c2c2d0
JM
108022013-10-17 Joseph Myers <joseph@codesourcery.com>
10803
10804 [BZ #16041]
10805 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10806 make result into a quiet NaN.
10807
51ca9e29
JM
108082013-10-16 Joseph Myers <joseph@codesourcery.com>
10809
10810 * soft-fp/adddf3.c: Fix horizontal whitespace.
10811 * soft-fp/addsf3.c: Likewise.
10812 * soft-fp/addtf3.c: Likewise.
10813 * soft-fp/divdf3.c: Likewise.
10814 * soft-fp/divsf3.c: Likewise.
10815 * soft-fp/divtf3.c: Likewise.
10816 * soft-fp/double.h: Likewise.
10817 * soft-fp/eqdf2.c: Likewise.
10818 * soft-fp/eqsf2.c: Likewise.
10819 * soft-fp/eqtf2.c: Likewise.
10820 * soft-fp/extenddftf2.c: Likewise.
10821 * soft-fp/extended.h: Likewise.
10822 * soft-fp/extendsfdf2.c: Likewise.
10823 * soft-fp/extendsftf2.c: Likewise.
10824 * soft-fp/extendxftf2.c: Likewise.
10825 * soft-fp/fixdfdi.c: Likewise.
10826 * soft-fp/fixdfsi.c: Likewise.
10827 * soft-fp/fixdfti.c: Likewise.
10828 * soft-fp/fixsfdi.c: Likewise.
10829 * soft-fp/fixsfsi.c: Likewise.
10830 * soft-fp/fixsfti.c: Likewise.
10831 * soft-fp/fixtfdi.c: Likewise.
10832 * soft-fp/fixtfsi.c: Likewise.
10833 * soft-fp/fixtfti.c: Likewise.
10834 * soft-fp/fixunsdfdi.c: Likewise.
10835 * soft-fp/fixunsdfsi.c: Likewise.
10836 * soft-fp/fixunsdfti.c: Likewise.
10837 * soft-fp/fixunssfdi.c: Likewise.
10838 * soft-fp/fixunssfsi.c: Likewise.
10839 * soft-fp/fixunssfti.c: Likewise.
10840 * soft-fp/fixunstfdi.c: Likewise.
10841 * soft-fp/fixunstfsi.c: Likewise.
10842 * soft-fp/fixunstfti.c: Likewise.
10843 * soft-fp/floatdidf.c: Likewise.
10844 * soft-fp/floatdisf.c: Likewise.
10845 * soft-fp/floatditf.c: Likewise.
10846 * soft-fp/floatsidf.c: Likewise.
10847 * soft-fp/floatsisf.c: Likewise.
10848 * soft-fp/floatsitf.c: Likewise.
10849 * soft-fp/floattidf.c: Likewise.
10850 * soft-fp/floattisf.c: Likewise.
10851 * soft-fp/floattitf.c: Likewise.
10852 * soft-fp/floatundidf.c: Likewise.
10853 * soft-fp/floatundisf.c: Likewise.
10854 * soft-fp/floatunditf.c: Likewise.
10855 * soft-fp/floatunsidf.c: Likewise.
10856 * soft-fp/floatunsisf.c: Likewise.
10857 * soft-fp/floatunsitf.c: Likewise.
10858 * soft-fp/floatuntidf.c: Likewise.
10859 * soft-fp/floatuntisf.c: Likewise.
10860 * soft-fp/floatuntitf.c: Likewise.
10861 * soft-fp/fmadf4.c: Likewise.
10862 * soft-fp/fmasf4.c: Likewise.
10863 * soft-fp/fmatf4.c: Likewise.
10864 * soft-fp/gedf2.c: Likewise.
10865 * soft-fp/gesf2.c: Likewise.
10866 * soft-fp/getf2.c: Likewise.
10867 * soft-fp/ledf2.c: Likewise.
10868 * soft-fp/lesf2.c: Likewise.
10869 * soft-fp/letf2.c: Likewise.
10870 * soft-fp/muldf3.c: Likewise.
10871 * soft-fp/mulsf3.c: Likewise.
10872 * soft-fp/multf3.c: Likewise.
10873 * soft-fp/negdf2.c: Likewise.
10874 * soft-fp/negsf2.c: Likewise.
10875 * soft-fp/negtf2.c: Likewise.
10876 * soft-fp/op-1.h: Likewise.
10877 * soft-fp/op-2.h: Likewise.
10878 * soft-fp/op-4.h: Likewise.
10879 * soft-fp/op-8.h: Likewise.
10880 * soft-fp/op-common.h: Likewise.
10881 * soft-fp/quad.h: Likewise.
10882 * soft-fp/single.h: Likewise.
10883 * soft-fp/soft-fp.h: Likewise.
10884 * soft-fp/sqrtdf2.c: Likewise.
10885 * soft-fp/sqrtsf2.c: Likewise.
10886 * soft-fp/sqrttf2.c: Likewise.
10887 * soft-fp/subdf3.c: Likewise.
10888 * soft-fp/subsf3.c: Likewise.
10889 * soft-fp/subtf3.c: Likewise.
10890 * soft-fp/truncdfsf2.c: Likewise.
10891 * soft-fp/trunctfdf2.c: Likewise.
10892 * soft-fp/trunctfsf2.c: Likewise.
10893 * soft-fp/trunctfxf2.c: Likewise.
10894 * soft-fp/unorddf2.c: Likewise.
10895 * soft-fp/unordsf2.c: Likewise.
10896 * soft-fp/unordtf2.c: Likewise.
10897
9ebb0332
JM
108982013-10-15 Joseph Myers <joseph@codesourcery.com>
10899
10900 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10901 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10902
4b1a6d8b
OB
109032013-10-15 Ondřej Bílka <neleai@seznam.cz>
10904
10905 * elf/dl-libc.c: Clear initfini list after freeing.
10906
1e145589
JM
109072013-10-14 Joseph Myers <joseph@codesourcery.com>
10908
10909 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10910 * soft-fp/addsf3.c: Likewise.
10911 * soft-fp/addtf3.c: Likewise.
10912 * soft-fp/divdf3.c: Likewise.
10913 * soft-fp/divsf3.c: Likewise.
10914 * soft-fp/divtf3.c: Likewise.
10915 * soft-fp/double.h: Likewise.
10916 * soft-fp/eqdf2.c: Likewise.
10917 * soft-fp/eqsf2.c: Likewise.
10918 * soft-fp/eqtf2.c: Likewise.
10919 * soft-fp/extenddftf2.c: Likewise.
10920 * soft-fp/extended.h: Likewise.
10921 * soft-fp/extendsfdf2.c: Likewise.
10922 * soft-fp/extendsftf2.c: Likewise.
10923 * soft-fp/extendxftf2.c: Likewise.
10924 * soft-fp/fixdfdi.c: Likewise.
10925 * soft-fp/fixdfsi.c: Likewise.
10926 * soft-fp/fixdfti.c: Likewise.
10927 * soft-fp/fixsfdi.c: Likewise.
10928 * soft-fp/fixsfsi.c: Likewise.
10929 * soft-fp/fixsfti.c: Likewise.
10930 * soft-fp/fixtfdi.c: Likewise.
10931 * soft-fp/fixtfsi.c: Likewise.
10932 * soft-fp/fixtfti.c: Likewise.
10933 * soft-fp/fixunsdfdi.c: Likewise.
10934 * soft-fp/fixunsdfsi.c: Likewise.
10935 * soft-fp/fixunsdfti.c: Likewise.
10936 * soft-fp/fixunssfdi.c: Likewise.
10937 * soft-fp/fixunssfsi.c: Likewise.
10938 * soft-fp/fixunssfti.c: Likewise.
10939 * soft-fp/fixunstfdi.c: Likewise.
10940 * soft-fp/fixunstfsi.c: Likewise.
10941 * soft-fp/fixunstfti.c: Likewise.
10942 * soft-fp/floatdidf.c: Likewise.
10943 * soft-fp/floatdisf.c: Likewise.
10944 * soft-fp/floatditf.c: Likewise.
10945 * soft-fp/floatsidf.c: Likewise.
10946 * soft-fp/floatsisf.c: Likewise.
10947 * soft-fp/floatsitf.c: Likewise.
10948 * soft-fp/floattidf.c: Likewise.
10949 * soft-fp/floattisf.c: Likewise.
10950 * soft-fp/floattitf.c: Likewise.
10951 * soft-fp/floatundidf.c: Likewise.
10952 * soft-fp/floatundisf.c: Likewise.
10953 * soft-fp/floatunsidf.c: Likewise.
10954 * soft-fp/floatunsisf.c: Likewise.
10955 * soft-fp/floatuntidf.c: Likewise.
10956 * soft-fp/floatuntisf.c: Likewise.
10957 * soft-fp/floatuntitf.c: Likewise.
10958 * soft-fp/fmadf4.c: Likewise.
10959 * soft-fp/fmasf4.c: Likewise.
10960 * soft-fp/fmatf4.c: Likewise.
10961 * soft-fp/gedf2.c: Likewise.
10962 * soft-fp/gesf2.c: Likewise.
10963 * soft-fp/getf2.c: Likewise.
10964 * soft-fp/ledf2.c: Likewise.
10965 * soft-fp/lesf2.c: Likewise.
10966 * soft-fp/letf2.c: Likewise.
10967 * soft-fp/muldf3.c: Likewise.
10968 * soft-fp/mulsf3.c: Likewise.
10969 * soft-fp/multf3.c: Likewise.
10970 * soft-fp/negdf2.c: Likewise.
10971 * soft-fp/negsf2.c: Likewise.
10972 * soft-fp/negtf2.c: Likewise.
10973 * soft-fp/op-1.h: Likewise.
10974 * soft-fp/op-2.h: Likewise.
10975 * soft-fp/op-4.h: Likewise.
10976 * soft-fp/op-8.h: Likewise.
10977 * soft-fp/op-common.h: Likewise.
10978 * soft-fp/quad.h: Likewise.
10979 * soft-fp/single.h: Likewise.
10980 * soft-fp/soft-fp.h: Likewise.
10981 * soft-fp/sqrtdf2.c: Likewise.
10982 * soft-fp/sqrtsf2.c: Likewise.
10983 * soft-fp/sqrttf2.c: Likewise.
10984 * soft-fp/subdf3.c: Likewise.
10985 * soft-fp/subsf3.c: Likewise.
10986 * soft-fp/subtf3.c: Likewise.
10987 * soft-fp/truncdfsf2.c: Likewise.
10988 * soft-fp/trunctfdf2.c: Likewise.
10989 * soft-fp/trunctfsf2.c: Likewise.
10990 * soft-fp/trunctfxf2.c: Likewise.
10991 * soft-fp/unorddf2.c: Likewise.
10992 * soft-fp/unordsf2.c: Likewise.
10993 * soft-fp/unordtf2.c: Likewise.
10994
17c48a60
OB
109952013-10-14 Ondřej Bílka <neleai@seznam.cz>
10996
10997 [BZ #15672]
10998 * misc/error.c (error_tail): Fix possible buffer overflow.
10999
cabba934
OB
110002013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11001
11002 [BZ #13028]
11003 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11004 address.
11005
94bf958a
PM
110062013-10-14 P. J. McDermott <pj@pehjota.net>
11007
11008 [BZ #832]
11009 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11010 testing pipefail option.
11011
71b4dea7
JM
110122013-10-12 Joseph Myers <joseph@codesourcery.com>
11013
11014 * soft-fp/double.h: Indent preprocessor directives inside #if.
11015 * soft-fp/extended.h: Likewise.
11016 * soft-fp/op-2.h: Likewise.
11017 * soft-fp/op-4.h: Likewise.
11018 * soft-fp/op-common.h: Likewise.
11019 * soft-fp/quad.h: Likewise.
11020 * soft-fp/single.h: Likewise.
11021 * soft-fp/soft-fp.h: Likewise.
11022
55602758
YC
110232013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11024
11025 * iconv/iconv_prog.c: Fix typos.
11026 * stdio-common/psiginfo-data.h: Likewise.
11027
9cd83302
RT
110282013-10-12 Reuben Thomas <rrt@sc3d.org>
11029
11030 [BZ #15764]
11031 * locale/setlocale.c: Fix typo.
11032
99fd9f47
JM
110332013-10-12 Joseph Myers <joseph@codesourcery.com>
11034
b7ea74f0
JM
11035 [BZ #16036]
11036 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11037 signaling NaN arguments.
11038 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11039 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11040
8a509447
JM
11041 [BZ #14910]
11042 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11043 unordered operands.
11044 * soft-fp/gesf2.c (__gesf2): Likewise.
11045 * soft-fp/getf2.c (__getf2): Likewise.
11046 * soft-fp/ledf2.c (__ledf2): Likewise.
11047 * soft-fp/lesf2.c (__lesf2): Likewise.
11048 * soft-fp/letf2.c (__letf2): Likewise.
11049
98998e9f
JM
11050 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11051 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11052 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11053 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11054 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11055 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11056 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11057 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11058 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11059 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11060 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11061 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11062 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11063 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11064 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11065 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11066 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11067 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11068 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11069 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11070 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11071 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11072 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11073 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11074 * soft-fp/floattidf.c (__floattidf): Likewise.
11075 * soft-fp/floattisf.c (__floattisf): Likewise.
11076 * soft-fp/floattitf.c (__floattitf): Likewise.
11077 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11078 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11079 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11080 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11081 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11082 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11083 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11084 * soft-fp/gesf2.c (__gesf2): Likewise.
11085 * soft-fp/getf2.c (__getf2): Likewise.
11086 * soft-fp/ledf2.c (__ledf2): Likewise.
11087 * soft-fp/lesf2.c (__lesf2): Likewise.
11088 * soft-fp/letf2.c (__letf2): Likewise.
11089
8edc4a11
JM
11090 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11091 Undefine and redefine.
11092 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11093 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11094 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11095 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11096 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11097 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11098 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11099 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11100 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11101 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11102 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11103 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11104 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11105 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11106 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11107
8399acaf
JM
11108 [BZ #16032]
11109 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11110 without decrementing exponent if mantissa >= that for the
11111 denominator, not >.
11112 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11113 denominator, not >. Decrement exponent in < case instead of
11114 incrementing in >= case.
11115 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11116 without decrementing exponent if mantissa >= that for the
11117 denominator, not >.
11118
99fd9f47
JM
11119 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11120 computing saturated result for unsigned overflow.
11121
10e1cf6b
SP
111222013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11123 Jeff Law <law@redhat.com>
11124
11125 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11126 (atan2Mp): Add systemtap probe marker.
11127 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11128 (__ieee754_log): Add systemtap probe marker.
11129 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11130 (atanMp): Add systemtap probe marker.
11131 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11132 (tanMp): Add systemtap probe marker.
11133 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11134 (__slowexp): Add systemtap probe marker.
11135 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11136 (__slowpow): Add systemtap probe marker.
11137 * manual/probes.texi: Document probes.
11138
3d110c7c
EB
111392013-10-11 Eric Biggers <ebiggers3@gmail.com>
11140
11141 [BZ #15362]
11142 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11143 written.
11144 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11145 written.
11146 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11147 written to buffer but not flushed.
11148 * libio/iofwrite_u.c: Likewise.
11149 * libio/iopadn.c: Return bytes returned even if EOF was
11150 encountered.
11151 * libio/iowpadn.c: Likewise.
11152 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11153 if _IO_padn does not write the whole buffer.
11154 [!COMPILE_WPRINTF] (PAD): Likewise.
11155
75b4202a
DM
111562013-10-10 David S. Miller <davem@davemloft.net>
11157
11158 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11159 directory block.
11160
6c6352e6
JM
111612013-10-10 Joseph Myers <joseph@codesourcery.com>
11162
33b853c3
JM
11163 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11164 instead of FSF address.
11165 * soft-fp/fixdfti.c: Likewise.
11166 * soft-fp/fixsfti.c: Likewise.
11167 * soft-fp/fixtfti.c: Likewise.
11168 * soft-fp/fixunsdfti.c: Likewise.
11169 * soft-fp/fixunssfti.c: Likewise.
11170 * soft-fp/fixunstfti.c: Likewise.
11171 * soft-fp/floattidf.c: Likewise.
11172 * soft-fp/floattisf.c: Likewise.
11173 * soft-fp/floattitf.c: Likewise.
11174 * soft-fp/floatuntidf.c: Likewise.
11175 * soft-fp/floatuntisf.c: Likewise.
11176 * soft-fp/floatuntitf.c: Likewise.
11177 * soft-fp/trunctfxf2.c: Likewise.
11178
6c6352e6
JM
11179 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11180 * soft-fp/fixdfti.c: Likewise.
11181 * soft-fp/fixsfti.c: Likewise.
11182 * soft-fp/fixtfti.c: Likewise.
11183 * soft-fp/fixunsdfti.c: Likewise.
11184 * soft-fp/fixunssfti.c: Likewise.
11185 * soft-fp/fixunstfti.c: Likewise.
11186 * soft-fp/floattidf.c: Likewise.
11187 * soft-fp/floattisf.c: Likewise.
11188 * soft-fp/floattitf.c: Likewise.
11189 * soft-fp/floatuntidf.c: Likewise.
11190 * soft-fp/floatuntisf.c: Likewise.
11191 * soft-fp/floatuntitf.c: Likewise.
11192 * soft-fp/trunctfxf2.c: Likewise.
11193
3bf78b71
DM
111942013-10-10 David S. Miller <davem@davemloft.net>
11195
11196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11197
6f10289e
JM
111982013-10-10 Joseph Myers <joseph@codsourcery.com>
11199
bd878fc0
JM
11200 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11201 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11202 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11203 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11204 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11205 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11206 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11207
6f10289e
JM
11208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11209 for NaNs before doing comparisons on argument.
11210 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11211 Likewise.
11212
321e2684
WN
112132013-10-10 Will Newton <will.newton@linaro.org>
11214
11215 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11216 passed to _int_memalign does not overflow.
11217
40fefba1
TR
112182013-10-10 Torvald Riegel <triegel@redhat.com>
11219
11220 * scripts/bench.pl: Add include-sources directive.
11221 * benchtests/README: Update documentation.
11222
2ae21ed2
JM
112232013-10-10 Joseph Myers <joseph@codesourcery.com>
11224
dcc2dd3f
JM
11225 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11226 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11227 instead of FP_INIT_ROUNDMODE.
11228 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11229 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11230
2ae21ed2
JM
11231 [BZ #16034]
11232 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11233 copy class of input value.
11234 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11235 not handle exceptions.
11236 * soft-fp/negsf2.c (__negsf2): Likewise.
11237 * soft-fp/negtf2.c (__negtf2): Likewise.
11238 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11239
cb8f9562
JM
112402013-10-09 Joseph Myers <joseph@codesourcery.com>
11241
11242 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11243 semicolon. From Linux kernel.
11244
5b60c59d
AB
112452013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11246
11247 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11248
b86835ca
YC
112492013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11250
11251 [BZ #156]
11252 * manual/socket.texi: Added statement about buffer
11253 for gethostbyname2_r.
11254
e7044ea7
OB
112552013-10-08 Ondřej Bílka <neleai@seznam.cz>
11256
11257 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11258 Use .p2align directive instead, throughout.
11259 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11260 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11261 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11262 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11263 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11264 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11265 * sysdeps/x86_64/strchr.S: Likewise.
11266 * sysdeps/x86_64/strrchr.S: Likewise.
11267
09544cbc
SP
112682013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11269
88576635
SP
11270 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11271
e7b2d1dd
SP
11272 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11273
09544cbc
SP
11274 * sysdeps/generic/math_private.h (__mpsin1): Remove
11275 declaration.
11276 (__mpcos1): Likewise.
11277 (__mpsin): New argument __range_reduce.
11278 (__mpcos): Likewise.
11279 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11280 (slow): Use __mpsin and __mpcos.
11281 (slow1): Likewise.
11282 (slow2): Likewise.
11283 (sloww): Likewise.
11284 (sloww1): Likewise.
11285 (sloww2): Likewise.
11286 (bsloww): Likewise.
11287 (bsloww1): Likewise.
11288 (bsloww2): Likewise.
11289 (cslow2): Likewise.
11290 (csloww): Likewise.
11291 (csloww1): Likewise.
11292 (csloww2): Likewise.
11293 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11294 range_reduce. Merge in __mpsin1.
11295 (__mpcos): Likewise.
11296 (__mpsin1): Remove.
11297 (__mpcos1): Likewise.
11298
7602d070
JM
112992013-10-07 Joseph Myers <joseph@codesourcery.com>
11300
11301 * locale/loadlocale.c (_nl_intern_locale_data): Use
11302 LOCFILE_ALIGNED_P.
11303 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11304 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11305 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11306 obstack data is appropriately aligned.
11307 (obstack_int32_grow_fast): Likewise.
11308 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11309 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11310 (add_locale_uint32_array): Likewise.
11311
a357259b
SP
113122013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11313
11314 * benchtests/Makefile: Remove ARGLIST and RET variables.
11315 ($(objpfx)bench-%.c): Pass only function name to the script.
11316 * benchtests/README: Update documentation.
11317 * benchtests/acos-inputs: Add new directives.
11318 * benchtests/acosh-inputs: Likewise.
11319 * benchtests/asin-inputs: Likewise.
11320 * benchtests/asinh-inputs: Likewise.
11321 * benchtests/atan-inputs: Likewise.
11322 * benchtests/atanh-inputs: Likewise.
11323 * benchtests/cos-inputs: Likewise.
11324 * benchtests/cosh-inputs: Likewise.
11325 * benchtests/exp-inputs: Likewise.
11326 * benchtests/log-inputs: Likewise.
11327 * benchtests/pow-inputs: Likewise.
11328 * benchtests/rint-inputs: Likewise.
11329 * benchtests/sin-inputs: Likewise.
11330 * benchtests/sinh-inputs: Likewise.
11331 * benchtests/tan-inputs: Likewise.
11332 * benchtests/tanh-inputs: Likewise.
11333 * scripts/bench.pl: Add support for new directives.
11334
9ec1b13d
AM
113352013-10-07 Alan Modra <amodra@gmail.com>
11336
11337 * README: Fix careless merge.
11338
8b7d57cd
AM
113392013-10-05 Alan Modra <amodra@gmail.com>
11340
11341 * NEWS: Mention powerpc64le support and bugs fixed.
11342 * README: Both big-endian and little-endian powerpc64 supported.
11343
7b7bab13
ST
113442013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11345
57f41c40
AS
11346 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11347 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
11348 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11349 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11350
d39baad1
RA
113512013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11352
11353 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11354 match prototype.
11355
cd78f7e7
JM
113562013-10-04 Joseph Myers <joseph@codesourcery.com>
11357
29d73d86
JM
11358 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11359 Move -mhard-float appending from
11360 ports/sysdeps/powerpc/powerpc32/Makefile.
11361 [$(with-fp) = yes] (ASFLAGS): Likewise.
11362 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11363 * sysdeps/powerpc/nofpu: Move directory from
11364 ports/sysdeps/powerpc/nofpu.
11365 * sysdeps/powerpc/soft-fp: Move directory from
11366 ports/sysdeps/powerpc/soft-fp.
11367 * sysdeps/powerpc/powerpc32/405: Move directory from
11368 ports/sysdeps/powerpc/powerpc32/405.
11369 * sysdeps/powerpc/powerpc32/440: Move directory from
11370 ports/sysdeps/powerpc/powerpc32/440.
11371 * sysdeps/powerpc/powerpc32/464: Move directory from
11372 ports/sysdeps/powerpc/powerpc32/464.
11373 * sysdeps/powerpc/powerpc32/476: Move directory from
11374 ports/sysdeps/powerpc/powerpc32/476.
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11376 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11378 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11380 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11382 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11384 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11385 * README: Update for powerpc-*-linux-gnu software floating point
11386 support in libc.
11387
e246b347
JM
11388 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11389 case to powerpc/powerpc32*.
11390 * sysdeps/unix/sysv/linux/configure: Regenerated.
11391
89c2003e
JM
11392 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11393 (_FPU_MASK_OM): Define as 0x04.
11394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11396 0x00c10080.
11397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11398 0x0000003c.
11399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11400
cd78f7e7
JM
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11402 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11403 getcontext_e500.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11405 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11406 setcontext_e500.
11407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11408 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11409 and setcontext_e500.
11410
c755294d
CL
114112013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11412
11413 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11414
e16d221c
SP
114152013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11416
11417 * manual/threads.texi (Default Thread Attributes): Fix typo.
11418
215c7d43
WN
114192013-10-04 Will Newton <will.newton@linaro.org>
11420
11421 * malloc/Makefile: Add tst-memalign.
11422 * malloc/tst-memalign.c: New file.
11423
27d0461b
WN
11424 * malloc/tst-posix_memalign.c: Add comments.
11425 (do_test): Add comments and call free on all potentially
11426 allocated pointers. Add space after cast.
11427
1bc92709
WN
11428 * malloc/tst-pvalloc.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
66a9be9d
WN
11433 * malloc/tst-valloc.c: Add comments.
11434 (do_test): Add comments and call free on all potentially
11435 allocated pointers. Remove duplicate check for NULL pointer.
11436 Add space after cast.
11437
4cb81307
AM
114382013-10-04 Alan Modra <amodra@gmail.com>
11439
11440 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11441 Use stdint types in rather than __attribute__((mode())).
11442 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11443
f8e3e9f3
AM
114442013-10-04 Alan Modra <amodra@gmail.com>
11445
11446 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11447 Correct handling of unaligned relocs for little-endian.
11448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11449
8f9ebb08
AM
114502013-10-04 Alan Modra <amodra@gmail.com>
11451
11452 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11453 * configure: Regenerate.
11454 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11455 * shlib-versions: Likewise.
11456
0edf96c2
AM
114572013-10-04 Alan Modra <amodra@gmail.com>
11458
11459 * string/tester.c (test_memrchr): Increment reported test cycle.
11460
e0f7a380
AM
114612013-10-04 Alan Modra <amodra@gmail.com>
11462
11463 * string/test-memcpy.c (do_one_test): When reporting errors, print
11464 string address and don't overrun end of string.
11465
466b0393
AM
114662013-10-04 Alan Modra <amodra@gmail.com>
11467
11468 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11469 insrdi. Make better use of reg selection to speed exit slightly.
11470 Schedule entry path a little better. Remove useless "are we done"
11471 checks on entry to main loop. Handle wrapping around zero address.
11472 Correct main loop count. Handle single left-over word from main
11473 loop inline rather than by using loop_small. Remove extra word
11474 case in loop_small caused by wrong loop count. Add little-endian
11475 support.
11476 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11477 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11478 cache hint.
11479 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11480 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11481 support. Avoid rlwimi.
11482 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11483
3be87c77
AM
114842013-10-04 Alan Modra <amodra@gmail.com>
11485
11486 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11487 insrdi. Formatting.
3be87c77
AM
11488 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11489 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11490 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11491 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11492 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11493 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11494
759cfef3
AM
114952013-10-04 Alan Modra <amodra@gmail.com>
11496
11497 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11498 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11499 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11500 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11501 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11502 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11503 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11504 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11505 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11506 use of regs. Use power7 mtocrf. Tidy function tails.
11507
fe6e95d7
AM
115082013-10-04 Alan Modra <amodra@gmail.com>
11509
11510 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11511 Formatting. Consistently use rXXX register defines or rN defines.
11512 Use early exit labels that avoid restoring unused non-volatile regs.
11513 Make cr field use more consistent with rWORDn compares. Rename
11514 regs used as shift registers for unaligned loop, using rN defines
11515 for short lifetime/multiple use regs.
11516 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11517 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11518 addi 1,1,64 to pop stack frame. Simplify return value code.
11519 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11520
664318c3
AM
115212013-10-04 Alan Modra <amodra@gmail.com>
11522
11523 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11524 support. Correct typos, formatting. Optimize tail. Use insrdi
11525 rather than rlwimi.
11526 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11527 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11528 little-endian support. Correct typos.
11529 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11530 rather than rlwimi.
11531 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11532 in loop and entry code to keep "and." results.
11533 (strchr): Add little-endian support. Comment. Move cntlzd
11534 earlier in tail.
11535 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11536
43b84013
AM
115372013-10-04 Alan Modra <amodra@gmail.com>
11538
11539 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11540 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11541 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11542 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11543
8a7413f9
AM
115442013-10-04 Alan Modra <amodra@gmail.com>
11545
11546 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11547 (rTMP): Define as r11.
11548 (strcmp): Add little-endian support. Optimise tail.
11549 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11550 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11551 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11552 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11553 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11554 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11555 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11556
33ee81de
AM
115572013-10-04 Alan Modra <amodra@gmail.com>
11558
11559 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11560 little-endian support. Remove unnecessary "are we done" tests.
11561 Handle "s" wrapping around zero and extremely large "size".
11562 Correct main loop count. Handle single left-over word from main
11563 loop inline rather than by using small_loop. Correct comments.
11564 Delete "zero" tail, use "end_max" instead.
11565 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11566
db9b4570
AM
115672013-10-04 Alan Modra <amodra@gmail.com>
11568
11569 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11570 support. Don't branch over align.
11571 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11572 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11573 support. Rearrange tmp reg use to suit. Comment.
11574 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11575
f7c399cf
AM
115762013-10-04 Alan Modra <amodra@gmail.com>
11577
11578 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11579
0b2c2ace
AM
115802013-10-04 Alan Modra <amodra@gmail.com>
11581
11582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11583 conditional form of branch and link when obtaining pc.
11584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11585
02f04a6c
AM
115862013-10-04 Alan Modra <amodra@gmail.com>
11587
11588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11589 HIWORD/LOWORD.
11590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11592
9b874b2f
AM
115932013-10-04 Alan Modra <amodra@gmail.com>
11594
11595 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11596 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11597 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11598 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11599 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11600 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11601 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11602 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11603 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11604 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11605
be1e5d31
AB
116062013-10-04 Anton Blanchard <anton@au1.ibm.com>
11607 Alistair Popple <alistair@ozlabs.au.ibm.com>
11608 Alan Modra <amodra@gmail.com>
11609
11610 [BZ #15723]
11611 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11612 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11613 _dl_hwcap access for little-endian.
11614 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11615 destroy vmx regs when saving unaligned.
11616 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11617 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11618 destroy vmx regs when saving unaligned.
11619
fef13a78
AM
116202013-10-04 Alan Modra <amodra@gmail.com>
11621
11622 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11623 Don't use a union to pack hi/low value.
11624
76a66d51
AB
116252013-10-04 Anton Blanchard <anton@au1.ibm.com>
11626
11627 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11628 for little-endian.
11629 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11630 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11631 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11632 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11633 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11634
6a31fe7f
AM
116352013-10-04 Alan Modra <amodra@gmail.com>
11636
11637 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11638 constants to usual value for .cst8 section, and remove redundant
11639 high address load.
11640 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11641 constant for 0x1p52. Load little-endian words of double from
11642 correct stack offsets.
11643
7b88401f
AM
116442013-10-04 Alan Modra <amodra@gmail.com>
11645
11646 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11647 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11648 words of double from correct stack offsets.
11649 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11650 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11651 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11652 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11653 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11654 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11655 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11656 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11657 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11658 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11659 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11660 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11661 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11662 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11663 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11664 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11665 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11666
9c008155
AM
116672013-10-04 Alan Modra <amodra@gmail.com>
11668
11669 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11670 64-bit int/double union.
11671 (_FPU_SETCW): Likewise.
11672 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11673 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11674
da13146d
AM
116752013-10-04 Alan Modra <amodra@gmail.com>
11676
11677 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11678 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11679
603e8410
AM
116802013-10-04 Alan Modra <amodra@gmail.com>
11681
11682 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11683 use vector int constants.
11684 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11685
4a28b3ca
AB
116862013-10-04 Anton Blanchard <anton@au1.ibm.com>
11687
11688 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11689 array with long long.
11690 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11691 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11692 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11693 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11694 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11695 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11696 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11697 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11698 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11699 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11700 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11701 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11702 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11703
2ca85d2b
AB
117042013-10-04 Anton Blanchard <anton@au1.ibm.com>
11705
11706 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11707 (__signbit): Likewise. Correct for little-endian.
11708 (__signbitl): Call __signbit.
11709 (lrint): Correct for little-endian.
11710 (lrintf): Call lrint.
11711
62a728ae
AM
117122013-10-04 Alan Modra <amodra@gmail.com>
11713
11714 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11715 union 32-bit int array member with 64-bit int array.
11716 (t515, tm256): Double rather than long double.
11717 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11718
32c301df
AM
117192013-10-04 Alan Modra <amodra@gmail.com>
11720
11721 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11722 Delete.
11723 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11724 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11725 version of math_ldbl.h.
11726
650ef4bd
AM
117272013-10-04 Alan Modra <amodra@gmail.com>
11728
11729 [BZ #15734], [BZ #15735]
11730 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11731 all uses of ieee875 long double macros and unions. Simplify test
11732 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11733 ldbl_extract_mantissa value for ix,iy exponents. Properly
11734 normalize after ldbl_extract_mantissa, and don't add hidden bit
11735 already handled. Don't treat low word of ieee854 mantissa like
11736 low word of IBM long double and mask off bit when testing for
11737 zero.
11738 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11739 all uses of ieee875 long double macros and unions. Simplify tests
11740 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11741 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11742 two1022, instead use their values. Recognise that tests for large
11743 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11744 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11745 Rewrite all uses of ieee875 long double macros and unions. Simplify
11746 test for 0.0L and nan. Correct negation.
11747 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11748 ieee875 long double macros and unions. Correct output for large
11749 magnitude x. Correct absolute value calculation.
11750 (__erfcl): Likewise.
11751 * math/libm-test.inc: Add tests for errors discovered in IBM long
11752 double versions of fmodl, remainderl, erfl and erfcl.
11753
765714ca
AM
117542013-10-04 Alan Modra <amodra@gmail.com>
11755
11756 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11757 all uses of ieee854 long double macros and unions. Simplify tests
11758 for long doubles that are fully specified by the high double.
11759 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11760 Likewise.
11761 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11762 Remove dead code too.
11763 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11764 (__ieee754_ynl): Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11768 Remove dead code too.
11769 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11770 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11771 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11772 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11773 Simplify.
11774 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11775 Simplify.
11776 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11777 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11778 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11779 Comment on variable precision.
11780 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11781 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11782 Likewise.
11783 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11784 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11785 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11786 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11787 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11788
4ebd120c
AM
117892013-10-04 Alan Modra <amodra@gmail.com>
11790
11791 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11792 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11793 all uses of ieee854 long double macros and unions.
11794 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11795 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11796 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11797 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11798 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11799 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11800 Likewise.
11801 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11802 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11803 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11804 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11805 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11806 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11807 Simplify sign and nan test too.
11808 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11809 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11810 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11811 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11812 Likewise.
11813 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11814 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11815 Likewise.
11816 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11817 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11818 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11819 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11820 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11821 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11822
1b6adf88
AM
118232013-10-04 Alan Modra <amodra@gmail.com>
11824
11825 * stdio-common/printf_size.c (__printf_size): Don't use
11826 union ieee854_long_double in fpnum union.
11827 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11828 signbit macro to retrieve sign from long double.
11829 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11830 retrieve sign from long double.
11831 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11832 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11833 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11834 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11835 * math/test-misc.c (main): Don't use union ieee854_long_double.
11836
4cf69995
AM
118372013-10-04 Alan Modra <amodra@gmail.com>
11838
11839 [BZ #15680]
11840 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11841 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11842 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11843 calculation. Remove unnecessary test for denormal exponent.
11844 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11845 Correct handling of denormals. Avoid undefined shift behaviour.
11846 Correct normalisation of low mantissa when low double is denormal.
11847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11848 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11849 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11850 Correct normalisation of low mantissa. Test for overflow of high
11851 mantissa and normalise.
11852 (ldbl_nearbyint): Use more readable constant for two52.
11853 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11854 (__mpn_construct_long_double): Fix test for overflow of high
11855 mantissa and correct normalisation. Avoid undefined shift.
11856
9605ca6c
AM
118572013-10-04 Alan Modra <amodra@gmail.com>
11858
11859 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11860 (union ibm_extended_long_double): Define as an array of ieee754_double.
11861 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11862 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11863 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11864 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11865 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11866 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11867 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11868 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11869 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11870 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11871 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11872
975569d0
JM
118732013-10-03 Joseph Myers <joseph@codesourcery.com>
11874
d3d23756
JM
11875 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11876 page size instead of calling getpagesize.
11877
975569d0
JM
11878 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11879 (LOCFILE_ALIGN_MASK): Likewise.
11880 (LOCFILE_ALIGN_UP): Likewise.
11881 (LOCFILE_ALIGNED_P): Likewise.
11882 * locale/programs/ld-collate.c (collate_output): Use the new
11883 macros instead of __alignof__ (int32_t).
11884 * locale/weight.h (findidx): Likewise.
11885
b1fe1f2b
OB
118862013-10-03 Ondřej Bílka <neleai@seznam.cz>
11887
11888 [BZ #431]
11889 * manual/string.texi: Fix strncat and wcsncat.
11890
5f855e35
BM
118912013-10-03 Brooks Moses <bmoses@google.com>
11892
11893 [BZ #15915]
11894 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11895 * Makerules: ...here, and adjust associated comments.
11896
3cef6009
WN
118972013-10-02 Will Newton <will.newton@linaro.org>
11898
11899 * malloc/Makefile: Add tst-pvalloc.
11900 * malloc/tst-pvalloc.c: New file.
11901
7815420b
WN
119022013-10-02 Will Newton <will.newton@linaro.org>
11903
11904 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11905 improve test coverage.
11906
4868b204
WN
119072013-10-02 Will Newton <will.newton@linaro.org>
11908
11909 * malloc/Makefile: Add tst-posix_memalign.
11910 * malloc/tst-posix_memalign.c: New file.
11911
29c793b3
EB
119122013-10-01 Eric Blake <eblake@redhat.com>
11913
11914 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11915 Use __THROWNL rather than __THROW on static functions.
11916
fd967522
PM
119172013-09-30 Petr Machata <pmachata@redhat.com>
11918
11919 * elf/elf.h (R_AARCH64_ABS16): New macro.
11920 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11921 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11922 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11923 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11924 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11925 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11926 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11927 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11928 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11929 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11930 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11931 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11932 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11933 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11934 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11935 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11936 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11937 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11938 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11939 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11940 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11941 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11942 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11943 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11944 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11945 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11946 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11947 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11948 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11949 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11950 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11951 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11952 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11953 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11954 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11955 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11956 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11957 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11958 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11959 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11960 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11961 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11962 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11963 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11964 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11965 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11966 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11967 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11968 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11969 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11970 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11971 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11972 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11973 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11974 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11975 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11976 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11977 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11978 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11979 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11980 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11981 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11982 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11983 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11984 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11985 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11986 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11987 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11988 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11989 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11990 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11991 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11992 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11993 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11994 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11995 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11996 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11997 (R_AARCH64_TLSDESC_LDR): Likewise.
11998 (R_AARCH64_TLSDESC_ADD): Likewise.
11999 (R_AARCH64_TLSDESC_CALL): Likewise.
12000
b2179107
AS
120012013-09-30 Andreas Schwab <schwab@suse.de>
12002
12003 [BZ #15048]
12004 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12005 the nss database lookup.
12006 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12008
47f28d0a
MF
120092013-09-28 Mike Frysinger <vapier@gentoo.org>
12010
12011 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12012
120132013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12014
12015 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12016 ${Bash-specific parameter/pattern/string} parameter expansion.
12017 * sysdeps/unix/make-syscalls.sh: Likewise.
12018
f4518a17
KK
120192013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12020
12021 * sysdeps/sh/stackguard-macros.h: New file.
12022
dc1a95c7
OB
120232013-09-26 Ondřej Bílka <neleai@seznam.cz>
12024
12025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12027 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12028 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12029 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12030 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12031
5ebbff8f
AZ
120322013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12033
12034 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12035 Fix thread ID register.
12036
4fd2cf9f
JM
120372013-09-25 Joseph Myers <joseph@codesourcery.com>
12038
12039 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12040 [POSIX || UNIX98]: Require rather than permitting all symbols from
12041 <time.h>.
12042 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12043 element of struct sched_param.
12044 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12045 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12046 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12047 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12048 constant.
12049
12c22bc4
OL
120502013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12051
12052 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12053 argument calculation.
12054
a03d8ea7
JM
120552013-09-24 Joseph Myers <joseph@codesourcery.com>
12056
12057 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12058 Expect macro.
12059 [POSIX] (pthread_attr_t): Do not require type.
12060 [POSIX] (pthread_cond_t): Likewise.
12061 [POSIX] (pthread_condattr_t): Likewise.
12062 [POSIX] (pthread_key_t): Likewise.
12063 [POSIX] (pthread_mutex_t): Likewise.
12064 [POSIX] (pthread_mutexattr_t): Likewise.
12065 [POSIX] (pthread_once_t): Likewise.
12066 [POSIX] (pthread_t): Likewise.
12067 [POSIX-based standards] (pthread_atfork): Expect function.
12068
6055173a
JM
120692013-09-24 Joseph Myers <joseph@codesourcery.com>
12070 Richard Sandiford <richard@codesourcery.com>
12071
12072 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12073 (swap_endianness_p): New extern variable.
12074 (set_big_endian): New inline function.
12075 (maybe_swap_uint32): Likewise.
12076 (maybe_swap_uint32_array): Likewise.
12077 (maybe_swap_uint32_obstack): Likewise.
12078 * locale/programs/locfile.c: Include <stdbool.h>.
12079 (swap_endianness_p): New variable.
12080 (add_locale_uint32): Call maybe_swap_uint32.
12081 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12082 (write_locale_data): Call maybe_swap_uint32_array.
12083 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12084 maybe_swap_uint32.
12085 (obstack_int32_grow_fast): Likewise.
12086 (output_weightwc): Call maybe_swap_uint32_obstack.
12087 (collate_output): Likewise.
12088 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12089 (OPT_LITTLE_ENDIAN): Likewise.
12090 (options): Add --little-endian and --big-endian options.
12091 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12092 * locale/programs/locarchive.c: Include "locfile.h".
12093 (GET): New macro.
12094 (SET): Likewise.
12095 (INC): Likewise.
12096 (create_archive): Use the new macros to access fields of
12097 structures directly mapped from or written to locale archives.
12098 (oldlocrecentcmp): Likewise.
12099 (enlarge_archive): Likewise.
12100 (insert_name): Likewise.
12101 (add_alias): Likewise.
12102 (add_locale): Likewise.
12103 (delete_locales_from_archive): Likewise.
12104 (show_archive_content): Likewise.
12105 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12106 locale data.
12107
39bf0bb4
RM
121082013-09-24 Roland McGrath <roland@hack.frob.com>
12109
12110 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12111 http://www.gnu.org/doc/freemanuals.texi.
12112 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12113
f02eed10
WN
121142013-09-24 Will Newton <will.newton@linaro.org>
12115
12116 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12117 macro.
12118
a3a6c312
JM
121192013-09-23 Joseph Myers <joseph@codesourcery.com>
12120
12121 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12122 unsigned char.
12123
107375ac
MR
121242013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12125
12126 * manual/threads.texi (POSIX Threads): Fix a typo.
12127
141f3a77
SP
121282013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12129
303e567a
SP
12130 [BZ #14547]
12131 * string/tst-strcoll-overflow.c: New test case.
12132 * string/Makefile (xtests): Add tst-strcoll-overflow.
12133 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12134 cache if string sizes may cause integer overflow.
12135
141f3a77
SP
12136 [BZ #14547]
12137 * string/strcoll_l.c (coll_seq): New members rule, idx,
12138 save_idx and back_us.
12139 (get_next_seq_nocache): New function.
12140 (do_compare_nocache): New function.
12141 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12142 when malloc fails.
12143
c61b4d41
CD
121442013-09-23 Carlos O'Donell <carlos@redhat.com>
12145
0b1f8e35
CD
12146 [BZ #15754]
12147 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12148 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12149 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12150
c61b4d41
CD
12151 [BZ #15754]
12152 * elf/Makefile (tests): Add tst-ptrguard1.
12153 (tests-static): Add tst-ptrguard1-static.
12154 (tst-ptrguard1-ARGS): Define.
12155 (tst-ptrguard1-static-ARGS): Define.
12156 * elf/tst-ptrguard1.c: New file.
12157 * elf/tst-ptrguard1-static.c: New file.
12158 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12159 * sysdeps/i386/stackguard-macros.h: Likewise.
12160 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12161 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12162 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12163 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12164 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12165 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12166
121672013-09-23 Hector Marco <hecmargi@upv.es>
12168 Ismael Ripoll <iripoll@disca.upv.es>
12169 Carlos O'Donell <carlos@redhat.com>
12170
12171 [BZ #15754]
12172 * sysdeps/generic/stackguard-macros.h: Define
12173 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12174 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12175 Define __pointer_chk_guard_local.
12176 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12177 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12178
f5f4e7b4
VV
121792013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12180
12181 [BZ #15859]
12182 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12183
5bb43a43
AS
121842013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12185
12186 * include/string.h (__ffs): Declare as hidden.
12187 * string/ffs.c (__ffs): Define as hidden.
12188 * sysdeps/i386/ffs.c (__ffs): Likewise.
12189 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12190 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12191 * sysdeps/s390/ffs.c (__ffs): Likewise.
12192 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12193
3ea5be54
AO
121942013-09-20 Alexandre Oliva <aoliva@redhat.com>
12195
ffb89e53
AO
12196 * NEWS: Mention malloc probes.
12197
322dea08
AO
12198 * malloc/arena.c (new_heap): New memory_heap_new probe.
12199 (grow_heap): New memory_heap_more probe.
12200 (shrink_heap): New memory_heap_less probe.
12201 (heap_trim): New memory_heap_free probe.
12202 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12203 (systrim): New memory_sbrk_less probe.
12204 * manual/probes.texi: Document them.
12205
655673f3
AO
12206 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12207 * manual/probes.texi: Document it.
12208
35fed6f1
AO
12209 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12210 (__libc_realloc): Add memory_realloc_retry probe.
12211 (__libc_memalign): Add memory_memalign_retry probe.
12212 (__libc_valloc): Add memory_valloc_retry probe.
12213 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12214 (__libc_calloc): Add memory_calloc_retry probe.
12215 * manual/probes.texi: Document them.
12216
6999d38c
AO
12217 * malloc/arena.c (get_free_list): Add probe
12218 memory_arena_reuse_free_list.
12219 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12220 and memory_arena_reuse.
12221 (arena_get2) [!PER_THREAD]: Likewise.
12222 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12223 memory_arena_reuse_realloc.
12224 * manual/probes.texi: Document them.
12225
0653427f
AO
12226 * malloc/malloc.c (__libc_free): Add
12227 memory_mallopt_free_dyn_thresholds probe.
12228 (__libc_mallopt): Add multiple memory_mallopt probes.
12229 * manual/probes.texi: Document them.
12230
3ea5be54
AO
12231 * malloc/malloc.c: Include stap-probe.h.
12232 (__libc_mallopt): Add memory_mallopt probe.
12233 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12234 * manual/probes.texi: New.
12235 * manual/Makefile (chapters): Add probes.
12236 * manual/threads.texi: Set next node.
12237
e35696c3 122382013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 12239
e35696c3
CL
12240 [BZ #15963, #13985]
12241 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12242 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12243 Add `Chinese' to `nan' entry name.
12244
4aafb73c
SP
122452013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12246
12247 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12248 (POLYNOMIAL): Likewise.
12249 (TAYLOR_SINCOS): Likewise.
12250 (TAYLOR_SLOW): Likewise.
12251 (__sin): Use TAYLOR_SINCOS.
12252 (__cos): Likewise.
12253 (slow): Use TAYLOR_SLOW.
12254 (sloww): Likewise.
12255 (bsloww): Likewise.
12256 (csloww): Likewise.
12257
d84f25c7
LD
122582013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12259
12260 * stdlib/strtod_l.c: Fix buffer overrun.
12261
5eea0404
SP
122622013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12263
7849ff93
SP
12264 * benchtests/Makefile (bench): Add sincos.
12265 * benchtests/bench-sincos.c: New file.
12266
cfa3c886
SP
12267 * math/libm-test.inc (cos_test_data): New test inputs.
12268 (sin_test_data): Likewise.
12269
b348e1e3
SP
12270 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12271 macro.
12272 (__sin): Use it.
12273 (__cos): Likewise.
12274 (slow1): Likewise.
12275 (slow2): Likewise.
12276 (sloww1): Likewise.
12277 (sloww2): Likewise.
12278 (bsloww1): Likewise.
12279 (bsloww2): Likewise.
12280 (cslow2): Likewise.
12281 (csloww1): Likewise.
12282 (csloww2): Likewise.
12283
6cce25f8
SP
12284 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12285 function.
12286 (__sin): Use it.
12287 (__cos): Likewise.
12288
5eea0404
SP
12289 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12290 gotos.
12291 (__cos): Likewise.
12292
9c21573c
MR
122932013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12294
12295 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12296 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12297 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12298 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12299 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12300 * elf/cache.c (print_entry): Handle the new cache flags.
12301
24d22e65
JM
123022013-09-18 Joseph Myers <joseph@codesourcery.com>
12303 Aldy Hernandez <aldyh@redhat.com>
12304
12305 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12306 Change condition to [_SOFT_FLOAT].
12307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12319 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12322 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12323 declaration.
12324
d13ef066
JM
123252013-09-18 Joseph Myers <joseph@codesourcery.com>
12326
2e071de0
JM
12327 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12328 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12329 (__longjmp): Use LOAD_GP to load saved GPRs.
12330 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12331 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12332 (__sigsetjmp): Use SAVE_GP to save GPRs.
12333
d13ef066
JM
12334 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12335 Do not append -msoft-float.
12336 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12337
97a0650b
SP
123382013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12339
12340 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12341
11ca09e9
JM
123422013-09-17 Joseph Myers <joseph@codesourcery.com>
12343
12344 [BZ #15966]
12345 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12346 (_FPU_GETCW): Use initial "__" on variable and field names but not
12347 on macro parameter name.
12348 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12349 parentheses around reference to macro parameter.
12350
08ffcf34
RS
123512013-09-13 Richard Sandiford <richard@codesourcery.com>
12352
12353 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12354 prototype.
12355 (ctype_startup): Use uint32_t in cast and sizeof for
12356 ctype->charnames.
12357
ae7080d3
JL
123582013-09-11 Jia Liu <proljc@gmail.com>
12359
12360 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12361 __daddr_t_defined.
12362 [__FreeBSD__]: Likewise.
12363
5905e7b3
OB
123642013-09-11 Ondřej Bílka <neleai@seznam.cz>
12365
12366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12367 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12368 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12369 (strchr): Remove __strchr_sse42 ifunc selection.
12370 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12371 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12372
b987c776
WN
123732013-09-11 Will Newton <will.newton@linaro.org>
12374
12375 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12376 parameter to RES. Remove hardcoded 1000 value.
12377 * benchtests/bench-skeleton.c (main): Pass RES parameter
12378 to TIMING_INIT and multiply result by 1000.
12379
ddf985af
AZ
123802013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12381
12382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12383
ffdd3181
AS
123842013-09-11 Andreas Schwab <schwab@suse.de>
12385
12386 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12387 if not defined.
12388 (O_TMPFILE) [__USE_GNU]: Define.
12389 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12390 Define.
12391
b73ed247
WN
123922013-09-11 Will Newton <will.newton@linaro.org>
12393
12394 [BZ #15857]
12395 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12396 does not overflow.
12397
55e17aad
WN
123982013-09-11 Will Newton <will.newton@linaro.org>
12399
12400 [BZ #15856]
12401 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12402 does not overflow.
12403
1159a193
WN
124042013-09-11 Will Newton <will.newton@linaro.org>
12405
12406 [BZ #15855]
12407 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12408 does not overflow.
12409
5905e7b3 124102013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12411
12412 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12413 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12417
cdfc721b
AM
124182013-09-10 Allan McRae <allan@archlinux.org>
12419
aa04af00
AM
12420 [BZ #15748]
12421 * manual/arith.texi (Parsing of Floats): Clarify
12422 cross-reference.
12423
cdfc721b
AM
12424 [BZ #15849]
12425 * manual/install.texi (Running make install): Mention
12426 --enable-pt-chown.
12427 * INSTALL: Regenerated.
12428
95e7cf29
MR
124292013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12430
12431 * csu/init-first.c (_init): Remove the !SHARED condition around
12432 FPU control word initialization.
12433 * elf/dl-support.c (_dl_fpu_control): New variable.
12434 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12435 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12436 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12437 * math/test-fpucw-static.c: New file.
12438 * math/test-fpucw-ieee.c: New file.
12439 * math/test-fpucw-ieee-static.c: New file.
12440 * math/Makefile (tests): Add `test-fpucw-ieee' and
12441 `$(tests-static)'.
12442 (tests-static): New variable.
12443 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12444 dependency to...
12445 [($(build-shared),yes)]
12446 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12447 ... this.
12448 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12449 New dependency.
12450
83e43bf0
AM
124512013-09-09 Allan McRae <allan@archlinux.org>
12452
a9f5ce09
AM
12453 [BZ #15939]
12454 * manual/string.texi (Collation Functions): Fix typo in
12455 strcoll example.
12456 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12457
34829bc2
AM
12458 [BZ #15893]
12459 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12460
3932737d
AM
12461 [BZ #15892]
12462 * libio/memstream.c (open_memstream): Fix memory leak.
12463 * libio/wmemstream.c (open_wmemstream): Likewise.
12464
83e43bf0
AM
12465 [BZ #15895]
12466 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12467
0c66b8e9
WN
124682013-09-09 Will Newton <will.newton@linaro.org>
12469
12470 * malloc/Makefile: Add tst-realloc to tests.
12471 * malloc/tst-realloc.c: New file.
12472
f6b00fd1
AM
124732013-09-09 Allan McRae <allan@archlinux.org>
12474
12475 [BZ #15844]
12476 * COPYING: Update from GNU website to fix FSF address.
12477 * COPYING.LIB: Likewise.
12478
eec55e16
DM
124792013-09-06 David S. Miller <davem@davemloft.net>
12480
12481 * po/zh_TW.po: Update Chinese (traditional) translation from
12482 translation project.
12483
1ecbb381
RS
124842013-09-06 Richard Sandiford <richard@codesourcery.com>
12485 Joseph Myers <joseph@codesourcery.com>
12486
12487 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12488 "localeinfo.h".
12489 (obstack_chunk_alloc): New macro.
12490 (obstack_chunk_free): Likewise.
12491 (record_offset): New function.
12492 (init_locale_data): Likewise.
12493 (align_locale_data): Likewise.
12494 (add_locale_empty): Likewise.
12495 (add_locale_raw_data): Likewise.
12496 (add_locale_raw_obstack): Likewise.
12497 (add_locale_string): Likewise.
12498 (add_locale_wstring): Likewise.
12499 (add_locale_uint32): Likewise.
12500 (add_locale_uint32_array): Likewise.
12501 (add_locale_char): Likewise.
12502 (start_locale_structure): Likewise.
12503 (end_locale_structure): Likewise.
12504 (start_locale_prelude): Likewise.
12505 (end_locale_prelude): Likewise.
12506 (write_locale_data): Take locale_file structure rather than an
12507 iovec.
12508 * locale/programs/locfile.h: Include "obstack.h".
12509 (struct locale_file): Change to store locale file contents instead
12510 of header.
12511 (init_locale_data): New prototype.
12512 (align_locale_data): Likewise.
12513 (add_locale_empty): Likewise.
12514 (add_locale_raw_data): Likewise.
12515 (add_locale_raw_obstack): Likewise.
12516 (add_locale_string): Likewise.
12517 (add_locale_wstring): Likewise.
12518 (add_locale_uint32): Likewise.
12519 (add_locale_uint32_array): Likewise.
12520 (add_locale_char): Likewise.
12521 (start_locale_structure): Likewise.
12522 (end_locale_structure): Likewise.
12523 (start_locale_prelude): Likewise.
12524 (end_locale_prelude): Likewise.
12525 (write_locale_data): Update prototype.
12526 * locale/programs/3level.h (struct TABLE): Remove result field.
12527 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12528 Use new locale_file interface.
12529 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12530 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12531 * locale/programs/ld-address.c (address_output): Use new
12532 locale_file interface.
12533 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12534 NO_ADD_LOCALE.
12535 (collate_finish): Don't call collseq_table_finalize.
12536 (collate_output): Use new locale_file interface.
12537 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12538 in file.
12539 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12540 (TABLE): Move defines earlier in file.
12541 (ELEMENT): Likewise.
12542 (DEFAULT): Likewise.
12543 (wctrans_table_add): Move macro and inline function earlier in
12544 file.
12545 (struct wctype_table): Move type earlier in file.
12546 (add_locale_wctype_table): New static prototype.
12547 (struct locale_ctype_t): Use logical types instead of struct iovec
12548 pointers for members.
12549 (ctype_output): Use new locale_file interface.
12550 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12551 new locale_file interface.
12552 (allocate_arrays): Update for use of new locale_file interface.
12553 * locale/programs/ld-identification.c (identification_output): Use
12554 new locale_file interface.
12555 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12556 * locale/programs/ld-messages.c (messages_output): Likewise.
12557 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12558 * locale/programs/ld-name.c (name_output): Likewise.
12559 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12560 * locale/programs/ld-paper.c (paper_output): Likewise.
12561 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12562 * locale/programs/ld-time.c (time_output): Likewise.
12563
e029e2e5
AZ
125642013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12565
12566 * benchtests/Makefile: Add memrchr benchmark.
12567 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12568 benchmark as memrchr.
12569 * benchtests/bench-memrchr-ifunc.c: New file.
12570 * benchtests/bench-memrchr.c: New file.
12571
bbf6e8e4
WN
125722013-09-06 Will Newton <will.newton@linaro.org>
12573
12574 * benchtests/Makefile (string-bench): Add memcpy.
12575
6c82a2f8
CD
125762013-09-05 Carlos O'Donell <carlos@redhat.com>
12577 Cong Wang <amwang@redhat.com>
12578
e732c5f0 12579 [BZ #15850]
6c82a2f8
CD
12580 * sysdeps/unix/sysv/linux/bits/in.h
12581 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12582 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12583 before __USE_KERNEL_IPV6_DEFS uses.
12584 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12585 IPPROTO_BEETPH.
12586 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12587 sockaddr_in6, or ipv6_mreq.
12588
5430fc65
AZ
125892013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12590
12591 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12592 memory access for final bytes in some large inputs.
12593 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12594
4660856c
AZ
125952013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12596
12597 * string/test-memrchr.c: New file.
12598 * string/test-memrchr-ifunc.c: New file.
12599 * string/Makefile: Add new memrchr testcase.
12600
bb8ea713
MF
126012013-09-05 Mike Frysinger <vapier@gentoo.org>
12602
12603 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12604 fanotify_init returns EPERM.
12605
b92a20b5
JM
126062013-09-04 Joseph Myers <joseph@codesourcery.com>
12607
12608 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12609 errors.
12610 (top level): Treat second token from macro or constant entries for
12611 allowed headers as allowed.
12612 * include/complex.h: Condition internal declarations on
12613 [!_ISOMAC].
12614 * include/fenv.h: Condition include of <stdbool.h> and internal
12615 declarations on [!_ISOMAC].
7447ccd9
CL
12616
126172013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12618
3e181dda 12619 [BZ #15923]
7447ccd9
CL
12620 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12621
3f2e46a4
JM
126222013-09-04 Joseph Myers <joseph@codesourcery.com>
12623
12624 * configure.in (--enable-versioning): Remove configure option.
12625 (libc_cv_asm_symver_directive): Remove configure test.
12626 (libc_cv_ld_version_script_option): Likewise.
12627 (VERSIONING): Remove variable and AC_SUBST.
12628 (DO_VERSIONING): Remove AC_DEFINE.
12629 * configure: Regenerated.
12630 * config.h.in (DO_VERSIONING): Remove macro.
12631 * Makerules [$(versioning) = yes]: Change conditionals to
12632 [$(build-shared) = yes].
12633 * config.make.in (versioning): Remove variable.
12634 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12635 [$(build-shared) = yes].
12636 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12637 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12638 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12639 [$(build-shared) = yes].
12640 * extra-lib.mk [$(versioning) = yes]: Likewise.
12641 * hurd/Makefile [$(versioning) = yes]: Likewise.
12642 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12643 [SHARED].
12644 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12645 [SHARED].
12646 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12647 [SHARED && !NO_HIDDEN].
12648 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12649 [SHARED].
12650 [SHARED && DO_VERSIONING]: Likewise..
12651 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12652 [$(build-shared) = yes].
12653 * manual/install.texi (--disable-versioning): Remove
12654 documentation.
12655 * INSTALL: Regenerated.
12656 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12657 to [SHARED].
12658 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12659 [$(build-shared) = yes].
12660 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12661 * sysdeps/i386/i686/multiarch/strstr-c.c
12662 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12663 [SHARED && !NO_HIDDEN].
12664 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12665 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12666 * sysdeps/powerpc/powerpc32/dl-machine.c
12667 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12668 * sysdeps/powerpc/powerpc32/sysdep.h
12669 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12670 to [SHARED && PIC && !NO_HIDDEN].
12671 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12672 conditional to [SHARED].
12673
44558701
WN
126742013-09-04 Will Newton <will.newton@linaro.org>
12675
12676 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12677 * benchtests/bench-string.h: Include bench-timing.h instead
12678 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12679 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12680 call to HP_TIMING_DIFF_INIT.
12681 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12682 instead of hp-timing.h macros.
12683 * benchtests/bench-memchr.c: Likewise.
12684 * benchtests/bench-memcmp.c: Likewise.
12685 * benchtests/bench-memcpy.c: Likewise.
12686 * benchtests/bench-memmem.c: Likewise.
12687 * benchtests/bench-memmove.c: Likewise.
12688 * benchtests/bench-memset.c: Likewise.
12689 * benchtests/bench-rawmemchr.c: Likewise.
12690 * benchtests/bench-strcasecmp.c: Likewise.
12691 * benchtests/bench-strcasestr.c: Likewise.
12692 * benchtests/bench-strcat.c: Likewise.
12693 * benchtests/bench-strchr.c: Likewise.
12694 * benchtests/bench-strcmp.c: Likewise.
12695 * benchtests/bench-strcpy.c: Likewise.
12696 * benchtests/bench-strcpy_chk.c: Likewise.
12697 * benchtests/bench-strlen.c: Likewise.
12698 * benchtests/bench-strncasecmp.c: Likewise.
12699 * benchtests/bench-strncat.c: Likewise.
12700 * benchtests/bench-strncmp.c: Likewise.
12701 * benchtests/bench-strncpy.c: Likewise.
12702 * benchtests/bench-strnlen.c: Likewise.
12703 * benchtests/bench-strpbrk.c: Likewise.
12704 * benchtests/bench-strrchr.c: Likewise.
12705 * benchtests/bench-strspn.c: Likewise.
12706 * benchtests/bench-strstr.c: Likewise.
12707
cae16d66
WN
127082013-09-04 Will Newton <will.newton@linaro.org>
12709
12710 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12711
ffa3cd7f
JM
127122013-09-03 Joseph Myers <joseph@codesourcery.com>
12713
12714 [BZ #15427]
12715 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12716 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12717 * math/libm-test.inc (lgamma_test_data): Add more tests.
12718 * sysdeps/i386/fpu/libm-test-ulps: Update.
12719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12720
8f02859f
OB
127212013-09-03 Ondřej Bílka <neleai@seznam.cz>
12722
12723 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12725 Add ifunc.
12726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12727 Add strcmp-sse2-unaligned
12728 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12729
18d43716
MF
127302013-09-02 Mike Frysinger <vapier@gentoo.org>
12731
12732 * Versions.def (libc): Add GLIBC_2.19.
12733
ac444012
MF
127342013-09-02 Mike Frysinger <vapier@gentoo.org>
12735
12736 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12737 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12738
b7835e32
JM
127392013-09-02 Joseph Myers <joseph@codesourcery.com>
12740
12741 [BZ #14155]
12742 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12743 intermediate calculations in recurrence.
12744 (__ieee754_ynf): Likewise.
12745 * math/libm-test.inc (jn_test_data): Do not allow spurious
12746 underflow exception. Add more tests.
12747 (yn_test_data): Add more tests.
12748 * sysdeps/i386/fpu/libm-test-ulps: Update.
12749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12750
8220f4f0
OB
127512013-09-02 Ondřej Bílka <neleai@seznam.cz>
12752
12753 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12754
f24a6d08
OB
127552013-08-30 Ondřej Bílka <neleai@seznam.cz>
12756
12757 * csu/init-first.c: Fix then/than typos.
12758 * locale/programs/ld-collate.c: Likewise.
12759 * locale/programs/linereader.h: Likewise.
12760 * manual/charset.texi: Likewise.
12761 * manual/filesys.texi: Likewise.
12762 * manual/stdio.texi: Likewise.
12763 * manual/string.texi: Likewise.
12764 * stdlib/fmtmsg.c: Likewise.
12765 * sysdeps/i386/stpncpy.S: Likewise.
12766 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12767 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12768 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12769 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12770
382466e0
OB
127712013-08-30 Ondřej Bílka <neleai@seznam.cz>
12772
12773 * elf/dl-open.c: Fix typos.
12774 * iconvdata/gbbig5.c: Likewise.
12775 * iconvdata/iso-2022-jp.c: Likewise.
12776 * iconv/gconv_int.h: Likewise.
12777 * iconv/loop.c: Likewise.
12778 * nis/rpcsvc/nis.h: Likewise.
12779 * resolv/ns_name.c: Likewise.
12780 * stdio-common/vfscanf.c: Likewise.
12781 * streams/stropts.h: Likewise.
12782 * sunrpc/rpc_thread.c: Likewise.
12783 * sysdeps/i386/strpbrk.S: Likewise.
12784 * sysdeps/ieee754/k_standard.c: Likewise.
12785 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12787 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12788 * sysdeps/mach/hurd/profil.c: Likewise.
12789 * sysdeps/s390/dl-procinfo.h: Likewise.
12790 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12791 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12792 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12793 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12794 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12795
0186c6e9
OB
127962013-08-30 Ondřej Bílka <neleai@seznam.cz>
12797
12798 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12799 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12800
d4e16af1
OB
128012013-08-29 Ondřej Bílka <neleai@seznam.cz>
12802
12803 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12804 aix specific files.
12805 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12806 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12807 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12808 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12809 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12810 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12811 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12812 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12813
88335980
TS
128142013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12815 Roland McGrath <roland@hack.frob.com>
12816
12817 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12818 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12819
ed479b02
ST
128202013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12821
12822 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12823 __executable_start symbol instead of _start.
12824
f1cc4c86
TS
128252013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12826
d821f07c
TS
12827 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12828 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12829 Move macros to...
12830 * sysdeps/gnu/ldsodefs.h: ... this new file.
12831
c54290cf
TS
12832 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12833 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12834 instead of ELFOSABI_LINUX.
12835
0007fc9b 12836 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12837 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12838 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12839 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12840 Likewise.
12841 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12842 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12844 Likewise.
12845 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12846 (ibm_extended_long_double): Add ieee_nan member.
12847 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12848 (do_test): New function.
12849
f1cc4c86
TS
12850 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12851 TEST_TRUNC.
12852 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12853 functions, renamed from truncdfsf_test, trunctfsf_test,
12854 trunctfdf_test.
12855 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12856 functions.
12857 (do_test): Run all these.
12858
6f65e668
OB
128592013-08-29 Ondřej Bílka <neleai@seznam.cz>
12860
12861 * argp/argp-help.c: Fix typos.
12862 * argp/argp-parse.c: Likewise.
12863 * debug/backtracesyms.c: Likewise.
12864 * elf/elf.h: Likewise.
12865 * malloc/malloc.c: Likewise.
12866 * nis/nis_print.c: Likewise.
12867 * resolv/res_comp.c: Likewise.
12868 * stdlib/stdlib.h: Likewise.
12869 * sunrpc/clnt_tcp.c: Likewise.
12870 * sunrpc/clnt_udp.c: Likewise.
12871 * sunrpc/clnt_unix.c: Likewise.
12872 * sysdeps/unix/bsd/ptsname.c: Likewise.
12873 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12874 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12876 Likewise.
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12878 Likewise.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12880 Likewise.
6f65e668
OB
12881 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12882
3a309239
SP
128832013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12884
12885 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12887
3b813b29
MF
128882013-08-27 Mike Frysinger <vapier@gentoo.org>
12889
12890 [BZ #15897]
12891 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12892 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12893 ($(objpfx)bug-dl-leaf): New rule.
12894 ($(objpfx)bug-dl-leaf.so): Likewise.
12895 ($(objpfx)bug-dl-leaf.out): Likewise.
12896 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12897 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12898 * dlfcn/bug-dl-leaf.c: New test.
12899 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12900 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12901 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12902 (dlclose): Likewise.
12903 (dlmopen): Likewise.
12904
8cc3269f
RM
129052013-08-27 Roland McGrath <roland@hack.frob.com>
12906
7f9d0034
RM
12907 * include/netdb.h [!_ISOMAC]:
12908 Don't include <tls.h>.
12909 (h_errno, __libc_h_errno): Move declaration and macros out of
12910 [_LIBC_REENTRANT].
12911
fb431262
RM
12912 * include/resolv.h [_RESOLV_H_]:
12913 Don't include <tls.h>.
12914 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12915 * resolv/res_libc.c: Don't include <tls.h>.
12916 (_res): Use __attribute__ ((nocommon)) in place of
12917 __attribute__ ((section (".bss"))).
12918
bd81123a
RM
12919 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12920 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12921
c4e42566
RM
12922 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12923
f890a59b
RM
12924 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12925 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12926
12927 * resolv/res_mkquery.c: Include <sys/time.h>.
12928
5d1f0a09
RM
12929 * inet/ifreq.c: Moved to ...
12930 * sysdeps/unix/ifreq.c: ... here.
12931 * inet/ifreq.c: New file, true stub version.
12932
6fcf28b3
RM
12933 * socket/sa_len.c: New file.
12934 * socket/Makefile (aux): Add it.
12935 * sysdeps/unix/sysv/linux/Makefile
12936 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12937 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12938 and #include <socket/sa_len.c>.
12939 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12940 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12941
e041fb8b
RM
12942 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12943 * bits/socket.h: ... here.
12944
8cc3269f
RM
12945 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12946 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12947 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12948
5d228a43
AS
129492013-08-27 Andreas Schwab <schwab@suse.de>
12950
45b8accc
AS
12951 [BZ #15736]
12952 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12953 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12954 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12955 * string/test-strcasecmp.c (test_main): Run tests in several
12956 locales.
12957 * string/test-strncasecmp.c (test_main): Likewise.
12958
5d228a43
AS
12959 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12960 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12961 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12963 (__strncasecmp_ssse3) [PIC]: Likewise.
12964
59d112a4
RM
129652013-08-26 Roland McGrath <roland@hack.frob.com>
12966
53234cc3
RM
12967 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12968
59d112a4
RM
12969 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12970 instead of explicitly declaring xdecrypt.
12971 * nis/nss_nis/nis-publickey.c: Likewise.
12972
595aba70
SP
129732013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12974
12975 [BZ #15890]
12976 * nscd/aicache.c: Include res_hconf.h.
12977 (addhstaiX): Initialize res_hconf.
12978
ffabd393
AS
129792013-08-26 Andreas Schwab <schwab@suse.de>
12980
12981 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12982 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12983
e0a69f5c
SP
129842013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12985
12986 * nscd/aicache.c (addhstaiX): Fix indentation.
12987
8c12f01d
MF
129882013-08-25 Mike Frysinger <vapier@gentoo.org>
12989
12990 * configure.ac: Quote $build_pt_chown test.
12991 * configure: Regenerated.
12992
8fe89494
JM
129932013-08-23 Joseph Myers <joseph@codesourcery.com>
12994
12995 [BZ #15532]
12996 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12997 * math/s_cexpf.c (__cexpf): Likewise.
12998 * math/s_cexpl.c (__cexpl): Likewise.
12999 * math/libm-test.inc (cexp_test_data): Correct expected return
13000 value for NaN + i0. Add another test.
13001
75b181d6
DM
130022013-08-22 David S. Miller <davem@davemloft.net>
13003
13004 * po/ca.po: Update Catalan translation from translation project.
936241e4 13005 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13006
acd06bb1
JM
130072013-08-21 Joseph Myers <joseph@codesourcery.com>
13008
13009 [BZ #15797]
13010 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13011 is infinite, not alongside NaN test.
13012 * math/s_fdimf.c (__fdimf): Likewise.
13013 * math/s_fdiml.c (__fdiml): Likewise.
13014 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13015 errno is unchanged.
13016
c0c3f78a
OB
130172013-08-21 Ondřej Bílka <neleai@seznam.cz>
13018
13019 * argp/argp-help.c: Fix typos.
13020 * crypt/speeds.c: Likewise.
13021 * csu/check_fds.c: Likewise.
13022 * elf/dl-load.c: Likewise.
13023 * elf/dl-open.c: Likewise.
13024 * elf/reldep3.c: Likewise.
13025 * elf/reldep.c: Likewise.
13026 * elf/sprof.c: Likewise.
13027 * iconv/iconv_charmap.c: Likewise.
13028 * iconv/skeleton.c: Likewise.
13029 * iconv/strtab.c: Likewise.
13030 * io/lockf64.c: Likewise.
13031 * libio/libioP.h: Likewise.
13032 * resolv/gai_notify.c: Likewise.
13033 * resolv/ns_name.c: Likewise.
13034 * resolv/ns_samedomain.c: Likewise.
13035 * resolv/res_send.c: Likewise.
13036 * stdlib/random.c: Likewise.
13037 * sunrpc/rpc/xdr.h: Likewise.
13038 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13039 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13040 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13041 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13042 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13043 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13045 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13046 * sysdeps/mach/hurd/check_fds.c: Likewise.
13047 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13048 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13049 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13050 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13051 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13052 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13053 * sysdeps/pthread/aio_notify.c: Likewise.
13054 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13055 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13056 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13057 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13058 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13059
46ed1038
LD
130602013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13061
13062 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13063 version if bit_Slow_SSE4_2 is set.
13064 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13065 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13066
d400dcac
AZ
130672013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13068
13069 [BZ #15867]
13070 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13071 trampoline stack frame information.
13072 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13073 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13074 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13075 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13076 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13077 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13078 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13079 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13080 sa_flags value.
13081 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13082 interrupting a syscall and set with option SA_SIGINFO.
13083
42c8fdd8
JM
130842013-08-20 Joseph Myers <joseph@codesourcery.com>
13085
c980f2f4
JM
13086 [BZ #15531]
13087 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13088 argument is infinite.
13089 * math/s_cprojf.c (__cprojf): Likewise.
13090 * math/s_cprojl.c (__cprojl): Likewise.
13091 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13092 * math/libm-test.inc (cproj_test_data): Add more tests.
13093
0716c4fc
JM
13094 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13095
42c8fdd8
JM
13096 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13097 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13098 size. Use __ffs to determine corresponding shift.
13099
b31469d0
JM
131002013-08-20 Joseph Myers <joseph@codesourcery.com>
13101 Roland McGrath <roland@hack.frob.com>
13102
13103 * Makefile (INSTALL): Remove trailing blank lines from output of
13104 makeinfo.
13105
4e39af6e
AK
131062013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13107
13108 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13109 Align 32 bit compat elf_greg to 8 bytes.
13110
f315524e
AA
131112013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13112
13113 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13114
1326ba1a
SP
131152013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13116
13117 * string/strcoll_l.c (coll_seq): New structure.
13118 (get_next_seq_cached): New function.
13119 (get_next_seq): New function.
13120 (do_compare): New function.
13121 (STRCOLL): Use GNU style definition. Simplify implementation
13122 by using get_next_seq, get_next_seq_cached and do_compare.
13123
91ce4085
FW
131242013-08-16 Florian Weimer <fweimer@redhat.com>
13125
13126 [BZ #14699]
13127 CVE-2013-4237
13128 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13129 member.
13130 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13131 member.
13132 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13133 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13134 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13135 conditional.
13136 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13137 GETDENTS_64BIT_ALIGNED.
13138 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13139 * manual/filesys.texi (Reading/Closing Directory): Document
13140 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13141 strongly.
13142 * manual/conf.texi (Limits for Files): Add portability note to
13143 NAME_MAX, PATH_MAX.
13144 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13145
ca0a6bc4
AS
131462013-08-13 Andreas Schwab <schwab@suse.de>
13147
13148 [BZ #15749]
13149 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13150 of fabs.
13151 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13152 LDBL_MAX_EXP >= 16384]: Add tests for it.
13153
6c1fd795
DM
131542013-08-12 David S. Miller <davem@davemloft.net>
13155
13156 * version.h (RELEASE): Set to "development".
13157 (VERSION): Set to "2.18.90".
13158 * NEWS: Add 2.19 section.
13159
31ad488d
DM
131602013-08-03 David S. Miller <davem@davemloft.net>
13161
13162 * po/ko.po: Update Korean translation from translation project.
13163
db24e684
DM
131642013-08-01 David S. Miller <davem@davemloft.net>
13165
13166 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13167 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13168 Bilka.
13169
f723285b
DM
131702013-07-30 David S. Miller <davem@davemloft.net>
13171
13172 * po/fr.po: Update French translation from translation project.
13173
3cbc52db
DM
131742013-07-28 David S. Miller <davem@davemloft.net>
13175
30bbc0cc
DM
13176 * po/cs.po: Update Czech translation from translation project.
13177
3cbc52db
DM
13178 * po/sv.po: Update Swedish translation from translation project.
13179
d492e6d0
DM
131802013-07-27 David S. Miller <davem@davemloft.net>
13181
f1a7f492
DM
13182 * po/eo.po: Update Esperanto translation from translation project.
13183
90e62a4a
DM
13184 * po/vi.po: Update Vietnamese translation from translation project.
13185
d492e6d0
DM
13186 * po/de.po: Update German translation from translation project.
13187
d4baa62d
DM
131882013-07-26 David S. Miller <davem@davemloft.net>
13189
641aa7b4
DM
13190 * po/bg.po: Update Bulgarian translation from translation project.
13191
d4baa62d
DM
13192 * po/nl.po: Update Dutch translation from translation project.
13193 * po/pl.po: Update Polish translation from translation project.
13194 * po/ru.po: Update Russian translation from translation project.
13195
61a9dcb9
DM
131962013-07-24 David S. Miller <davem@davemloft.net>
13197
13198 * po/libc.pot: Update.
13199
7b1f8b58
AZ
132002013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13201
13202 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13203 variable page size.
13204 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13205 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13206 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13207
a8fc7a03
AK
132082013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13209
13210 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13211
e4608715
CD
132122013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13213 Andreas Schwab <schwab@suse.de>
13214 Roland McGrath <roland@hack.frob.com>
13215 Joseph Myers <joseph@codesourcery.com>
13216 Carlos O'Donell <carlos@redhat.com>
13217
13218 [BZ #15755]
13219 * config.h.in: Define HAVE_PT_CHOWN.
13220 * config.make.in (build-pt-chown): New variable.
13221 * configure.in (--enable-pt_chown): New configure option.
13222 * configure: Regenerate.
13223 * login/Makefile: Include Makeconfig. Build pt_chown only if
13224 build-pt-chown is enabled.
13225 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13226 pt_chown to fix pty ownership.
13227 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13228 CLOSE_ALL_FDS.
13229 * manual/install.texi (Configuring and compiling): Mention
13230 --enable-pt_chown. Add @findex for grantpt.
13231 * INSTALL: Regenerate.
13232
da2d62df
DM
132332013-07-20 David S. Miller <davem@davemloft.net>
13234
13235 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13236 difference between 32-bit and 64-bit.
13237
d7e06450
CD
132382013-07-15 Carlos O'Donell <carlos@redhat.com>
13239
13240 [BZ #15711]
13241 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13242 Avoid system header dependency with -ffreestanding.
13243 ($(objpfx)bits/syscall%d): Likewise.
13244
f959cfd7
DM
132452013-07-13 David S. Miller <davem@davemloft.net>
13246
13247 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13248 underflows from atanl/atan2l due to bug 15319.
13249 (casinh_test_data): Likewise.
13250
c61f8513
DM
132512013-07-07 David S. Miller <davem@davemloft.net>
13252
13253 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13254
72c90ed0
JA
132552013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13256
13257 * sysdeps/i386/fpu/libm-test-ulps: Update.
13258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13259
52dfbe13
SP
132602013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13261
13262 * configure.in (--enable-lock-elision): Fix message text.
13263 * INSTALL: Regenerate.
13264 * configure: Regenerate.
13265
3f169543
AZ
132662013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13267
13268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13269
521c6785
AJ
132702013-07-03 Andreas Jaeger <aj@suse.de>
13271
13272 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13273 define.
13274 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13275 (ptrace_peeksiginfo_args): Add.
13276 (__ptrace_peeksiginfo_flags): Add.
13277 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13278 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13279 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13280
d2cc15cb
AM
132812013-07-03 Allan McRae <allan@archlinux.org>
13282
13283 * sysdeps/i386/fpu/libm-test-ulps: Update.
13284
3aaeeca7
DM
132852013-07-02 David S. Miller <davem@davemloft.net>
13286
13287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13288
5314ed1a
MT
132892013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13290
13291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13292
67338156
JM
132932013-07-02 Joseph Myers <joseph@codesourcery.com>
13294
13295 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13297
1717da59
AK
132982013-07-02 Andi Kleen <ak@linux.intel.com>
13299
13300 * config.h.in (ENABLE_LOCK_ELISION): Add.
13301 * configure.in (--enable-lock-elision): Add option.
13302 * manual/install.texi: Document --enable lock elision.
13303 * configure: Regenerate
13304 * INSTALL: Regenerate.
13305
1c81621c
L
133062013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13307
13308 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13309 SSE4.2 strcasecmp for libc.a.
13310 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13311
77f01ab5
JM
133122013-07-02 Joseph Myers <joseph@codesourcery.com>
13313
13314 [BZ #13304]
13315 * soft-fp/op-common.h (_FP_FMA): New macro.
13316 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13317 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13318 (_FP_MUL_MEAT_1_imm): ... here.
13319 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13320 (_FP_MUL_MEAT_1_wide): ... here.
13321 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13322 (_FP_MUL_MEAT_1_hard): ... here.
13323 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13324 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13325 (_FP_MUL_MEAT_2_wide): ... here.
13326 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13327 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13328 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13329 (_FP_MUL_MEAT_2_gmp): ... here.
13330 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13331 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13332 (_FP_MUL_MEAT_4_wide): ... here.
13333 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13334 (_FP_MUL_MEAT_4_gmp): ... here.
13335 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13336 (_FP_WFRACBITS_DW_S): Likewise.
13337 (_FP_WFRACXBITS_DW_S): Likewise.
13338 (_FP_HIGHBIT_DW_S): Likewise.
13339 (FP_FMA_S): Likewise.
13340 (_FP_FRAC_HIGH_DW_S): Likewise.
13341 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13342 (_FP_WFRACBITS_DW_D): Likewise.
13343 (_FP_WFRACXBITS_DW_D): Likewise.
13344 (_FP_HIGHBIT_DW_D): Likewise.
13345 (FP_FMA_D): Likewise.
13346 (_FP_FRAC_HIGH_DW_D): Likewise.
13347 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13348 (_FP_WFRACBITS_DW_E): Likewise.
13349 (_FP_WFRACXBITS_DW_E): Likewise.
13350 (_FP_HIGHBIT_DW_E): Likewise.
13351 (FP_FMA_E): Likewise.
13352 (_FP_FRAC_HIGH_DW_E): Likewise.
13353 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13354 (_FP_WFRACBITS_DW_Q): Likewise.
13355 (_FP_WFRACXBITS_DW_Q): Likewise.
13356 (_FP_HIGHBIT_DW_Q): Likewise.
13357 (FP_FMA_Q): Likewise.
13358 (_FP_FRAC_HIGH_DW_Q): Likewise.
13359 * soft-fp/fmasf4.c: New file.
13360 * soft-fp/fmadf4.c: Likewise.
13361 * soft-fp/fmatf4.c: Likewise.
13362
6308fd9a
LD
133632013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13364
13365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13366 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13367 Silvermont.
13368 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13369 macro.
13370 (index_Slow_SSE4_2): Likewise.
13371 (index_Prefer_PMINUB_for_stringop): Likewise.
13372 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13373 bit_Slow_SSE4_2 is set.
13374 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13375 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13376
89cd9569
RA
133772013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13378
13379 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13380 rtld_global._dl_hwcap2.
13381 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13382 POWER8.
13383 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13384 POWER8 feature descriptions defined in _dl_hwcap2.
13385 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13386 string handling for POWER8 feature bits.
13387 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13388 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13389 _dl_powerpc_cap_flags.
13390 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13391 * sysdeps/powerpc/rtld-global-offsets.sym
13392 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13393 _dl_hwcap2 in the rtld_global_ro structure.
13394
1ae8bfe0
RA
133952013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13396
13397 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13398 hardware capabilities in support of AT_HWCAP2.
13399 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13400 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13401 GLRO(dl_hwcap2).
13402 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13403 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13404 explicitly the unknown a_type display mechanism is used.
13405 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13406 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13407 struct member.
13408 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13409 to macro prototype for AT_HWCAP2 support.
13410 * sysdeps/i386/dl-procinfo.h: Likewise.
13411 * sysdeps/s390/dl-procinfo.h: Likewise.
13412 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13413 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13414 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13415 return -1 for unknown a_type display fallback.
13416 * sysdeps/sparc/dl-procinfo.h: Likewise.
13417 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13418 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13419
8fbec010
JM
134202013-06-28 Joseph Myers <joseph@codesourcery.com>
13421
13422 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13423 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13424
0432680e
PY
134252013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13426
13427 [BZ #12492]
13428 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13429 mprotect making __stack_prot writable.
13430
ce61a2ad
NF
134312013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13432 Joseph Myers <joseph@codesourcery.com>
13433
13434 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13435 as being properly aligned.
13436
f91f1c0f
MR
134372013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13438
3d0f5d0c
MR
13439 * dlfcn/modstatic5.c: New file.
13440 * dlfcn/tststatic5.c: New file.
13441 * dlfcn/Makefile (tests): Add tststatic5.
13442 (tests-static): Likewise.
13443 (modules-names): Add modstatic5.
13444 (tststatic5-ENV): New variable.
13445 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13446
f91f1c0f
MR
13447 [BZ #15022]
13448 * elf/dl-support.c (_dl_main_map): New variable.
13449 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13450 (_dl_nns, _dl_load_adds): Set to 1.
13451 (_dl_initial_searchlist): Refer to _dl_main_map.
13452 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13453 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13454 call to _dl_get_origin.
13455 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13456 around call_map.
13457 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13458 * dlfcn/modstatic3.c: New file.
13459 * dlfcn/tststatic3.c: New file.
13460 * dlfcn/tststatic4.c: New file.
13461 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13462 (tests-static): Likewise.
13463 (modules-names): Add modstatic3.
13464 (tststatic3-ENV, tststatic4-ENV): New variables.
13465 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13466 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13467
cbe7d24b
JM
134682013-06-26 Joseph Myers <joseph@codesourcery.com>
13469
13470 * configure.in (CC): Require GCC version 4.4 or later.
13471 * configure: Regenerated.
13472 * manual/install.texi (Tools for Compilation): Update GCC version
13473 requirement.
13474 * INSTALL: Regenerated.
13475
11b8a0e1
LD
134762013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13477
13478 [BZ #15674]
bb5bb87c
L
13479 * string/test-memcmp.c (check2): New.
13480 (main): Call check2.
13481
11b8a0e1
LD
13482 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13483
b0037103
MR
134842013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13485
13486 [BZ #15022]
13487 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13488 over to...
13489 (dl_open_worker) [!SHARED]: ... here.
13490
c18c701d
RA
134912013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13492
13493 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13494
1d17fa5f
RH
134952013-06-25 Richard Henderson <rth@redhat.com>
13496
13497 * locale/programs/locarchive.c: Include <libc-internal.h>
13498
8fcb833a
JM
134992013-06-25 Joseph Myers <joseph@codesourcery.com>
13500
13501 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13502 trailing whitespace removed.
13503
17db6e8d
MF
135042013-06-24 Mike Frysinger <vapier@gentoo.org>
13505
13506 [BZ #10283]
17db6e8d
MF
13507 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13508 * locale/programs/locarchive.c: Include libc-mmap.h.
13509 (prepare_address_space): Take two new outputs (the mmap base and len).
13510 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13511 values.
13512 (create_archive): Declare new mmap base and len values for
13513 prepare_address_space, and store the result in ah.
13514 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13515 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13516 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13517 Declare new mmap base and len values for
13518 prepare_address_space, and store the result in new_ah.
13519 (open_archive): Declare new mmap base and len values for
13520 prepare_address_space, and store the result in ah.
13521 (close_archive): If ah->mmap_base is not NULL, use that and
13522 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13523 * sysdeps/generic/libc-mmap.h: New file.
13524
d605071e
MF
135252013-06-24 Mike Frysinger <vapier@gentoo.org>
13526
13527 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13528 (ALIGN_UP): Likewise.
13529 (PTR_ALIGN_DOWN): Likewise.
13530 (PTR_ALIGN_UP): Likewise.
13531
2f063a6e
RA
135322013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13533
13534 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13535 entry mapped to PPC_PLATFORM_POWER8.
13536 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13537 POWER8.
13538 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13539 (_dl_string_platform): Add case for exporting platform position for
13540 POWER8.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13542 search path to sysdeps/powerpc/powerpc32/power8 directory.
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13544 search path to sysdeps/powerpc/powerpc64/power8 directory.
13545 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13546 power7 directories.
13547 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13548 power7 directories.
13549
a31ee4b3
SP
135502013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13551
a74ca98f
SP
13552 * INSTALL: Regenerate.
13553
a31ee4b3
SP
13554 * nscd/connections.c (nscd_init): Fix comment.
13555
695c378f
JM
135562013-06-22 Joseph Myers <joseph@codesourcery.com>
13557
d8412221
JM
13558 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13559
695c378f
JM
13560 [BZ #15667]
13561 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13562 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13563
d1d54715
MR
135642013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13565
13566 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13567 DL_DST_REQ_STATIC.
13568 (DL_DST_REQ_STATIC): Remove macro.
13569
8fdda7af
JM
135702013-06-21 Joseph Myers <joseph@codesourcery.com>
13571
13572 [BZ #7006]
13573 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13574 with a shift of 0 bits.
13575
f3bc5e5a
MR
135762013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13577
13578 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13579 $(tststatic-ENV).
13580
be09e8c9
KK
135812013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13582
13583 [BZ #15655]
13584 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13585
85c2e611
AZ
135862013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13587
13588 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13589 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13590 accepts -fno-tree-loop-distribute-patterns.
13591 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13592 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13593 recursive call.
13594 * string/memset.c (memset): Likewise.
13595 * string/test-memmove.c (simple_memmove): Disable loop transformation
13596 to library calls.
13597 * string/test-memset.c (simple_memset): Likewise.
13598 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13599 * benchtests/bench-memset.c (simple_memset): Likewise.
13600 * configure: Regenerated.
13601
c91e0825
JM
136022013-06-20 Joseph Myers <joseph@codesourcery.com>
13603
b8c792af
JM
13604 * math/test-misc.c (main): Ignore fesetround failure when failures
13605 of subsequent rounding tests would be ignored.
13606
c91e0825
JM
13607 [BZ #15654]
13608 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13609 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13610 * math/fegetenv.c (__fegetenv): Return 0.
13611 * math/fegetexcept.c (fegetexcept): Return 0.
13612 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13613 FE_TONEAREST.
13614 * math/feholdexcpt.c (feholdexcept): Return 0.
13615 * math/fesetenv.c (__fesetenv): Return 0.
13616 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13617 argument FE_TONEAREST.
13618 * math/feupdateenv.c (__feupdateenv): Return 0.
13619 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13620
bfcacbde
RM
136212013-06-18 Roland McGrath <roland@hack.frob.com>
13622
13623 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13624 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13625 ($(objpfx)rtld-%.os rules): Use them.
13626
e55a9b25
AZ
136272013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13628
13629 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13630 fields.
13631
346d65b3
RM
136322013-06-17 Roland McGrath <roland@hack.frob.com>
13633
12086fb4
RM
13634 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13635 length of target pattern, then descending length of dependency pattern.
13636 * configure.in (AWK): Require gawk 3.1.2 or newer.
13637 * manual/install.texi (Tools for Compilation): Say that we do.
13638 * configure: Regenerated.
13639
346d65b3
RM
13640 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13641 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13642 * scripts/sysd-rules.awk: ... this new script.
13643 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13644 than a glob-style pattern.
13645
1a846317
JM
136462013-06-17 Joseph Myers <joseph@codesourcery.com>
13647
13648 * math/test-misc.c (main): Do not treat incorrectly rounded
13649 conversions as failure unless ROUNDING_TESTS passes.
13650
8fc75e6f
JM
136512013-06-15 Joseph Myers <joseph@codesourcery.com>
13652
3711a167
JM
13653 [BZ #15631]
13654 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13655 restore exception state around main square root computation, then
13656 check for inexactness explicitly.
13657
8fc75e6f
JM
13658 * math/libm-test.inc (fma_test_data): Add another test.
13659
61dd6208
SP
136602013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13661
adf23d2c
SP
13662 * manual/threads.texi (Non-POSIX Extensions): New document
13663 node. Document pthread_getattr_default_np and
13664 pthread_setattr_default_np.
13665
61dd6208
SP
13666 * Versions.def (libpthread): Add GLIBC_2.18.
13667 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13669 Likewise.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13671 Likewise.
13672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13673 Likewise.
13674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13675 Likewise.
13676 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13677 Likewise.
13678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13679 Likewise.
13680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13681 Likewise.
13682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13683 Likewise.
13684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13685 Likewise.
13686
d086fc7b
LD
136872013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13688
13689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13690 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13691
747ef469
SP
136922013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13693 H.J. Lu <hjl.tools@gmail.com>
13694
13695 [BZ #15627]
13696 * sysdeps/x86_64/rtld-memset.c: Remove file.
13697 * sysdeps/x86_64/rtld-memset.S: New file.
13698
1b2feed2
JM
136992013-06-14 Joseph Myers <joseph@codesourcery.com>
13700
13701 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13702 (test_in_one_mode): Take arguments for whether the rounding mode
13703 is supported for each floating-point type.
13704 (do_test): Pass new arguments to test_in_one_mode using
13705 ROUNDING_TESTS.
13706
a58ad3f8
RM
137072013-06-13 Roland McGrath <roland@hack.frob.com>
13708
13709 * posix/tst-waitid.c (do_test): Distinguish different instances of
13710 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13711 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13712 before entering the kernel for waitpid.
13713
c204ab28
SP
137142013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13715
13716 * NEWS: Fix note on clock function precision. Text by Roland
13717 McGrath.
13718
f4a29fba
RM
137192013-06-13 Roland McGrath <roland@hack.frob.com>
13720
13721 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13722 it into place only when and if the sanity check passes.
13723
1f24b9ad
JM
137242013-06-13 Joseph Myers <joseph@codesourcery.com>
13725
13726 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13727 output for whether conversion result is exact. Take argument
13728 indicating whether type is IBM long double.
13729 (round_for_all): Change need_exact field to ibm_ld.
13730 * stdlib/tst-strtod-round.c (struct exactness): New type.
13731 (struct test): Change bool ld_ok field to struct exactness exact.
13732 (TEST): Update all definitions for change to field.
13733 (tests): Regenerate array contents.
13734 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13735 field value. Check for IBM long double here.
13736 (do_test): Update calls to test_in_one_mode.
13737
58206c68
SP
137382013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13739
13740 [BZ #12515]
13741 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13742 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13743
2d6f4c5b 137442013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13745
13746 [BZ #15605]
13747 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13748 generated by the compiler on loop optimizations.
13749 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13750 general definitions.
13751
94f2c076
JM
137522013-06-12 Joseph Myers <joseph@codesourcery.com>
13753
13754 * math/bug-nextafter.c: Include <math-tests.h>.
13755 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13756 the relevant type.
13757 * math/bug-nexttoward.c: Include <math-tests.h>.
13758 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13759 the relevant type.
13760 * math/test-misc.c: Include <math-tests.h>.
13761 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13762 the relevant type.
13763
e0e50a0a
AJ
137642013-06-12 Andreas Jaeger <aj@suse.de>
13765
13766 * po/ia.po: Update Interlingua translation from translation
13767 project.
13768
25061094
SP
137692013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13770
13771 * include/fenv.h: Include stdbool.h.
13772 (struct rm_ctx): New structure.
13773 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13774 Define macro.
13775 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13776 (SET_RESTORE_ROUNDF): Likewise.
13777 (SET_RESTORE_ROUNDL): Likewise.
13778 (SET_RESTORE_ROUND_NOEX): Likewise.
13779 (SET_RESTORE_ROUND_NOEXF): Likewise.
13780 (SET_RESTORE_ROUND_NOEXL): Likewise.
13781 (SET_RESTORE_ROUND_53BIT): Likewise.
13782 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13783 (libc_feresetround_noexf_ctx): Likewise.
13784 (libc_feresetround_noexl_ctx): Likewise.
13785 (libc_feholdsetround_53bit_ctx): Likewise.
13786 (libc_feresetround_53bit_ctx): Likewise.
13787 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13788 (libc_feholdexcept_setround_sse_ctx): New function.
13789 (libc_fesetenv_sse_ctx): Likewise.
13790 (libc_feupdateenv_sse_ctx): Likewise.
13791 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13792 (libc_feholdexcept_setround_387_ctx): Likewise.
13793 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13794 (libc_feholdsetround_387_prec_ctx): Likewise.
13795 (libc_feholdsetround_387_ctx): Likewise.
13796 (libc_feholdsetround_387_53bit_ctx): Likewise.
13797 (libc_feholdsetround_sse_ctx): Likewise.
13798 (libc_feresetround_sse_ctx): Likewise.
13799 (libc_feresetround_387_ctx): Likewise.
13800 (libc_feupdateenv_387_ctx): Likewise.
13801 (libc_feholdexcept_setroundf_ctx): Define macro.
13802 (libc_fesetenvf_ctx): Likewise.
13803 (libc_feupdateenvf_ctx): Likewise.
13804 (libc_feholdsetroundf_ctx): Likewise.
13805 (libc_feresetroundf_ctx): Likewise.
13806 (libc_feholdexcept_setround_ctx): Likewise.
13807 (libc_fesetenv_ctx): Likewise.
13808 (libc_feupdateenv_ctx): Likewise.
13809 (libc_feholdsetround_ctx): Likewise.
13810 (libc_feresetround_ctx): Likewise.
13811 (libc_feholdexcept_setroundl_ctx): Likewise.
13812 (libc_feupdateenvl_ctx): Likewise.
13813 (libc_feholdsetroundl_ctx): Likewise.
13814 (libc_feresetroundl_ctx): Likewise.
13815 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13816 (libc_feresetround_53bit_ctx): Likewise.
13817
59b30555
SP
138182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13819
13820 * locale/iso-639.def: Convert to UTF-8.
13821
f1d73d30
JM
138222013-06-11 Joseph Myers <joseph@codesourcery.com>
13823
13824 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13825 (EXCEPTION_TESTS_double): Likewise.
13826 (EXCEPTION_TESTS_long_double): Likewise.
13827 (EXCEPTION_TESTS): Likewise.
13828 * math/libm-test.inc (test_exceptions): Only test exceptions if
13829 EXCEPTION_TESTS (FLOAT).
13830
94aca5e7
SP
138312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13832
13833 * benchtests/Makefile (string-bench): Add strcpy_chk and
13834 stpcpy_chk.
13835 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13836 * benchtests/bench-stpcpy_chk.c: New file.
13837 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13838 * benchtests/bench-strcpy_chk.c: New file.
13839 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13840 code.
13841 (do_test): Likewise.
13842
fac0c5f2
RA
138432013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13844
13845 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13846 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13847 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13848 with tabs where appropriate.
13849 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13850 dl-procinfo.h.
13851 [PPC_PLATFORM_PPC440]: Likewise.
13852 [PPC_PLATFORM_PPC464]: Likewise.
13853 [PPC_PLATFORM_PPC476]: Likewise.
13854 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13855 ppc464, and ppc476 platform strings merging from ports/
13856 dl-procinfo.h.
13857
f22bc486
AS
138582013-06-11 Andreas Schwab <schwab@suse.de>
13859
13860 [BZ #14991]
13861 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13862 (from_ucs4_idx): Regenerate.
13863 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13864 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13865 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13866 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13867 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13868 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13869 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13870 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13871 from FROM_LOOP and TO_LOOP specific macros.
13872 (BODY): Handle combining characters.
13873 * iconvdata/BIG5HKSCS.irreversible: Update.
13874 * iconvdata/BIG5HKSCS.precomposed: New file.
13875 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13876 characters.
13877 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13878
c1f75dc3
SP
138792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13880
4eacded2
SP
13881 * include/sys/time.h: Fix indentation and add copyright header.
13882
fec799f8
SP
13883 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13884 (do_test): Likewise.
13885 * string/test-memchr.c (do_one_test): Likewise.
13886 (do_test): Likewise.
13887 * string/test-memcmp.c (do_one_test): Likewise.
13888 (do_test): Likewise.
13889 * string/test-memcpy.c (do_one_test): Likewise.
13890 (do_test): Likewise.
13891 * string/test-memmem.c (do_one_test): Likewise.
13892 (do_test): Likewise.
13893 (do_random_tests): Likewise.
13894 * string/test-memmove.c (do_one_test): Likewise.
13895 (do_test): Likewise.
13896 * string/test-memset.c (do_one_test): Likewise.
13897 (do_test): Likewise.
13898 * string/test-rawmemchr.c (do_one_test): Likewise.
13899 (do_test): Likewise.
13900 * string/test-strcasecmp.c (do_one_test): Likewise.
13901 (do_test): Likewise.
13902 * string/test-strcasestr.c (do_one_test): Likewise.
13903 (do_test): Likewise.
13904 * string/test-strcat.c (do_one_test): Likewise.
13905 (do_test): Likewise.
13906 * string/test-strchr.c (do_one_test): Likewise.
13907 (do_test): Likewise.
13908 * string/test-strcmp.c (do_one_test): Likewise.
13909 (do_test): Likewise.
13910 * string/test-strcpy.c (do_one_test): Likewise.
13911 (do_test): Likewise.
13912 * string/test-string.h: Likewise.
13913 (test_init): Likewise.
13914 * string/test-strlen.c (do_one_test): Likewise.
13915 (do_test): Likewise.
13916 * string/test-strncasecmp.c (do_one_test): Likewise.
13917 (do_test): Likewise.
13918 * string/test-strncat.c (do_one_test): Likewise.
13919 (do_test): Likewise.
13920 * string/test-strncmp.c (do_one_test): Likewise.
13921 (do_test_limit): Likewise.
13922 (do_test): Likewise.
13923 * string/test-strncpy.c (do_one_test): Likewise.
13924 (do_test): Likewise.
13925 * string/test-strnlen.c (do_one_test): Likewise.
13926 (do_test): Likewise.
13927 * string/test-strpbrk.c (do_one_test): Likewise.
13928 (do_test): Likewise.
13929 * string/test-strrchr.c (do_one_test): Likewise.
13930 (do_test): Likewise.
13931 * string/test-strspn.c (do_one_test): Likewise.
13932 (do_test): Likewise.
13933 * string/test-strstr.c (do_one_test): Likewise.
13934 (do_test): Likewise.
13935
97020474
SP
13936 * benchtests/Makefile (string-bench): Add string benchmarks.
13937 * benchtests/bench-bcopy-ifunc.c: New file.
13938 * benchtests/bench-bcopy.c: New file.
13939 * benchtests/bench-bzero-ifunc.c: New file.
13940 * benchtests/bench-bzero.c: New file.
13941 * benchtests/bench-memccpy-ifunc.c: New file.
13942 * benchtests/bench-memccpy.c: New file.
13943 * benchtests/bench-memchr-ifunc.c: New file.
13944 * benchtests/bench-memchr.c: New file.
13945 * benchtests/bench-memcmp-ifunc.c: New file.
13946 * benchtests/bench-memcmp.c: New file.
13947 * benchtests/bench-memmem-ifunc.c: New file.
13948 * benchtests/bench-memmem.c: New file.
13949 * benchtests/bench-memmove-ifunc.c: New file.
13950 * benchtests/bench-memmove.c: New file.
13951 * benchtests/bench-mempcpy-ifunc.c: New file.
13952 * benchtests/bench-mempcpy.c: New file.
13953 * benchtests/bench-memset-ifunc.c: New file.
13954 * benchtests/bench-memset.c: New file.
13955 * benchtests/bench-rawmemchr-ifunc.c: New file.
13956 * benchtests/bench-rawmemchr.c: New file.
13957 * benchtests/bench-stpcpy-ifunc.c: New file.
13958 * benchtests/bench-stpcpy.c: New file.
13959 * benchtests/bench-stpncpy-ifunc.c: New file.
13960 * benchtests/bench-stpncpy.c: New file.
13961 * benchtests/bench-strcasecmp-ifunc.c: New file.
13962 * benchtests/bench-strcasecmp.c: New file.
13963 * benchtests/bench-strcasestr-ifunc.c: New file.
13964 * benchtests/bench-strcasestr.c: New file.
13965 * benchtests/bench-strcat-ifunc.c: New file.
13966 * benchtests/bench-strcat.c: New file.
13967 * benchtests/bench-strchr-ifunc.c: New file.
13968 * benchtests/bench-strchr.c: New file.
13969 * benchtests/bench-strchrnul-ifunc.c: New file.
13970 * benchtests/bench-strchrnul.c: New file.
13971 * benchtests/bench-strcmp-ifunc.c: New file.
13972 * benchtests/bench-strcmp.c: New file.
13973 * benchtests/bench-strcpy-ifunc.c: New file.
13974 * benchtests/bench-strcpy.c: New file.
13975 * benchtests/bench-strcspn-ifunc.c: New file.
13976 * benchtests/bench-strcspn.c: New file.
13977 * benchtests/bench-strlen-ifunc.c: New file.
13978 * benchtests/bench-strlen.c: New file.
13979 * benchtests/bench-strncasecmp-ifunc.c: New file.
13980 * benchtests/bench-strncasecmp.c: New file.
13981 * benchtests/bench-strncat-ifunc.c: New file.
13982 * benchtests/bench-strncat.c: New file.
13983 * benchtests/bench-strncmp-ifunc.c: New file.
13984 * benchtests/bench-strncmp.c: New file.
13985 * benchtests/bench-strncpy-ifunc.c: New file.
13986 * benchtests/bench-strncpy.c: New file.
13987 * benchtests/bench-strnlen-ifunc.c: New file.
13988 * benchtests/bench-strnlen.c: New file.
13989 * benchtests/bench-strpbrk-ifunc.c: New file.
13990 * benchtests/bench-strpbrk.c: New file.
13991 * benchtests/bench-strrchr-ifunc.c: New file.
13992 * benchtests/bench-strrchr.c: New file.
13993 * benchtests/bench-strspn-ifunc.c: New file.
13994 * benchtests/bench-strspn.c: New file.
13995 * benchtests/bench-strstr-ifunc.c: New file.
13996 * benchtests/bench-strstr.c: New file.
13997
c1f75dc3
SP
13998 * benchtests/Makefile: Disable parallel execution of targets.
13999 (string-bench): Add memcpy.
14000 (benchset): New variable to store a list of benchmark sets.
14001 (bench-func): Renamed from bench.
14002 (bench-set): New target.
14003 (bench): Depend on bench-func and bench-set.
14004 * benchtests/README: Add section on benchmark sets.
14005 * benchtests/bench-memcpy-ifunc.c: New file.
14006 * benchtests/bench-memcpy.c: New file.
14007 * benchtests/bench-string.h: New file.
14008
50fd745b
AS
140092013-06-11 Andreas Schwab <schwab@suse.de>
14010
14011 [BZ #15577]
14012 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14013 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14014 values in the triple.
14015 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14016 terminator in the group key.
14017
3ee7e9fe
AJ
140182013-06-11 Andreas Jaeger <aj@suse.de>
14019
14020 * po/zh_TW.po: Update Chinese (traditional) translation from
14021 translation project.
14022
89fb6835
SP
140232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14024
14025 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14026 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14027 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14028 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14029 (clock_getcpuclockid): Likewise.
14030 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14031 Add weak_alias and libc_hidden_def.
14032 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14033 * rt/clock_gettime.c (clock_gettime): Rename to
14034 __clock_gettime. Add weak_alias and libc_hidden_def.
14035 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14036 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14037 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14038 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14039 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14040 Likewise.
14041 * rt/clock_settime.c (clock_settime): Rename to
14042 __clock_settime. Add weak_alias and libc_hidden_def.
14043 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14044
0efa6f8b
JM
140452013-06-10 Joseph Myers <joseph@codesourcery.com>
14046
b8c61b4b
JM
14047 * mach/err_boot.sub: Remove trailing whitespace.
14048 * mach/err_ipc.sub: Likewise.
14049 * mach/err_mach.sub: Likewise.
14050
0efa6f8b
JM
14051 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14052 (ROUNDING_TESTS_double): Likewise.
14053 (ROUNDING_TESTS_long_double): Likewise.
14054 (ROUNDING_TESTS): Likewise.
14055 * math/libm-test.inc: Include <math-tests.h>.
14056 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14057 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14058 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14059 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14060
50b818bf
SP
140612013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14062
14063 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14064 of assigning.
14065
60d2f8f3
JM
140662013-06-08 Joseph Myers <joseph@codesourcery.com>
14067
4902d2c3
JM
14068 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14069 otherwise empty TRANS lines.
14070 * sysdeps/gnu/errlist.c: Regenerated.
14071
60d2f8f3
JM
14072 * catgets/gencat.c (error_print): Use (void) in function
14073 definition.
14074 * crypt/crypt_util.c (__init_des): Likewise.
14075 * crypt/speeds.c (Stop): Likewise.
14076 (main): Likewise.
14077 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14078 * inet/ruserpass.c (token): Likewise.
14079 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14080 * intl/localealias.c (extend_alias_table): Likewise.
14081 * intl/plural-exp.c (init_germanic_plural): Likewise.
14082 * libio/fcloseall.c (__fcloseall): Likewise.
14083 * libio/genops.c (_IO_flush_all): Likewise.
14084 (_IO_flush_all_linebuffered): Likewise.
14085 (_IO_cleanup): Likewise.
14086 (_IO_iter_begin): Likewise.
14087 (_IO_iter_end): Likewise.
14088 (_IO_list_lock): Likewise.
14089 (_IO_list_unlock): Likewise.
14090 (_IO_list_resetlock): Likewise.
14091 * libio/getchar.c (getchar): Likewise.
14092 * libio/getchar_u.c (getchar_unlocked): Likewise.
14093 * libio/getwchar.c (getwchar): Likewise.
14094 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14095 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14096 * login/getpt.c (__getpt): Likewise.
14097 * login/tst-utmp.c (main): Likewise.
14098 * malloc/hooks.c (__malloc_check_init): Likewise.
14099 * malloc/malloc.c (__malloc_stats): Likewise.
14100 * malloc/mtrace.c (tr_break): Likewise.
14101 (mtrace): Likewise.
14102 (muntrace): Likewise.
14103 * misc/fstab.c (endfsent): Likewise.
14104 * misc/getclktck.c (__getclktck): Likewise.
14105 * misc/getdtsz.c (__getdtablesize): Likewise.
14106 * misc/gethostid.c (gethostid): Likewise.
14107 * misc/getpagesize.c (__getpagesize): Likewise.
14108 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14109 (__get_nprocs): Likewise.
14110 (__get_phys_pages): Likewise.
14111 (__get_avphys_pages): Likewise.
14112 * misc/getttyent.c (getttyent): Likewise.
14113 (setttyent): Likewise.
14114 (endttyent): Likewise.
14115 * misc/getusershell.c (getusershell): Likewise.
14116 (endusershell): Likewise.
14117 (setusershell): Likewise.
14118 (initshells): Likewise.
14119 * misc/hsearch.c (__hdestroy): Likewise.
14120 * misc/sync.c (sync): Likewise.
14121 * misc/syslog.c (closelog_internal): Likewise.
14122 (closelog): Likewise.
14123 * misc/ttyslot.c (ttyslot): Likewise.
14124 * misc/vhangup.c (vhangup): Likewise.
14125 * posix/fork.c (__fork): Likewise.
14126 * posix/getegid.c (__getegid): Likewise.
14127 * posix/geteuid.c (__geteuid): Likewise.
14128 * posix/getgid.c (__getgid): Likewise.
14129 * posix/getpid.c (__getpid): Likewise.
14130 * posix/getppid.c (__getppid): Likewise.
14131 * posix/getuid.c (__getuid): Likewise.
14132 * posix/pause.c (pause): Likewise.
14133 * posix/setpgrp.c (setpgrp): Likewise.
14134 * posix/setsid.c (__setsid): Likewise.
14135 * posix/test-vfork.c (noop): Likewise.
14136 * resolv/gethnamaddr.c (_endhtent): Likewise.
14137 (_gethtent): Likewise.
14138 (ht_endhostent): Likewise.
14139 (gethostent): Likewise.
14140 (dns_service): Likewise.
14141 * stdlib/drand48.c (drand48): Likewise.
14142 * stdlib/lrand48.c (lrand48): Likewise.
14143 * stdlib/mrand48.c (mrand48): Likewise.
14144 * stdlib/rand.c (rand): Likewise.
14145 * stdlib/random.c (__random): Likewise.
14146 * stdlib/setenv.c (clearenv): Likewise.
14147 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14148 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14149 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14150 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14151 (__get_nprocs): Likewise.
14152 (__get_phys_pages): Likewise.
14153 (__get_avphys_pages): Likewise.
14154 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14155 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14156 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14157 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14158 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14159 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14160 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14161 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14162 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14163 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14164 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14165 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14166 * sysdeps/posix/clock.c (clock): Likewise.
14167 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14168 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14169 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14170 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14171 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14172 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14173 (__get_nprocs_conf): Likewise.
14174 (__get_phys_pages): Likewise.
14175 (__get_avphys_pages): Likewise.
14176 * time/clock.c (clock): Likewise.
14177 * time/tzset.c (__tzname_max): Likewise.
14178
2e09a79a
JM
141792013-06-07 Joseph Myers <joseph@codesourcery.com>
14180
14181 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14182 (__bswap_32): Do not use "register".
14183 * crypt/crypt.c (_ufc_doit_r): Likewise.
14184 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14185 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14186 * gmon/gmon.c (__monstartup): Likewise.
14187 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14188 * hurd/hurdmalloc.c (more_memory): Likewise.
14189 (malloc): Likewise.
14190 (free): Likewise.
14191 (realloc): Likewise.
14192 (malloc_fork_prepare): Likewise.
14193 (malloc_fork_parent): Likewise.
14194 (malloc_fork_child): Likewise.
14195 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14196 (_svcauth_des): Likewise.
14197 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14198 * inet/inet_net.c (inet_network): Likewise.
14199 * inet/inet_netof.c (inet_netof): Likewise.
14200 * inet/rcmd.c (__validuser2_sa): Likewise.
14201 * io/fts.c (fts_open): Likewise.
14202 (fts_load): Likewise.
14203 (fts_close): Likewise.
14204 (fts_read): Likewise.
14205 (fts_children): Likewise.
14206 (fts_build): Likewise.
14207 (fts_stat): Likewise.
14208 (fts_sort): Likewise.
14209 (fts_alloc): Likewise.
14210 (fts_lfree): Likewise.
14211 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14212 (_IO_file_xsgetn): Likewise.
14213 (_IO_file_xsgetn_mmap): Likewise.
14214 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14215 (_IO_cookie_write): Likewise.
14216 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14217 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14218 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14219 * malloc/obstack.c (_obstack_begin): Likewise.
14220 (_obstack_begin_1): Likewise.
14221 (_obstack_newchunk): Likewise.
14222 (_obstack_allocated_p): Likewise.
14223 (obstack_free): Likewise.
14224 (_obstack_memory_used): Likewise.
14225 * misc/getttyent.c (getttynam): Likewise.
14226 (getttyent): Likewise.
14227 (skip): Likewise.
14228 (value): Likewise.
14229 * misc/getusershell.c (initshells): Likewise.
14230 * misc/syslog.c (__vsyslog_chk): Likewise.
14231 * misc/ttyslot.c (ttyslot): Likewise.
14232 * nis/nis_hash.c (__nis_hash): Likewise.
14233 * posix/fnmatch_loop.c (FCT): Likewise.
14234 * posix/getconf.c (print_all): Likewise.
14235 (main): Likewise.
14236 * posix/getopt.c (exchange): Likewise.
14237 * posix/glob.c (globfree): Likewise.
14238 (prefix_array): Likewise.
14239 (__glob_pattern_type): Likewise.
14240 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14241 (NS_GET32): Likewise.
14242 (NS_PUT16): Likewise.
14243 (NS_PUT32): Likewise.
14244 * resolv/gethnamaddr.c (getanswer): Likewise.
14245 (gethostbyname2): Likewise.
14246 (gethostbyaddr): Likewise.
14247 (_gethtent): Likewise.
14248 (_gethtbyname2): Likewise.
14249 (_gethtbyaddr): Likewise.
14250 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14251 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14252 * resolv/res_init.c (__res_vinit): Likewise.
14253 (net_mask): Likewise.
14254 * resolv/res_mkquery.c (outchar): Likewise.
14255 (PRINT): Likewise.
14256 * stdio-common/printf_fp.c (outchar): Likewise.
14257 (PRINT): Likewise.
14258 * stdio-common/printf_fphex.c (outchar): Likewise.
14259 (PRINT): Likewise.
14260 * stdio-common/printf_size.c (outchar): Likewise.
14261 (PRINT): Likewise.
14262 * stdio-common/test_rdwr.c (main): Likewise.
14263 * stdio-common/tfformat.c (matches): Likewise.
14264 * stdio-common/vfprintf.c (outchar): Likewise.
14265 (printf_unknown): Likewise.
14266 (buffered_vfprintf): Likewise.
14267 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14268 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14269 (ReadFile): Likewise.
14270 * stdlib/qsort.c (SWAP): Likewise.
14271 (_quicksort): Likewise.
14272 * stdlib/setenv.c (__add_to_environ): Likewise.
14273 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14274 * stdlib/strtol_l.c (__strtol_l): Likewise.
14275 * stdlib/tst-strtod.c (main): Likewise.
14276 * stdlib/tst-strtol.c (main): Likewise.
14277 * stdlib/tst-strtoll.c (main): Likewise.
14278 * string/bits/string2.h (__strcmp_cc): Likewise.
14279 (__strcmp_cg): Likewise.
14280 (__strcspn_c1): Likewise.
14281 (__strcspn_c2): Likewise.
14282 (__strcspn_c3): Likewise.
14283 (__strspn_c1): Likewise.
14284 (__strspn_c2): Likewise.
14285 (__strspn_c3): Likewise.
14286 (__strsep_1c): Likewise.
14287 (__strsep_2c): Likewise.
14288 (__strsep_3c): Likewise.
14289 * string/memccpy.c (__memccpy): Likewise.
14290 * string/stpcpy.c (__stpcpy): Likewise.
14291 * string/strcmp.c (strcmp): Likewise.
14292 * string/strrchr.c (strrchr): Likewise.
14293 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14294 Likewise.
14295 * sysdeps/mach/hurd/getcwd.c
14296 (_hurd_canonicalize_directory_name_internal): Likewise.
14297 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14298 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14299 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14300 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14301 Likewise, in both definitions.
14302 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14303 definitions.
14304 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14305 64] (__bswap_64): Likewise.
14306 * time/test_time.c (main): Likewise.
14307 * time/tzfile.c (__tzfile_read): Likewise.
14308 (__tzfile_compute): Likewise.
14309 * time/tzset.c (__tzset_parse_tz): Likewise.
14310 (tzset_internal): Likewise.
14311 (compute_change): Likewise.
14312 * wcsmbs/wcscat.c (__wcscat): Likewise.
14313 * wcsmbs/wcschr.c (wcschr): Likewise.
14314 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14315 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14316 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14317 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14318 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14319 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14320 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14321 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14322 * wcsmbs/wmemset.c (wmemset): Likewise.
14323
9e54314b
JM
143242013-06-06 Joseph Myers <joseph@codesourcery.com>
14325
14326 * scripts/config.guess: Update to version 2013-05-16.
14327 * scripts/config.sub: Update to version 2013-04-24.
14328 * scripts/install-sh: Update to version 2011-11-20.07.
14329 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14330 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14331
350635a5
OB
143322013-06-06 Ondřej Bílka <neleai@seznam.cz>
14333
14334 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14335 * elf/sln.c: Likewise.
14336 * hurd/hurd/ioctl.h: Likewise.
14337 * hurd/hurdmalloc.c: Likewise.
14338 * hurd/xattr.c: Likewise.
14339 * include/shlib-compat.h: Likewise.
14340 * inet/ruserpass.c: Likewise.
14341 * libio/iofgets_u.c: Likewise.
14342 * libio/iofgetws_u.c: Likewise.
14343 * locale/programs/ld-identification.c: Likewise.
14344 * locale/programs/ld-time.c: Likewise.
14345 * mach/msg-destroy.c: Likewise.
14346 * nss/nss_files/files-netgrp.c: Likewise.
14347 * resolv/res_data.c: Likewise.
14348 * soft-fp/op-1.h: Likewise.
14349 * soft-fp/op-2.h: Likewise.
14350 * soft-fp/op-4.h: Likewise.
14351 * soft-fp/op-common.h: Likewise.
14352 * stdio-common/printf_fphex.c: Likewise.
14353 * stdlib/strtod_l.c: Likewise.
14354 * sunrpc/rpc/clnt.h: Likewise.
14355 * sysdeps/generic/framestate.c: Likewise.
14356 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14357 * sysdeps/i386/bsd-setjmp.S: Likewise.
14358 * sysdeps/i386/__longjmp.S: Likewise.
14359 * sysdeps/i386/setjmp.S: Likewise.
14360 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14361 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14362 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14363 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14365 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14367 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14368 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14374 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14376 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14377 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14378 * sysdeps/ieee754/support.c: Likewise.
14379 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14380 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14381 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14382 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14383 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14384 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14385 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14386 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14387 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14388 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14389 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14390 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14391 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14392 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14393 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14394 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14395 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14397
44a988af
OB
143982013-06-05 Ondřej Bílka <neleai@seznam.cz>
14399
25506f09 14400 * posix/transbug.c: Remove executable mode.
44a988af 14401
9c84384c
JM
144022013-06-05 Joseph Myers <joseph@codesourcery.com>
14403
14404 * crypt/speeds.c: Remove trailing whitespace.
14405 * dlfcn/default.c: Likewise.
14406 * elf/ifuncdep2.c: Likewise.
14407 * elf/ifuncmain1.c: Likewise.
14408 * elf/ifuncmain1vis.c: Likewise.
14409 * elf/testobj.h: Likewise.
14410 * elf/tst-stackguard1.c: Likewise.
14411 * gmon/sys/gmon.h: Likewise.
14412 * hurd/hurdmsg.c: Likewise.
14413 * hurd/new-fd.c: Likewise.
14414 * hurd/ports-get.c: Likewise.
14415 * iconvdata/ibm1008_420.c: Likewise.
14416 * inet/tst-getni1.c: Likewise.
14417 * inet/tst-getni2.c: Likewise.
14418 * libio/ioungetc.c: Likewise.
14419 * libio/wfiledoalloc.c: Likewise.
14420 * manual/libm-err-tab.pl: Likewise.
14421 * math/w_dremf.c: Likewise.
14422 * misc/ftruncate.c: Likewise.
14423 * posix/bug-glob2.c: Likewise.
14424 * posix/tst-pcre.c: Likewise.
14425 * posix/wait4.c: Likewise.
14426 * resolv/README: Likewise.
14427 * resolv/res_debug.h: Likewise.
14428 * resolv/tst-inet_ntop.c: Likewise.
14429 * setjmp/bug269-setjmp.c: Likewise.
14430 * soft-fp/extended.h: Likewise.
14431 * soft-fp/op-1.h: Likewise.
14432 * soft-fp/op-2.h: Likewise.
14433 * soft-fp/op-4.h: Likewise.
14434 * soft-fp/op-8.h: Likewise.
14435 * soft-fp/testit.c: Likewise.
14436 * stdio-common/bug16.c: Likewise.
14437 * stdlib/random.c: Likewise.
14438 * sunrpc/rpcsvc/rquota.x: Likewise.
14439 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14440 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14441 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14442 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14443 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14444 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14445 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14446 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14447 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14448 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14449 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14450 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14451 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14452 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14453 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14454 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14455 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14456 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14457 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14458 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14459 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14460 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14461 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14462 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14463 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14464 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14465 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14466 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14467 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14468 * sysdeps/ieee754/s_lib_version.c: Likewise.
14469 * sysdeps/mach/hurd/check_fds.c: Likewise.
14470 * sysdeps/mach/hurd/getsockname.c: Likewise.
14471 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14472 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14473 * sysdeps/powerpc/bits/link.h: Likewise.
14474 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14475 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14476 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14477 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14478 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14479 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14480 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14481 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14482 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14483 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14484 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14485 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14486 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14487 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14488 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14489 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14490 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14491 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14492 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14493 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14494 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14495 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14496 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14497 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14498 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14499 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14500 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14501 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14502 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14503 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14504 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14505 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14506 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14507 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14508 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14509 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14510 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14511 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14512 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14513 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14514 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14515 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14516 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14517 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14518 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14519 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14520 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14521 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14522 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14523 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14524 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14525 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14526 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14527 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14528 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14529 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14530 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14531 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14532 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14533 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14534 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14535 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14536 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14537 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14538 * sysdeps/powerpc/sysdep.h: Likewise.
14539 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14540 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14541 * sysdeps/sh/dl-trampoline.S: Likewise.
14542 * sysdeps/sh/memset.S: Likewise.
14543 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14544 * sysdeps/sh/strlen.S: Likewise.
14545 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14546 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14547 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14548 * sysdeps/sparc/sparc32/rem.S: Likewise.
14549 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14550 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14551 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14552 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14553 * sysdeps/sparc/sparc32/urem.S: Likewise.
14554 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14555 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14556 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14557 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14558 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14559 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14560 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14561 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14562 * sysdeps/unix/bsd/times.c: Likewise.
14563 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14564 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14568 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14569 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14570 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14571 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14572 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14573 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14574 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14575 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14576 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14577 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14578 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14579 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14580 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14581 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14582 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14583 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14584 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14585 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14586 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14587 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14588 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14589 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14590 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14591 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14592 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14593 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14594 * sysdeps/x86_64/strcspn.S: Likewise.
14595
869378a5
RA
145962013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14597
14598 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14599 generated file. Regenerate properly from gen-translit.pl.
14600 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14601 locale/C-translit.h.
14602
840e2943
AS
146032013-06-05 Andreas Schwab <schwab@suse.de>
14604
14605 [BZ #15100]
14606 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14607 week as 6 instead of -1.
14608 * time/tst-strptime.c (day_tests): Add test case.
14609
4c60cb0c
SP
146102013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14611
14612 * sysdeps/generic/math_private.h
14613 (libc_feholdexcept_setround_53bit): Replace with
14614 libc_feholdsetround_53bit.
14615 (libc_feupdateenv_53bit): Replace with
14616 libc_feresetround_53bit.
14617 (SET_RESTORE_ROUND_53BIT): Adjust.
14618
d180203e
SP
146192013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14620
96df079a
SP
14621 * string/test-strchrnul.c: Add copyright header.
14622
d180203e
SP
14623 * posix/tst-getaddrinfo4.c: Increase test timeout.
14624
8b0ccb2d
CD
146252013-06-03 Carlos O'Donell <carlos@redhat.com>
14626
14627 [BZ #15536]
14628 * math/libm-test.inc (MAX_EXP): Remove
14629 (MIN_EXP): Define.
14630 (ulp): Use MIN_EXP - MANT_DIG.
14631 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14632
3b3c4d40
CD
146332013-05-31 Carlos O'Donell <carlos@redhat.com>
14634
14635 * po/be.po: Revert last change.
14636 * po/zh_CN.po: Likewise.
14637 * po/header.pot: Likewise.
14638
fab7ce3f
JM
146392013-05-31 Joseph Myers <joseph@codesourcery.com>
14640
14641 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14642 link-libc-deps to empty as target-specific variable.
14643 * Makerules (link-libc-args): New variable.
14644 (libc-for-link): Likewise.
14645 (link-libc-deps): Likewise.
14646 (lib%.so): Depend on $(link-libc-deps). Link with
14647 $(link-libc-args).
14648 (build-module): Link with $(link-libc-args).
14649 (build-module-asneeded): Likewise.
14650 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14651 list of objects.
14652 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14653 target-specific variable.
14654 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14655 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14656 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14657 libc.
14658 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14659 libc and ld.so.
14660 ($(objpfx)libpcprofile.so): Likewise.
14661 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14662 libc_nonshared.a.
14663 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14664 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14665 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14666 $(link-libc-deps).
14667 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14668 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14669 * login/Makefile ($(objpfx)libutil.so): Likewise.
14670 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14671 * math/Makefile ($(objpfx)libm.so): Likewise.
14672 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14673 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14674 variable instead of depending directly on libc.
14675 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14676 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14677 $(link-libc-deps).
14678 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14679 libc.
14680 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14681 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14682 ($(objpfx)libanl.so): Likewise.
14683 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14684 ld.so.
14685 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14686 $(link-libc-deps).
14687 * sysdeps/i386/fpu/Makefile: Remove file.
14688 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14689 ($(objpfx)libm.so): Remove dependency on ld.so.
14690
eca5920c
PF
146912013-05-30 Patsy Franklin <pfrankli@redhat.com>
14692
14693 [BZ # 15553]
14694 * nis/yp_xdr.c (XDRMAXNAME): Define.
14695 (XDRMAXRECORD): Define.
14696 (xdr_domainname): Use XDRMAXNAME.
14697 (xdr_mapname): Likewise.
14698 (xdr_peername): Likewise.
14699 (xdr_keydat): Use XDRMAXRECORD.
14700 (xdr_valdat): Likewise.
14701
147022013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14703
14704 [BZ #14256]
14705 * manual/errno.texi (ESTALE): Update to account for more than
14706 just NFS file systems.
14707 * sysdeps/gnu/errlist.c: Regenerated.
14708
b9375348
SP
147092013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14710
14711 [BZ #15465]
14712 * elf/Makefile (tests): Add tst-null-argv.
14713 (modules-names): Add tst-null-argv-lib.
14714 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14715 (tst-null-argv-ENV): Set environment for tst-null-argv.
14716 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14717 (RTLD_PROGNAME): New macro.
14718 * elf/tst-null-argv.c: New test case.
14719 * elf/tst-null-argv-lib.c: Library for test case.
14720 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14721 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14722 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14723 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14724 * elf/dl-init.c (call_init): Likewise.
14725 (_dl_init): Likewise.
14726 * elf/dl-load.c (print_search_path): Likewise.
14727 (_dl_map_object): Likewise.
14728 * elf/dl-lookup.c (do_lookup_x): Likewise.
14729 (add_dependency): Likewise.
14730 (_dl_lookup_symbol_x): Likewise.
14731 (_dl_debug_bindings): Likewise.
14732 * elf/dl-open.c (_dl_show_scope): Likewise.
14733 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14734 * elf/dl-version.c (match_symbol): Likewise.
14735 (_dl_check_map_versions): Likewise.
14736 * elf/rtld.c (dl_main): Likewise.
14737 (print_unresolved): Use RTLD_PROGNAME.
14738 (print_missing_version): Likewise.
14739 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14740 (elf_machine_rela): Likewise.
14741 * sysdeps/powerpc/powerpc32/dl-machine.c
14742 (__process_machine_rela): Likewise.
14743 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14744 Likewise.
14745 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14746 Likewise.
14747 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14748 Likewise.
14749 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14750 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14751 Likewise.
14752 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14753 Likewise.
14754 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14755
8a9f20c8
CD
147562013-05-28 Carlos O'Donell <carlos@redhat.com>
14757
14758 * po/be.po: Add descriptive title.
14759 * po/zh_CN.po: Likewise.
14760 * po/header.pot: Likewise.
14761
0e60d68e
MF
147622013-05-28 Mike Frysinger <vapier@gentoo.org>
14763
14764 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14765 error message.
14766 (enlarge_archive): Likewise.
14767
56b672e9
BN
147682013-05-28 Ben North <ben@redfrontdoor.org>
14769
14770 * manual/arith.texi (frexp): It is the magnitude of the return
14771 value which lies in [0.5, 1), not the return value itself.
14772
5e056687
AZ
147732013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14774
14775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14776
2b66ef5d
TS
147772013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14778
528c2405
TS
14779 * stdio-common/bug26.c (main): Correct fscanf template.
14780
07b4c13d
TS
14781 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14782 declare _dl_skip_args.
14783
ec9dd97c
TS
14784 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14785 Don't declare.
14786
2b66ef5d
TS
14787 * manual/platform.texi: Add missing @end deftypefun.
14788
4f8dfe27
JM
147892013-05-24 Joseph Myers <joseph@codesourcery.com>
14790
0323d086
JM
14791 [BZ #15529]
14792 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14793 bit of mantissa of 2^16382.
14794 * math/libm-test.inc (hypot_test_data): Add more tests.
14795
dd4259b9
JM
14796 * math/libm-test.inc: Add drem and pow10 to list of tested
14797 functions.
14798 (pow10_test): New function.
14799 (drem_test): Likewise.
14800 (drem_test_tonearest): Likewise.
14801 (drem_test_towardzero): Likewise.
14802 (drem_test_downward): Likewise.
14803 (drem_test_upward): Likewise.
14804 (main): Call the new functions.
14805
4f8dfe27
JM
14806 * math/libm-test.inc (finite_test_data): Remove.
14807 (finite_test): Run tests from isfinite_test_data.
14808 (gamma_test_data): Remove.
14809 (gamma_test): Run tests from lgamma_test_data.
14810 * sysdeps/i386/fpu/libm-test-ulps: Update.
14811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14812
d116b7c4
AZ
148132013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14814
14815 * manual/platform.texi: Add PowerPC PPR function set documentation.
14816 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14817 implementation.
14818
e96e3767
CD
148192013-05-24 Carlos O'Donell <carlos@redhat.com>
14820
14821 * math/libm-test.inc (MAX_EXP): Define.
14822 (ULPDIFF): Define.
14823 (ulp): New function.
14824 (check_float_internal): Use ULPDIFF.
14825 (cpow_test): Disable failing test.
14826 (check_ulp): Test ulp() implemetnation.
14827 (main): Call check_ulp before starting tests.
14828
b679a606
JM
148292013-05-24 Joseph Myers <joseph@codesourcery.com>
14830
e8bdba36
JM
14831 * math/gen-libm-test.pl (generate_testfile): Do not handle
14832 START_DATA and END_DATA.
14833 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14834 END_DATA.
14835 (acos_tonearest_test_data): Likewise.
14836 (acos_towardzero_test_data): Likewise.
14837 (acos_downward_test_data): Likewise.
14838 (acos_upward_test_data): Likewise.
14839 (acosh_test_data): Likewise.
14840 (asin_test_data): Likewise.
14841 (asin_tonearest_test_data): Likewise.
14842 (asin_towardzero_test_data): Likewise.
14843 (asin_downward_test_data): Likewise.
14844 (asin_upward_test_data): Likewise.
14845 (asinh_test_data): Likewise.
14846 (atan_test_data): Likewise.
14847 (atanh_test_data): Likewise.
14848 (atan2_test_data): Likewise.
14849 (cabs_test_data): Likewise.
14850 (cacos_test_data): Likewise.
14851 (cacosh_test_data): Likewise.
14852 (carg_test_data): Likewise.
14853 (casin_test_data): Likewise.
14854 (casinh_test_data): Likewise.
14855 (catan_test_data): Likewise.
14856 (catanh_test_data): Likewise.
14857 (cbrt_test_data): Likewise.
14858 (ccos_test_data): Likewise.
14859 (ccosh_test_data): Likewise.
14860 (ceil_test_data): Likewise.
14861 (cexp_test_data): Likewise.
14862 (cimag_test_data): Likewise.
14863 (clog_test_data): Likewise.
14864 (clog10_test_data): Likewise.
14865 (conj_test_data): Likewise.
14866 (copysign_test_data): Likewise.
14867 (cos_test_data): Likewise.
14868 (cos_tonearest_test_data): Likewise.
14869 (cos_towardzero_test_data): Likewise.
14870 (cos_downward_test_data): Likewise.
14871 (cos_upward_test_data): Likewise.
14872 (cosh_test_data): Likewise.
14873 (cosh_tonearest_test_data): Likewise.
14874 (cosh_towardzero_test_data): Likewise.
14875 (cosh_downward_test_data): Likewise.
14876 (cosh_upward_test_data): Likewise.
14877 (cpow_test_data): Likewise.
14878 (cproj_test_data): Likewise.
14879 (creal_test_data): Likewise.
14880 (csin_test_data): Likewise.
14881 (csinh_test_data): Likewise.
14882 (csqrt_test_data): Likewise.
14883 (ctan_test_data): Likewise.
14884 (ctan_tonearest_test_data): Likewise.
14885 (ctan_towardzero_test_data): Likewise.
14886 (ctan_downward_test_data): Likewise.
14887 (ctan_upward_test_data): Likewise.
14888 (ctanh_test_data): Likewise.
14889 (ctanh_tonearest_test_data): Likewise.
14890 (ctanh_towardzero_test_data): Likewise.
14891 (ctanh_downward_test_data): Likewise.
14892 (ctanh_upward_test_data): Likewise.
14893 (erf_test_data): Likewise.
14894 (erfc_test_data): Likewise.
14895 (exp_test_data): Likewise.
14896 (exp_tonearest_test_data): Likewise.
14897 (exp_towardzero_test_data): Likewise.
14898 (exp_downward_test_data): Likewise.
14899 (exp_upward_test_data): Likewise.
14900 (exp10_test_data): Likewise.
14901 (exp2_test_data): Likewise.
14902 (expm1_test_data): Likewise.
14903 (fabs_test_data): Likewise.
14904 (fdim_test_data): Likewise.
14905 (finite_test_data): Likewise.
14906 (floor_test_data): Likewise.
14907 (fma_test_data): Likewise.
14908 (fma_towardzero_test_data): Likewise.
14909 (fma_downward_test_data): Likewise.
14910 (fma_upward_test_data): Likewise.
14911 (fmax_test_data): Likewise.
14912 (fmin_test_data): Likewise.
14913 (fmod_test_data): Likewise.
14914 (fpclassify_test_data): Likewise.
14915 (frexp_test_data): Likewise.
14916 (gamma_test_data): Likewise.
14917 (hypot_test_data): Likewise.
14918 (ilogb_test_data): Likewise.
14919 (isfinite_test_data): Likewise.
14920 (isgreater_test_data): Likewise.
14921 (isgreaterequal_test_data): Likewise.
14922 (isinf_test_data): Likewise.
14923 (isless_test_data): Likewise.
14924 (islessequal_test_data): Likewise.
14925 (islessgreater_test_data): Likewise.
14926 (isnan_test_data): Likewise.
14927 (isnormal_test_data): Likewise.
14928 (issignaling_test_data): Likewise.
14929 (isunordered_test_data): Likewise.
14930 (j0_test_data): Likewise.
14931 (j1_test_data): Likewise.
14932 (jn_test_data): Likewise.
14933 (ldexp_test_data): Likewise.
14934 (lgamma_test_data): Likewise.
14935 (lrint_test_data): Likewise.
14936 (lrint_tonearest_test_data): Likewise.
14937 (lrint_towardzero_test_data): Likewise.
14938 (lrint_downward_test_data): Likewise.
14939 (lrint_upward_test_data): Likewise.
14940 (llrint_test_data): Likewise.
14941 (llrint_tonearest_test_data): Likewise.
14942 (llrint_towardzero_test_data): Likewise.
14943 (llrint_downward_test_data): Likewise.
14944 (llrint_upward_test_data): Likewise.
14945 (log_test_data): Likewise.
14946 (log10_test_data): Likewise.
14947 (log1p_test_data): Likewise.
14948 (log2_test_data): Likewise.
14949 (logb_test_data): Likewise.
14950 (logb_downward_test_data): Likewise.
14951 (lround_test_data): Likewise.
14952 (llround_test_data): Likewise.
14953 (modf_test_data): Likewise.
14954 (nearbyint_test_data): Likewise.
14955 (nextafter_test_data): Likewise.
14956 (nexttoward_test_data): Likewise.
14957 (pow_test_data): Likewise.
14958 (pow_tonearest_test_data): Likewise.
14959 (pow_towardzero_test_data): Likewise.
14960 (pow_downward_test_data): Likewise.
14961 (pow_upward_test_data): Likewise.
14962 (remainder_test_data): Likewise.
14963 (remainder_tonearest_test_data): Likewise.
14964 (remainder_towardzero_test_data): Likewise.
14965 (remainder_downward_test_data): Likewise.
14966 (remainder_upward_test_data): Likewise.
14967 (remquo_test_data): Likewise.
14968 (rint_test_data): Likewise.
14969 (rint_tonearest_test_data): Likewise.
14970 (rint_towardzero_test_data): Likewise.
14971 (rint_downward_test_data): Likewise.
14972 (rint_upward_test_data): Likewise.
14973 (round_test_data): Likewise.
14974 (scalb_test_data): Likewise.
14975 (scalbn_test_data): Likewise.
14976 (scalbln_test_data): Likewise.
14977 (signbit_test_data): Likewise.
14978 (sin_test_data): Likewise.
14979 (sin_tonearest_test_data): Likewise.
14980 (sin_towardzero_test_data): Likewise.
14981 (sin_downward_test_data): Likewise.
14982 (sin_upward_test_data): Likewise.
14983 (sincos_test_data): Likewise.
14984 (sinh_test_data): Likewise.
14985 (sinh_tonearest_test_data): Likewise.
14986 (sinh_towardzero_test_data): Likewise.
14987 (sinh_downward_test_data): Likewise.
14988 (sinh_upward_test_data): Likewise.
14989 (sqrt_test_data): Likewise.
14990 (tan_test_data): Likewise.
14991 (tan_tonearest_test_data): Likewise.
14992 (tan_towardzero_test_data): Likewise.
14993 (tan_downward_test_data): Likewise.
14994 (tan_upward_test_data): Likewise.
14995 (tanh_test_data): Likewise.
14996 (tgamma_test_data): Likewise.
14997 (trunc_test_data): Likewise.
14998 (y0_test_data): Likewise.
14999 (y1_test_data): Likewise.
15000 (yn_test_data): Likewise.
15001 (significand_test_data): Likewise.
15002
b679a606
JM
15003 * math/gen-libm-test.pl (@functions): Remove variable.
15004 (generate_testfile): Don't handle START and END lines.
15005 * math/libm-test.inc (START): New macro.
15006 (END): Likewise.
15007 (END_COMPLEX): Likewise.
15008 (acos_test): Use END macro without arguments.
15009 (acos_test_tonearest): Likewise.
15010 (acos_test_towardzero): Likewise.
15011 (acos_test_downward): Likewise.
15012 (acos_test_upward): Likewise.
15013 (acosh_test): Likewise.
15014 (asin_test): Likewise.
15015 (asin_test_tonearest): Likewise.
15016 (asin_test_towardzero): Likewise.
15017 (asin_test_downward): Likewise.
15018 (asin_test_upward): Likewise.
15019 (asinh_test): Likewise.
15020 (atan_test): Likewise.
15021 (atanh_test): Likewise.
15022 (atan2_test): Likewise.
15023 (cabs_test): Likewise.
15024 (cacos_test): Use END_COMPLEX macro without arguments.
15025 (cacosh_test): Likewise.
15026 (carg_test): Use END macro without arguments.
15027 (casin_test): Use END_COMPLEX macro without arguments.
15028 (casinh_test): Likewise.
15029 (catan_test): Likewise.
15030 (catanh_test): Likewise.
15031 (cbrt_test): Use END macro without arguments.
15032 (ccos_test): Use END_COMPLEX macro without arguments.
15033 (ccosh_test): Likewise.
15034 (ceil_test): Use END macro without arguments.
15035 (cexp_test): Use END_COMPLEX macro without arguments.
15036 (cimag_test): Use END macro without arguments.
15037 (clog_test): Use END_COMPLEX macro without arguments.
15038 (clog10_test): Likewise.
15039 (conj_test): Likewise.
15040 (copysign_test): Use END macro without arguments.
15041 (cos_test): Likewise.
15042 (cos_test_tonearest): Likewise.
15043 (cos_test_towardzero): Likewise.
15044 (cos_test_downward): Likewise.
15045 (cos_test_upward): Likewise.
15046 (cosh_test): Likewise.
15047 (cosh_test_tonearest): Likewise.
15048 (cosh_test_towardzero): Likewise.
15049 (cosh_test_downward): Likewise.
15050 (cosh_test_upward): Likewise.
15051 (cpow_test): Use END_COMPLEX macro without arguments.
15052 (cproj_test): Likewise.
15053 (creal_test): Use END macro without arguments.
15054 (csin_test): Use END_COMPLEX macro without arguments.
15055 (csinh_test): Likewise.
15056 (csqrt_test): Likewise.
15057 (ctan_test): Likewise.
15058 (ctan_test_tonearest): Likewise.
15059 (ctan_test_towardzero): Likewise.
15060 (ctan_test_downward): Likewise.
15061 (ctan_test_upward): Likewise.
15062 (ctanh_test): Likewise.
15063 (ctanh_test_tonearest): Likewise.
15064 (ctanh_test_towardzero): Likewise.
15065 (ctanh_test_downward): Likewise.
15066 (ctanh_test_upward): Likewise.
15067 (erf_test): Use END macro without arguments.
15068 (erfc_test): Likewise.
15069 (exp_test): Likewise.
15070 (exp_test_tonearest): Likewise.
15071 (exp_test_towardzero): Likewise.
15072 (exp_test_downward): Likewise.
15073 (exp_test_upward): Likewise.
15074 (exp10_test): Likewise.
15075 (exp2_test): Likewise.
15076 (expm1_test): Likewise.
15077 (fabs_test): Likewise.
15078 (fdim_test): Likewise.
15079 (finite_test): Likewise.
15080 (floor_test): Likewise.
15081 (fma_test): Likewise.
15082 (fma_test_towardzero): Likewise.
15083 (fma_test_downward): Likewise.
15084 (fma_test_upward): Likewise.
15085 (fmax_test): Likewise.
15086 (fmin_test): Likewise.
15087 (fmod_test): Likewise.
15088 (fpclassify_test): Likewise.
15089 (frexp_test): Likewise.
15090 (gamma_test): Likewise.
15091 (hypot_test): Likewise.
15092 (ilogb_test): Likewise.
15093 (isfinite_test): Likewise.
15094 (isgreater_test): Likewise.
15095 (isgreaterequal_test): Likewise.
15096 (isinf_test): Likewise.
15097 (isless_test): Likewise.
15098 (islessequal_test): Likewise.
15099 (islessgreater_test): Likewise.
15100 (isnan_test): Likewise.
15101 (isnormal_test): Likewise.
15102 (issignaling_test): Likewise.
15103 (isunordered_test): Likewise.
15104 (j0_test): Likewise.
15105 (j1_test): Likewise.
15106 (jn_test): Likewise.
15107 (ldexp_test): Likewise.
15108 (lgamma_test): Likewise.
15109 (lrint_test): Likewise.
15110 (lrint_test_tonearest): Likewise.
15111 (lrint_test_towardzero): Likewise.
15112 (lrint_test_downward): Likewise.
15113 (lrint_test_upward): Likewise.
15114 (llrint_test): Likewise.
15115 (llrint_test_tonearest): Likewise.
15116 (llrint_test_towardzero): Likewise.
15117 (llrint_test_downward): Likewise.
15118 (llrint_test_upward): Likewise.
15119 (log_test): Likewise.
15120 (log10_test): Likewise.
15121 (log1p_test): Likewise.
15122 (log2_test): Likewise.
15123 (logb_test): Likewise.
15124 (logb_test_downward): Likewise.
15125 (lround_test): Likewise.
15126 (llround_test): Likewise.
15127 (modf_test): Likewise.
15128 (nearbyint_test): Likewise.
15129 (nextafter_test): Likewise.
15130 (nexttoward_test): Likewise.
15131 (pow_test): Likewise.
15132 (pow_test_tonearest): Likewise.
15133 (pow_test_towardzero): Likewise.
15134 (pow_test_downward): Likewise.
15135 (pow_test_upward): Likewise.
15136 (remainder_test): Likewise.
15137 (remainder_test_tonearest): Likewise.
15138 (remainder_test_towardzero): Likewise.
15139 (remainder_test_downward): Likewise.
15140 (remainder_test_upward): Likewise.
15141 (remquo_test): Likewise.
15142 (rint_test): Likewise.
15143 (rint_test_tonearest): Likewise.
15144 (rint_test_towardzero): Likewise.
15145 (rint_test_downward): Likewise.
15146 (rint_test_upward): Likewise.
15147 (round_test): Likewise.
15148 (scalb_test): Likewise.
15149 (scalbn_test): Likewise.
15150 (scalbln_test): Likewise.
15151 (signbit_test): Likewise.
15152 (sin_test): Likewise.
15153 (sin_test_tonearest): Likewise.
15154 (sin_test_towardzero): Likewise.
15155 (sin_test_downward): Likewise.
15156 (sin_test_upward): Likewise.
15157 (sincos_test): Likewise.
15158 (sinh_test): Likewise.
15159 (sinh_test_tonearest): Likewise.
15160 (sinh_test_towardzero): Likewise.
15161 (sinh_test_downward): Likewise.
15162 (sinh_test_upward): Likewise.
15163 (sqrt_test): Likewise.
15164 (tan_test): Likewise.
15165 (tan_test_tonearest): Likewise.
15166 (tan_test_towardzero): Likewise.
15167 (tan_test_downward): Likewise.
15168 (tan_test_upward): Likewise.
15169 (tanh_test): Likewise.
15170 (tgamma_test): Likewise.
15171 (trunc_test): Likewise.
15172 (y0_test): Likewise.
15173 (y1_test): Likewise.
15174 (yn_test): Likewise.
15175 (significand_test): Likewise.
15176
bae143d2
OB
151772013-05-24 Ondřej Bílka <neleai@seznam.cz>
15178
15179 [BZ #15381]
15180 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15181
9323d39b
EM
151822013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15183
d4ea44a0 15184 [BZ #14894]
9323d39b
EM
15185 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15186 __ppc_mdoio and __ppc_mdoom.
15187 * manual/platform.texi: Document new functions __ppc_yield,
15188 __ppc_mdoio and __ppc_mdoom.
15189
13e23af7
CD
151902013-05-22 Carlos O'Donell <carlos@redhat.com>
15191
15192 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15193 (main): Mention "tls" pseudo-hwcap is legacy.
15194 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15195
351fe550
JM
151962013-05-22 Joseph Myers <joseph@codesourcery.com>
15197
15198 * math/gen-libm-test.pl (parse_args): Output only string of
15199 arguments as text for test name, not full call or descriptions of
15200 tests for extra outputs.
15201 (generate_testfile): Do not pass function name to parse_args.
15202 Generate this_func variable from START.
15203 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15204 field to arg_str.
15205 (struct test_ff_f_data): Likewise.
15206 (test_ff_f_data_nexttoward): Likewise.
15207 (struct test_fi_f_data): Likewise.
15208 (struct test_fl_f_data): Likewise.
15209 (struct test_if_f_data): Likewise.
15210 (struct test_fff_f_data): Likewise.
15211 (struct test_c_f_data): Likewise.
15212 (struct test_f_f1_data): Likewise. Remove field extra_name.
15213 (struct test_fF_f1_data): Likewise.
15214 (struct test_ffI_f1_data): Likewise.
15215 (struct test_c_c_data): Rename test_name field to arg_str.
15216 (struct test_cc_c_data): Likewise.
15217 (struct test_f_i_data): Likewise.
15218 (struct test_ff_i_data): Likewise.
15219 (struct test_f_l_data): Likewise.
15220 (struct test_f_L_data): Likewise.
15221 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15222 and extra2_name.
15223 (COMMON_TEST_SETUP): New macro.
15224 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15225 (COMMON_TEST_CLEANUP): Likewise.
15226 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15227 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15228 macros.
15229 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15230 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15231 macros.
15232 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15233 (RUN_TEST_fff_f): Take argument string. Call new setup and
15234 cleanup macros.
15235 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15236 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15237 macros.
15238 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15239 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15240 macros.
15241 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15242 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15243 cleanup macros.
15244 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15245 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15246 cleanup macros.
15247 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15248 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15249 cleanup macros.
15250 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15251 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15252 macros.
15253 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15254 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15255 macros.
15256 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15257 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15258 macros.
15259 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15260 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15261 cleanup macros.
15262 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15263 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15264 cleanup macros.
15265 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15266 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15267 macros.
15268 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15269 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15270 cleanup macros.
15271 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15272 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15273 macros.
15274 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15275 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15276 macros.
15277 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15278 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15279 cleanup macros.
15280 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15281
85118d4d
EBM
152822013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15283
15284 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15285 to _sifields.sigfault.
15286 (si_addr_lsb): Define new macro.
15287 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15288 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15289 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15290
7a44c18f
CD
152912013-05-03 Carlos O'Donell <carlos at redhat.com>
15292
15293 [BZ #15441]
15294 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15295 returns -1.
15296 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15297 null return -1.
15298 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15299 loading the domain.
15300
b50a7181
JM
153012013-05-22 Joseph Myers <joseph@codesourcery.com>
15302
15303 * math/gen-libm-test.pl (parse_args): Do not include expected
15304 result in test name.
15305 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15306 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15307 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15308 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15309 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15311
051063c8
SP
153122013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15313
3ce9e010
SP
15314 * benchtests/Makefile: Sort function entries.
15315
051063c8
SP
15316 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15317 tanh, asinh, acosh, atanh.
15318 * benchtests/acos-inputs: New file.
15319 * benchtests/acosh-inputs: New file.
15320 * benchtests/asin-inputs: New file.
15321 * benchtests/asinh-inputs: New file.
15322 * benchtests/atanh-inputs: New file.
15323 * benchtests/cosh-inputs: New file.
15324 * benchtests/log-inputs: New file.
15325 * benchtests/sinh-inputs: New file.
15326 * benchtests/tanh-inputs: New file.
15327
47c22455
DL
153282013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15329
15330 [BZ #15339]
15331 * posix/tst-getaddrinfo4.c: New test.
15332 * posix/Makefile (tests): Add it.
15333
3d04f5db
SP
153342013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15335
15336 [BZ #15339]
15337 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15338 when no services were used.
15339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15340 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15341
d5dd6189
AS
153422013-05-21 Andreas Schwab <schwab@suse.de>
15343
15344 [BZ #15014]
15345 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15346 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15347 successful.
15348 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15349 redundant variable declarations and reallocation of buffer when
15350 parsing as IPv6 address. Always set NSS status when called from
15351 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15352 buffer too small. Correct computation of needed size.
15353 * nss/Makefile (tests): Add test-digits-dots.
15354 * nss/test-digits-dots.c: New test.
15355
fef94eab
SP
153562013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15357
15358 * benchtests/Makefile: Remove instructions for adding
15359 benchmark tests.
15360 * benchtests/README: New file to explain how to execute and
15361 enhance the benchmark tests.
15362
e39adf43
AS
153632013-05-21 Andreas Schwab <schwab@suse.de>
15364
15365 [BZ #15493]
15366 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15367 * setjmp/tst-sigsetjmp.c: New test.
15368
b2b671b6
OB
153692013-05-20 Ondřej Bílka <neleai@seznam.cz>
15370
15371 * sysdeps/x86_64/memset.S (memset): New implementation.
15372 (__bzero): Likewise.
15373 (__memset_tail): New function.
15374
2d48b41c
OB
153752013-05-20 Ondřej Bílka <neleai@seznam.cz>
15376
15377 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15378 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15379 __memcpy_sse2_unaligned ifunc selection.
15380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15381 Add memcpy-sse2-unaligned.S.
15382 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15383 Add: __memcpy_sse2_unaligned.
15384
f16cc3eb
JM
153852013-05-19 Joseph Myers <joseph@codesourcery.com>
15386
3e694268
JM
15387 [BZ #15490]
15388 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15389 math_force_eval before restoring floating-point envrionment.
15390 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15391 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15392 Likewise.
15393 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15394 <math_private.h>.
15395 (__nearbyintl): Use math_force_eval before restoring
15396 floating-point environment.
15397 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15398
db62a907
JM
15399 * math/gen-libm-test.pl (special_functions): Remove.
15400 (parse_args): Don't handle TEST_extra. Handle functions with no
15401 return value.
15402 * math/libm-test.inc (struct test_sincos_data): Replace with
15403 struct test_fFF_11_data.
15404 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15405 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15406 (sincos_test_data): Change element type to struct
15407 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15408 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15409 RUN_TEST_LOOP_sincos.
15410 * math/README.libm-test: Don't mention special handling of
15411 individual functions.
15412 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15413 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15414 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15415 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15416 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15418
f16cc3eb
JM
15419 * math/gen-libm-test.pl (get_variable): Remove function.
15420 (parse_args): Don't show pointer parameters to call in test
15421 names. Use "extra output N" in test names for extra outputs
15422 rather than naming variables.
15423
3779b5b6
JM
154242013-05-18 Joseph Myers <joseph@codesourcery.com>
15425
2ee094ff
JM
15426 [BZ #15488]
15427 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15428 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15429 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15430 double tests.
15431 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15432 disable.
15433 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15434 check_long_double.
15435
3779b5b6
JM
15436 * math/gen-libm-test.pl (@tests): Remove variable.
15437 ($count): Likewise.
15438 (new_test): Remove function.
15439 (show_exceptions): New function.
15440 (special_functions): Use show_exceptions instead of new_test.
15441 (parse_args): Likewise.
15442 (generate_testfile): Pass only function name in generated call to
15443 print_max_error or print_complex_max_error.
15444 (get_ulps): Do not handle complex tests specially.
15445 (output_test): Rename to ...
15446 (get_all_ulps_for_test): ... this. Return a string rather than
15447 printing to a file. Require ulps to be present.
15448 (output_ulps): Generate arrays rather than #defines.
15449 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15450 (struct ulp_data): New type.
15451 (BUILD_COMPLEX_ULP): Remove macro.
15452 (compare_ulp_data): New function.
15453 (find_ulps): Likewise.
15454 (find_test_ulps): Likewise.
15455 (find_function_ulps): Likewise.
15456 (find_complex_function_ulps): Likewise.
15457 (print_max_error): Determine allowed ulps using
15458 find_function_ulps.
15459 (print_complex_max_error): Determine allowed ulps using
15460 find_complex_function_ulps.
15461 (check_float_internal): Determine max ulps using find_test_ulps.
15462 (check_float): Do not take max_ulp parameter. Update call to
15463 check_float_internal.
15464 (check_complex): Likewise.
15465 (check_int): Do not take max_ulp parameter.
15466 (check_long): Likewise.
15467 (check_bool): Likewise.
15468 (check_longlong): Likewise.
15469 (struct test_f_f_data): Remove max_ulp field.
15470 (struct test_ff_f_data): Likewise.
15471 (struct test_ff_f_data_nexttoward): Likewise.
15472 (struct test_fi_f_data): Likewise.
15473 (struct test_fl_f_data): Likewise.
15474 (struct test_if_f_data): Likewise.
15475 (struct test_fff_f_data): Likewise.
15476 (struct test_c_f_data): Likewise.
15477 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15478 (struct test_fF_f1_data): Likewise.
15479 (struct test_ffI_f1_data): Likewise.
15480 (struct test_c_c_data): Remove max_ulp field.
15481 (struct test_cc_c_data): Likewise.
15482 (struct test_f_i_data): Likewise.
15483 (struct test_ff_i_data): Likewise.
15484 (struct test_f_l_data): Likewise.
15485 (struct test_f_L_data): Likewise.
15486 (struct test_sincos_data): Likewise.
15487 (RUN_TEST_f_f): Do not handle ulps.
15488 (RUN_TEST_LOOP_f_f): Likewise.
15489 (RUN_TEST_2_f): Likewise.
15490 (RUN_TEST_LOOP_2_f): Likewise.
15491 (RUN_TEST_fff_f): Likewise.
15492 (RUN_TEST_LOOP_fff_f): Likewise.
15493 (RUN_TEST_c_f): Likewise.
15494 (RUN_TEST_LOOP_c_f): Likewise.
15495 (RUN_TEST_f_f1): Likewise.
15496 (RUN_TEST_LOOP_f_f1): Likewise.
15497 (RUN_TEST_fF_f1): Likewise.
15498 (RUN_TEST_LOOP_fF_f1): Likewise.
15499 (RUN_TEST_fI_f1): Likewise.
15500 (RUN_TEST_LOOP_fI_f1): Likewise.
15501 (RUN_TEST_ffI_f1): Likewise.
15502 (RUN_TEST_LOOP_ffI_f1): Likewise.
15503 (RUN_TEST_c_c): Likewise.
15504 (RUN_TEST_LOOP_c_c): Likewise.
15505 (RUN_TEST_cc_c): Likewise.
15506 (RUN_TEST_LOOP_cc_c): Likewise.
15507 (RUN_TEST_f_i): Likewise.
15508 (RUN_TEST_LOOP_f_i): Likewise.
15509 (RUN_TEST_f_i_tg): Likewise.
15510 (RUN_TEST_LOOP_f_i_tg): Likewise.
15511 (RUN_TEST_ff_i_tg): Likewise.
15512 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15513 (RUN_TEST_f_b): Likewise.
15514 (RUN_TEST_LOOP_f_b): Likewise.
15515 (RUN_TEST_f_b_tg): Likewise.
15516 (RUN_TEST_LOOP_f_b_tg): Likewise.
15517 (RUN_TEST_f_l): Likewise.
15518 (RUN_TEST_LOOP_f_l): Likewise.
15519 (RUN_TEST_f_L): Likewise.
15520 (RUN_TEST_LOOP_f_L): Likewise.
15521 (RUN_TEST_sincos): Likewise.
15522 (RUN_TEST_LOOP_sincos): Likewise.
15523
8269107f
JM
155242013-05-17 Joseph Myers <joseph@codesourcery.com>
15525
bb38759d
JM
15526 [BZ #15480]
15527 [BZ #15485]
15528 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15529 main case of finite arguments, set rounding mode to FE_TONEAREST
15530 and discard exceptions.
15531 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15532 exceptions.
15533 (remainder_tonearest_test_data): New variable.
15534 (remainder_test_tonearest): New function.
15535 (remainder_towardzero_test_data): New variable.
15536 (remainder_test_towardzero): New function.
15537 (remainder_downward_test_data): New variable.
15538 (remainder_test_downward): New function.
15539 (remainder_upward_test_data): New variable.
15540 (remainder_test_upward): New function.
15541 (main): Call the new test functions.
15542
a00bdcf0
JM
15543 * math/libm-test.inc (struct test_f_f1_data): Remove field
15544 extra_init.
15545 (struct test_fF_f1_data): Likewise.
15546 (struct test_ffI_f1_data): Likewise.
15547 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15548 based on value of EXTRA_EXPECTED.
15549 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15550 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15551 EXTRA_VAR based on value of EXTRA_EXPECTED.
15552 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15553 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15554 EXTRA_VAR based on value of EXTRA_EXPECTED.
15555 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15556 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15557 EXTRA_VAR based on value of EXTRA_EXPECTED.
15558 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15559 * math/gen-libm-test.pl (parse_args): Don't output initializers
15560 for extra output values.
15561
de407f79
JM
15562 * math/libm-test.inc (check_int): Expect result to be exactly
15563 equal to expected value and do not handle ulps.
15564 (check_long): Likewise.
15565 (check_longlong): Likewise.
15566
8269107f
JM
15567 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15568 exceptions.
15569 (cimag_test_data): Likewise.
15570 (conj_test_data): Likewise.
15571 (copysign_test_data): Likewise.
15572 (cproj_test_data): Likewise.
15573 (creal_test_data): Likewise.
15574 (fabs_test_data): Likewise.
15575 (fdim_test_data): Likewise.
15576 (finite_test_data): Likewise.
15577 (floor_test_data): Likewise.
15578 (fmax_test_data): Likewise.
15579 (fmin_test_data): Likewise.
15580 (fmod_test_data): Likewise.
15581 (fpclassify_test_data): Likewise.
15582 (frexp_test_data): Likewise.
15583 (ilogb_test_data): Likewise.
15584 (isfinite_test_data): Likewise.
15585 (isgreater_test_data): Likewise.
15586 (isgreaterequal_test_data): Likewise.
15587 (isinf_test_data): Likewise.
15588 (isless_test_data): Likewise.
15589 (islessequal_test_data): Likewise.
15590 (islessgreater_test_data): Likewise.
15591 (isnan_test_data): Likewise.
15592 (isnormal_test_data): Likewise.
15593 (issignaling_test_data): Likewise.
15594 (isunordered_test_data): Likewise.
15595 (ldexp_test_data): Likewise.
15596 (lrint_test_data): Likewise.
15597 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15598 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15599 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15600 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15601 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15602 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15603 test input.
15604 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15605 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15606 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15607 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15608 that test input.
15609 (lrint_downward_test_data): Test for "inexact" exceptions.
15610 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15611 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15612 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15613 test input.
15614 (lrint_upward_test_data): Test for "inexact" exceptions.
15615 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15616 test input.
15617 (llrint_test_data): Test for "inexact" exceptions.
15618 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15619 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15620 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15621 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15622 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15623 (llrint_downward_test_data): Test for "inexact" exceptions.
15624 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15625 (llrint_upward_test_data): Test for "inexact" exceptions.
15626 (logb_test_data): Likewise.
15627 (logb_downward_test_data): Likewise.
15628 (nextafter_test_data): Likewise.
15629 (nexttoward_test_data): Likewise.
15630 (remainder_test_data): Likewise.
15631 (remquo_test_data): Likewise.
15632 (scalbn_test_data): Likewise.
15633 (scalbln_test_data): Likewise.
15634 (signbit_test_data): Likewise.
15635 (sqrt_test_data): Likewise.
15636 (significand_test_data): Likewise.
15637
48a18de1
SP
156382013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15639
15640 [BZ #15424]
15641 * benchtests/bench-modf.c (struct args): Mark arg0 as
15642 volatile.
15643 * scripts/bench.pl: Mark members of struct args as volatile.
15644
13d3b41a
AZ
156452013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15646
68191c1d 15647 [BZ # 15497]
13d3b41a
AZ
15648 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15649 negative infinity on POWER6 or lower.
15650 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15651
2848b105
MR
156522013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15653
15654 [BZ #15442]
15655 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15656 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15657 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15658 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15659 (_FP_SETQNAN): New macro.
15660 (_FP_SETQNAN_SEMIRAW): Likewise.
15661 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15662 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15663 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15664 (FP_EXTEND): Use _FP_FRAC_SNANP.
15665 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15666 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15667 into account.
15668 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15669 New macro.
15670 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15671 Likewise.
15672
323e5cb7
JM
156732013-05-16 Joseph Myers <joseph@codesourcery.com>
15674
c58b274f
JM
15675 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15676 with DIVIDE_BY_ZERO_EXCEPTION.
15677 (gamma_test_data): Likewise.
15678 (lgamma_test_data): Likewise.
15679 (log_test_data): Likewise.
15680 (log10_test_data): Likewise.
15681 (log2_test_data): Likewise.
15682 (tgamma_test_data): Likewise.
15683
0ab34904
JM
15684 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15685 (acos_test_tonearest): Likewise.
15686 (acos_test_towardzero): Likewise.
15687 (acos_test_downward): Likewise.
15688 (acos_test_upward): Likewise.
15689 (acosh_test): Likewise.
15690 (asin_test): Likewise.
15691 (asin_test_tonearest): Likewise.
15692 (asin_test_towardzero): Likewise.
15693 (asin_test_downward): Likewise.
15694 (asin_test_upward): Likewise.
15695 (asinh_test): Likewise.
15696 (atan_test): Likewise.
15697 (atanh_test): Likewise.
15698 (atan2_test): Likewise.
15699 (cabs_test): Likewise.
15700 (cacos_test): Likewise.
15701 (cacosh_test): Likewise.
15702 (casin_test): Likewise.
15703 (casinh_test): Likewise.
15704 (catan_test): Likewise.
15705 (catanh_test): Likewise.
15706 (cbrt_test): Likewise.
15707 (ccos_test): Likewise.
15708 (ccosh_test): Likewise.
15709 (cexp_test): Likewise.
15710 (clog_test): Likewise.
15711 (clog10_test): Likewise.
15712 (cos_test): Likewise.
15713 (cos_test_tonearest): Likewise.
15714 (cos_test_towardzero): Likewise.
15715 (cos_test_downward): Likewise.
15716 (cos_test_upward): Likewise.
15717 (cosh_test): Likewise.
15718 (cosh_test_tonearest): Likewise.
15719 (cosh_test_towardzero): Likewise.
15720 (cosh_test_downward): Likewise.
15721 (cosh_test_upward): Likewise.
15722 (cpow_test): Likewise.
15723 (csin_test): Likewise.
15724 (csinh_test): Likewise.
15725 (csqrt_test): Likewise.
15726 (ctan_test): Likewise.
15727 (ctan_test_tonearest): Likewise.
15728 (ctan_test_towardzero): Likewise.
15729 (ctan_test_downward): Likewise.
15730 (ctan_test_upward): Likewise.
15731 (ctanh_test): Likewise.
15732 (ctanh_test_tonearest): Likewise.
15733 (ctanh_test_towardzero): Likewise.
15734 (ctanh_test_downward): Likewise.
15735 (ctanh_test_upward): Likewise.
15736 (erf_test): Likewise.
15737 (erfc_test): Likewise.
15738 (exp_test): Likewise.
15739 (exp_test_tonearest): Likewise.
15740 (exp_test_towardzero): Likewise.
15741 (exp_test_downward): Likewise.
15742 (exp_test_upward): Likewise.
15743 (exp10_test): Likewise.
15744 (exp2_test): Likewise.
15745 (expm1_test): Likewise.
15746 (fmod_test): Likewise.
15747 (gamma_test): Likewise.
15748 (hypot_test): Likewise.
15749 (j0_test): Likewise.
15750 (j1_test): Likewise.
15751 (jn_test): Likewise.
15752 (lgamma_test): Likewise.
15753 (log_test): Likewise.
15754 (log10_test): Likewise.
15755 (log1p_test): Likewise.
15756 (log2_test): Likewise.
15757 (logb_test_downward): Likewise.
15758 (pow_test): Likewise.
15759 (pow_test_tonearest): Likewise.
15760 (pow_test_towardzero): Likewise.
15761 (pow_test_downward): Likewise.
15762 (pow_test_upward): Likewise.
15763 (remainder_test): Likewise.
15764 (remquo_test): Likewise.
15765 (sin_test): Likewise.
15766 (sin_test_tonearest): Likewise.
15767 (sin_test_towardzero): Likewise.
15768 (sin_test_downward): Likewise.
15769 (sin_test_upward): Likewise.
15770 (sincos_test): Likewise.
15771 (sinh_test): Likewise.
15772 (sinh_test_tonearest): Likewise.
15773 (sinh_test_towardzero): Likewise.
15774 (sinh_test_downward): Likewise.
15775 (sinh_test_upward): Likewise.
15776 (sqrt_test): Likewise.
15777 (tan_test): Likewise.
15778 (tan_test_tonearest): Likewise.
15779 (tan_test_towardzero): Likewise.
15780 (tan_test_downward): Likewise.
15781 (tan_test_upward): Likewise.
15782 (tanh_test): Likewise.
15783 (tgamma_test): Likewise.
15784 (y0_test): Likewise.
15785 (y1_test): Likewise.
15786 (yn_test): Likewise.
15787
323e5cb7
JM
15788 * math/gen-libm-test.pl (adjust_arg): Remove function.
15789 (special_function): Remove argument $in_func. Only handle
15790 generating output for tables of tests, not inside functions.
15791 (parse_args): Likewise.
15792 (generate_testfile): Remove variable $in_func. Update call to
15793 parse_args.
15794 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15795 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15796 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15797 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15798 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15799 (MAX_VALUE_INIT): Rename macro to max_value.
15800 (MIN_VALUE_INIT): Rename macro to min_value.
15801 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15802 (plus_zero): Remove variable.
15803 (minus_zero): Likewise.
15804 (plus_infty): Likewise.
15805 (minus_infty): Likewise.
15806 (qnan_value): Likewise.
15807 (max_value): Likewise.
15808 (min_value): Likewise.
15809 (min_subnorm_value): Likewise.
15810
e054f494
RA
158112013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15812
15813 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15814 uint64_t or uint32_t usage.
15815 * crypt/sha256-block.c: Likewise.
15816 * crypt/sha256-crypt.c: Likewise.
15817 * crypt/sha256.c: Likewise.
15818 * crypt/sha512-block.c: Likewise.
15819 * crypt/sha512-crypt.c: Likewise.
15820 * crypt/sha512.c: Likewise.
15821 * debug/backtrace-tst.c: Likewise.
15822 * debug/pcprofiledump.c: Likewise.
15823 * elf/cache.c: Likewise.
15824 * elf/dl-cache.c: Likewise.
15825 * elf/dl-misc.c: Likewise.
15826 * elf/dl-profile.c: Likewise.
15827 * elf/dl-support.c: Likewise.
15828 * elf/ldconfig.c: Likewise.
15829 * elf/sprof.c: Likewise.
15830 * iconv/dummy-repertoire.c: Likewise.
15831 * iconv/iconv_charmap.c: Likewise.
15832 * iconv/skeleton.c: Likewise.
15833 * iconvdata/8bit-generic.c: Likewise.
15834 * iconvdata/cp737.h: Likewise.
15835 * iconvdata/cp775.h: Likewise.
15836 * iconvdata/ibm1008.h: Likewise.
15837 * iconvdata/ibm1025.h: Likewise.
15838 * iconvdata/ibm1046.h: Likewise.
15839 * iconvdata/ibm1097.h: Likewise.
15840 * iconvdata/ibm1112.h: Likewise.
15841 * iconvdata/ibm1122.h: Likewise.
15842 * iconvdata/ibm1123.h: Likewise.
15843 * iconvdata/ibm1124.h: Likewise.
15844 * iconvdata/ibm1129.h: Likewise.
15845 * iconvdata/ibm1130.h: Likewise.
15846 * iconvdata/ibm1132.h: Likewise.
15847 * iconvdata/ibm1133.h: Likewise.
15848 * iconvdata/ibm1137.h: Likewise.
15849 * iconvdata/ibm1140.h: Likewise.
15850 * iconvdata/ibm1141.h: Likewise.
15851 * iconvdata/ibm1142.h: Likewise.
15852 * iconvdata/ibm1143.h: Likewise.
15853 * iconvdata/ibm1144.h: Likewise.
15854 * iconvdata/ibm1145.h: Likewise.
15855 * iconvdata/ibm1146.h: Likewise.
15856 * iconvdata/ibm1147.h: Likewise.
15857 * iconvdata/ibm1148.h: Likewise.
15858 * iconvdata/ibm1149.h: Likewise.
15859 * iconvdata/ibm1153.h: Likewise.
15860 * iconvdata/ibm1154.h: Likewise.
15861 * iconvdata/ibm1155.h: Likewise.
15862 * iconvdata/ibm1156.h: Likewise.
15863 * iconvdata/ibm1157.h: Likewise.
15864 * iconvdata/ibm1158.h: Likewise.
15865 * iconvdata/ibm1160.h: Likewise.
15866 * iconvdata/ibm1161.h: Likewise.
15867 * iconvdata/ibm1162.h: Likewise.
15868 * iconvdata/ibm1163.h: Likewise.
15869 * iconvdata/ibm1164.h: Likewise.
15870 * iconvdata/ibm1166.h: Likewise.
15871 * iconvdata/ibm1167.h: Likewise.
15872 * iconvdata/ibm12712.h: Likewise.
15873 * iconvdata/ibm1390.h: Likewise.
15874 * iconvdata/ibm1399.h: Likewise.
15875 * iconvdata/ibm16804.h: Likewise.
15876 * iconvdata/ibm4517.h: Likewise.
15877 * iconvdata/ibm4899.h: Likewise.
15878 * iconvdata/ibm4909.h: Likewise.
15879 * iconvdata/ibm4971.h: Likewise.
15880 * iconvdata/ibm5347.h: Likewise.
15881 * iconvdata/ibm803.h: Likewise.
15882 * iconvdata/ibm856.h: Likewise.
15883 * iconvdata/ibm901.h: Likewise.
15884 * iconvdata/ibm902.h: Likewise.
15885 * iconvdata/ibm9030.h: Likewise.
15886 * iconvdata/ibm9066.h: Likewise.
15887 * iconvdata/ibm921.h: Likewise.
15888 * iconvdata/ibm922.h: Likewise.
15889 * iconvdata/ibm9448.h: Likewise.
15890 * iconvdata/isiri-3342.h: Likewise.
15891 * iconvdata/jis0201.h: Likewise.
15892 * include/link.h: Likewise.
15893 * include/netdb.h: Likewise.
15894 * inet/check_native.c: Likewise.
15895 * inet/check_pf.c: Likewise.
15896 * inet/getipv4sourcefilter.c: Likewise.
15897 * inet/getnameinfo.c: Likewise.
15898 * inet/getsourcefilter.c: Likewise.
15899 * inet/htonl.c: Likewise.
15900 * inet/setipv4sourcefilter.c: Likewise.
15901 * inet/setsourcefilter.c: Likewise.
15902 * inet/test-inet6_opt.c: Likewise.
15903 * inet/tst-network.c: Likewise.
15904 * locale/C-collate.c: Likewise.
15905 * locale/C-ctype.c: Likewise.
15906 * locale/C-time.c: Likewise.
15907 * locale/C-translit.h: Likewise.
15908 * locale/loadarchive.c: Likewise.
15909 * locale/programs/3level.h: Likewise.
15910 * locale/programs/charmap.c: Likewise.
15911 * locale/programs/charmap.h: Likewise.
15912 * locale/programs/ld-address.c: Likewise.
15913 * locale/programs/ld-collate.c: Likewise.
15914 * locale/programs/ld-ctype.c: Likewise.
15915 * locale/programs/ld-identification.c: Likewise.
15916 * locale/programs/ld-measurement.c: Likewise.
15917 * locale/programs/ld-messages.c: Likewise.
15918 * locale/programs/ld-monetary.c: Likewise.
15919 * locale/programs/ld-name.c: Likewise.
15920 * locale/programs/ld-numeric.c: Likewise.
15921 * locale/programs/ld-paper.c: Likewise.
15922 * locale/programs/ld-telephone.c: Likewise.
15923 * locale/programs/ld-time.c: Likewise.
15924 * locale/programs/linereader.c: Likewise.
15925 * locale/programs/locale.c: Likewise.
15926 * locale/programs/locarchive.c: Likewise.
15927 * locale/programs/locfile.h: Likewise.
15928 * locale/programs/repertoire.c: Likewise.
15929 * locale/programs/simple-hash.c: Likewise.
15930 * locale/programs/simple-hash.h: Likewise.
15931 * malloc/memusage.c: Likewise.
15932 * malloc/memusagestat.c: Likewise.
15933 * nis/nis_defaults.c: Likewise.
15934 * nis/nis_hash.c: Likewise.
15935 * nis/nis_print.c: Likewise.
15936 * nis/nis_xdr.c: Likewise.
15937 * nscd/connections.c: Likewise.
15938 * nscd/hstcache.c: Likewise.
15939 * nscd/nscd_gethst_r.c: Likewise.
15940 * nscd/nscd_getserv_r.c: Likewise.
15941 * nscd/nscd_helper.c: Likewise.
15942 * nscd/servicescache.c: Likewise.
15943 * nss/makedb.c: Likewise.
15944 * nss/nss_db/db-XXX.c: Likewise.
15945 * nss/nss_db/db-initgroups.c: Likewise.
15946 * nss/nss_db/db-netgrp.c: Likewise.
15947 * nss/nss_files/files-network.c: Likewise.
15948 * nss/nss_files/files-parse.c: Likewise.
15949 * posix/bug-regex5.c: Likewise.
15950 * posix/fnmatch_loop.c: Likewise.
15951 * posix/regcomp.c: Likewise.
15952 * posix/regexec.c: Likewise.
15953 * posix/tst-rfc3484-2.c: Likewise.
15954 * posix/tst-rfc3484-3.c: Likewise.
15955 * posix/tst-rfc3484.c: Likewise.
15956 * resolv/nss_dns/dns-canon.c: Likewise.
15957 * resolv/nss_dns/dns-network.c: Likewise.
15958 * resolv/res_init.c: Likewise.
15959 * resolv/res_mkquery.c: Likewise.
15960 * resolv/tst-aton.c: Likewise.
15961 * stdlib/cxa_atexit.c: Likewise.
15962 * stdlib/cxa_finalize.c: Likewise.
15963 * stdlib/gen-fpioconst.c: Likewise.
15964 * stdlib/strtol_l.c: Likewise.
15965 * string/tst-endian.c: Likewise.
15966 * sunrpc/auth_des.c: Likewise.
15967 * sunrpc/clnt_udp.c: Likewise.
15968 * sunrpc/rtime.c: Likewise.
15969 * sunrpc/svcauth_des.c: Likewise.
15970 * sunrpc/xdr.c: Likewise.
15971 * sunrpc/xdr_intXX_t.c: Likewise.
15972 * sunrpc/xdr_rec.c: Likewise.
15973 * sysdeps/generic/ldconfig.h: Likewise.
15974 * sysdeps/generic/ldsodefs.h: Likewise.
15975 * sysdeps/generic/memusage.h: Likewise.
15976 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15977 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15978 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15979 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15980 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15981 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15982 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15986 * sysdeps/posix/getaddrinfo.c: Likewise.
15987 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15988 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15989 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15990 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15991 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15992 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15993 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15994 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15995 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15996 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15997 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15998 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15999 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16000 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16001 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16002 * sysdeps/x86_64/dl-tls.h: Likewise.
16003 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16004 * time/alt_digit.c: Likewise.
16005 * time/era.c: Likewise.
16006 * wcsmbs/tst-c16c32-1.c: Likewise.
16007
8c75f674
JM
160082013-05-16 Joseph Myers <joseph@codesourcery.com>
16009
16010 * math/libm-test.inc (struct test_sincos_data): New type.
16011 (RUN_TEST_LOOP_sincos): New macro.
16012 (sincos_test_data): New variable.
16013 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16014
e6e49e59
RH
160152013-05-16 Richard Henderson <rth@redhat.com>
16016
16017 * math/atest-exp2.c (LIMB64): New macro.
16018 (CONSTSZ): New macro.
16019 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16020 (hexdig): Move ...
16021 (print_mpn_fp): ... to function scope.
16022 (read_mpn_hex): Remove.
16023 (get_log2): Remove.
16024 (exp2_mpn): Use mp_log2.
16025 (main): Use mp_exp1.
16026
15c7c18d
JM
160272013-05-16 Joseph Myers <joseph@codesourcery.com>
16028
105a07df
JM
16029 * math/libm-test.inc: Remove comment about not testing "inexact"
16030 exceptions.
16031 (INEXACT_EXCEPTION): New macro.
16032 (NO_INEXACT_EXCEPTION): Likewise.
16033 (INVALID_EXCEPTION_OK): Update value.
16034 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16035 (OVERFLOW_EXCEPTION_OK): Likewise.
16036 (UNDERFLOW_EXCEPTION_OK): Likewise.
16037 (IGNORE_ZERO_INF_SIGN): Likewise.
16038 (ERRNO_UNCHANGED): Likewise.
16039 (ERRNO_EDOM): Likewise.
16040 (ERRNO_ERANGE): Likewise.
16041 (test_exceptions): Handle testing "inexact" exceptions.
16042 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16043 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16044 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16045 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16046 INEXACT_EXCEPTION.
16047 (rint_towardzero_test_data): Likewise.
16048 (rint_downward_test_data): Likewise.
16049 (rint_upward_test_data): Likewise.
16050
e9eee333
JM
16051 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16052 with OVERFLOW_EXCEPTION.
16053 (exp10_test_data): Likewise.
16054 (exp2_test_data): Likewise.
16055 (expm1_test_data): Likewise.
16056 (lgamma_test_data): Likewise.
16057 (pow_test_data): Likewise.
16058 (tgamma_test_data): Likewise.
16059 (yn_test_data): Remove duplicate test of overflow.
16060
1c38ff73
JM
16061 * math/libm-test.inc (struct test_cc_c_data): New type.
16062 (RUN_TEST_LOOP_cc_c): New macro.
16063 (cpow_test_data): New variable.
16064 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16065
15c7c18d
JM
16066 * math/libm-test.inc (struct test_f_L_data): New type.
16067 (RUN_TEST_LOOP_f_L): New macro.
16068 (llrint_test_data): New variable.
16069 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16070 (llrint_tonearest_test_data): New variable.
16071 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16072 (llrint_towardzero_test_data): New variable.
16073 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16074 (llrint_downward_test_data): New variable.
16075 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16076 (llrint_upward_test_data): New variable.
16077 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16078 (llround_test_data): New variable.
16079 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16080
f137ff13
PC
160812013-05-13 Peter Collingbourne <pcc@google.com>
16082
16083 * math/atest-exp2.c (get_log2): Remove const attribute.
16084
3608cb24
JM
160852013-05-15 Joseph Myers <joseph@codesourcery.com>
16086
16087 * math/libm-test.inc (struct test_f_l_data): New type.
16088 (RUN_TEST_LOOP_f_l): New macro.
16089 (lrint_test_data): New variable.
16090 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16091 (lrint_tonearest_test_data): New variable.
16092 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16093 (lrint_towardzero_test_data): New variable.
16094 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16095 (lrint_downward_test_data): New variable.
16096 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16097 (lrint_upward_test_data): New variable.
16098 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16099 (lround_test_data): New variable.
16100 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16101
39b1f617
PC
161022013-05-15 Peter Collingbourne <pcc@google.com>
16103
1deff3dc
PC
16104 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16105 (EXTRACT_WORDS64) Use where appropriate.
16106 (INSERT_WORDS64) Likewise.
16107
791f3ba0
PC
16108 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16109 constraints with x constraints.
16110 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16111
39b1f617
PC
16112 * malloc/obstack.c (_obstack_compat): Add initializer.
16113
12fba011
EM
161142013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16115
16116 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16117 si_trapno and add si_addr_lsb to _sifields.sigfault.
16118 (si_trapno): Remove macro.
16119 (si_addr_lsb): Define new macro.
16120 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16121
d369f531
JM
161222013-05-15 Joseph Myers <joseph@codesourcery.com>
16123
b861c6c4
JM
16124 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16125 instead of TEST_f_l.
16126 (llrint_test_tonearest): Likewise.
16127 (llrint_test_towardzero): Likewise.
16128 (llrint_test_downward): Likewise.
16129 (llrint_test_upward): Likewise.
16130 (llround_test): Likewise.
16131
7abeee12
JM
16132 * math/libm-test.inc (struct test_f_i_data): Add comment.
16133 (RUN_TEST_LOOP_f_b): New macro.
16134 (RUN_TEST_LOOP_f_b_tg): Likewise.
16135 (finite_test_data): New variable.
16136 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16137 (isfinite_test_data): New variable.
16138 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16139 (isinf_test_data): New variable.
16140 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16141 (isnan_test_data): New variable.
16142 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16143 (isnormal_test_data): New variable.
16144 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16145 (issignaling_test_data): New variable.
16146 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16147 (signbit_test_data): New variable.
16148 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16149
cbe8c4d3
JM
16150 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16151 with INVALID_EXCEPTION.
16152 (acosh_test_data): Likewise.
16153 (asin_test_data): Likewise.
16154 (atanh_test_data): Likewise.
16155 (fmod_test_data): Likewise.
16156 (log_test_data): Likewise.
16157 (log10_test_data): Likewise.
16158 (log2_test_data): Likewise.
16159 (pow_test_data): Likewise.
16160 (sqrt_test_data): Likewise.
16161 (y0_test_data): Likewise.
16162 (y1_test_data): Likewise.
16163 (yn_test_data): Likewise.
16164
5575c0e5
JM
16165 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16166 function contents.
16167
d369f531
JM
16168 * math/libm-test.inc (struct test_ff_i_data): New type.
16169 (RUN_TEST_LOOP_ff_i_tg): New macro.
16170 (isgreater_test_data): New variable.
16171 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16172 (isgreaterequal_test_data): New variable.
16173 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16174 (isless_test_data): New variable.
16175 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16176 (islessequal_test_data): New variable.
16177 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16178 (islessgreater_test_data): New variable.
16179 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16180 (isunordered_test_data): New variable.
16181 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16182
781fd748
DM
161832013-05-14 David S. Miller <davem@davemloft.net>
16184
16185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16186
87aa21df
JM
161872013-05-14 Joseph Myers <joseph@codesourcery.com>
16188
5e908270
JM
16189 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16190
f71172e5
JM
16191 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16192 extra_test to int.
16193 (struct test_f_i_data): Change type of max_ulp to int.
16194
8cfa635a
JM
16195 * math/libm-test.inc (test_ffI_f1_data): New type.
16196 (RUN_TEST_LOOP_ffI_f1): New macro.
16197 (remquo_test_data): New variable.
16198 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16199
2bcb36b2
JM
16200 * setjmp/tst-setjmp-fp.c: New file.
16201 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16202 (link-libm): New variable.
16203 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16204
acbd839a
JM
16205 * math/libm-test.inc (struct test_f_i_data): New type.
16206 (RUN_TEST_LOOP_f_i): New macro.
16207 (RUN_TEST_LOOP_f_i_tg): Likewise.
16208 (fpclassify_test_data): New variable.
16209 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16210 (ilogb_test_data): New variable.
16211 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16212
e414d745
JM
16213 * math/libm-test.inc (scalbln_test): Correct function name in END
16214 call.
16215
d9c2a0fd
JM
16216 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16217 (RUN_TEST_LOOP_fI_f1): New macro.
16218 (frexp_test_data): New variable.
16219 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16220
9dc9095d
JM
16221 * math/libm-test.inc (struct test_fF_f1_data): New type.
16222 (RUN_TEST_LOOP_fF_f1): New macro.
16223 (modf_test_data): New variable.
16224 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16225
87aa21df
JM
16226 * math/libm-test.inc (struct test_f_f1_data): New type.
16227 (RUN_TEST_LOOP_f_f1): New macro.
16228 (gamma_test_data): New variable.
16229 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16230 (lgamma_test_data): New variable.
16231 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16232
141af660
CD
162332013-05-13 Carlos O'Donell <carlos@redhat.com>
16234
16235 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16236 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16237 (main): Comment "tls" pseudo-hwcap.
16238
6d33265c
JM
162392013-05-13 Joseph Myers <joseph@codesourcery.com>
16240
68fc074c
JM
16241 * math/libm-test.inc (struct test_fl_f_data): New type.
16242 (RUN_TEST_LOOP_fl_f): New variable.
16243 (scalbln_test_data): New variable.
16244 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16245
243216e1
JM
16246 * math/libm-test.inc (struct test_fi_f_data): New type.
16247 (RUN_TEST_LOOP_fi_f): New macro.
16248 (ldexp_test_data): New variable.
16249 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16250 (scalbn_test_data): New variable.
16251 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16252
6a1992e2
JM
16253 * math/libm-test.inc (struct test_c_f_data): New type.
16254 (RUN_TEST_LOOP_c_f): New macro.
16255 (cabs_test_data): New variable.
16256 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16257 (carg_test_data): New variable.
16258 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16259 (cimag_test_data): New variable.
16260 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16261 (creal_test_data): New variable.
16262 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16263
0e400df5
JM
16264 * math/libm-test.inc (struct test_if_f_data): New type.
16265 (RUN_TEST_LOOP_if_f): New macro.
16266 (jn_test_data): New variable.
16267 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16268 (yn_test_data): New variable.
16269 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16270
6d33265c
JM
16271 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16272
f98ece5f
AZ
162732013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16274
16275 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16276 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16277
0f7d347b
SP
162782013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16279
43fe811b
SP
16280 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16281 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16282 (bench-deps): Add bench-timing.h.
16283 * benchtests-bench-skeleton.c: Include bench-timing.h.
16284 (main): Use TIMING_* macros instead of clock_gettime.
16285 * benchtests/bench-timing.h: New file.
16286
0f7d347b
SP
16287 [BZ #14582]
16288 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16289 Renamed from _LIB_VERSION.
16290 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16291
601a3a5f
JM
162922013-05-12 Joseph Myers <joseph@codesourcery.com>
16293
4f184d30
JM
16294 * math/libm-test.inc (struct test_fff_f_data): New type.
16295 (RUN_TEST_LOOP_fff_f): New macro.
16296 (fma_test_data): New variable.
16297 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16298 (fma_towardzero_test_data): New variable.
16299 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16300 (fma_downward_test_data): New variable.
16301 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16302 (fma_upward_test_data): New variable.
16303 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16304
08198877
JM
16305 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16306 (struct test_c_c_data): New type.
16307 (RUN_TEST_LOOP_c_c): New macro.
16308 (cacos_test_data): New variable.
16309 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16310 (cacosh_test_data): New variable.
16311 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16312 (casin_test_data): New variable.
16313 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16314 (casinh_test_data): New variable.
16315 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16316 (catan_test_data): New variable.
16317 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16318 (catanh_test_data): New variable.
16319 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16320 (ccos_test_data): New variable.
16321 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16322 (ccosh_test_data): New variable.
16323 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16324 (cexp_test_data): New variable.
16325 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16326 (clog_test_data): New variable.
16327 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16328 (clog10_test_data): New variable.
16329 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16330 (conj_test_data): New variable.
16331 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16332 (cproj_test_data): New variable.
16333 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16334 (csin_test_data): New variable.
16335 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16336 (csinh_test_data): New variable.
16337 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16338 (csqrt_test_data): New variable.
16339 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16340 (ctan_test_data): New variable.
16341 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16342 (ctan_tonearest_test_data): New variable.
16343 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16344 (ctan_towardzero_test_data): New variable.
16345 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16346 (ctan_downward_test_data): New variable.
16347 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16348 (ctan_upward_test_data): New variable.
16349 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16350 (ctanh_test_data): New variable.
16351 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16352 (ctanh_tonearest_test_data): New variable.
16353 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16354 (ctanh_towardzero_test_data): New variable.
16355 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16356 (ctanh_downward_test_data): New variable.
16357 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16358 (ctanh_upward_test_data): New variable.
16359 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16360 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16361 of BUILD_COMPLEX.
16362
601a3a5f
JM
16363 * math/libm-test.inc (struct test_ff_f_data): New type.
16364 (struct test_ff_f_data_nexttoward): Likewise.
16365 (RUN_TEST_LOOP_2_f): New macro.
16366 (RUN_TEST_LOOP_ff_f): Likewise.
16367 (atan2_test_data): New variable.
16368 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16369 (copysign_test_data): New variable.
16370 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16371 (fdim_test_data): New variable.
16372 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16373 (fmax_test_data): New variable.
16374 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16375 (fmin_test_data): New variable.
16376 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16377 (fmod_test_data): New variable.
16378 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16379 (hypot_test_data): New variable.
16380 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16381 (nextafter_test_data): New variable.
16382 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16383 (nexttoward_test_data): New variable.
16384 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16385 (pow_test_data): New variable.
16386 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16387 (pow_tonearest_test_data): New variable.
16388 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16389 (pow_towardzero_test_data): New variable.
16390 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16391 (pow_downward_test_data): New variable.
16392 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16393 (pow_upward_test_data): New variable.
16394 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16395 (remainder_test_data): New variable.
16396 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16397 (scalb_test_data): New variable.
16398 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16399 * sysdeps/i386/fpu/libm-test-ulps: Update.
16400
74c57478
JM
164012013-05-11 Joseph Myers <joseph@codesourcery.com>
16402
8329e4da
JM
16403 * math/libm-test.inc (fma_test): Use max_value instead of local
16404 variable fltmax.
16405 (nextafter_test): Likewise.
16406
74c57478
JM
16407 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16408 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16409 (acos_downward_test_data): New variable.
16410 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16411 (acos_upward_test_data): New variable.
16412 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16413 (acosh_test_data): New variable.
16414 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16415 (asin_test_data): New variable.
16416 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16417 (asin_tonearest_test_data): New variable.
16418 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16419 (asin_towardzero_test_data): New variable.
16420 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16421 (asin_downward_test_data): New variable.
16422 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16423 (asin_upward_test_data): New variable.
16424 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16425 (asinh_test_data): New variable.
16426 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16427 (atan_test_data): New variable.
16428 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16429 (atanh_test_data): New variable.
16430 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16431 (cbrt_test_data): New variable.
16432 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16433 (ceil_test_data): New variable.
16434 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16435 (cos_test_data): New variable.
16436 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16437 (cos_tonearest_test_data): New variable.
16438 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16439 (cos_towardzero_test_data): New variable.
16440 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16441 (cos_downward_test_data): New variable.
16442 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16443 (cos_upward_test_data): New variable.
16444 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16445 (cosh_test_data): New variable.
16446 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16447 (cosh_tonearest_test_data): New variable.
16448 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16449 (cosh_towardzero_test_data): New variable.
16450 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16451 (cosh_downward_test_data): New variable.
16452 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16453 (cosh_upward_test_data): New variable.
16454 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16455 (erf_test_data): New variable.
16456 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16457 (erfc_test_data): New variable.
16458 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16459 (exp_test_data): New variable.
16460 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16461 (exp_tonearest_test_data): New variable.
16462 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16463 (exp_towardzero_test_data): New variable.
16464 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16465 (exp_downward_test_data): New variable.
16466 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16467 (exp_upward_test_data): New variable.
16468 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16469 (exp10_test_data): New variable.
16470 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16471 (exp2_test_data): New variable.
16472 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16473 (expm1_test_data): New variable.
16474 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16475 (fabs_test_data): New variable.
16476 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16477 (floor_test_data): New variable.
16478 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16479 (j0_test_data): New variable.
16480 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16481 (j1_test_data): New variable.
16482 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16483 (log_test_data): New variable.
16484 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16485 (log10_test_data): New variable.
16486 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16487 (log1p_test_data): New variable.
16488 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16489 (log2_test_data): New variable.
16490 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16491 (logb_test_data): New variable.
16492 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16493 (logb_downward_test_data): New variable.
16494 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16495 (nearbyint_test_data): New variable.
16496 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16497 (rint_test_data): New variable.
16498 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16499 (rint_tonearest_test_data): New variable.
16500 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16501 (rint_towardzero_test_data): New variable.
16502 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16503 (rint_downward_test_data): New variable.
16504 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16505 (rint_upward_test_data): New variable.
16506 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16507 (round_test_data): New variable.
16508 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16509 (sin_test_data): New variable.
16510 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16511 (sin_tonearest_test_data): New variable.
16512 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16513 (sin_towardzero_test_data): New variable.
16514 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16515 (sin_downward_test_data): New variable.
16516 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16517 (sin_upward_test_data): New variable.
16518 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16519 (sinh_test_data): New variable.
16520 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16521 (sinh_tonearest_test_data): New variable.
16522 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16523 (sinh_towardzero_test_data): New variable.
16524 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16525 (sinh_downward_test_data): New variable.
16526 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16527 (sinh_upward_test_data): New variable.
16528 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16529 (sqrt_test_data): New variable.
16530 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16531 (tan_test_data): New variable.
16532 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16533 (tan_tonearest_test_data): New variable.
16534 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16535 (tan_towardzero_test_data): New variable.
16536 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16537 (tan_downward_test_data): New variable.
16538 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16539 (tan_upward_test_data): New variable.
16540 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16541 (tanh_test_data): New variable.
16542 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16543 (tgamma_test_data): New variable.
16544 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16545 (trunc_test_data): New variable.
16546 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16547 (y0_test_data): New variable.
16548 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16549 (y1_test_data): New variable.
16550 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16551 (significand_test_data): New variable.
16552 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16553
7187d844
CG
165542013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16555
16556 [BZ #12387]
16557 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16558
f63fae73
PT
165592013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16560
16561 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16562
8a67a4b3
AJ
165632013-05-10 Andreas Jaeger <aj@suse.de>
16564
16565 [BZ #15448]
16566 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16567 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16568
51df539d
JM
165692013-05-10 Joseph Myers <joseph@codesourcery.com>
16570
16571 * math/gen-libm-test.pl (adjust_arg): New function.
16572 (special_functions): Handle generating output in both functions
16573 and arrays.
16574 (parse_args): Likewise.
16575 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16576 $in_func argument to parse_args.
16577 * math/libm-test.inc (struct test_f_f_data): New type.
16578 (IF_ROUND_INIT_): New macro.
16579 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16580 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16581 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16582 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16583 (ROUND_RESTORE_): Likewise.
16584 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16585 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16586 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16587 (ROUND_RESTORE_FE_UPWARD): Likewise.
16588 (RUN_TEST_LOOP_f_f): New macro.
16589 (acos_test_data): New variable.
16590 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16591 (acos_tonearest_test_data): New variable.
16592 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16593
5c637fe5
SP
165942013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16595
16596 * benchtests/bench-skeleton.c (startup): Fix coding style.
16597
ab2b9461
JM
165982013-05-10 Joseph Myers <joseph@codesourcery.com>
16599
16600 [BZ #6809]
16601 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16602 negative infinity argument.
16603 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16604 negative infinity argument.
16605 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16606 negative infinity argument.
16607 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16608 domain errors.
16609
4c0fe6fe
FW
166102013-05-10 Florian Weimer <fweimer@redhat.com>
16611
16612 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16613 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16614 * iconv/iconv_prog.c (main): Likewise.
16615 * locale/programs/charmap-dir.c (charmap_readdir)
16616 (fopen_uncompressed): Likewise.
16617 * locale/programs/locfile.c (siblings_uncached)
16618 (write_locale_data): Use lstat64 instead of lstat.
16619 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16620 stat.
16621
a3375d29
AJ
166222013-05-10 Andreas Jaeger <aj@suse.de>
16623
16624 [BZ #15395]
16625 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16626 localization.
16627 Include <locale.h>.
16628
36129722
CD
166292013-05-09 Carlos O'Donell <carlos@redhat.com>
16630
16631 * elf/dl-close.c (_dl_close_worker): Add comments.
16632
faa7f811
JM
166332013-05-09 Joseph Myers <joseph@codesourcery.com>
16634
ed41ffef
JM
16635 [BZ #15359]
16636 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16637 high part of pi/2.
16638 (__ieee754_rem_pio2l): Update comments.
16639
d0213cd0
JM
16640 [BZ #15429]
16641 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16642 high part of pi/2.
16643 (__ieee754_rem_pio2l): Update comments.
16644
0d3e777a
JM
16645 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16646 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16647
24f56066
JM
16648 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16649 M_PI_4l.
16650
faa7f811
JM
16651 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16652 (M_PI_34_LOG10El): Likewise.
16653 (M_PI2_LOG10El): Likewise.
16654 (M_PI4_LOG10El): Likewise.
16655 (M_PI_LOG10El): Likewise.
16656
e9a5e0fd
AZ
166572013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16658
16659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16660
d8cd06db
JM
166612013-05-08 Joseph Myers <joseph@codesourcery.com>
16662
a0d9f9d7
JM
16663 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16664 (MINUS_ZERO_INIT): Likewise.
16665 (PLUS_INFTY_INIT): Likewise.
16666 (MINUS_INFTY_INIT): Likewise.
16667 (QNAN_VALUE_INIT): Likewise.
16668 (MAX_VALUE_INIT): Likewise.
16669 (MIN_VALUE_INIT): Likewise.
16670 (MIN_SUBNORM_VALUE_INIT): Likewise.
16671 (plus_zero): Initialize with PLUS_ZERO_INIT.
16672 (minus_zero): Initialize with MINUS_ZERO_INIT.
16673 (plus_infty): Initialize with PLUS_INFTY_INIT.
16674 (minus_infty): Initialize with MINUS_INFTY_INIT.
16675 (qnan_value): Initialize with QNAN_VALUE_INIT.
16676 (max_value): Initialize with MAX_VALUE_INIT.
16677 (min_value): Initialize with MIN_VALUE_INIT.
16678 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16679
ae08db3b
JM
16680 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16681 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16682 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16683 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16684
f44bf14a
JM
16685 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16686 (RUN_TEST_2_f): Likewise.
16687 (RUN_TEST_ff_f): Likewise.
16688 (RUN_TEST_fi_f): Likewise.
16689 (RUN_TEST_fl_f): Likewise.
16690 (RUN_TEST_fff_f): Likewise.
16691 (RUN_TEST_c_f): Likewise.
16692 (RUN_TEST_f_f1): Likewise.
16693 (RUN_TEST_fF_f1): Likewise.
16694 (RUN_TEST_fI_f1): Likewise.
16695 (RUN_TEST_ffI_f1): Likewise.
16696 (RUN_TEST_c_c): Likewise.
16697 (RUN_TEST_cc_c): Likewise.
16698 (RUN_TEST_f_i): Likewise.
16699 (RUN_TEST_f_i_tg): Likewise.
16700 (RUN_TEST_ff_i_tg): Likewise.
16701 (RUN_TEST_f_b): Likewise.
16702 (RUN_TEST_f_b_tg): Likewise.
16703 (RUN_TEST_f_l): Likewise.
16704 (RUN_TEST_f_L): Likewise.
16705 (RUN_TEST_sincos): Likewise.
16706 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16707 whether to show exceptions. Do not include ");\n" in return
16708 value.
16709 (special_functions): Output call to RUN_TEST_sincos instead of
16710 check_float calls. Update calls to new_test.
16711 (parse_args): Output call to single RUN_TEST_* macro instead of
16712 check_* calls and other assignments. Update calls to new_test.
16713
d8cd06db
JM
16714 [BZ #2546]
16715 [BZ #2560]
16716 [BZ #5159]
16717 [BZ #15426]
16718 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16719 input to result for tgamma overflow.
16720 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16721 (gamma_coeff): New variable.
16722 (NCOEFF): New macro.
16723 (gamma_positive): New function.
16724 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16725 underflow here. Use gamma_positive instead of exp (lgamma) for
16726 other arguments.
16727 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16728 (gamma_coeff): New variable.
16729 (NCOEFF): New macro.
16730 (gammaf_positive): New function.
16731 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16732 underflow here. Use gamma_positive instead of exp (lgamma) for
16733 other arguments.
16734 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16735 (gamma_coeff): New variable.
16736 (NCOEFF): New macro.
16737 (gammal_positive): New function.
16738 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16739 underflow here. Use gamma_positive instead of exp (lgamma) for
16740 other arguments.
16741 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16742 (gamma_coeff): New variable.
16743 (NCOEFF): New macro.
16744 (gammal_positive): New function.
16745 (__ieee754_gammal_r): Handle positive infinity, overflow and
16746 underflow here. Handle NaN the same as positive infinity. Remove
16747 check x < 0xffffffff for negative integers. Use gamma_positive
16748 instead of exp (lgamma) for other arguments.
16749 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16750 (gamma_coeff): New variable.
16751 (NCOEFF): New macro.
16752 (gammal_positive): New function.
16753 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16754 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16758 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16759 * sysdeps/generic/math_private.h (__gamma_productf): New
16760 prototype.
16761 (__gamma_product): Likewise.
16762 (__gamma_productl): Likewise.
16763 * math/Makefile (libm-calls): Add gamma_product.
16764 * math/libm-test.inc (tgamma_test): Add more tests.
16765 * sysdeps/i386/fpu/libm-test-ulps: Update.
16766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16767
bb7cf681
OB
167682013-05-08 Ondřej Bílka <neleai@seznam.cz>
16769
16770 * benchtests/bench-skeleton.c (main): Preheat CPU.
16771
ba853947
AJ
167722013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16773
16774 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16775
8347c74c
RM
167762013-05-07 Roland McGrath <roland@hack.frob.com>
16777
16778 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16779 and _dl_skip_args_internal.
16780
e8dd4791
CD
167812013-05-07 Carlos O'Donell <carlos@redhat.com>
16782
16783 * manual/message.texi (Message Translation): Talk about users.
16784 Message to key mapping impacts design.
16785
c7405830
RM
167862013-05-06 Roland McGrath <roland@hack.frob.com>
16787
a9173057
RM
16788 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16789
976e2f03
RM
16790 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16791
9723ffc5
RM
16792 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16793 * sysdeps/wordsize-64/glob64.c: ... here.
16794
962e6658
RM
16795 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16796 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16797 New macros.
16798
ee586a6d
RM
16799 * debug/getlogin_r_chk.c: Moved to ...
16800 * login/getlogin_r_chk.c: ... here.
16801 * debug/Makefile (routines): Move getlogin_r_chk to ...
16802 * login/Makefile (routines): ... here.
16803 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16804 * login/Versions (libc: GLIBC_2.4): ... here.
16805
355f9165
RM
16806 * io/poll.c (__poll): Renamed from poll.
16807 Add libc_hidden_def.
16808 (poll): Define as weak alias.
16809
bd9ffde6
RM
16810 * debug/ptsname_r_chk.c: Moved to ...
16811 * login/ptsname_r_chk.c: ... here.
16812 * debug/Makefile (routines): Move ptsname_r_chk to ...
16813 * login/Makefile (routines): ... here.
16814 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16815 * login/Versions (libc: GLIBC_2.4): ... here.
16816
8fb16a04
RM
16817 * posix/getlogin.c: Moved to ...
16818 * login/getlogin.c: ... here.
16819 * posix/getlogin_r.c: Moved to ...
16820 * login/getlogin_r.c: ... here.
16821 * posix/getlogin_r.c: Moved to ...
16822 * login/getlogin_r.c: ... here.
16823 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16824 * login/Makefile (routines): ... here.
16825 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16826 * login/Versions (libc: GLIBC_2.0): ... here.
16827
b99b892f
RM
16828 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16829 (setrlimit): Define as weak alias.
16830
c7405830
RM
16831 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16832 Call __ names for open, ftruncate, and close.
16833 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16834 (truncate): Define as weak alias.
16835
5bf96de5
JM
168362013-05-06 Joseph Myers <joseph@codesourcery.com>
16837
9ea3513c
JM
16838 * math/gen-libm-test.pl (parse_args): Initialize x before each
16839 test of frexp, modf and remquo.
16840
5bf96de5
JM
16841 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16842 test signgam value.
16843
16e616a7
AZ
168442013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16845
16846 [BZ #15418]
16847 [BZ #15419]
16848 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16849 internal tests.
16850 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16851
d5e82754
RM
168522013-05-06 Roland McGrath <roland@hack.frob.com>
16853
16854 * elf/dl-writev.h: New file.
16855 * elf/dl-misc.c: Include it.
16856 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16857 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16858
a7548d41
JM
168592013-05-04 Joseph Myers <joseph@codesourcery.com>
16860
b7dab1e4
JM
16861 * math/libm-test.inc (noXFails): Remove variable.
16862 (noXPasses): Likewise.
16863 (BUILD_COMPLEX_INT): Remove macro.
16864 (print_screen): Remove xfail argument.
16865 (print_screen_max_error): Likewise.
16866 (update_stats): Likewise.
16867 (print_max_error): Likewise. Update calls to other affected
16868 functions.
16869 (print_complex_max_error): Likewise.
16870 (test_single_exception): Update calls to print_screen.
16871 (test_single_errno): Likewise.
16872 (check_float_internal): Remove xfail argument. Update calls to
16873 other affected functions.
16874 (check_float): Likewise.
16875 (check_complex): Likewise.
16876 (check_int): Likewise.
16877 (check_long): Likewise.
16878 (check_bool): Likewise.
16879 (check_longlong): Likewise.
16880 (main): Don't print noXFails and noXPasses.
16881 * math/gen-libm-test.pl (top level): Don't mention expected
16882 failure handling in comment.
16883 (new_test): Don't handle expected failures.
16884 (parse_args): Don't mention expected failure handling in comment.
16885 (generate_testfile): Don't handle expected failures.
16886 (parse_ulps): Likewise.
16887 (print_ulps_file): Likewise.
16888 (get_failure): Remove function.
16889 (output_test): Don't handle expected failures.
16890 * make/README.libm-test: Don't mention expected failure handling.
16891
a7548d41
JM
16892 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16893 (minus_zero): Likewise.
16894 (plus_infty): Likewise.
16895 (minus_infty): Likewise.
16896 (qnan_value): Likewise.
16897 (max_value): Likewise.
16898 (min_value): Likewise.
16899 (min_subnorm_value): Likewise.
16900 (initialize): Do not initialize those variables dynamically.
16901
60bfd54c
RM
169022013-05-03 Roland McGrath <roland@hack.frob.com>
16903
cc0e6ed8
RM
16904 * io/open.c (__open_2): Moved to ...
16905 * io/open_2.c: ... this new file.
16906 * io/open64.c (__open64_2): Moved to ...
16907 * io/open64_2.c: ... this new file.
16908 * io/openat.c (__openat_2): Moved to ...
16909 * io/openat_2.c: ... this new file.
16910 * io/openat64.c (__openat64_2): Moved to ...
16911 * io/openat64_2.c: ... this new file.
16912 * io/Makefile (routines): Add them.
16913 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16914 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16915 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16916 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16917 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16918 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16919 (__openat64): Add hidden_ver.
16920 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16921 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16922
60bfd54c
RM
16923 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16924 Separately conditionalize setting of GLRO(dl_sysinfo) so
16925 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16926 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16927
83e7640f
AZ
169282013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16929
16930 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16931 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16932 definition.
16933 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16934 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16935 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16936 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16937 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16938
d5dc2af3
JM
169392013-05-03 Joseph Myers <joseph@codesourcery.com>
16940
c31a5b1e
JM
16941 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16942 test signgam value.
16943
d5dc2af3
JM
16944 * math/libm-test.inc (hypot_test): Do not use
16945 IGNORE_ZERO_INF_SIGN.
16946
164fd39d
AJ
169472013-05-03 Andreas Jaeger <aj@suse.de>
16948
16949 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16950 Linux 3.9.
16951 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16952 (PF_MAX): Adjust for VSOCK change.
16953
8237f48c
AZ
169542013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16955
16956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16957
9df02941
CD
169582013-05-02 Carlos O'Donell <carlos@redhat.com>
16959
16960 [BZ #15264]
16961 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16962 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16963 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16964
d422395e
DM
169652013-05-02 David S. Miller <davem@davemloft.net>
16966
16967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16968
a07c5731
OB
169692013-05-01 Ondřej Bílka <neleai@seznam.cz>
16970
16971 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16972
1324e37f
RM
169732013-05-01 Roland McGrath <roland@hack.frob.com>
16974
16975 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16976
0695940b
RS
169772013-05-01 Richard Smith <richard@metafoo.co.uk>
16978
bb5f27ad 16979 [BZ #14952]
0695940b
RS
16980 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16981 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16982 Use __attribute__ ((__gnu_inline__)).
16983 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16984 Don't use __attribute__ ((__gnu_inline__)).
16985
10de07f5
JM
169862013-05-01 Joseph Myers <joseph@codesourcery.com>
16987
16988 [BZ #15423]
16989 * math/s_catan.c (__catan): Handle small real or imaginary part of
16990 input specially to avoid spurious underflow.
16991 * math/s_catanf.c (__catanf): Likewise.
16992 * math/s_catanh.c (__catanh): Likewise.
16993 * math/s_catanhf.c (__catanhf): Likewise.
16994 * math/s_catanhl.c (__catanhl): Likewise.
16995 * math/s_catanl.c (__catanl): Likewise.
16996 * math/libm-test.inc (catan_test): Add more tests.
16997 (catanh_test): Likewise.
16998 * sysdeps/i386/fpu/libm-test-ulps: Update.
16999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17000
cb4d5414
AZ
170012013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17002
17003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17004
caf84319
JM
170052013-04-30 Joseph Myers <joseph@codesourcery.com>
17006
17007 [BZ #15416]
17008 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17009 accurately for denominator in atan2.
17010 * math/s_catanf.c (__catanf): Likewise.
17011 * math/s_catanh.c (__catanh): Likewise.
17012 * math/s_catanhf.c (__catanhf): Likewise.
17013 * math/s_catanhl.c (__catanhl): Likewise.
17014 * math/s_catanl.c (__catanl): Likewise.
17015 * math/libm-test.inc (catan_test): Add more tests.
17016 (catanh_test): Likewise.
17017 * sysdeps/i386/fpu/libm-test-ulps: Update.
17018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17019
d569c6ee
SP
170202013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17021
6dbe713d
SP
17022 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17023
f0ee064b
SP
17024 * benchtests/Makefile (bench): Remove slow benchmarks.
17025 * benchtests/atan-inputs: Add slow benchmark inputs.
17026 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17027 (BENCH_FUNC): Accept variant offset.
17028 (VARIANT): Define.
17029 * benchtests/bench-skeleton.c (main): Run benchmark for each
17030 variant.
17031 * benchtests/cos-inputs: Add slow benchmark inputs.
17032 * benchtests/exp-inputs: Likewise.
17033 * benchtests/pow-inputs: Likewise.
17034 * benchtests/sin-inputs: Likewise.
17035 * benchtests/slowatan-inputs: Remove.
17036 * benchtests/slowatan.c: Remove.
17037 * benchtests/slowcos-inputs: Remove.
17038 * benchtests/slowcos.c: Remove.
17039 * benchtests/slowexp-inputs: Remove.
17040 * benchtests/slowexp.c: Remove.
17041 * benchtests/slowpow-inputs: Remove.
17042 * benchtests/slowpow.c: Remove.
17043 * benchtests/slowsin-inputs: Remove.
17044 * benchtests/slowsin.c: Remove.
17045 * benchtests/slowtan-inputs: Remove.
17046 * benchtests/slowtan.c: Remove.
17047 * benchtests/tan-inputs: Add slow benchmark inputs.
17048 * scripts/bench.pl: Parse comments and directives.
17049
d569c6ee
SP
17050 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17051 in CPPFLAGS.
17052 ($(objpfx)bench-%.c): Remove *-ITER.
17053 * benchtests/bench-modf.c: Remove definition of ITER.
17054 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17055 (main): Loop for DURATION seconds instead of fixed number of
17056 iterations.
17057 * scripts/bench.pl: Don't expect iterations in parameters.
17058
a6a242fe
RM
170592013-04-29 Roland McGrath <roland@hack.frob.com>
17060
17061 * io/fchdir.c (__fchdir): Renamed from fchdir.
17062 (fchdir): Define as weak alias.
17063
f2da7793
JM
170642013-04-29 Joseph Myers <joseph@codesourcery.com>
17065
17066 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17067 (ERRNO_EDOM): Likewise.
17068 (ERRNO_ERANGE): Likewise.
17069 (noErrnoTests): New variable.
17070 (init_max_error): Set errno to 0.
17071 (test_single_errno): New function.
17072 (test_errno): Likewise.
17073 (check_float_internal): Call test_errno. Set errno to 0.
17074 (check_complex): Refer to errno tests in comment.
17075 (check_int): Call test_errno. Set errno to 0.
17076 (check_long): Likewise.
17077 (check_bool): Likewise.
17078 (check_longlong): Likewise.
17079 (cos_test): Use ERRNO_* flags for errno tests instead of
17080 check_int.
17081 (expm1_test): Likewise.
17082 (fmod_test): Likewise.
17083 (ilogb_test): Likewise.
17084 (lgamma_test): Likewise.
17085 (pow_test): Likewise.
17086 (remainder_test): Likewise.
17087 (sin_test): Likewise.
17088 (tan_test): Likewise.
17089 (yn_test): Likewise.
17090 (initialize): Set errno to 0.
17091 (main): Print number of errno tests.
17092 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17093
b1a36ceb
AJ
170942013-04-29 Andreas Jaeger <aj@suse.de>
17095
c3ed8088
AJ
17096 [BZ #15084]
17097 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17098 and RES_USEVC.
17099
f1a24198
AJ
17100 [BZ #15085]
17101 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17102 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17103 unimplemented.
17104
9ce3b2cb
AJ
17105 [BZ #15380]
17106 * stdlib/random.c (__initstate): Return NULL if
17107 __initstate fails.
17108
f1a24198 17109 [BZ #15086]
b1a36ceb
AJ
17110 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17111 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17112 RES_SNGLKUPREOP.
17113
7e7b6f36
AZ
171142013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17115
17116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17117
4d14f449
JM
171182013-04-29 Joseph Myers <joseph@codesourcery.com>
17119
17120 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17121 of individual tests.
17122 (casin_test): Likewise.
17123 (casinh_test): Likewise.
17124
5b4217d7
JM
171252013-04-27 Joseph Myers <joseph@codesourcery.com>
17126
17127 [BZ #15409]
17128 * math/s_catan.c (__catan): Handle arguments with large real or
17129 imaginary part separately without squaring.
17130 * math/s_catanf.c (__catanf): Likewise.
17131 * math/s_catanh.c (__catanh): Likewise.
17132 * math/s_catanhf.c (__catanhf): Likewise.
17133 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17134 and redefine.
17135 (__catanhl): Handle arguments with large real or imaginary part
17136 separately without squaring.
17137 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17138 and redefine.
17139 (__catanl): Handle arguments with large real or imaginary part
17140 separately without squaring.
17141 * math/libm-test.inc (catan_test): Add more tests.
17142 (catanh_test): Likewise.
17143 * sysdeps/i386/fpu/libm-test-ulps: Update.
17144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17145
4220c3ef
AJ
171462013-04-27 Andreas Jaeger <aj@suse.de>
17147
17148 [BZ #15007]
17149 * stdlib/stdlib.h: Update guards for qecvt.
17150 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17151 <stdlib.h>.
17152
4721b2d1
AM
171532013-04-27 Allan McRae <allan@archlinux.org>
17154
17155 * sysdeps/i386/fpu/libm-test-ulps: Update.
17156
f0302940
JM
171572013-04-26 Joseph Myers <joseph@codesourcery.com>
17158
9457fd95
JM
17159 [BZ #15406]
17160 * math/s_catan.c: Include <float.h>.
17161 (__catan): Ensure underflow exception occurs for underflowed
17162 result.
17163 * math/s_catanf.c: Include <float.h>.
17164 (__catanf): Ensure underflow exception occurs for underflowed
17165 result.
17166 * math/s_catanh.c: Include <float.h>.
17167 (__catanh): Ensure underflow exception occurs for underflowed
17168 result.
17169 * math/s_catanhf.c: Include <float.h>.
17170 (__catanhf): Ensure underflow exception occurs for underflowed
17171 result.
17172 * math/s_catanhl.c: Include <float.h>.
17173 (__catanhl): Ensure underflow exception occurs for underflowed
17174 result.
17175 * math/s_catanl.c: Include <float.h>.
17176 (__catanl): Ensure underflow exception occurs for underflowed
17177 result.
17178 * math/libm-test.inc (catan_test): Add more tests.
17179 (catanh_test): Likewise.
17180
f0302940
JM
17181 [BZ #15405]
17182 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17183 underflowed result.
17184 * math/s_ccoshf.c (__ccoshf): Likewise.
17185 * math/s_ccoshl.c (__ccoshl): Likewise.
17186 * math/s_csin.c (__csin): Likewise.
17187 * math/s_csinf.c (__csinf): Likewise.
17188 * math/s_csinh.c (__csinh): Likewise.
17189 * math/s_csinhf.c (__csinhf): Likewise.
17190 * math/s_csinhl.c (__csinhl): Likewise.
17191 * math/s_csinl.c (__csinl): Likewise.
17192 * math/libm-test.inc (ccos_test): Add more tests.
17193 (ccosh_test): Likewise.
17194 (csin_test): Likewise.
17195 (csinh_test): Likewise.
17196
aa630f59
AZ
171972013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17198
17199 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17200 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17201 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17202 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17203 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17204 powerpc/power5+/fpu folders.
17205 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17206
17207
1b835983
MT
172082013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17209
17210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17211
73709b26
JM
172122013-04-25 Joseph Myers <joseph@codesourcery.com>
17213
17214 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17215 additions to variable.
17216 [$(config-machine) = x86_64] (modules-names): Likewise.
17217 ($(objpfx)tst-audit3): Remove dependency.
17218 ($(objpfx)tst-audit3.out): Likewise.
17219 ($(objpfx)tst-audit4): Likewise.
17220 ($(objpfx)tst-audit4.out): Likewise.
17221 ($(objpfx)tst-audit5): Likewise.
17222 ($(objpfx)tst-audit5.out): Likewise.
17223 ($(objpfx)tst-audit6): Likewise.
17224 ($(objpfx)tst-audit6.out): Likewise.
17225 ($(objpfx)tst-audit7): Likewise.
17226 ($(objpfx)tst-audit7.out): Likewise.
17227 (tst-audit3-ENV): Remove variable.
17228 (tst-audit4-ENV): Likewise.
17229 (tst-audit5-ENV): Likewise.
17230 (tst-audit6-ENV): Likewise.
17231 (tst-audit7-ENV): Likewise.
17232 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17233 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17234 addition to variable.
17235 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17236 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17237 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17238 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17239 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17240 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17241 tst-audit3, tst-audit4 and tst-audit5.
17242 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17243 tst-audit6 and tst-audit7.
17244 [$(subdir) = elf] (modules-names): Add audit modules for those
17245 tests.
17246 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17247 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17248 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17249 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17250 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17251 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17252 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17253 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17254 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17255 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17256 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17257 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17258 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17259 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17260 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17261 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17262 Likewise.
17263 [$(subdir) = elf && $(config-cflags-avx) = yes]
17264 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17265 [$(subdir) = elf && $(config-cflags-avx) = yes]
17266 (CFLAGS-tst-auditmod4a.c): Likewise.
17267 [$(subdir) = elf && $(config-cflags-avx) = yes]
17268 (CFLAGS-tst-auditmod4b.c): Likewise.
17269 [$(subdir) = elf && $(config-cflags-avx) = yes]
17270 (CFLAGS-tst-auditmod6b.c): Likewise.
17271 [$(subdir) = elf && $(config-cflags-avx) = yes]
17272 (CFLAGS-tst-auditmod6c.c): Likewise.
17273 [$(subdir) = elf && $(config-cflags-avx) = yes]
17274 (CFLAGS-tst-auditmod7b.c): Likewise.
17275 * elf/tst-audit3.c: Move to ...
17276 * sysdeps/x86_64/tst-audit3.c: ... here.
17277 * elf/tst-audit4.c: Move to ...
17278 * sysdeps/x86_64/tst-audit4.c: ... here.
17279 * elf/tst-audit5.c: Move to ...
17280 * sysdeps/x86_64/tst-audit5.c: ... here.
17281 * elf/tst-audit6.c: Move to ...
17282 * sysdeps/x86_64/tst-audit6.c: ... here.
17283 * elf/tst-audit7.c: Move to ...
17284 * sysdeps/x86_64/tst-audit7.c: ... here.
17285 * elf/tst-auditmod3a.c: Move to ...
17286 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17287 * elf/tst-auditmod3b.c: Move to ...
17288 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17289 * elf/tst-auditmod4a.c: Move to ...
17290 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17291 * elf/tst-auditmod4b.c: Move to ...
17292 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17293 * elf/tst-auditmod5a.c: Move to ...
17294 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17295 * elf/tst-auditmod5b.c: Move to ...
17296 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17297 * elf/tst-auditmod6a.c: Move to ...
17298 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17299 * elf/tst-auditmod6b.c: Move to ...
17300 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17301 * elf/tst-auditmod6c.c: Move to ...
17302 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17303 * elf/tst-auditmod7a.c: Move to ...
17304 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17305 * elf/tst-auditmod7b.c: Move to ...
17306 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17307
1ef74943
PP
173082013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17309
17310 [BZ #15366]
17311 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17312 define unconditionally.
17313 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17314 define unconditionally.
17315 (INT8_C, INT16_C, etc.): Likewise.
17316
93fd48c5
MR
173172013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17318
ae9552cf
MR
17319 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17320 __ehdr_start with hidden visibility.
17321
93fd48c5
MR
17322 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17323
418601aa
CD
173242013-04-24 Carlos O'Donell <carlos@redhat.com>
17325
17326 * math/libm-test.inc (cos_test): Use accurate hex constants.
17327 (sincost_test): Likewise.
17328
2f38fbfe
JM
173292013-04-24 Joseph Myers <joseph@codesourcery.com>
17330
5e221800
JM
17331 * math/libm-test.inc (catan_test): Add more tests.
17332 (catanh_test): Likewise.
17333
77f143fd
JM
17334 * math/s_catanf.c (__catanf): Use suffixed floating-point
17335 constants.
17336 * math/s_catanhf.c (__catanhf): Likewise.
17337 * math/s_catanhl.c (__catanhl): Likewise.
17338 * math/s_catanl.c (__catanl): Likewise.
17339
2f38fbfe
JM
17340 [BZ #15394]
17341 * math/s_catan.c (__catan): Calculate imaginary part of result
17342 with log1p not log unless computing log of number close to 0.
17343 * math/s_catanf.c (__catanf): Likewise.
17344 * math/s_catanl.c (__catanl): Likewise.
17345 * math/s_catanh.c (__catanh): Calculate real part of result with
17346 log1p not log unless computing log of number close to 0.
17347 * math/s_catanhf.c (__catanhf): Likewise.
17348 * math/s_catanhl.c (__catanhl): Likewise.
17349 * math/libm-test.inc (catan_test): Add more tests.
17350 (catanh_test): Likewise.
17351 * sysdeps/i386/fpu/libm-test-ulps: Update.
17352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17353
45d69176
SP
173542013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17355
17356 * benchtests/Makefile: Mention files in which fast and slow
17357 paths of math functions are implemented.
17358
87f51853
RM
173592013-04-23 Roland McGrath <roland@hack.frob.com>
17360
17361 * sysdeps/posix/timespec_get.c: New file.
17362
3c026539
AZ
173632013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17364
17365 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17366 POWER.
17367 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17368 for POWER.
17369 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17370 powerpc/power5/fpu folders.
17371 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17372 * benchtests/Makefile: Add modf testcase.
17373 * benchtests/bench-modf.c: New file: Benchmark test for mo
17374
ff491d14
SP
173752013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17376
17377 [BZ #14888]
17378 * time/Makefile (tests): Add tst-strptime-whitespace.
17379 * time/strptime_l.c (get_number): Use ISSPACE.
17380 (__strptime_internal): Likewise.
17381 * time/tst-strptime-whitespace.c: New test case.
17382
7ed3f4e8
AS
173832013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17384
17385 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17386 member.
17387 (_nss_files_init): Set it here.
17388
5c95f7b6
HC
173892013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17390
17391 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17392 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17393 unsigned.
17394
d34c9158
JBG
173952013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17396
17397 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17398
2169712d
SP
173992013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17400
17401 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17402 size just once.
17403
29c5de99
DM
174042013-04-21 David S. Miller <davem@davemloft.net>
17405
17406 * po/ru.po: Update Russion translation from translation project.
17407
ccdad15d
AC
174082013-04-17 Adam Conrad <adconrad@0c3.net>
17409
17410 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17411 and setfsgid.
17412
0f122b8d
CD
174132013-04-17 Carlos O'Donell <carlos@redhat.com>
17414
5c5b07da 17415 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17416 * configure: Regenerate.
5c5b07da 17417 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17418 Add example to error message.
17419 * sysdeps/i386/configure: Regenerate.
17420
037714dd
SP
174212013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17422
17423 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17424 slowtan.
17425 * benchtests/cos-inputs: New file.
17426 * benchtests/slowcos-inputs: New file.
17427 * benchtests/slowcos.c: New file.
17428 * benchtests/slowtan-inputs: New file.
17429 * benchtests/slowtan.c: New file.
17430 * benchtests/tan-inputs: New file.
17431
e913141d
RM
174322013-04-16 Roland McGrath <roland@hack.frob.com>
17433
17434 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17435 considered kosher.
17436
a2964074
SP
174372013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17438
4856bcd2
SP
17439 * benchtests/Makefile: Include cppflags-iterator.mk to add
17440 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17441
a2964074
SP
17442 * Makefile.in (bench-clean): New target.
17443 * benchtests/Makefile (bench-clean): Likewise.
17444
9fbf9aca
DH
174452013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17446
17447 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17448
207d1e2a
TS
174492013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17450
17451 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17452
306dfba9
AS
174532013-04-15 Andreas Schwab <schwab@suse.de>
17454
17455 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17456 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17457 * nscd/pwdcache.c (cache_addpw): Likewise.
17458 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17459 more than recsize.
17460
206a6699
SP
174612013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17462
17463 * benchtests/Makefile (bench): Write all output to
17464 bench-out.tmp together.
17465
0582f6b3
AS
174662013-04-15 Andreas Schwab <schwab@suse.de>
17467
17468 * nscd/nscd.c (main): Don't fork again after closing files.
17469
acb4325f
SP
174702013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17471
5cb26d0a
SP
17472 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17473
acb4325f
SP
17474 * benchtests/Rules (bench-deps): Collect dependencies into a
17475 single variable. Add Makefile to dependencies.
17476 ($(objpfx)bench-%.c): Depend on bench-deps.
17477
47792506
RM
174782013-04-12 Roland McGrath <roland@hack.frob.com>
17479 Xavier Roche <roche+kml2@exalead.com>
17480
17481 [BZ #15361]
17482 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17483 just that it's a file descriptor.
17484 * manual/llio.texi (Synchronizing AIO Operations): Update description
17485 for EBADF error from aio_fsync.
17486
8fc1bee5
SP
174872013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17488
17489 * Rules (bench): Move target definition...
17490 * benchtests/Makefile: ... here.
17491
aba5e333
CD
174922013-04-11 Carlos O'Donell <carlos@redhat.com>
17493
17494 * math/libm-test.inc (cos_test): Fix PI/2 test.
17495 (sincos_test): Likewise.
17496 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17497 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17498
273cdee8
AS
174992013-04-11 Andreas Schwab <schwab@suse.de>
17500
6ecec3b6
AS
17501 [BZ #13988]
17502 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17503 accept exponent character only when digits were seen.
17504 * stdio-common/Makefile (tests): Add bug26.
17505 * stdio-common/bug26.c: New file.
17506
273cdee8
AS
17507 [BZ #14293]
17508 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17509 non-freeable.
17510
8da491f5
SP
175112013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17512
01dc6df9
SP
17513 * Makeconfig (rtld-prefix): Define built linker prefix.
17514 * Rules (run-bench): Use it.
17515 * math/Makefile (run-regen-ulps): Likewise.
17516
8da491f5
SP
17517 * Rules (bench): Remove eval.
17518
abe7f530
SP
175192013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17520 Roland McGrath <roland@hack.frob.com>
17521 Ondrej Bilka <neleai@seznam.cz>
17522
17523 [BZ #15346]
17524 * time/getdate.c: Include ctype.h and alloca.h.
17525 (__getdate_r): Trim leading and trailing spaces of input.
17526 * time/tst-getdate.c (tests): Add tests with leading and
17527 trailing spaces.
17528
61c23e62
RM
175292013-04-08 Roland McGrath <roland@hack.frob.com>
17530
17531 [BZ #14280]
17532 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17533 when computing value.
17534
7208a313
CD
175352013-04-06 Carlos O'Donell <carlos@redhat.com>
17536
085b2d41
CD
17537 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17538 Use testrun.sh to run libm tests.
17539
7208a313
CD
17540 [BZ #15309]
17541 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17542
872c0acd
MM
175432013-04-06 Marko Myllynen <myllynen@redhat.com>
17544
17545 [BZ #15264]
17546 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17547
26510bdd
CD
175482013-04-06 Carlos O'Donell <carlos@redhat.com>
17549
17550 * Makefile.in (regen-ulps): New target.
17551 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17552 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17553 [ifneq (no,$(PERL)] (regen-ulps): New target.
17554 [ifeq (no,$(PERL)] (regen-ulps): New target.
17555 * math/libm-test.inc (ulps_file_name): Define.
17556 (output_dir): New variable.
17557 (options): Add "output-dir" option.
17558 (parse_opt): Handle 'o' case.
17559 (main): If output_dir is non-NULL use it as a prefix
17560 otherwise use "".
17561 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17562
a01f19c8
CD
175632013-04-06 Carlos O'Donell <carlos@redhat.com>
17564
17565 [BZ #10060, #10062]
17566 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17567 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17568 fail configure if __sync_val_compare_and_swap is not inlined.
17569 * sysdeps/i386/configure: Regenerate.
17570 * configure.in: Build for i686 when configured for i386.
17571 * configure: Regenerate.
17572 * README: Remove i386 reference.
17573
b7a329a5
CD
175742013-04-06 Carlos O'Donell <carlos@redhat.com>
17575
17576 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17577 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17578
bf0f50df
TS
175792013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17580
ee091edf
TS
17581 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17582 (lmsnanval): New variables.
17583 (F): Add conversion tests.
17584 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17585 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17586
a8b792d6
TS
17587 * stdio-common/tstdiomisc.c (F): Properly collect individual
17588 tests' results.
17589
a1cbf437
TS
17590 [BZ #14686, #15336]
17591 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17592 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17593 Instead, use input NaN values or generate a qNaN by arithmetic
17594 operation. Also fix bugs to comply with the standard.
17595 * math/libm-test.inc (remainder_test): Add more tests.
17596
8b43a0c9
TS
17597 [BZ #15335, #15342]
17598 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17599 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17600 input NaN values or generate a qNaN by arithmetic operation.
17601
d91da4ce
TS
17602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17603 unreachable code.
17604
bf0f50df
TS
17605 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17606 definitions.
17607
05e166c8
JM
176082013-04-03 Joseph Myers <joseph@codesourcery.com>
17609
17610 [BZ #14478]
17611 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17612 underflowed result.
17613 * math/s_cexpf.c (__cexpf): Likewise.
17614 * math/s_cexpl.c (__cexpl): Likewise.
17615 * math/libm-test.inc (cexp_test): Add more tests.
17616
1cef1b19
AS
176172013-04-03 Andreas Schwab <schwab@suse.de>
17618
17619 [BZ #15330]
17620 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17621 order arrays from heap if bigger than alloca cutoff.
17622
74d87055
TS
176232013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17624
17625 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17626 (SNAN_TESTS_double): Refer to GCC PR56831.
17627 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17628 GCC PR56828.
17629
d755bba4
SP
176302013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17631
90d5d5bb
SP
17632 * Rules (bench): Move bench.out after the run is complete.
17633
73e0cd5d
SP
17634 * Rules (bench): Echo currently running benchmark.
17635
64aabd4b
SP
17636 * benchtests/Makefile (bench): Add atan and slowatan.
17637 * benchtests/atan-inputs: New file.
17638 * benchtests/slowatan-inputs: New file.
17639 * benchtests/slowatan.c: New file.
17640
c871eccd
SP
17641 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17642 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17643 its value.
17644
d755bba4
SP
17645 [BZ #15305]
17646 * sysdeps/unix/sysv/linux/kernel-features.h
17647 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17648 __ASSUME_XFS_RESTRICTED_CHOWN.
17649 * sysdeps/unix/sysv/linux/pathconf.c
17650 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17651 Save and restore errno.
17652
52ce4860
JM
176532013-04-02 Joseph Myers <joseph@codesourcery.com>
17654
17655 [BZ #15327]
17656 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17657 arguments using __kernel_casinh.
17658 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17659 arguments using __kernel_casinhf.
17660 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17661 arguments using __kernel_casinhl.
17662 * math/libm-test.inc (cacosh_test): Add more tests.
17663 * sysdeps/i386/fpu/libm-test-ulps: Update.
17664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17665
81f311c2
SP
176662013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17667
e7906a47
SP
17668 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17670
92e3664b
SP
17671 * bench/Makefile (bench): Add sin and slowsin.
17672 * benchtests/sin-inputs: New file.
17673 * benchtests/slowsin-inputs: New file.
17674 * benchtests/slowsin.c: New file.
17675
81f311c2
SP
17676 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17677 (bench): Add slowexp and slowpow.
17678 (exp-ITER): Increase iterations.
17679 (pow-ITER): Likewise.
17680 * benchtests/exp-inputs: Change input.
17681 * benchtests/pow-inputs: Likewise.
17682 * benchtests/slowexp-inputs: New file.
17683 * benchtests/slowexp.c: New file.
17684 * benchtests/slowpow-inputs: New file.
17685 * benchtests/slowpow.c: New file.
17686
ab0f1aa9
AZ
176872013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17688
17689 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17690 instructions.
17691 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17692 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17693 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17694 * benchtests/Makefile: Add rint benchtest.
17695 * benchtests/rint-inputs: Input for rint benchtest.
17696
57267616
TS
176972013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17698
17699 * Versions.def (libm): Add GLIBC_2.18.
17700 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17701 hidden libm prototypes.
17702 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17703 * math/Makefile (libm-calls): Add s_issignaling.
17704 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17705 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17706 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17707 declaration.
17708 * math/math.h [__USE_GNU] (issignaling): New macro.
17709 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17710 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17711 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17712 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17714 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17715 * manual/arith.texi (issignaling): New section.
17716 * manual/libm-err-tab.pl (@all_functions): Update comment.
17717 * math/gen-libm-test.pl (parse_args): Apply special handling for
17718 issignaling.
17719 * math/libm-test.inc (print_float, issignaling_test): New
17720 functions.
17721 (check_float_internal): Add issignaling checks.
17722 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17723 default definition.
17724 * sysdeps/powerpc/math-tests.h: New file.
17725 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17726 tests.
17727 * math/test-snan.c (TEST_FUNC): Likewise.
17728
6142896d
DM
177292013-03-30 David S. Miller <davem@davemloft.net>
17730
17731 * po/de.po: Update from translation team.
17732
ccc8cadf
JM
177332013-03-30 Joseph Myers <joseph@codesourcery.com>
17734
17735 [BZ #10357]
17736 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17737 imaginary part less than 1.0 and real part less than 0.5
17738 specially.
17739 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17740 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17741 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17742 (cacos_test): Add more tests.
17743 (casin_test): Likewise.
17744 (casinh_test): Likewise.
17745 * sysdeps/i386/fpu/libm-test-ulps: Update.
17746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17747
0f6a8d4b
SP
177482013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17749
0d1029de
SP
17750 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17751 ONE with its value.
17752
c2d94018
SP
17753 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17754 (__pow_mp): Replace ONE and MONE with their values.
17755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17756 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17757 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17758 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17759 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17760 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17761
27ec37f1
SP
17762 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17763
a64d7e0e
SP
17764 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17765 (__pow_mp): Replace ZERO and MZERO with their values.
17766 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17767 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17768 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17769 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17770 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17771 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17772 (__sqr): Likewise.
17773
d26dd3eb
SP
17774 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17775
0f6a8d4b
SP
17776 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17777
e57b0c61
RM
177782013-03-28 Roland McGrath <roland@hack.frob.com>
17779
17780 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17781 Declare with __attribute__ ((weak)).
17782 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17783 Call __call_tls_dtors only if it's not NULL.
17784
356b3480
RM
177852013-03-28 Roland McGrath <roland@hack.frob.com>
17786
288f7d79
RM
17787 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17788 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17789 magic __ehdr_start linker symbol if it's defined.
17790 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17791 them up here if it was already done.
17792
dc0a0263
RM
17793 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17794 (_dl_aux_init): Use const in cast when setting it.
17795 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17796 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17797 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17798
3d3436ae
RM
17799 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17800 Declare them here.
17801 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17802 * csu/libc-tls.c: Nor here.
17803 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17804
356b3480
RM
17805 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17806 (__libc_message): Never call vsyslog.
17807
b0f1246a
AM
178082013-03-28 Alan Modra <amodra@gmail.com>
17809
17810 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17811 Define as empty.
17812 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17813 Likewise.
17814
fbbe2b9a
AZ
178152013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17816
17817 [BZ #15214]
17818 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17819 underflow.
17820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17821
1728ab37
SP
178222013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17823
7a86be6e
SP
17824 [BZ #15304]
17825 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17826 Don't add gid passed as argument.
17827
1728ab37
SP
17828 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17829
3a7182a1
JM
178302013-03-27 Joseph Myers <joseph@codesourcery.com>
17831
17832 [BZ #15307]
17833 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17834 imaginary part between 1.0 and 1.5 and real part less than 0.5
17835 specially.
17836 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17837 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17838 * math/libm-test.inc (cacos_test): Add more tests.
17839 (casin_test): Likewise.
17840 (casinh_test): Likewise.
17841 * sysdeps/i386/fpu/libm-test-ulps: Update.
17842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17843
6f2e90e7
SP
178442013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17845
5739f705
SP
17846 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17847 constants.
17848 (norm): Likewise.
17849 (denorm): Likewise.
17850 (__dbl_mp): Likewise.
17851 (add_magnitudes): Likewise.
17852 (sub_magnitudes): Likewise.
17853 (__add): Likewise.
17854 (__sub): Likewise.
17855 (__mul): Likewise.
17856 (__sqr): Likewise.
17857 (__inv): Likewise.
17858 (__dvd): Likewise.
17859
e375e83d
SP
17860 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17861 commented code.
17862 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17863 (__dubcos): Likewise.
17864 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17865 (__ieee754_acos): Likewise.
17866 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17867 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17868 (__exp1): Likewise.
17869 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17870 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17871 (log1): Likewise.
17872 (my_log2): Likewise.
17873 (checkint): Likewise.
17874 * sysdeps/ieee754/dbl-64/e_remainder.c
17875 (__ieee754_remainder): Likewise.
17876 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17877 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17878 (bsloww): Likewise.
17879 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17880
6f2e90e7
SP
17881 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17882 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17883 MANTISSA_STORE_T to store computations on mantissa. Use
17884 macros for rounding and division.
17885 (denorm): Likewise.
17886 (__dbl_mp): Likewise.
17887 (add_magnitudes): Likewise.
17888 (sub_magnitudes): Likewise.
17889 (__mul): Likewise.
17890 (__sqr): Likewise.
17891 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17892 powers of two in terms of TWOPOW macro.
17893 (mp_no): Make type of mantissa as MANTISSA_T.
17894 [!RADIXI]: Define RADIXI.
17895 [!TWO52]: Define TWO52.
17896 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17897
fce14d4e
AZ
178982013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17899
17900 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17901 llroundl symbol when building for PPC32.
17902
9ad027fb
MW
179032013-03-24 Mark H Weaver <mhw@netris.org>
17904
17905 * manual/arith.texi (Normalization Functions): Fix prototypes for
17906 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17907
e42a38dd
AZ
179082013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17909
17910 [BZ #13889]
17911 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17912 high value to check if expl overflow.
17913 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17914 to check for underflow and overflow.
17915 * math/libm-test.inc: Add exp test.
17916
2e0fb521
DL
179172013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17918
17919 [BZ #11120]
17920 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17921 with NOT_IN_libc.
17922
b5784d95
AZ
179232013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17924
17925 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17926 symbol.
17927
5aa4a1a1
TS
179282013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17929
bdef0be7
TS
17930 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17931 wrap blocks consisting of several statements.
17932
5aa4a1a1
TS
17933 * sysdeps/generic/math-tests.h: New file.
17934 * sysdeps/i386/fpu/math-tests.h: Likewise.
17935 * math/test-snan.c: Include it.
17936 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17937
98c48fe5
JM
179382013-03-21 Joseph Myers <joseph@codesourcery.com>
17939
17940 [BZ #15285]
17941 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17942 (__ieee754_j0l): Do not improve calculations using cos of twice
17943 input for inputs above LDBL_MAX / 2.0L.
17944 (__ieee754_y0l): Likewise.
17945 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17946 (__ieee754_j1l): Do not improve calculations using cos of twice
17947 input for inputs above LDBL_MAX / 2.0L.
17948 (__ieee754_y1l): Likewise.
17949 * math/libm-test.inc (j0_test): Add another test.
17950 (j1_test): Likewise.
17951 (y0_test): Likewise.
17952 (y1_test): Likewise.
17953 * sysdeps/i386/fpu/libm-test-ulps: Update.
17954
3775a8bc
SP
179552013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17956
17957 * Rules ($(objpfx)bench-%.c): Include code from a C source
17958 file.
17959
0a1b2ae6
JM
179602013-03-21 Joseph Myers <joseph@codesourcery.com>
17961
17962 [BZ #15287]
17963 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17964 imaginary part 1.0 and real part less than 0.5 specially.
17965 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17966 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17967 * math/libm-test.inc (cacos_test): Add more tests.
17968 (casin_test): Likewise.
17969 (casinh_test): Likewise.
17970 * sysdeps/i386/fpu/libm-test-ulps: Update.
17971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17972
b33d4ce4
SP
179732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17974
17975 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17976 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17977
bef0b507
JM
179782013-03-20 Joseph Myers <joseph@codesourcery.com>
17979
17980 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17981 * config.make.in (config-cflags-sse4): Remove variable.
17982 (config-cflags-avx): Likewise.
17983 (config-cflags-sse2avx): Likewise.
17984 (config-cflags-novzeroupper): Likewise.
17985 (config-asflags-i686): Likewise.
17986 (have-mfma4): Likewise.
17987 (have-as-vis3): Likewise.
17988 (MIG): Likewise.
17989 * configure.in (MIG): Do not AC_SUBST.
17990 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17991 (libc_cv_cc_sse4): Do not AC_SUBST.
17992 (libc_cv_cc_avx): Likewise.
17993 (libc_cv_cc_sse2avx): Likewise.
17994 (libc_cv_cc_novzeroupper): Likewise.
17995 (libc_cv_cc_fma4): Likewise.
17996 (libc_cv_as_i686): Likewise.
17997 (libc_cv_sparc_as_vis3): Likewise.
17998 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17999 LIBC_CONFIG_VAR.
18000 (config-asflags-i686): Likewise.
18001 (config-cflags-avx): Likewise.
18002 (config-cflags-sse2avx): Likewise.
18003 (have-mfma4): Likewise.
18004 (config-cflags-novzeroupper): Likewise.
18005 * sysdeps/mach/configure.in (MIG): Likewise.
18006 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18007 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18008 LIBC_CONFIG_VAR.
18009 (config-cflags-avx): Likewise.
18010 (config-cflags-sse2avx): Likewise.
18011 (have-mfma4): Likewise.
18012 (config-cflags-novzeroupper): Likewise.
18013 * configure: Regenerated.
18014 * sysdeps/i386/configure: Likewise.
18015 * sysdeps/mach/configure: Likewise.
18016 * sysdeps/sparc/configure: Likewise.
18017 * sysdeps/x86_64/configure: Likewise.
18018
912cc4b3
RM
180192013-03-20 Roland McGrath <roland@hack.frob.com>
18020
18021 [BZ #14812]
18022 * locale/programs/localedef.c (options): Put N_ translation marker
18023 on argument names, not just descriptions.
18024
04eed2b0
MS
180252013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18026
18027 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18028
a065ceff
OB
180292013-03-20 Ondřej Bílka <neleai@seznam.cz>
18030
9bb2a810 18031 [BZ #14176]
a065ceff
OB
18032 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18033
a600e5ce
RM
180342013-03-19 Roland McGrath <roland@hack.frob.com>
18035
18036 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18037 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18038 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18039 [!BEFORE_ABORT] (before_abort): New function.
18040 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18041 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18042 (writev_for_fatal): New function.
18043 (WRITEV_FOR_FATAL): New macro; call that.
18044 (backtrace_and_maps): New function.
18045 (BEFORE_ABORT): New macro; call that.
18046 (struct str_list): Type removed.
18047 (__libc_message, __libc_fatal): Functions removed.
18048 Include <sysdeps/posix/libc_fatal.c> instead.
18049
6b18bea6
JM
180502013-03-19 Joseph Myers <joseph@codesourcery.com>
18051
18052 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18053 constants.
18054 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18055 double constants.
18056
aaa8cb4b
AS
180572013-03-19 Andreas Schwab <schwab@suse.de>
18058
44673770
AS
18059 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18060 * sysdeps/gnu/configure: Regenerate.
18061
aaa8cb4b
AS
18062 * configure.in: Substitute libc_cv_rtlddir.
18063 * configure: Regenerate.
18064 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18065 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18066 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18067 * elf/Makefile (install-others, CFLAGS-interp.c)
18068 (ldso_install, common-ldd-rewrite): Likewise.
18069 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18070 $(inst_slibdir)/$(rtld-installed-name).
18071 * scripts/rellns-sh: Add -p option.
18072 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18073 for source.
18074
d3cfc668
SP
180752013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18076
18077 * manual/nptl.texi: Renamed to ...
18078 * manual/threads.texi: ... this.
18079 * manual/Makefile (chapters): Update.
18080
0e2b9cdd
RM
180812013-03-18 Roland McGrath <roland@hack.frob.com>
18082
18083 [BZ #14812]
18084 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18085 on argument names, not just descriptions.
0e2b9cdd
RM
18086 * malloc/memusagestat.c (options): Likewise.
18087 * nss/getent.c (options): Likewise.
63270c24
RM
18088
180892013-03-18 Benno Schulenberg <bensberg@justemail.net>
18090
18091 [BZ #14812]
18092 * iconv/iconv_prog.c (options): Put N_ translation marker
18093 on argument names, not just descriptions.
18094 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 18095
b2e1393c
OB
180962013-03-18 Ondrej Bilka <neleai@seznam.cz>
18097
18098 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18099 implementation which is faster on all x86_64 architectures.
18100 Tested on AMD, Intel Nehalem, SNB, IVB.
18101 * sysdeps/x86_64/strnlen.S: Likewise.
18102
18103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18104 Remove all multiarch strlen and strnlen versions.
18105 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18106 Remove strlen and strnlen related parts.
18107
18108 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18109 Inline strlen part.
18110 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18111
18112 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18113 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18114 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18115 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18116 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18117 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18118
ec4ff04d
CD
181192013-03-17 Carlos O'Donell <carlos@redhat.com>
18120
18121 * manual/memory.texi (Malloc Tunable Parameters):
18122 Sort parameters alphabetically. Add comments for missing entries.
18123
cd18e90a
DM
181242013-03-17 David S. Miller <davem@davemloft.net>
18125
18126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18127
2a185d32
JM
181282013-03-16 Joseph Myers <joseph@codesourcery.com>
18129
d2f9799e
JM
18130 [BZ #15283]
18131 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18132 for arguments at most half maximum finite value.
18133 * math/libm-test.inc (j0_test): Add more tests.
18134 (j1_test): Likewise.
18135 (y0_test): Likewise.
18136 (y1_test): Likewise.
18137 * sysdeps/i386/fpu/libm-test-ulps: Update.
18138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18139
2a185d32
JM
18140 [BZ #14155]
18141 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18142 1 / x and functions P and Q for arguments above 0x1p256L.
18143 (__ieee754_y0l): Likewise.
18144 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18145 (__ieee754_y1l): Likewise.
18146 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18147 (j1_test): Likewise.
18148 (y0_test): Likewise.
18149 (y1_test): Likewise.
18150
6cbec759
TS
181512013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18152
18153 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18154 variable.
18155
bc16e260
RM
181562013-03-15 Roland McGrath <roland@hack.frob.com>
18157
aefc9b8c
RM
18158 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18159 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18160 zero since it's initialized to EXEC_PAGESIZE.
18161
bc16e260
RM
18162 * sysdeps/unix/sysv/linux/ldsodefs.h
18163 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18164 * sysdeps/generic/ldsodefs.h: ... here.
18165
a57da955
TS
181662013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18167
af00a34d
TS
18168 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18169
495ded2c
TS
18170 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18171 math/test-snan.c.
18172 * math/test-snan.c: Renamed from
18173 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18174 * math/Makefile (tests): Add test-snan.
18175 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18176 test-powerpc-snan.
18177
777b0332
TS
18178 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18179 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18180 functions.
18181 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18182 __builtin_nan family of functions.
18183 * math/libm-test.inc (initialize): Initialize qnan_value with
18184 __builtin_nan family of functions.
18185 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18186 Remove variables.
18187 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18188 Remove functions.
18189 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18190 storage class. Initialize qNaN_var and sNaN_var with
18191 __builtin_nan and __builtin_nans families of functions,
18192 respectively.
18193
64d063b8
TS
18194 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18195 (sqrt_test): Remove duplicate test with qNaN input.
18196 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18197 (round_test, signbit_test, significand_test): Note missing +/-Inf
18198 as well as qNaN tests.
18199
67e971f1
TS
18200 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18201 qNaN_var. Fix a few strings, too.
18202 * math/libm-test.inc (nan_value): Rename to qnan_value.
18203 * math/gen-libm-test.pl (%beautify): Adjust to that.
18204 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18205 * math/test-misc.c (main): Likewise.
18206 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18207 to __qnan_bytes, and __qnan_union, respectively.
18208 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18209 Likewise.
18210 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18211 and lqnanval, respectively.
18212 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18213 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18214 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18215 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18216
64487e12
TS
18217 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18218 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18219 doubles.
18220
e015e27b
TS
18221 * math/test-misc.c (main): Fix copy'n'pastos.
18222 * misc/tst-efgcvt.c (special): Likewise.
18223
a57da955
TS
18224 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18225 Remove declarations.
18226
1e380345
SP
182272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18228
18229 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18230 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18231 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18232 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18233
ef26eece
AZ
182342013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18235
18236 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18237 macro to return vdso values correctly in IFUNC implementations.
18238 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18239 Optimization by using IFUNC.
18240
8cfdb7e0
SP
182412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18242 Richard Henderson <rth@redhat.com>
18243 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18244
18245 * Makefile.in (bench): New target.
18246 * NEWS: Mention the benchmark framework.
18247 * Rules (bench): Likewise.
18248 (binaries-bench): Generate binaries for functions to
18249 benchmark.
18250 * benchtests/Makefile: New makefile for benchmark tests.
18251 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18252 programs.
18253 * benchtests/exp-inputs: New input file for EXP function.
18254 * benchtests/pow-inputs: New input file for POW function.
18255 * scripts/bench.pl: New script to generate source files for
18256 benchmark programs.
18257
bcda9880
SP
182582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18259
d22ca8cd
SP
18260 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18261 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18262 computations on mantissa. Use macros for rounding and
18263 division.
18264 (denorm): Likewise.
18265 (__dbl_mp): Likewise.
18266 (add_magnitudes): Likewise.
18267 (sub_magnitudes): Likewise.
18268 (__mul): Likewise.
18269 (__sqr): Likewise.
18270 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18271 powers of two in terms of TWOPOW macro.
18272 (mp_no): Make type of mantissa as MANTISSA_T.
18273 [!RADIXI]: Define RADIXI.
18274 [!TWO52]: Define TWO52.
18275 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18276
bcda9880
SP
18277 * manual/nptl.texi (cindex): Modify threads to pthreads.
18278
06d5adfb
JM
182792013-03-15 Joseph Myers <joseph@codesourcery.com>
18280
18281 * sysdeps/x86_64/preconfigure: Regenerated.
18282
41c7328e
JM
182832013-03-14 Joseph Myers <joseph@codesourcery.com>
18284
18285 [BZ #14155]
18286 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18287 0x1p28 and above.
18288 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18289 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18290 0x1p28 and above.
18291 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18292 * math/libm-test.inc (j0_test): Do not allow one spurious
18293 underflow exception.
18294 (y1_test): Likewise.
18295
e25cfa60
SP
182962013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18297
0409959c
SP
18298 * manual/Makefile (chapters): Add nptl.
18299 * manual/debug.texi (Debugging Support): Add link to Threads
18300 chapter.
18301 * manual/nptl.texi: New file.
18302
e25cfa60
SP
18303 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18304
58a1335e
PB
183052013-03-14 Petr Baudis <pasky@ucw.cz>
18306
18307 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18308 for non-NULL pointer before the memory validity test. Pointed
18309 out by Holger Brunck <holger.brunck@keymile.com>.
18310
9dc7c64f
AS
183112013-03-13 Andreas Schwab <schwab@suse.de>
18312
18313 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18314 instead of .os.
18315
54206aa6
JM
183162013-03-13 Joseph Myers <joseph@codesourcery.com>
18317
18318 * timezone/zic.c: Update from tzcode 2013b.
18319
e98cdb38
CD
183202013-03-12 Carlos O'Donell <carlos@redhat.com>
18321
18322 * manual/install.texi (Configuring and compiling):
18323 Mention i686 and i586.
18324 * INSTALL: Regenerate.
18325
9967e003
RM
183262013-03-12 Roland McGrath <roland@hack.frob.com>
18327
18328 * sysdeps/init_array/elf-init.c: New file.
18329 * csu/elf-init.c
18330 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18331 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18332
18333 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18334 __gmon_start__ as global, but as static with a .preinit_array pointer.
18335 * sysdeps/init_array/gmon-start.c: New file. Use that.
18336 * sysdeps/init_array/crti.S: New file, empty except for comments.
18337 * sysdeps/init_array/crtn.S: Likewise.
18338
e6b5a293 183392013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
18340
18341 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18342 definining bcopy.
80f844c9
OB
18343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18344 Remove Prefer_SSE_for_memop.
18345 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18346 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18347 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
18348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18349 memset-x86-64.
80f844c9 18350 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 18351 Remove bzero, memset ifunc support.
80f844c9
OB
18352 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18353 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18354 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18355 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18356
fb6b0fcb
AS
183572013-03-11 Andreas Schwab <schwab@suse.de>
18358
18359 [BZ #15234]
18360 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18361 by SHLIB_COMPAT.
18362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18363 (GLIBC_2.16): Remove pthread_atfork.
18364
3e6bd4b1
PP
183652013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18366
18367 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18368 (ptestcases.h): Likewise.
18369
222d7f00
RM
183702013-03-08 Roland McGrath <roland@hack.frob.com>
18371
18372 * Makeconfig ($(common-objpfx)config.status): Depend on
18373 sysdeps/*/preconfigure{,.in} too.
18374
1ba4f030
JM
183752013-03-08 Joseph Myers <joseph@codesourcery.com>
18376
a222d91a
JM
18377 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18378 (__free_hook): Use void * instead of __malloc_ptr_t.
18379 (__malloc_hook): Likewise.
18380 (__realloc_hook): Likewise.
18381 (__memalign_hook): Likewise.
18382 (__after_morecore_hook): Likewise.
18383 * malloc/arena.c (save_malloc_hook): Likewise.
18384 (save_free_hook): Likewise.
18385 * malloc/hooks.c (malloc_hook_ini): Likewise.
18386 (realloc_hook_ini): Likewise.
18387 (memalign_hook_ini): Likewise.
18388 * malloc/malloc.c (malloc_hook_ini): Likewise.
18389 (realloc_hook_ini): Likewise.
18390 (memalign_hook_ini): Likewise.
18391 (__free_hook): Likewise.
18392 (__malloc_hook): Likewise.
18393 (__realloc_hook): Likewise.
18394 (__memalign_hook): Likewise.
18395 (__libc_malloc): Likewise.
18396 (__libc_free): Likewise.
18397 (__libc_realloc): Likewise.
18398 (__libc_memalign): Likewise.
18399 (__libc_valloc): Likewise.
18400 (__libc_pvalloc): Likewise.
18401 (__libc_calloc): Likewise.
18402 (__posix_memalign): Likewise.
18403 * malloc/morecore.c (__sbrk): Likewise.
18404 (__default_morecore): Likewise.
18405
5cc45e10
JM
18406 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18407
dd54b864
JM
18408 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18409 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18410 __malloc_ptrdiff_t.
18411
1ba4f030
JM
18412 * malloc/malloc.h (__malloc_size_t): Remove macro.
18413 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18414 __malloc_size_t.
18415 (old_memalign_hook): Likewise.
18416 (old_realloc_hook): Likewise.
18417 (struct hdr): Likewise.
18418 (flood): Likewise.
18419 (mallochook): Likewise.
18420 (memalignhook): Likewise.
18421 (reallochook): Likewise.
18422 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18423 (tr_old_realloc_hook): Likewise.
18424 (tr_old_memalign_hook): Likewise.
18425 (tr_mallochook): Likewise.
18426 (tr_reallochook): Likewise.
18427 (tr_memalignhook): Likewise.
18428
edf66e57
AZ
184292013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18430
18431 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18432 default_ldbl_pack and using as default implementation.
18433 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18434 implementation.
18435 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18436 redundant definition.
18437 (ldbl_insert_mantissa): Likewise.
18438 (ldbl_canonicalize): Likewise.
18439 (ldbl_nearbyint): Likewise.
18440 (ldbl_pack): Rename to ldbl_pack_ppc.
18441 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18442 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18443 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18444
6d9145d8
SP
184452013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18446
18447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18448 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18449 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18450 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18452 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18453 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18454 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18455
4dd4e157
AJ
184562013-03-07 Andreas Jaeger <aj@suse.de>
18457
18458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18459 bits/mman-linux.h.
18460
adbb8027
SP
184612013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18462
ce544b5b
SP
18463 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18464 Include mpa.h and declare __MPEXP.
18465 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18466 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18467 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18468 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18469 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18470 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18471 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18472
4cc149fd
SP
18473 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18474 (__slowpow): Use long double EXPL and LOGL functions to
18475 compute POW.
18476 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18477 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18478 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18479 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18480 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18481 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18482
e6ebd4a7
SP
18483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18484 intermediate variable to calculate exponent.
18485 (__sqr): Likewise.
18486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18487 Likewise.
18488 (__sqr): Likewise.
18489
82a9811d
SP
18490 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18491 [!NO__SQR]: Define __sqr.
18492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18493 and NO__SQR. Remove all code except __mul and __sqr. Include
18494 sysdeps/ieee754/dbl-64/mpa.c.
18495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18496
adbb8027
SP
18497 [BZ #12723]
18498 * posix/Makefile (tests): Add tst-pathconf.
18499 * posix/tst-pathconf.c: New test case.
18500 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18501 _PC_PIPE_BUF.
18502 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18503
39120df9
PF
185042013-03-06 Patsy Franklin <pfrankli@redhat.com>
18505
18506 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18507
67525cb8
AJ
185082013-03-06 Andreas Jaeger <aj@suse.de>
18509
664a9ce4
AJ
18510 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18511 definition via __MAP_ANONYMOUS.
18512
8e39047d
AJ
18513 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18514 it's not part of Linux headers.
18515
67525cb8
AJ
18516 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18517 (MAP_HUGE_MASK): Define.
18518
18519 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18520 Define.
18521 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18522 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18523 Define.
18524 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18525 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18526 Define.
18527 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18529 Define.
18530 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18531
18532 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18533 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18534 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18535 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18536 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18537 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18538
18539 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18540 Handle f2fs.
18541
18542 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18543 Handle f2fs and efivarfs.
18544
18545 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18546 f2fs.
18547
18548 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18549 (EFIVARFS_MAGIC): Add.
18550 (F2FS_LINK_MAX): Add.
18551
e1b42695
PP
185522013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18553
18554 * stdio-common/vfprintf.c: Replace __builtin_expect with
18555 __glibc_unlikely.
18556
2d67d91a
JM
185572013-03-06 Joseph Myers <joseph@codesourcery.com>
18558
18559 [BZ #13550]
18560 * sysdeps/generic/bp-sym.h: Remove file.
18561 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18562 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18563 <bp-sym.h> and <bp-asm.h>.
18564 (__longjmp): Don't use BP_SYM.
18565 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18566 and <bp-asm.h>.
18567 (memcpy): Don't use BP_SYM.
18568 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18569 <bp-sym.h> and <bp-asm.h>.
18570 (memcpy): Don't use BP_SYM.
18571 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18572 <bp-asm.h>.
18573 (memcpy): Don't use BP_SYM.
18574 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18575 <bp-asm.h>.
18576 (memset): Don't use BP_SYM.
18577 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18578 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18579 (__bzero): Don't use BP_SYM.
18580 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18581 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18582 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18583 <bp-sym.h> and <bp-asm.h>.
18584 (memcmp): Don't use BP_SYM. Remove comment about bounded
18585 pointers.
18586 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18587 <bp-sym.h> and <bp-asm.h>.
18588 (memcpy): Don't use BP_SYM.
18589 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18590 <bp-sym.h> and <bp-asm.h>.
18591 (memset): Don't use BP_SYM.
18592 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18593 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18594 (__bzero): Don't use BP_SYM.
18595 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18596 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18597 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18598 <bp-sym.h> and <bp-asm.h>.
18599 (strncmp): Don't use BP_SYM. Remove comment about bounded
18600 pointers.
18601 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18602 <bp-sym.h> and <bp-asm.h>.
18603 (memcpy): Don't use BP_SYM.
18604 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18605 <bp-sym.h> and <bp-asm.h>.
18606 (memset): Don't use BP_SYM.
18607 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18608 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18609 (__bzero): Don't use BP_SYM.
18610 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18611 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18612 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18613 <bp-sym.h> and <bp-asm.h>.
18614 (__memchr): Don't use BP_SYM.
18615 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18616 <bp-sym.h> and <bp-asm.h>.
18617 (memcmp): Don't use BP_SYM. Remove comment about bounded
18618 pointers.
18619 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18620 <bp-sym.h> and <bp-asm.h>.
18621 (memcpy): Don't use BP_SYM.
18622 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18623 <bp-sym.h> and <bp-asm.h>.
18624 (__mempcpy): Don't use BP_SYM.
18625 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18626 <bp-sym.h> and <bp-asm.h>.
18627 (__memrchr): Don't use BP_SYM.
18628 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18629 <bp-sym.h> and <bp-asm.h>.
18630 (memset): Don't use BP_SYM.
18631 (__bzero): Likewise.
18632 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18633 <bp-sym.h> and <bp-asm.h>.
18634 (__rawmemchr): Don't use BP_SYM.
18635 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18636 <bp-sym.h> and <bp-asm.h>.
18637 (__STRCMP): Don't use BP_SYM.
18638 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18639 <bp-sym.h> and <bp-asm.h>.
18640 (strchr): Don't use BP_SYM.
18641 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18642 <bp-sym.h> and <bp-asm.h>.
18643 (__strchrnul): Don't use BP_SYM.
18644 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18645 <bp-sym.h> and <bp-asm.h>.
18646 (strlen): Don't use BP_SYM.
18647 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18648 <bp-sym.h> and <bp-asm.h>.
18649 (strncmp): Don't use BP_SYM. Remove comment about bounded
18650 pointers.
18651 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18652 <bp-sym.h> and <bp-asm.h>.
18653 (__strnlen): Don't use BP_SYM.
18654 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18655 <bp-sym.h> and <bp-asm.h>.
18656 (__GI__setjmp): Don't use BP_SYM.
18657 (_setjmp): Likewise.
18658 (__sigsetjmp): Likewise.
18659 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18660 (L(start_addresses)): Don't use BP_SYM.
18661 (_start): Likewise.
18662 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18663 <bp-asm.h>.
18664 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18665 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18666 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18667 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18668 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18669 <bp-asm.h>.
18670 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18671 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18672 about bounded pointers.
18673 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18674 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18675 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18676 <bp-asm.h>.
18677 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18678 about bounded pointers. Remove GKM FIXME comments.
18679 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18680 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18681 <bp-asm.h>.
18682 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18683 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18684 Remove GKM FIXME comments.
18685 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18686 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18687 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18688 <bp-asm.h>.
18689 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18690 about bounded pointers. Remove GKM FIXME comment.
18691 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18692 and <bp-asm.h>.
18693 (strncmp): Don't use BP_SYM. Remove comment about bounded
18694 pointers.
18695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18696 <bp-sym.h> and <bp-asm.h>.
18697 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18699 <bp-sym.h> and <bp-asm.h>.
18700 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18701 comment.
18702
cdcf361f
PP
187032013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18704
18705 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18706 call free(NULL).
18707
3c4a2b15
DM
187082013-03-05 David S. Miller <davem@davemloft.net>
18709
18710 * po/es.po: Update from translation team.
18711
cdcf361f 187122013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
18713
18714 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18715 <bits/mman-linux.h>.
18716 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18717 is fine.
18718 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18719 <bits/mman-linux.h> to end of file.
18720 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18721 is fine.
18722 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18723 <bits/mman-linux.h> to end of file.
18724 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18725 is fine.
18726 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18727 <bits/mman-linux.h> to end of file.
18728
18729 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18730 (MCL_CURRENT, MCL_FUTURE): Define here.
18731
5f67c04f
AK
187322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18733
8a4473cc 18734 [BZ #15232]
5f67c04f
AK
18735 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18736 attribute_hidden.
18737 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18738
c3e94a95
AK
187392013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18740
18741 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18742 fourth parameter needed for rt_sigprocmask syscall.
18743 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18744 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18745 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18746 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18747 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18748 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18749
cfb6382a
JM
187502013-03-04 Joseph Myers <joseph@codesourcery.com>
18751
18752 [BZ #13550]
18753 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18754 comment about bounded pointers.
18755 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18756 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18757
539d8e01
AJ
187582013-03-04 Andreas Jaeger <aj@suse.de>
18759
18760 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18761 common definitions.
18762
18763 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18764 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18765 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18766 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18767 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18768 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18769
2e167a70 187702013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18771
18772 [BZ #15055]
18773 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18774 __ieee754_sqrl instead of __sqrl.
18775
68508633
JM
187762013-03-01 Joseph Myers <joseph@codesourcery.com>
18777
18778 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18779 * sysdeps/powerpc/fpu_control.h: ... here.
18780 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18781 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18782 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18783 * sysdeps/powerpc/bits/mathinline.h: ... here.
18784
7775448e
RM
187852013-03-01 Roland McGrath <roland@hack.frob.com>
18786
18787 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18788 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18789 to just [NEED_DL_SYSINFO_DSO].
18790 * elf/dl-support.c: Likewise.
18791 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18792 * elf/rtld.c (dl_main): Likewise.
18793 * elf/setup-vdso.h (setup_vdso): Likewise.
18794 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18795 * sysdeps/unix/sysv/linux/dl-sysdep.c
18796 (_dl_discover_osversion): Likewise.
18797
4e9b5995
CD
187982013-03-01 Carlos O'Donell <carlos@redhat.com>
18799
18800 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18801 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18802
e23872c8
SP
188032013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18804
e5c74c63
SP
18805 * NEWS: Mention libm performance improvements and non-x86 PI
18806 futex support.
18807
e23872c8
SP
18808 * csu/libc-start.c (__pthread_initialize_minimal): Change
18809 function arguments.
18810 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18811
b5510883
JM
188122013-02-28 Joseph Myers <joseph@codesourcery.com>
18813
18814 [BZ #13550]
18815 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18816 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18817 <bp-sym.h> and <bp-asm.h>.
18818 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18819 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18820 and <bp-asm.h>.
18821 (memcpy): Don't use BP_SYM.
18822 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18823 <bp-asm.h>.
18824 (__mpn_add_n): Don't use BP_SYM.
18825 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18826 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18827 and <bp-asm.h>.
18828 (__mpn_addmul_1): Don't use BP_SYM.
18829 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18830 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18831 <bp-sym.h>.
18832 (_setjmp): Don't use BP_SYM.
18833 (__novmx_setjmp): Likewise.
18834 (__GI__setjmp): Likewise.
18835 (__vmx_setjmp): Likewise.
18836 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18837 <bp-sym.h>.
18838 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18839 (__bzero): Don't use BP_SYM.
18840 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18841 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18842 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18843 <bp-sym.h> and <bp-asm.h>.
18844 (memcpy): Don't use BP_SYM.
18845 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18846 <bp-sym.h> and <bp-asm.h>.
18847 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18848 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18849 <bp-sym.h> and <bp-asm.h>.
18850 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18851 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18852 <bp-asm.h>.
18853 (__mpn_lshift): Don't use BP_SYM.
18854 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18855 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18856 <bp-asm.h>.
18857 (memset): Don't use BP_SYM.
18858 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18859 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18860 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18861 <bp-asm.h>.
18862 (__mpn_mul_1): Don't use BP_SYM.
18863 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18864 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18865 <bp-sym.h> and <bp-asm.h>.
18866 (memcmp): Don't use BP_SYM.
18867 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18868 <bp-sym.h> and <bp-asm.h>.
18869 (memcpy): Don't use BP_SYM.
18870 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18871 <bp-sym.h> and <bp-asm.h>.
18872 (memset): Don't use BP_SYM.
18873 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18874 <bp-sym.h> and <bp-asm.h>.
18875 (strncmp): Don't use BP_SYM.
18876 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18877 <bp-sym.h> and <bp-asm.h>.
18878 (memcpy): Don't use BP_SYM.
18879 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18880 <bp-sym.h> and <bp-asm.h>.
18881 (memset): Don't use BP_SYM.
18882 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18883 <bp-sym.h> and <bp-asm.h>.
18884 (__memchr): Don't use BP_SYM.
18885 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18886 <bp-sym.h> and <bp-asm.h>.
18887 (memcmp): Don't use BP_SYM.
18888 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18889 <bp-sym.h> and <bp-asm.h>.
18890 (memcpy): Don't use BP_SYM.
18891 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18892 <bp-sym.h> and <bp-asm.h>.
18893 (__mempcpy): Don't use BP_SYM.
18894 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18895 <bp-sym.h> and <bp-asm.h>.
18896 (__memrchr): Don't use BP_SYM.
18897 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18898 <bp-sym.h> and <bp-asm.h>.
18899 (memset): Don't use BP_SYM.
18900 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18901 <bp-sym.h> and <bp-asm.h>.
18902 (__rawmemchr): Don't use BP_SYM.
18903 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18904 <bp-sym.h> and <bp-asm.h>.
18905 (__STRCMP): Don't use BP_SYM.
18906 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18907 <bp-sym.h> and <bp-asm.h>.
18908 (strchr): Don't use BP_SYM.
18909 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18910 <bp-sym.h> and <bp-asm.h>.
18911 (__strchrnul): Don't use BP_SYM.
18912 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18913 <bp-sym.h> and <bp-asm.h>.
18914 (strlen): Don't use BP_SYM.
18915 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18916 <bp-sym.h> and <bp-asm.h>.
18917 (strncmp): Don't use BP_SYM.
18918 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18919 <bp-sym.h> and <bp-asm.h>.
18920 (__strnlen): Don't use BP_SYM.
18921 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18922 <bp-asm.h>.
18923 (__mpn_rshift): Don't use BP_SYM.
18924 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18925 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18926 <bp-sym.h> and <bp-asm.h>.
18927 (__sigsetjmp): Don't use BP_SYM.
18928 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18929 (L(start_addresses)): Don't use BP_SYM.
18930 (_start): Likewise.
18931 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18932 <bp-asm.h>.
18933 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18934 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18935 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18936 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18937 <bp-asm.h>.
18938 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18939 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18940 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18941 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18942 <bp-asm.h>.
18943 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18944 comments.
18945 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18946 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18947 <bp-asm.h>.
18948 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18949 FIXME comments.
18950 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18951 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18952 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18953 <bp-asm.h>.
18954 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18955 comment.
18956 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18957 and <bp-asm.h>.
18958 (strncmp): Don't use BP_SYM,
18959 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18960 <bp-asm.h>.
18961 (__mpn_sub_n): Don't use BP_SYM.
18962 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18963 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18964 and <bp-asm.h>.
18965 (__mpn_submul_1): Don't use BP_SYM.
18966 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18968 <bp-sym.h> and <bp-asm.h>.
18969 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18971 <bp-sym.h> and <bp-asm.h>.
18972 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18973 comment.
18974
8d19fe64
SP
189752013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18976
18977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18978 Use ZK to minimize writes to Z.
18979 (sub_magnitudes): Simplify code a bit.
18980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18981 Use ZK to minimize writes to Z.
18982 (sub_magnitudes): Simplify code a bit.
18983
85bd816a
RM
189842013-02-27 Roland McGrath <roland@hack.frob.com>
18985
18986 * csu/gmon-start.c: Add special exception to license text.
18987
b5977bf2
RH
189882013-02-27 Richard Henderson <rth@redhat.com>
18989
18990 * scripts/config.guess: Update from config.git.
18991 * scripts/config.sub: Likewise.
18992
11d6e2f2
SP
189932013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18994
09c14ed2
SP
18995 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18996
a688864e
SP
18997 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18998
6295157a
SP
18999 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19000
b8de2202
SP
19001 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19002
11d6e2f2
SP
19003 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19004
7e80ddb8
RM
190052013-02-26 Roland McGrath <roland@hack.frob.com>
19006
19007 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19008 [$(build-shared = yes].
7e80ddb8 19009
7da6d9ed
SP
190102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19011
45f05884
SP
19012 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19013 (__mul): Reduce iterations for calculating mantissa.
19014
2236d359
SP
19015 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19016 MPTWO.
19017 (__mpranred): Likewise.
19018
7da6d9ed
SP
19019 [BZ #15160]
19020 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19021 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19022
b7688c42
PE
190232013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19024
19025 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19026 Define __attribute__.
19027
53a5c423
SP
190282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19029
19030 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19031 unused.
19032 * posix/regex_internal.h (__attribute): Remove.
19033 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19034 (re_string_context_at): Likewise.
19035 (bitset_not): Use __attribute__ and mark function as possibly
19036 unused.
19037 (bitset_merge): Likewise.
19038 (bitset_mask): Likewise.
19039 (re_string_char_size_at): Likewise.
19040 (re_string_wchar_at): Likewise.
19041 (re_string_elem_size_at): Likewise.
19042
60f5a8b5
SP
190432013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19044
2a983a2e
SP
19045 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19046 code.
19047 (cc32): Likewise.
19048
e69804d1
SP
19049 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19050 (__acr): Likewise.
19051 (__cpy): Likewise.
19052 (norm): Likewise.
19053 (denorm): Likewise.
19054 (__dbl_mp): Likewise.
19055 (add_magnitudes): Likewise.
19056 (sub_magnitudes): Likewise.
19057 (__mul): Likewise.
19058 (__inv): Likewise.
19059
2f22a1e8
SP
19060 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19061 style.
19062
8930ddc7
SP
19063 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19064 style.
19065
dc60cb11
SP
19066 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19067 code.
19068
60f5a8b5
SP
19069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19070 up changes with default code.
19071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19072 Likewise.
19073
b4d1fd33
AM
190742013-02-24 Allan McRae <allan@archlinux.org>
19075
faf6f8bc
AM
19076 * manual/socket.texi (The Internet Namespace): Order menu items
19077 to match that in the file.
19078
b4d1fd33
AM
19079 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19080 node listing of the info page menu.
19081
2366713d
JM
190822013-02-21 Joseph Myers <joseph@codesourcery.com>
19083
19084 [BZ #13550]
19085 * sysdeps/i386/bp-asm.h: Remove file.
19086 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19087 (PARMS): Do not use macros from bp-asm.h.
19088 (S1): Likewise.
19089 (S2): Likewise.
19090 (SIZE): Likewise.
19091 (__mpn_add_n): Do not use BP_SYM
19092 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19093 "bp-asm.h".
19094 (PARMS): Do not use macros from bp-asm.h.
19095 (S1): Likewise.
19096 (SIZE): Likewise.
19097 (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
19104 "bp-asm.h".
19105 (PARMS): Do not use macros from bp-asm.h.
19106 (SIGMSK): Likewise.
19107 (setjmp): Likewise. Do not use BP_SYM.
19108 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19109 "bp-asm.h".
19110 (PARMS): Do not use macros from bp-asm.h.
19111 (__frexp): Do not use BP_SYM.
19112 (frexp): Likewise.
19113 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19114 "bp-asm.h".
19115 (PARMS): Do not use macros from bp-asm.h.
19116 (__frexpf): Do not use BP_SYM.
19117 (frexpf): Likewise.
19118 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19119 "bp-asm.h".
19120 (PARMS): Do not use macros from bp-asm.h.
19121 (__frexpl): Do not use BP_SYM.
19122 (frexpl): Likewise.
19123 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19124 "bp-asm.h".
19125 (PARMS): Do not use macros from bp-asm.h.
19126 (__remquo): Do not use BP_SYM.
19127 (remquo): Likewise.
19128 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19129 "bp-asm.h".
19130 (PARMS): Do not use macros from bp-asm.h.
19131 (__remquof): Do not use BP_SYM.
19132 (remquof): Likewise.
19133 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19134 "bp-asm.h".
19135 (PARMS): Do not use macros from bp-asm.h.
19136 (__remquol): Do not use BP_SYM.
19137 (remquol): Likewise.
19138 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19139 "bp-asm.h".
19140 (PARMS): Do not use macros from bp-asm.h.
19141 (DEST): Likewise.
19142 (SRC): Likewise.
19143 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19144 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19145 "bp-asm.h".
19146 (PARMS): Do not use macros from bp-asm.h.
19147 (strlen): Do not use BP_SYM.
19148 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19149 "bp-asm.h".
19150 (PARMS): Do not use macros from bp-asm.h.
19151 (S1): Likewise.
19152 (S2): Likewise.
19153 (SIZE): Likewise.
19154 (__mpn_add_n): Do not use BP_SYM.
19155 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19156 "bp-asm.h".
19157 (PARMS): Do not use macros from bp-asm.h.
19158 (S1): Likewise.
19159 (SIZE): Likewise.
19160 (__mpn_addmul_1): Do not use BP_SYM.
19161 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19162 weak_alias.
19163 (bzero): Likewise.
19164 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19165 "bp-asm.h".
19166 (PARMS): Do not use macros from bp-asm.h.
19167 (S): Likewise.
19168 (SIZE): Likewise.
19169 (__mpn_lshift): Do not use BP_SYM.
19170 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19171 "bp-asm.h".
19172 (PARMS): Do not use macros from bp-asm.h.
19173 (DEST): Likewise.
19174 (SRC): Likewise.
19175 (LEN): Likewise.
19176 (memcpy): Likewise. Do not use BP_SYM.
19177 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19178 libc_hidden_def and weak_alias.
19179 (mempcpy): Do not use BP_SYM in weak_alias.
19180 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19181 "bp-asm.h".
19182 (PARMS): Do not use macros from bp-asm.h.
19183 (DEST): Likewise.
19184 (LEN): Likewise.
19185 [!BZERO_P] (CHR): Likewise.
19186 (memset): Likewise. Do not use BP_SYM.
19187 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19188 "bp-asm.h".
19189 (PARMS): Do not use macros from bp-asm.h.
19190 (S1): Likewise.
19191 (SIZE): Likewise.
19192 (__mpn_mul_1): Do not use BP_SYM.
19193 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19194 "bp-asm.h".
19195 (PARMS): Do not use macros from bp-asm.h.
19196 (S): Likewise.
19197 (SIZE): Likewise.
19198 (__mpn_rshift): Do not use BP_SYM.
19199 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19200 "bp-asm.h".
19201 (PARMS): Do not use macros from bp-asm.h.
19202 (STR): Likewise.
19203 (CHR): Likewise.
19204 (strchr): Likewise. Do not use BP_SYM.
19205 (index): Do not use BP_SYM in weak_alias.
19206 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19207 "bp-asm.h".
19208 (PARMS): Do not use macros from bp-asm.h.
19209 (DEST): Likewise.
19210 (SRC): Likewise.
19211 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19212 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19213 "bp-asm.h".
19214 (PARMS): Do not use macros from bp-asm.h.
19215 (strlen): Do not use BP_SYM.
19216 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19217 "bp-asm.h".
19218 (PARMS): Do not use macros from bp-asm.h.
19219 (S1): Likewise.
19220 (S2): Likewise.
19221 (SIZE): Likewise.
19222 (__mpn_sub_n): Do not use BP_SYM.
19223 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19224 "bp-asm.h".
19225 (PARMS): Do not use macros from bp-asm.h.
19226 (S1): Likewise.
19227 (SIZE): Likewise.
19228 (__mpn_submul_1): Do not use BP_SYM.
19229 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19230 "bp-asm.h".
19231 (PARMS): Do not use macros from bp-asm.h.
19232 (S1): Likewise.
19233 (S2): Likewise.
19234 (SIZE): Likewise.
19235 (__mpn_add_n): Do not use BP_SYM.
19236 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19237 weak_alias.
19238 (bzero): Likewise.
19239 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19240 "bp-asm.h".
19241 (PARMS): Do not use macros from bp-asm.h.
19242 (BLK2): Likewise.
19243 (LEN): Likewise.
19244 (memcmp): Do not use BP_SYM.
19245 (bcmp): Do not use BP_SYM in weak_alias.
19246 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19247 "bp-asm.h".
19248 (PARMS): Do not use macros from bp-asm.h.
19249 (DEST): Likewise.
19250 (SRC): Likewise.
19251 (LEN): Likewise.
19252 (memcpy): Likewise. Do not use BP_SYM.
19253 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19254 "bp-asm.h".
19255 (PARMS): Do not use macros from bp-asm.h.
19256 (DEST): Likewise.
19257 (SRC): Likewise.
19258 (LEN): Likewise.
19259 (memmove): Likewise. Do not use BP_SYM.
19260 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19261 "bp-asm.h".
19262 (PARMS): Do not use macros from bp-asm.h.
19263 (DEST): Likewise.
19264 (SRC): Likewise.
19265 (LEN): Likewise.
19266 (__mempcpy): Likewise. Do not use BP_SYM.
19267 (mempcpy): Do not use BP_SYM in weak_alias.
19268 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19269 "bp-asm.h".
19270 (PARMS): Do not use macros from bp-asm.h.
19271 (DEST): Likewise.
19272 (LEN): Likewise.
19273 [!BZERO_P] (CHR): Likewise.
19274 (memset): Likewise. Do not use BP_SYM.
19275 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19276 "bp-asm.h".
19277 (PARMS): Do not use macros from bp-asm.h.
19278 (STR2): Likewise.
19279 (strcmp): Do not use BP_SYM.
19280 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19281 "bp-asm.h".
19282 (PARMS): Do not use macros from bp-asm.h.
19283 (STR): Likewise.
19284 (DELIM): Likewise.
19285 [USE_AS_STRTOK_R] (SAVE): Likewise.
19286 (FUNCTION): Likewise. Do not use BP_SYM.
19287 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19288 aliases.
19289 (strtok_r): Likewise.
19290 (__GI___strtok_r): Likewise.
19291 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19292 (PARMS): Do not use macros from bp-asm.h.
19293 (S): Likewise.
19294 (SIZE): Likewise.
19295 (__mpn_lshift): Do not use BP_SYM.
19296 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19297 (PARMS): Do not use macros from bp-asm.h.
19298 (STR): Likewise.
19299 (CHR): Likewise.
19300 (__memchr): Do not use BP_SYM.
19301 (memchr): Do not use BP_SYM in weak_alias.
19302 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19303 (PARMS): Do not use macros from bp-asm.h.
19304 (BLK2): Likewise.
19305 (LEN): Likewise.
19306 (memcmp): Do not use BP_SYM.
19307 (bcmp): Do not use BP_SYM in weak_alias.
19308 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19309 (PARMS): Do not use macros from bp-asm.h.
19310 (S1): Likewise.
19311 (SIZE): Likewise.
19312 (__mpn_mul_1): Do not use BP_SYM.
19313 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19314 "bp-asm.h".
19315 (PARMS): Do not use macros from bp-asm.h.
19316 (STR): Likewise.
19317 (CHR): Likewise.
19318 (__rawmemchr): Do not use BP_SYM.
19319 (rawmemchr): Do not use BP_SYM in weak_alias.
19320 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19321 (PARMS): Do not use macros from bp-asm.h.
19322 (S): Likewise.
19323 (SIZE): Likewise.
19324 (__mpn_rshift): Do not use BP_SYM.
19325 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19326 (PARMS): Do not use macros from bp-asm.h.
19327 (SIGMSK): Likewise.
19328 (__sigsetjmp): Likewise. Do not use BP_SYM.
19329 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19330 (_start): Do not use BP_SYM.
19331 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19332 (PARMS): Do not use macros from bp-asm.h.
19333 (DEST): Likewise.
19334 (SRC): Likewise.
19335 (__stpcpy): Likewise. Do not use BP_SYM.
19336 (stpcpy): Do not use BP_SYM in weak_alias.
19337 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19338 "bp-asm.h".
19339 (PARMS): Do not use macros from bp-asm.h.
19340 (DEST): Likewise.
19341 (SRC): Likewise.
19342 (LEN): Likewise.
19343 (__stpncpy): Likewise. Do not use BP_SYM.
19344 (stpncpy): Do not use BP_SYM in weak_alias.
19345 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19346 (PARMS): Do not use macros from bp-asm.h.
19347 (STR): Likewise.
19348 (CHR): Likewise.
19349 (strchr): Likewise. Do not use BP_SYM.
19350 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19351 "bp-asm.h".
19352 (PARMS): Do not use macros from bp-asm.h.
19353 (STR): Likewise.
19354 (CHR): Likewise.
19355 (__strchrnul): Likewise. Do not use BP_SYM.
19356 (strchrnul): Do not use BP_SYM in weak_alias.
19357 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19358 "bp-asm.h".
19359 (PARMS): Do not use macros from bp-asm.h.
19360 (STOP): Likewise.
19361 (strcspn): Do not use BP_SYM.
19362 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19363 "bp-asm.h".
19364 (PARMS): Do not use macros from bp-asm.h.
19365 (STR): Likewise.
19366 (STOP): Likewise.
19367 (strpbrk): Likewise. Do not use BP_SYM.
19368 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19369 "bp-asm.h".
19370 (PARMS): Do not use macros from bp-asm.h.
19371 (STR): Likewise.
19372 (CHR): Likewise.
19373 (strrchr): Likewise. Do not use BP_SYM.
19374 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19375 (PARMS): Do not use macros from bp-asm.h.
19376 (SKIP): Likewise.
19377 (strspn): Do not use BP_SYM.
19378 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19379 (PARMS): Do not use macros from bp-asm.h.
19380 (STR): Likewise.
19381 (DELIM): Likewise.
19382 (SAVE): Likewise.
19383 (FUNCTION): Likewise. Do not use BP_SYM.
19384 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19385 aliases.
19386 (strtok_r): Likewise.
19387 (__GI___strtok_r): Likewise.
19388 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19389 (PARMS): Do not use macros from bp-asm.h.
19390 (S1): Likewise.
19391 (S2): Likewise.
19392 (SIZE): Likewise.
19393 (__mpn_sub_n): Do not use BP_SYM.
19394 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19395 "bp-asm.h".
19396 (PARMS): Do not use macros from bp-asm.h.
19397 (S1): Likewise.
19398 (SIZE): Likewise.
19399 (__mpn_submul_1): Do not use BP_SYM.
19400 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19401 <bp-sym.h>.
19402 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19403 and <bp-asm.h>.
19404 (PARMS): Do not use macros from bp-asm.h.
19405 (FLAGS): Likewise.
19406 (PTID): Likewise.
19407 (TLS): Likewise.
19408 (CTID): Likewise.
19409 (__clone): Do not use BP_SYM.
19410 (clone): Do not use BP_SYM in weak_alias.
19411 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19412 and <bp-asm.h>.
19413 (PARMS): Do not use macros from bp-asm.h.
19414 (LEN): Likewise.
19415 (__mmap64): Do not use BP_SYM.
19416 (mmap64): Do not use BP_SYM in weak_alias.
19417 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19418 <bp-sym.h> and <bp-asm.h>.
19419 (PARMS): Do not use macros from bp-asm.h.
19420 (__posix_fadvise64_l64): Do not use BP_SYM.
19421 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19422 (PARMS): Do not use macros from bp-asm.h.
19423 (NSOPS): Likewise.
19424 (semtimedop): Do not use BP_SYM.
19425 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19426 and <bp-asm.h>.
19427
582a3cff
AM
194282013-02-21 Allan McRae <allan@archlinux.org>
19429
19430 * manual/message.texi (Charset conversion in gettext):
19431 Move @end statement to beginning of line.
19432
bab8a695
SP
194332013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19434
80945231
SP
19435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19436 static.
19437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19438 Likewise.
19439
bab8a695
SP
19440 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19441 (denorm): Likewise.
19442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19444
e21d7aa7
AK
194452013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19446
19447 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19448 tail-call to the resolved function if pltexit isn't needed.
19449
4c7a4263
SP
194502013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19451
19452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19453 or Y being zero as being unlikely.
19454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19455 Likewise.
19456
41f49342
CD
194572013-02-20 Carlos O'Donell <carlos@redhat.com>
19458
19459 * manual/nss.texi (System Databases and Name Service Switch):
19460 Remove frobnicate @pxref.
19461
50022a93
TS
194622013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19463
19464 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19465 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19466
08cbd996
PM
194672013-02-20 Petr Machata <pmachata@redhat.com>
19468
19469 * elf/elf.h (R_ARM_TARGET1): New macro.
19470 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19471 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19472 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19473 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19474 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19475 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19476 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19477 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19478 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19479 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19480 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19481 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19482 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19483 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19484 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19485 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19486 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19487 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19488 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19489 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19490 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19491 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19492 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19493 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19494 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19495 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19496 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19497 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19498 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19499 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19500 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19501 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19502 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19503 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19504 (R_ARM_THM_GOT_BREL12): Likewise.
19505 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19506 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19507 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19508 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19509 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19510 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19511 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19512 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19513 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19514
c7b275d6
TS
195152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19516
19517 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19518 __attribute_used__ to __attribute__ ((unused)).
19519
20cd7fb3
SP
195202013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19521
19522 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19523 powerpc mpa.c.
19524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19525 comment formatting.
19526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19527
92945b52
JM
195282013-02-19 Joseph Myers <joseph@codesourcery.com>
19529
19530 [BZ #13550]
19531 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19532 Remove macro.
19533 (ENTER): Remove both macro definitions.
19534 (LEAVE): Likewise.
19535 (CHECK_BOUNDS_LOW): Likewise.
19536 (CHECK_BOUNDS_HIGH): Likewise.
19537 (CHECK_BOUNDS_BOTH): Likewise.
19538 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19539 (RETURN_BOUNDED_POINTER): Likewise.
19540 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19541 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19542 (POP_ERRNO_LOCATION_RETURN): Likewise.
19543 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19544 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19545 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19546 macros.
19547 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19548 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19549 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19550 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19551 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19552 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19553 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19554 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19555 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19556 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19557 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19558 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19559 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19560 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19561 removed macros.
19562 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19563 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19564 macros.
19565 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19566 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19567 * sysdeps/i386/i586/memset.S (memset): Likewise.
19568 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19569 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19570 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19571 macros.
19572 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19573 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19574 Change uses of L(2) to L(out).
19575 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19576 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19577 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19578 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19579 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19580 removed macros.
19581 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19582 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19583 macros.
19584 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19585 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19586 (RETURN): Do not use macro LEAVE.
19587 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19588 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19589 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19590 * sysdeps/i386/i686/memset.S (memset): Likewise.
19591 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19592 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19593 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19594 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19595 Likewise.
19596 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19597 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19598 L(1_2) and L(1_3) into L(1).
19599 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19600 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19601 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19602 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19603 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19604 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19605 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19606 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19607 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19608 macros.
19609 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19610 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19611 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19612 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19613 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19614 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19615 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19616 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19617 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19618 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19619 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19620 * sysdeps/i386/strspn.S (strspn): Likewise.
19621 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19622 conditional code.
19623 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19624 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19625 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19626 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19627 L(1_3) into L(1_1).
19628 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19629 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19630 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19631 macros.
19632 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19633
2389741a
JJ
196342013-02-19 Jakub Jelinek <jakub@redhat.com>
19635
19636 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19637 macro.
19638
2016b3cd
SP
196392013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19640
e4f22324
SP
19641 * math/atest-exp.c (exp_mpn): Remove ROUND.
19642 * math/atest-exp2.c (exp_mpn): Likewise.
19643 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19644
2016b3cd
SP
19645 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19646 * stdlib/tst-tls-atexit-lib.c: Likewise.
19647 * stdlib/tst-tls-atexit.c: Likewise.
19648
4be9b544
MF
196492013-02-18 Mike Frysinger <vapier@gentoo.org>
19650
19651 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19652 and __attribute_alloc_size__.
19653
2f62b9ee
MF
196542013-02-18 Mike Frysinger <vapier@gentoo.org>
19655
19656 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19657 __attribute_alloc_size__.
19658 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19659 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19660
6ff444c4
MF
196612013-02-18 Mike Frysinger <vapier@gentoo.org>
19662
19663 * include/programs/xmalloc.h: New file.
19664 * catgets/gencat.c: Include it.
19665 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19666 * elf/pldd.c: Likewise.
19667 * iconv/iconv_charmap.c: Likewise.
19668 * iconv/iconvconfig.c: Likewise.
19669 * iconv/strtab.c: Likewise.
19670 * locale/programs/locale.c: Likewise.
19671 * locale/programs/localedef.h: Likewise.
19672 * locale/programs/simple-hash.c: Likewise.
19673 * nscd/nscd.h: Likewise.
19674 * nss/makedb.c: Likewise.
19675 * sysdeps/generic/ldconfig.h: Likewise.
19676
be179c8a
SP
196772013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19678
ba384f6e
SP
19679 * Versions.def: Add GLIBC_2.18.
19680 * include/link.h (struct link_map): New member l_tls_dtor_count.
19681 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19682 (__call_tls_dtors): Likewise.
19683 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19684 __cxa_thread_atexit_impl.
19685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19686 Likewise.
19687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19688 Likewise.
19689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19690 Likewise.
19691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19692 Likewise.
19693 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19695 Likewise.
19696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19697 Likewise.
19698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19700 Likewise.
19701 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19702 (tests): Add test case tst-tls-atexit.
19703 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19704 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19705 (GLIBC_PRIVATE): Add __call_tls_dtors.
19706 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19707 for libstdc++.
19708 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19709 * stdlib/tst-tls-atexit.c: New test case.
19710 * stdlib/tst-tls-atexit-lib.c: New test case.
19711
ffaa74cf 19712 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 19713
be179c8a
SP
19714 * elf/Versions (ld): Add _dl_find_dso_for_object.
19715 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19716 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19717 (dl_open_worker): Use _dl_find_dso_for_object.
19718 * elf/dl-sym.c (do_sym): Likewise.
19719 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19720
f78b5caa
AK
197212013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19722
19723 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19724 Syntactic changes only.
19725 (_dl_runtime_profile): Do a tail-call to the resolved function.
19726
29691210
JM
197272013-02-17 Joseph Myers <joseph@codesourcery.com>
19728
19729 [BZ #13550]
19730 * sysdeps/x86_64/bp-asm.h: Remove file.
19731 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19732 <bp-sym.h> and <bp-asm.h>.
19733 (__clone): Do not use BP_SYM.
19734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19735 <bp-sym.h> and <bp-asm.h>.
19736 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19737 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19738 "bp-asm.h".
19739 (_setjmp): Do not use BP_SYM.
19740 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19741 "bp-asm.h".
19742 (setjmp): Do not use BP_SYM.
19743 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19744 libc_hidden_def.
19745 (mempcpy): Do not use BP_SYM in weak_alias.
19746 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19747 "bp-asm.h".
19748 (strchr): Do not use BP_SYM.
19749 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19750 "bp-asm.h".
19751 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19752 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19753 (_start): Do not use BP_SYM.
19754 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19755 "bp-asm.h".
19756 (strcat): Do not use BP_SYM.
19757 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19758 "bp-asm.h".
19759 (STRCMP): Do not use BP_SYM.
19760 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19761 "bp-asm.h".
19762 (STRCPY): Do not use BP_SYM.
19763 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19764 "bp-asm.h".
19765 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19766 "bp-asm.h".
19767 (FUNCTION): Do not use BP_SYM.
19768 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19769 weak_alias.
19770 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19771
f238fd19
AJ
197722013-02-17 Andreas Jaeger <aj@suse.de>
19773
19774 * time/Versions: Sort entries.
19775 * string/Versions: Likewise.
19776 * resolv/Versions: Likewise.
19777 * posix/Versions: Likewise.
19778 * iconv/Versions: Likewise.
19779 * elf/Versions: Likewise.
19780 * wcsmbs/Versions: Likewise.
19781
bd07f23c 197822013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19783
22af19f9
SP
19784 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19785 loop termination condition.
19786
4709fe76
SP
19787 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19788 variable to calculate EZ.
19789 (__sqr): Likewise.
2d0e0f29
SP
19790
19791 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19792 the lower precision input.
19793
daaa7713
JM
197942013-02-15 Joseph Myers <joseph@codesourcery.com>
19795
19796 [BZ #13550]
19797 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19798 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19799 (run-via-rtld-prefix): Do not handle %-bp tests.
19800 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19801 (all-object-suffixes): Remove .ob.
19802 (bppfx): Remove variable.
19803 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19804 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19805 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19806 [$(build-bounded) = yes] (libtype.ob): Likewise.
19807 * Makerules (elide-routines.ob): Remove variable.
19808 (do-tests-clean): Do not handle *-bp.out.
19809 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19810 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19811 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19812 (tests): Do not include $(tests-bp.out).
19813 (xtests): Do not include $(xtests-bp.out).
19814 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19815 [$(build-bounded) = yes] ($(addprefix
19816 $(objpfx),$(binaries-bounded))): Remove rule.
19817 ($(objpfx)%-bp.out): Remove rule.
19818 * config.make.in (build-bounded): Remove variable.
19819 * crypt/Makefile [$(build-bounded) = yes]
19820 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19821 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19822 append to variable.
19823 [$(build-bounded) = yes] (install-lib): Likewise.
19824 [$(build-bounded) = yes] (generated): Likewise.
19825 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19826 Remove rule.
19827 * intl/Makefile [$(build-bounded) = yes]
19828 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19829 * math/Makefile [$(build-bounded) = yes]
19830 ($(tests:%=$(objpfx)%-bp): Likewise.
19831 * misc/Makefile [$(build-bounded) = yes]
19832 ($(objpfx)tst-tsearch-bp): Likewise.
19833 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19834 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19835 Remove dependency.
19836 * string/Makefile (o-objects.ob): Remove variable.
19837 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19838 (CFLAGS-.ob): Remove variable.
19839 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19840 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19841 both definitions of variable.
19842 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19843 (ASFLAGS-.ob): Remove variable.
19844
e97ed6dd
JM
198452013-02-14 Joseph Myers <joseph@codesourcery.com>
19846
2bdd4ca6
JM
19847 [BZ #13550]
19848 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19849 Remove __BOUNDED_POINTERS__ from condition.
19850 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19851 * string/bits/string2.h [!__NO_STRING_INLINES &&
19852 !__BOUNDED_POINTERS__]: Likewise.
19853 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19854 Likewise.
19855 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19856 Remove conditional code.
19857 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19858 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19859 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19860 condition.
19861
e97ed6dd
JM
19862 [BZ #13550]
19863 * csu/libc-start.c: Do not include <bp-sym.h>.
19864 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19865 * elf/dl-open.c: Do not include <bp-sym.h>.
19866 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19867 * math/fegetenv.c: Do not include <bp-sym.h>.
19868 (fegetenv): Do not use BP_SYM in versioned symbols.
19869 * nptl/sysdeps/pthread/bits/libc-lockP.h
19870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19871 <bp-sym.h>.
19872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19873 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19875 (__pthread_mutex_destroy): Likewise.
19876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19877 (__pthread_mutex_lock): Likewise.
19878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19879 (__pthread_mutex_trylock): Likewise.
19880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19881 (__pthread_mutex_unlock): Likewise.
19882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19883 (__pthread_mutexattr_init): Likewise.
19884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19885 (__pthread_mutexattr_destroy): Likewise.
19886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19887 (__pthread_mutexattr_settype): Likewise.
19888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19889 (__pthread_rwlock_init): Likewise.
19890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19891 (__pthread_rwlock_destroy): Likewise.
19892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19893 (__pthread_rwlock_rdlock): Likewise.
19894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19895 (__pthread_rwlock_tryrdlock): Likewise.
19896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19897 (__pthread_rwlock_wrlock): Likewise.
19898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19899 (__pthread_rwlock_trywrlock): Likewise.
19900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19901 (__pthread_rwlock_unlock): Likewise.
19902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19903 (__pthread_key_create): Likewise.
19904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19905 (__pthread_setspecific): Likewise.
19906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19907 (__pthread_getspecific): Likewise.
19908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19909 Likewise.
19910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19911 (_pthread_cleanup_push_defer): Likewise.
19912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19913 (_pthread_cleanup_pop_restore): Likewise.
19914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19915 (pthread_setcancelstate): Likewise.
19916 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19917 <bp-sym.h>.
19918 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19919 (memchr): Do not use BP_SYM in weak_alias.
19920 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19921 (fegetenv): Do not use BP_SYM in versioned symbols.
19922 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19923 (fesetenv): Do not use BP_SYM in versioned symbols.
19924 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19925 (feupdateenv): Do not use BP_SYM in versioned symbols.
19926 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19927 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19928 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19929 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19930 (open64): Do not use BP_SYM in weak_alias.
19931 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19932 (fegetenv): Do not use BP_SYM in versioned symbols.
19933 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19934 (fesetenv): Do not use BP_SYM in versioned symbols.
19935 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19936 (feupdateenv): Do not use BP_SYM in versioned symbols.
19937 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19938 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19939 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19940 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19941 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19942 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19943 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19944 <bp-sym.h>.
19945 (__libc_start_main): Do not use BP_SYM.
19946
d6752ccd
SP
199472013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19948
cb57ce60
SP
19949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19950 redundant return line.
19951 (norm): Likewise.
19952 (denorm): Likewise.
19953 (dbl_mp): Likewise.
19954 (sub_magnitudes): Likewise.
19955 (__add): Likewise.
19956 (__sub): Likewise.
19957 (__mul): Likewise.
19958 (__inv): Likewise.
19959 (__dvd): Likewise.
19960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19961 (norm): Likewise.
19962 (denorm): Likewise.
19963 (dbl_mp): Likewise.
19964 (sub_magnitudes): Likewise.
19965 (__add): Likewise.
19966 (__sub): Likewise.
19967 (__mul): Likewise.
19968 (__inv): Likewise.
19969 (__dvd): Likewise.
19970
f414520d
SP
19971 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19972 instead of __mul.
19973 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19974 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19975 (cc32): Likewise.
19976
d6752ccd
SP
19977 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19978 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19980 of __mul for squares.
19981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19982 function
19983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19984 Likewise.
19985 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19986 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19987
70d9946a
JM
199882013-02-13 Joseph Myers <joseph@codesourcery.com>
19989
19990 [BZ #13550]
19991 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19992 code.
19993 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19994 prototype or function definition. Rename ubp_* variables and
19995 parameters. Remove argv definitions conditional on
19996 [__BOUNDED_POINTERS__].
19997 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19998 * elf/dl-runtime.c (_dl_fixup): Likewise.
19999 * include/set-hooks.h (RUN_HOOK): Likewise.
20000 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20001 definition.
20002 * string/strcpy.c (strcpy): Do not use __unbounded.
20003 * sysdeps/generic/frame.h (struct layout): Likewise.
20004 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20005 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20006 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20007 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20008 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20009 (__backtrace): Likewise.
20010 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20011 use __ptrvalue.
20012 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20013 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20014 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20015 Likewise.
20016 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20017 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20018 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20019 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20020 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20021 Do not use __unbounded.
20022 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20023 Rename __unboundedrlimits parameter to rlimits in prototype.
20024 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20025 Do not use __unbounded.
20026 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20027 not use __ptrvalue.
20028 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20029 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20030 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20031 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20032 __ptrvalue or __unbounded.
20033 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20034 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20035 use __unbounded.
20036 (__new_msgctl): Do not use __ptrvalue.
20037 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20038 __unbounded.
20039 (__libc_msgrcv): Do not use __ptrvalue.
20040 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20041 startup_info): Do not use __unbounded.
20042 (__libc_start_main): Likewise. Rename ubp_* variables and
20043 parameters. Remove argv definitions conditional on
20044 [__BOUNDED_POINTERS__].
20045 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20046 __ptrvalue.
20047 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20048 use __unbounded.
20049 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20050 or __ptrvalue.
20051 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20052 use __unbounded.
20053 (__new_shmctl): Do not use __ptrvalue.
20054 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20055 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20056 Likewise.
20057 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20058 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20059 (__libc_sigaction): Likewise.
20060 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20061 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20062 Likewise.
20063 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20064
cc7834d6
OB
200652013-02-13 Ondřej Bílka <neleai@seznam.cz>
20066
ffb1ec7b 20067 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
20068
20069 * string/mempcpy.c: Implement by calling memcpy.
20070
bdf02814
SP
200712013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20072
c2af38aa
SP
20073 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20074
4e92d59e
SP
20075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20076 evaluation.
20077
909279a5
SP
20078 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20079 values in the mantissa.
20080
bdf02814
SP
20081 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20082 minimize writes to Z.
20083 (sub_magnitudes): Simplify code a bit.
20084
cd525923
RM
200852013-02-12 Roland McGrath <roland@hack.frob.com>
20086
20087 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20088 from the message. The linker prefixes all warnings with that already.
20089
7e2f0d2d
AS
200902013-02-12 Andreas Schwab <schwab@suse.de>
20091
a445af0b
AS
20092 [BZ #15078]
20093 * posix/regexec.c (extend_buffers): Add parameter min_len.
20094 (check_matching): Pass minimum needed length.
20095 (clean_state_log_if_needed): Likewise.
20096 (get_subexp): Likewise.
20097 * posix/Makefile (tests): Add bug-regex34.
20098 (bug-regex34-ENV): Define.
20099 * posix/bug-regex34.c: New file.
20100
7e2f0d2d
AS
20101 [BZ #11561]
20102 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20103 elements compare against the byte sequence of it, not its name.
20104 * posix/Makefile (tests): Add bug-regex35.
20105 (bug-regex35-ENV): Define.
20106 * posix/bug-regex35.c: New file.
20107
a175b684
TV
201082013-02-11 Tom de Vries <tom@codesourcery.com>
20109
20110 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20111 comment.
20112 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20113 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20114 (CHECK_EOL): Add undef.
20115
310998fe 201162013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
20117
20118 * bits/stdlib-bsearch.h: New file.
20119 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 20120 * stdlib/stdlib.h: Likewise.
41eda41d 20121
8ded91fb
RM
201222013-02-11 Roland McGrath <roland@hack.frob.com>
20123
20124 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20125 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20126 declaration.
20127 * manual/search.texi (Array Search Function): Add missing const in
20128 lfind prototype.
20129 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20130 declaration to use rlim_t.
20131 (Basic Scheduling Functions): Remove erroneous const from
20132 sched_getparam prototype. Remove erroneous * from
20133 sched_get_priority_max and sched_get_priority_min prototypes.
20134 (Resource Usage): Fix summary @comment on vtimes to refer to
20135 sys/vtimes.h rather than vtimes.h.
20136 Add missing *s in vtimes prototype.
20137 (Limits on Resources): Fix ulimit prototype to return long int.
20138 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20139 prototypes to use long int rather than double.
20140 (BSD Random): Fix initstate and setstate to use char *, not void *.
20141 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20142 prototype to make second argument 'struct aiocb64 *const[]'.
20143 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20144 (Status of AIO Operations): Remove erroneous const in aio_return and
20145 aio_return64 prototypes.
20146 (Synchronizing I/O): Fix sync prototype to return void.
20147 * manual/startup.texi (Suboptions): Remove an erroneous const in
20148 getsubopt prototype.
20149 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20150 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20151 use size_t rather than int.
20152 (Scanning All Users): Likewise for getpwent_r.
20153 (Setting Groups): Add missing const to setgroups prototype.
20154 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20155 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20156 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20157 'const void *' rather than 'const char *'.
20158 (Host Address Functions): Likewise for inet_ntop.
20159 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20160 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20161 ssize_t for return value.
20162 (Sending Data): Likewise for send, sendto, sendmsg.
20163 (Socket Option Functions): Add a missing const in setsockopt prototype.
20164 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20165 use wchar_t for the argument.
20166 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20167 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20168 take no arguments.
20169 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20170 double/float/long double for second argument.
20171 Fix return types of significand, significandf, significandl.
20172 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20173 argument in fchmod prototype.
20174 (File Owner): Use uid_t and gid_t in fchown prototype.
20175 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20176 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20177 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20178 use 'const struct dirent **' as argument types to CMP function pointer
20179 argument.
20180 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20181 (File Times): Fix summary magic @comment for struct utimbuf and utime
20182 to refer to utime.h, not time.h.
20183 * manual/string.texi (Argz Functions): Add missing const in
20184 argz_extract and argz_next prototypes.
20185 (Finding Tokens in a String): Likewise for basename.
20186 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20187 (Copying and Concatenation): Fix typo in wmemmove prototype.
20188 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20189 (Signal Stack): Remove erroneous const in sigstack prototype.
20190 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20191 prototype.
20192 (Simple Calendar Time): Likewise for stime.
20193 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20194 prototype.
20195 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20196 say sys/sysctl.h instead.
20197 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20198 and vsyslog prototypes.
20199
fe77fe6d
TV
202002013-02-11 Tom de Vries <tom@codesourcery.com>
20201
20202 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20203 Remove.
20204
3a09b620
RM
202052013-02-11 Roland McGrath <roland@hack.frob.com>
20206
20207 * misc/sys/mman.h: Fix typo in mremap comment.
20208
550a0b89
RM
202092013-02-08 Roland McGrath <roland@hack.frob.com>
20210
20211 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20212 the '\0' terminator.
20213
a2da1673
JM
202142013-02-08 Joseph Myers <joseph@codesourcery.com>
20215
20216 [BZ #13550]
20217 * debug/segfault.c: Don't include <bp-checks.h>.
20218 * sysdeps/generic/bp-checks.h: Remove file.
20219 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20220 (__GETDENTS): Don't use CHECK_N.
20221 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20222 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20223 (__getgroups): Don't use CHECK_N.
20224 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20225 (setgroups): Don't use CHECK_N.
20226 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20227 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20228 (__libc_msgrcv): Don't use CHECK_N.
20229 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20230 (__libc_msgsnd): Don't use CHECK_N.
20231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20232 <bp-checks.h>.
20233 (__libc_pread): Don't use CHECK_N.
20234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20235 include <bp-checks.h>.
20236 (__libc_pread64): Don't use CHECK_N.
20237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20238 include <bp-checks.h>.
20239 (__libc_pwrite): Don't use CHECK_N.
20240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20241 include <bp-checks.h>.
20242 (__libc_pwrite64): Don't use CHECK_N.
20243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20244 <bp-checks.h>.
20245 (__libc_pread): Don't use CHECK_N.
20246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20247 include <bp-checks.h>.
20248 (__libc_pread64): Don't use CHECK_N.
20249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20250 include <bp-checks.h>.
20251 (__libc_pwrite): Don't use CHECK_N.
20252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20253 include <bp-checks.h>.
20254 (__libc_pwrite64): Don't use CHECK_N.
20255 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20256 (do_pread): Don't use CHECK_N.
20257 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20258 (do_pread64): Don't use CHECK_N.
20259 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20260 (do_pwrite): Don't use CHECK_N.
20261 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20262 (do_pwrite64): Don't use CHECK_N.
20263 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20264 (__libc_readv): Don't use CHECK_N.
20265 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20266 (semop): Don't use CHECK_N.
20267 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20268 <bp-checks.h>.
20269 (semtimedop): Don't use CHECK_N.
20270 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20271 (__libc_pread): Don't use CHECK_N.
20272 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20273 <bp-checks.h>.
20274 (__libc_pread64): Don't use CHECK_N.
20275 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20276 <bp-checks.h>.
20277 (__libc_pwrite): Don't use CHECK_N.
20278 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20279 <bp-checks.h>.
20280 (__libc_pwrite64): Don't use CHECK_N.
20281 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20282 <bp-checks.h>.
20283 (__libc_msgrcv): Don't use CHECK_N.
20284 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20285 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20286 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20287 (__libc_writev): Don't use CHECK_N.
20288
b84660a8
RM
202892013-02-08 Roland McGrath <roland@hack.frob.com>
20290
7f3e75f8
RM
20291 * string/strcpy.c: Removed unused variable.
20292
b84660a8
RM
20293 * Makeconfig (+sysdep-includes): Define with := rather than =.
20294 Use an existing include/ subdir of each sysdeps dir before it.
20295
471514d3
CD
202962013-02-08 Carlos O'Donell <carlos@redhat.com>
20297
20298 * nscd/connection.c (register_traced_file): Comment function.
20299 [HAVE_INOTIFY] (union __inev): Define.
20300 [HAVE_INOTIFY] (inotify_check_files): New function.
20301 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20302 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20303 clear_db_cache.
20304 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20305
b2d3c3be
CD
203062013-02-08 Carlos O'Donell <carlos@redhat.com>
20307
20308 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20309 loaded if not already and that a failure is permanent.
20310
b39949d2
CD
203112013-02-08 Carlos O'Donell <carlos@redhat.com>
20312
ddacd1db 20313 [BZ #15006]
b39949d2
CD
20314 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20315 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20316
b2c9eff4
JM
203172013-02-08 Joseph Myers <joseph@codesourcery.com>
20318
f3aae3f3
JM
20319 [BZ #13550]
20320 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20321 (CHECK_1_NULL_OK): Likewise.
20322 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20323 (__fxstat): Do not use CHECK_1.
20324 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20325 <bp-checks.h>.
20326 (___fxstat64): Do not use CHECK_1.
20327 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20328 <bp-checks.h>.
20329 (__fxstatat): Do not use CHECK_1.
20330 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20331 <bp-checks.h>.
20332 (__fxstatat64): Do not use CHECK_1.
20333 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20334 <bp-checks.h>.
20335 (__fxstat): Do not use CHECK_1.
20336 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20337 <bp-checks.h>.
20338 (__fxstatat): Do not use CHECK_1.
20339 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20340 <bp-checks.h>.
20341 (__getresgid): Do not use CHECK_1.
20342 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20343 <bp-checks.h>.
20344 (__getresuid): Do not use CHECK_1.
20345 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20346 <bp-checks.h>.
20347 (__lxstat): Do not use CHECK_1.
20348 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20349 <bp-checks.h>.
20350 (__old_msgctl): Do not use CHECK_1.
20351 (__new_msgctl): Likewise.
20352 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20353 <bp-checks.h>.
20354 (__new_setrlimit): Do not use CHECK_1.
20355 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20356 <bp-checks.h>.
20357 (__old_shmctl): Do not use CHECK_1.
20358 (__new_shmctl): Likewise.
20359 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20360 <bp-checks.h>.
20361 (__xstat): Do not use CHECK_1.
20362 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20363 (__lxstat): Do not use CHECK_1.
20364 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20365 <bp-checks.h>.
20366 (___lxstat64): Do not use CHECK_1.
20367 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20368 (__old_msgctl): Do not use CHECK_1.
20369 (__new_msgctl): Likewise.
20370 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20371 <bp-checks.h>.
20372 (__gettimeofday): Do not use CHECK_1.
20373 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20374 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20375 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20376 <bp-checks.h>.
20377 (__gettimeofday): Do not use CHECK_1.
20378 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20379 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20380 (__new_shmctl): Do not use CHECK_1.
20381 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20382 <bp-checks.h>.
20383 (do_sigtimedwait): Do not use CHECK_1.
20384 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20385 <bp-checks.h>.
20386 (do_sigwaitinfo): Do not use CHECK_1.
20387 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20388 <bp-checks.h>.
20389 (msgctl): Do not use CHECK_1.
20390 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20391 <bp-checks.h>.
20392 (shmctl): Do not use CHECK_1.
20393 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20394 (ustat): Do not use CHECK_1.
20395 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20396 <bp-checks.h>.
20397 (__fxstat): Do not use CHECK_1.
20398 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20399 <bp-checks.h>.
20400 (__fxstatat): Do not use CHECK_1.
20401 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20402 <bp-checks.h>.
20403 (__lxstat): Do not use CHECK_1.
20404 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20405 <bp-checks.h>.
20406 (__xstat): Do not use CHECK_1.
20407 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20408 (__xstat): Do not use CHECK_1.
20409 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20410 (___xstat64): Do not use CHECK_1.
20411
b2c9eff4
JM
20412 [BZ #13550]
20413 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20414 definitions.
20415 (CHECK_BOUNDS_HIGH): Likewise.
20416 * string/strcpy.c: Do not include <bp-checks.h>.
20417 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20418
f1d70dad
RM
204192013-02-07 Roland McGrath <roland@hack.frob.com>
20420
20421 * nscd/nscd-client.h (__nscd_drop_map_ref):
20422 Add __attribute__ ((unused)).
20423 * nis/nss-nisplus.h (niserr2nss): Likewise.
20424
20425 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20426 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20427
20428 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20429 Remove inline keyword.
20430 * include/rounding-mode.h (round_away): Likewise.
20431 * libio/wfileops.c (adjust_wide_data): Likewise.
20432 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20433 (__m128i_strloadu_tolower): Likewise.
20434 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20435 (__m128i_strloadu_tolower): Likewise.
20436 * time/mktime.c (ydhms_diff): Likewise.
20437 * locale/elem-hash.h (elem_hash): Likewise.
20438 * locale/setlocale.c (setdata): Likewise.
20439 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20440 (re_string_wchar_at): Likewise.
20441 (bitset_not, bitset_merge, bitset_mask): Likewise.
20442 [!(__GNUC__ > 3)] (inline): Remove macro.
20443 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20444 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20445 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20446 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20447 * string/memcmp.c (memcmp_bytes): Likewise.
20448 * locale/programs/locarchive.c (compute_hashval): Likewise.
20449 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20450 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20451 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20452 * nss/getent.c (print_rpc, print_protocols): Likewise.
20453 (print_passwd, print_group, print_aliases): Likewise.
20454 * nis/nss-nisplus.h (niserr2nss): Likewise.
20455 * nscd/connections.c (restart_p): Likewise.
20456 Change return type to bool.
20457
eab55bfb
RM
204582013-02-05 Roland McGrath <roland@hack.frob.com>
20459
7bd642f5
RM
20460 * Makeconfig (all-Depend-files): Add existing
20461 $(sorted-subdirs:=/Depend) files.
20462 (all-subdirs): Remove nss.
20463 * sysdeps/unix/inet/Subdirs: Add it here instead.
20464 * hesiod/Depend: New file.
20465
573c29b2
RM
20466 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20467 instead of calling alloca.
20468
b2e25af0
RM
20469 * io/lseek.c (__lseek): Rename to __libc_lseek.
20470 Define __lseek as an alias.
20471
eab55bfb
RM
20472 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20473
9a0d1941
CD
204742013-02-04 Carlos O'Donell <carlos@redhat.com>
20475
20476 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20477 else clause and remove check for non-standard endianness.
20478
b83bbec4
DM
204792013-02-04 David S. Miller <davem@davemloft.net>
20480
20481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20482
6277fdab
JM
204832013-02-04 Joseph Myers <joseph@codesourcery.com>
20484
20485 [BZ #13550]
20486 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20487 (__ubp_memchr): Remove prototype.
20488 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20489 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20490 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20491 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20492 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20493 Remove alias.
20494 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20495 (__ubp_memchr): Likewise.
20496 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20497 (__ubp_memchr): Likewise.
20498 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20499 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20500 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20501 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20502 CHECK_STRING.
20503 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20504 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20505 (__getcwd): Do not use CHECK_STRING.
20506 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20507 <bp-checks.h>.
20508 (__real_chown): Do not use CHECK_STRING.
20509 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20510 <bp-checks.h>.
20511 (fchownat): Do not use CHECK_STRING.
20512 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20513 CHECK_STRING.
20514 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20515 <bp-checks.h>.
20516 (__lchown): Do not use CHECK_STRING.
20517 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20518 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20519 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20520 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20522 include <bp-checks.h>.
20523 (truncate64): Do not use CHECK_STRING.
20524 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20525 <bp-checks.h>.
20526 (__real_chown): Do not use CHECK_STRING.
20527 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20528 <bp-checks.h>.
20529 (__lchown): Do not use CHECK_STRING.
20530 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20531 <bp-checks.h>.
20532 (__chown): Do not use CHECK_STRING.
20533 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20534 <bp-checks.h>.
20535 (truncate64): Do not use CHECK_STRING.
20536 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20537 Likewise.
20538 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20539 (__xmknod): Do not use CHECK_STRING.
20540 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20541 <bp-checks.h>.
20542 (__xmknodat): Do not use CHECK_STRING.
20543 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20544 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20545
903ae060
AS
205462013-02-04 Andreas Schwab <schwab@suse.de>
20547
20548 [BZ #14142]
20549 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20550 * include/netdb.h: Likewise for h_errno.
20551 * elf/tst-stackguard1.c: Include <tls.h>.
20552
542f9466
JK
205532013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20554
20555 * elf/link.h (struct link_map): Extend the l_addr comment.
20556 * include/link.h (struct link_map): Likewise.
20557
e782a927
JM
205582013-02-01 Joseph Myers <joseph@codesourcery.com>
20559
20560 [BZ #13550]
20561 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20562 (BOUNDED_1): Remove macro.
20563 * debug/backtrace.c: Don't include <bp-checks.h>.
20564 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20565 (__backtrace): Likewise.
20566 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20567 <bp-checks.h>.
20568 (__backtrace): Don't use BOUNDED_1.
20569 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20570 <bp-checks.h>.
20571 (__backtrace): Don't use BOUNDED_1.
20572 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20573 (__backtrace): Don't use BOUNDED_1.
20574 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20575 (shmat): Don't use BOUNDED_N.
20576
8cf28c5e
JM
205772013-01-31 Joseph Myers <joseph@codesourcery.com>
20578
3a7ac8a0
JM
20579 [BZ #13550]
20580 * sysdeps/generic/bp-start.h: Remove file.
20581 * csu/libc-start.c: Don't include <bp-start.h>.
20582 (LIBC_START_MAIN): Set up __environ directly instead of using
20583 INIT_ARGV_and_ENVIRON.
20584 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20585 <bp-start.h>.
20586
f3499f95
JM
20587 [BZ #13550]
20588 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20589 definitions.
20590 (CHECK_FCNTL): Likewise.
20591 (CHECK_N_PAGES): Likewise.
20592
32a45bea
JM
20593 [BZ #13550]
20594 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20595 definitions.
20596 (CHECK_SIGSET_NULL_OK): Likewise.
20597 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20598 <bp-checks.h>.
20599 (sigpending): Don't use CHECK_SIGSET.
20600 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20601 <bp-checks.h>.
20602 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20603 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20604 <bp-checks.h>.
20605 (do_sigsuspend): Don't use CHECK_SIGSET.
20606 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20607 use CHECK_SIGSET.
20608 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20609 (do_sigwait): Don't use CHECK_SIGSET.
20610 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20611 use CHECK_SIGSET.
20612 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20613 include <bp-checks.h>.
20614 (sigpending): Don't use CHECK_SIGSET.
20615 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20616 include <bp-checks.h>.
20617 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20618 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20619 <bp-checks.h>.
20620 (sigpending): Don't use CHECK_SIGSET.
20621 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20622 <bp-checks.h>.
20623 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20624
2e8a5c8c
JM
20625 [BZ #13550]
20626 * sysdeps/generic/bp-semctl.h: Remove file.
20627 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20628 <bp-checks.h> and <bp-semctl.h>.
20629 (__old_semctl): Don't use CHECK_SEMCTL.
20630 (__new_semctl): Likewise.
20631 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20632 and <bp-semctl.h>.
20633 (__old_semctl): Don't use CHECK_SEMCTL.
20634 (__new_semctl): Likewise.
20635 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20636 <bp-checks.h> and <bp-semctl.h>.
20637 (__old_semctl): Don't use CHECK_SEMCTL.
20638 (__new_semctl): Likewise.
20639 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20640 <bp-checks.h> and <bp-semctl.h>.
20641 (semctl): Don't use CHECK_SEMCTL.
20642
c2d54929
JM
20643 [BZ #13550]
20644 * Makerules (elide-bp-thunks): Remove variable.
20645 (elide-routines.oS): Don't use $(elide-bp-thunks).
20646 (elide-routines.os): Likewise.
20647 (elide-routines.o): Likewise.
20648 (elide-routines.op): Likewise.
20649 (elide-routines.og): Likewise.
20650 (objects): Don't use $(bp-thunks).
20651 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20652 include.
20653 (common-generated): Do not add s-proto-bp.d.
20654 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20655 (int): Likewise.
20656 (typ): Likewise.
20657 Do not generate makefile rules for bounded-pointer thunks.
20658 * sysdeps/generic/bp-thunks.h: Remove file.
20659 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20660 * sysdeps/unix/s-proto-bp.S: Likewise.
20661
8cf28c5e
JM
20662 [BZ #15062]
20663 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20664 parts of result separately when argument is not close to line from
20665 -i to i and one part of argument is small.
20666 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20667 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20668 * math/libm-test.inc (cacos_test): Add more tests.
20669 (casin_test): Likewise.
20670 (casinh_test): Likewise.
20671 * sysdeps/i386/fpu/libm-test-ulps: Update.
20672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20673
c4e33b8d
DM
206742013-01-31 David S. Miller <davem@davemloft.net>
20675
20676 * po/de.po: Update from translation team.
20677
3b60b421
MK
206782013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20679
20680 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20681
bb931195
TS
206822013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20683
b5a5da23
TS
20684 * configure.in (_AC_PROG_CC_C89): New definition.
20685 * configure: Regenerate.
20686
bb931195
TS
20687 * configure.in (AC_PROG_CPP): New definition.
20688 * configure: Regenerate.
20689
8c53a12c
JM
206902013-01-23 Joseph Myers <joseph@codesourcery.com>
20691
20692 * debug/tst-backtrace.h: New file.
20693 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20694 (ret): Remove variable.
20695 (x): Likewise.
20696 (FAIL): Remove macro.
20697 (NO_INLINE): Likewise.
20698 (fn1): Use match function instead of strstr.
20699 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20700 (ret): Remove variable.
20701 (x): Likewise.
20702 (FAIL): Remove macro.
20703 (NO_INLINE): Likewise.
20704 (fn): Use match function instead of strstr.
20705 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20706 (ret): Remove variable.
20707 (x): Likewise.
20708 (FAIL): Remove macro.
20709 (NO_INLINE): Likewise.
20710 (handle_signal): Use match function instead of strstr.
20711 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20712 (ret): Remove variable.
20713 (x): Likewise.
20714 (FAIL): Remove macro.
20715 (NO_INLINE): Likewise.
20716 (handle_signal): Use match function instead of strstr.
20717
4858fa2a
RM
207182013-01-23 Roland McGrath <roland@hack.frob.com>
20719
20720 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20721
bae8e7f5
DM
207222013-01-23 David S. Miller <davem@davemloft.net>
20723
20724 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20725 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20726 argument of CAS if possible.
20727 * sysdeps/sparc/sparc64/bits/atomic.h
20728 (__arch_compare_and_exchange_val_32_acq): Likewise.
20729 (__arch_compare_and_exchange_val_64_acq): Likewise.
20730
9cbbc4ae
PT
207312013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20732
20733 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20734 * sysdeps/posix/ulimit.c: ... this.
92a601b8 20735 Include <limits.h>.
67b3f58c 20736 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20737
5655a0b5
AC
207382013-01-23 Adam Conrad <adconrad@0c3.net>
20739
20740 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20741 (LDFLAGS-tst-array5): Likewise.
20742
052aff95
JM
207432013-01-23 Joseph Myers <joseph@codesourcery.com>
20744
20745 [BZ #15036]
20746 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20747 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20748 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20749 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20750
7c1e01aa
DM
207512013-01-21 David S. Miller <davem@davemloft.net>
20752
20753 * sysdeps/sparc/backtrace.c: New file.
20754 * sysdeps/sparc/sparc32/backtrace.h: New file.
20755 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20756 * sysdeps/sparc/sparc64/backtrace.h: New file.
20757 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20758 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20759 -funwind-tables.
20760
ab087e0a
AS
207612013-01-21 Andreas Schwab <schwab@suse.de>
20762
20763 [BZ #15020]
20764 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20765 closed its stdout.
20766
ed689c2f
AS
207672013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20768
20769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20770 "mpa2.h".
20771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20772
31d470ac
JM
207732013-01-18 Joseph Myers <joseph@codesourcery.com>
20774 Mark Mitchell <mark@codesourcery.com>
20775 Tom de Vries <tom@codesourcery.com>
20776 Paul Pluzhnikov <ppluzhnikov@google.com>
20777
20778 * debug/tst-backtrace2.c: New file.
20779 * debug/tst-backtrace3.c: Likewise.
20780 * debug/tst-backtrace4.c: Likewise.
20781 * debug/tst-backtrace5.c: Likewise.
20782 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20783 (CFLAGS-tst-backtrace3.c): Likewise.
20784 (CFLAGS-tst-backtrace4.c): Likewise.
20785 (CFLAGS-tst-backtrace5.c): Likewise.
20786 (LDFLAGS-tst-backtrace2): Likewise.
20787 (LDFLAGS-tst-backtrace3): Likewise.
20788 (LDFLAGS-tst-backtrace4): Likewise.
20789 (LDFLAGS-tst-backtrace5): Likewise.
20790 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20791 tst-backtrace4 and tst-backtrace5.
20792
90567f30 207932013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20794 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20795
20796 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20797 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20798 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20799 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20801 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20802 "+r" and remove output regs list as redundant. Add explicit inline
20803 asm to specify register of return val to work around compiler codegen
20804 bug. Remove (int) cast on return value. Add return type parameter to
20805 use in macro so that this macro does not truncate return value for
20806 64-bit values.
20807 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20808 pass to INTERNAL_VSYSCALL_NCS.
20809 (INLINE_VSYSCALL): Add 'long int' as return type to
20810 INTERNAL_VSYSCALL_NCS macro invocation.
20811 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20812 INTERNAL_VSYSCALL_NCS macro invocation.
20813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20814
d3b9ea61
SP
208152013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20816
0b57daeb
SP
20817 [BZ #14496]
20818 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20819 Fix application of SIMD FP exception mask.
20820
caa99d06
SP
20821 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20822 mp_no from a power of two.
20823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20824 __mpexp_twomm1. Use __pow_mp.
20825
d3b9ea61
SP
20826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20827 multiplication.
20828
1dbaee3c
DM
208292013-01-17 David S. Miller <davem@davemloft.net>
20830
20831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20832
728d7b43
JM
208332013-01-17 Joseph Myers <joseph@codesourcery.com>
20834
20835 [BZ #15023]
20836 * include/complex.h: Condition contents on [!_COMPLEX_H].
20837 (__kernel_casinhf): New prototype.
20838 (__kernel_casinh): Likewise.
20839 (__kernel_casinhl): Likewise.
20840 * math/Makefile (libm_calls): Add k_casinh.
20841 * math/k_casinh.c: New file.
20842 * math/k_casinhf.c: Likewise.
20843 * math/k_casinhl.c: Likewise.
20844 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20845 finite nonzero arguments.
20846 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20847 finite nonzero arguments.
20848 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20849 finite nonzero arguments.
20850 * math/s_casinh.c: Do not include <float.h>.
20851 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20852 * math/s_casinhf.c: Do not include <float.h>.
20853 (__casinhf): Move code for finite nonzero arguments to
20854 k_casinhf.c.
20855 * math/s_casinhl.c: Do not include <float.h>.
20856 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20857 redefine.
20858 (__casinhl): Move code for finite nonzero arguments to
20859 k_casinhl.c.
20860 * math/libm-test.inc (cacos_test): Add more tests.
20861 * sysdeps/i386/fpu/libm-test-ulps: Update.
20862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20863
2a26ef3a
PT
208642013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20865
20866 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20867 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20868 [!HAVE_MREMAP]: Remove [defined linux] case.
20869 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20870
a897655d
SP
208712013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20872
20873 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20874
881ebe89 208752013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20876
20877 * elf/elf.h (R_386_SIZE32): New relocation.
20878 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20879 R_386_SIZE32.
20880 (elf_machine_rela): Likewise.
20881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20882 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20883
59981e9b
JM
208842013-01-17 Joseph Myers <joseph@codesourcery.com>
20885
20886 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20887 (FP_FAST_FMA): Do not define.
20888 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20889 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20890 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20891 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20892 !_SOFT_FLOAT]: Likewise.
20893 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20894 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20895 value.
20896 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20897 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20898 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20899 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20900 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20901 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20902 file.
20903
cfa8054f
AS
209042013-01-16 Andreas Schwab <schwab@suse.de>
20905
20906 [BZ #14327]
20907 * include/stdlib.h (__mktemp): Add declaration.
20908 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20909 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20910
dd930cc5
SP
209112013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20912
881ebe89
SP
20913 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20914 definitions.
20915 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20916 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20917 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20918 definitions here.
20919 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20920 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20921 definitions.
20922 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20923 and ONE.
20924 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20925 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20926 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20927 definitions.
20928 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20929 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20930 definitions.
20931 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20932
dd930cc5
SP
20933 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20934
c19a9f89
DM
209352013-01-15 David S. Miller <davem@davemloft.net>
20936
1aa61767
DM
20937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20938 trunc{,f} to libm-sysdep_routes.
20939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20941 file.
20942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20944 file.
20945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20946 file.
20947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20949 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20950 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20951 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20952 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20953 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20954 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20955
c42d5e98
DM
20956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20957 nearbyint{,f} to libm-sysdep_routes.
20958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20960 New file.
20961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20962 file.
20963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20964 New file.
20965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20966 file.
20967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20969 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20970 file.
20971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20972 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20973 file.
20974 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20975 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20976 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20977
c19a9f89
DM
20978 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20979 libc_feholdexcept and libc_fesetenv.
20980
357679d2
MF
209812013-01-15 Mike Frysinger <vapier@gentoo.org>
20982
20983 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20984
65a82e3d
DM
209852013-01-14 David S. Miller <davem@davemloft.net>
20986
8b954ab9
DM
20987 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20988 (SPARC_ASM_VIS2_IFUNC): Likewise.
20989 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20991 use of 'siam' instruction.
20992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20993 Likewise.
20994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20995 Likewise.
20996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20997 Likewise.
20998 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20999 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21003 file.
21004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21005 file.
21006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21007 file.
21008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21009 file.
21010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21015 new VIS2 routines.
21016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21019 Likewise.
21020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21021 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21025 routines to libm-sysdep_routines.
21026 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21027
65a82e3d
DM
21028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21029 fdim/fdimf to libm-sysdep_routines.
21030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21031 file.
21032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21034 file.
21035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21038 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21039 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21040 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21041 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21042
e34ab705
SP
210432013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21044
2a91b573
SP
21045 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21046 to optimize copies.
21047
1066a534
SP
21048 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21051
e34ab705
SP
21052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21053 local variable MPTWO.
21054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21055 Likewise.
21056
aba5e596
MF
210572013-01-13 Mike Frysinger <vapier@gentoo.org>
21058
21059 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21060 GLOB_NOESCAPE.
21061
e557e9e5
MF
210622013-01-13 Mike Frysinger <vapier@gentoo.org>
21063
21064 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21065
0428cec9
MF
210662013-01-13 Mike Frysinger <vapier@gentoo.org>
21067
21068 * manual/pattern.texi (glob_t): Document gl_flags.
21069 (glob64_t): Likewise.
21070
8794a964
DM
210712013-01-11 David S. Miller <davem@davemloft.net>
21072
66438c3f
RM
21073 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21074 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21075 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
21076 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21077 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21078 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21079 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21080 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21081 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21082 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21083 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21084 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21085 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21086
4ae4244d
DM
21087 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21088 sparc V9 rather than using V8 code.
21089 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21090 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21091
8794a964
DM
21092 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21093 Move to...
21094 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21095 Here.
21096
6270516e
RM
210972013-01-11 Roland McGrath <roland@hack.frob.com>
21098
21099 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21100 not in the main loop.
21101 * configure: Regenerated.
21102
6a57d931
JM
211032013-01-11 Joseph Myers <joseph@codesourcery.com>
21104
21105 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21106 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21107 to just #else.
21108 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21109 [!__GLIBC_HAVE_LONG_LONG] case.
21110 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21111 condition to just #else.
21112 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21113 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21114 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21115 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21116 unconditional.
21117 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21118 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21119 #elif condition to just #else.
21120 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21121 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21122 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21123 #elif condition to just #else.
21124
0e8529e9
SE
211252013-01-11 Steve Ellcey <sellcey@mips.com>
21126
21127 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21128 (EF_MIPS_ARCH_64): Fix value.
21129 (EF_MIPS_ARCH_32R2): New.
21130 (EF_MIPS_ARCH_64R2): New.
21131
740b3dbe
L
211322013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21133
21134 * Makeconfig (+link-pie-before-libc): New.
21135 (+link-pie-after-libc): Likewise.
21136 (+link-pie-tests): Likewise.
21137 (+link-pie): Rewritten.
21138 (link-before-libc): Remove $(config-LDFLAGS).
21139 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21140 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21141 (config-LDFLAGS): Renamed to ...
21142 (rtld-LDFLAGS): This.
21143 (rtld-tests-LDFLAGS): New macro.
21144 (link-libc-rpath-link): Likewise.
21145 (link-libc-tests-rpath-link): Likewise.
21146 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21147 (link-libc): Prepand $(link-libc-rpath-link).
21148 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21149 (test-program-prefix): New macro.
21150 (test-via-rtld-prefix): Likewise.
21151 (test-program-cmd): Likewise.
21152 (host-test-program-cmd): Likewise.
21153 * Makefile ($(common-objpfx)testrun.sh): Replace
21154 $(run-program-prefix) with $(test-program-prefix).
21155 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21156 $(rtld-LDFLAGS).
21157 ($(common-objpfx)shlib.lds): Likewise.
21158 (build-module-helper): Likewise.
21159 ($(common-objpfx)format.lds): Likewise.
21160 * Rules (binaries-pie-tests): New.
21161 (binaries-pie-notests): Likewise.
21162 (binaries-pie): Rewritten.
21163 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21164 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21165 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21166 (make-test-out): Replace $(host-built-program-cmd) with
21167 $(host-test-program-cmd).
21168 * config.make.in (build-hardcoded-path-in-tests): New variable.
21169 * configure.in (--enable-hardcoded-path-in-tests): New configure
21170 option.
21171 (hardcoded_path_in_tests): New AC_SUBST.
21172 * configure: Regenerated.
21173 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21174 $(built-program-cmd) with $(test-program-cmd).
21175 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21176 (test_program_cmd): This.
21177 * elf/Makefile ($(objpfx)order.out): Run test with
21178 $(test-program-prefix).
21179 ($(objpfx)order2.out): Likewise.
21180 ($(objpfx)tst-initorder.out): Likewise.
21181 ($(objpfx)tst-initorder2.out): Likewise.
21182 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21183 $(test-program-cmd).
21184 ($(objpfx)tst-array1-static.out): Likewise.
21185 ($(objpfx)tst-array2.out): Likewise.
21186 ($(objpfx)tst-array3.out): Likewise.
21187 ($(objpfx)tst-array4.out): Likewise.
21188 ($(objpfx)tst-array5.out): Likewise.
21189 ($(objpfx)tst-array5-static.out): Likewise.
21190 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21191 $(test-program-cmd).
21192 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21193 $(run-program-prefix) with $(test-program-prefix).
21194 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21195 (test_program_prefix): This.
21196 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21197 $(run-program-prefix) with $(test-program-prefix).
21198 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21199 (test_program_prefix): This.
21200 * iconvdata/tst-tables.sh: Likewise.
21201 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21202 $(run-program-prefix) with $(test-program-prefix).
21203 ($(objpfx)tst-translit.out): Likewise.
21204 ($(objpfx)tst-gettext2.out): Likewise.
21205 ($(objpfx)tst-gettext4.out): Likewise.
21206 ($(objpfx)tst-gettext6.out): Likewise.
21207 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21208 (test_program_prefix): This.
21209 * intl/tst-gettext2.sh: Likewise.
21210 * intl/tst-gettext4.sh Likewise.
21211 * intl/tst-gettext6.sh: Likewise.
21212 * intl/tst-translit.sh: Likewise.
21213 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21214 with $(test-program-cmd).
21215 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21216 $(run-program-prefix) with $(test-program-prefix).
21217 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21218 (test_program_prefix): This.
21219 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21220 $(run-program-prefix) with $(test-program-prefix).
21221 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21222 (test_program_prefix): This.
21223 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21224 * posix/Makefile ($(objpfx)globtest.out): Replace
21225 $(run-via-rtld-prefix) and $(test-wrapper) with
21226 $(test-program-prefix) and $(test-via-rtld-prefix).
21227 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21228 $(test-program-prefix).
21229 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21230 $(host-test-program-cmd).
21231 (tst-spawn-ARGS): Likewise.
21232 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21233 $(test-program-prefix).
21234 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21235 (test_via_rtld_prefix): This.
21236 (test_wrapper): Renamed to ...
21237 (test_program_prefix): This.
21238 (run_program_prefix): Replaced by test_program_prefix.
21239 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21240 (test_program_prefix): This.
21241 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21242 with $(host-test-program-cmd).
21243 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21244 $(run-program-prefix) with $(test-program-prefix).
21245 ($(objpfx)tst-printf.out): Likewise.
21246 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21247 $(test-program-cmd).
21248 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21249 (test_program_prefix): This.
21250 * stdio-common/tst-unbputc.sh: Likewise.
21251 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21252 $(run-program-prefix) with $(test-program-prefix).
21253 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21254 (test_program_prefix): This.
21255 * string/Makefile ($(objpfx)tst-svc.out): Replace
21256 $(built-program-cmd) with $(test-program-cmd).
21257
c6fe55cf
AJ
212582013-01-11 Andreas Jaeger <aj@suse.de>
21259
21260 [BZ #15003]
21261 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21262 value. Sync with Linux 3.7.
21263
9e6919c8
DM
212642013-01-10 David S. Miller <davem@davemloft.net>
21265
21266 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21267 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21268 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21269
1c9f1a02
RM
212702013-01-10 Roland McGrath <roland@hack.frob.com>
21271
21272 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21273 never set.
21274 * configure: Regenerated.
21275
b9de2dde
DM
212762013-01-10 David S. Miller <davem@davemloft.net>
21277
21278 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21279 sparc V9 rather than using V8 code.
21280 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21281 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21282
e7f68ef4
RM
212832013-01-10 Roland McGrath <roland@hack.frob.com>
21284
21285 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21286 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21287 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21288 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21289 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21290 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21291 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21292 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21293 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21294 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21295 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21296 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21297 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21298 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21299 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21300 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21301 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21302 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21303 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21304 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21305 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21306 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21307 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21308 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21309 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21310 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21311 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21312
5a47cc9c
DM
213132013-01-10 David S. Miller <davem@davemloft.net>
21314
21315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21316
4cf8f209
L
213172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21318
21319 * posix/Makefile (tests-static): New variable.
21320 (tests): Add $(tests-static).
21321 (tst-exec-static-ARGS): New variable.
21322 (tst-spawn-static-ARGS): Likewise.
21323 * posix/tst-exec-static.c: New file.
21324 * posix/tst-spawn-static.c: Likewise.
21325 * posix/tst-exec.c: Support run directly.
21326 * posix/tst-spawn.c: Likewise.
21327
fed0faa1
JM
213282013-01-10 Joseph Myers <joseph@codesourcery.com>
21329
828beb13
JM
21330 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21331 long.
21332 * math/bits/mathcalls.h (llrint): Likewise.
21333 (llround): Likewise.
21334 * stdlib/stdlib.h (struct drand48_data): Likewise.
21335 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21336 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21337 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21338 Likewise.
21339 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21340 Likewise.
21341 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21342 (elf_greg_t): Likewise.
21343 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21344 (__jmp_buf): Likewise.
21345 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21346 definitions.
21347 (llrint): Likewise, for all definitions.
21348 (llrintl): Likewise.
21349
fed0faa1
JM
21350 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21351 Remove [__GNUC__] condition.
21352 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21353 condition to just [__USE_ISOC99].
21354 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21355
1a20cb20
L
213562013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21357
21358 [BZ #14200]
21359 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21360 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21361 defined.
21362 (_POSIX_V6_ILP32_OFF32): Likewise.
21363 (_XBS5_ILP32_OFF32): Likewise.
21364 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21365 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21366
751b85f7
SP
213672013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21368
7490eb81
SP
21369 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21370
751b85f7
SP
21371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21372 doubles __mpexp_twomm1. Adjust usage.
21373 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21374 Remove.
21375
988197f0
AS
213762013-01-10 Andreas Schwab <schwab@suse.de>
21377
21378 [BZ #14964]
21379 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21380 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21381
e83d7298
DM
213822013-01-09 David S. Miller <davem@davemloft.net>
21383
034ed64b 21384 [BZ #15003]
57f41c40
AS
21385 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21386 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21387 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21388 (TCP_FASTOPEN): Define.
e83d7298
DM
21389 (tcp_repair_opt): New structure.
21390 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21391 enum values.
57f41c40
AS
21392 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21393 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21394 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
21395 (tcp_cookie_transactions): New structure.
21396
d5e0b9bd
AB
213972013-01-09 Anton Blanchard <anton@samba.org>
21398
21399 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21400 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21401 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21402 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21403
0c07e3ea
JM
214042013-01-09 Joseph Myers <joseph@codesourcery.com>
21405
21406 * include/features.h (__USE_ANSI): Remove.
21407
232f7002
RM
214082013-01-09 Roland McGrath <roland@hack.frob.com>
21409
ad98e30c
RM
21410 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21411
232f7002
RM
21412 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21413
950c99ca
SP
214142013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21415
b5792741
SP
21416 * sysdeps/s390/fpu/libm-test-ulps: Update.
21417
47cf2278
SP
21418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21419
950c99ca
SP
21420 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21421 (__acr): Likewise.
21422 (__cpy): Likewise.
21423 (norm): Likewise.
21424 (denorm): Likewise.
21425 (__mp_dbl): Likewise.
21426 (__dbl_mp): Likewise.
21427 (add_magnitudes): Likewise.
21428 (sub_magnitudes): Likewise.
21429 (__add): Likewise.
21430 (__sub): Likewise.
21431 (__mul): Likewise.
21432 (__inv): Likewise.
21433 (__dvd): Likewise.
21434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21435 (__acr): Likewise.
21436 (__cpy): Likewise.
21437 (norm): Likewise.
21438 (denorm): Likewise.
21439 (__mp_dbl): Likewise.
21440 (__dbl_mp): Likewise.
21441 (add_magnitudes): Likewise.
21442 (sub_magnitudes): Likewise.
21443 (__add): Likewise.
21444 (__sub): Likewise.
21445 (__mul): Likewise.
21446 (__inv): Likewise.
21447 (__dvd): Likewise.
21448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21449 (__acr): Likewise.
21450 (__cpy): Likewise.
21451 (norm): Likewise.
21452 (denorm): Likewise.
21453 (__mp_dbl): Likewise.
21454 (__dbl_mp): Likewise.
21455 (add_magnitudes): Likewise.
21456 (sub_magnitudes): Likewise.
21457 (__add): Likewise.
21458 (__sub): Likewise.
21459 (__mul): Likewise.
21460 (__inv): Likewise.
21461 (__dvd): Likewise.
21462
eede9df9
JM
214632013-01-08 Joseph Myers <joseph@codesourcery.com>
21464
21465 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21466 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21467 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21468 2 && __USE_EXTERN_INLINES]: Likewise.
21469
c40ea3d9
AJ
214702013-01-08 Andreas Jaeger <aj@suse.de>
21471
21472 [BZ# 14985]
21473 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21474 Remove.
21475 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21476 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21477
2ccdea26
AB
214782013-01-07 Anton Blanchard <anton@samba.org>
21479
21480 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21481 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21482 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21483 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21484 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21485 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21486 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21487 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21489 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21490 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21491 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21492 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21493 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21494 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21495 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21496 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21497 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21498 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21499 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21500 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21501 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21502 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21503 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21504 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21505 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21506 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21507 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21508 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21509 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21510 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21512 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21513 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21514 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21515 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21516 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21517 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21518 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21519 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21520 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21521 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21522 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21523
a9708fed
JM
215242013-01-07 Joseph Myers <joseph@codesourcery.com>
21525
375607b9
JM
21526 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21527 (__MALLOC_PMT): Likewise.
21528 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21529 [__GNUC__], only on [_LIBC].
21530 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21531 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21532 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21533 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21534 forward declaration.
21535 (realloc_hook_ini): Likewise.
21536 (memalign_hook_ini): Likewise.
21537 (__libc_memalign): Do not use __MALLOC_PMT in variable
21538 declaration.
21539 (__libc_valloc): Likewise.
21540 (__libc_pvalloc): Likewise.
21541 (__libc_calloc): Likewise.
21542 (__posix_memalign): Likewise.
21543
a9708fed
JM
21544 [BZ #14996]
21545 * math/s_casinh.c: Include <float.h>.
21546 (__casinh): Do not do computation with squaring and square root
21547 for large arguments.
21548 * math/s_casinhf.c: Include <float.h>.
21549 (__casinhf): Do not do computation with squaring and square root
21550 for large arguments.
21551 * math/s_casinhl.c: Include <float.h>.
21552 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21553 (__casinhl): Do not do computation with squaring and square root
21554 for large arguments.
21555 * math/libm-test.inc (casin_test): Add more tests.
21556 (casinh_test): Likewise.
21557 * sysdeps/i386/fpu/libm-test-ulps: Update.
21558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21559
afec409a
L
215602013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21561
21562 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21563 (__x86_64_raw_data_cache_size): Likewise.
21564 (__x86_64_data_cache_size_half): Likewise.
21565 (__x86_64_raw_data_cache_size_half): Likewise.
21566 (__x86_64_shared_cache_size): Likewise.
21567 (__x86_64_raw_shared_cache_size): Likewise.
21568 (__x86_64_shared_cache_size_half): Likewise.
21569 (__x86_64_raw_shared_cache_size_half): Likewise.
21570 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21571 to ...
21572 (__x86_data_cache_size): This.
21573 (__x86_64_raw_data_cache_size): Renamed to ...
21574 (__x86_raw_data_cache_size): This.
21575 (__x86_64_data_cache_size_half): Renamed to ...
21576 (__x86_data_cache_size_half): This.
21577 (__x86_64_raw_data_cache_size_half): Renamed to ...
21578 (__x86_raw_data_cache_size_half): This.
21579 (__x86_64_shared_cache_size): Renamed to ...
21580 (__x86_shared_cache_size): This.
21581 (__x86_64_raw_shared_cache_size): Renamed to ...
21582 (__x86_raw_shared_cache_size): This.
21583 (__x86_64_shared_cache_size_half): Renamed to ...
21584 (__x86_shared_cache_size_half): This.
21585 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21586 (__x86_raw_shared_cache_size_half): This.
21587 * sysdeps/x86_64/memcpy.S: Updated.
21588 * sysdeps/x86_64/memset.S: Likewise.
21589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21590 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21591 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21592
0b3986d0
DM
215932013-01-04 David S. Miller <davem@davemloft.net>
21594
21595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21596
e47686e9
AS
215972013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21598
d643bac1
AS
21599 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21600 1 to avoid redefinition warning.
21601 (__USE_GNU): Don't define.
21602 (init_signaling_nan): Protoize.
21603
e47686e9
AS
21604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21605
b18decba
SP
216062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21607
fffb407f
SP
21608 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21610 (__cpymn): Likewise.
21611 (norm): Remove commented code.
21612 (denorm): Likewise.
21613 (__mp_dbl): Likewise.
21614 (__inv): Likewise.
21615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21616 (__cpymn): Likewise.
21617 (norm): Remove commented code.
21618 (denorm): Likewise.
21619 (__mp_dbl): Likewise.
21620 (__inv): Likewise.
21621
b18decba
SP
21622 * sysdeps/powerpc/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21628 mp_no value for 1.0 and 2.0.
21629 (norm): Use RADIXI instead of radixi.d.
21630 (denorm): Likewise.
21631 (__mul): Use 0.0 instead of zero.d.
21632
cdc1c96f
JM
216332013-01-04 Joseph Myers <joseph@codesourcery.com>
21634
21635 [BZ #14994]
21636 * math/s_casinh.c (__casinh): Reduce finite argument to first
21637 quadrant then set signs of results at the end.
21638 * math/s_casinhf.c (__casinhf): Likewise.
21639 * math/s_casinhl.c (__casinhl): Likewise.
21640 * math/libm-test.inc (casin_test): Add more tests.
21641 (casinh_test): Likewise.
21642 * sysdeps/i386/fpu/libm-test-ulps: Update.
21643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21644
302913e1
SP
216452013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21646
6420d207
SP
21647 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21648
a9e48ab4
SP
21649 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21650
b7837264
SP
21651 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21652 declarations.
21653 (denorm): Likewise.
21654 (__mp_dbl): Likewise.
21655 (__inv): Likewise.
21656
f8af25d2
SP
21657 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21658 and adjust the header comment.
21659
302913e1
SP
21660 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21661 variable name from declaration.
21662
5d7dd1ca
L
216632013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21664
21665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21666 Initialize COMMON_CPUID_INDEX_7 element.
21667 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21668 (CPUID_RTM): Likewise.
21669 (HAS_RTM): Likewise.
21670 (COMMON_CPUID_INDEX_7): New enum.
21671
2f5f40f4
AS
216722013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21673
21674 [BZ #14981]
21675 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21676 size is zero, record memory as freed.
21677
4056f4a0
AJ
216782013-01-03 Andreas Jaeger <aj@suse.de>
21679
21680 * po/ia.po: Add new Interlingua translation.
21681
ab15736f 216822012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21683
21684 * locale/programs/localedef.c: Fix description of '--posix' flag.
21685
568035b7
JM
216862013-01-02 Joseph Myers <joseph@codesourcery.com>
21687
e6898b8d
JM
21688 * NEWS: Update dates in second copyright notice.
21689 * README: Update copyright dates in example.
21690 * manual/libc.texinfo: Update copyright dates.
21691 * scripts/test-installation.pl: Update copyright date in --version
21692 output.
21693
0e2f9562
JM
21694 * hurd/ctty-input.c: Fix copyright notice formatting.
21695 * hurd/ctty-output.c: Likewise.
21696 * hurd/dtable.c: Likewise.
21697 * hurd/hurd-raise.c: Likewise.
21698 * hurd/hurdprio.c: Likewise.
21699 * hurd/msgportdemux.c: Likewise.
21700 * misc/sys/file.h: Likewise.
21701 * misc/sys/ioctl.h: Likewise.
21702 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21703 * sysdeps/mach/hurd/chdir.c: Likewise.
21704 * sysdeps/mach/hurd/fchdir.c: Likewise.
21705 * sysdeps/mach/hurd/rename.c: Likewise.
21706 * sysdeps/mach/hurd/rmdir.c: Likewise.
21707 * sysdeps/mach/hurd/seekdir.c: Likewise.
21708 * sysdeps/mach/hurd/setsid.c: Likewise.
21709 * sysdeps/posix/wait3.c: Likewise.
21710
568035b7
JM
21711 * All files with FSF copyright notices: Update copyright dates
21712 using scripts/update-copyrights.
21713 * intl/plural.c: Regenerated.
21714 * locale/programs/charmap-kw.h: Likewise.
21715 * locale/programs/locfile-kw.h: Likewise.
21716
da08f647
SP
217172013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21718
0f5477af
SP
21719 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21720 four values.
21721
44e0d4c2
SP
21722 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21723 calculation loop and add branch prediction.
21724
4d55b4e5
SP
21725 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21726 check access beyond bounds of m1np.
21727
da08f647
SP
21728 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21729 MPTWO.
21730 (__inv): Remove local variable MPTWO to use the global
21731 constant.
21732 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21733 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21734 variable MPTWO.
21735 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21736 MP3HALFS static const.
21737
8e051029
DM
217382013-01-01 David S. Miller <davem@davemloft.net>
21739
21740 * po/ca.po: Update from translation team.
21741
f4cf5f2d
JM
217422013-01-01 Joseph Myers <joseph@codesourcery.com>
21743
21744 * scripts/update-copyrights: New file.
21745 * Makeconfig: Reformat copyright notice.
21746 * ctype/ctype.h: Likewise.
21747 * debug/swprintf_chk.c: Likewise.
21748 * elf/dl-cache.c: Likewise.
21749 * elf/dl-debug.c: Likewise.
21750 * elf/dl-object.c: Likewise.
21751 * grp/initgroups.c: Likewise.
21752 * hurd/Makefile: Likewise.
21753 * hurd/hurd/signal.h: Likewise.
21754 * hurd/hurdfault.c: Likewise.
21755 * hurd/hurdioctl.c: Likewise.
21756 * hurd/hurdlookup.c: Likewise.
21757 * hurd/intr-msg.c: Likewise.
21758 * iconv/gconv_open.c: Likewise.
21759 * libio/swprintf.c: Likewise.
21760 * locale/lc-ctype.c: Likewise.
21761 * locale/nl_langinfo.c: Likewise.
21762 * mach/Machrules: Likewise.
21763 * mach/Makefile: Likewise.
21764 * malloc/obstack.h: Likewise.
21765 * manual/Makefile: Likewise.
21766 * manual/tsort.awk: Likewise.
21767 * misc/bits/stab.def: Likewise.
21768 * nis/nis_print_group_entry.c: Likewise.
21769 * nis/nis_table.c: Likewise.
21770 * nis/nss_compat/compat-pwd.c: Likewise.
21771 * nis/nss_compat/compat-spwd.c: Likewise.
21772 * po/Makefile: Likewise.
21773 * posix/fnmatch.c: Likewise.
21774 * posix/regex.h: Likewise.
21775 * resolv/Makefile: Likewise.
21776 * resolv/nss_dns/dns-network.c: Likewise.
21777 * resolv/res_hconf.c: Likewise.
21778 * scripts/gen-sorted.awk: Likewise.
21779 * soft-fp/soft-fp.h: Likewise.
21780 * stdio-common/printf.h: Likewise.
21781 * stdlib/monetary.h: Likewise.
21782 * stdlib/random.c: Likewise.
21783 * stdlib/random_r.c: Likewise.
21784 * sysdeps/generic/Makefile: Likewise.
21785 * sysdeps/gnu/Makefile: Likewise.
21786 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21787 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21788 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21796 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21797 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21798 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21799 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21800 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21801 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21802 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21804 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21806 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21807 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21808 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21809 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21810 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21812 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21814 * sysdeps/mach/hurd/errnos.awk: Likewise.
21815 * sysdeps/mach/hurd/fork.c: Likewise.
21816 * sysdeps/mach/hurd/getcwd.c: Likewise.
21817 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21818 * sysdeps/mach/hurd/mmap.c: Likewise.
21819 * sysdeps/mach/hurd/utimes.c: Likewise.
21820 * sysdeps/mach/hurd/xmknod.c: Likewise.
21821 * sysdeps/posix/profil.c: Likewise.
21822 * sysdeps/posix/readdir_r.c: Likewise.
21823 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21824 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21825 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21826 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21828 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21829 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21830 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21832 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21833 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21834 * sysdeps/pthread/lio_listio.c: Likewise.
21835 * sysdeps/sparc/dl-procinfo.h: Likewise.
21836 * sysdeps/unix/i386/sysdep.S: Likewise.
21837 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21838 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21839 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21840 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21842 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21843 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21844 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21845 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21846 * sysdeps/wordsize-32/divdi3.c: Likewise.
21847 * time/sys/time.h: Likewise.
21848 * wcsmbs/Makefile: Likewise.
21849
0549fbba
DM
218502013-01-01 David S. Miller <davem@davemloft.net>
21851
a141f1a7
DM
21852 * po/fr.po: Update from translation team.
21853
0549fbba
DM
21854 * catgets/gencat.c: Update copyright year.
21855 * csu/version.c: Likewise.
21856 * debug/catchsegv.sh: Likewise.
21857 * debug/pcprofiledump.c: Likewise.
21858 * debug/xtrace.sh: Likewise.
21859 * elf/ldconfig.c: Likewise.
21860 * elf/ldd.bash.in: Likewise.
21861 * elf/pldd.c: Likewise.
21862 * elf/sotruss.ksh: Likewise.
21863 * elf/sprof.c: Likewise.
21864 * iconv/iconv_prog.c: Likewise.
21865 * iconv/iconvconfig.c: Likewise.
21866 * locale/programs/locale.c: Likewise.
21867 * locale/programs/localedef.c: Likewise.
21868 * login/programs/pt_chown.c: Likewise.
21869 * malloc/memusage.sh: Likewise.
21870 * malloc/memusagestat.c: Likewise.
21871 * malloc/mtrace.pl: Likewise.
21872 * nscd/nscd.c: Likewise.
21873 * nss/getent.c: Likewise.
21874 * nss/makedb.c: Likewise.
21875 * posix/getconf.c: Likewise.
21876
18ea052c
SP
218772012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21878
21879 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21880 numbers.
21881
9c89fca6
MF
218822012-12-30 Mike Frysinger <vapier@gentoo.org>
21883
21884 * math/bits/mathcalls.h (modf): Use __nonnull.
21885
085ec079
SP
218862012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21887
21888 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21889 (split): Use macro CN instead of the bare value.
21890 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21891 could be used.
21892 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21893 instead of the bare value.
21894 (power1): Likewise.
21895
6d9f97e1
SP
218962012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21897
d63f73be
SP
21898 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21899 __ATAN_TWOM.
21900 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21901
6d9f97e1
SP
21902 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21903 their values.
21904 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21905 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21906 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21907 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21908
4c4febf5
AJ
219092012-12-28 Andreas Jaeger <aj@suse.de>
21910
af5843ef
AJ
21911 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21912 values are from Linux 3.7.
21913
4c4febf5
AJ
21914 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21915 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21916
99136f82
SP
219172012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21918
2f216c3c 21919 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21920 TRUE case.
21921
99136f82
SP
21922 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21923 (norm): Likewise.
21924 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21925 variables with preprocessor constants.
21926 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21927 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21928 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21929
7fffbdff
BH
219302012-12-27 Bruno Haible <bruno@clisp.org>
21931
21932 [BZ #14317]
21933 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21934 only if needed.
21935
b76eb5f0
SP
219362012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21937
31a7fe5c
SP
21938 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21939 and use variable directly.
21940 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21941
b76eb5f0
SP
21942 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21943 MPONE.
21944 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21945 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21946 variable MPONE.
21947 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21948 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21949 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21950 include directive. Remove local variable MPONE.
21951 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21952 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21953 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21954
2c8bfe7d
DM
219552012-12-25 David S. Miller <davem@davemloft.net>
21956
21957 * version.h (RELEASE): Set to "development".
21958 (VERSION): Set to "2.17.90".
21959 * NEWS: Add 2.18 section.
21960
147d03b0
DM
219612012-12-21 David S. Miller <davem@davemloft.net>
21962
21963 * po/hr.po: Update from translation team.
21964
a8ebb2b9
AK
219652012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21966
21967 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21968
95b4f1b6
SE
219692012-12-19 Steve Ellcey <sellcey@mips.com>
21970
b2d94007 21971 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21972
cedb2a90
MS
219732012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21974
21975 * manual/contrib.texi (Contributors): Spelling correction.
21976
bbf527d6
DM
219772012-12-15 David S. Miller <davem@davemloft.net>
21978
21979 * po/ru.po: Update from translation team.
21980
bc38c906
DM
219812012-12-13 David S. Miller <davem@davemloft.net>
21982
85429b1a
DM
21983 * NEWS: Mention IFUNC testsuite enhancements.
21984
d283e353
DM
21985 * po/pl.po: Update from translation team.
21986 * po/bg.po: Likewise.
21987
bc38c906
DM
21988 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21989 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21990
a181b0d7
DM
219912012-12-11 David S. Miller <davem@davemloft.net>
21992
4641d57e
DM
21993 * po/sv.po: Update from translation team.
21994
f7bc6495
DM
21995 * po/vi.po: Update from translation team.
21996
6fc9048f
DM
21997 * po/cs.po: Update from translation team.
21998
a181b0d7
DM
21999 * po/de.po: Update from translation team.
22000 * po/eo.po: Likewise.
22001 * po/nl.po: Likewise.
22002
f70bfe80
SP
220032012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22004
3c8b4190
SP
22005 [BZ #14246]
22006 * manual/argp.texi (Argp Helper Functions): Move node to follow
22007 Argp Parsing State.
22008
f70bfe80
SP
22009 [BZ #14872]
22010 * manual/conf.texi (Limits on File System Capacity): Mention if
22011 terminating null is included in the max size.
22012
188f0adf
AJ
220132012-12-10 Andreas Jaeger <aj@suse.de>
22014
22015 * po/cs.po: Update from translation team.
22016
56e7d3ad
SP
220172012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22018
22019 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22020 void pointer and cast to uintptr_t.
22021 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22022 path.
22023 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22024 * sysdeps/s390/s390-64/memset.S: Likewise.
22025
76f2d2ea 220262012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
22027
22028 [BZ #14833]
22029 * menual/message.texi (Message Translation): Fix typos.
22030 (Helper programs for gettext): Likewise.
22031
67cbf9a2
AS
220322012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22033
22034 [BZ #14898]
22035 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22036 Change to -1.
22037
682d0e9a
DM
220382012-12-07 David S. Miller <davem@davemloft.net>
22039
22040 * po/libc.pot: Update.
22041
573cd484
RH
220422012-12-07 Richard Henderson <rth@redhat.com>
22043
7e9da188 22044 [BZ #10114]
573cd484
RH
22045 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22046 normal/normal case to before the switch.
22047 (_FP_DIV): Likewise.
22048
e933a943
MF
220492012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22050 Mike Frysinger <vapier@gentoo.org>
22051
22052 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22053 check for __NR_fadvise64_64.
22054
82123268
CM
220552012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22056
22057 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22058 0, not just to plain "0" as a statement.
22059 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22060 with cw.
22061
d9814526
JM
220622012-12-06 Joseph Myers <joseph@codesourcery.com>
22063
22064 * NEWS: Use sourceware.org in Bugzilla URL.
22065
7728c574
SP
220662012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22067
f16946dd
SP
22068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22069 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22070
5704bbcb
SP
22071 * stdio-common/tst-put-error.c (do_test): Add newline to the
22072 padded test to ensure flush.
22073
17aa0516
JL
220742012-12-05 Jeff Law <law@redhat.com>
22075
22076 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22077
363313b5
JM
220782012-12-05 Joseph Myers <joseph@codesourcery.com>
22079
effbd42a
JM
22080 * README: Don't refer to ports add-on as distributed separately.
22081 Mention AArch64 in list of systems supported in the ports add-on.
22082
87600365
JM
22083 * LICENSES: Add more non-FSF copyright and license notices.
22084
a0d7066a
JM
22085 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22086 ((unused)).
22087
66ca5a5b
JM
22088 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22089
363313b5
JM
22090 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22091 10000 as width of padded output.
22092
b37984ad
JM
220932012-12-04 Joseph Myers <joseph@codesourcery.com>
22094
9003570a
JM
22095 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22096
b37984ad
JM
22097 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22098 variable LX with __attribute__ ((unused)).
22099 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22100 Likewise.
22101 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22102 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22103 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22104 with __attribute__ ((unused)).
22105
c8df52ec
DM
221062012-12-04 David S. Miller <davem@abraco.davemloft.net>
22107
22108 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22109
b3b099af
JM
221102012-12-04 Joseph Myers <joseph@codesourcery.com>
22111
c33aa6e3
JM
22112 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22113 (CFLAGS-nldbl-acos.c): New variable.
22114 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22115 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22116 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22117 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22118 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22119 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22120 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22121 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22122 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22123 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22124 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22125 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22126 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22127 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22128 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22129 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22130 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22131 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22132 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22133 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22134 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22135 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22136 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22137 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22138 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22139 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22140 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22141 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22142 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22143 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22144 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22145 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22146 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22147 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22148 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22149 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22150 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22151 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22152 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22153 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22154 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22155 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22156 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22157 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22158 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22159 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22160 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22161 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22162 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22163 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22164 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22165 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22166 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22167 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22168 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22169 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22170 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22171 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22172 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22173 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22174 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22175 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22176 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22177 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22178 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22179 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22180 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22181 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22182 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22183 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22184 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22185 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22186 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22187 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22188 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22189 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22190 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22191 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22192 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22193 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22194 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22195 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22196 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22197 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22198 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22199 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22200 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22201 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22202 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22203 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22204 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22205 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22206 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22207 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22208 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22209 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22210 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22211
20f0018d
JM
22212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22213 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22214
b3b099af
JM
22215 [BZ #14914]
22216 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22217 whole low double instead of just low 47 bits when splitting values
22218 into two parts.
22219
029264d1
AM
222202012-12-03 Allan McRae <allan@archlinux.org>
22221
22222 * manual/stdio.texi (Predefined Printf Handlers): Remove
22223 @hsep and @vsep usage.
22224
c9d6789e
MF
222252012-12-03 Mike Frysinger <vapier@gentoo.org>
22226
22227 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22228 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22229
4b7634a5
JL
222302012-12-03 Jeff Law <law@redhat.com>
22231
22232 * time/sys/time.h (settimeofday): Do not mark TV argument
22233 as __nonnull.
22234
eb6cbd24
MF
222352012-12-01 Mike Frysinger <vapier@gentoo.org>
22236
22237 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22238 when currently writing and seek to current position when not.
22239 * libio/Makefile (tests): Remove bug-fclose1.
22240 * libio/bug-fclose1.c: Delete.
22241
f638872a
JM
222422012-12-01 Joseph Myers <joseph@codesourcery.com>
22243
22244 * manual/arith.texi (feenableexcept): Fix typo.
22245 (fedisableexcept): Likewise.
22246
48085d14
RM
222472012-11-30 Roland McGrath <roland@hack.frob.com>
22248
22249 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22250 second, differently-typed declaration, rather than a cast.
22251
1a538b9f
SP
222522012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22253
22254 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22255 * include/rpc/svc.h: ... here.
22256
d07f2ff1 222572012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
22258
22259 [BZ #13013]
22260 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22261 depending n and resplen2 to catch cases where answer
22262 equals answerp2.
22263
c93ec1f0
CD
222642012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22265
22266 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22267 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22268
37db69de
MF
222692012-11-29 Mike Frysinger <vapier@gentoo.org>
22270
22271 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22272
e10c4e4f
RM
222732012-11-29 Roland McGrath <roland@hack.frob.com>
22274
22275 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22276
2af1b328
JL
222772012-11-28 Jeff Law <law@redhat.com>
22278
22279 [BZ #13761]
22280 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22281 dataset_temporary. Track alloca usage into alloca_used.
22282 If dataset is large allocate and release it via malloc/free.
22283
111db5b1
FW
222842012-06-04 Florian Weimer <fweimer@redhat.com>
22285
f06cc227 22286 [BZ #14197]
111db5b1
FW
22287 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22288
dd694abd
DM
222892012-11-28 David S. Miller <davem@davemloft.net>
22290
22291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22292
9984dd01
JM
222932012-11-28 Joseph Myers <joseph@codesourcery.com>
22294
22295 [BZ #14803]
22296 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22297 of pi/2 rounded to nearest to 64 bits.
22298 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22299 nearest to 64 bits.
22300 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22301 bits.
22302
14bc93a9
JL
223032012-11-28 Jeff Law <law@redhat.com>
22304 Martin Osvald <mosvald@redhat.com>
22305
22306 [BZ #14889]
22307 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22308 * sunrpc/svc.c: Include time.h.
22309 (__svc_accept_failed): New function.
22310 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22311 any reason other than EINTR, call __svc_accept_failed.
22312 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22313 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22314
e3c6aa3a
AS
223152012-11-28 Andreas Schwab <schwab@suse.de>
22316
22317 * scripts/abilist.awk: Also handle indirect functions in .opd
22318 section.
22319
1bead169
JM
223202012-11-28 Joseph Myers <joseph@codesourcery.com>
22321
22322 [BZ #13881]
22323 * sysdeps/x86/fpu/powl_helper.c: New file.
22324 * sysdeps/x86/fpu/Makefile: Likewise.
22325 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22326 (p3): New object.
22327 (__ieee754_powl): Use __powl_helper for finite arguments except
22328 integer exponents below 8.
22329 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22330 (p3): New object.
22331 (__ieee754_powl): Use __powl_helper for finite arguments except
22332 integer exponents below 8.
22333 * math/libm-test.inc (pow_test): Add more tests and enable some
22334 previously disabled tests.
22335 * sysdeps/i386/fpu/libm-test-ulps: Update.
22336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22337
0817d63d
SP
223382012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22339 Carlos O'Donell <carlos_odonell@mentor.com>
22340
22341 * nss/makedb.c (is_prime): Assert that input is odd and greater
22342 than 4. Note that fact in a comment too.
22343 (next_prime): Add 4 to input.
22344
de2fd463
SP
223452012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22346
22347 [BZ #11741]
22348 * libio/Makefile (tests): Add test case tst-fwrite-error.
22349 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22350 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22351 * libio/tst-fwrite-error.c: New test case.
22352
c515fb51
L
223532012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22354
22355 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22356 before casting to void *.
22357 * include/libc-internal.h (__pointer_type): New macro.
22358 (__integer_if_pointer_type_sub): Likewise.
22359 (__integer_if_pointer_type): Likewise.
22360 (cast_to_integer): Likewise.
22361 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22362 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22363 before casting to atomic64_t.
22364 (atomic_exchange_acq): Likewise.
22365 (__arch_exchange_and_add_body): Likewise.
22366 (__arch_add_body): Likewise.
22367 (atomic_add_negative): Likewise.
22368 (atomic_add_zero): Likewise.
22369
4cf77aa9
JM
223702012-11-26 Joseph Myers <joseph@codesourcery.com>
22371
22372 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22373 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22374 (add_fdes): Likewise.
22375 (linear_search_fdes): Likewise.
22376 (binary_search_unencoded_fdes): Likewise.
22377
d260b3b4
AS
223782012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22379
22380 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22381
67060746
AC
223822012-11-24 Adam Conrad <adconrad@0c3.net>
22383
22384 * configure.in: Autodetect C++ header directories.
22385 * configure: Regenerated.
22386
800938a1
MF
223872012-11-23 Mike Frysinger <vapier@gentoo.org>
22388
22389 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22390
4e6e34e6
AS
223912012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22392
22393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22394
7c7feb47
JM
223952012-11-22 Joseph Myers <joseph@codesourcery.com>
22396
7184dcdf
JM
22397 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22398 LDBL_MANT_DIG == 106]: Disable some tests.
22399 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22400 Likewise.
22401 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22402 Likewise.
22403
0a42601f
JM
22404 [BZ #14871]
22405 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22406 input for small inputs. Return +/- pi/2 for large inputs.
22407 * math/libm-test.inc (atan_test): Add more tests.
22408
79c9b9fe
JM
22409 * sysdeps/generic/unwind-dw2-fde-glibc.c
22410 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22411 __attribute__ ((unused)).
22412
c60d3bf2
JM
22413 [BZ #14645]
22414 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22415 x * y if x and y are nonzero and z is zero.
22416
ef1e0867
JM
22417 [BZ #14811]
22418 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22419 nonzero exponents with absolute value below 0x1p-117 to +/-
22420 0x1p-117.
22421
1468ded3
JM
22422 [BZ #14869]
22423 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22424 up arguments below 2**-450, not just those below 2**-500.
22425 * math/libm-test.inc (hypot_test): Add another test.
22426
8e27e3cc
JM
22427 [BZ #14868]
22428 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22429 Return a+b for ratio over 2**120, not 2**60.
22430 * math/libm-test.inc (hypot_test): Add another test.
22431
c9c0279b
JM
22432 * math/libm-test.inc (clog_test): Use
22433 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22434 (clog10_test): Likewise.
22435
7c7feb47
JM
22436 [BZ #6778]
22437 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22438
fff1530e
AS
224392012-11-22 Andreas Schwab <schwab@suse.de>
22440
22441 * sysdeps/i386/fpu/libm-test-ulps: Update.
22442
94558d30
PT
224432012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22444
22445 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22446 printf output with newline.
22447
7e1be741
L
224482012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22449
6bfea974
L
22450 [BZ #14865]
22451 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22452 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22453 -z nodlopen, -z initfirst and -z execstack support.
22454 * configure: Regenerated.
22455
7e1be741
L
22456 * elf/elf.h (DF_1_NODIRECT): New macro.
22457 (DF_1_IGNMULDEF): Likewise.
22458 (DF_1_NOKSYMS): Likewise.
22459 (DF_1_NOHDR): Likewise.
22460 (DF_1_EDITED): Likewise.
22461 (DF_1_NORELOC): Likewise.
22462 (DF_1_SYMINTPOSE): Likewise.
22463 (DF_1_GLOBAUDIT): Likewise.
22464 (DF_1_SINGLETON): Likewise.
22465 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22466 DT_1_SUPPORTED_MASK bits.
22467 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22468
105ce2ce
CD
224692012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22470
22471 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22472
123be9de
TS
224732012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22474
d072f3f7
TS
22475 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22476 macro.
22477
123be9de
TS
22478 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22479 (sendmmsg): Move declarations...
22480 * socket/sys/socket.h: ... here.
22481 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22482 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22483 include it from...
22484 * socket/recvmmsg.c: ... this new file.
22485 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22486 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22487 definition of __sendmmsg hidden.
22488 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22489 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22490 Move ENOSYS stub into and include it from...
22491 * socket/sendmmsg.c: ... this new file.
22492 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22493 (sysdep_routines): Move recvmmsg and sendmmsg...
22494 * socket/Makefile (routines): ... here.
22495 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22496 (GLIBC_PRIVATE): Add __sendmmsg.
22497 * include/sys/socket.h (__sendmmsg): Add declarations.
22498 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22499 sendmmsg.
22500
cf9a5d18
JM
225012012-11-20 Joseph Myers <joseph@codesourcery.com>
22502
22503 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22504 variable I1 with __attribute__ ((unused)).
22505 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22506
ecd4caf9
JM
225072012-11-19 Joseph Myers <joseph@codesourcery.com>
22508
be14d48f
JM
22509 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22510 DUMMY variables with __attribute__ ((unused)).
22511
ecd4caf9
JM
22512 * bits/byteswap.h: Include <bits/types.h>.
22513 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22514
986cab95
PT
225152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22516
22517 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22518 string_t. Do not manually set errno.
22519 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22520 length with __strnlen. Make sure to both set errno and return it on
22521 failure.
22522
6d33cc9d
DM
225232012-11-19 David S. Miller <davem@davemloft.net>
22524
22525 With help from Joseph Myers.
22526 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22527 very large arguments properly.
22528 * math/libm-test.inc (atan_test): New tests.
22529 (atan2_test): New tests.
22530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22532
ee663277
JM
225332012-11-19 Joseph Myers <joseph@codesourcery.com>
22534
877f2d8e
JM
22535 [BZ #14856]
22536 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22537 Define to 3.
22538
116fc08a
JM
22539 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22540 [POSIX] (EADDRNOTAVAIL): Likewise.
22541 [POSIX] (EAFNOSUPPORT): Likewise.
22542 [POSIX] (EALREADY): Likewise.
22543 [POSIX] (ECONNABORTED): Likewise.
22544 [POSIX] (ECONNREFUSED): Likewise.
22545 [POSIX] (ECONNRESET): Likewise.
22546 [POSIX] (EDESTADDRREQ): Likewise.
22547 [POSIX] (EDQUOT): Likewise.
22548 [POSIX] (EHOSTUNREACH): Likewise.
22549 [POSIX] (EIDRM): Likewise.
22550 [POSIX] (EISCONN): Likewise.
22551 [POSIX] (ELOOP): Likewise.
22552 [POSIX] (EMULTIHOP): Likewise.
22553 [POSIX] (ENETDOWN): Likewise.
22554 [POSIX] (ENETUNREACH): Likewise.
22555 [POSIX] (ENOBUFS): Likewise.
22556 [POSIX] (ENODATA): Likewise.
22557 [POSIX] (ENOLINK): Likewise.
22558 [POSIX] (ENOMSG): Likewise.
22559 [POSIX] (ENOPROTOOPT): Likewise.
22560 [POSIX] (ENOSR): Likewise.
22561 [POSIX] (ENOSTR): Likewise.
22562 [POSIX] (ENOTCONN): Likewise.
22563 [POSIX] (ENOTSOCK): Likewise.
22564 [POSIX] (EOPNOTSUPP): Likewise.
22565 [POSIX] (EOVERFLOW): Likewise.
22566 [POSIX] (EPROTO): Likewise.
22567 [POSIX] (EPROTONOSUPPORT): Likewise.
22568 [POSIX] (EPROTOTYPE): Likewise.
22569 [POSIX] (ESTALE): Likewise.
22570 [POSIX] (ETIME): Likewise.
22571 [POSIX] (ETXTBSY): Likewise.
22572 [POSIX] (EWOULDBLOCK): Likewise.
22573 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22574 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22575 [POSIX] (SEEK_CUR): Likewise.
22576 [POSIX] (SEEK_END): Likewise.
22577 [POSIX || UNIX98] (mode_t): Do not require.
22578 [POSIX] (off_t): Likewise.
22579 [POSIX] (pid_t): Likewise.
22580 [POSIX] (sys/stat.h): Do not allow header.
22581 [POSIX] (unistd.h): Likewise.
22582 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22583 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22584 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22585 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22586 require.
22587 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22588 sigevent): Specify elements.
22589 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22590 entry.
22591 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22592 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22593
a483863f
JM
22594 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22595 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22596 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22597 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22598 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22599 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22600 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22601 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22602 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22603 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22604 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22605 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22606 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22607 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22608 Likewise.
22609 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22610 Likewise.
22611 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22612 Likewise.
22613 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22614 Likewise.
22615 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22616 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22617 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22618 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22619 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22620 Specify lower bound on value.
22621 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22622 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22623 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22624 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22625 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22626 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22627 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22628 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22629 value.
22630 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22631 as optional.
22632 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22633 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22634 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22635 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22636 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22637 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22638 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22639 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22640 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22641 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22642 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22643 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22644 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22645 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22646 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22647 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22648 entry.
22649 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22650 optional.
22651 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22652 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22653 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22654 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22655 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22656 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22657 Likewise.
22658 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22659 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22660 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22661 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22662 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22663 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22664 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22665 as optional.
22666 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22667 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22668 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22669 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22670 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22671 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22672 specify as optional.
22673 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22674 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22675 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22676 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22677 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22678 [XPG3] (NL_LANGMAX): Likewise.
22679 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22680 [POSIX || XPG3] (NL_NMAX): Likewise.
22681 [POSIX || XPG3] (NL_SETMAX): Likewise.
22682 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22683 [XPG3] (NZERO): Likewise.
22684 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22685 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22686 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22687 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22688 (REG_ERANGE): Expect.
22689 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22690 optional-constant.
22691 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22692 Use (void) in prototype.
22693 [POSIX] (*_t): Allow.
22694 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22695 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22696 (WRDE_BADVAL): Expect.
22697
5ba924e3
JM
22698 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22699 expect.
22700 [XPG3 || XPG4] (O_RSYNC): Likewise.
22701 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22702 Likewise.
22703 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22704 [XPG3 || XPG4] (sigqueue): Likewise.
22705 [XPG3 || XPG4] (sigtimedwait): Likewise.
22706 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22707 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22708 [XPG3 || XPG4] (vsnprintf): Likewise.
22709 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22710 Likewise.
22711 [XPG3 || XPG4] (blksize_t): Likewise.
22712 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22713 Likewise.
22714 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22715 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22716 [XPG3 || XPG4] (struct itimerspec): Likewise.
22717 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22718 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22719 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22720 [XPG3 || XPG4] (clockid_t): Likewise.
22721 [XPG3 || XPG4] (timer_t): Likewise.
22722 [XPG3 || XPG4] (clock_getres): Likewise.
22723 [XPG3 || XPG4] (clock_gettime): Likewise.
22724 [XPG3 || XPG4] (clock_settime): Likewise.
22725 [XPG3 || XPG4] (nanosleep): Likewise.
22726 [XPG3 || XPG4] (timer_create): Likewise.
22727 [XPG3 || XPG4] (timer_delete): Likewise.
22728 [XPG3 || XPG4] (timer_gettime): Likewise.
22729 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22730 [XPG3 || XPG4] (timer_settime): Likewise.
22731 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22732 [XPG3 || XPG4] (getlogin_r): Likewise.
22733 [XPG3 || XPG4] (pread): Likewise.
22734 [XPG3 || XPG4] (pthread_atfork): Likewise.
22735 [XPG3 || XPG4] (pwrite): Likewise.
22736
ee663277
JM
22737 [BZ #14835]
22738 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22739 <bits/siginfo.h>.
22740
942caa16
PT
227412012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22742
e19af380
PT
22743 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22744 finalizing MALLSTREAM.
22745
942caa16
PT
22746 * sysdeps/mach/hurd/syncfs.c: New file.
22747
cfde9b46
SP
227482012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22749
22750 [BZ #14719]
22751 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22752 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22753 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22754 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22755 (_nss_dns_gethostbyname4_r): Likewise.
22756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22757 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22758
f6da27e5
PH
227592012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22760
22761 [BZ #13763]
22762 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22763
6665d4a2
SM
227642012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22765
1f51ee92
SM
22766 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22767 * elf/cache.c (print_entry): Print ",AArch64" for
22768 FLAG_AARCH64_LIB64
22769
6665d4a2
SM
22770 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22771 * elf/cache.c (print_entry): Print ",hard-float" for
22772 FLAG_ARM_LIBHF.
22773
05b227bd
DM
227742012-11-18 David S. Miller <davem@davemloft.net>
22775
22776 With help from Joseph Myers.
22777 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22778 cutoff to 2**-13.
22779 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22780 cutoff to 2**-25.
22781 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22782 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22783 small.
22784 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22785 * math/libm-test.inc (y0_test): New tests.
22786 (y1_test): New tests.
22787 * sysdeps/i386/fpu/libm-test-ulps: Update.
22788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22790
786b0b67
AS
227912012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22792
22793 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22794 64-bit targets.
22795 * configure: Regenerated.
22796
8e18b86d
DM
227972012-11-17 David S. Miller <davem@davemloft.net>
22798
22799 [BZ #14811]
22800 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22801 nonzero exponents with absolute value below 0x1p-128 to +/-
22802 0x1p-128.
22803
531f1ae0
JM
228042012-11-17 Joseph Myers <joseph@codesourcery.com>
22805
12df29e2
JM
22806 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22807
150dc1a0
JM
22808 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22809
531f1ae0
JM
22810 * posix/getconf-speclist.c: New file.
22811 * posix/posix-envs.def: Likewise.
22812 * posix/confstr.c (START_ENV_GROUP): New macro.
22813 (END_ENV_GROUP): Likewise.
22814 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22815 (KNOWN_PRESENT_ENV_STRING): Likewise.
22816 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22817 (UNKNOWN_ENVIRONMENT): Likewise.
22818 (confstr): Include posix-envs.def instead of handling
22819 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22820 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22821 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22822 (END_ENV_GROUP): Likewise.
22823 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22824 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22825 (UNKNOWN_ENVIRONMENT): Likewise.
22826 (__sysconf): Include posix-envs.def instead of handling associated
22827 cases directly here.
22828 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22829 preprocessing getconf-speclist.c rather than running getconf or
22830 generating empty file.
22831
a93f9cbc
PT
228322012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22833
22834 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22835
d64d9f87
AL
228362012-11-16 Andrej Lajovic <natrij@gmail.com>
22837
22838 [BZ #14672]
22839 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22840
447885eb
DM
228412012-11-16 David S. Miller <davem@davemloft.net>
22842
22843 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22844 smaller than LDBL_EPSILON/2.0L, just return xm1.
22845
bcbf9830
L
228462012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22847
22848 * elf/tst-array1.c (init): Set constructor priority to 1000.
22849 (fini): Set destructor priority to 1000.
22850 * elf/tst-array2dep.c: Likewise.
22851
2b766585
SP
228522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22853
22854 [BZ #11741]
22855 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22856 (_IO_new_file_xsputn): Also return EOF if none of the input
22857 data was written when overflow failed.
22858 * libio/iopadn.c (_IO_padn): Likewise.
22859 * libio/iowpadn.c (_IO_wpadn): Likewise.
22860 * stdio-common/tst-put-error.c: Add copyright notice.
22861 (do_test): Add case for printing padded string.
22862 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22863 _IO_padn returned error.
22864 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22865 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22866 return EOF.
22867
b1848fde
SP
228682012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22869
22870 * libio/libioP.h: Add comment note that the references to C++
22871 bits are now obsolete.
22872
2fd89785
MS
228732012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22874
22875 * math/libm-test.inc (check_complex): Use asprintf.
22876
e3ea5409
JM
228772012-11-14 Joseph Myers <joseph@codesourcery.com>
22878
22879 * debug/pcprofiledump.c (print_version): Update copyright year.
22880 * malloc/memusagestat.c (print_version): Likewise.
22881
2e64d265
L
228822012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22883
22884 [BZ #14831]
22885 * elf/Makefile (tests): Add tst-audit8.
22886 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22887 ($(objpfx)tst-audit8.out): New target.
22888 (tst-audit8-ENV): New variable.
22889 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22890 audit if l_reloc_result is NULL.
22891 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22892 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22893 * elf/tst-audit8.c: New file.
22894
c485e4d2
MS
228952012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22896
22897 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22898 * misc/Makefile (CFLAGS-select.c): Define.
22899 * posix/Makefile (CFLAGS-pause.c): Define.
22900
3a0d900a
DM
229012012-11-13 David S. Miller <davem@davemloft.net>
22902
22903 * crypt/Makefile: Move test targets after toplevel Rules
22904 inclusion. Grab any necessary sysdep routines when linking.
22905 * crypt/md5.c (md5_process_block): Remove define, we will always
22906 name it __md5_process_block.
22907 (md5_finish_ctx): Update md5_process_block call.
22908 (md5_stream): Likewise.
22909 (md5_process_bytes): Likewise.
22910 (md5_process_block): Rename to __md5_process_block and move to ...
22911 * crypt/md5-block.c: ... here.
22912 * crypt/sha256.c (sha256_process_block): Move to ...
22913 * crypt/sha256-block.c: ... here.
22914 * crypt/sha512.c (sha512_process_block): Move to ...
22915 * crypt/sha512-block.c: ... here.
22916 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22917 path.
22918 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22919 * sysdeps/sparc/sparc64/multiarch/Makefile
22920 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22921 crypt subdir.
22922 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22923 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22924 multiarch changes.
22925 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22926 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22927 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22928 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22929 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22930 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22931 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22932 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22933 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22934 file.
22935 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22936 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22937 file.
22938 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22939
8ca89318
JM
229402012-11-13 Joseph Myers <joseph@codesourcery.com>
22941
e27d476a
JM
22942 * timezone/tzselect.ksh: Update from tzcode git revision
22943 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22944 * timezone/zdump.c: Likewise.
22945 * timezone/zic.c: Likewise.
22946 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22947 in TZVERSION setting, not $(PKGVERSION).
22948 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22949 REPORT_BUGS_TO settings.
22950
8ca89318
JM
22951 [BZ #14838]
22952 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22953 macro.
22954
47594329
MS
229552012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22956
22957 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22958 detection to immediately after _FP_ROUND().
22959 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22960 bits are 0.
22961
640ac3f1
DM
229622012-11-11 David S. Miller <davem@davemloft.net>
22963
22964 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22965 inttypes.h
22966 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22967 __close rather than their public counterparts.
22968
3d2577bb
JM
229692012-11-10 Joseph Myers <joseph@codesourcery.com>
22970
22971 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22972 file.
22973 [UNIX98] (sem_timedwait): Do not expect.
22974 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22975 [XPG4 || UNIX98] (sockatmark): Do not expect.
22976 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22977 (clock_getcpuclockid): Do not expect.
22978 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22979 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22980 Do not expect.
22981 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22982 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22983 [UNIX98] (vwscanf): Likewise.
22984 [UNIX98] (vswscanf): Likewise.
22985
fb1ae1ee
JM
229862012-11-09 Joseph Myers <joseph@codesourcery.com>
22987
9ec6f8bd
JM
22988 * timezone/version.h: Remove file.
22989 * timezone/README: Do not refer to version.h.
22990 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22991 $(objpfx)version.h.
22992 ($(objpfx)zdump.o): Likewise.
c3f81911 22993 ($(objpfx)version.h): New target.
9ec6f8bd 22994
0aa8f8a1
JM
22995 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22996 2012i.
22997 * timezone/README: Don't mention modification to tzselect.ksh.
22998 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22999 work on unmodified tzselect.ksh. Substitute version numbers in
23000 tzselect.ksh.
23001
4e87147f
JM
23002 * Makefile (format-me): Remove.
23003 (INSTALL): Adjust indentation. Use commands directly instead of
23004 using $(format-me).
23005
8b748aed
JM
23006 * aclocal.m4 (ACX_PKGVERSION): New macro.
23007 (ACX_BUGURL): Likewise.
23008 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23009 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23010 (REPORT_BUGS_TO): Likewise.
23011 * configure: Regenerated.
23012 * config.h.in (PKGVERSION): New macro.
23013 (REPORT_BUGS_TO): Likewise.
23014 * config.make.in (PKGVERSION): New variable.
23015 (PKGVERSION_TEXI): Likewise.
23016 (REPORT_BUGS_TO): Likewise.
23017 (REPORT_BUGS_TEXI): Likewise.
23018 * Makefile (format-me): Use -I$(common-objpfx)manual.
23019 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23020 ($(common-objpfx)manual/%): New target.
23021 (manual/%): Remove target.
23022 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23023 (print_version): Use PKGVERSION.
23024 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23025 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23026 and REPORT_BUGS_TO.
23027 ($(objpfx)xtrace): Likewise.
23028 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23029 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23030 (print_version): Use PKGVERSION.
23031 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23032 (do_version): Use PKGVERSION.
23033 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23034 REPORT_BUGS_TO.
23035 (common-ldd-rewrite): Likewise.
23036 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23037 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23038 (print_version): Use PKGVERSION.
23039 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23040 * elf/pldd.c (argp_program_bug_address): Remove variable.
23041 (more_help): New function.
23042 (argp): Use more_help.
23043 (print_version): Use PKGVERSION.
23044 * elf/sln.c (main): Use PKGVERSION.
23045 (usage): Use REPORT_BUGS_TO.
23046 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23047 (top level): Use PKGVERSION.
23048 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23049 (print_version): Use PKGVERSION.
23050 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23051 (print_version): Use PKGVERSION.
23052 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23053 (print_version): Use PKGVERSION.
23054 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23055 (print_version): Use PKGVERSION.
23056 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23057 (print_version): Use PKGVERSION.
23058 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23059 (print_version): Use PKGVERSION.
23060 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23061 and BUGURL.
23062 ($(objpfx)memusage): Likewise.
23063 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23064 (do_version): Use PKGVERSION.
23065 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23066 (print_version): Use PKGVERSION.
23067 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23068 ($PKGVERSION): New variable.
23069 ($REPORT_BUGS_TO): Likewise.
23070 (usage): Use $REPORT_BUGS_TO.
23071 (top level): Use $PKGVERSION.
23072 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23073 ($(objpfx)pkgvers.texi): New rule.
23074 ($(objpfx)stamp-pkgvers): Likewise.
23075 * manual/install.texi: Include pkgvers.texi.
23076 (--with-pkgversion): Document new configure option.
23077 (--with-bugurl): Likewise.
23078 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23079 than necessarily for this particular distribution. Use
23080 REPORT_BUGS_TO for where to report bugs.
23081 * INSTALL: Regenerated.
23082 * manual/libc.texinfo: Include pkgvers.texi.
23083 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23084 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23085 (print_version): Use PKGVERSION.
23086 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23087 (print_version): Use PKGVERSION.
23088 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23089 (print_version): Use PKGVERSION.
23090 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23091 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23092 macro.
23093 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23094 (print_version): Use PKGVERSION.
23095 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23096 (print_version): Use PKGVERSION.
23097 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23098 and PKGVERSION.
23099
92e4b6a9
JM
23100 * timezone/checktab.awk: Update from tzcode 2012i.
23101 * timezone/ialloc.c: Likewise.
23102 * timezone/private.h: Likewise.
23103 * timezone/scheck.c: Likewise.
23104 * timezone/tzfile.h: Likewise.
23105 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23106 (TZVERSION): Hardcode tzcode version number.
23107 * timezone/zdump.c: Update from tzcode 2012i.
23108 * timezone/zic.c: Likewise.
23109 * timezone/version.h: New file.
23110 * timezone/README: Describe version.h. Update upstream location.
23111
9bde902c
JM
23112 [BZ #14824]
23113 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23114 (mktemp): Enable declaration.
23115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23116 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23118 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23119 Likewise.
23120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23121 Likewise.
23122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23123 Likewise.
23124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23125 Likewise.
23126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23127 Likewise.
23128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23129 Likewise.
23130
fb1ae1ee
JM
23131 [BZ #14821]
23132 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23133 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23134 for copies of such integer values.
23135 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23136 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23137
2c1adbcb
AJ
231382012-11-09 Andreas Jaeger <aj@suse.de>
23139
23140 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23141 definitions and declarations that are provided by
23142 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23143
d0f8457e
AK
231442012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23145
3a235abb 23146 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
23147 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23148 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23149 definition.
23150
57241e26
MS
231512012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23152
23153 * elf/elf.h: Update comment before AArch64 relocations.
23154
60e8270d
DM
231552012-11-07 David S. Miller <davem@davemloft.net>
23156
23157 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23158 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23159 (__start_context): Declare.
23160 (__makecontext_ret): Delete.
23161 (__makecontext): Hook up __start_context instead of
23162 __makecontext_ret.
23163 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23164 (sysdep_routines): Add __start_context when in stdlib.
23165
0fbb0fbc
JM
231662012-11-07 Joseph Myers <joseph@codesourcery.com>
23167
23168 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23169 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23170 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23171 hardcoded "nm".
23172 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23173 (READELF): New variable. Use it instead of hardcoded "readelf".
23174
eb48db7e
L
231752012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23176
23177 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23178 * sysdeps/x86/Makefile: Here.
23179 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23180 * sysdeps/x86/tst-xmmymm.sh: This.
23181
05bcf62a
JM
231822012-11-07 Joseph Myers <joseph@codesourcery.com>
23183
c4b6cf53
JM
23184 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23185 expectations.
23186 [UNIX98] (pthread_barrier_t): Do not expect.
23187 [UNIX98] (pthread_barrierattr_t): Likewise.
23188 [UNIX98] (pthread_spinlock_t): Likewise.
23189 [UNIX98] (pthread_barrier_destroy): Likewise.
23190 [UNIX98] (pthread_barrier_init): Likewise.
23191 [UNIX98] (pthread_barrier_wait): Likewise.
23192 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23193 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23194 [UNIX98] (pthread_barrierattr_init): Likewise.
23195 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23196 [UNIX98] (pthread_getcpuclockid): Likewise.
23197 [UNIX98] (pthread_mutex_timedlock): Likewise.
23198 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23199 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23200 [UNIX98] (pthread_sigmask): Likewise.
23201 [UNIX98] (pthread_spin_destroy): Likewise.
23202 [UNIX98] (pthread_spin_init): Likewise.
23203 [UNIX98] (pthread_spin_lock): Likewise.
23204 [UNIX98] (pthread_spin_trylock): Likewise.
23205 [UNIX98] (pthread_spin_unlock): Likewise.
23206 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23207 Do not expect.
23208 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23209 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23210 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23211 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23212 [XPG3 || XPG4] (pthread_key_t): Likewise.
23213 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23214 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23215 [XPG3 || XPG4] (pthread_once_t): Likewise.
23216 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23217 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23218 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23219 [XPG3 || XPG4] (pthread_t): Likewise.
23220
cbe6e120
JM
23221 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23222 not expect.
23223 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23224
1b126443
JM
23225 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23226 Change function return type to int.
23227
b961a573
JM
23228 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23229 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23230 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23231 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23232 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23233 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23234 [!POSIX] (posix_madvise): Likewise.
23235 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23236 && !UNIX98].
23237 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23238 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23239 (mode_t): Likewise.
23240 (posix_mem_offset): Likewise.
23241 (posix_typed_mem_get_info): Likewise.
23242 (posix_typed_mem_open): Likewise.
23243
9e188909
JM
23244 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23245 Change condition to [XOPEN2K8].
23246
05bcf62a
JM
23247 * conform/conformtest.pl: Preprocess allow-header data with -x c
23248 instead of from stdin.
23249 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23250 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23251 [C99-based standards] (cerfc): Likewise.
23252 [C99-based standards] (cexp2): Likewise.
23253 [C99-based standards] (cexpm1): Likewise.
23254 [C99-based standards] (clog10): Likewise.
23255 [C99-based standards] (clog1p): Likewise.
23256 [C99-based standards] (clog2): Likewise.
23257 [C99-based standards] (clgamma): Likewise.
23258 [C99-based standards] (ctgamma): Likewise.
23259 [C99-based standards] (cerff): Likewise.
23260 [C99-based standards] (cerfcf): Likewise.
23261 [C99-based standards] (cexp2f): Likewise.
23262 [C99-based standards] (cexpm1f): Likewise.
23263 [C99-based standards] (clog10f): Likewise.
23264 [C99-based standards] (clog1pf): Likewise.
23265 [C99-based standards] (clog2f): Likewise.
23266 [C99-based standards] (clgammaf): Likewise.
23267 [C99-based standards] (ctgammaf): Likewise.
23268 [C99-based standards] (cerfl): Likewise.
23269 [C99-based standards] (cerfcl): Likewise.
23270 [C99-based standards] (cexp2l): Likewise.
23271 [C99-based standards] (cexpm1l): Likewise.
23272 [C99-based standards] (clog10l): Likewise.
23273 [C99-based standards] (clog1pl): Likewise.
23274 [C99-based standards] (clog2l): Likewise.
23275 [C99-based standards] (clgammal): Likewise.
23276 [C99-based standards] (ctgammal): Likewise.
23277 * conform/data/inttypes.h-data [C99-based standards]: Include
23278 stdint.h-data. Remove all expectations for stdint.h contents.
23279 [C99-based standards] (PRI*): Do not allow.
23280 [C99-based standards] (SCN*): Likewise.
23281 [C99-based standards] (*_t): Likewise.
23282 [C99-based-standards] (PRId8): Expect macro.
23283 [C99-based-standards] (PRIi8): Likewise.
23284 [C99-based-standards] (PRIo8): Likewise.
23285 [C99-based-standards] (PRIu8): Likewise.
23286 [C99-based-standards] (PRIx8): Likewise.
23287 [C99-based-standards] (PRIX8): Likewise.
23288 [C99-based-standards] (SCNd8): Likewise.
23289 [C99-based-standards] (SCNi8): Likewise.
23290 [C99-based-standards] (SCNo8): Likewise.
23291 [C99-based-standards] (SCNu8): Likewise.
23292 [C99-based-standards] (SCNx8): Likewise.
23293 [C99-based-standards] (PRIdLEAST8): Likewise.
23294 [C99-based-standards] (PRIiLEAST8): Likewise.
23295 [C99-based-standards] (PRIoLEAST8): Likewise.
23296 [C99-based-standards] (PRIuLEAST8): Likewise.
23297 [C99-based-standards] (PRIxLEAST8): Likewise.
23298 [C99-based-standards] (PRIXLEAST8): Likewise.
23299 [C99-based-standards] (SCNdLEAST8): Likewise.
23300 [C99-based-standards] (SCNiLEAST8): Likewise.
23301 [C99-based-standards] (SCNoLEAST8): Likewise.
23302 [C99-based-standards] (SCNuLEAST8): Likewise.
23303 [C99-based-standards] (SCNxLEAST8): Likewise.
23304 [C99-based-standards] (PRIdFAST8): Likewise.
23305 [C99-based-standards] (PRIiFAST8): Likewise.
23306 [C99-based-standards] (PRIoFAST8): Likewise.
23307 [C99-based-standards] (PRIuFAST8): Likewise.
23308 [C99-based-standards] (PRIxFAST8): Likewise.
23309 [C99-based-standards] (PRIXFAST8): Likewise.
23310 [C99-based-standards] (SCNdFAST8): Likewise.
23311 [C99-based-standards] (SCNiFAST8): Likewise.
23312 [C99-based-standards] (SCNoFAST8): Likewise.
23313 [C99-based-standards] (SCNuFAST8): Likewise.
23314 [C99-based-standards] (SCNxFAST8): Likewise.
23315 [C99-based-standards] (PRId16): Likewise.
23316 [C99-based-standards] (PRIi16): Likewise.
23317 [C99-based-standards] (PRIo16): Likewise.
23318 [C99-based-standards] (PRIu16): Likewise.
23319 [C99-based-standards] (PRIx16): Likewise.
23320 [C99-based-standards] (PRIX16): Likewise.
23321 [C99-based-standards] (SCNd16): Likewise.
23322 [C99-based-standards] (SCNi16): Likewise.
23323 [C99-based-standards] (SCNo16): Likewise.
23324 [C99-based-standards] (SCNu16): Likewise.
23325 [C99-based-standards] (SCNx16): Likewise.
23326 [C99-based-standards] (PRIdLEAST16): Likewise.
23327 [C99-based-standards] (PRIiLEAST16): Likewise.
23328 [C99-based-standards] (PRIoLEAST16): Likewise.
23329 [C99-based-standards] (PRIuLEAST16): Likewise.
23330 [C99-based-standards] (PRIxLEAST16): Likewise.
23331 [C99-based-standards] (PRIXLEAST16): Likewise.
23332 [C99-based-standards] (SCNdLEAST16): Likewise.
23333 [C99-based-standards] (SCNiLEAST16): Likewise.
23334 [C99-based-standards] (SCNoLEAST16): Likewise.
23335 [C99-based-standards] (SCNuLEAST16): Likewise.
23336 [C99-based-standards] (SCNxLEAST16): Likewise.
23337 [C99-based-standards] (PRIdFAST16): Likewise.
23338 [C99-based-standards] (PRIiFAST16): Likewise.
23339 [C99-based-standards] (PRIoFAST16): Likewise.
23340 [C99-based-standards] (PRIuFAST16): Likewise.
23341 [C99-based-standards] (PRIxFAST16): Likewise.
23342 [C99-based-standards] (PRIXFAST16): Likewise.
23343 [C99-based-standards] (SCNdFAST16): Likewise.
23344 [C99-based-standards] (SCNiFAST16): Likewise.
23345 [C99-based-standards] (SCNoFAST16): Likewise.
23346 [C99-based-standards] (SCNuFAST16): Likewise.
23347 [C99-based-standards] (SCNxFAST16): Likewise.
23348 [C99-based-standards] (PRId32): Likewise.
23349 [C99-based-standards] (PRIi32): Likewise.
23350 [C99-based-standards] (PRIo32): Likewise.
23351 [C99-based-standards] (PRIu32): Likewise.
23352 [C99-based-standards] (PRIx32): Likewise.
23353 [C99-based-standards] (PRIX32): Likewise.
23354 [C99-based-standards] (SCNd32): Likewise.
23355 [C99-based-standards] (SCNi32): Likewise.
23356 [C99-based-standards] (SCNo32): Likewise.
23357 [C99-based-standards] (SCNu32): Likewise.
23358 [C99-based-standards] (SCNx32): Likewise.
23359 [C99-based-standards] (PRIdLEAST32): Likewise.
23360 [C99-based-standards] (PRIiLEAST32): Likewise.
23361 [C99-based-standards] (PRIoLEAST32): Likewise.
23362 [C99-based-standards] (PRIuLEAST32): Likewise.
23363 [C99-based-standards] (PRIxLEAST32): Likewise.
23364 [C99-based-standards] (PRIXLEAST32): Likewise.
23365 [C99-based-standards] (SCNdLEAST32): Likewise.
23366 [C99-based-standards] (SCNiLEAST32): Likewise.
23367 [C99-based-standards] (SCNoLEAST32): Likewise.
23368 [C99-based-standards] (SCNuLEAST32): Likewise.
23369 [C99-based-standards] (SCNxLEAST32): Likewise.
23370 [C99-based-standards] (PRIdFAST32): Likewise.
23371 [C99-based-standards] (PRIiFAST32): Likewise.
23372 [C99-based-standards] (PRIoFAST32): Likewise.
23373 [C99-based-standards] (PRIuFAST32): Likewise.
23374 [C99-based-standards] (PRIxFAST32): Likewise.
23375 [C99-based-standards] (PRIXFAST32): Likewise.
23376 [C99-based-standards] (SCNdFAST32): Likewise.
23377 [C99-based-standards] (SCNiFAST32): Likewise.
23378 [C99-based-standards] (SCNoFAST32): Likewise.
23379 [C99-based-standards] (SCNuFAST32): Likewise.
23380 [C99-based-standards] (SCNxFAST32): Likewise.
23381 [C99-based-standards] (PRId64): Likewise.
23382 [C99-based-standards] (PRIi64): Likewise.
23383 [C99-based-standards] (PRIo64): Likewise.
23384 [C99-based-standards] (PRIu64): Likewise.
23385 [C99-based-standards] (PRIx64): Likewise.
23386 [C99-based-standards] (PRIX64): Likewise.
23387 [C99-based-standards] (SCNd64): Likewise.
23388 [C99-based-standards] (SCNi64): Likewise.
23389 [C99-based-standards] (SCNo64): Likewise.
23390 [C99-based-standards] (SCNu64): Likewise.
23391 [C99-based-standards] (SCNx64): Likewise.
23392 [C99-based-standards] (PRIdLEAST64): Likewise.
23393 [C99-based-standards] (PRIiLEAST64): Likewise.
23394 [C99-based-standards] (PRIoLEAST64): Likewise.
23395 [C99-based-standards] (PRIuLEAST64): Likewise.
23396 [C99-based-standards] (PRIxLEAST64): Likewise.
23397 [C99-based-standards] (PRIXLEAST64): Likewise.
23398 [C99-based-standards] (SCNdLEAST64): Likewise.
23399 [C99-based-standards] (SCNiLEAST64): Likewise.
23400 [C99-based-standards] (SCNoLEAST64): Likewise.
23401 [C99-based-standards] (SCNuLEAST64): Likewise.
23402 [C99-based-standards] (SCNxLEAST64): Likewise.
23403 [C99-based-standards] (PRIdFAST64): Likewise.
23404 [C99-based-standards] (PRIiFAST64): Likewise.
23405 [C99-based-standards] (PRIoFAST64): Likewise.
23406 [C99-based-standards] (PRIuFAST64): Likewise.
23407 [C99-based-standards] (PRIxFAST64): Likewise.
23408 [C99-based-standards] (PRIXFAST64): Likewise.
23409 [C99-based-standards] (SCNdFAST64): Likewise.
23410 [C99-based-standards] (SCNiFAST64): Likewise.
23411 [C99-based-standards] (SCNoFAST64): Likewise.
23412 [C99-based-standards] (SCNuFAST64): Likewise.
23413 [C99-based-standards] (SCNxFAST64): Likewise.
23414 [C99-based-standards] (PRIdMAX): Likewise.
23415 [C99-based-standards] (PRIiMAX): Likewise.
23416 [C99-based-standards] (PRIoMAX): Likewise.
23417 [C99-based-standards] (PRIuMAX): Likewise.
23418 [C99-based-standards] (PRIxMAX): Likewise.
23419 [C99-based-standards] (PRIXMAX): Likewise.
23420 [C99-based-standards] (SCNdMAX): Likewise.
23421 [C99-based-standards] (SCNiMAX): Likewise.
23422 [C99-based-standards] (SCNoMAX): Likewise.
23423 [C99-based-standards] (SCNuMAX): Likewise.
23424 [C99-based-standards] (SCNxMAX): Likewise.
23425 [C99-based-standards] (PRIdPTR): Likewise.
23426 [C99-based-standards] (PRIiPTR): Likewise.
23427 [C99-based-standards] (PRIoPTR): Likewise.
23428 [C99-based-standards] (PRIuPTR): Likewise.
23429 [C99-based-standards] (PRIxPTR): Likewise.
23430 [C99-based-standards] (PRIXPTR): Likewise.
23431 [C99-based-standards] (SCNdPTR): Likewise.
23432 [C99-based-standards] (SCNiPTR): Likewise.
23433 [C99-based-standards] (SCNoPTR): Likewise.
23434 [C99-based-standards] (SCNuPTR): Likewise.
23435 [C99-based-standards] (SCNxPTR): Likewise.
23436 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23437 allow.
23438 * conform/data/stdint.h-data: Update comments to clarify
23439 requirements.
23440 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23441 type.
23442 [C99-based standards] (INT8_MAX): Likewise.
23443 [C99-based standards] (INT16_MIN): Likewise.
23444 [C99-based standards] (INT16_MAX): Likewise.
23445 [C99-based standards] (INT32_MIN): Likewise.
23446 [C99-based standards] (INT32_MAX): Likewise.
23447 [C99-based standards] (INT64_MIN): Likewise.
23448 [C99-based standards] (INT64_MAX): Likewise.
23449 [C99-based standards] (UINT8_MAX): Likewise.
23450 [C99-based standards] (UINT16_MAX): Likewise.
23451 [C99-based standards] (UINT32_MAX): Likewise.
23452 [C99-based standards] (UINT64_MAX): Likewise.
23453 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23454 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23455 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23456 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23457 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23458 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23459 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23460 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23461 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23462 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23463 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23464 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23465 [C99-based standards] (INT_FAST8_MIN): Likewise.
23466 [C99-based standards] (INT_FAST8_MAX): Likewise.
23467 [C99-based standards] (INT_FAST16_MIN): Likewise.
23468 [C99-based standards] (INT_FAST16_MAX): Likewise.
23469 [C99-based standards] (INT_FAST32_MIN): Likewise.
23470 [C99-based standards] (INT_FAST32_MAX): Likewise.
23471 [C99-based standards] (INT_FAST64_MIN): Likewise.
23472 [C99-based standards] (INT_FAST64_MAX): Likewise.
23473 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23474 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23475 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23476 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23477 [C99-based standards] (INTPTR_MIN): Likewise.
23478 [C99-based standards] (INTPTR_MAX): Likewise.
23479 [C99-based standards] (UINTPTR_MAX): Likewise.
23480 [C99-based standards] (INTMAX_MIN): Likewise.
23481 [C99-based standards] (INTMAX_MAX): Likewise.
23482 [C99-based standards] (UINTMAX_MAX): Likewise.
23483 [C99-based standards] (PTRDIFF_MIN): Likewise.
23484 [C99-based standards] (PTRDIFF_MAX): Likewise.
23485 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23486 [C99-based standards] (SIZE_MAX): Likewise.
23487 [C99-based standards] (WCHAR_MAX): Likewise.
23488 [C99-based standards] (WINT_MAX): Likewise.
23489 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23490 constraint on value.
23491 [C99-based standards] (WCHAR_MIN): Likewise.
23492 [C99-based standards] (WINT_MIN): Likewise.
23493 [C99-based standards] (*_t): Allow.
23494 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23495 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23496 Include math.h-data and complex.h-data. Remove all expectations
23497 of math.h and complex.h contents.
23498 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23499 at end of line.
23500 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23501 (struct tm): Expect tag.
23502 [C99-based-standards] (wcstof): Expect function.
23503 [C99-based-standards] (wcstold): Likewise.
23504 [C99-based-standards] (wcstoll): Likewise.
23505 [C99-based-standards] (wcstoull): Likewise.
23506 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23507 macro-int-constant. Specify type.
23508 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23509 constraint on value.
23510 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23511 Specify type.
23512 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23513 Specify value.
23514 [ISO C standards]: Do not allow headers.
23515 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23516 wcs[abcdefghijklmnopqrstuvwxyz]*.
23517 [ISO C standards] (*_t): Do not allow.
23518 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23519 Expect function.
23520 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23521 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23522 Specify type.
23523 [ISO C standards]: Do not allow headers.
23524 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23525 is[abcdefghijklmnopqrstuvwxyz]*.
23526 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23527 to[abcdefghijklmnopqrstuvwxyz]*.
23528 [ISO C standards] (*_t): Do not allow.
23529 * conform/data/stdalign.h-data: New file.
23530 * conform/data/stdbool.h-data: Likewise.
23531 * conform/data/stdnoreturn.h-data: Likewise.
23532
7514feb8
RM
235332012-11-07 Roland McGrath <roland@hack.frob.com>
23534
23535 [BZ #14815]
23536 * manual/filesys.texi (Directory Entries): Typo fix.
23537 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23538
19b2ecfc
MS
235392012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23540
23541 * elf/elf.h (EM_AARCH64): New macro.
23542 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23543 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23544 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23545 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23546 (R_AARCH64_TLSDESC): Likewise.
23547 (NT_ARM_TLS): Likewise.
23548 (NT_ARM_HW_BREAK): Likewise.
23549 (NT_ARM_HW_WATCH): Likewise.
23550
60e235ee
JM
235512012-11-07 Joseph Myers <joseph@codesourcery.com>
23552
23553 [BZ #14811]
23554 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23555 (__ieee754_powl): Saturate nonzero exponents with absolute value
23556 below 0x1p-79 to +/- 0x1p-79.
23557 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23558 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23559 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23560 nonzero exponents with absolute value below 0x1p-32 to +/-
23561 0x1p-32.
23562 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23563 (__ieee754_powl): Saturate nonzero exponents with absolute value
23564 below 0x1p-79 to +/- 0x1p-79.
23565 * math/libm-test.inc (pow_test): Add more tests.
23566
0ab234b7
AK
235672012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23568
23569 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23570 _dl_s390_cap_flags with kernel. Increase string length.
23571 (_dl_s390_platforms): Add z196 and zEC12.
23572
45832f74
JM
235732012-11-07 Joseph Myers <joseph@codesourcery.com>
23574
23575 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23576 Change XOPEN21K to XOPEN2K.
23577
19218757
MK
235782012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23579
23580 * string/memmove.c: Use memcpy when possible.
23581
c5f45721
AJ
235822012-11-06 Andreas Jaeger <aj@suse.de>
23583
23584 * po/eo.po: Update from translation team.
23585
82477c28
JM
235862012-11-06 Joseph Myers <joseph@codesourcery.com>
23587
23588 [BZ #14793]
23589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23590 exponent and small x and y exponents, scale x or y up. Increase
23591 by 2 the exponent used in scaling up.
23592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23593 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23594 * math/libm-test.inc (fma_test): Add more tests.
23595 (fma_test_towardzero): Likewise.
23596 (fma_test_downward): Likewise.
23597 (fma_test_upward): Likewise.
23598
99252c8c
JM
235992012-11-05 Joseph Myers <joseph@codesourcery.com>
23600
acfa885f
JM
23601 [BZ #14805]
23602 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23603 fenv_t *.
23604
99252c8c
JM
23605 [BZ #14801]
23606 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23607 namespace for names of struct fields.
23608 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23609 fenv_t fields.
23610 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23611 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23612
d6d98dea
ST
236132012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23614
23615 [BZ #3665]
23616 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23617
e10bb107
TS
236182012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23619
23620 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23621 PTR_DEMANGLE.
23622
23623 [BZ #5246]
23624 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23625 PTR_DEMANGLE.
23626
a0c2940d
JM
236272012-11-04 Joseph Myers <joseph@codesourcery.com>
23628
23629 [BZ #14797]
23630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23631 definitely overflow as x * y not x * y + z.
23632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23633 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23634 * math/libm-test.inc (fma_test): Add more tests.
23635 (fma_test_towardzero): Likewise.
23636 (fma_test_downward): Likewise.
23637 (fma_test_upward): Likewise.
23638
b830319d
TS
236392012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23640
23641 [BZ #157]
23642
23643 * include/stub-tag.h: Remove file.
23644 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23645 '#include' of it.
23646 * manual/maint.texi (Porting): Don't reference it.
23647 * Makerules ($(objpfx)stubs): Likewise.
23648 * dirent/closedir.c: Don't include <stub-tag.h>.
23649 * dirent/dirfd.c: Likewise.
23650 * dirent/fdopendir.c: Likewise.
23651 * dirent/getdents.c: Likewise.
23652 * dirent/getdents64.c: Likewise.
23653 * dirent/opendir.c: Likewise.
23654 * dirent/readdir.c: Likewise.
23655 * dirent/readdir64.c: Likewise.
23656 * dirent/readdir64_r.c: Likewise.
23657 * dirent/readdir_r.c: Likewise.
23658 * dirent/rewinddir.c: Likewise.
23659 * dirent/seekdir.c: Likewise.
23660 * dirent/telldir.c: Likewise.
23661 * gmon/profil.c: Likewise.
23662 * grp/setgroups.c: Likewise.
23663 * inet/if_index.c: Likewise.
23664 * io/access.c: Likewise.
23665 * io/chdir.c: Likewise.
23666 * io/chmod.c: Likewise.
23667 * io/chown.c: Likewise.
23668 * io/close.c: Likewise.
23669 * io/dup.c: Likewise.
23670 * io/dup2.c: Likewise.
23671 * io/dup3.c: Likewise.
23672 * io/euidaccess.c: Likewise.
23673 * io/faccessat.c: Likewise.
23674 * io/fchdir.c: Likewise.
23675 * io/fchmod.c: Likewise.
23676 * io/fchmodat.c: Likewise.
23677 * io/fchown.c: Likewise.
23678 * io/fchownat.c: Likewise.
23679 * io/fcntl.c: Likewise.
23680 * io/flock.c: Likewise.
23681 * io/fstatfs.c: Likewise.
23682 * io/fstatfs64.c: Likewise.
23683 * io/fstatvfs.c: Likewise.
23684 * io/fstatvfs64.c: Likewise.
23685 * io/futimens.c: Likewise.
23686 * io/fxstat.c: Likewise.
23687 * io/fxstat64.c: Likewise.
23688 * io/fxstatat.c: Likewise.
23689 * io/fxstatat64.c: Likewise.
23690 * io/getcwd.c: Likewise.
23691 * io/isatty.c: Likewise.
23692 * io/lchmod.c: Likewise.
23693 * io/lchown.c: Likewise.
23694 * io/link.c: Likewise.
23695 * io/linkat.c: Likewise.
23696 * io/lseek.c: Likewise.
23697 * io/lseek64.c: Likewise.
23698 * io/lxstat64.c: Likewise.
23699 * io/mkdir.c: Likewise.
23700 * io/mkdirat.c: Likewise.
23701 * io/mkfifo.c: Likewise.
23702 * io/mkfifoat.c: Likewise.
23703 * io/open.c: Likewise.
23704 * io/open64.c: Likewise.
23705 * io/openat.c: Likewise.
23706 * io/openat64.c: Likewise.
23707 * io/pipe.c: Likewise.
23708 * io/pipe2.c: Likewise.
23709 * io/poll.c: Likewise.
23710 * io/posix_fadvise.c: Likewise.
23711 * io/posix_fadvise64.c: Likewise.
23712 * io/posix_fallocate.c: Likewise.
23713 * io/posix_fallocate64.c: Likewise.
23714 * io/read.c: Likewise.
23715 * io/readlink.c: Likewise.
23716 * io/readlinkat.c: Likewise.
23717 * io/rmdir.c: Likewise.
23718 * io/sendfile.c: Likewise.
23719 * io/sendfile64.c: Likewise.
23720 * io/statfs.c: Likewise.
23721 * io/statfs64.c: Likewise.
23722 * io/statvfs.c: Likewise.
23723 * io/statvfs64.c: Likewise.
23724 * io/symlink.c: Likewise.
23725 * io/symlinkat.c: Likewise.
23726 * io/ttyname.c: Likewise.
23727 * io/ttyname_r.c: Likewise.
23728 * io/umask.c: Likewise.
23729 * io/unlink.c: Likewise.
23730 * io/unlinkat.c: Likewise.
23731 * io/utime.c: Likewise.
23732 * io/utimensat.c: Likewise.
23733 * io/write.c: Likewise.
23734 * io/xmknod.c: Likewise.
23735 * io/xmknodat.c: Likewise.
23736 * io/xstat.c: Likewise.
23737 * io/xstat64.c: Likewise.
23738 * login/getpt.c: Likewise.
23739 * login/grantpt.c: Likewise.
23740 * login/unlockpt.c: Likewise.
23741 * math/e_acoshl.c: Likewise.
23742 * math/e_acosl.c: Likewise.
23743 * math/e_asinl.c: Likewise.
23744 * math/e_atan2l.c: Likewise.
23745 * math/e_atanhl.c: Likewise.
23746 * math/e_coshl.c: Likewise.
23747 * math/e_expl.c: Likewise.
23748 * math/e_fmodl.c: Likewise.
23749 * math/e_gammal_r.c: Likewise.
23750 * math/e_hypotl.c: Likewise.
23751 * math/e_j0l.c: Likewise.
23752 * math/e_j1l.c: Likewise.
23753 * math/e_jnl.c: Likewise.
23754 * math/e_lgammal_r.c: Likewise.
23755 * math/e_log10l.c: Likewise.
23756 * math/e_log2l.c: Likewise.
23757 * math/e_logl.c: Likewise.
23758 * math/e_powl.c: Likewise.
23759 * math/e_rem_pio2l.c: Likewise.
23760 * math/e_sinhl.c: Likewise.
23761 * math/e_sqrtl.c: Likewise.
23762 * math/fclrexcpt.c: Likewise.
23763 * math/fedisblxcpt.c: Likewise.
23764 * math/feenablxcpt.c: Likewise.
23765 * math/fegetenv.c: Likewise.
23766 * math/fegetexcept.c: Likewise.
23767 * math/fegetround.c: Likewise.
23768 * math/feholdexcpt.c: Likewise.
23769 * math/fesetenv.c: Likewise.
23770 * math/fesetround.c: Likewise.
23771 * math/feupdateenv.c: Likewise.
23772 * math/fgetexcptflg.c: Likewise.
23773 * math/fraiseexcpt.c: Likewise.
23774 * math/fsetexcptflg.c: Likewise.
23775 * math/ftestexcept.c: Likewise.
23776 * math/k_cosl.c: Likewise.
23777 * math/k_rem_pio2l.c: Likewise.
23778 * math/k_sinl.c: Likewise.
23779 * math/k_tanl.c: Likewise.
23780 * math/s_asinhl.c: Likewise.
23781 * math/s_atanl.c: Likewise.
23782 * math/s_cbrtl.c: Likewise.
23783 * math/s_erfl.c: Likewise.
23784 * math/s_expm1l.c: Likewise.
23785 * math/s_log1pl.c: Likewise.
23786 * math/s_tanhl.c: Likewise.
23787 * misc/acct.c: Likewise.
23788 * misc/brk.c: Likewise.
23789 * misc/chflags.c: Likewise.
23790 * misc/chroot.c: Likewise.
23791 * misc/fchflags.c: Likewise.
23792 * misc/fgetxattr.c: Likewise.
23793 * misc/flistxattr.c: Likewise.
23794 * misc/fremovexattr.c: Likewise.
23795 * misc/fsetxattr.c: Likewise.
23796 * misc/fsync.c: Likewise.
23797 * misc/ftruncate.c: Likewise.
23798 * misc/futimes.c: Likewise.
23799 * misc/futimesat.c: Likewise.
23800 * misc/getdomain.c: Likewise.
23801 * misc/getdtsz.c: Likewise.
23802 * misc/gethostid.c: Likewise.
23803 * misc/gethostname.c: Likewise.
23804 * misc/getloadavg.c: Likewise.
23805 * misc/getpagesize.c: Likewise.
23806 * misc/getsysstats.c: Likewise.
23807 * misc/getxattr.c: Likewise.
23808 * misc/gtty.c: Likewise.
23809 * misc/ioctl.c: Likewise.
23810 * misc/lgetxattr.c: Likewise.
23811 * misc/listxattr.c: Likewise.
23812 * misc/llistxattr.c: Likewise.
23813 * misc/lremovexattr.c: Likewise.
23814 * misc/lsetxattr.c: Likewise.
23815 * misc/lutimes.c: Likewise.
23816 * misc/madvise.c: Likewise.
23817 * misc/mincore.c: Likewise.
23818 * misc/mlock.c: Likewise.
23819 * misc/mlockall.c: Likewise.
23820 * misc/mmap.c: Likewise.
23821 * misc/mprotect.c: Likewise.
23822 * misc/msync.c: Likewise.
23823 * misc/munlock.c: Likewise.
23824 * misc/munlockall.c: Likewise.
23825 * misc/munmap.c: Likewise.
23826 * misc/preadv.c: Likewise.
23827 * misc/preadv64.c: Likewise.
23828 * misc/ptrace.c: Likewise.
23829 * misc/pwritev.c: Likewise.
23830 * misc/pwritev64.c: Likewise.
23831 * misc/readv.c: Likewise.
23832 * misc/reboot.c: Likewise.
23833 * misc/remap_file_pages.c: Likewise.
23834 * misc/removexattr.c: Likewise.
23835 * misc/revoke.c: Likewise.
23836 * misc/select.c: Likewise.
23837 * misc/setdomain.c: Likewise.
23838 * misc/setegid.c: Likewise.
23839 * misc/seteuid.c: Likewise.
23840 * misc/sethostid.c: Likewise.
23841 * misc/sethostname.c: Likewise.
23842 * misc/setregid.c: Likewise.
23843 * misc/setreuid.c: Likewise.
23844 * misc/setxattr.c: Likewise.
23845 * misc/sstk.c: Likewise.
23846 * misc/stty.c: Likewise.
23847 * misc/swapoff.c: Likewise.
23848 * misc/swapon.c: Likewise.
23849 * misc/sync.c: Likewise.
23850 * misc/syncfs.c: Likewise.
23851 * misc/syscall.c: Likewise.
23852 * misc/truncate.c: Likewise.
23853 * misc/ualarm.c: Likewise.
23854 * misc/usleep.c: Likewise.
23855 * misc/ustat.c: Likewise.
23856 * misc/utimes.c: Likewise.
23857 * misc/vhangup.c: Likewise.
23858 * misc/writev.c: Likewise.
23859 * posix/_exit.c: Likewise.
23860 * posix/alarm.c: Likewise.
23861 * posix/execve.c: Likewise.
23862 * posix/fexecve.c: Likewise.
23863 * posix/fork.c: Likewise.
23864 * posix/fpathconf.c: Likewise.
23865 * posix/getaddrinfo.c: Likewise.
23866 * posix/getegid.c: Likewise.
23867 * posix/geteuid.c: Likewise.
23868 * posix/getgid.c: Likewise.
23869 * posix/getgroups.c: Likewise.
23870 * posix/getlogin.c: Likewise.
23871 * posix/getlogin_r.c: Likewise.
23872 * posix/getpgid.c: Likewise.
23873 * posix/getpid.c: Likewise.
23874 * posix/getppid.c: Likewise.
23875 * posix/getresgid.c: Likewise.
23876 * posix/getresuid.c: Likewise.
23877 * posix/getsid.c: Likewise.
23878 * posix/getuid.c: Likewise.
23879 * posix/glob64.c: Likewise.
23880 * posix/nanosleep.c: Likewise.
23881 * posix/pathconf.c: Likewise.
23882 * posix/pause.c: Likewise.
23883 * posix/posix_madvise.c: Likewise.
23884 * posix/pread.c: Likewise.
23885 * posix/pread64.c: Likewise.
23886 * posix/pwrite.c: Likewise.
23887 * posix/pwrite64.c: Likewise.
23888 * posix/sched_getaffinity.c: Likewise.
23889 * posix/sched_getp.c: Likewise.
23890 * posix/sched_gets.c: Likewise.
23891 * posix/sched_primax.c: Likewise.
23892 * posix/sched_primin.c: Likewise.
23893 * posix/sched_rr_gi.c: Likewise.
23894 * posix/sched_setaffinity.c: Likewise.
23895 * posix/sched_setp.c: Likewise.
23896 * posix/sched_sets.c: Likewise.
23897 * posix/sched_yield.c: Likewise.
23898 * posix/setgid.c: Likewise.
23899 * posix/setlogin.c: Likewise.
23900 * posix/setpgid.c: Likewise.
23901 * posix/setresgid.c: Likewise.
23902 * posix/setresuid.c: Likewise.
23903 * posix/setsid.c: Likewise.
23904 * posix/setuid.c: Likewise.
23905 * posix/sleep.c: Likewise.
23906 * posix/spawni.c: Likewise.
23907 * posix/sysconf.c: Likewise.
23908 * posix/times.c: Likewise.
23909 * posix/wait.c: Likewise.
23910 * posix/wait3.c: Likewise.
23911 * posix/wait4.c: Likewise.
23912 * posix/waitpid.c: Likewise.
23913 * resolv/gai_sigqueue.c: Likewise.
23914 * resource/getpriority.c: Likewise.
23915 * resource/getrlimit.c: Likewise.
23916 * resource/getrusage.c: Likewise.
23917 * resource/nice.c: Likewise.
23918 * resource/setpriority.c: Likewise.
23919 * resource/setrlimit.c: Likewise.
23920 * resource/ulimit.c: Likewise.
23921 * rt/aio_cancel.c: Likewise.
23922 * rt/aio_fsync.c: Likewise.
23923 * rt/aio_read.c: Likewise.
23924 * rt/aio_sigqueue.c: Likewise.
23925 * rt/aio_suspend.c: Likewise.
23926 * rt/aio_write.c: Likewise.
23927 * rt/clock_getres.c: Likewise.
23928 * rt/clock_gettime.c: Likewise.
23929 * rt/clock_nanosleep.c: Likewise.
23930 * rt/clock_settime.c: Likewise.
23931 * rt/lio_listio.c: Likewise.
23932 * rt/mq_close.c: Likewise.
23933 * rt/mq_getattr.c: Likewise.
23934 * rt/mq_notify.c: Likewise.
23935 * rt/mq_open.c: Likewise.
23936 * rt/mq_receive.c: Likewise.
23937 * rt/mq_send.c: Likewise.
23938 * rt/mq_setattr.c: Likewise.
23939 * rt/mq_timedreceive.c: Likewise.
23940 * rt/mq_timedsend.c: Likewise.
23941 * rt/mq_unlink.c: Likewise.
23942 * rt/shm_open.c: Likewise.
23943 * rt/shm_unlink.c: Likewise.
23944 * rt/timer_create.c: Likewise.
23945 * rt/timer_delete.c: Likewise.
23946 * rt/timer_getoverr.c: Likewise.
23947 * rt/timer_gettime.c: Likewise.
23948 * rt/timer_settime.c: Likewise.
23949 * setjmp/__longjmp.c: Likewise.
23950 * setjmp/setjmp.c: Likewise.
23951 * signal/kill.c: Likewise.
23952 * signal/killpg.c: Likewise.
23953 * signal/raise.c: Likewise.
23954 * signal/sigaction.c: Likewise.
23955 * signal/sigaltstack.c: Likewise.
23956 * signal/sigblock.c: Likewise.
23957 * signal/sigignore.c: Likewise.
23958 * signal/sigintr.c: Likewise.
23959 * signal/signal.c: Likewise.
23960 * signal/sigpause.c: Likewise.
23961 * signal/sigpending.c: Likewise.
23962 * signal/sigqueue.c: Likewise.
23963 * signal/sigreturn.c: Likewise.
23964 * signal/sigset.c: Likewise.
23965 * signal/sigsetmask.c: Likewise.
23966 * signal/sigstack.c: Likewise.
23967 * signal/sigsuspend.c: Likewise.
23968 * signal/sigtimedwait.c: Likewise.
23969 * signal/sigvec.c: Likewise.
23970 * signal/sigwait.c: Likewise.
23971 * signal/sigwaitinfo.c: Likewise.
23972 * signal/sysv_signal.c: Likewise.
23973 * socket/accept.c: Likewise.
23974 * socket/accept4.c: Likewise.
23975 * socket/bind.c: Likewise.
23976 * socket/connect.c: Likewise.
23977 * socket/getpeername.c: Likewise.
23978 * socket/getsockname.c: Likewise.
23979 * socket/getsockopt.c: Likewise.
23980 * socket/isfdtype.c: Likewise.
23981 * socket/listen.c: Likewise.
23982 * socket/recv.c: Likewise.
23983 * socket/recvfrom.c: Likewise.
23984 * socket/recvmsg.c: Likewise.
23985 * socket/send.c: Likewise.
23986 * socket/sendmsg.c: Likewise.
23987 * socket/sendto.c: Likewise.
23988 * socket/setsockopt.c: Likewise.
23989 * socket/shutdown.c: Likewise.
23990 * socket/sockatmark.c: Likewise.
23991 * socket/socket.c: Likewise.
23992 * socket/socketpair.c: Likewise.
23993 * stdio-common/ctermid.c: Likewise.
23994 * stdio-common/cuserid.c: Likewise.
23995 * stdio-common/remove.c: Likewise.
23996 * stdio-common/rename.c: Likewise.
23997 * stdio-common/renameat.c: Likewise.
23998 * stdio-common/tempname.c: Likewise.
23999 * stdlib/getcontext.c: Likewise.
24000 * stdlib/makecontext.c: Likewise.
24001 * stdlib/setcontext.c: Likewise.
24002 * stdlib/swapcontext.c: Likewise.
24003 * stdlib/system.c: Likewise.
24004 * streams/fattach.c: Likewise.
24005 * streams/fdetach.c: Likewise.
24006 * streams/getmsg.c: Likewise.
24007 * streams/getpmsg.c: Likewise.
24008 * streams/putmsg.c: Likewise.
24009 * streams/putpmsg.c: Likewise.
24010 * sysdeps/unix/bsd/getpt.c: Likewise.
24011 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24012 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24013 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24015 Likewise.
24016 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24017 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24018 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24019 * sysvipc/msgctl.c: Likewise.
24020 * sysvipc/msgget.c: Likewise.
24021 * sysvipc/msgrcv.c: Likewise.
24022 * sysvipc/msgsnd.c: Likewise.
24023 * sysvipc/semctl.c: Likewise.
24024 * sysvipc/semget.c: Likewise.
24025 * sysvipc/semop.c: Likewise.
24026 * sysvipc/semtimedop.c: Likewise.
24027 * sysvipc/shmat.c: Likewise.
24028 * sysvipc/shmctl.c: Likewise.
24029 * sysvipc/shmdt.c: Likewise.
24030 * sysvipc/shmget.c: Likewise.
24031 * termios/tcdrain.c: Likewise.
24032 * termios/tcflow.c: Likewise.
24033 * termios/tcflush.c: Likewise.
24034 * termios/tcgetattr.c: Likewise.
24035 * termios/tcgetpgrp.c: Likewise.
24036 * termios/tcsendbrk.c: Likewise.
24037 * termios/tcsetattr.c: Likewise.
24038 * termios/tcsetpgrp.c: Likewise.
24039 * time/adjtime.c: Likewise.
24040 * time/clock.c: Likewise.
24041 * time/getitimer.c: Likewise.
24042 * time/gettimeofday.c: Likewise.
24043 * time/setitimer.c: Likewise.
24044 * time/settimeofday.c: Likewise.
24045 * time/stime.c: Likewise.
24046 * time/time.c: Likewise.
24047
240482012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 24049
a20492cf
PT
24050 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24051 /usr/old/bin.
24052
72e182e3
PT
24053 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24054 instead of spaces.
24055 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24056
fbeafede
JM
240572012-11-03 Joseph Myers <joseph@codesourcery.com>
24058
5b5b04d6
JM
24059 [BZ #14796]
24060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24061 FE_TONEAREST before applying Dekker multiplication and Knuth
24062 addition. Clear inexact exceptions and check for exact zero
24063 results afterwards.
24064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24065 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24066 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24067 * math/libm-test.inc (fma_test): Add more tests.
24068 (fma_test_towardzero): Likewise.
24069 (fma_test_downward): Likewise.
24070 (fma_test_upward): Likewise.
24071 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24072 function.
24073 (libc_fesetround): New macro.
24074 (libc_fesetroundf): Likewise.
24075 (libc_fesetroundl): Likewise.
24076 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24077 function.
24078 (libc_fesetround_387): Likewise.
24079 (libc_fesetroundf): New macro.
24080 (libc_fesetround): Likewise.
24081 (libc_fesetroundl): Likewise.
24082 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24083 function.
24084 (libc_fesetroundf): New macro.
24085 (libc_fesetround): Likewise.
24086 (libc_fesetroundl): Likewise.
24087 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24088 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24089 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24090 libm_hidden_ver.
24091 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24092 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24093 libm_hidden_def.
24094 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24095 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24096 libm_hidden_ver.
24097 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24098 libm_hidden_def.
24099
fbeafede
JM
24100 [BZ #3439]
24101 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24102 integer constant usable in #if and use that to give value to enum
24103 constant.
24104 (FE_DIVBYZERO): Likewise.
24105 (FE_UNDERFLOW): Likewise.
24106 (FE_OVERFLOW): Likewise.
24107 (FE_INVALID): Likewise.
24108 (FE_INVALID_SNAN): Likewise.
24109 (FE_INVALID_ISI): Likewise.
24110 (FE_INVALID_IDI): Likewise.
24111 (FE_INVALID_ZDZ): Likewise.
24112 (FE_INVALID_IMZ): Likewise.
24113 (FE_INVALID_COMPARE): Likewise.
24114 (FE_INVALID_SOFTWARE): Likewise.
24115 (FE_INVALID_SQRT): Likewise.
24116 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24117 (FE_TONEAREST): Likewise.
24118 (FE_TOWARDZERO): Likewise.
24119 (FE_UPWARD): Likewise.
24120 (FE_DOWNWARD): Likewise.
24121 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24122 (FE_DIVBYZERO): Likewise.
24123 (FE_OVERFLOW): Likewise.
24124 (FE_UNDERFLOW): Likewise.
24125 (FE_INEXACT): Likewise.
24126 (FE_TONEAREST): Likewise.
24127 (FE_DOWNWARD): Likewise.
24128 (FE_UPWARD): Likewise.
24129 (FE_TOWARDZERO): Likewise.
24130 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24131 (FE_UNDERFLOW): Likewise.
24132 (FE_OVERFLOW): Likewise.
24133 (FE_DIVBYZERO): Likewise.
24134 (FE_INVALID): Likewise.
24135 (FE_TONEAREST): Likewise.
24136 (FE_TOWARDZERO): Likewise.
24137 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24138 (FE_OVERFLOW): Likewise.
24139 (FE_UNDERFLOW): Likewise.
24140 (FE_DIVBYZERO): Likewise.
24141 (FE_INEXACT): Likewise.
24142 (FE_TONEAREST): Likewise.
24143 (FE_TOWARDZERO): Likewise.
24144 (FE_UPWARD): Likewise.
24145 (FE_DOWNWARD): Likewise.
24146 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24147 (FE_DIVBYZERO): Likewise.
24148 (FE_OVERFLOW): Likewise.
24149 (FE_UNDERFLOW): Likewise.
24150 (FE_INEXACT): Likewise.
24151 (FE_TONEAREST): Likewise.
24152 (FE_DOWNWARD): Likewise.
24153 (FE_UPWARD): Likewise.
24154 (FE_TOWARDZERO): Likewise.
24155
105ca950
CM
241562012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24157
24158 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24159
a542b389
AS
241602012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24161
24162 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24163 commands. Quote $PWD.
24164 (blacklist_exports): Don't use remove_newlines. Replace "declare
24165 -x" by "export".
24166 (remove_newlines): Remove.
24167
f62c8abc
L
241682012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24169
24170 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24171 * stdlib/stdlib.h (atof): Moved to ...
24172 * include/bits/stdlib-float.h: Here. New file.
24173 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24174 * stdlib/bits/stdlib-float.h: New file.
24175 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24176 -mno-sse -mno-mmx.
24177 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24178 <xmmintrin.h>.
24179
0155d5b2
JM
241802012-11-02 Joseph Myers <joseph@codesourcery.com>
24181
a68d0680
JM
24182 * conform/conformtest.pl (@headers): Add fenv.h.
24183 * conform/data/fenv.h-data: New file.
24184 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24185 include of <math/fenv.h>.
24186
caf7f573
JM
24187 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24188 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24189 && !UNIX98]. Enables tests for XOPEN2K8.
24190 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24191 POSIX2008]: Likewise.
24192
6c073ad6
JM
24193 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24194 (struct rusage): Do not expect type or its members.
24195
0155d5b2
JM
24196 [BZ #3439]
24197 * math/math.h (FP_NAN): Define macro to integer constant usable in
24198 #if and use that to give value to enum constant.
24199 (FP_INFINITE): Likewise.
24200 (FP_ZERO): Likewise.
24201 (FP_SUBNORMAL): Likewise.
24202 (FP_NORMAL): Likewise.
24203
b5dcacb4
AS
242042012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24205
24206 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24207 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24208 arguments.
24209
f7934be8
RM
242102012-11-02 Roland McGrath <roland@hack.frob.com>
24211
24212 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24213 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24214 autoconf-time if not.
24215 * configure.in: Remove AC_PREREQ.
24216
d7d08bde
TMQMF
242172012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24218
24219 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24220 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24221 of the internal implementation.
24222
dcdae19a
JM
242232012-11-02 Joseph Myers <joseph@codesourcery.com>
24224
24225 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24226 except include of <misc/sys/syslog.h>.
24227
d6cffd3e
AS
242282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24229
24230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24231 function returns with a NULL context exit with zero.
24232
b3563932
TMQMF
242332012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24234
24235 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24236
b288a93d
L
242372012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24238
24239 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24240 (run_program_cmd): This.
24241 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24242 (tst_langinfo): New variable. Use it.
24243
a2421a68
SAS
242442012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24245
24246 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24247 floating point opcodes.
24248
6f796e1b
TS
242492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24250
7402596b
TS
24251 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24252 variable.
24253
d0d4f868
TS
24254 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24255
6f796e1b
TS
24256 * sysdeps/mach/hurd/powerpc: Remove directory.
24257 * sysdeps/mach/powerpc: Likewise.
24258
4da224a2
AS
242592012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24260
24261 * scripts/check-local-headers.sh: Ignore c++ headers.
24262
341dd673
TS
242632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24264
24265 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24266 __libc_cleanup_region_start argument.
24267
473611b2
JM
242682012-11-01 Joseph Myers <joseph@codesourcery.com>
24269
24270 [BZ #14784]
24271 [BZ #14785]
24272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24273 x * y using scaling, not as x * y + z.
24274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24276 * math/libm-test.inc (fma_test): Add more tests.
24277 (fma_test_towardzero): Likewise.
24278 (fma_test_downward): Likewise.
24279 (fma_test_upward): Likewise.
24280
4078da3d
TS
242812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24282
24283 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24284
903252aa
JM
242852012-10-31 Joseph Myers <joseph@codesourcery.com>
24286
24287 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24288 New variable.
24289
cbc818d0
TS
242902012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24291
24292 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24293
5a03cb1e
AS
242942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24295
24296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24297 Fix sort order.
24298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24299 Likewise.
24300
90aff2ff
TMQMF
243012012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24302
24303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24304 Fix the order of the list for glibc 2.17.
24305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24306 Likewise.
24307
1818fcb7
AS
243082012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24309
24310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24311
ef82f4da
JM
243122012-10-31 Joseph Myers <joseph@codesourcery.com>
24313
16a0e2ec
JM
24314 [BZ #14610]
24315 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24316 for low part of x being zero before using __atanl (y).
24317 * math/libm-test.inc (atan2_test): Add another test.
24318
0eb69512
JM
24319 * manual/install.texi (Configuring and compiling): Document
24320 general use of test-wrapper and test-wrapper-env.
24321 * INSTALL: Regenerated.
24322
ef82f4da
JM
24323 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24324 (__fma): Do not extract and scale down low bits on after-rounding
24325 systems when result rounded to normal precision would have normal
24326 exponent.
24327 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24328 (__fmal): Do not extract and scale down low bits on after-rounding
24329 systems when result rounded to normal precision would have normal
24330 exponent.
24331 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24332 (__fmal): Do not extract and scale down low bits on after-rounding
24333 systems when result rounded to normal precision would have normal
24334 exponent.
24335 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24336 macro.
24337 (fma_test): Add more tests.
24338 (fma_test_towardzero): Likewise.
24339 (fma_test_downward): Likewise.
24340 (fma_test_upward): Likewise.
24341
954ef0d9
L
243422012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24343
24344 * sysdeps/i386/tininess.h: Renamed to ...
24345 * sysdeps/x86/tininess.h: This.
24346 * sysdeps/x86_64/tininess.h: Removed.
24347
df61ffb2
JM
243482012-10-30 Joseph Myers <joseph@codesourcery.com>
24349
24350 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24351 input. Use $(build-program-cmd).
24352 ($(objpfx)tst-array1-static.out): Likewise.
24353 ($(objpfx)tst-array2.out): Likewise.
24354 ($(objpfx)tst-array3.out): Likewise.
24355 ($(objpfx)tst-array4.out): Likewise.
24356 ($(objpfx)tst-array5.out): Likewise.
24357 ($(objpfx)tst-array5-static.out): Likewise.
24358
01767843
CM
243592012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24360
47cc1490
CM
24361 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24362 if defined.
24363
01767843
CM
24364 * nss/nsswitch.h (nss_interface_function): Provide new
24365 macro for use with NSS functions.
24366 * grp/initgroups.c: Use new macro.
24367 * nss/getXXbyYY.c: Likewise.
24368 * nss/getXXbyYY_r.c: Likewise.
24369 * nss/getXXent.c: Likewise.
24370 * nss/getXXent_r.c: Likewise.
24371 * sysdeps/posix/getaddrinfo.c: Likewise.
24372
8321aa97
AJ
243732012-10-30 Andreas Jaeger <aj@suse.de>
24374
24375 * po/ru.po: Update Russion translation from translation project.
24376
2a27fd6d
JM
243772012-10-30 Joseph Myers <joseph@codesourcery.com>
24378
8627a232
JM
24379 [BZ #14152]
24380 [BZ #14783]
24381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24382 result and shift together with sticky bit instead of replicating
24383 round-to-nearest rounding.
24384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24385 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24386 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24387 missing underflow exceptions.
24388 (fma_test_towardzero): Add more tests.
24389 (fma_test_downward): Likewise.
24390 (fma_test_upward): Likewise.
24391
2a27fd6d
JM
24392 [BZ #14047]
24393 * sysdeps/generic/tininess.h: New file.
24394 * sysdeps/i386/tininess.h: Likewise.
24395 * sysdeps/sh/tininess.h: Likewise.
24396 * sysdeps/x86_64/tininess.h: Likewise.
24397 * stdlib/tst-strtod-underflow.c: Likewise.
24398 * stdlib/tst-tininess.c: Likewise.
24399 * stdlib/strtod_l.c: Include <tininess.h>.
24400 (round_and_return): Do not set errno for exact underflow cases.
24401 Force an underflow exception when setting errno for underflow.
24402 Determine underflow based on rounding to normal precision if
24403 TININESS_AFTER_ROUNDING.
24404 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24405 ERANGE for exact underflow cases.
24406 * stdlib/Makefile (tests): Add tst-tininess and
24407 tst-strtod-underflow.
24408 ($(objpfx)tst-tininess): Use $(link-libm).
24409 ($(objpfx)tst-strtod-underflow): Likewise.
24410
e7170363
AJ
244112012-10-30 Andreas Jaeger <aj@suse.de>
24412
e5088dc6
AJ
24413 [BZ#14767]
24414 * elf/Makefile (tests): Remove conditional for have-initfini-array
24415 since this is now always required and the variable does not exist
24416 anymore.
24417 (tests-static): Likewise.
24418 (modules-names): Likewise.
24419
e7170363 24420 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24421
24422 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24423 merged with constructor/destructor.
24424 (init_array): Likewise.
24425 * elf/tst-array2dep.c (fini_array): Likewise.
24426 (init_array): Likewise.
24427
60457d8a
MF
244282012-10-29 Mike Frysinger <vapier@gentoo.org>
24429
24430 * manual/message.texi: Delete @cartouche tags.
24431
8bece752
PT
244322012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24433
94ce799f
PT
24434 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24435 EOPNOTSUPP.
24436 * sysdeps/mach/hurd/fsync.c: Likewise.
24437
8bece752
PT
24438 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24439 [_POSIX_REALTIME_SIGNALS]: Change condition to
24440 [_POSIX_REALTIME_SIGNALS > 0].
24441
86ebe6b1
AJ
244422012-10-27 Andreas Jaeger <aj@suse.de>
24443
24444 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24445 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24447 [__WORDSIZE != 64]: Likewise.
24448
54399c08
L
244492012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24450
24451 * iconvdata/tst-table.sh: Remove ${SHELL}.
24452 * iconvdata/tst-tables.sh: Likewise.
24453
e2211bed
DM
244542012-10-25 David S. Miller <davem@davemloft.net>
24455
24456 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24457 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24458 of strtoull.
24459
f303f97c
DM
24460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24461 ifunc-impl-list.c
24462 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24463 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24464 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24465 file.
24466
1e9d84cd
RM
244672012-10-25 Roland McGrath <roland@hack.frob.com>
24468
24469 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24470 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24471 __getdirentries.
24472
df381762
JM
244732012-10-25 Joseph Myers <joseph@codesourcery.com>
24474 Jim Blandy <jimb@codesourcery.com>
24475
24476 * scripts/cross-test-ssh.sh: New file.
24477 * manual/install.texi (Configuring and compiling): Document use of
24478 cross-test-ssh.sh.
24479 * INSTALL: Regenerated.
24480
bff64913
PT
244812012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24482
24483 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24484 EOPNOTSUPP.
24485
25fe8932
JM
244862012-10-25 Joseph Myers <joseph@codesourcery.com>
24487
24488 * Makeconfig (run-program-prefix): Fix comment.
24489
cc1290d0
JM
244902012-10-24 Joseph Myers <joseph@codesourcery.com>
24491 Jim Blandy <jimb@codesourcery.com>
24492
24493 * Makeconfig (test-wrapper): New variable,
24494 (test-wrapper-env): Likewise.
24495 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24496 (run-built-tests): Define to yes.
24497 (run-program-prefix): Use $(test-wrapper).
24498 (built-program-cmd): Likewise.
24499 * Rules (make-test-out): Use $(test-wrapper-env) and
24500 $(host-built-program-cmd).
24501 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24502 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24503 tst-pathopt.sh.
24504 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24505 $(test-wrapper-env) to tst-rtld-load-self.sh.
24506 ($(objpfx)order2.out): Use $(test-wrapper).
24507 ($(objpfx)tst-initorder.out): Likewise.
24508 ($(objpfx)tst-initorder2.out): Likewise.
24509 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24510 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24511 (test_wrapper_env): New variable. Use it to run ld.so.
24512 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24513 Use it to run ld.so.
24514 (test_wrapper_env): Likewise.
24515 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24516 $(test-wrapper) to run-iconv-test.sh.
24517 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24518 (ICONV): Use $test_wrapper.
24519 * posix/Makefile ($(objpfx)globtest.out): Pass
24520 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24521 globtest.sh, not $(run-program-prefix).
24522 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24523 (test_wrapper): Likewise.
24524 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24525 set together with run_via_rtld_prefix.
24526 (run_program_prefix): Define in terms of test_wrapper and
24527 run_via_rtld_prefix.
24528
6e6249d0
RM
245292012-10-24 Roland McGrath <roland@hack.frob.com>
24530
24531 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24532 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24533 Targets removed.
24534
24535 [BZ #14743]
24536 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24537 Declare __clock_getres, __clock_gettime, __clock_settime,
24538 __clock_nanosleep, and __clock_getcpuclockid.
24539 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24540 Remove librt_hidden_def (clock_gettime).
24541 * sysdeps/unix/clock_gettime.c: Likewise.
24542 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24543 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24544 * rt/clock_getres.c: Define __clock_getres as an alias.
24545 * sysdeps/posix/clock_getres.c: Likewise.
24546 * rt/clock_settime.c: Define __clock_settime as an alias.
24547 * sysdeps/unix/clock_settime.c: Likewise.
24548 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24549 * sysdeps/unix/clock_nanosleep.c: Likewise.
24550 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24551 * rt/clock-compat.c: New file.
24552 * rt/Makefile (librt-routines): Add clock-compat and move
24553 $(clock-routines) to ...
24554 (routines): ... here, new variable.
24555 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24556 Don't add get_clockfreq here.
24557 * rt/Versions (libc: GLIBC_2.17): New version set.
24558 Add clock_* symbols here.
24559 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24560 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24561 (GLIBC_2.17): Add clock_* symbols.
24562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24564 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24566 Likewise.
24567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24568 Likewise.
24569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24573 * NEWS: Mention the move.
24574
24575 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24576 Use __open, __read, __close rather than their public counterparts.
24577 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24578 (__get_clockfreq_via_cpuinfo): Likewise.
24579 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24580 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24581
24582 * config.h.in (HAVE_IFUNC): New #undef.
24583 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24584 was successful.
24585 * configure: Regenerated.
24586
0cae3f4b
MF
245872012-10-24 Mike Frysinger <vapier@gentoo.org>
24588
24589 * configure.in: Move READELF check to start of file.
24590 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24591 libc_cv_asm_gnu_indirect_function in the process.
24592 * configure: Regenerated.
24593
8175a253
MF
245942012-10-24 Mike Frysinger <vapier@gentoo.org>
24595
24596 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24597 send the output to /dev/null.
24598 (libc_cv_cc_with_libunwind): Likewise.
24599 (libc_cv_as_noexecstack): Likewise.
24600 * configure: Regenerate.
24601
0708a7d1
JM
246022012-10-24 Joseph Myers <joseph@codesourcery.com>
24603
10b40d85
JM
24604 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24605
0708a7d1
JM
24606 * posix/globtest.sh (TMPDIR): Do not set.
24607 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24608 (testout): Likewise.
24609
9fddec1a
AJ
246102012-10-24 Andreas Jaeger <aj@suse.de>
24611
3a8db22f
AJ
24612 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24613 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24614 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24615 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24616 posix_fadvise64, posix_fallocate64.
24617
9fddec1a
AJ
24618 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24619 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24620 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24621 Likewise.
24622 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24623 Likewise.
24624 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24625
24626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24627 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24628 <bits/fcntl-linux.h>.
24629 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24630
24631 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24632 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24633 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24634 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24635 [__WORDSIZE != 64]: Likewise.
24636
ebfd1bbd
JM
246372012-10-23 Joseph Myers <joseph@codesourcery.com>
24638
03ac099f
JM
24639 * Makeconfig (run-built-tests): New variable.
24640 * Rules [$(cross-compiling) = yes]: Change condition to
24641 [$(run-built-tests) = no].
24642 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24643 to [$(run-built-tests) = yes].
24644 * elf/Makefile [$(cross-compiling) = no]: Likewise
24645 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24646 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24647 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24648 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24649 * io/Makefile [$(cross-compiling) = no]: Likewise.
24650 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24651 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24652 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24653 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24654 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24655 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24656 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24657 * string/Makefile [$(cross-compiling) = no]: Likewise.
24658
ebfd1bbd
JM
24659 * posix/Makefile ($(objpfx)globtest.out): Pass
24660 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24661 $(rtld-installed-name).
24662 * posix/globtest.sh (elf_objpfx): Remove variable.
24663 (rtld_installed_name): Likewise.
24664 (library_path): Likewise.
24665 (run_program_prefix): New variable. Use for running globtest
24666 binary.
24667
166bca24
JB
246682012-10-23 Jim Blandy <jimb@codesourcery.com>
24669 Joseph Myers <joseph@codesourcery.com>
24670
24671 * Makeconfig (host-built-program-cmd): New variable.
24672 * elf/Makefile (tst-stackguard1-ARGS): Use
24673 $(host-built-program-cmd).
24674 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24675 (tst-spawn-ARGS): Likewise.
24676 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24677
88866099
JM
246782012-10-23 Joseph Myers <joseph@codesourcery.com>
24679 Jim Blandy <jimb@codesourcery.com>
24680
24681 * Makeconfig (run-via-rtld-prefix): New variable.
24682 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24683 (built-program-cmd): Likewise.
24684
b4b4c296
AJ
246852012-10-22 Andreas Jaeger <aj@suse.de>
24686
24687 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24688 __O_RSYNC if it exists, otherwise to O_SYNC.
24689
6fb54a22
JB
246902012-10-22 Jim Blandy <jimb@codesourcery.com>
24691 Joseph Myers <joseph@codesourcery.com>
24692
24693 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24694 /dev/null.
24695 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24696 from /dev/null
24697 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24698 /dev/null.
24699
481b90b9
AJ
247002012-10-22 Andreas Jaeger <aj@suse.de>
24701
2a0e2669
AJ
24702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24703 Define always.
24704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24705
76e38f9a
AJ
24706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24707 bits/fcntl-linux.h.
24708
7cd37b43
AJ
24709 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24710 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24711
481b90b9
AJ
24712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24713 to __O_LARGEFILE.
24714 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24715 to __O_LARGEFILE.
24716
aba75984
JB
247172012-10-21 Jim Blandy <jimb@codesourcery.com>
24718 Joseph Myers <joseph@codesourcery.com>
24719
24720 * config.make.in (NM): New variable.
24721
88d4247f
AJ
247222012-10-21 Andreas Jaeger <aj@suse.de>
24723
24724 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24725 definitions and declarations that are provided by
24726 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24727
f2eed205
L
247282012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24729
24730 [BZ #14683]
24731 * elf/Makefile (tests-static): Add tst-leaks1-static.
24732 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24733 ($(objpfx)tst-leaks1-static): New rule.
24734 ($(objpfx)tst-leaks1-static-mem): Likewise.
24735 (tst-leaks1-static-ENV): New macro.
24736 * elf/dl-open.c (dl_open_worker): Check the main application
24737 only if SHARED is defined.
24738 * elf/tst-leaks1-static.c: New file.
24739
335e6931
AJ
247402012-10-20 Andreas Jaeger <aj@suse.de>
24741
24742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24743 generic values for Linux.
24744 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24745 and declarations that are provided by <bits/fcntl-linux.h> and
24746 include <bits/fcntl-linux.h>.
24747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24749
ac5c94d3
RM
247502012-10-20 Roland McGrath <roland@hack.frob.com>
24751
24752 * io/fcntl.h: Move include of <bits/types.h> to the top and
24753 include it unconditionally.
24754
de54b33a
L
247552012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24756
228cfb01
L
24757 * wcsmbs/Makefile (tests-ifunc): New variable.
24758 (tests): Add $(tests-ifunc).
24759 * wcsmbs/test-wcschr-ifunc.c: New file.
24760 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24761 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24762 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24763 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24764 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24765
69f07e5f
L
24766 * string/Makefile (tests-ifunc): New variable.
24767 (tests): Add $(tests-ifunc).
24768 * string/test-memccpy.c (TEST_NAME): New macro.
24769 * string/test-memchr.c (TEST_NAME): Likewise.
24770 * string/test-memcmp.c (TEST_NAME): Likewise.
24771 * string/test-memcpy.c (TEST_NAME): Likewise.
24772 * string/test-memmem.c (TEST_NAME): Likewise.
24773 * string/test-memmove.c (TEST_NAME): Likewise.
24774 * string/test-memset.c (TEST_NAME): Likewise.
24775 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24776 * string/test-stpcpy.c (TEST_NAME): Likewise.
24777 * string/test-stpncpy.c (TEST_NAME): Likewise.
24778 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24779 * string/test-strcasestr.c (TEST_NAME): Likewise.
24780 * string/test-strcat.c (TEST_NAME): Likewise.
24781 * string/test-strchr.c (TEST_NAME): Likewise.
24782 * string/test-strcmp.c(TEST_NAME): Likewise.
24783 * string/test-strcpy.c (TEST_NAME): Likewise.
24784 * string/test-strcspn.c (TEST_NAME): Likewise.
24785 * string/test-strlen.c (TEST_NAME): Likewise.
24786 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24787 * string/test-strncmp.c (TEST_NAME): Likewise.
24788 * string/test-strncpy.c (TEST_NAME): Likewise.
24789 * string/test-strnlen.c (TEST_NAME): Likewise.
24790 * string/test-strpbrk.c (TEST_NAME): Likewise.
24791 * string/test-strrchr.c (TEST_NAME): Likewise.
24792 * string/test-strspn.c (TEST_NAME): Likewise.
24793 * string/test-strstr.c (TEST_NAME): Likewise.
24794 * string/test-bcopy-ifunc.c: New file.
24795 * string/test-bzero-ifunc.c: Likewise.
24796 * string/test-memccpy-ifunc.c: Likewise.
24797 * string/test-memchr-ifunc.c: Likewise.
24798 * string/test-memcmp-ifunc.c: Likewise.
24799 * string/test-memcpy-ifunc.c: Likewise.
24800 * string/test-memmem-ifunc.c: Likewise.
24801 * string/test-memmove-ifunc.c: Likewise.
24802 * string/test-mempcpy-ifunc.c: Likewise.
24803 * string/test-memset-ifunc.c: Likewise.
24804 * string/test-rawmemchr-ifunc.c: Likewise.
24805 * string/test-stpcpy-ifunc.c: Likewise.
24806 * string/test-stpncpy-ifunc.c: Likewise.
24807 * string/test-strcasecmp-ifunc.c: Likewise.
24808 * string/test-strcasestr-ifunc.c: Likewise.
24809 * string/test-strcat-ifunc.c: Likewise.
24810 * string/test-strchr-ifunc.c: Likewise.
24811 * string/test-strchrnul-ifunc.c: Likewise.
24812 * string/test-strcmp-ifunc.c: Likewise.
24813 * string/test-strcpy-ifunc.c: Likewise.
24814 * string/test-strcspn-ifunc.c: Likewise.
24815 * string/test-strlen-ifunc.c: Likewise.
24816 * string/test-strncasecmp-ifunc.c: Likewise.
24817 * string/test-strncat-ifunc.c: Likewise.
24818 * string/test-strncmp-ifunc.c: Likewise.
24819 * string/test-strncpy-ifunc.c: Likewise.
24820 * string/test-strnlen-ifunc.c: Likewise.
24821 * string/test-strpbrk-ifunc.c: Likewise.
24822 * string/test-strrchr-ifunc.c: Likewise.
24823 * string/test-strspn-ifunc.c: Likewise.
24824 * string/test-strstr-ifunc.c: Likewise.
24825
de54b33a
L
24826 * debug/Makefile (tests-ifunc): New variable.
24827 (tests): Add $(tests-ifunc).
24828 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24829 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24830 * debug/test-stpcpy_chk-ifunc.c: New file.
24831 * debug/test-strcpy_chk-ifunc.c: Likewise.
24832
88481c16
SP
248332012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24834
24835 [BZ #13601]
24836 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24837 header is not read in.
24838
135948bd
JM
248392012-10-19 Joseph Myers <joseph@codesourcery.com>
24840
89f1c388
JM
24841 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24842 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24843 directly. Pass built executable to script as
24844 $(built-program-cmd).
24845 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24846 $testprogram without using LD_LIBRARY_PATH and $ldso.
24847
e40a0d21
JM
24848 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24849 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24850 $(rtld-installed-name).
24851 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24852 (rtld_installed_name): Likewise.
24853 (library_path): Likewise.
24854 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24855 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24856 $(run-program-prefix) to tst-tables.sh.
24857 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24858 it to run tst-table-from and tst-table-to.
24859 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24860 Pass it to tst-table.sh.
24861 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24862 $(run-program-prefix) to tst-gettext.sh.
24863 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24864 tst-translit.sh.
24865 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24866 tst-gettext2.sh.
24867 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24868 to run tst-gettext.
24869 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24870 to run tst-gettext2.
24871 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24872 to run tst-translit.
24873 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24874 $(run-program-prefix) to tst-mtrace.sh.
24875 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24876 to run tst-mtrace.
24877 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24878 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24879 $(rtld-installed-name).
24880 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24881 (rtld_installed_name): Likewise.
24882 (run_program_prefix): New variable. Use it to run wordexp-test.
24883
728e272a
JM
24884 * Makeconfig (ARCH): Remove all definitions.
24885 (machine): Likewise.
24886 [ARCH]: Remove conditional code.
24887 [!objdir]: Give error.
24888 [!objdir] (objpfx): Remove.
24889 [!objdir] (common-objpfx): Likewise.
24890 [!objdir] (common-objdir): Likewise.
24891 * configure.in (config_makefile): Remove. Hardcode Makefile in
24892 AC_CONFIG_FILES call.
24893 * configure: Regenerated.
24894
d528cdcf
JM
24895 [BZ #13888]
24896 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24897 or TMPDIR.
24898 (testout): Likewise.
24899
135948bd
JM
24900 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24901 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24902 $(rtld-installed-name).
24903 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24904 (rtld_installed_name): Likwise.
24905 (runit): Remove function.
24906 (run_getconf): New variable, Use it for running getconf binary.
24907
38c78296
L
249082012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24909
24910 [BZ #14716]
24911 * string/test-memmem.c (check_result): New function.
24912 (do_one_test): Use it.
24913 (check1): New function.
24914 (test_main): Use it.
24915
d077f65f
MT
249162012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24917
24918 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24919
ced52c71
JM
249202012-10-18 Joseph Myers <joseph@codesourcery.com>
24921
24922 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24923 (_G_LSEEK64): Likewise.
24924 (_G_MMAP64): Likewise.
24925 (_G_FSTAT64): Likewise.
24926 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24927 (_G_LSEEK64): Likewise.
24928 (_G_MMAP64): Likewise.
24929 (_G_FSTAT64): Likewise.
24930 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24931 unconditional. Call __mmap64 directly.
24932 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24933 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24934 __lseek64 directly.
24935 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24936 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24937 __mmap64 directly.
24938 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24939 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24940 __lseek64 directly.
24941 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24942 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24943 __lseek64 directly.
24944 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24945 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24946 __lseek64 directly.
24947 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24948 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24949 __fxstat64 directly.
24950 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24951 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24952 unconditional.
24953 (freopen64) [!_G_OPEN64]: Remove conditional code.
24954 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24955 unconditional.
24956 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24957 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24958 unconditional.
24959 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24960 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24961 unconditional.
24962 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24963 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24964 unconditional.
24965 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24966 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24967 unconditional.
24968 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24969 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24970 unconditional.
24971 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24972 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24973 unconditional.
24974 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24975
b741de23
SP
249762012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24977
24978 [BZ #12140]
24979 * manual/memory.texi (Malloc Tunable Parameters): Add note
24980 about free list pointers overwriting some perturb bytes.
24981 Wording suggested by Roland McGrath.
24982
f9b9d9c9
JM
249832012-10-17 Joseph Myers <joseph@codesourcery.com>
24984
24985 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24986 (lgamma_test): Likewise.
24987 (tgamma_test): Likewise.
24988
172a631a
FW
249892012-10-16 Florian Weimer <fweimer@redhat.com>
24990
24991 [BZ #14700]
24992 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24993 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24994
e9f37252
MK
249952012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24996
24997 * NEWS: Mention BZ #14716.
24998 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24999 when removing AVAILABLE1_USES_J macro.
25000
d394eb74
L
250012012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25002
25003 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25004 (__bswap_64): __uint64_t for unsigned 64-bit int.
25005
ca38dc17
AS
250062012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25007
25008 * include/string.h (memmem): Declare libc hidden alias.
25009 * string/memmem.c (memmem): Define libc hidden alias.
25010 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25011 __read, __close instead of open, read, close.
25012
9a387d1f
L
250132012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25014
ac49ecaf
L
25015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25016 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25017 global and hidden.
25018 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25019 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25020 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25021 Likewise.
25022 (__rawmemchr_sse2): Likewise.
25023 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25024 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25025 (__strchr_sse2): Likewise.
25026 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25027 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25028 (__strcasecmp_sse2): Likewise.
25029 (__strncasecmp_sse2): Likewise.
25030 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25031 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25032 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25033 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25034 (__strrchr_sse2): Likewise.
25035 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25036 ifunc-impl-list.c.
25037 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25038 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25039 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25040 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25041 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25042 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25043 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25044 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25045 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25046 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25047 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25048 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25049 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25050 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25051 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25052 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25053 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25054 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25055 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25056 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25057 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25058 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25059 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25060 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25061 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25062 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25063 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25064 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25065 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25066 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25067
b090e8ea
L
25068 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25069 global and hidden.
25070 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25071 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25072 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25073 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25074 Likewise.
25075 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25076 Likewise.
25077 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25078 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25079 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25080 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25081 ifunc-impl-list.c.
25082 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25083 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25084 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25085 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25086 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25087 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25088 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25089 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25090 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25091 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25092 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25093 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25094 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25095 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25096 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25097 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25098 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25099 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25100 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25101 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25102 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25103 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25104 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25105 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25106 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25107 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25108 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25109 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25110 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25111 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25112 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25113 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25114 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25115 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25116 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25117 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25118 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25119 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25120 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25121 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25122 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25123
11dd4af6
L
25124 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25125 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25126 * include/ifunc-impl-list.h: New file.
25127 * misc/ifunc-impl-list.c: Likewise.
25128 * misc/Makefile (routines): Add ifunc-impl-list.
25129 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25130 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
25131 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25132 TEST_NAME]: New variables.
11dd4af6
L
25133 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25134 are defined.
25135 (test_init): Call __libc_ifunc_impl_list to initialize
25136 func_list if TEST_IFUNC and TEST_NAME are defined.
25137
9a387d1f
L
25138 * string/Makefile (strop-tests): Add bcopy and bzero.
25139 * string/test-bcopy.c: New file.
25140 * string/test-bzero.c: Likewise.
25141 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25142 defined.
25143 * string/test-memset.c: Support bzero test if TEST_BZERO is
25144 defined.
25145 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25146 __libc_memmove.
25147 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25148 __libc_memset.
25149 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25150 of memset.
25151
472371b9
JM
251522012-10-10 Joseph Myers <joseph@codesourcery.com>
25153
1e4a9536
JM
25154 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25155 * configure: Regenerated.
25156
d173d12e
JM
25157 * Makeconfig (+link-static-before-libc): Don't include
25158 $(link-static-libc).
25159
472371b9
JM
25160 * libio/libio.h (_IO_pos_t): Remove.
25161
89a3ad0b
AO
251622012-10-10 Alexandre Oliva <aoliva@redhat.com>
25163
25164 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25165 McGrath.
25166
e7451425
AO
251672012-10-10 Alexandre Oliva <aoliva@redhat.com>
25168
25169 * crypt/crypt-entry.c: Include fips-private.h.
25170 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25171 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25172 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25173 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25174
4ba74a35
AO
251752012-10-10 Alexandre Oliva <aoliva@redhat.com>
25176
25177 * crypt/crypt-private.h: Include stdbool.h.
25178 (_ufc_setup_salt_r): Return bool.
25179 * crypt/crypt-entry.c: Include errno.h.
25180 (__crypt_r): Return NULL with EINVAL for bad salt.
25181 * crypt/crypt_util.c (bad_for_salt): New.
25182 (_ufc_setup_salt_r): Check that salt is long enough and within
25183 the specified alphabet.
25184 * crypt/badsalttest.c: New file.
25185 * crypt/Makefile (tests): Add it.
25186 ($(objpfx)badsalttest): New.
25187
f96f1242
MK
251882012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25189
25190 * NEWS: Add entry for BZ #14602.
25191
0e8e0c1c
JM
251922012-10-09 Joseph Myers <joseph@codesourcery.com>
25193
25194 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25195 type-generic.
25196 * math/libm-test.inc: Update comment listing what functions and
25197 macros are tested.
25198 (isgreater_test): New function.
25199 (isgreaterequal_test): Likewise.
25200 (isless_test): Likewise.
25201 (islessequal_test): Likewise.
25202 (islessgreater_test): Likewise.
25203 (isunordered_test): Likewise.
25204 (main): Call the new functions.
25205
273edc5e
RM
252062012-10-09 Roland McGrath <roland@hack.frob.com>
25207
b8493de0
RM
25208 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25209 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25210 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25211 * sysdeps/i386/configure: Regenerated.
25212 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25213 * sysdeps/mach/configure: Regenerated.
25214 * sysdeps/mach/hurd/configure: Regenerated.
25215 * sysdeps/powerpc/configure: Regenerated.
25216 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25217 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25218 * sysdeps/s390/s390-32/configure: Regenerated.
25219 * sysdeps/s390/s390-64/configure: Regenerated.
25220 * sysdeps/sh/configure: Regenerated.
25221 * sysdeps/sparc/configure: Regenerated.
25222 * sysdeps/unix/sysv/linux/configure: Regenerated.
25223 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25224 * sysdeps/x86_64/configure: Regenerated.
25225
273edc5e
RM
25226 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25227 defined. Don't check if MAP is NULL.
25228
c8450f70
JM
252292012-10-09 Joseph Myers <joseph@codesourcery.com>
25230
25231 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25232 (_G_stat64): Likewise.
25233 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25234 (_G_stat64): Likewise.
25235 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25236 instead of struct _G_stat64.
25237 * libio/fileops.c (mmap_remap_check): Likewise.
25238 (decide_maybe_mmap): Likewise.
25239 (_IO_new_file_seekoff): Likewise.
25240 (_IO_file_stat): Likewise.
25241 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25242 _G_off64_t.
25243 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25244 instead of struct _G_stat64.
25245 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25246
57e605ba
MK
252472012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25248
25249 [BZ #14602]
25250 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25251 Replace with ...
25252 (CHECK_EOL): New macro.
25253 (two_way_short_needle): Check beginning of haystack for EOL. Use
25254 CHECK_EOL.
25255 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25256 Replace with CHECK_EOL.
25257 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25258 Replace with CHECK_EOL.
25259
ef1bb361
JM
252602012-10-08 Joseph Myers <joseph@codesourcery.com>
25261
25262 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25263 type-generic.
25264 * math/libm-test.inc: Update comment listing what functions and
25265 macros are tested.
25266 (finite_test): New function.
25267 (isinf_test): Likewise.
25268 (isnan_test): Likewise.
25269 (fpclassify_test): Test subnormal input.
25270 (isfinite_test): Likewise.
25271 (isnormal_test): Likewise.
25272 (main): Call the new functions.
25273
55f11534
JN
252742012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25275
25276 [BZ #14660]
25277 * Makerules (%.dynsym): Force C locale when running
25278 $(OBJDUMP) --dynamic-syms.
25279
1ab29350
AS
252802012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25281
25282 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25283 <stdint.h>.
25284
f1ecb7ef
DM
252852012-10-06 David S. Miller <davem@davemloft.net>
25286
25287 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25288 upper 32-bits of the length value in %o2 since we use branch-on-register
25289 tests which consider the entire 64-bit register.
25290
5d41d91a
L
252912012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25292
25293 * string/test-strstr.c (check2): Add a test for page boundary.
25294
3baddb72
DM
252952012-10-05 David S. Miller <davem@davemloft.net>
25296
25297 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25298 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25299 file.
25300 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25301 sysdep_routines.
25302 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25303 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25304 and bzero when HWCAP_SPARC_CRYPTO is present.
25305
9cee5585
L
253062012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25307
d7e0dab9
L
25308 [BZ #14602]
25309 * string/test-strstr.c (check2): New function.
25310 (test_main): Call check2.
25311
03759f47
L
25312 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25313 and bug-strchr1.
25314 * string/bug-strcasestr1.c (do_test): Moved to ...
25315 * string/test-strcasestr.c (check1): Here. New function.
25316 (do_one_test): Break out result checking code into ...
25317 (check_result): This. New function.
25318 (do_one_test): Call check_result.
25319 (test_main): Call check1.
25320 * string/bug-strchr1.c (do_test): Moved to ...
25321 * string/test-strchr.c (check1): Here. New function.
25322 (do_one_test): Break out result checking code into ...
25323 (check_result): This. New function.
25324 (do_one_test): Call check_result.
25325 (test_main): Call check1.
25326 * string/bug-strstr1.c (main): Moved to ...
046f153e 25327 * string/test-strstr.c (check1): Here. New function.
03759f47
L
25328 (do_one_test): Break out result checking code into ...
25329 (check_result): This. New function.
25330 (do_one_test): Call check_result.
25331 (test_main): Call check1.
25332 * string/bug-strcasestr1.c: Removed.
25333 * string/bug-strchr1.c: Likewise.
25334 * string/bug-strstr1.c: Likewise.
25335
53cea63e
L
25336 * elf/Makefile (dl-routines): Add hwcaps.
25337 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25338 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25339 (_dl_important_hwcaps): Moved to ...
25340 * elf/dl-hwcaps.c: Here. New file.
25341 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25342
9cee5585 25343 [BZ #14557]
bb859b06
L
25344 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25345 if IS_IN_rtld isn't defined.
25346
9cee5585
L
25347 * elf/dl-support.c (_dl_sysinfo_map): New.
25348 Include "get-dynamic-info.h" and "setup-vdso.h".
25349 (_dl_non_dynamic_init): Call setup_vdso.
25350 * elf/dynamic-link.h: Don't include <assert.h>.
25351 (elf_get_dynamic_info): Moved to ...
25352 * elf/get-dynamic-info.h: Here. New file.
25353 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25354 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25355 * elf/setup-vdso.h: Here. New file.
25356 * elf/rtld.c: Include "setup-vdso.h".
25357 (dl_main): Call setup_vdso.
25358
23c31b76
JM
253592012-10-05 Joseph Myers <joseph@codesourcery.com>
25360
28234b07
JM
25361 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25362 creal in comment listing functions tested. List finite, isinf,
25363 isnan, isless, islessequal, isgreater, isgreaterequal,
25364 islessgreater, isunordered, lgamma_r and pow10 as functions and
25365 macros not tested. Mention which functions not tested are aliases
25366 for other functions. Fix typo. Note that signs of NaNs are not
25367 tested.
25368
23c31b76
JM
25369 * scripts/config.guess: Update from config.git.
25370 * scripts/config.sub: Likewise.
25371
9043e228
RM
253722012-10-04 Roland McGrath <roland@hack.frob.com>
25373
25374 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25375 * misc/madvise.c (madvise): Renamed to __madvise.
25376 Make madvise a weak alias.
25377 * include/sys/mman.h: Declare __madvise.
25378 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25379 * sysdeps/unix/syscalls.list
25380 (madvise): Make __madvise the strong name, and madvise a weak alias.
25381 * sysdeps/unix/sysv/linux/syscalls.list
25382 (madvise, mmap): Remove redundant entries.
25383 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25384 * malloc/malloc.c (mtrim): Likewise.
25385 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25386
f57f8055
RM
253872012-10-03 Roland McGrath <roland@hack.frob.com>
25388
25389 * sysdeps/mach/hurd/dl-cache.c: File removed.
25390 * config.h.in (USE_LDCONFIG): New #undef.
25391 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25392 * configure: Regenerated.
25393 * elf/Makefile (dl-routines): Add dl-cache only under
25394 [$(use-ldconfig) = yes].
25395 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25396 cache on [USE_LDCONFIG].
25397 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25398 [USE_LDCONFIG].
25399 * elf/rtld.c (dl_main): Likewise.
25400
5bb0c10a
PT
254012012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25402
25403 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25404 _SC_LEVEL4_CACHE_LINESIZE.
25405
010188c6
RM
254062012-10-03 Roland McGrath <roland@hack.frob.com>
25407
25408 * sysdeps/unix/bsd/confstr.h: File removed.
25409
b6c5ec07
AO
254102012-10-02 Alexandre Oliva <aoliva@redhat.com>
25411
25412 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25413 sys/sdt-config.h.
25414
408223d4
RM
254152012-10-02 Roland McGrath <roland@hack.frob.com>
25416
25417 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25418 Make 'mapoff' field ElfW(Off) rather than off_t.
25419
bb9510dc
DL
254202012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25421
fc997c6e
DL
25422 * nscd/Makefile: Remove nscd-cflags and all its users.
25423 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25424 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25425
bb9510dc
DL
25426 [BZ #10631]
25427 * malloc.c (malloc_printerr): Clarify error message.
25428
05699367
L
254292012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25430
25431 [BZ #14648]
25432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25433 Set bit_FMA_Usable if FMA is supported.
25434 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25435 macro.
25436 (bit_FMA4_Usable): Updated.
25437 (index_FMA_Usable): New macro.
25438 (CPUID_FMA): Likewise
25439 (HAS_FMA): Defined with bit_FMA_Usable.
25440
51367701
RM
254412012-10-01 Roland McGrath <roland@hack.frob.com>
25442
25443 * bits/types.h (__swblk_t): Type removed.
25444 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25445 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25446 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25447 (__SWBLK_T_TYPE): Likewise.
25448 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25449 (__SWBLK_T_TYPE): Likewise.
25450 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25451 (__SWBLK_T_TYPE): Likewise.
25452 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25453 (__SWBLK_T_TYPE): Likewise.
25454
4d57bf63 254552012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25456 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25457
25458 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25459 (xdr_mapname): Use YPMAXMAP as maxsize.
25460 (xdr_peername): Use YPMAXPEER as maxsize.
25461 (xdr_keydat): Use YPAXRECORD as maxsize.
25462 (xdr_valdat): Use YPMAXRECORD as maxsize.
25463
93c65d43
RM
254642012-10-01 Roland McGrath <roland@hack.frob.com>
25465
497a03d6
RM
25466 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25467
93c65d43
RM
25468 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25469 * csu/init-first.c: ... here.
25470 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25471 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25472 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25473 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25474 * sysdeps/i386/init-first.c: File removed.
25475 * sysdeps/sh/init-first.c: File removed.
25476
bec749fd
JM
254772012-10-01 Joseph Myers <joseph@codesourcery.com>
25478
25479 [BZ #14645]
25480 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25481 if x * y might underflow to zero and z is zero.
25482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25483 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25484 * math/libm-test.inc (min_subnorm_value): New variable.
25485 (fma_test): Add more tests.
25486 (fma_test_towardzero): Likewise.
25487 (fma_test_downward): Likewise
25488 (fma_test_upward): Likewise.
25489 (initialize): Set min_subnorm_value.
25490
8ec5b013
JM
254912012-09-29 Joseph Myers <joseph@codesourcery.com>
25492
25493 [BZ #14638]
25494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25495 0 + 0.
25496 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25497 mode for addition resulting in exact zero.
25498 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25500 exact 0 + 0.
25501 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25502 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25503 * math/libm-test.inc (fma_test): Add more tests.
25504 (fma_test_towardzero): New function.
25505 (fma_test_downward): Likewise.
25506 (fma_test_upward): Likewise.
25507 (main): Call the new functions.
25508
b1fa802e
DM
255092012-09-28 David S. Miller <davem@davemloft.net>
25510
25511 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25512
d3b9fd9e
RM
255132012-09-28 Roland McGrath <roland@hack.frob.com>
25514
ea4d37b3
RM
25515 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25516 instead of SIGALRM.
25517
ac51c949
RM
25518 * sysdeps/gnu/_G_config.h: Moved to ...
25519 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25520 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25521 * sysdeps/generic/_G_config.h: ... here.
25522
28c195f7
RM
25523 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25524
848917f9
RM
25525 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25526
6bacf05b
RM
25527 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25528 Conditionalize target on [libnss_test1.so-version].
25529
91363dbb
RM
25530 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25531
cc87f7d8
RM
25532 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25533 (elfobjdir): Move out of conditionals.
25534
b1c608fe
RM
25535 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25536 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25537 (__nss_lookup_function): Conditionalize label remove_from_tree on
25538 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 25539
1d9a6d96
DM
255402012-09-28 David S. Miller <davem@davemloft.net>
25541
25542 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25543 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25544 file.
25545 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25546 sysdep_routines.
25547 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25549 when HWCAP_SPARC_CRYPTO is present.
25550
72581615
PT
255512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25552
25553 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25554
715a900c
JL
255552012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25556
25557 [BZ #6530]
25558 * stdio-common/vfprintf.c (process_string_arg): Revert
25559 2000-07-22 change.
25560
255612011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25562
25563 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25564 for testcase.
25565 * stdio-common/tst-sprintf.c: Include <locale.h>
25566 (main): Test sprintf's handling of incomplete multibyte
25567 characters.
25568
9bac1d86
L
255692012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25570
25571 * elf/dl-runtime.c (VERSYMIDX): Removed.
25572 * elf/dl-version.c (VERSYMIDX): Likewise.
25573 * elf/do-rel.h (VERSYMIDX): Likewise.
25574 (VALIDX): Likewise.
25575 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25576 * elf/rtld.c (VALIDX): Likewise.
25577 (ADDRIDX): Likewise.
9bac1d86
L
25578 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25579 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25580 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25581 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25582 (VALIDX): Likewise.
25583 (ADDRIDX): Likewise.
9bac1d86 25584
b31606c0
PT
255852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25586
25587 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25588
11541177
JL
255892012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25590
25591 [BZ #11438]
25592 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25593 to global scope.
25594 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25595 addresses are in the same scope as 192.0.2/24.
25596 * posix/gai.conf: Document new scope table defaults.
25597
adb26fae
SP
255982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25599
25600 [BZ #5298]
25601 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25602 for ftell. Compute offsets from write pointers instead.
25603 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25604
4573c6b0
SP
256052012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25606
25607 [BZ #14543]
25608 * libio/Makefile (tests): New test case tst-fseek.
25609 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25610 combination works in wide mode.
25611 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25612 state when the external buffer state changes.
25613
aa9bbfe6
DM
256142012-09-27 David S. Miller <davem@davemloft.net>
25615
25616 [BZ #14376]
25617 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25618 pass reloc->r_addend in as the 'high' argument to
25619 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25620
784421e7
DM
25621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25622
c39bc8b8
PT
256232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25624
25625 * rt/tst-aio2.c: Include <pthread.h>.
25626 * rt/tst-aio3.c: Likewise.
25627
1ccc2399
SE
256282012-09-27 Steve Ellcey <sellcey@mips.com>
25629
25630 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25631
31ed4153
L
256322012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25633
25f5f885
L
25634 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25635 contents on [SHARED].
31ed4153 25636
b7bfe116
MP
256372012-09-26 Marek Polacek <polacek@redhat.com>
25638
25639 [BZ #14530]
25640 [BZ #13741]
25641 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25642 for C++ and GCC <4.3 as well as for non GCC compilers.
25643
43c4edba
MT
256442012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25645
25646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25647
6a1bf82f
RM
256482012-09-25 Roland McGrath <roland@hack.frob.com>
25649
25650 * Makefile.in (all, install): Declare with .PHONY.
25651 Reported by Michael Hope <michael.hope@linaro.org>.
25652
8ad11b9a
TMQMF
256532012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25654
25655 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25656 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25657 system header.
25658 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25659 Likewise.
25660 (sydep_routines): Add the new and the internal functions.
25661 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25662 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25664 (GLIBC_2.17): Add the new function.
25665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25666 (GLIBC_2.17): Likewise.
25667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25668 (GLIBC_2.17): Likewise.
25669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25670 (GLIBC_2.17): Likewise.
25671 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25672
7e2fca8d
AM
256732012-09-25 Alan Modra <amodra@gmail.com>
25674
25675 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25676 Add release barrier before setting once_control to say
25677 initialisation is done. Add hints on lwarx. Use macro in
25678 place of isync.
25679 (clear_once_control): Add release barrier.
25680
b87c4b24
JM
256812012-09-25 Joseph Myers <joseph@codesourcery.com>
25682
d032e0d2
JM
25683 [BZ #13629]
25684 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25685 specially.
25686 * math/s_clog10.c (__clog10): Likewise.
25687 * math/s_clog10f.c (__clog10f): Likewise.
25688 * math/s_clog10l.c (__clog10l): Likewise.
25689 * math/s_clogf.c (__clogf): Likewise.
25690 * math/s_clogl.c (__clogl): Likewise.
25691 * math/Makefile (libm-calls): Add x2y2m1.
25692 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25693 (__x2y2m1): Likewise.
25694 (__x2y2m1l): Likewise.
25695 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25696 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25697 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25698 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25699 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25700 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25701 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25702 * sysdeps/i386/fpu/libm-test-ulps: Update.
25703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25704
b87c4b24
JM
25705 [BZ #14621]
25706 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25707 int as type of variable DEPTH.
25708 (glob): Use size_t instead of int as type of variables NEWCOUNT
25709 and OLD_PATHC.
25710
6d3bf199
LD
257112012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25712
22bf5c17
LD
25713 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25714 Add s_sincosf-sse2.
25715 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25716 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25717 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25718 macros for using routine as __sincosf_ia32.
25719 Use macro for function declaration and weak_alias.
25720 * sysdeps/i386/fpu/libm-test-ulps: Update.
25721
25722 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25724
25725 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
25726 subnormal argument.
25727 * math/s_cexpf.c (__cexpf): Likewise.
25728 * math/s_csinf.c (__csinf): Likewise.
25729 * math/s_csinhf.c (__csinhf): Likewise.
25730 * math/s_ctanf.c (__ctanf): Likewise.
25731 * math/s_ctanhf.c (__ctanhf): Likewise.
25732 * math/s_ccosh.c (__ccoshf): Likewise.
25733 * math/s_cexp.c (__cexpl): Likewise.
25734 * math/s_csin.c (__csin): Likewise.
25735 * math/s_csinh.c (__csinh): Likewise.
25736 * math/s_ctan.c (__ctan): Likewise.
25737 * math/s_ctanh.c (ctanh): Likewise.
25738 * math/s_ccoshl.c (__ccoshl): Likewise.
25739 * math/s_cexpl.c (__cexpl): Likewise.
25740 * math/s_csinl.c (__csinl): Likewise.
25741 * math/s_csinhl.c (__csinhl): Likewise.
25742 * math/s_ctanl.c (__ctanl): Likewise.
25743 * math/s_ctanhl.c (__ctanhl): Likewise.
25744
203e5603
JM
257452012-09-25 Joseph Myers <joseph@codesourcery.com>
25746
25747 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25748 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25749 (_IO_off_t): Define to __off_t, not _G_off_t.
25750 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25751 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25752 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25753 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25754 type of __dummy and __dummy2 fields.
25755 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25756 (_G_ssize_t): Likewise.
25757 (_G_off_t): Likewise.
25758 (_G_pid_t): Likewise.
25759 (_G_uid_t): Likewise.
25760 (_G_wchar_t): Likewise.
25761 (_G_wint_t): Likewise.
25762 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25763 (_G_ssize_t): Likewise.
25764 (_G_off_t): Likewise.
25765 (_G_pid_t): Likewise.
25766 (_G_uid_t): Likewise.
25767 (_G_wchar_t): Likewise.
25768 (_G_wint_t): Likewise.
25769 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25770 (_G_ssize_t): Likewise.
25771 (_G_off_t): Likewise.
25772 (_G_pid_t): Likewise.
25773 (_G_uid_t): Likewise.
25774 (_G_wchar_t): Likewise.
25775 (_G_wint_t): Likewise.
25776
9fab36eb
SP
257772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25778
25779 * malloc/arena.c: Include malloc-sysdep.h.
25780 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25781 is sufficient to shrink the heap or an unmap is needed.
25782 * sysdeps/generic/malloc-sysdep.h: New file. Define
25783 new function check_may_shrink_heap.
25784 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25785 new function check_may_shrink_heap.
25786
2b4f00d1
SP
257872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25788
25789 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25790 comments.
25791
9a9028b1
DL
257922012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25793
57c69bef
DL
25794 * catgets/test-gencat.sh: Add "set -e".
25795 * elf/tst-pathopt.sh: Likewise.
25796 * grp/tst_fgetgrent.sh: Likewise.
25797 * iconvdata/run-iconv-test.sh: Likewise.
25798 * intl/tst-gettext.sh: Likewise.
25799 * intl/tst-gettext2.sh: Likewise.
25800 * intl/tst-gettext4.sh: Likewise.
25801 * intl/tst-gettext6.sh: Likewise.
25802 * intl/tst-translit.sh: Likewise.
25803 * io/ftwtest-sh: Likewise.
25804 * libio/test-freopen.sh: Likewise.
25805 * malloc/tst-mtrace.sh: Likewise.
25806 * posix/globtest.sh: Likewise.
25807 * posix/tst-getconf.sh: Likewise.
25808 * posix/wordexp-tst.sh: Likewise.
25809 * stdio-common/tst-printf.sh: Likewise.
25810 * stdio-common/tst-unbputc.sh: Likewise.
25811 * stdlib/tst-fmtmsg.sh: Likewise.
25812 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25813 * catgets/Makefile: Do not specify -e option when running
25814 testsuite shell scripts.
25815 * elf/Makefile: Likewise.
25816 * grp/Makefile: Likewise.
25817 * iconvdata/Makefile: Likewise.
25818 * intl/Makefile: Likewise.
25819 * io/Makefile: Likewise.
25820 * libio/Makefile: Likewise.
25821 * malloc/Makefile: Likewise.
25822 * posix/Makefile: Likewise.
25823 * stdio-common/Makefile: Likewise.
25824 * stdlib/Makefile: Likewise.
25825 * sysdeps/x86_64/Makefile: Likewise.
25826
9a9028b1
DL
25827 * io/ftwtest-sh: Add copyright header.
25828 * posix/globtest.sh: Likewise.
25829 * posix/tst-getconf.sh: Likewise.
25830 * posix/wordexp-tst.sh: Likewise.
25831 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25832
ced6f16e
L
258332012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25834
94b32c39
L
25835 [BZ #13679]
25836 * Makeconfig (+link): Defined as $(+link-static) if
25837 $(build-shared) isn't yes.
25838 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25839 isn't yes.
25840 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25841
189e935b
L
25842 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25843
ced6f16e
L
25844 [BZ #14562]
25845 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25846 new chunk size with MALLOC_ALIGN_MASK.
25847
a9f8e53a
JM
258482012-09-24 Joseph Myers <joseph@codesourcery.com>
25849
25850 [BZ #5044]
25851 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25852 <rounding-mode.h>.
25853 (__printf_fphex): Determine rounding using get_rounding_mode and
25854 round_away.
25855 * stdio-common/tst-printf-round.c (struct hex_test): New
25856 structure.
25857 (hex_tests): New variable.
25858 (test_hex_in_one_mode): New function.
25859 (do_test): Also run tests for hex float output.
25860
43153109
JM
258612012-09-21 Joseph Myers <joseph@codesourcery.com>
25862
25863 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25864 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25865 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25866 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25867 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25868 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25869 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25870 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25871
8a26625d
JM
258722012-09-20 Joseph Myers <joseph@codesourcery.com>
25873
25874 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25875 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25876 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25877 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25878
f3fd569c
DL
258792012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25880
25881 [BZ #14579]
25882 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25883 mode only.
25884 * elf/tst-rtld-load-self.sh: New test.
25885 * elf/Makefile: Run it.
25886
63bbedd4
JM
258872012-09-18 Joseph Myers <joseph@codesourcery.com>
25888
25889 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25890 (tst-writev-ENV): Remove.
25891 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25892
626f8b6a
CM
258932012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25894
25895 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25896
b7aaa4d6
JM
258972012-09-17 Joseph Myers <joseph@codesourcery.com>
25898
25899 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25900 unconditional.
25901 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25902 Likewise.
25903 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25904 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25905 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25906 Likewise.
25907
65513990
L
259082012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25909
25910 [BZ #14587]
25911 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25912 * config.make.in (have-cpp-asm-debuginfo): Removed.
25913 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25914 * configure: Regenerated.
25915
784761be
JM
259162012-09-14 Joseph Myers <joseph@codesourcery.com>
25917
25918 [BZ #5044]
25919 * stdio-common/printf_fp.c: Include <stdbool.h> and
25920 <rounding-mode.h>.
25921 (___printf_fp): Determine rounding using get_rounding_mode and
25922 round_away.
25923 * stdio-common/tst-printf-round.c: New file.
25924 * stdio-common/Makefile (tests): Add tst-printf-round.
25925 (link-libm): New variable.
25926 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25927
9503345f
L
259282012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25929
25930 [BZ #14576]
25931 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25932 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25933 Likewise.
25934 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25935 Likewise.
25936
ad35fc00
JM
259372012-09-13 Joseph Myers <joseph@codesourcery.com>
25938
25939 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25940 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25941 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25942 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25943
6c9b0f68
JM
259442012-09-12 Joseph Myers <joseph@codesourcery.com>
25945
25946 [BZ #14518]
25947 * include/rounding-mode.h: New file.
25948 * sysdeps/generic/get-rounding-mode.h: Likewise.
25949 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25950 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25951 (MAX_VALUE): New macro.
25952 (MIN_VALUE): Likewise.
25953 (overflow_value): New function.
25954 (underflow_value): Likewise.
25955 (round_and_return): Use overflow_value and underflow_value to
25956 determine return values in overflow and underflow cases. Use
25957 round_away to determine rounding depending on rounding mode.
25958 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25959 determine return values in overflow and underflow cases.
25960 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25961 (struct test_results): New structure.
25962 (struct test): Use struct test_results to store expected results
25963 for all rounding modes.
25964 (TEST): Include expected results for all rounding modes.
25965 (test_in_one_mode): New function.
25966 (do_test): Use test_in_one_mode to compute and check results.
25967 Check results for all rounding modes.
25968 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25969 $(link-libm).
25970
19fcedd5
AM
259712012-12-09 Allan McRae <allan@archlinux.org>
25972
1e9d84cd 25973 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25974
8bbfd2f1
JM
259752012-09-11 Joseph Myers <joseph@codesourcery.com>
25976
25977 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25978 (_G_int32_t): Likewise.
25979 (_G_uint16_t): Likewise.
25980 (_G_uint32_t): Likewise.
25981 (_G_HAVE_BOOL): Likewise.
25982 (_G_HAVE_ATEXIT): Likewise.
25983 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25984 (_G_HAVE_IO_FILE_OPEN): Likewise.
25985 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25986 (_G_int32_t): Likewise.
25987 (_G_uint16_t): Likewise.
25988 (_G_uint32_t): Likewise.
25989 (_G_HAVE_BOOL): Likewise.
25990 (_G_HAVE_ATEXIT): Likewise.
25991 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25992 (_G_HAVE_IO_FILE_OPEN): Likewise.
25993 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25994 (_G_int32_t): Likewise.
25995 (_G_uint16_t): Likewise.
25996 (_G_uint32_t): Likewise.
25997 (_G_HAVE_BOOL): Likewise.
25998 (_G_HAVE_ATEXIT): Likewise.
25999 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26000 (_G_HAVE_IO_FILE_OPEN): Likewise.
26001
b1dc5912
L
260022012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26003
26004 * csu/libc-tls.c: Update copyright years.
26005
0e886ef9
JM
260062012-09-10 Joseph Myers <joseph@codesourcery.com>
26007
28361c5e
JM
26008 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26009 [!_G_USING_THUNKS]: Remove conditional code.
26010 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26011 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26012
0e886ef9
JM
26013 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26014 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26015 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26016 (_G_VTABLE_LABEL_PREFIX): Likewise.
26017 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26018 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26019 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26020 (_G_VTABLE_LABEL_PREFIX): Likewise.
26021 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26022 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26023 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26024 (_G_VTABLE_LABEL_PREFIX): Likewise.
26025 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26026
bcba7aa2
L
260272012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26028
26029 * libio/Makefile: Include ../Makeconfig before tests.
26030 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26031 only if $(build-shared) is yes.
26032
06585ee8
L
26033 * iconv/gconv_db.c: Update copyright years.
26034
80ccd52c
LD
260352012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26036
26037 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26038 unwind info if defined PIC. Fix special cases description.
26039 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26040
26041 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26042 DP_HI_MASK entry.
26043 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26044
691bc9c1
L
260452012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26046
3d9b46b3
L
26047 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26048
de2139a9
L
26049 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26050 is NULL.
26051
5ca78dd0
L
26052 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26053 (LDLIBS-tst-chk4): This.
26054 (LDFLAGS-tst-chk5): Renamed to ...
26055 (LDLIBS-tst-chk5): This.
26056 (LDFLAGS-tst-chk6): Renamed to ...
26057 (LDLIBS-tst-chk6): This.
26058 (LDFLAGS-tst-lfschk4): Renamed to ...
26059 (LDLIBS-tst-lfschk4): This.
26060 (LDFLAGS-tst-lfschk5): Renamed to ...
26061 (LDLIBS-tst-lfschk5): This.
26062 (LDFLAGS-tst-lfschk6): Renamed to ...
26063 (LDLIBS-tst-lfschk6): This.
26064
691bc9c1
L
26065 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26066 on $(common-objpfx)soversions.mk.
26067
65cafb1c
JM
260682012-09-07 Joseph Myers <joseph@codesourcery.com>
26069
26070 [BZ #10014]
26071 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26072 example host name.
26073
c78ab094
SP
260742012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26075
26076 * malloc/arena.c (arena_get_retry): New function that gets
26077 another arena for the caller to try its request on.
26078 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26079 current arena cannot fulfill the request.
26080 (__libc_memalign): Likewise.
26081 (__libc_memalign): Likewise.
26082 (__libc_pvalloc): Likewise.
26083 (__libc_calloc): Likewise.
26084
01f49f59
JT
260852012-09-05 John Tobey <john.tobey@gmail.com>
26086
26087 [BZ #13542]
26088 * manual/arith.texi (Operations on Complex): Fix description
26089 of carg branch cut.
26090
4c23fed5
JM
260912012-09-06 Joseph Myers <joseph@codesourcery.com>
26092
1d3c8572
JM
26093 [BZ #10014]
26094 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26095 host name.
26096
4c23fed5
JM
26097 [BZ #10038]
26098 * manual/memory.texi (Memory): Make order of menu items match
26099 order of sections.
26100
04570aaa
L
261012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26102
26103 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26104 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26105 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26106
b80af2f4
L
261072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26108
26109 * csu/libc-tls.c (static_dtv): Renamed to ...
26110 (_dl_static_dtv): This. Make it global.
26111 (_dl_initial_dtv): Removed.
26112 (__libc_setup_tls): Updated.
26113 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26114 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26115 DL_INITIAL_DTV.
26116
2abe9f15
PM
261172012-09-06 Petr Machata <pmachata@redhat.com>
26118
26119 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26120 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26121 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26122 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26123
0948c3af
L
261242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26125
26126 [BZ #14545]
26127 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26128 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26129 freeing dtv[-1].
26130
a5055ad1
L
261312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26132
26133 [BZ #14544]
26134 * Makeconfig (link-static-before-libc): Replace $(+prector)
26135 with $(+prectorT).
26136 (link-static-after-libc): Replace $(+postctor) with
26137 $(+postctorT).
26138 (link-bounded): Replace $(+prector)/$(+postctor) with
26139 $(+prectorT)/$(+postctorT).
26140 (+prectorT): New macro.
26141 (+postctorT): Likewise.
26142
ed8c2ecd
JM
261432012-09-06 Joseph Myers <joseph@codesourcery.com>
26144
26145 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26146 (round_str): Handle values above the maximum for IBM long double
26147 as inexact.
26148 * stdlib/tst-strtod-round.c (tests): Regenerated.
26149
14c996c8
AK
261502012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26151
26152 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26153 assembler flag.
26154 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26155 zarch_nohighgprs around the zarch optimized routines.
26156 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26157 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26158 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26159 for zarch.
26160
430d6ce6
DM
261612012-09-05 David S. Miller <davem@davemloft.net>
26162
26163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26164
57f41c40
AS
26165 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26166 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
26167 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26168 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26169 entries.
26170
24d4e01b
AO
261712012-09-05 Alexandre Oliva <aoliva@redhat.com>
26172
26173 * malloc/arena.c: Fold copyright years.
26174 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26175
61d58174
AO
261762012-09-05 Alexandre Oliva <aoliva@redhat.com>
26177
26178 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26179
20196a5e
AO
261802012-09-05 Alexandre Oliva <aoliva@redhat.com>
26181
26182 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26183
5c447383
AO
261842012-09-05 Alexandre Oliva <aoliva@redhat.com>
26185
26186 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26187 change internal state upon failure.
26188
fad64255
AO
261892012-09-05 Alexandre Oliva <aoliva@redhat.com>
26190
26191 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26192 * malloc/memusage.c (mmap): Likewise.
26193 (mmap64, mremap): Likewise. Adjust name in comment.
26194
1ffb8c90
SP
261952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26196
26197 * libio/fileops.c: Fix typos in comments.
26198 * libio/oldfileops.c: Likewise.
26199 * libio/wfileops.c: Likewise.
26200
6ef9cc37
SP
262012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26202
26203 [BZ #1349]
26204 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26205 (tst-malloc-usable-ENV): Set environment for test case.
26206 * malloc/hooks.c (malloc_check_get_size): New function to get
26207 requested size.
26208 * malloc/malloc.c (musable): Use malloc_check_get_size.
26209 * malloc/tst-malloc-usable.c: New test case.
26210
4d038ae3
AS
262112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26212
26213 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26214
c4e85184
AM
262152012-09-05 Allan McRae <allan@archlinux.org>
26216
b9dafc56 26217 [BZ #13966]
c4e85184
AM
26218 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26219 determine header location.
26220 * configure: Regenerated.
26221
e1343020
AS
262222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26223
26224 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26225 float format.
26226 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
26227 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26228 format.
e1343020
AS
26229 (test): Regenerate.
26230
0a9f1987
DM
262312012-09-04 David S. Miller <davem@davemloft.net>
26232
26233 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26234 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26235 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26236
29237804
FW
262372012-09-04 Florian Weimer <fweimer@redhat.com>
26238
26239 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26240 failures.
26241
edb3cb88
FW
26242 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26243
60160d83
JM
262442012-09-04 Joseph Myers <joseph@codesourcery.com>
26245
26246 [BZ #9914]
26247 * libio/iogetdelim.c: Include <limits.h>.
26248 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26249 + len + 1 would overflow.
26250
bcd6c8dc
AJ
262512012-09-03 Andreas Jaeger <aj@suse.de>
26252
26253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26254 * sysdeps/i386/fpu/libm-test-ulps: Update.
26255
4ffffbd2
LD
262562012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26257
26258 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26259 Add s_sinf-sse2, s_conf-sse2.
26260
26261 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26262 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26263 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26264 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26265
26266 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26267 for using routine as __sinf_ia32.
26268 Use macro for function declaration and weak_alias.
26269 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26270 for using routine as __cosf_ia32.
26271 Use macro for function declaration and weak_alias.
26272
26273 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26274 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26275
26276 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26277 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26279
26280 * math/libm-test.inc (cos_test): Add more test cases.
26281 (sin_test): Likewise.
26282 (sincos_test): Likewise.
26283
511fa286
AK
262842012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26285
26286 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26287 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26288 hidden.
26289 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26290
5f30cfec
L
262912012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26292
26293 [BZ #14538]
26294 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26295 first element of the GOT.
26296 (elf_machine_load_address): Return the difference between
26297 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26298
0786794f
AM
262992012-09-01 Allan McRae <allan@archlinux.org>
26300
5f30cfec
L
26301 [BZ #13412]
26302 * configure.in (AWK): Require gawk version 3.0 or later.
26303 * configure: Regenerated.
0786794f 26304
26889eac
JM
263052012-09-01 Joseph Myers <joseph@codesourcery.com>
26306
26307 * sysdeps/unix/sysv/linux/kernel-features.h
26308 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26309 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26310 [__NR_clock_getres]: Make code unconditional.
26311 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26312 (clock_getcpuclockid): Remove code left unreachable by removal of
26313 conditionals.
26314 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26315 code unconditional.
26316 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26317 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26318 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26319 Make code unconditional.
26320 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26321 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26322 * sysdeps/unix/sysv/linux/clock_settime.c
26323 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26324 conditional code.
26325 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26326 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26327
d22e28b0
L
263282012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26329
26330 [BZ #14476]
26331 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26332 scripts/test-installation.pl.
26333
26334 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26335 and $ld_so_version if it is set.
26336
050af9c4
SP
263372012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26338
26339 [BZ #14516]
26340 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26341 failure if reading from procfs failed.
26342 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26343
ad845c0b
JM
263442012-08-27 Joseph Myers <joseph@codesourcery.com>
26345
26346 * sysdeps/unix/sysv/linux/kernel-features.h
26347 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26348 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26349 Remove conditional code.
26350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26351 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26352 Remove conditional code.
26353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26354 * sysdeps/unix/sysv/linux/i386/fxstat.c
26355 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26357 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26358 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26360 * sysdeps/unix/sysv/linux/i386/lxstat.c
26361 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26362 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26363 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26364 Remove conditional code.
26365 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26366 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26367 Remove conditional code.
26368 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26369 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26370 <kernel-features.h>.
26371 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26372 Remove.
26373 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26374 Remove conditional code.
26375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26376 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26377 Remove conditional.
26378
5dbf56af
MF
263792012-08-27 Mike Frysinger <vapier@gentoo.org>
26380
26381 [BZ #5400]
26382 * NEWS: Add fixed bug number.
26383
d6e70f43
JM
263842012-08-27 Joseph Myers <joseph@codesourcery.com>
26385
7efb4737
JM
26386 [BZ #14519]
26387 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26388 underflowing exponent in case of negative sign.
26389 * stdlib/tst-strtod-round-data: Add more tests.
26390 * stdlib/tst-strtod-round.c (tests): Regenerated.
26391
af92131a
JM
26392 [BZ #3479]
26393 * stdlib/strtod_l.c (NDIG): Remove.
26394 (HEXNDIG): Likewise.
26395 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26396 smallest representable value.
26397 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26398 lie within an exact representation of 1/2 ulp of the result.
26399 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26400 unconditionally.
26401 (TENS_P9_IDX): Define unconditionally.
26402 (TENS_P9_SIZE): Likewise.
26403 (TENS_P10_IDX): Likewise.
26404 (TENS_P10_SIZE): Likewise.
26405 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26406 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26407 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26408 entries for 10^2^13 and 10^2^14.
26409 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26410 (TENS_P13_IDX): Define.
26411 (TENS_P13_SIZE): Likewise.
26412 (TENS_P14_IDX): Likewise.
26413 (TENS_P14_SIZE): Likewise.
26414 (_fpioconst_pow10): Change array size to
26415 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26416 unconditional.
26417 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26418 1024]: Add entries for 10^2^13 and 10^2^14.
26419 [LAST_POW10 > _LAST_POW10]: Remove #error.
26420 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26421 (_fpioconst_pow10): Change array size to
26422 FPIOCONST_POW10_ARRAY_SIZE.
26423 * stdlib/gen-fpioconst.c: New file.
26424 * stdlib/gen-tst-strtod-round.c: Likewise.
26425 * stdlib/tst-strtod-round-data: Likewise.
26426 * stdlib/tst-strtod-round.c: Likewise.
26427 * stdlib/Makefile (tests): Add tst-strtod-round.
26428
d6e70f43
JM
26429 [BZ #14459]
26430 * stdlib/strtod_l.c: Include <stdint.h>.
26431 (NDEBUG): Do not define.
26432 (round_and_return): Change EXPONENT parameter to type intmax_t.
26433 Rearrange calculations to avoid internal overflow possibilities.
26434 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26435 Rearrange calculations to avoid internal overflow possibilities.
26436 Assert that number fits inside MPNSIZE limbs.
26437 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26438 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26439 calculations and add assertions to avoid internal overflow
26440 possibilities. Add casts to avoid signed/unsigned operations.
26441 * stdlib/tst-strtod-overflow.c: New file.
26442 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26443
1f529f7d
MP
264442012-08-25 Marek Polacek <polacek@redhat.com>
26445
26446 * time/time.h: Fix some typos in comments.
26447
59a629f1
RM
264482012-08-23 Roland McGrath <roland@hack.frob.com>
26449
26450 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26451 * posix/tst-rfc3484-2.c: Likewise.
26452 * posix/tst-rfc3484-3.c: Likewise.
26453
d3bafbc9
SM
264542012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26455
26456 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26457 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26458
4efcc022
JM
264592012-08-23 Joseph Myers <joseph@codesourcery.com>
26460
26461 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26462 #include of fxstatat64.c.
26463
3cc3ef96
RM
264642012-08-22 Roland McGrath <roland@hack.frob.com>
26465
f04e2132
RM
26466 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26467 * shadow/getspent_r.c: Likewise.
26468 * shadow/getspnam.c: Likewise.
26469 * shadow/getspnam_r.c: Likewise.
26470 * gshadow/getsgent.c: Likewise.
26471 * gshadow/getsgent_r.c: Likewise.
26472 * gshadow/getsgnam.c: Likewise.
26473 * gshadow/getsgnam_r.c: Likewise.
26474 * inet/getnetbyad.c: Likewise.
26475 * inet/getnetbyad_r.c: Likewise.
26476 * inet/getnetbynm.c: Likewise.
26477 * inet/getnetbynm_r.c: Likewise.
26478 * inet/getnetent.c: Likewise.
26479 * inet/getnetent_r.c: Likewise.
26480 * inet/getproto.c: Likewise.
26481 * inet/getproto_r.c: Likewise.
26482 * inet/getprtent.c: Likewise.
26483 * inet/getprtent_r.c: Likewise.
26484 * inet/getprtname.c: Likewise.
26485 * inet/getprtname_r.c: Likewise.
26486 * inet/getrpcbyname.c: Likewise.
26487 * inet/getrpcbyname_r.c: Likewise.
26488 * inet/getrpcbynumber.c: Likewise.
26489 * inet/getrpcbynumber_r.c: Likewise.
26490 * inet/getrpcent.c: Likewise.
26491 * inet/getrpcent_r.c: Likewise.
26492 * inet/getaliasent.c: Likewise.
26493 * inet/getaliasent_r.c: Likewise.
26494 * inet/getaliasname.c: Likewise.
26495 * inet/getaliasname_r.c: Likewise.
26496 * nscd/getgrgid_r.c: Likewise.
26497 * nscd/getgrnam_r.c: Likewise.
26498 * nscd/gethstbyad_r.c: Likewise.
26499 * nscd/gethstbynm3_r.c: Likewise.
26500 * nscd/getpwnam_r.c: Likewise.
26501 * nscd/getpwuid_r.c: Likewise.
26502 * nscd/getsrvbynm_r.c: Likewise.
26503 * nscd/getsrvbypt_r.c: Likewise.
26504 * nscd/gai.c: Likewise.
26505
c53d909c
RM
26506 * configure.in (build_nscd): New substituted variable, set
26507 by --disable-build-nscd and defaults to $use_nscd.
26508 * configure: Regenerated.
26509 * config.make.in (build-nscd): New substituted variable.
26510 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26511 Change conditional to require [$(build-nscd) = yes] as well.
26512 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26513
3cc3ef96
RM
26514 [BZ# 13696]
26515 * configure.in (use_nscd): New substituted variable, set by
26516 --disable-nscd. If enabled, define USE_NSCD.
26517 * configure: Regenerated.
26518 * config.h.in: Add USE_NSCD.
26519 * config.make.in (use-nscd): New substituted variable.
26520 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26521 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26522 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26523 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26524 (CFLAGS-getgrnam_r.c): Likewise.
26525 (CFLAGS-initgroups.c): Likewise.
26526 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26527 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26528 Variables removed.
26529 * inet/getnetgrent_r.c
26530 (nscd_setnetgrent): New function, broken out of ...
26531 (setnetgrent): ... here. Call it.
26532 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26533 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26534 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26535 * nscd/Makefile (routines, aux): Move definitions after include of
26536 Makeconfig. Conditionalize on [$(use-nscd) != no].
26537 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26538 Conditionalize on [USE_NSCD].
26539 (is_nscd, nscd_init_cb): Likewise.
26540 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26541 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26542 * nss/nss_db/db-init.c: Likewise.
26543 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26544 [USE_NSCD].
26545 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26546 (make_request): Use it.
26547 (cache_valid_p): New function.
26548 (__check_pf): Use it.
26549 * NEWS: Add item for --disable-nscd.
26550
07e51550
DL
265512012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26552
26553 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26554 to support sed >= 4.2.1-20-ga9bf076.
26555 * configure: Regenerated.
26556
35a5b08b
RM
265572012-08-22 Roland McGrath <roland@hack.frob.com>
26558
26559 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26560 Conditionalize whole body on [IREL].
26561
8479f23a
JL
265622012-08-22 Jeff Law <law@redhat.com>
26563
26564 [BZ #14505]
26565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26566 if the family is PF_UNSPEC.
26567
48da0b21
MF
265682012-08-22 Mike Frysinger <vapier@gentoo.org>
26569
26570 * Makerules (lib-version): Rename from V.
26571 (install-lib-nosubdir): Change V to lib-version.
26572
15d0da8c
WS
265732012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26574
26575 [BZ #14252]
26576 * powerpc32/power6/wcschr.c: New file.
26577 * powerpc32/power6/wcscpy.c: New file.
26578 * powerpc32/power6/wcsrchr.c: New file.
26579 * powerpc64/power6/wcschr.c: New file.
26580 * powerpc64/power6/wcscpy.c: New file.
26581 * powerpc64/power6/wcsrchr.c: New file.
26582
bcca0895
MK
265832012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26584
26585 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26586 (two_way_short_needle): Use it.
5a4aaa33
RM
26587 * string/strstr.c (AVAILABLE1_USES_J): Define.
26588 * string/strcasestr.c: Likewise.
99677e57
MK
26589
26590 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26591 array references.
26592 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26593
400726de
MK
26594 [BZ #11607]
26595 * NEWS: Add an entry.
26596 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26597 define their defaults.
26598 (two_way_short_needle): Detect end-of-string on-the-fly.
26599 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26600 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26601 * string/bug-strcasestr1.c: New test.
26602 * string/Makefile: Run it.
26603
20a71f2c
MK
266042012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26605
26606 [BZ #11607]
26607 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26608 the first character.
26609
21ad0558
RM
266102012-08-21 Roland McGrath <roland@hack.frob.com>
26611
26612 * csu/elf-init.c (__libc_csu_irel): Function removed.
26613 * csu/libc-start.c (apply_irel): New function.
26614 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26615
0e1d9911
JM
266162012-08-21 Joseph Myers <joseph@codesourcery.com>
26617
26618 * sysdeps/unix/sysv/linux/kernel-features.h
26619 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26620 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26621 <kernel-features.h>.
26622 [__NR_fadvise64_64]: Make code unconditional.
26623 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26624 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26625 !__NR_fadvise64_64)]: Likewise.
26626 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26627 !__NR_fadvise64_64))]: Likewise.
26628 [__NR_fadvise64]: Make code unconditional.
26629 [!__NR_fadvise64]: Remove conditional code.
26630 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26631 <kernel-features.h>.
26632 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26633 unconditional.
26634 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26635 conditional code.
26636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26637 not include <kernel-features.h>.
26638 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26639 unconditional.
26640 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26641 conditional code.
26642 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26643 include <kernel-features.h>.
26644 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26645 unconditional.
26646 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26647 conditional code.
26648
14a50c9d
WS
266492012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26650
26651 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26652 slight instruction rearrangements per scrollpipe analysis.
26653 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26654
c0f4faf0
RM
266552012-08-20 Roland McGrath <roland@hack.frob.com>
26656
696da859
RM
26657 * manual/syslog.texi (syslog; vsyslog, closelog):
26658 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26659 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26660
c0f4faf0
RM
26661 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26662 DSOCAPS to match condition on defining it.
26663
348363b2
JM
266642012-08-20 Joseph Myers <joseph@codesourcery.com>
26665
a35cbf28
JM
26666 * sysdeps/unix/sysv/linux/kernel-features.h
26667 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26669 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26670 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26672 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26673 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26675 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26676 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26677
445f7ecd
JM
26678 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26679 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26680
348363b2
JM
26681 * sysdeps/unix/sysv/linux/kernel-features.h
26682 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26683 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26684 unconditional.
26685 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26686 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26687 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26688 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26689 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26690 Make code unconditional.
26691 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26692 (__mmap64) [!__NR_mmap2]: Likewise.
26693 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26694 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26695 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26696 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26697 [__NR_mmap2]: Make code unconditional.
26698 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26699 (__mmap64) [!__NR_mmap2]: Likewise.
26700
bc5bc0e5
AK
267012012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26702
26703 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26704
88d506de
AJ
267052012-08-18 Andreas Jaeger <aj@suse.de>
26706
26707 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26708
493387d2
MF
267092012-08-18 Mike Frysinger <vapier@gentoo.org>
26710
26711 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26712 * include/unistd.h (__have_sock_cloexec): Likewise.
26713 (__have_pipe2): Likewise.
26714 (__have_dup3): Likewise.
26715
a277af22
MF
267162012-08-18 Mike Frysinger <vapier@gentoo.org>
26717
26718 [BZ #9685]
26719 * include/unistd.h (__have_pipe2): Change define into an extern int.
26720 (__have_dup3): Likewise.
26721 * socket/have_sock_cloexec.c: Include fcntl.h.
26722 (__have_pipe2): New variable.
26723 (__have_dup3): Likewise.
26724
fdab8fd3
MF
267252012-08-17 Mike Frysinger <vapier@gentoo.org>
26726
26727 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26728
31035e80
MP
267292012-08-17 Marek Polacek <polacek@redhat.com>
26730
26731 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26732 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26733
3bd9e993
RM
267342012-08-17 Roland McGrath <roland@hack.frob.com>
26735
c91c505f
RM
26736 * configure.in: Add AC_SUBST for sysheaders.
26737 * configure: Regenerated.
26738 * config.make.in (sysheaders): New substituted variable.
26739
7c6f9d53
RM
26740 * sysdeps/unix/mkfifo.c: Moved ...
26741 * sysdeps/posix/mkfifo.c: ... here.
26742 * sysdeps/unix/mkfifoat.c: Moved ...
26743 * sysdeps/posix/mkfifoat.c: ... here.
26744
26745 * sysdeps/unix/utime.c: Moved ...
26746 * sysdeps/posix/utime.c: ... here.
26747
26748 * sysdeps/unix/time.c: Moved ...
26749 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26750 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26751 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26752
26753 * sysdeps/unix/nice.c: Moved ...
26754 * sysdeps/posix/nice.c: ... here.
26755
26756 * sysdeps/unix/alarm.c: Moved ...
26757 * sysdeps/posix/alarm.c: ... here.
26758
3bd9e993
RM
26759 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26760
d1f09384
JL
267612012-08-17 Jeff Law <law@redhat.com>
26762
26763 * intl/Makefile (codeset_mo): New variable.
26764 ($(codeset_mo)): New target.
26765 (tst-codeset.out): Depend on that. Remove explicit rule.
26766 (tst-gettext3.out, tst-gettext5.out): Likewise.
26767 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26768 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26769 * intl/tst-codeset.sh: Remove.
26770 * intl/tst-gettext3.sh: Likewise.
26771 * intl/tst-gettext5.sh: Likewise.
26772
2ae1ae5c
RM
267732012-08-17 Roland McGrath <roland@hack.frob.com>
26774
c31fdb83
RM
26775 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26776 * sysdeps/unix/syscalls.list: ... here.
26777
a0844057
RM
26778 * sysdeps/posix/getaddrinfo.c
26779 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26780 (gaiconf_init, gaiconf_reload): Use them.
26781 [!_STATBUF_ST_NSEC]
26782 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26783 Define using time_t rather than struct timespec.
26784
750c1f2a
RM
26785 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26786 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26787 Macros removed.
26788 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26789 [!NO_THREADS].
26790 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26791 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26792 Likewise.
26793
2ae1ae5c
RM
26794 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26795 __libc_cleanup_push argument.
26796
e66a42f5
RM
26797 * bits/param.h: New file.
26798 * misc/sys/param.h: New file.
26799 * include/sys/param.h: New file.
26800 * misc/Makefile (headers): Add bits/param.h.
26801 * sysdeps/generic/sys/param.h: File removed.
26802 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26803 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26804 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26805 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26806
b7c08a66
RM
26807 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26808 last change.
26809
b2e1c562
RM
26810 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26811 [_IO_MTSAFE_IO].
26812 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26813 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26814 New macros.
26815
c75ccd4c
RM
26816 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26817 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26818 rather than -D_IO_MTSAFE_IO conditionally.
26819 * stdio-common/Makefile (CPPFLAGS): Likewise.
26820 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26821 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26822 Use $(libio-mtsafe).
26823 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26824 of -D_IO_MTSAFE_IO.
26825 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26826 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26827 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26828 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26829 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26830 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26831 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26832 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26833 (CFLAGS-fread_u_chk.c): Likewise.
26834 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26835 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26836 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26837 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26838 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26839 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26840 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26841 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26842 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26843
26844 * libio/Makefile: Test [$(libc-reentrant) = yes]
26845 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26846
26847 * Makeconfig
26848 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26849 * sysdeps/pthread/configure: File removed.
26850 * sysdeps/pthread/Makeconfig: New file.
26851 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26852 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26853
d9195db8
GB
268542012-08-16 Gary Benson <gbenson@redhat.com>
26855
26856 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26857 unmapping the first object in a namespace.
26858
86466cd9
RM
268592012-08-16 Roland McGrath <roland@hack.frob.com>
26860
26861 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26862 (__internal_setnetgrent): ... this. Add internal_function to
26863 definition. Add libc_hidden_def.
26864 (setnetgrent): Update caller.
26865 (internal_endnetgrent): Renamed to ...
26866 (__internal_endnetgrent): ... this. Add internal_function to
26867 definition. Add libc_hidden_def.
26868 (endnetgrent): Update caller.
26869 (internal_getnetgrent_r): Renamed to ...
26870 (__internal_getnetgrent_r): ... this. Add internal_function to
26871 definition. Add libc_hidden_def.
26872 (__getnetgrent_r): Update caller.
26873 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26874
c3c8283c
JM
268752012-08-16 Joseph Myers <joseph@codesourcery.com>
26876
26877 * stdlib/longlong.h: Update from GCC.
26878
db1ee0a8
RM
268792012-08-16 Roland McGrath <roland@hack.frob.com>
26880
26881 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26882 on _QL, which is set by umul_ppmm but never used.
26883 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26884 variables, which are set by GMP macros but never used.
26885 * stdio-common/_itowa.c (_itowa): Likewise.
26886 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26887 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26888
30f69637
CD
268892012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26890
26891 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26892 struct La_sh_regs is not constant.
26893 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26894 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26895 and struct La_sparc64_regs are not constant.
26896
93a78ac4
JM
268972012-08-16 Joseph Myers <joseph@codesourcery.com>
26898
26899 * sysdeps/unix/sysv/linux/kernel-features.h
26900 (__ASSUME_POSIX_TIMERS): Remove.
26901 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26902 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26903 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26904 Make code unconditional.
26905 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26906 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26907 Make code unconditional.
26908 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26909 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26910 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26911 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26912 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26913 Make code unconditional.
26914 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26915 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26916 (__libc_missing_posix_timers): Remove.
26917
dd924cd7
RM
269182012-08-15 Roland McGrath <roland@hack.frob.com>
26919
4b4f2771
RM
26920 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26921 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26922
601c888b
RM
26923 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26924
176790a7
RM
26925 * elf/dl-sym.c: Include <stdlib.h>.
26926
329bc018
RM
26927 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26928 constants, which avoids warnings in 32-bit builds.
26929
e04e272d
RM
26930 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26931 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26932
952bf94a
RM
26933 * misc/lseek.c: File moved to ...
26934 * io/lseek.c: ... here.
26935
7c99b50a
RM
26936 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26937
dd924cd7
RM
26938 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26939 shifting LEN more than 31 bits at once.
26940
b3f479a8
LD
269412012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26942
26943 [BZ #14195]
8c4ae0d4
RM
26944 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26945 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26946 * string/test-strncasecmp.c (check1): Renamed to...
26947 (bz12205): ...this.
26948 (bz14195): Add new testcase for two empty input strings and N > 0.
26949 (test_main): Call new testcase, adapt for renamed function.
26950
9c55864e
AJ
269512012-08-15 Andreas Jaeger <aj@suse.de>
26952
26953 [BZ #14090]
26954 * crypt/md5test2.c: New test, based on test supplied by Serge
26955 Belyshev <belyshev@depni.sinp.msu.ru>.
26956 * crypt/Makefile (xtests): Add md5test-giant..
26957 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26958
02dcb6c5
PE
269592012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26960
26961 [BZ #14090]
26962 * crypt/md5.c (md5_process_block): Don't assume the buffer
26963 length is less than 2**32.
26964 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26965 length is less than 2**64.
26966
a3f95dcc
RM
269672012-08-15 Roland McGrath <roland@hack.frob.com>
26968
be75d758
RM
26969 * string/str-two-way.h: Include <sys/param.h>.
26970 (MAX): Macro removed.
26971
7312ca90
RM
26972 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26973 Move #define and #undef of memmove to just before and after
26974 including <string.h>.
26975
9a0a5486
RM
26976 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26977 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26978 and after including <string.h>. Move declarations of
26979 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26980 to before #include "string/memmove.c".
26981
67cc348d
RM
26982 * include/dirent.h: Declare __getdirentries.
26983
a3f95dcc
RM
26984 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26985 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26986
ca98e171
MF
269872012-08-14 Mike Frysinger <vapier@gentoo.org>
26988
26989 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26990 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26991 * sysdeps/i386/configure: Regenerated.
26992 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26993 STABS_CURRENT_FILE, and STABS_FUN.
26994 (END): Remove call to STABS_FUN_END.
26995 (STABS_CURRENT_FILE1): Delete.
26996 (STABS_CURRENT_FILE): Likewise.
26997 (STABS_FUN): Likewise.
26998 (STABS_FUN_END): Likewise.
26999 (STABS_FUN2): Likewise.
27000 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27001 * sysdeps/x86_64/configure: Regenerated.
27002
5908bf46
RM
270032012-08-14 Roland McGrath <roland@hack.frob.com>
27004
27005 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27006 * elf/dl-lookup.c: Likewise.
5908bf46 27007
f2c05b9e
JM
270082012-08-14 Joseph Myers <joseph@codesourcery.com>
27009
27010 * sysdeps/unix/sysv/linux/kernel-features.h
27011 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27012 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27013 unconditionally.
27014 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27015 unconditionally.
27016 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27017 condition on __ASSUME_CLONE_THREAD_FLAGS.
27018
e11f5155
AJ
270192012-08-14 Andreas Jaeger <aj@suse.de>
27020
27021 * sysdeps/i386/fpu/libm-test-ulps: Update.
27022
51a9ba86
MK
270232012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27024
2fdd4f78
AJ
27025 * include/atomic.h (atomic_exchange_and_add): Split into ...
27026 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27027 New atomic macros.
51a9ba86 27028
ba6cba9e
MT
270292012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27030
27031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27032
42443a47
JL
270332012-08-13 Jeff Law <law@redhat.com>
27034
27035 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27036 null byte in the output string.
27037
121dce05
JM
270382012-08-10 Joseph Myers <joseph@codesourcery.com>
27039
27040 * sysdeps/unix/sysv/linux/kernel-features.h
27041 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27042 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27043 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27044 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27045 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27046 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27047 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27048
bf51f568
JL
270492012-08-09 Jeff Law <law@redhat.com>
27050
27051 [BZ #13939]
27052 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27053 When avoid_arena is set, don't retry in the that arena. Pick the
27054 next one, whatever it might be.
27055 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27056 (arena_lock): Pass in new parameter to arena_get2.
27057 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27058 arena_get2.
27059 (__libc_malloc): Unify retrying after main arena failure with
27060 __libc_memalign version.
27061 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27062
f85fa270
L
270632012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27064
27065 [BZ #14166]
27066 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27067 to __redirect_strstr.
27068 (__strstr_sse42): Use typeof __redirect_strstr.
27069 (__strstr_ia32): Likewise.
27070 (__libc_strstr): New prototype.
27071 (strstr): Renamed to ...
27072 (__libc_strstr): This.
27073 (strstr): New strong alias of __libc_strstr.
27074 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27075 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27076 __redirect_time.
27077 Include <time.h>.
27078 (__libc_time): New prototype.
27079 (time_ifunc): Replace time with __libc_time.
27080 (time): New strong alias and hidden definition of __libc_time.
27081 (__GI_time): Remove strong alias.
27082 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27083 Include <stddef.h>.
27084 (memmove): Redefined to __redirect_memmove.
27085 (__memmove_sse2): Use typeof __redirect_memmove.
27086 (__memmove_ssse3): Likewise.
27087 (__memmove_ssse3_back): Likewise.
27088 (__libc_memmove): New prototype.
27089 (memmove): Renamed to ...
27090 (__libc_memmove): This.
27091 (memmove): New strong alias of __libc_memmove.
27092
33b4a91e
MS
270932012-08-08 Mark Salter <msalter@redhat.com>
27094
27095 * elf/elf.h
27096 (R_MN10300_TLS_GD): Define.
27097 (R_MN10300_TLS_LD): Likewise.
27098 (R_MN10300_TLS_LDO): Likewise.
27099 (R_MN10300_TLS_GOTIE): Likewise.
27100 (R_MN10300_TLS_IE): Likewise.
27101 (R_MN10300_TLS_LE): Likewise.
27102 (R_MN10300_TLS_DTPMOD): Likewise.
27103 (R_MN10300_TLS_DTPOFF): Likewise.
27104 (R_MN10300_TLS_TPOFF): Likewise.
27105 (R_MN10300_SYM_DIFF): Likewise.
27106 (R_MN10300_ALIGN): Likewise.
27107 (R_MN10300_NUM): Update.
27108
b36137f1
JM
271092012-08-08 Joseph Myers <joseph@codesourcery.com>
27110
27111 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27112 Remove.
27113
cdd915fd
RM
271142012-08-08 Roland McGrath <roland@hack.frob.com>
27115
a2433aac
RM
27116 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27117
cdd915fd
RM
27118 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27119 sysdeps/unix -> sysdeps/posix move.
27120 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27121
bf9b740a
AM
271222012-08-07 Allan McRae <allan@archlinux.org>
27123
27124 [BZ #14303]
27125 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27126 (SUNOS_CPP): Likewise.
27127 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27128 not found.
27129 (open_input): Call CPP using execvp.
27130
93df14ee
JM
271312012-08-07 Joseph Myers <joseph@codesourcery.com>
27132
27133 * sysdeps/unix/sysv/linux/kernel-features.h
27134 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27135 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27136 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27137 (__ASSUME_WAITID_SYSCALL): Likewise.
27138 * sysdeps/unix/sysv/linux/dl-execstack.c
27139 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27140 code unconditional.
27141 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27142 conditional code.
27143 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27144 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27145 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27146 code.
27147 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27148 unconditional.
27149 [__ASSUME_WAITID_SYSCALL]: Likewise.
27150 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27151
d34689de
RM
271522012-08-07 Roland McGrath <roland@hack.frob.com>
27153
a281decc
RM
27154 * sysdeps/unix/closedir.c: Renamed to ...
27155 * sysdeps/posix/closedir.c: ... here.
27156 * sysdeps/unix/dirfd.c: Renamed to ...
27157 * sysdeps/posix/dirfd.c: ... here.
27158 * sysdeps/unix/dirstream.h: Renamed to ...
27159 * sysdeps/posix/dirstream.h: ... here.
27160 * sysdeps/unix/fdopendir.c: Renamed to ...
27161 * sysdeps/posix/fdopendir.c: ... here.
27162 * sysdeps/unix/opendir.c: Renamed to ...
27163 * sysdeps/posix/opendir.c: ... here.
27164 * sysdeps/unix/readdir.c: Renamed to ...
27165 * sysdeps/posix/readdir.c: ... here.
27166 * sysdeps/unix/readdir_r.c: Renamed to ...
27167 * sysdeps/posix/readdir_r.c: ... here.
27168 * sysdeps/unix/rewinddir.c: Renamed to ...
27169 * sysdeps/posix/rewinddir.c: ... here.
27170 * sysdeps/unix/seekdir.c: Renamed to ...
27171 * sysdeps/posix/seekdir.c: ... here.
27172 * sysdeps/unix/telldir.c: Renamed to ...
27173 * sysdeps/posix/telldir.c: ... here.
27174 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27175 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27176 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27177 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27178
22895b47
RM
27179 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27180 * bits/fcntl.h: ... here.
27181
707a53b6
RM
27182 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27183 not 0.
27184 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27185 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27186 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27187 (struct flock): Move l_start, l_len to the beginning.
27188 Use __pid_t for l_pid.
27189 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27190 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27191 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27192 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27193 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27194 [__USE_LARGEFILE64] (struct flock64): New type.
27195 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27196
f0bd3e25
RM
27197 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27198 * bits/dirent.h: ... here.
27199
d34689de
RM
27200 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27201 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27202
6dad2c06
JM
272032012-08-07 Joseph Myers <joseph@codesourcery.com>
27204
27205 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27206 Change from 2.6.0 to 2.6.16.
27207 * sysdeps/unix/sysv/linux/configure: Regenerated.
27208 * sysdeps/unix/sysv/linux/kernel-features.h
27209 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27210 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27211 version.
27212 (__ASSUME_UTIMES): Likewise.
27213 (__ASSUME_CLONE_STOPPED): Remove.
27214 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27215 architectures, not kernel version.
27216 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27217 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27218 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27219 (__ASSUME_WAITID_SYSCALL): Likewise.
27220 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27221 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27222 * README: State 2.6.16 as minimum Linux kernel version. Do not
27223 refer to older versions.
27224
03af9520
RM
272252012-08-06 Roland McGrath <roland@hack.frob.com>
27226
8e49df1d
RM
27227 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27228 Define alphasort64 as an alias.
27229 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27230 Define versionsort64 as an alias.
27231 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27232 Define scandir64 as an alias.
27233 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27234 Define scandirat64 as an alias.
27235 * dirent/alphasort64.c (alphasort64):
27236 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27237 * dirent/versionsort64.c: Likewise.
27238 * dirent/scandir64.c: Likewise.
27239 * dirent/scandirat64.c: Likewise.
27240 * sysdeps/wordsize-64/alphasort.c: File removed.
27241 * sysdeps/wordsize-64/alphasort64.c: File removed.
27242 * sysdeps/wordsize-64/scandir.c: File removed.
27243 * sysdeps/wordsize-64/scandir64.c: File removed.
27244 * sysdeps/wordsize-64/scandirat.c: File removed.
27245 * sysdeps/wordsize-64/scandirat64.c: File removed.
27246 * sysdeps/wordsize-64/versionsort.c: File removed.
27247 * sysdeps/wordsize-64/versionsort64.c: File removed.
27248 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27249 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27250 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27251 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27252 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27253 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27254 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27255 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27256
27257 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27258 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27259 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27260 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27261 [defined __arch64__ || defined __sparcv9]
27262 (__INO_T_MATCHES_INO64_T): New macro.
27263 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27264 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27265 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27266 * sysdeps/unix/sysv/linux/bits/dirent.h
27267 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27268 (_DIRENT_MATCHES_DIRENT64): New macro.
27269
03af9520
RM
27270 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27271 Define lockf64 as an alias.
27272 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27273 Define fseeko64 as an alias.
27274 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27275 Define ftello64 as an alias.
27276 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27277 Define _IO_fgetpos64 and fgetpos64 as aliases.
27278 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27279 Define _IO_fsetpos64 and fsetpos64 as aliases.
27280 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27281 Conditionalize body on this.
27282 * libio/fseeko64.c: Likewise.
27283 * libio/ftello64.c: Likewise.
27284 * libio/iofgetpos64.c: Likewise.
27285 * libio/iofsetpos64.c: Likewise.
27286 * sysdeps/wordsize-64/lockf.c: File removed.
27287 * sysdeps/wordsize-64/lockf64.c: File removed.
27288 * sysdeps/wordsize-64/fseeko.c: File removed.
27289 * sysdeps/wordsize-64/fseeko64.c: File removed.
27290 * sysdeps/wordsize-64/ftello.c: File removed.
27291 * sysdeps/wordsize-64/ftello64.c: File removed.
27292 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27293 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27294 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27295 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27296 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27297 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27298 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27299 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27300 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27301 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27302 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27303 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27304 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27305 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27306
27307 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27308 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27309 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27310 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27311 [defined __arch64__ || defined __sparcv9]
27312 (__OFF_T_MATCHES_OFF64_T): New macro.
27313 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27314 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27315 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27316 (__OFF_T_MATCHES_OFF64_T): New macro.
27317
c5757acd
L
273182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27319
27320 * stdlib/secure-getenv.c (__secure_getenv): Replace
27321 GLIBC_2_16 with GLIBC_2_17.
27322
3a31811e
L
273232012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27324
27325 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27326 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27327
faa2bccb
DM
273282012-08-03 David S. Miller <davem@davemloft.net>
27329
27330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27331
85fe1997
JM
273322012-08-03 Joseph Myers <joseph@codesourcery.com>
27333
27334 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27335 Remove.
27336 (__ASSUME_CORRECT_SI_PID): Likewise.
27337 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27338 (__ASSUME_TMPFS_NAME): Likewise.
27339 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27340 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27341 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27342 (HAVE_AUX_SECURE): Make definition unconditional.
27343 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27344 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27345
4f75b7a0
RM
273462012-08-03 Roland McGrath <roland@hack.frob.com>
27347
27348 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27349 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27350 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27351 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27352 __eloop_threshold instead of SYMLOOP_MAX.
27353
27354 * sysdeps/generic/eloop-threshold.h: New file.
27355 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27356 of MAXSYMLINKS.
27357 * elf/chroot_canon.c (chroot_canon): Likewise.
27358
7aab07e4
JM
273592012-08-03 Joseph Myers <joseph@codesourcery.com>
27360
27361 [BZ #13717]
27362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27363 Change to 2.6.0 everywhere.
27364 * sysdeps/unix/sysv/linux/configure: Regenerated.
27365 * sysdeps/unix/sysv/linux/kernel-features.h
27366 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27367 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27368 kernel versions.
27369 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27370 (__ASSUME_FUTEX_REQUEUE): Remove.
27371 (__ASSUME_STATFS64): Define unconditionally.
27372 (__ASSUME_AT_SECURE): Likewise.
27373 (__ASSUME_CORRECT_SI_PID): Likewise.
27374 (__ASSUME_TGKILL): Define without depending on kernel version for
27375 i386.
27376 (__ASSUME_UTIMES): Likewise.
27377 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27378 kernel version.
27379 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27380 (__ASSUME_TMPFS_NAME): Likewise.
27381 * README: Update reference to Linux kernel versions.
27382
b67e9372
MP
273832012-08-02 Marek Polacek <polacek@redhat.com>
27384
1f529f7d 27385 [BZ# 14150]
b67e9372
MP
27386 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27387 libc_cv_asm_type_prefix with %.
27388 * configure: Regenerated.
d2441631
RM
27389 * include/libc-symbols.h: Remove comment about
27390 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
27391 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27392 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27393 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27394 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27395 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27396 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27397 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27398 * elf/tst-unique2mod1.c: Likewise.
27399 * elf/tst-unique1mod2.c: Likewise.
27400 * elf/tst-unique1mod1.c: Likewise.
27401 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27402 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27403 Replace ASM_TYPE_DIRECTIVE with .type.
27404 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27405 * sysdeps/i386/sysdep.h: Likewise.
27406 * sysdeps/x86_64/sysdep.h: Likewise.
27407 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27409 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27410 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27411 * sysdeps/powerpc/powerpc32/sysdep.h:
27412 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27413 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27414 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27415 * sysdeps/i386/fpu/e_powf.S: Likewise.
27416 * sysdeps/i386/fpu/e_expl.S: Likewise.
27417 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27418 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27419 * sysdeps/i386/fpu/e_pow.S: Likewise.
27420 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27421 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27422 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27423 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27424 * sysdeps/i386/fpu/e_log2.S: Likewise.
27425 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27426 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27427 * sysdeps/i386/fpu/e_powl.S: Likewise.
27428 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27429 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27430 * sysdeps/i386/fpu/e_logl.S: Likewise.
27431 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27432 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27433 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27434 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27435 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27436 * sysdeps/i386/fpu/e_log.S: Likewise.
27437 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27438 * sysdeps/i386/fpu/e_logf.S: Likewise.
27439 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27440 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27441 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27442 * sysdeps/i386/fpu/e_log10.S: Likewise.
27443 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27444 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27445 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27446 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27447 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27448 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27449 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27450 * sysdeps/i386/i686/strtok.S: Likewise.
27451 * sysdeps/i386/i386-mcount.S: Likewise.
27452 * sysdeps/i386/strtok.S: Likewise.
27453 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27454 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27455 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27456 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27457 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27458 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27459 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27460 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27461 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27462 * sysdeps/x86_64/_mcount.S: Likewise.
27463 * sysdeps/x86_64/strtok.S: Likewise.
27464 * sysdeps/sh/_mcount.S: Likewise.
27465
2747bf9a
RM
274662012-08-01 Roland McGrath <roland@hack.frob.com>
27467
27468 * libio/iofopen.c: Include <fcntl.h>.
27469 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27470 (_IO_fopen64, fopen64): Define as aliases.
27471 * libio/iofopen64.c: Include <fcntl.h>.
27472 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27473 Conditionalize body on this.
27474 * sysdeps/wordsize-64/iofopen.c: File removed.
27475 * sysdeps/wordsize-64/iofopen64.c: File removed.
27476
3fb791b8
MP
274772012-08-01 Marek Polacek <polacek@redhat.com>
27478
27479 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27480 Use dlfcn directly instead of a variable.
27481 (binfmt-subdir): Do not define.
27482 (dlfcn): Likewise.
27483
a9f1039f
JM
274842012-08-01 Joseph Myers <joseph@codesourcery.com>
27485
23bddc06
JM
27486 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27487 Remove all definitions.
27488 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27489 <kernel-features.h>.
27490 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27491 (miss_F_GETOWN_EX): Remove all definitions.
27492 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27493 macro definition.
27494 [!__ASSUME_FCNTL64]: Remove conditional code.
27495 [__ASSUME_FCNTL64]: Make code unconditional.
27496 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27497 <kernel-features.h>.
27498 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27499 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27500 (lockf64) [__NR_fcntl64]: Make code unconditional.
27501 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27502
a9f1039f
JM
27503 * sysdeps/unix/sysv/linux/kernel-features.h
27504 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27505 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27506 Make code unconditional.
27507 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27508 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27510 [__NR_vfork]: Make code unconditional.
27511 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27512 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27514 [__NR_vfork]: Make code unconditional.
27515 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27516 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27517
09c0ee5f
RM
275182012-08-01 Roland McGrath <roland@hack.frob.com>
27519
48aec5b9
RM
27520 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27521 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27522
cd97c966
RM
27523 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27524 Define mkstemp64 as an alias.
3f55550c
RM
27525 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27526 Define mkstemps64 as an alias.
cd97c966
RM
27527 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27528 Define mkostemp64 as an alias.
b8625cfc
RM
27529 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27530 Define mkostemps64 as an alias.
cd97c966
RM
27531 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27532 Conditionalize body on this.
27533 * misc/mkostemp64.c: Likewise.
b8625cfc 27534 * misc/mkostemps64.c: Likewise.
3f55550c 27535 * misc/mkstemps64.c: Likewise.
cd97c966
RM
27536 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27537 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27538 * sysdeps/wordsize-64/mkostemp.c: File removed.
27539 * sysdeps/wordsize-64/mkstemp.c: File removed.
27540 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27541 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27542 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27543 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27544
09c0ee5f
RM
27545 [BZ #14138]
27546 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27547 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27548 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27549 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27550
27551 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27552 compat_symbol macros from <shlib-compat.h> rather than the underlying
27553 default_symbol_version and symbol_version macros, so that DEFAULT
27554 lines in shlib-versions are respected.
27555 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27556
7e66ee51
FW
275572012-08-01 Florian Weimer <fweimer@redhat.com>
27558
27559 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27560 Declare with warn_unused_result.
27561 (setgid, setregid, setegid, setresgid): Likewise.
27562 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27563 Likewise.
27564 * WUR-REPORT: Remove set*id functions.
27565
d2a54255
PT
275662012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27567
27568 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27569
7ecdb005
RM
275702012-07-31 Roland McGrath <roland@hack.frob.com>
27571
b4180a5e 27572 [BZ #10191]
789bd351
RM
27573 * include/sys/socket.h (__libc_accept, __libc_accept4):
27574 Add attribute_hidden.
27575 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27576
40ce302d
RM
27577 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27578 use of PTR_MANGLE.
27579 * inet/getnetgrent_r.c (setup): Likewise.
27580
7ecdb005
RM
27581 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27582
e2eabb2c
DM
275832012-07-31 David S. Miller <davem@davemloft.net>
27584
27585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27586
d0419dbf
JM
275872012-07-31 Joseph Myers <joseph@codesourcery.com>
27588
27589 [BZ #13629]
27590 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27591 value between 1.0 and 2.0 and smaller part has absolute value less
27592 than 1.0.
27593 * math/s_clog10.c (__clog10): Likewise.
27594 * math/s_clog10f.c (__clog10f): Likewise.
27595 * math/s_clog10l.c (__clog10l): Likewise.
27596 * math/s_clogf.c (__clogf): Likewise.
27597 * math/s_clogl.c (__clogl): Likewise.
27598 * math/libm-test.inc (clog_test): Add more tests.
27599 (clog10_test): Likewise.
27600 * sysdeps/i386/fpu/libm-test-ulps: Update.
27601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27602
2bc13872
FW
276032012-07-31 Florian Weimer <fweimer@redhat.com>
27604
27605 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27606 Exit with zero in case no suitable GID is found, and write a
27607 message to standard error.
27608
bea9b193
RM
276092012-07-30 Roland McGrath <roland@hack.frob.com>
27610
27611 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27612 rather than to 1.
27613 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27614 (MAXPATHLEN): Removed.
27615 (NOGROUP, NODEV): New macros.
27616 (setbit, clrbit, isset, isclr): New macros.
27617 (howmany, roundup, powerof2): New macros.
27618 (DEV_BSIZE): New macro.
27619
27620 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27621 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27622
27623 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27624 definition on [!__NO_LONG_DOUBLE_MATH].
27625
27626 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27627 PTR_MANGLE and PTR_DEMANGLE.
27628
27629 * socket/accept4.c (accept4): Rename to __libc_accept4.
27630 Define accept4 as a weak alias.
27631
27632 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27633 on [_DIRENT_HAVE_D_TYPE].
27634 * io/ftw.c (ftw_dir): Likewise.
27635
27636 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27637
27638 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27639
27640 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27641 Use the BSD numbers rather than the arbitrary ones we had.
27642 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27643 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27644 (SIGXCPU, SIGXFSZ): New macros.
27645 (_NSIG): Now 32.
27646
27647 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27648 initializer on [_LIBC_REENTRANT].
27649
27650 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27651 definitions inside [_POSIX_MAPPED_FILES].
27652
27653 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27654
27655 * dirent/opendir.c: Include <fcntl.h>.
27656
27657 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27658 (__libc_getspecific): Likewise.
27659 (__libc_key_create): Likewise.
27660
27661 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27662 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27663 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27664 (tmpfile64): Define as alias.
27665 * sysdeps/wordsize-64/tmpfile.c: File removed.
27666 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27667 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27668 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27669
27670 * stdio-common/vfscanf.c: Include <stdbool.h>.
27671 * nss/makedb.c: Likewise.
27672 * stdio-common/_i18n_number.h: Likewise.
27673 * argp/argp-help.c: Likewise.
27674 * posix/wordexp.c: Likewise.
27675 * sysdeps/posix/spawni.c: Likewise.
27676 * nss/nss_files/files-initgroups.c: Likewise.
27677 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27678 * nss/nss_files/files-initgroups.c: Likewise.
27679 * nss/nss_db/db-netgrp.c: Likewise.
27680 * nss/nss_db/db-initgroups.c: Likewise.
27681 * io/fchmodat.c: Include <sys/stat.h>.
27682
27683 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27684 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27685
27686 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27687 [HAVE_MMAP].
27688
27689 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27690 Add multiple inclusion protection.
27691
e5abc686
DM
276922012-07-27 David S. Miller <davem@davemloft.net>
27693
27694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27695
815e6fa3
GB
276962012-07-27 Gary Benson <gbenson@redhat.com>
27697
27698 [BZ #14298]
27699 * elf/rtld.c: Include <stap-probe.h>.
27700 (dl_main): Added static probes "init_start" and "init_complete".
27701 * elf/dl-load.c: Include <stap-probe.h>.
27702 (lose): Take new parameter "nsid".
27703 Added static probe "map_failed".
27704 (_dl_map_object_from_fd): Pass namespace id to lose.
27705 Added static probe "map_start".
27706 (open_verify): Pass namespace id to lose.
27707 * elf/dl-open.c: Include <stap-probe.h>.
27708 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27709 and "reloc_complete".
27710 * elf/dl-close.c: Include <stap-probe.h>.
27711 (_dl_close_worker): Added static probes "unmap_start" and
27712 "unmap_complete".
27713 * elf/rtld-debugger-interface.txt: New file documenting the above.
27714
9f98c16c
RM
277152012-07-26 Roland McGrath <roland@hack.frob.com>
27716
27717 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27718 rather than a string variable.
27719 * sunrpc/rpc_main.c (h_output): Likewise.
27720 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27721
f3c22df3
PT
277222012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27723
27724 * inet/check_native.c: New file.
27725
3129cfc6
JM
277262012-07-26 Joseph Myers <joseph@codesourcery.com>
27727
da865e95
JM
27728 [BZ #13629]
27729 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27730 if larger part has absolute value 1.0.
27731 * math/s_clog10.c (__clog10): Likewise.
27732 * math/s_clog10f.c (__clog10f): Likewise.
27733 * math/s_clog10l.c (__clog10l): Likewise.
27734 * math/s_clogf.c (__clogf): Likewise.
27735 * math/s_clogl.c (__clogl): Likewise.
27736 * math/libm-test.inc (clog_test): Add more tests.
27737 (clog10_test): Likewise.
27738 * sysdeps/i386/fpu/libm-test-ulps: Update.
27739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27740
3129cfc6
JM
27741 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27742 (pltexit): Likewise.
27743 (La_regs): Likewise.
27744 (La_retval): Likewise.
27745 (int_retval): Likewise.
27746 Update #error for removed macros to refer only to definitions in
27747 tst-audit.h.
27748 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27749 macro.
27750 (pltexit): Likewise.
27751 (La_regs): Likewise.
27752 (La_retval): Likewise.
27753 (int_retval): Likewise.
27754 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27755 macro.
27756 (pltexit): Likewise.
27757 (La_regs): Likewise.
27758 (La_retval): Likewise.
27759 (int_retval): Likewise.
27760 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27761 macro.
27762 (pltexit): Likewise.
27763 (La_regs): Likewise.
27764 (La_retval): Likewise.
27765 (int_retval): Likewise.
27766 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27767 macro.
27768 (pltexit): Likewise.
27769 (La_regs): Likewise.
27770 (La_retval): Likewise.
27771 (int_retval): Likewise.
27772 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27773 macro.
27774 (pltexit): Likewise.
27775 (La_regs): Likewise.
27776 (La_retval): Likewise.
27777 (int_retval): Likewise.
27778 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27779 macro.
27780 (pltexit): Likewise.
27781 (La_regs): Likewise.
27782 (La_retval): Likewise.
27783 (int_retval): Likewise.
27784 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27785 macro definitions in tst-audit.h.
27786 * sysdeps/i386/tst-audit.h: New file.
27787 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27788 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27789 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27790 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27791 * sysdeps/sh/tst-audit.h: Likewise.
27792 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27793 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27794 * sysdeps/x86_64/tst-audit.h: Likewise.
27795
bfc07087
AJ
277962012-07-26 Andreas Jaeger <aj@suse.de>
27797
b1b2aaf8
AJ
27798 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27799 ptrace.
27800
27801 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27802 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27803 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27804 PTRACE_O_MASK.
27805 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27806 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27807 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27808
bfc07087
AJ
27809 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27810 value.
27811
27812 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27813 _sigsys.
27814 (si_call_addr, si_syscall, si_arch): Define new macro.
27815 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27816 _sigsys.
27817 (si_call_addr, si_syscall, si_arch): Define new marcro.
27818 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27819 _sigsys.
27820 (si_call_addr, si_syscall, si_arch): Define new macro.
27821 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27822 _sigsys.
27823 (si_call_addr, si_syscall, si_arch): Define new macro.
27824
89b4b02f
JM
278252012-07-25 Joseph Myers <joseph@codesourcery.com>
27826
27827 [BZ #13717]
27828 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27829 Change to 2.4.21 where previously 2.4.1.
27830 * sysdeps/unix/sysv/linux/configure: Regenerated.
27831 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27832 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27833 Linux kernel version.
27834 (__ASSUME_STD_AUXV): Remove.
27835 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27836 kernel version.
27837 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27838 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27839 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27840 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27841 (__ASSUME_NETLINK_SUPPORT): Likewise.
27842 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27843 (__no_netlink_support): Remove conditional definition.
27844 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27845 Remove.
27846 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27847 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27848 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27849 (if_nameindex_ioctl): Remove.
27850 (if_nameindex_netlink): Do not handle __no_netlink_support.
27851 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27852 code.
27853 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27854 Remove conditional code.
27855 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27856 code.
27857 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27858 unconditional.
27859 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27860 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27861 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27862 Remove.
27863 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27864 [!__ASSUME_STD_AUXV]: Remove conditional code.
27865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27866 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27867 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27869 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27870 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27871 code.
27872 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27874 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27875 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27876 conditional code.
27877 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27879 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27880 code.
27881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27882 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27883 conditional code.
27884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27885 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27886 code unconditional.
27887 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27888 conditional code.
27889 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27890 unconditional.
27891 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27892 conditional code.
27893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27894 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27895 unconditional.
27896 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27897 conditional code.
27898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27899 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27900 code unconditional.
27901 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27902 conditional code.
27903 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27904 unconditional.
27905 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27906 conditional code.
27907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27908 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27909 code unconditional.
27910 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27911 conditional code.
27912 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27913 unconditional.
27914 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27915 conditional code.
27916
842a39cd
AS
279172012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27918
27919 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27920 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27921 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27922 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27923 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27924 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27925 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27926 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27927 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27928 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27929 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27930 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27931 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27932 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27933 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27934 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27935 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27936 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27937 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27938 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27939 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27940 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27941 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27942
84b3fd84
FW
279432012-07-25 Florian Weimer <fweimer@redhat.com>
27944
27945 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27946 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27947 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27948 Introduce __libc_secure_getenv.
0c7936d5
FW
27949 * stdlib/Versions (2.17): Add secure_getenv
27950 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27951 * stdlib/secure-getenv.c: Rename __secure_getenv to
27952 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27953 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27954 * stdlib/tst-secure-getenv.c: New.
27955 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27956 * manual/startup.texi (Environment Access): Document
27957 secure_getenv.
84b3fd84
FW
27958 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27959 __libc_secure_getenv.
27960 * inet/ruserpass.c (ruserpass): Likewise.
27961 * malloc/mtrace.c (mtrace): Likewise.
27962 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27963 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27964 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27965 * sysdeps/posix/tempname.c: Likewise. Evaluate
27966 HAVE_SECURE_GETENV.
27967 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27968 __secure_getenv to __libc_secure_getenv.
84b3fd84 27969 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27971 Likewise.
27972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27973 Likewise.
27974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27976 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27981
56e49b71
JM
279822012-07-25 Joseph Myers <joseph@codesourcery.com>
27983
27984 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27985 (struct La_i86_retval): Likewise.
27986 (struct La_x86_64_regs): Likewise.
27987 (struct La_x86_64_retval): Likewise.
27988 (struct La_x32_regs): Likewise.
27989 (struct La_x32_retval): Likewise.
27990 (struct La_ppc32_regs): Likewise.
27991 (struct La_ppc32_retval): Likewise.
27992 (struct La_ppc64_regs): Likewise.
27993 (struct La_ppc64_retval): Likewise.
27994 (struct La_sh_regs): Likewise.
27995 (struct La_sh_retval): Likewise.
27996 (struct La_s390_32_regs): Likewise.
27997 (struct La_s390_32_retval): Likewise.
27998 (struct La_s390_64_regs): Likewise.
27999 (struct La_s390_64_retval): Likewise.
28000 (struct La_sparc32_regs): Likewise.
28001 (struct La_sparc32_retval): Likewise.
28002 (struct La_sparc64_regs): Likewise.
28003 (struct La_sparc64_retval): Likewise.
28004 (struct audit_ifaces): Remove architecture-specific pltenter and
28005 pltexit members.
28006 * sysdeps/i386/ldsodefs.h: New file.
28007 * sysdeps/powerpc/ldsodefs.h: Likewise.
28008 * sysdeps/s390/ldsodefs.h: Likewise.
28009 * sysdeps/sh/ldsodefs.h: Likewise.
28010 * sysdeps/sparc/ldsodefs.h: Likewise.
28011 * sysdeps/x86_64/ldsodefs.h: Likewise.
28012
354691b7
MP
280132012-07-25 Marek Polacek <polacek@redhat.com>
28014
28015 [BZ #6808]
28016 * math/libm-test.inc (yn_test): Add another test.
28017 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28018 to ERANGE when the result is +-Inf.
28019 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28020 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28021 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28022 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28023
bf9e2071
JM
280242012-07-24 Joseph Myers <joseph@codesourcery.com>
28025
28026 * conform/data/time.h-data (NULL): Use macro-constant. Require
28027 equal to 0.
28028 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28029 clock_t.
28030 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28031
57633811
TS
280322012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28033
28034 * configure.in <sysdeps resolving>: Correct printing
28035 Implies_before.
28036 * configure: Regenerate.
28037
c23c33b0
TS
280382012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28039
28040 * math/w_ilogb.c: Include <limits.h>.
28041 * math/w_ilogbl.c: Likewise.
28042
b5982523
JM
280432012-07-20 Joseph Myers <joseph@codesourcery.com>
28044
28045 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28046 va_copy. Document allowing for unavailable va_copy only as
28047 pre-C99 compatibility.
28048 * manual/string.texi (Copying and Concatenation): Use va_copy
28049 instead of __va_copy in concat example.
28050
ac4ea442
PT
280512012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28052
28053 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28054 (__sendto): Use create_address_port. Initialize APORT and deallocate
28055 it if not null.
28056
f98eafbd
PT
28057 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28058 with O_NOLINK passed to __file_name_lookup.
28059
898c7aab
PT
28060 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28061 with O_NOLINK passed to __file_name_lookup.
28062
0ced335a
PT
28063 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28064 negative N or less than NGIDS.
28065
b3404dbd
PT
28066 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28067 type to string_t. Set ERANGE as errno and return it if NAME is not big
28068 enough. Use memcpy instead of strncpy.
28069
0f48659e
JM
280702012-07-20 Joseph Myers <joseph@codesourcery.com>
28071
28072 * elf/Makefile (check-data): Remove.
28073 (localplt.data): New vpath directive.
28074 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28075 instead of $(check-data).
28076 * scripts/data/localplt-generic.data: Move to ...
28077 * sysdeps/generic/localplt.data: ... here.
28078 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28079 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28080 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28082 ... here.
28083 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28085 ... here.
28086 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28088 ... here.
28089 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28091 ... here.
28092 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28094 ... here.
28095 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28097 ... here.
28098
d37cbdaa
AZ
280992012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28100
28101 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28102 PPC32 and PPC64 files.
28103 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28104 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28105
46f85fc2
AK
281062012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28107
28108 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28109 __makecontext_ret to ...
28110 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28111 ... here and call exit if uc_link is NULL. New file.
28112 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28113 __makecontext_ret.S.
28114 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28115 __makecontext_ret to ...
28116 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28117 ... here and call exit if uc_link is NULL. New file.
28118 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28119 __makecontext_ret.S.
28120
08f43f9b
AK
281212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28122
28123 * elf/elf.h (R_390_IRELATIVE): New definition.
28124 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28125 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28126 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28127 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28128 (elf_machine_lazy_rel): Likewise.
28129 * sysdeps/s390/dl-irel.h: New file.
28130 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28131 * sysdeps/s390/s390-64/memset.S: New asm code.
28132 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28133 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28134 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28135 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28136 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28137 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28138 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28139 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28140 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28141 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28142 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28143 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28144 * sysdeps/s390/s390-32/memset.S: New asm code.
28145 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28146
3b05db33
MP
281472012-07-17 Marek Polacek <polacek@redhat.com>
28148
28149 [BZ #14349]
28150 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28151 * sysdeps/s390/s390-64/configure.in: Likewise.
28152 * sysdeps/sparc/configure.in: Likewise.
28153 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28154 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28155 * sysdeps/i386/configure.in: Likewise.
28156 * sysdeps/x86_64/configure.in: Likewise.
28157 * sysdeps/sh/configure.in: Likewise.
28158 * sysdeps/s390/s390-32/configure: Regenerated.
28159 * sysdeps/s390/s390-64/configure: Likewise.
28160 * sysdeps/x86_64/configure: Likewise.
28161 * sysdeps/sh/configure: Likewise.
28162 * sysdeps/powerpc/powerpc64/configure: Likewise.
28163 * sysdeps/powerpc/powerpc32/configure: Likewise.
28164 * sysdeps/sparc/configure: Likwise.
28165 * sysdeps/i386/configure: Likewise.
28166
a66877c6
MP
28167 * elf/dl-open.c: Comment fixes.
28168
cfc82fd8
JM
281692012-07-17 Joseph Myers <joseph@codesourcery.com>
28170
bd29910a
JM
28171 * Makefile [CXX] (check-data): Remove.
28172 [CXX] (c++-types.data): New vpath directive.
28173 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28174 vpath. Do not allow for C++ type data being missing.
28175 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28176 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28177 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28178 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28179 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28180 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28181 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28183 ... here.
28184 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28186 ... here.
28187 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28189 ... here.
28190 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28192 ... here.
28193 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28195 ... here.
28196 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28198 ... here.
28199 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28201 ... here.
28202 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28204
cfc82fd8
JM
28205 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28206 definitions to architecture-specific files.
28207 (TLS_IE): Likewise.
28208 (TLS_LD): Likewise.
28209 (TLS_GD): Likewise.
28210 * sysdeps/i386/tls-macros.h: New file.
28211 * sysdeps/powerpc/tls-macros.h: Likewise.
28212 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28213 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28214 * sysdeps/sh/tls-macros.h: Likewise.
28215 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28216 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28217 * sysdeps/x86_64/tls-macros.h: Likewise.
28218
f7db3170
TS
282192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28220
07cbfc23
TS
28221 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28222 zero value for regular exit case.
28223
f7db3170
TS
28224 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28225 (__start_context): Preserve zero value for regular exit case.
28226
dc97c227
TS
282272012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28228 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28229
28230 * manual/setjmp.texi (setcontext): Clarify normal process
28231 termination when uc_link is the null pointer.
28232 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28233 exit call.
28234
d0cd7d02
AS
282352012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28236
28237 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28238 preprocessor. Test for each exception mask separately.
28239
dd318934
AJ
282402012-07-16 Andreas Jaeger <aj@suse.de>
28241
28242 * po/ru.po: Update from translation team.
28243
8048311a
JM
282442012-07-15 Joseph Myers <joseph@codesourcery.com>
28245
28246 * conform/data/string.h-data (NULL): Use macro-constant. Require
28247 equal to 0.
28248 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28249 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28250 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28251 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28252 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28253
b637d46e
AJ
282542012-07-13 Andreas Jaeger <aj@suse.de>
28255
28256 * po/fr.po: Update from translation team.
28257
541428fe
MP
282582012-07-12 Marek Polacek <polacek@redhat.com>
28259
28260 [BZ #14173]
28261 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28262 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28263 loop condition.
28264
ec332e94
JM
282652012-07-12 Joseph Myers <joseph@codesourcery.com>
28266
28267 [BZ #13717]
28268 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28269 Change to 2.4.1 where previously 2.4.0.
28270 * sysdeps/unix/sysv/linux/configure: Regenerated.
28271 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28272 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28273 version.
28274 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28275 (__ASSUME_AT_CLKTCK): Remove.
28276 (__ASSUME_AT_PAGESIZE): Likewise.
28277 (__ASSUME_AT_XID): Likewise.
28278 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28279 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28280 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28281 unconditionally.
28282 (HAVE_AUX_PAGESIZE): Likewise.
28283 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28284 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28285 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28286
7b6e99be
JB
282872012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28288
28289 [BZ #14307]
28290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28291 the temporary buffer used to invoke __gethostbyname2_r,
28292 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28293 host_data / struct gaih_addrtuple.
28294 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28295 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28296 header file nss/nsswitch.h.
28297 * nss/nsswitch.h (global scope): Add definition of implementation
28298 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28299 resolv/nss_dns/dns-host.c).
28300
608404eb
AJ
283012012-07-11 Andreas Jaeger <aj@suse.de>
28302
28303 * po/fr.po: Update from translation team.
28304
71220aca
AJ
28305 * po/sv.po: Update from translation team
28306 * po/fr.po: Another update from translation team.
28307
28cfe843
AZ
283082012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28309
28310 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28311 for subnormals or multiply small sinh result by itself.
28312 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28314
6b90f981
DM
283152012-07-11 David S. Miller <davem@davemloft.net>
28316
28317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28318
c6825772
AS
283192012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28320
28321 [BZ #14347]
28322 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28323 (INTERNAL_MARK): Shift it here.
28324
7b8e0d49
MP
283252012-07-10 Marek Polacek <polacek@redhat.com>
28326
28327 [BZ #14151]
28328 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28329 libc_cv_asm_global_directive with .globl.
28330 * configure: Regenerated.
28331 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28332 with .globl.
28333 * sysdeps/i386/configure: Regenerated.
28334 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28335 with .globl.
28336 * sysdeps/x86_64/configure: Regenerated.
28337 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28338 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28339 * elf/tst-unique2mod2.c: Likewise.
28340 * elf/tst-unique2mod1.c: Likewise.
28341 * elf/tst-unique1mod2.c: Likewise.
28342 * elf/tst-unique1mod1.c: Likewise.
28343 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28344 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28345 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28346 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28347 * sysdeps/mach/sysdep.h: Likewise.
28348 * sysdeps/i386/sysdep.h: Likewise.
28349 * sysdeps/i386/i386-mcount.S: Likewise.
28350 * sysdeps/x86_64/_mcount.S: Likewise.
28351 * sysdeps/x86_64/sysdep.h: Likewise.
28352 * sysdeps/sh/_mcount.S: Likewise.
28353 * sysdeps/sh/sysdep.h: Likewise.
28354 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28355 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28356 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28357 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28358 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28359 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28360 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28361 * locale/localeinfo.h: Likewise.
28362 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28363 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28364
6c55cda3
RM
283652012-07-09 Roland McGrath <roland@hack.frob.com>
28366
28367 [BZ #14336]
28368 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28369 system".
28370 * manual/message.texi (The Uniforum approach): Likewise.
28371 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28372 (glibc iconv Implementation): Likewise.
28373
638a572e
JM
283742012-07-09 Joseph Myers <joseph@codesourcery.com>
28375
28376 [BZ #14337]
28377 * math/s_clog.c (__clog): Avoid scaling a value down where that
28378 could result in underflow.
28379 * math/s_clog10.c (__clog10): Likewise.
28380 * math/s_clog10f.c (__clog10f): Likewise.
28381 * math/s_clog10l.c (__clog10l): Likewise.
28382 * math/s_clogf.c (__clogf): Likewise.
28383 * math/s_clogl.c (__clogl): Likewise.
28384 * math/libm-test.inc (clog_test): Add more tests.
28385 (clog10_test): Likewise.
28386 * sysdeps/i386/fpu/libm-test-ulps: Update.
28387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28388
261f4859
AS
283892012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28390
0abaf3e4
AS
28391 [BZ #14283]
28392 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28393 by 7 not 8 to examine high bit of fractional part.
28394
261f4859
AS
28395 [BZ #14042]
28396 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28397 for call to __mcount_internal.
28398 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28399 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28400 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28401
f17ac40d
JM
284022012-07-06 Joseph Myers <joseph@codesourcery.com>
28403
9ad63c23
JM
28404 [BZ #14154]
28405 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28406 approximation for values within 0x1p-13f of an odd multiple of
28407 pi/4.
28408 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28409 exception. Add more tests.
28410 * sysdeps/i386/fpu/libm-test-ulps: Update.
28411
f17ac40d
JM
28412 [BZ #6778]
28413 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28414 inputs and return -1 for them. Do not check for +Inf in case not
28415 reachable for +Inf.
28416 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28417 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not 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 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28422 define.
28423 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28424 and return -1 for them. Do not check for +Inf in case not
28425 reachable for +Inf.
28426 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28427 spurious underflow.
28428 * sysdeps/i386/fpu/libm-test-ulps: Update.
28429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28430
fb21f89b
MF
284312012-07-06 Mike Frysinger <vapier@gentoo.org>
28432
28433 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28434
cdfe2c5e
JM
284352012-07-05 Joseph Myers <joseph@codesourcery.com>
28436
28437 [BZ #14157]
28438 [BZ #14331]
28439 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28440 could result in spurious underflow. Scale down values above
28441 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28442 * math/s_csqrtf.c (__csqrtf): Likewise.
28443 * math/s_csqrtl.c (__csqrtl): Likewise.
28444 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28445 spurious underflow.
28446 * sysdeps/i386/fpu/libm-test-ulps: Update.
28447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28448
70d35b67
AS
284492012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28450
704bc459
AS
28451 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28452 xopen-msg.sed.
28453 * catgets/xopen-msg.awk: New file.
28454 * catgets/xopen-msg.sed: Removed.
28455
70d35b67
AS
28456 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28457 po2text.sed.
28458 * intl/po2test.awk: New file.
28459 * intl/po2test.sed: Removed.
28460
ca61cf32
JM
284612012-07-04 Joseph Myers <joseph@codesourcery.com>
28462
28463 [BZ #14328]
28464 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28465 or multiply small sinh result by itself.
28466 * math/s_ctanf.c (__ctanf): Likewise.
28467 * math/s_ctanh.c (__ctanh): Likewise.
28468 * math/s_ctanhf.c (__ctanhf): Likewise.
28469 * math/s_ctanhl.c (__ctanhl): Likewise.
28470 * math/s_ctanl.c (__ctanl): Likewise.
28471 * math/libm-test.inc (ctan_test_tonearest): New function.
28472 (ctan_test_towardzero): Likewise.
28473 (ctan_test_downward): Likewise.
28474 (ctan_test_upward): Likewise.
28475 (ctanh_test_tonearest): Likewise.
28476 (ctanh_test_towardzero): Likewise.
28477 (ctanh_test_downward): Likewise.
28478 (ctanh_test_upward): Likewise.
28479 (main): Call these new functions.
28480 * sysdeps/i386/fpu/libm-test-ulps: Update.
28481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28482
ca48a46a
MF
284832012-07-03 Mike Frysinger <vapier@gentoo.org>
28484
28485 * .gitignore: Delete /ports entry.
28486
9d63d37d
AJ
284872012-07-03 Andreas Jaeger <aj@suse.de>
28488
28489 * po/bg.po: Update from translation team.
28490 * po/cs.po: Likewise.
28491 * po/de.po: Likewise.
28492 * po/hr.po: Likewise.
28493 * po/nl.pl: Likewise.
28494 * po/pl.po: Likewise.
28495 * po/vi.po: Likewise.
28496
370ca3d2
JM
284972012-07-03 Joseph Myers <joseph@codesourcery.com>
28498
95f5a9a8
JM
28499 * Makeconfig [!+link] (+link-before-libc): New variable.
28500 [!+link] (+link-after-libc): Likewise.
28501 [!+link] (+link-tests): Likewise.
28502 [!+link] (+link): Define in terms of $(+link-before-libc) and
28503 $(+link-after-libc).
28504 [!+link-static] (+link-static-before-libc): New variable.
28505 [!+link-static] (+link-static-after-libc): Likewise.
28506 [!+link-static] (+link-static-tests): Likewise.
28507 [!+link-static] (+link-static): Define in terms of
28508 $(+link-static-before-libc) and $(+link-static-after-libc).
28509 [build-shared] (link-libc-before-gnulib): New variable.
28510 [build-shared] (link-libc-tests): Likewise.
28511 [build-shared] (link-libc): Define in terms of
28512 $(link-libc-before-gnulib).
28513 [!build-shared] (link-libc-tests): New variable.
28514 (link-libc-static-tests): New variable.
28515 [!gnulib] (gnulib-arch): New variable.
28516 [!gnulib] (gnulib-tests): Likewise.
28517 [!gnulib] (static-gnulib-arch): Likewise.
28518 [!gnulib] (static-gnulib-tests): Likewise.
28519 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28520 Define with "=" instead of ":=".
28521 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28522 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28523 * Rules (binaries-all-notests): New variable.
28524 (binaries-all-tests): Likewise.
28525 (binaries-static-notests): Likewise.
28526 (binaries-static-tests): Likewise.
28527 (binaries-all): Define using $(binaries-all-notests) and
28528 $(binaries-all-tests).
28529 (binaries-static): Define using $(binaries-static-notests) and
28530 $(binaries-static-tests).
28531 (binaries-shared-tests): New variable.
28532 (binaries-shared-notests): Likewise.
28533 (binaries-shared): Remove variable.
28534 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28535 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28536 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28537 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28538 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28539 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28540 * elf/Makefile (sln-modules): New variable.
28541 (extra-objs): Add $(sln-modules:=.o).
28542 (ldconfig-modules): Add static-stubs.
28543 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28544 * elf/static-stubs.c: New file.
28545
7a845b2c
JM
28546 [BZ #14283]
28547 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28548 by 7 not 8 to examine high bit of fractional part. Use volatile
28549 variables when splitting into final array of floats if
28550 __FLT_EVAL_METHOD__ != 0.
28551 * math/libm-test.inc (cos_test): Add another test.
28552 (sin_test): Likewise.
28553 * sysdeps/i386/fpu/libm-test-ulps: Update.
28554
e2283f38
JM
28555 [BZ #14273]
28556 * math/libm-test.inc (cosh_test): Add more tests.
28557
370ca3d2
JM
28558 * version.h (RELEASE): Set to "development".
28559 (VERSION): Set to "2.16.90".
28560
ee9247c3
CD
285612012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28562
28563 * NEWS: Update copyright. Remove last-updated date.
28564 Mention math library bug fixes and timezone data changes.
28565 * README: Mention GNU/Hurd, x32, and HPPA support status.
28566
4648c381
TS
285672012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28568
28569 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28570
aac78a43
AJ
285712012-06-27 Andreas Jaeger <aj@suse.de>
28572
28573 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28574
ed3dbfad
AJ
285752012-06-25 Andreas Jaeger <aj@suse.de>
28576
28577 * sysdeps/s390/fpu/libm-test-ulps: Update.
28578
4d0ee855
AS
285792012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28580 Thomas Schwinge <thomas@codesourcery.com>
28581
28582 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28583 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28584 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28585 fanotify_mark.
28586
af1bce34
TS
285872012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28588
a9fa33ba
TS
28589 * sysdeps/mach/start.c: Remove file.
28590 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28591 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28592 * sysdeps/sh/init-first.c: Likewise.
28593
58f902b8
TS
28594 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28595 registers for frame unwinding purposes, add CFI directives.
28596 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28597 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28598 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28599 Likewise.
28600
1518f58b
TS
28601 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28602 __fortify_fail returning.
28603 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28604
db9b5059
TS
28605 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28606 sysdeps/sh/____longjmp_chk.S.
28607 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28608 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28609 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28610 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28611
967705fe
TS
28612 * sysdeps/sh/abort-instr.h: New file.
28613 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28614 process in case exit returns.
28615
a9def8c4
TS
28616 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28617 initialize the GOT register before use.
28618
2a649725
TS
28619 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28620 calculation of ARGC > 4.
28621
af1bce34
TS
28622 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28623 meaningful names to some local labels.
28624
d230f50a
KK
286252012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28626 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28627
28628 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28629 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28630 (__arch_compare_and_exchange_val_16_acq): Likewise.
28631 (__arch_compare_and_exchange_val_32_acq): Likewise.
28632 (atomic_exchange_and_add): Fix gUSA sequence.
28633 (atomic_add): Likewise.
28634 (atomic_add_negative): Likewise.
28635 (atomic_add_zero): Likewise.
28636 (atomic_bit_test_set): Likewise.
28637
0479b305
AS
286382012-06-22 Andreas Schwab <schwab@redhat.com>
28639
28640 [BZ #13579]
28641 * include/link.h (struct link_map): Add l_free_initfini.
28642 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28643 l_initfini.
28644 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28645 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28646 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28647 set.
28648
0e3933b9
CD
286492012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28650
28651 * configure.in: Use AC_LANG_SOURCE.
28652 * configure: Regenerate.
28653
4248b1b1
RM
286542012-06-22 Roland McGrath <roland@hack.frob.com>
28655
28656 * configure.in (libc_cv_localstatedir): New substituted variable.
28657 * configure: Regenerated.
28658 * config.make.in (localstatedir): New variable, substituted from
28659 libc_cv_localstatedir.
28660 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28661 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28662 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28663 * sysdeps/gnu/configure: Regenerated.
28664
006dd861
JL
286652012-06-21 Jeff Law <law@redhat.com>
28666
28667 [BZ #14277]
28668 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28669 free. Simplify list management for _LIBC case.
28670
79662d42
JM
286712012-06-21 Joseph Myers <joseph@codesourcery.com>
28672
b7abb4bf
JM
28673 [BZ #14273]
28674 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28675 Clear sign bit of 64-bit integer value before comparing against
28676 overflow value.
28677
79662d42
JM
28678 * sysdeps/mach/configure: Regenerated.
28679
1f150908
L
286802012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28681
28682 [BZ #14278]
28683 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28684
28363bbf
JL
286852012-06-21 Jeff Law <law@redhat.com>
28686
28687 [BZ #13882]
28688 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28689 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28690 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28691 * elf/dl-open.c (dl_open_worker): Likewise.
28692
09615db4
CD
286932012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28694
28695 * scripts/list-sources.sh: Scan PORTS for translations.
28696 * po/libc.pot: Regenerated.
28697
2174c6dd
AJ
286982012-06-21 Andreas Jaeger <aj@suse.de>
28699
28700 [BZ #12194]
28701 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28702 warning.
28703 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28704 * bits/byteswap-16.h (__bswap_16): Likewise.
28705 * bits/byteswap.h (__bswap_constant_16): Likewise.
28706
3ee947b1
L
287072012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28708
28709 [BZ #14117]
a2f34833
L
28710 * sysdeps/i386/fpu_control.h: Removed.
28711 * sysdeps/x86_64/fpu_control.h: Moved to ...
28712 * sysdeps/x86/fpu_control.h: Here.
28713
3ee947b1
L
28714 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28715 (_FPU_SETCW): Likewise.
28716
ed1825f8
L
287172012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28718
25f1282a
L
28719 [BZ #14117]
28720 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28721 * sysdeps/x86/fpu/bits/mathinline.h: This.
28722 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28723
ed1825f8
L
28724 [BZ #14050]
28725 [BZ #14117]
28726 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28727 functions if __x86_64__ is defined.
28728
36d54b74
CLT
287292012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28730
28731 * string/endian.h: Add !__ASSEMBLER__ condition for including
28732 conversion interfaces.
28733
10285c21
JM
287342012-06-15 Joseph Myers <joseph@codesourcery.com>
28735
28736 [BZ #14241]
28737 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28738 of ABS(x) in calculating zero to negative powers other than odd
28739 integers.
28740 * math/libm-test.inc (pow_test): Add more tests.
28741
06c5abbd
AJ
287422012-06-15 Andreas Jaeger <aj@suse.de>
28743
28744 * manual/contrib.texi (Contributors): Update entry of Liubov
28745 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28746 Machado Filho.
28747
a3aeac40
CH
287482012-06-15 Cyril Hrubis <metan@ucw.cz>
28749
28750 * string/string.h: Add __wur to GNU version of strerror_r.
28751
49bdf4c1
L
287522012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28753
28754 [BZ #14229]
28755 * string/Makefile (tests): Add tst-strtok_r.
28756 * string/tst-strtok_r.c: New file.
28757 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28758 RAX_LP/RDX_LP on SAVE_PTR.
28759
834f9b8d
RM
287602012-06-14 Roland McGrath <roland@hack.frob.com>
28761
28762 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28763
75fa1921
JM
287642012-06-14 Joseph Myers <joseph@codesourcery.com>
28765
28766 * libm_test.inc (csqrt_test): Allow more spurious underflow
28767 exceptions.
28768 (j0_test): Likewise.
28769 (j1_test): Likewise.
28770 (y0_test): Likewise.
28771 (y1_test): Likewise.
28772
771766df
CD
287732012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28774
28775 * po/Makefile (libc.pot): Use UTF-8 charset.
28776
ceb9e56b
PP
287772012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28778
28779 [BZ #14210]
28780 Suppress sign-conversion warning from FD_SET.
28781 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28782 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28783 not unsigned long int.
28784 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28785
ddb28975
L
287862012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28787
28788 [BZ #14050]
28789 [BZ #14117]
28790 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28791 __extern_always_inline instead of __extern_inline.
28792 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28793 (__signbit): Likewise.
28794 (__signbitl): Support C++ namespace.
28795 (lrintf): New inline function.
28796 (lrint): Likewise.
28797 (llrintf): Likewise.
28798 (llrint): Likewise.
28799 (fmaxf): Likewise.
28800 (fmax): Likewise.
28801 (fminf): Likewise.
28802 (fmin): Likewise.
28803 (rint): Likewise.
28804 (rintf): Likewise.
28805 (ceil): Likewise.
28806 (ceilf): Likewise.
28807 (floor): Likewise.
28808 (floorf): Likewise.
28809 (nearbyint): Likewise.
28810 (nearbyintf): Likewise.
28811
d7b4fb26
TS
288122012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28813
28814 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28815 non-default versions.
28816
eb55f5c2
RM
288172012-06-11 Roland McGrath <roland@hack.frob.com>
28818
28819 [BZ #14218]
28820 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28821
366af02c
TS
288222012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28823
99ff6e5c
TS
28824 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28825 (FE_UPWARD, FE_DOWNWARD): Don't define.
28826 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28827 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28828
366af02c
TS
28829 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28830 reading it.
28831 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28832 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28833
793ea851
KK
288342012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28835
28836 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28837 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28838 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28839 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28840
a728a38f
L
288412012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28842
28843 [BZ #14117]
c08010c7
L
28844 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28845 * sysdeps/i386/fpu/Implies: New file.
28846 * sysdeps/x86_64/fpu/Implies: Likewise.
28847 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28848 * sysdeps/x86/fpu/bits/fenv.h: This.
28849
a728a38f
L
28850 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28851 __SSE_MATH__.
28852
6e230d11
SP
288532012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28854
28855 [BZ #14134]
28856 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28857 character 0xffff that matches the last element of the
28858 conversion table.
28859
1b671feb
AZ
288602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28861
28862 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28863 fmodl commit.
28864
6043738b
AZ
288652012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28866
28867 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28868 values higher than 25.6283.
28869
34ae0b32
AZ
288702012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28871
28872 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28873 subnormal exponent extraction and add some __builtin_expect.
28874 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28875 Fix for subnormal mantissa calculation.
28876
1214ec8f
MF
288772012-06-04 Mike Frysinger <vapier@gentoo.org>
28878
28879 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28880 cpu2 is -1 and errno is not ENOSYS.
28881
f3d1f93c
L
288822012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28883
28884 [BZ #14117]
0e4a3cd7
L
28885 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28886 * sysdeps/x86/bits/string.h: This.
28887 * sysdeps/x86_64/bits/string.h: Removed.
28888
6704c645
L
28889 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28890 if not compiling for x86-64, but compiling for >= i486.
28891
48495318
L
28892 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28893 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28894
14adcbfc
L
28895 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28896 New macro from Linux kernel 3.4.0.
28897 (FP_XSTATE_MAGIC2): Likewise.
28898 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28899 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28900 (struct _fpx_sw_bytes): New struct.
28901 (struct _xsave_hdr): Likewise.
28902 (struct _ymmh_state): Likewise.
28903 (struct _xstate): Likewise.
28904
68e408ab
L
28905 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28906 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28907 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28908 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28909 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28910 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28911
f3d1f93c
L
28912 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28913 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28914 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28915 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28916 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28917 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28918
d9dc34cd
TMQMF
289192012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28920
28921 [BZ #13743]
28922 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28923 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28924 (sysdep_headers): Include sys/platform/ppc.h.
28925 * sysdeps/powerpc/test-gettimebase.c: Test for
28926 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28927 * manual/Makefile (appendices): Include platform.texi.
28928 * manual/contrib.texi (Contributors): Update @node pointers.
28929 * manual/maint.texi (Maintenance): Likewise.
28930 (Platform): New node.
28931 * manual/platform.texi: New file. Document the new features.
28932
4af3879c
SP
289332012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28934 Jakub Jelinek <jakub@redhat.com>
28935
28936 [BZ #14188]
28937 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28938 where __builtin_expect is unavailable.
28939
2fd6ff13
DM
289402012-06-03 David S. Miller <davem@davemloft.net>
28941
28942 * stdlib/longlong.h: Updated from GCC.
28943
173f7220
AS
289442012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28945
28946 [BZ #14042]
28947 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28948 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28949 __mcount_internal.
28950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28951 (GLIBC_2.16): Likewise.
28952
f34a1c6f
L
289532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28954
28955 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28956
88a4576f
JM
289572012-06-01 Joseph Myers <joseph@codesourcery.com>
28958
ea32bcdd
JM
28959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28960 (default-abi): New variable.
28961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28962 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28963 variable.
28964 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28965 Likewise.
28966 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28967 Likewise.
28968 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28969 Likewise.
28970
88a4576f
JM
28971 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28972 definition. Document in comment.
28973
402fe938
DM
289742012-06-01 David S. Miller <davem@davemloft.net>
28975
28976 * stdlib/longlong.h: Updated from GCC.
28977
3553723f
L
289782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28979
28980 [BZ #14117]
3bd872c4
L
28981 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28982 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28983 sys/debugreg.h sys/io.h here.
28984 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28985 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28986 sys/io.h.
28987 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28988 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28989 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28990 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28991 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28992 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28993
3553723f
L
28994 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28995 Define only if __x86_64__ is defined.
28996
4842e4fe
JM
289972012-06-01 Joseph Myers <joseph@codesourcery.com>
28998
c5bfe3d5
JM
28999 [BZ #14048]
29000 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29001 Use int64_t for variable i.
29002 * math/libm-test.inc (fmod_test): Add more tests.
29003
4842e4fe
JM
29004 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29005 z computation is not scheduled after fetestexcept.
29006 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29007 Use math_force_eval instead of asm to ensure calculation scheduled
29008 before exception test.
29009 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29010 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29011
efb73488
AJ
290122012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29013
29014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29015 computation is not scheduled after fetestexcept.
29016
29bcce7c
L
290172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29018
29019 [BZ #14117]
29020 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29021 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29022
73a68f94
AZ
290232012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29024
29025 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29026 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29027
67b6df78
L
290282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29029
edf2933a 29030 [BZ #14117]
ebc64a18
L
29031 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29032 <bits/wordsize.h>.
29033 (__WCHAR_MIN): Support __WORDSIZE == 64.
29034 (__WCHAR_MAX): Likewise.
29035
edf2933a
L
29036 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29037 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29038
57c6cf40
L
29039 [BZ #14183]
29040 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29041 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29042
67b6df78 29043 [BZ #14117]
8eb6281e
L
29044 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29045 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29046
aac639f4
L
29047 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29048 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29049
67b6df78
L
29050 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29051 Defined to 1 if __x86_64__ isn't defined.
29052 (_STAT_VER_LINUX_OLD): New.
29053 (st_atime): Remove duplicate.
29054 (st_mtime): Likewise.
29055 (st_ctime): Likewise.
29056
1c2cfe81
DM
290572012-05-31 David S. Miller <davem@davemloft.net>
29058
29059 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29060 entries.
29061
5be8418c
AS
290622012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29063
e7725326
AS
29064 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29065 gen-libm-test.pl.
29066
5be8418c
AS
29067 [BZ #14132]
29068 * elf/dl-reloc.c: Include <_itoa.h>.
29069 (_dl_reloc_bad_type): Remove use of INTUSE.
29070 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29071 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29072 * stdio-common/psiginfo.c (psiginfo): Likewise.
29073 * stdio-common/psignal.c (psignal): Likewise.
29074 * string/strsignal.c (strsignal): Likewise.
29075 * include/signal.h (_sys_siglist): Declare hidden proto.
29076 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29077 INTVARDEF with libc_hidden_data_def.
29078 * stdio-common/itoa-udigits.c: Likewise.
29079 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29080 (_itoa_lower_digits_internal): Remove declaration.
29081 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29082 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29083 (_sys_sigabbrev_internal): Remove aliases.
29084 (_sys_siglist): Define hidden alias.
29085
507352f1
MT
290862012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29087
29088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29089 bits/sysctl.h.
29090
42bbb1c3
L
290912012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29092
29093 [BZ #14117]
6bd784b6
L
29094 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29095 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29096
8bca20f0
L
29097 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29098 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29099 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29100 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29101 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29102 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29103
f9e890a9
L
29104 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29105 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29106 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29107
471101a1
L
29108 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29109 with __addr.
29110 (insw): Likewise.
29111 (insl): Likewise.
29112 (outsb): Likewise.
29113 (outsw): Likewise.
29114 (outsl): Likewise.
29115
6451c862
L
29116 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29117 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29118 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29119
a254b8c9
L
29120 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29121 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29122 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29123 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29124 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29125 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29126
b8dfdd92
L
29127 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29128 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29129
578cd270
L
29130 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29131 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29132
de662f5f
L
29133 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29134 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29135 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29136
25653439
L
29137 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29138 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29139 to ...
29140 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29141
6bad24a0
L
29142 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29143 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29144 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29145
42bbb1c3
L
29146 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29147 for x86-64.
29148 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29149
2d10d547
JM
291502012-05-31 Joseph Myers <joseph@codesourcery.com>
29151
29152 * math/math.h (M_El): Use two more decimal places.
29153 (M_LOG2El): Likewise.
29154 (M_LOG10El): Likewise.
29155 (M_LN2l): Likewise.
29156 (M_LN10l): Likewise.
29157 (M_PIl): Likewise.
29158 (M_PI_2l): Likewise.
29159 (M_PI_4l): Likewise.
29160 (M_1_PIl): Likewise.
29161 (M_2_PIl): Likewise.
29162 (M_2_SQRTPIl): Likewise.
29163 (M_SQRT2l): Likewise.
29164 (M_SQRT1_2l): Likewise.
29165
f230c29b
DM
291662012-05-31 David S. Miller <davem@davemloft.net>
29167
29168 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29169 values between float registers.
29170 * sysdeps/sparc/sparc64/memset.S: Likewise.
29171 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29172
fed806c3
MF
291732012-05-31 Mike Frysinger <vapier@gentoo.org>
29174
29175 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29176 -D_FORTIFY_SOURCE=1.
29177 (CPPFLAGS-tst-longjmp_chk.c): Define.
29178 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29179 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29180 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29181 CFLAGS-tst-wchar-h.c.
29182
30917259
MP
291832012-05-31 Marek Polacek <polacek@redhat.com>
29184
29185 [BZ #14132]
29186 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29187 __endmntent_internal): Remove declaration.
29188 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29189 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29190 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29191
1c58d5dc
DM
291922012-05-30 David S. Miller <davem@davemloft.net>
29193
29194 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29195 (___Q_simulate_exceptions): Use real FP ops rather than writing
29196 into the %fsr.
29197 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29198 Likewise.
29199
7dc00e0d
L
292002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29201
29202 [BZ #14117]
0bd53985
L
29203 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29204 * sysdeps/x86/bits/xtitypes.h: This.
29205
3a257e66
L
29206 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29207 * sysdeps/x86/bits/wordsize.h: This.
29208
62f62904
L
29209 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29210 * sysdeps/x86/bits/huge_vall.h: This.
29211
404fe9d9
L
29212 * sysdeps/i386/bits/select.h: Removed.
29213 * sysdeps/x86_64/bits/select.h: Renamed to ...
29214 * sysdeps/x86/bits/select.h: This.
29215
d48d0446
L
29216 * sysdeps/i386/bits/setjmp.h: Removed.
29217 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29218 * sysdeps/x86/bits/setjmp.h: This.
29219
7dc00e0d
L
29220 * sysdeps/i386/bits/mathdef.h: Removed.
29221 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29222 * sysdeps/x86/bits/mathdef.h: This.
29223
03277f8f
AS
292242012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29225
29226 [BZ #14132]
29227 * include/sys/socket.h (__connect_internal)
29228 (__libc_sa_len_internal): Remove declaration.
29229 (__connect, __libc_sa_len): Declare hidden_proto.
29230 (SA_LEN): Remove use of INTUSE.
29231 * socket/connect.c: Add libc_hidden_def.
29232 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29233 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29234 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29235 alias.
29236 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29237 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29238 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29239 of adding _internal alias.
29240
13764867
L
292412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29242
29243 [BZ #14117]
6bd97696
L
29244 * sysdeps/i386/bits/link.h: Removed.
29245 * sysdeps/i386/bits/linkmap.h: Likewise.
29246 * sysdeps/x86_64/bits/link.h: Renamed to ...
29247 * sysdeps/x86/bits/link.h: This.
29248 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29249 * sysdeps/x86/bits/linkmap.h: This.
29250
f726f0bb
L
29251 * sysdeps/i386/bits/endian.h: Removed.
29252 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29253 * sysdeps/x86/bits/endian.h: This.
29254
13764867
L
29255 * sysdeps/i386/bits/byteswap.h: Removed.
29256 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29257 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29258 * sysdeps/x86/bits/byteswap.h: This.
29259 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29260 * sysdeps/x86/bits/byteswap-16.h: This.
29261 * sysdeps/i386/Implies: Add x86.
29262 * sysdeps/x86_64/Implies: Likewise.
29263
ae251b0b
DM
292642012-05-30 David S. Miller <davem@davemloft.net>
29265
29266 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29267 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29268 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29269 (FP_TRAPPING_EXCEPTIONS): Define.
29270 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29271 (FP_TRAPPING_EXCEPTIONS): Define.
29272 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29273 subnormals only when inexact has been signalled or underflow
29274 exceptions are enabled.
29275 (_FP_PACK_CANONICAL): Likewise.
29276
d5c90867
L
292772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29278
29279 [BZ #14183]
29280 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29281 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29282
63f1549e
RH
292832012-05-30 Richard Henderson <rth@twiddle.net>
29284
8d8f2279
RH
29285 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29286 with #ifndef NOT_IN_libc.
29287
63f1549e
RH
29288 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29289 marked to avoid plt entry.
29290
0ab0291b
L
292912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29292
29293 [BZ #14112]
29294 * Makeconfig (default-abi): New macro.
29295 (abi-includes): Likewise.
29296 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29297 $(abi-$(default-abi)-lib-soname) for soname if defined.
29298 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29299 abi-variants.
29300 * Makefile (installed-stubs): Likewise.
29301 * include/stubs-biarch.h: Removed.
29302 * scripts/lib-names.awk: Only handle one library at a time.
29303 * scripts/soversions.awk: Remove WORDSIZE support.
29304 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29305 entries.
29306 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29307 Removed.
29308 (syscall-list-default-condition): Likewise.
29309 (syscall-list-default-condition): Likewise.
29310 (syscall-list-includes): Likewise.
29311 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29312 syscall-list-* with abi-*. Handle undefined abi-variants.
29313 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29314 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29315 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29316 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29317 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29318 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29319 Removed.
29320 (syscall-list-32-options): Likewise.
29321 (syscall-list-32-condition): Likewise.
29322 (syscall-list-64-options): Likewise.
29323 (syscall-list-64-condition): Likewise.
29324 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29325 macro.
29326 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29327 Renamed to ...
29328 (abi-*): This.
29329 (abi-64-ld-soname): New macro.
29330 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29331 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29332 Renamed to ...
29333 (abi-*): This.
29334 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29335 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29336
4da0431d
JM
293372012-05-30 Joseph Myers <joseph@codesourcery.com>
29338
3a85279c
JM
29339 * sysdeps/unix/sysv/linux/kernel-features.h
29340 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29341 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29342 include <kernel-features.h>.
29343 [!__NR_ftruncate64]: Remove conditional code.
29344 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29345 [__NR_ftruncate64]: Make code unconditional.
29346 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29347 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29348 include <kernel-features.h>.
29349 [!__NR_ftruncate64]: Remove conditional code.
29350 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29351 [__NR_ftruncate64]: Make code unconditional.
29352 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29354 include <kernel-features.h>.
29355 [!__NR_ftruncate64]: Remove conditional code.
29356 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29357 [__NR_ftruncate64]: Make code unconditional.
29358 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29360 include <kernel-features.h>.
29361 [!__NR_ftruncate64]: Remove conditional code.
29362 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29363 [__NR_ftruncate64]: Make code unconditional.
29364 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29365
4da0431d
JM
29366 * configure.in (libc_cv_fpie): Weaken to a compile test using
29367 LIBC_TRY_CC_OPTION.
29368 * configure: Regenerated.
29369
11ef492c
AK
293702012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29371
29372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29376 Refreshed.
29377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29383 Refreshed.
29384
d66ef399
DM
293852012-05-27 David S. Miller <davem@davemloft.net>
29386
29387 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29388 (___Q_zero): New.
29389 (__Q_simulate_exceptions): Return void. Change to simulate
29390 exceptions by writing into the %fsr.
29391 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29392 (__Qp_handle_exceptions): Likewise.
29393 (numbers): Delete.
29394 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29395 __Qp_handle_exceptions.
29396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29397 __Qp_handle_exceptions.
29398 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29399 as unused and give dummy FP_RND_NEAREST initializer.
29400 (FP_INHIBIT_RESULTS): Define.
29401 (___Q_simulate_exceptions): Update declaration.
29402 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29403 formatting.
29404 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29405 as unused and give dummy FP_RND_NEAREST initializer.
29406 (__Qp_handle_exceptions): Update declaration.
29407 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29408 formatting.
29409
04fb54b5
TS
294102012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29411
29412 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29413 the temporary FPU control word.
29414 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29415 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29416 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29417 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29418 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29419 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29420 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29421 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29422 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29423 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29424 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29425
3f99608f
KK
294262012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29427
29428 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29429 fields.
29430
65a4de4e
CLT
294312012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29432
29433 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29434 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29435 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29436 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29437 Likewise.
29438 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29439 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29440 Likewise.
29441
15749d40
UD
294422012-05-27 Ulrich Drepper <drepper@gmail.com>
29443
29444 * po/h.po: Update from translation team.
29445
25dbcb27
AS
294462012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29447
3d3f8e55
AS
29448 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29449
25dbcb27
AS
29450 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29451 handling of denormals.
29452 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29453 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29454 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29455 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29456 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29459 Likewise.
29460
7ad47a80 294612012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29462
29463 [BZ #14152]
29464 * math/libm-test.inc (fma_test): Don't always expect underflow
29465 exception.
29466
9c6ea9fa
SP
294672012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29468
29469 [BZ #12416]
29470 * elf/tst-execstack.c: Include stackinfo.h.
29471 (do_test): Adjust test case to ensure that pthread_getattr_np
29472 behaviour remains the same after marking stack executable.
29473
a8239222
JM
294742012-05-25 Joseph Myers <joseph@codesourcery.com>
29475
29476 * sysdeps/unix/sysv/linux/kernel-features.h
29477 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29478 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29479 kernel-features.h.
29480 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29481 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29482 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29483 kernel-features.h.
29484 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29485 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29486
918b5606
L
294872012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29488
29489 * configure.in: Define the default includes to being none.
29490 * configure: Regenerated.
29491
3a097cc7
RM
294922012-05-25 Roland McGrath <roland@hack.frob.com>
29493
8422c9a5
RM
29494 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29495 * sysdeps/x86_64/setjmp.S: Likewise.
29496 * sysdeps/i386/bsd-setjmp.S: Likewise.
29497 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29498 * sysdeps/i386/setjmp.S: Likewise.
29499 * sysdeps/i386/__longjmp.S: Likewise.
29500 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29501 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29502
3a097cc7
RM
29503 * include/stap-probe.h: New file.
29504 * configure.in: Handle --enable-systemtap.
29505 * configure: Regenerated.
29506 * config.h.in (USE_STAP_PROBE): New #undef.
29507 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29508 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29509 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29510
21708942
JM
295112012-05-25 Joseph Myers <joseph@codesourcery.com>
29512
29513 [BZ #13717]
29514 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29515 to 2.4.0 where earlier.
29516 * sysdeps/unix/sysv/linux/configure: Regenerated.
29517 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29518 <kernel-features.h>.
29519 [__ASSUME_32BITUIDS]: Make code unconditional.
29520 [!__ASSUME_32BITUIDS]: Remove conditional code.
29521 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29522 <kernel-features.h>.
29523 [__ASSUME_32BITUIDS]: Make code unconditional.
29524 [!__ASSUME_32BITUIDS]: Remove conditional code.
29525 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29526 [__ASSUME_32BITUIDS]: Make code unconditional.
29527 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29528 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29529 <kernel-features.h>.
29530 [__ASSUME_32BITUIDS]: Make code unconditional.
29531 [!__ASSUME_32BITUIDS]: Remove conditional code.
29532 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29533 <kernel-features.h>.
29534 [__ASSUME_32BITUIDS]: Make code unconditional.
29535 [!__ASSUME_32BITUIDS]: Remove conditional code.
29536 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29537 <kernel-features.h>.
29538 [__ASSUME_32BITUIDS]: Make code unconditional.
29539 [!__ASSUME_32BITUIDS]: Remove conditional code.
29540 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29541 <kernel-features.h>.
29542 [__ASSUME_32BITUIDS]: Make code unconditional.
29543 [!__ASSUME_32BITUIDS]: Remove conditional code.
29544 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29545 <kernel-features.h>.
29546 [__ASSUME_32BITUIDS]: Make code unconditional.
29547 [!__ASSUME_32BITUIDS]: Remove conditional code.
29548 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29549 <kernel-features.h>.
29550 [__ASSUME_32BITUIDS]: Make code unconditional.
29551 [!__ASSUME_32BITUIDS]: Remove conditional code.
29552 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29553 <kernel-features.h>.
29554 [__ASSUME_32BITUIDS]: Make code unconditional.
29555 [!__ASSUME_32BITUIDS]: Remove conditional code.
29556 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29557 <kernel-features.h>.
29558 [__ASSUME_32BITUIDS]: Make code unconditional.
29559 [!__ASSUME_32BITUIDS]: Remove conditional code.
29560 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29561 <kernel-features.h>.
29562 [__ASSUME_32BITUIDS]: Make code unconditional.
29563 [!__ASSUME_32BITUIDS]: Remove conditional code.
29564 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29565 <kernel-features.h>.
29566 [__ASSUME_32BITUIDS]: Make code unconditional.
29567 [!__ASSUME_32BITUIDS]: Remove conditional code.
29568 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29569 <kernel-features.h>.
29570 [__NR_setresgid] (__setresgid): Do not declare.
29571 [__ASSUME_32BITUIDS]: Make code unconditional.
29572 [!__ASSUME_32BITUIDS]: Remove conditional code.
29573 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29574 <kernel-features.h>.
29575 [__NR_setresuid] (__setresuid): Do not declare.
29576 [__ASSUME_32BITUIDS]: Make code unconditional.
29577 [!__ASSUME_32BITUIDS]: Remove conditional code.
29578 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29579 <kernel-features.h>.
29580 [__ASSUME_32BITUIDS]: Make code unconditional.
29581 [!__ASSUME_32BITUIDS]: Remove conditional code.
29582 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29583 <kernel-features.h>.
29584 [__ASSUME_32BITUIDS]: Make code unconditional.
29585 [!__ASSUME_32BITUIDS]: Remove conditional code.
29586 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29587 <kernel-features.h>.
29588 [__ASSUME_32BITUIDS]: Make code unconditional.
29589 [!__ASSUME_32BITUIDS]: Remove conditional code.
29590 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29591 <kernel-features.h>.
29592 [__ASSUME_32BITUIDS]: Make code unconditional.
29593 [!__ASSUME_32BITUIDS]: Remove conditional code.
29594 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29595 <kernel-features.h>.
29596 [__ASSUME_32BITUIDS]: Make code unconditional.
29597 [!__ASSUME_32BITUIDS]: Remove conditional code.
29598 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29599 <kernel-features.h>.
29600 [__ASSUME_32BITUIDS]: Make code unconditional.
29601 [!__ASSUME_32BITUIDS]: Remove conditional code.
29602 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29603 <kernel-features.h>.
29604 [__ASSUME_32BITUIDS]: Make code unconditional.
29605 [!__ASSUME_32BITUIDS]: Remove conditional code.
29606 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29607 <kernel-features.h>.
29608 [__ASSUME_32BITUIDS]: Make code unconditional.
29609 [!__ASSUME_32BITUIDS]: Remove conditional code.
29610 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29611 <kernel-features.h>.
29612 [__ASSUME_32BITUIDS]: Make code unconditional.
29613 [!__ASSUME_32BITUIDS]: Remove conditional code.
29614 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29615 <kernel-features.h>.
29616 [__ASSUME_32BITUIDS]: Make code unconditional.
29617 [!__ASSUME_32BITUIDS]: Remove conditional code.
29618 * sysdeps/unix/sysv/linux/kernel-features.h
29619 (__ASSUME_SETRESUID_SYSCALL): Remove.
29620 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29621 (__ASSUME_32BITUIDS): Likewise.
29622 (__ASSUME_LDT_WORKS): Likewise.
29623 (__ASSUME_O_DIRECTORY): Likewise.
29624 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29625 architecture but not kernel version.
29626 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29627 (__ASSUME_MMAP2_SYSCALL): Likewise.
29628 (__ASSUME_STAT64_SYSCALL): Likewise.
29629 (__ASSUME_IPC64): Likewise.
29630 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29631 <kernel-features.h>.
29632 [__ASSUME_32BITUIDS]: Make code unconditional.
29633 [!__ASSUME_32BITUIDS]: Remove conditional code.
29634 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29635 <kernel-features.h>.
29636 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29637 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29638 132096]: Remove conditional code.
29639 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29640 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29641 <kernel-features.h>.
29642 [__ASSUME_32BITUIDS]: Make code unconditional.
29643 [!__ASSUME_32BITUIDS]: Remove conditional code.
29644 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29645 <kernel-features.h>.
29646 [__ASSUME_32BITUIDS]: Make code unconditional.
29647 [!__ASSUME_32BITUIDS]: Remove conditional code.
29648 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29649 <kernel-features.h>.
29650 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29651 unconditional.
29652 (__setresgid): Do not declare.
29653 [__ASSUME_32BITUIDS]: Make code unconditional.
29654 [!__ASSUME_32BITUIDS]: Remove conditional code.
29655 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29656 <kernel-features.h>.
29657 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29658 unconditional.
29659 (__setresuid): Do not declare.
29660 [__ASSUME_32BITUIDS]: Make code unconditional.
29661 [!__ASSUME_32BITUIDS]: Remove conditional code.
29662 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29663 <kernel-features.h>.
29664 [__ASSUME_32BITUIDS]: Make code unconditional.
29665 [!__ASSUME_32BITUIDS]: Remove conditional code.
29666 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29667 <kernel-features.h>.
29668 [__ASSUME_32BITUIDS]: Make code unconditional.
29669 [!__ASSUME_32BITUIDS]: Remove conditional code.
29670
a386f1cc
RH
296712012-05-25 Richard Henderson <rth@twiddle.net>
29672
29673 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29674 dl_hwcap to ifunc resolver.
29675 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29676 elf_ifunc_invoke.
29677 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29678 dl_hwcap to ifunc resolver.
29679 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29680
b6550497
JM
296812012-05-24 Joseph Myers <joseph@codesourcery.com>
29682
29683 [BZ #14153]
29684 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29685 for |x| <= 2**-26, not 2**-57.
29686 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29687 exception.
29688
b0bc23a1
JL
296892012-05-24 Jeff Law <law@redhat.com>
29690
29691 * stdio-common/Makefile (tests): Add bug25.
29692 * stdio-common/bug25.c: New test.
29693
347c92e9
L
296942012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29695
29696 [BZ #13576]
29697 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29698 multiple of MALLOC_ALIGNMENT in size.
29699 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29700
6bcc8b3f
JM
297012012-05-24 Joseph Myers <joseph@codesourcery.com>
29702
29703 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29704 Require >= 256.
29705 (FILENAME_MAX): Use macro-int-constant.
29706 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29707 (_IOFBF): Use macro-int-constant.
29708 (_IOLBF): Likewise.
29709 (_IONBF): Likewise.
29710 (SEEK_CUR): Likewise.
29711 (SEEK_END): Likewise.
29712 (SEEK_SET): Likewise.
29713 (TMP_MAX): Likewise.
29714 (EOF): Use macro-int-constant. Require < 0.
29715 (NULL): Use macro-constant. Require == 0.
29716 (stdin): Require type to be FILE *.
29717 (stdout): Likewise.
29718 (stderr): Likewise.
29719 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29720 macro-int-constant.
29721 (EXIT_SUCCESS): Likewise.
29722 (NULL): Use macro-constant. Require == 0.
29723 (RAND_MAX): Use macro-int-constant.
29724 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29725 [C99-based standards] (strtof): Require function.
29726 [C99-based standards] (strtold): Likewise.
29727 [C99-based standards] (strtoll): Likewise.
29728 [C99-based standards] (strtoull): Likewise.
29729 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29730 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29731 [ISO || ISO99 || ISO11] (math.h): Likewise.
29732 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29733 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29734 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29735
d18ea0c5
AS
297362012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29737
29738 [BZ #14132]
56d25bb8
AS
29739 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29740 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29741 * intl/dgettext.c (DCGETTEXT): Likewise.
29742 * intl/gettext.c (DCGETTEXT): Likewise.
29743 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29744 * posix/regex_internal.h (gettext): Likewise.
29745 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29746 Remove declaration.
29747 * include/argz.h (__argz_count_internal)
29748 (__argz_stringify_internal): Remove declaration.
29749 (__argz_count, __argz_stringify): Declare hidden proto.
29750 * intl/dcgettext.c: Remove use of INTDEF.
29751 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29752 * string/argz-stringify.c: Likewise.
29753 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29754 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29755 Declare hidden proto.
d18ea0c5
AS
29756 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29757 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29758 Declare hidden proto.
29759 * include/stdio.h (__asprintf_internal): Don't declare.
29760 (__asprintf): Don't define as macro. Declare hidden proto.
29761 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29762 (__fsetlocking): Declare hidden proto.
29763 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29764 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29765 hidden proto.
29766 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29767 (_IO_setlinebuf): Remove use of INTUSE.
29768 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29769 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29770 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29771 Remove declaration.
29772 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29773 (_IO_do_flush): Remove use of INTUSE.
29774 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29775 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29776 (_IO_adjust_column, _IO_least_wmarker)
29777 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29778 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29779 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29780 (_IO_default_doallocate, _IO_wdefault_doallocate)
29781 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29782 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29783 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29784 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29785 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29786 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29787 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29788 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29789 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29790 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29791 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29792 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29793 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29794 proto.
29795 (_IO_flush_all_internal, _IO_adjust_column_internal)
29796 (_IO_default_uflow_internal, _IO_default_finish_internal)
29797 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29798 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29799 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29800 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29801 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29802 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29803 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29804 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29805 (_IO_file_close_internal, _IO_file_close_it_internal)
29806 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29807 (_IO_file_init_internal, _IO_file_attach_internal)
29808 (_IO_file_fopen_internal, _IO_file_read_internal)
29809 (_IO_file_sync_internal, _IO_file_seek_internal)
29810 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29811 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29812 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29813 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29814 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29815 (_IO_list_all_internal, _IO_link_in_internal)
29816 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29817 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29818 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29819 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29820 (_IO_do_write_internal, _IO_padn_internal)
29821 (_IO_getline_info_internal, _IO_getline_internal)
29822 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29823 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29824 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29825 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29826 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29827 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29828 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29829 with libc_hidden_ver, remove use of INTUSE.
29830 * libio/genops.c: Likewise.
29831 * libio/freopen.c: Likewise.
29832 * libio/freopen64.c: Likewise.
29833 * libio/iofclose.c: Likewise.
29834 * libio/iofdopen.c: Likewise.
29835 * libio/iofflush.c: Likewise.
29836 * libio/iofflush_u.c: Likewise.
29837 * libio/iofgets.c: Likewise.
29838 * libio/iofgets_u.c: Likewise.
29839 * libio/iofopen.c: Likewise.
29840 * libio/iofopncook.c: Likewise.
29841 * libio/iofread.c: Likewise.
29842 * libio/iofread_u.c: Likewise.
29843 * libio/ioftell.c: Likewise.
29844 * libio/iofwrite.c: Likewise.
29845 * libio/iogetline.c: Likewise.
29846 * libio/iogets.c: Likewise.
29847 * libio/iogetwline.c: Likewise.
29848 * libio/iopadn.c: Likewise.
29849 * libio/iopopen.c: Likewise.
29850 * libio/ioseekoff.c: Likewise.
29851 * libio/ioseekpos.c: Likewise.
29852 * libio/iosetbuffer.c: Likewise.
29853 * libio/iosetvbuf.c: Likewise.
29854 * libio/ioungetc.c: Likewise.
29855 * libio/ioungetwc.c: Likewise.
29856 * libio/iovdprintf.c: Likewise.
29857 * libio/iovsprintf.c: Likewise.
29858 * libio/iovsscanf.c: Likewise.
29859 * libio/memstream.c: Likewise.
29860 * libio/obprintf.c: Likewise.
29861 * libio/oldfileops.c: Likewise.
29862 * libio/oldiofclose.c: Likewise.
29863 * libio/oldiofdopen.c: Likewise.
29864 * libio/oldiofopen.c: Likewise.
29865 * libio/oldiopopen.c: Likewise.
29866 * libio/oldstdfiles.c: Likewise.
29867 * libio/putc.c: Likewise.
29868 * libio/setbuf.c: Likewise.
29869 * libio/setlinebuf.c: Likewise.
29870 * libio/stdfiles.c: Likewise.
29871 * libio/strops.c: Likewise.
29872 * libio/vasprintf.c: Likewise.
29873 * libio/vscanf.c: Likewise.
29874 * libio/vsnprintf.c: Likewise.
29875 * libio/vswprintf.c: Likewise.
29876 * libio/wfiledoalloc.c: Likewise.
29877 * libio/wfileops.c: Likewise.
29878 * libio/wgenops.c: Likewise.
29879 * libio/wmemstream.c: Likewise.
29880 * libio/wstrops.c: Likewise.
29881 * libio/__fpurge.c: Likewise.
29882 * libio/__fsetlocking.c: Likewise.
29883 * assert/assert.c: Likewise.
29884 * debug/fgets_chk.c: Likewise.
29885 * debug/fgets_u_chk.c: Likewise.
29886 * debug/fread_chk.c: Likewise.
29887 * debug/fread_u_chk.c: Likewise.
29888 * debug/gets_chk.c: Likewise.
29889 * debug/obprintf_chk.c: Likewise.
29890 * debug/vasprintf_chk.c: Likewise.
29891 * debug/vdprintf_chk.c: Likewise.
29892 * debug/vsnprintf_chk.c: Likewise.
29893 * debug/vsprintf_chk.c: Likewise.
29894 * malloc/mtrace.c: Likewise.
29895 * misc/error.c: Likewise.
29896 * misc/syslog.c: Likewise.
29897 * stdio-common/asprintf.c: Likewise.
29898 * stdio-common/fxprintf.c: Likewise.
29899 * stdio-common/getw.c: Likewise.
29900 * stdio-common/isoc99_fscanf.c: Likewise.
29901 * stdio-common/isoc99_scanf.c: Likewise.
29902 * stdio-common/isoc99_vfscanf.c: Likewise.
29903 * stdio-common/isoc99_vscanf.c: Likewise.
29904 * stdio-common/isoc99_vsscanf.c: Likewise.
29905 * stdio-common/printf-prs.c: Likewise.
29906 * stdio-common/printf_fp.c: Likewise.
29907 * stdio-common/printf_fphex.c: Likewise.
29908 * stdio-common/printf_size.c: Likewise.
29909 * stdio-common/putw.c: Likewise.
29910 * stdio-common/scanf.c: Likewise.
29911 * stdio-common/sprintf.c: Likewise.
29912 * stdio-common/tmpfile.c: Likewise.
29913 * stdio-common/vfprintf.c: Likewise.
29914 * stdio-common/vfscanf.c: Likewise.
29915 * stdlib/strfmon_l.c: Likewise.
29916 * sunrpc/openchild.c: Likewise.
29917 * sunrpc/xdr_stdio.c: Likewise.
29918 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29919 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29920
d6c33fda
RM
299212012-05-24 Roland McGrath <roland@hack.frob.com>
29922
c1487492
RM
29923 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29924
29925 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29926 in the third column, to generate for the shared library an IFUNC
29927 that uses _dl_vdso_vsym.
29928 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29929 * Makeconfig (object-suffixes-noshared): New variable.
29930
29931 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29932 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29933 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29934 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29935
d6c33fda
RM
29936 [BZ #14132]
29937 * include/sys/time.h (__gettimeofday): Remove macro.
29938 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29939 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29940 Remove INTDEF.
29941 (__gettimeofday): Add libc_hidden_def.
29942 (gettimeofday): Add libc_hidden_weak.
29943 * sysdeps/mach/gettimeofday.c: Likewise.
29944 * sysdeps/posix/gettimeofday.c: Likewise.
29945 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29946 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29947 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29948 (__gettimeofday_internal): Remove strong_alias.
29949 (__gettimeofday): Add libc_hidden_def.
29950 (gettimeofday): Add libc_hidden_weak.
29951 * sysdeps/unix/syscalls.list (gettimeofday):
29952 Remove __gettimeofday_internal alias.
29953
b5a2bbe6
L
299542012-05-24 Daniel Jacobowitz <drow@false.org>
29955 H.J. Lu <hongjiu.lu@intel.com>
29956
29957 [BZ #12495]
29958 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29959 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29960 (largebin_index_32_big): New.
29961 (largebin_index): Use it for 16-byte alignment.
29962 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29963 correction with front_misalign.
29964
cfba4fda
L
299652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29966
7f907421
L
29967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29969 Likewise.
29970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29971 Likewise.
29972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29973 Likewise.
29974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29975 Likewise.
29976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29977 Likewise.
29978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29979 Likewise.
29980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29981 Likewise.
29982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29983 Likewise.
29984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29985 Likewise.
29986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29987 Likewise.
29988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29989 Likewise.
29990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29991 Likewise.
29992
cfba4fda
L
29993 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29994 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29995
80bad0cc
JM
299962012-05-24 Joseph Myers <joseph@codesourcery.com>
29997
7a25eb06
JM
29998 [BZ #10846]
29999 [BZ #14036]
30000 * math/libm-test.inc (exp_test): Add test from bug 14036.
30001 (pow_test): Add test from bug 10846.
30002
795405f9
JM
30003 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30004 and other flags.
30005 (special_function): Do not include flags in test name.
30006 (parse_args): Likewise.
30007 * sysdeps/i386/fpu/libm-test-ulps: Update.
30008 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30009 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30010 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30012
80bad0cc
JM
30013 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30014 exceptions.
30015 * math/libm-test.inc ("Philosophy"): Update comment about
30016 exception testing.
30017 (UNDERFLOW_EXCEPTION): New macro.
30018 (UNDERFLOW_EXCEPTION_OK): Likewise.
30019 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30020 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30021 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30022 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30023 (INVALID_EXCEPTION_OK): Update value.
30024 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30025 (OVERFLOW_EXCEPTION_OK): Likewise.
30026 (IGNORE_ZERO_INF_SIGN): Likewise.
30027 (test_exceptions): Handle underflow exceptions.
30028 (acos_test): Update for underflow exception expectations.
30029 (cexp_test): Likewise.
30030 (clog_test): Likewise.
30031 (clog10_test): Likewise.
30032 (csqrt_test): Likewise.
30033 (ctan_test): Likewise.
30034 (ctanh_test): Likewise.
30035 (exp_test): Likewise.
30036 (exp10_test): Likewise.
30037 (exp2_test): Likewise.
30038 (expm1_test): Likewise.
30039 (fma_test): Likewise.
30040 (j0_test): Likewise.
30041 (jn_test): Likewise.
30042 (nexttoward_test): Likewise.
30043 (pow_test): Likewise.
30044 (scalbn_test): Likewise.
30045 (scalbln_test): Likewise.
30046 (tan_test): Likewise.
30047 (y1_test): Likewise.
30048 * sysdeps/i386/fpu/libm-test-ulps: Update.
30049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30050
9e0e3d0b
DM
300512012-05-23 David S. Miller <davem@davemloft.net>
30052
30053 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30054 (__libc_sigaction): Remove unused local variables.
30055
ccd0a08f
L
300562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30057
30058 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30059
62bdf9a6
PE
300602012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30061
f8591f80
PE
30062 mktime: avoid signed integer overflow
30063 * time/mktime.c (__mktime_internal): Do not mishandle the case
30064 where diff == INT_MIN.
30065
94c7d826
PE
30066 mktime: simplify computation of average
30067 * time/mktime.c (ranged_convert): Use new time_t_avg function
30068 instead of rolling our own (probably-slower) code.
30069
ce73d683
PE
30070 mktime: do not assume signed right shift propagates sign bit
30071 * time/mktime.c (isdst_differ): New static function.
30072 (__mktime_internal): No need to normalize tm_isdst now.
30073 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30074 tm_isdst values.
30075
72a22e59
PE
30076 mktime: merge another wrapv change from gnulib
30077 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30078 from some compilers.
30079
68605433
PE
30080 mktime: remove incorrect attempt at unusual arithmetics
30081 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30082 The code didn't really work on such machines anyway.
30083 (TYPE_MINIMUM): Assume two's complement.
30084 (twos_complement_arithmetic): Verify that long_int and time_t
30085 are two's complement (or unsigned, in the latter case).
30086
03cf7fe3
PE
30087 mktime: check signed shifts on long_int and time_t, too
30088 * time/mktime.c (SHR): Check that shifts work as desired
30089 on the types long_int and time_t too, as SHR is used on
30090 such types.
30091
f04dfbc2
PE
30092 mktime: do not assume 'long' is wide enough
30093 * time/mktime.c (verify): Move decl up.
30094 (long_int): New type.
30095 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30096 to remove assumption in the code that 'long' is wide enough to
30097 store year values. This assumption is not true on x32 and on
30098 some non-glibc platforms.
30099
62bdf9a6
PE
30100 mktime: merge wrapv change from gnulib
30101 * time/mktime.c (WRAPV): New macro.
30102 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30103 (guess_time_tm, __mktime_internal): Do not assume that signed
30104 integer overflow wraps around; modern compilers generate code
30105 where this assumption is no longer valid.
30106
5e292e4f
L
301072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30108
30109 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30110 Replace "jmp L(pseudo_end)" with "ret".
30111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30112 Likewise.
30113
8caf8c87
AJ
301142012-05-23 Andreas Jaeger <aj@suse.de>
30115
30116 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30117 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30118
1a09dc56
AJ
301192012-05-23 Andreas Jaeger <aj@suse.de>
30120 Maximilian Attems <max@stro.at>
30121
30122 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30123 New macros.
30124
1c87aba0
L
301252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30126
30127 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30128 code so that pseudo_end is just ret and the stack pointer is
30129 correct also for static library in error case.
30130
40e45bd5
JM
301312012-05-23 Joseph Myers <joseph@codesourcery.com>
30132
c2670533
JM
30133 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30134 move to syscalls.list.
30135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30139
40e45bd5
JM
30140 * manual/install.texi (Running make install): Do not mention Linux
30141 kernel version for which pt_chown is not needed.
30142 (Linux): Do not mention problems with nscd with 2.0 kernels.
30143 * INSTALL: Regenerated.
30144
be08eda5
AJ
301452012-05-23 Andreas Jaeger <aj@suse.de>
30146
30147 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30148 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30149 macro.
30150 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30151 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30152 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30153 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30154 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30155 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30156 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30157 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30158 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30159 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30160 * sysdeps/unix/sysv/linux/bits/in.h
30161 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30162
a6a056bb
RM
301632012-05-22 Roland McGrath <roland@hack.frob.com>
30164
30165 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30166 (PREPARE_VERSION): Just use assert instead, it will be elided
30167 under [NDEBUG] anyway.
30168
c9009328
L
301692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30170
30171 * sysdeps/unix/sysv/linux/Makefile: Include
30172 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 30173 (sysdep_routines): Remove sysctl.
c9009328
L
30174 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30175 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30176 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30177 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30178 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30179
73338355
AJ
301802012-05-22 Andreas Jaeger <aj@suse.de>
30181
30182 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30183 that pseudo_end is just ret and the stack pointer is correct also
30184 for static library in error case.
30185
d44638b0
PP
301862012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30187
30188 [BZ #14122]
30189 * nss/nsswitch.c (defconfig_entries): New variable.
30190 (__nss_database_lookup): Don't leak defconfig entries.
30191 (nss_parse_service_list): Don't leak on error paths.
30192 (free_database_entries): New function.
30193 (free_defconfig): New function.
30194 (free_mem): Move common code to free_database_entries.
30195
31a39bd8
L
301962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30197
da0331a8
L
30198 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30199 Add arch_prctl.
30200 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30201
31a39bd8
L
30202 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30203 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30205 New macro.
30206 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30207 (INTERNAL_SYSCALL_TYPES): Likewise.
30208 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30209 (LOAD_REGS_TYPES_[1-6]): Likewise.
30210 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30211 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30212
45470df3
AZ
302132012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30214
30215 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30216 copysignl for GLIBC_2_0.
30217 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30218 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30219 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30220 logbl for GLIBC_2_0.
30221 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30222 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30223
98a61bcb
L
302242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30225
a4f6e481
L
30226 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30227 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30228
f63d5db6
L
30229 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30230 Use "neg %eax".
30231
98a61bcb
L
30232 * time/mktime.c: Update copyright years.
30233
95770f14
PE
302342012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30235
6226efbd
PE
30236 mktime: merge comment-quoting-style change from gnulib
30237 * time/mktime.c: Quote 'like this' in comments.
30238 The GNU coding standards suggest that we no longer quote `like this',
30239 as "`" and "'" are typically rendered asymmetrically nowadays.
30240 The typical gnulib style is to quote 'like this' when quoting
30241 code, and "like this" when quoting English.
30242
b99e4f78
PE
30243 * time/mktime.c (compile-command): Add "-I.".
30244
643e01e6
PE
30245 mktime: merge mktime-internal.h change from gnulib
30246 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30247
2554247d
PE
30248 mktime: merge time_r change from gnulib
30249 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30250
826dd0ab
PE
30251 mktime: merge DEBUG change from gnulib
30252 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30253 case system <time.h> has a #define.
30254
bd83aabe
PE
30255 mktime: merge <sys/types.h> change from gnulib
30256 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30257 since <time.t> is now guaranteed to define time_t.
30258
95770f14
PE
30259 mktime: merge HAVE_CONFIG_H change from gnulib
30260 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30261
5e1a27a9
L
302622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30263
0e44a77e
L
30264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30265 Use "neg %eax".
30266
5e1a27a9
L
30267 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30268 __rlim_t cast.
30269 (struct rusage): Use anonymous union to pad each field to
30270 __syscall_slong_t.
30271
46259bec
DM
302722012-05-21 David S. Miller <davem@davemloft.net>
30273
30274 * Makefules (o-iterator): Remove .s cases.
30275 (compile-command.s): Delete.
30276 (COMPILE.s): Delete.
30277 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30278
59f0c22e
JM
302792012-05-21 Joseph Myers <joseph@codesourcery.com>
30280
30281 * configure.in (libc_cv_predef_stack_protector): Only consider
30282 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30283 * configure: Regenerated.
30284
20c07380
L
302852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30286
bbb3154b
L
30287 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30288 New macro. Use R*LP on int and pointer.
30289 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
30290 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30291 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
30292 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30293
20c07380
L
30294 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30295 [__WORDSIZE_TIME64_COMPAT32] instead of
30296 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30297 (struct utmp): Likewise.
30298 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30299 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30300 Renamed to ...
30301 (__WORDSIZE_TIME64_COMPAT32): This.
30302 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30303 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30304 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30305 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30306 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30307 (__WORDSIZE_TIME64_COMPAT32): New macro.
30308
d8d1017e
AJ
303092012-05-21 Andreas Jaeger <aj@suse.de>
30310
30311 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30312 only if [SHARED]. Add prototype for __wcschr_ia32.
30313
6c7fb145
RM
303142012-05-21 Roland McGrath <roland@hack.frob.com>
30315
30316 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30317 of %rbp unmolested in the jmp_buf while mangling the low bits.
30318 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30319 unmolested high bits of %rbp while demangling the low bits.
30320 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30321
66274218
AJ
303222012-05-21 Andreas Jaeger <aj@suse.de>
30323
07c58f8f
AJ
30324 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30325 * sunrpc/svc_simple.c: Use it for registerrpc.
30326 * sunrpc/xcrypt.c: Use it for passwd2des.
30327
66274218
AJ
30328 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30329
61f65140
L
303302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30331
30332 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30333 Don't define if [__SYSCALL_WORDSIZE != 32].
30334 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30335 New macro.
30336
5fefb436
AJ
303372012-05-21 Bruno Haible <bruno@clisp.org>
30338 Andreas Jaeger <aj@suse.de>
30339
30340 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30341 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30342 inptr and inend for must_buffer_ch.
30343 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30344 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30345 * stdio-common/Makefile (tests): Remove bug15.
30346 (bug15-ENV): Remove macro.
30347 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30348 anymore.
30349
d8e272ab
AJ
303502012-05-19 Andreas Jaeger <aj@suse.de>
30351 Roland McGrath <roland@hack.frob.com>
30352
30353 * manual/contrib.texi: Completely rewritten. It contains now an
30354 alphabetical list of contributors and their contributions.
30355
4a56a162
RH
303562012-05-21 Richard Henderson <rth@twiddle.net>
30357
30358 * misc/getauxval.c (__getauxval): Use unsigned long int.
30359 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30360 (getauxval): Use unsigned long int.
30361
d024d23c
L
303622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30363
30364 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30365
cbc00a03
RM
303662012-05-21 Roland McGrath <roland@hack.frob.com>
30367
30368 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30369 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30370 __alignof__ (long double).
30371
478143fa
AZ
303722012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30373
30374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30375
c7683a6d
RH
303762012-05-20 Richard Henderson <rth@twiddle.net>
30377
30378 * misc/getauxval.c: New file.
30379 * misc/sys/auxv.h: New file.
30380 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30381 (routines): Add getauxval.
30382 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30383 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30384 * elf/dl-sysdep.c (_dl_auxv): Remove.
30385 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30386 * elf/dl-support.c (_dl_auxv): New variable.
30387 (_dl_aux_init): Initialize it.
30388 * manual/startup.texi (Auxiliary Vector): New node.
30389 * sysdeps/generic/bits/hwcap.h: New file.
30390 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30391 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30392 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30393 * sysdeps/sparc/sysdep.h: ... here. Include it.
30394 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30395 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
30396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30397 Update.
c7683a6d
RH
30398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30401 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30406
a6f1845d
AZ
304072012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30408
30409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30410
cbcbe830
DM
304112012-05-19 David S. Miller <davem@davemloft.net>
30412
30413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30414
e0b16cc2
JM
304152012-05-19 Joseph Myers <joseph@codesourcery.com>
30416
30417 [BZ #14123]
30418 * math/s_ccosh.c: Include <float.h>
30419 (__ccosh): Avoid internal overflow calculating sinh and cosh
30420 values before multiplying by sin and cos values.
30421 * math/s_ccoshf.c: Likewise.
30422 * math/s_ccoshl.c: Likewise.
30423 * math/s_csin.c: Likewise.
30424 * math/s_csinf.c: Likewise.
30425 * math/s_csinl.c: Likewise.
30426 * math/s_csinh.c: Likewise.
30427 * math/s_csinhf.c: Likewise.
30428 * math/s_csinhl.c: Likewise.
30429 * math/libm-test.inc (ccos_test): Add more tests.
30430 (ccosh_test): Likewise.
30431 (csin_test): Likewise.
30432 (csinh_test): Likewise.
30433 * sysdeps/i386/fpu/libm-test-ulps: Update.
30434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30435
6ad13e08
L
304362012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30437
f66f0ce8
L
30438 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30439 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30440
6ad13e08
L
30441 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30442
b1d072a7
JM
304432012-05-19 Joseph Myers <joseph@codesourcery.com>
30444
30445 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30446 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30447 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30448 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30449 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30450 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30451 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30452 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30453 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30454 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30455 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30456 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30457 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30458 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30459 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30460 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30461 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30462 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30463 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30464 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30465 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30466 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30467 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30468 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30469 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30470 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30471 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30472 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30473 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30474 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30475 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30476
9eae47cb
AJ
304772012-05-18 Andreas Jaeger <aj@suse.de>
30478
30479 * csu/.gitignore: Delete.
30480
bb07f69f
L
304812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30482
30483 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30484 (timex): Use __syscall_slong_t.
30485
e6bdb741
AJ
304862012-05-18 Andreas Jaeger <aj@suse.de>
30487 Carlos O'Donell <carlos_odonell@mentor.com>
30488
30489 * manual/install.texi (Configuring and compiling): Update
30490 description about files modified in the source directory.
d6c33fda 30491 * INSTALL: Regenerated.
e6bdb741 30492
1b74487e
L
304932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30494
30495 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30496 value. Use "or" to set return value to -1.
30497 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30498 negate return value.
30499
a88b64b9
TMQMF
305002012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30501
57f41c40
AS
30502 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30503 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
30504 failure if the compiler has Graphite support disabled.
30505 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30506 Likewise.
57f41c40
AS
30507 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30508 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
30509 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30510 Likewise.
30511
3707636e
L
305122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30513
610b8622
L
30514 * sysdeps/x86_64/x32/_itoa.h: New file.
30515
7cd195df
L
30516 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30517 getdents system call only if kernel and user dirents have the
30518 same d_ino and d_off.
30519
94b07d20
L
30520 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30521 LLONG_MAX != LONG_MAX.
30522 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30523 (_fitoa_word): Likewise.
30524
18298070
L
30525 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30526 years.
30527 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30528 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30529 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30530
553c7ea4
L
30531 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30532 include <bits/wordsize.h>. Check __x86_64__ instead of
30533 __WORDSIZE.
30534 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30535 if __x86_64__ is defined. Use anonymous union on fpstate.
30536
3707636e
L
30537 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30538 anonymous union.
30539
b53ef01a
AS
305402012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30541
37fb1dc0
AS
30542 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30543 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30544 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30545 Refer to _rtld_local_ro instead of _rtld_global_ro.
30546 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30547 Likewise.
30548 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30549 Likewise.
30550 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30551 Likewise.
30552 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30553 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30554 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30555
b53ef01a
AS
30556 * sysdeps/powerpc/powerpc32/dl-machine.c
30557 (__elf_machine_runtime_setup) [PROF]: Don't reference
30558 _dl_prof_resolve.
30559
7a185db2
AJ
305602012-05-18 Andreas Jaeger <aj@suse.de>
30561
30562 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30563 function only available for GCCs before 3.4 since GCC 3.4
30564 introduced a builtin.
30565 (lrint): Likewise.
30566 (llrintf): Likewise.
30567 (llrint): Likewise.
30568 (fmaxf): Likewise.
30569 (fmax): Likewise.
30570 (fminf): Likewise.
30571 (fmin): Likewise.
30572 (rint): Likewise.
30573 (rintf): Likewise.
30574 (nearbyint): Likewise.
30575 (nearbyintf): Likewise.
30576 (ceil): Likewise.
30577 (ceilf): Likewise.
30578 (floor): Likewise.
30579 (floorf): Likewise.
30580
3e5aef87
L
305812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30582
428bd707
L
30583 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30584 on both fields and cast pointer to __syscall_ulong_t.
30585
3e5aef87
L
30586 * bits/types.h (__fsword_t): New type.
30587 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30588 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30589 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30590 (__FSWORD_T_TYPE): Likewise.
30591 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30592 (__FSWORD_T_TYPE): Likewise.
30593 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30594 (__FSWORD_T_TYPE): Likewise.
30595 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30596 (__FSWORD_T_TYPE): Likewise.
30597 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30598 __SWORD_TYPE with __fsword_t.
30599 (statfs64): Likewise.
30600
1ba7c3dc
DM
306012012-05-17 David S. Miller <davem@davemloft.net>
30602
30603 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30604
59910343
AJ
306052012-05-17 Andreas Jaeger <aj@suse.de>
30606
30607 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30608 warning.
30609
2e4c1e9e
L
306102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30611
30612 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30613
de7f5ce7
AJ
306142012-05-17 Andreas Jaeger <aj@suse.de>
30615
30616 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30617 when it is used.
30618
286abc3d
CM
306192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30620
30621 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30622
477cc68e
L
306232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30624
30625 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30626 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30627
1a0994f5
CD
306282012-05-17 Andreas Jaeger <aj@suse.de>
30629 Carlos O'Donell <carlos_odonell@mentor.com>
30630
30631 [BZ #14059]
30632 * sysdeps/x86_64/multiarch/init-arch.h
30633 (bit_YMM_Usable): Rename to...
30634 (bit_AVX_Usable): ... this.
30635 (bit_FMA4_Usable): New macro.
30636 (bit_XMM_state): New macro.
30637 (bit_YMM_state): New macro.
30638 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30639 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30640 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30641 (CPUID_OSXSAVE): New macro.
30642 (CPUID_AVX): New macro.
30643 (CPUID_FMA4): New macro.
30644 (index_YMM_Usable): Rename to...
30645 (index_AVX_Usable): ... this.
30646 (HAS_AVX): Use HAS_ARCH_FEATURE.
30647 (HAS_FMA4): Likewise.
30648 (HAS_YMM_USABLE): Remove.
30649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30650 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30651 are present.
30652 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30653 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30654 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30655 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30656 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30657
0af797de
CM
306582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30659
30660 * math/libm-test.c: Support platforms without multiple rounding modes.
30661 * math/bug-nextafter.c: Support platforms without FP exceptions.
30662 * math/bug-nexttoward.c: Likewise.
30663 * math/test-fenv.c: Likewise.
30664 * math/test-misc.c: Likewise.
30665 * stdlib/bug-getcontext.c: Likewise.
30666
e39745ff
AJ
306672012-05-17 Andreas Jaeger <aj@suse.de>
30668
30669 * manual/examples/search.c (critter_cmp): Change signature to
30670 avoid warnings.
30671 * manual/string.texi (Collation Functions): Likewise.
30672
48970aba
L
306732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30674
30675 * bits/types.h: Fold copyright years.
30676 * bits/typesizes.h: Likewise.
30677 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30678 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30680 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30681 * time/time.h: Likewise.
30682
bedee953
PP
306832012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30684
30685 [BZ #208]
30686 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30687 in instead of returning them. Return void.
30688 (__libc_mallinfo): Accumulate over all arenas.
30689 (__malloc_stats): Adjust for change in int_mallinfo interface.
30690
61653dfb
RM
306912012-05-16 Roland McGrath <roland@hack.frob.com>
30692
30b99d79
RM
30693 [BZ #10375]
30694 * configure.in (NM): Add AC_CHECK_TOOL for it.
30695 (libc_extra_cflags): New substituted variable.
30696 Check for -fstack-protector being used implicitly.
30697 * configure: Regenerated.
30698 * config.make.in (config-extra-cflags): New variable,
30699 gets @libc_extra_cflags@.
30700 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30701
61653dfb
RM
30702 [BZ #10375]
30703 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30704 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30705 * configure: Regenerated.
30706 * config.make.in (CPPUNDEFS): New substituted variable.
30707 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30708 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30709 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30710
661768bb
L
307112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30712
30713 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30714 (mq_attr): Use __syscall_slong_t.
30715
d4261567
L
307162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30717
30718 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30719 Check __x86_64__ instead of __WORDSIZE.
30720 (_STAT_VER_LINUX): Likewise.
30721 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30722 __syscall_ulong_t and __syscall_slong_t.
30723 (stat64): Likewise.
30724
cf3ff365
L
307252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30726
30727 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30728
76cf3e4d
L
307292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30730
30731 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30732
a637753a
L
307332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30734
30735 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30736 __syscall_ulong_t.
30737
d5e05119
L
30738 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30739 include <bits/wordsize.h>. Check __x86_64__ instead of
30740 __WORDSIZE.
30741 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30742 defined.
30743 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30744
f62ee380
L
30745 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30746 include <bits/wordsize.h>. Check __x86_64__ instead of
30747 __WORDSIZE.
30748 (user_regs_struct): Use "__extension__ unsigned long long"
30749 instead of "unsigned long" if __x86_64__ is defined.
30750 (user): Likewise. Pad after pointer field if __ILP32__ is
30751 defined.
30752
4e124ced
JM
307532012-05-16 Joseph Myers <joseph@codesourcery.com>
30754
6a3951a0
JM
30755 * configure.in (makeinfo): Require version 4.5 or later. Allow
30756 versions 5 to 9.
30757 * configure: Regenerated.
30758 * manual/install.texi (texinfo): Increase version requirement to
30759 4.5 or later.
30760 * INSTALL: Regenerated.
30761
4e124ced
JM
30762 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30763
953ca31a
L
307642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30765
30766 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30767
617aca05
L
30768 * sysdeps/x86_64/x32/ffs.c: New file.
30769
5762f7ae
L
30770 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30771 __syscall_ulong_t.
30772 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30773 defined. Use __syscall_ulong_t.
30774 (shminfo): Use __syscall_ulong_t.
30775 (shm_info): Likewise.
30776
a26b6856
L
30777 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30778 __syscall_ulong_t.
30779
cb2b9ef7
L
30780 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30781 <bits/wordsize.h>.
30782 (msgqnum_t): Use __syscall_ulong_t.
30783 (msglen_t): Likewise.
30784 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30785 __syscall_ulong_t.
30786
34683bb0
L
30787 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30788 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30789
84a68786
L
30790 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30791
48baa5f1
L
30792 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30793 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30794
180be88b
L
30795 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30796 __syscall_slong_t.
30797
5e90c8ad
L
30798 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30799 include <bits/wordsize.h>. Check __x86_64__ instead of
30800 __WORDSIZE.
30801
23dfb58b
L
30802 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30803 "unsigned long long int" if __x86_64__ is defined.
30804 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30805
ce5d54b0
L
30806 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30807 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30808 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30809
13dc9eac
L
30810 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30811 <stdint.h>.
30812 (GET_PC): Cast to uintptr_t first.
30813 (GET_FRAME): Likewise.
30814 (GET_STACK): Likewise.
30815
a7895d15
L
30816 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30817 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30818 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30819 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30820 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30821 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30822 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30823 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30824 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30825 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30826 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30827 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30828 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30829 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30830 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30831 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30832 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30833 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30834 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30835 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30836 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30837 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30838 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30839 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30840 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30841 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30842 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30843 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30844 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30845
656416c9
AS
308462012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30847
5bd66283
AS
30848 * Makerules (+depfiles): Also collect depfiles from .oS in
30849 $(extra-objs).
30850 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30851 .oS, $(libnldbl-routines)).
30852
656416c9
AS
30853 * Makerules (native-compile-mkdep-flags): Define.
30854 * sunrpc/Makefile (extra-objs): Add $(addprefix
30855 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30856 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30857 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30858 calling $(make-target-directory).
30859
a46f2169
L
308602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30861
30862 * bits/types.h (__snseconds_t): Removed.
30863 * time/time.h (struct timespec): Replace __snseconds_t with
30864 __syscall_slong_t.
30865 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30866 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30867 Likewise.
30868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30869 (__SNSECONDS_T_TYPE): Likewise.
30870 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30871 (__SNSECONDS_T_TYPE): Likewise.
30872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30873 (__SNSECONDS_T_TYPE): Likewise.
30874
6af6528b
L
308752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30876
30877 * sysdeps/mach/hurd/bits/typesizes.h
30878 (__SYSCALL_SLONG_TYPE): New macro.
30879 (__SYSCALL_ULONG_TYPE): Likewise.
30880
de986b56
L
308812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30882
30883 * bits/types.h (__syscall_slong_t): New type.
30884 (__syscall_ulong_t): Likewise.
30885
30886 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30887 (__SYSCALL_ULONG_TYPE): Likewise.
30888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30889 (__SYSCALL_SLONG_TYPE): Likewise.
30890 (__SYSCALL_ULONG_TYPE): Likewise.
30891 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30892 (__SYSCALL_SLONG_TYPE): Likewise.
30893 (__SYSCALL_ULONG_TYPE): Likewise.
30894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30895 (__SYSCALL_SLONG_TYPE): Likewise.
30896 (__SYSCALL_ULONG_TYPE): Likewise.
30897
85736dc7
L
308982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30899
30900 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30901 Add sigaltstack-offsets.sym.
30902 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30903 <sigaltstack-offsets.h>.
30904 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30905 longjmp_msg pointer.
30906 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30907 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30908 signal stack.
30909 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30910
cc03b296
JM
309112012-05-15 Joseph Myers <joseph@codesourcery.com>
30912
a9538892
JM
30913 * elf/stackguard-macros.h: Remove file.
30914 * sysdeps/generic/stackguard-macros.h: New file.
30915 * sysdeps/i386/stackguard-macros.h: Likewise.
30916 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30917 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30918 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30919 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30920 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30921 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30922 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30923 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30924 <elf/stackguard-macros.h>.
30925
cc03b296
JM
30926 [BZ #14109]
30927 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30928 __aligned__ in attribute.
30929 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30930 (gregset_t): Likewise.
30931
93171016
L
309322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30933
30934 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30935 * sysdeps/x86_64/64/Implies-after: Here. New file.
30936 * sysdeps/x86_64/x32/Implies-after: New file.
30937
d86813a0
L
309382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30939
30940 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30941 and access return value for _dl_profile_fixup. Use R10_LP to
30942 load frame size.
30943
2953ec75
L
309442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30945
30946 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30947
3b550e9e
L
309482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30949
30950 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30951 * sysdeps/x86_64/x32/sysdep.h: New file.
30952
eda41706
L
309532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30954
30955 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30956 * sysdeps/x86_64/setjmp.S: Likewise.
30957
9ea01d93
AZ
309582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30959
30960 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30961 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30962 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30963 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30964 remove unused global constant.
30965
02a91938
CM
309662012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30967
30968 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30969 include of <not-cancel.h>.
30970
6540185f
RM
309712012-05-15 Roland McGrath <roland@hack.frob.com>
30972
30973 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30974
509072a0
AJ
309752012-05-15 Jeff Law <law@redhat.com>
30976 Andreas Jaeger <aj@suse.de>
30977
30978 [BZ #13594]
30979 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30980 out from...
30981 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30982 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30983 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30984 code changing __hst_map_handle.map.
30985
ba75122d
RM
309862012-05-15 Roland McGrath <roland@hack.frob.com>
30987
30988 * configure.in (sysnames): Look for Implies-before and Implies-after
30989 files.
30990 * configure: Regenerated.
30991
890d8bd8
L
309922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30993
30994 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30995 8-byte data alignment with LP_SIZE alignment.
30996
f6ee6623
L
309972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30998
30999 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31000 into R10_LP.
31001
ea2626f6
L
310022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31003
31004 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31005
085f715e
L
310062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31007
31008 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31009 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31010 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31011 Likewise.
31012 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31013
be8498fc
L
310142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31015
31016 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31017 (stackinfo_sub_sp): Likewise.
31018
70bc83b9
L
310192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31020
31021 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31022 RAX_LP.
31023
9bc0b730
L
310242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31025
31026 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31027 into R*_LP.
31028
6d2850e7
L
310292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31030
31031 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31032 sizes into R*_LP.
31033
3cb84561
L
310342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31035
31036 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31037
54e2ed81
L
310382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31039
31040 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31041 into R11_LP and load __x86_64_shared_cache_size_half into
31042 R8_LP.
31043
8a17f349
L
310442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31045
31046 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31047 R8_LP.
31048
777b1eea
AZ
310492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31050
31051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31052 logb for POWER7.
31053 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31054 logbf for POWER7.
31055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31056 logbl for POWER7.
31057 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31058 powerpc32/power7/fpu/s_logb.c via #include.
31059 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31060 powerpc32/power7/fpu/s_logbf.c via #include.
31061 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31062 powerpc32/power7/fpu/s_logbl.c via #include.
31063
d20d4ac2
JM
310642012-05-15 Joseph Myers <joseph@codesourcery.com>
31065
31066 * README.libm: Remove file.
31067
6cdef1ab
L
310682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31069
31070 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31071 count for x32. Use R*_LP and omit operand-size suffix.
31072
0b254d8f
L
310732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31074
31075 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31076 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31077 * sysdeps/x86_64/x32/shlib-versions: New file.
31078
ceb809dc
RM
310792012-05-14 Roland McGrath <roland@hack.frob.com>
31080
31081 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31082 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31083 Use _dl_fatal_printf instead.
31084
37f1abd4
JM
310852012-05-14 Joseph Myers <joseph@codesourcery.com>
31086
31087 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31088 set if not set by the user. Do not allow for being unset.
31089 * sysdeps/unix/sysv/linux/configure: Regenerated.
31090
11de3a33
L
310912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31092
31093 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31094 the `q' suffix from lea and replace .quad with ASM_ADDR.
31095
e02f153a
L
310962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31097
31098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31099 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31100 instead of $17.
31101 (PTR_DEMANGLE): Likewise.
31102
520ae0fd
L
311032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31104
31105 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31106 (LP_OP): Likewise.
31107 (ASM_ADDR): Likewise.
31108 (RAX_LP): Likewise.
31109 (RBP_LP): Likewise.
31110 (RBX_LP): Likewise.
31111 (RCX_LP): Likewise.
31112 (RDI_LP): Likewise.
31113 (RSI_LP): Likewise.
31114 (RSP_LP): Likewise.
31115 (R8_LP): Likewise.
31116 (R9_LP): Likewise.
31117 (R10_LP): Likewise.
31118 (R10_LP): Likewise.
31119 (R11_LP): Likewise.
31120 (R12_LP): Likewise.
31121 (R13_LP): Likewise.
31122 (R14_LP): Likewise.
31123 (R15_LP): Likewise.
31124
b985be81
L
311252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31126
31127 * sysdeps/x86_64/x32/dl-machine.h: New file.
31128
6a4888ff
AJ
311292012-05-14 Andreas Jaeger <aj@suse.de>
31130
31131 * manual/Makefile (subdir): Remove export of subdir.
31132 (all): Remove target.
31133 (.PHONY): Remove all from list.
31134 (mkinstalldirs): Remove.
31135 (.PHONY): Remove installdirs from list.
31136 ($(inst_infodir)/libc.info): Use make-target-directory.
31137 (installdirs): Remove.
31138 (subdir_%): Remove.
31139 (glibc-targets): Remove.
31140 (lib): Remove.
31141 (stubs): Remove.
31142 ($(objpfx)stubs ../po/manual.pot): Remove.
31143 ($(objpfx)stamp%): Remove.
31144 (make-target-directory): Remove.
31145 (subdir_install): Remove.
31146 (routines): Remove.
31147 (aux): Remove.
31148 (sources): Remove.
31149 (objects): Remove.
31150 (headers): Remove.
31151
31152 [BZ #13750]
31153 * manual/.gitignore: Remove, it's not needed anymore.
31154 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31155 all files in it.
31156 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31157 directory.
31158 (texis): Renamed to $(objpfx)texis.
31159 (texis-path): New, contains path to generated files.
31160 (chapters.%): Use texis-path for complete path, add extra argument
31161 libc-texinfo.sh.
31162 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31163 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31164 (summary,texi, stamp-summary): Use complete path of
31165 files. Generate files in build dir.
31166 (dir-add.texi): Build in build dir.
31167 (libm-err.texi,stamp-libm-err): Likewise.
31168 (version.texi, stamp-version): Likewise.
31169 (.%c.texi): Likewise.
31170 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31171 (mostlyclean): Remove target.
31172 (realclean): Remove target.
31173 (generated): Add new variable with contents from mostlyclean and
31174 realclean, remove entries duplicated in common-mostlyclean, add
31175 stamp-libm-err and stamp-version.
31176 (generated-dirs): Add libc directory.
31177 ($(inst_infodir)/libc.info): Install files from build dir.
31178
31179 * manual/install.texi (Configuring and compiling): Adjust since
31180 the info files are not part of the tar ball anymore.
31181
7ac77294
AJ
311822012-05-14 Andreas Jaeger <aj@suse.de>
31183
31184 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31185 variable.
31186
ffb7875d
JM
311872012-05-14 Joseph Myers <joseph@codesourcery.com>
31188
31189 [BZ #13717]
31190 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31191 to 2.2.0 where earlier.
31192 * sysdeps/unix/sysv/linux/configure: Regenerated.
31193 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31194 Remove conditional code.
31195 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31196 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31197 Remove conditional code.
31198 [!__NR_lchown]: Likewise.
31199 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31200 [__NR_lchown]: Likewise.
31201 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31202 comment referencing __ASSUME_LCHOWN_SYSCALL.
31203 * sysdeps/unix/sysv/linux/i386/sigaction.c
31204 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31205 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31206 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31207 Remove conditional code.
31208 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31209 (__protocol_available): Remove #if 0 code.
31210 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31211 conditional code.
31212 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31213 * sysdeps/unix/sysv/linux/kernel-features.h
31214 (__ASSUME_GETCWD_SYSCALL): Don't define.
31215 (__ASSUME_REALTIME_SIGNALS): Likewise.
31216 (__ASSUME_PREAD_SYSCALL): Likewise.
31217 (__ASSUME_PWRITE_SYSCALL): Likewise.
31218 (__ASSUME_POLL_SYSCALL): Likewise.
31219 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31220 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31221 non-SPARC.
31222 (__ASSUME_SIOCGIFNAME): Don't define.
31223 (__ASSUME_MSG_NOSIGNAL): Likewise.
31224 (__ASSUME_SENDFILE): Define unconditionally.
31225 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31226 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31227 conditional code.
31228 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31229 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31230 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31231 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31232 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31233 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31234 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31236 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31239 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31242 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31243 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31245 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31248 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31249 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31251 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31254 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31255 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31257 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31259 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31260 Remove conditional code.
31261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31262 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31263 Remove conditional code.
31264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31265 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31266 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31267 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31268 Remove conditional code.
31269 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31270 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31271 Remove conditional code.
31272 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31273 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31274 Remove conditional code.
31275 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31276 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31277 Remove conditional code.
31278 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31279 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31280 Remove conditional code.
31281 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31282 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31283 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31284 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31285 * sysdeps/unix/sysv/linux/sigaction.c
31286 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31287 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31288 * sysdeps/unix/sysv/linux/sigpending.c
31289 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31290 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31291 * sysdeps/unix/sysv/linux/sigprocmask.c
31292 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31293 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31294 * sysdeps/unix/sysv/linux/sigsuspend.c
31295 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31296 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31297 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31298 (__libc_missing_rt_sigs): Remove.
31299 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31300 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31301 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31302 Remove conditional code.
31303 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31304 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31305 return 1.
31306 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31307 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31308 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31309 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31310
1bfb7291
AJ
313112012-05-14 Andreas Jaeger <aj@suse.de>
31312
caae5a81
AJ
31313 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31314 it's not used in glibc.
31315 (__coshm1): Likewise.
31316 (__acosh1p): Likewise.
31317 (__sgn): Likewise.
31318
1bfb7291
AJ
31319 * manual/string.texi (Copying and Concatenation): Add missing
31320 variable in concat example.
31321 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31322
c044d724
L
313232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31324
144c5467 31325 [BZ #14103]
c044d724
L
31326 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31327 __builtin_clzl with __builtin_clzll.
31328
2523c62b
L
313292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31330
31331 [BZ #14104]
31332 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31333 libc_freeres_ptr.
31334
d7bb4c42
LD
313352012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31336
31337 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31338 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31339 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31340 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31341
9dc4e1fb
MF
313422012-05-14 Mike Frysinger <vapier@gentoo.org>
31343
31344 * NEWS: Update ia64 info.
31345
c7df0112
AS
313462012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31347
31348 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31349 used as bcopy.
31350
dc70356c
TS
313512012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31352
31353 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31354 * sysdeps/unix/syscalls.list (dup3): Likewise.
31355 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31356 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31357
9fb1a21f
L
313582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31359
31360 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31361 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31362
4822a2a5
L
313632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31364
31365 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31366 thread pointer.
31367 (TLS_IE): Use mov/add instead of movq/addq to load thread
31368 pointer.
31369 (TLS_GD_PREFIX): New.
31370 (TLS_GD): Use it.
31371
842b81d6
DM
313722012-05-11 David S. Miller <davem@davemloft.net>
31373
31374 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31375 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31376 (_FPU_SETCW): Likewise.
31377
1cf463cd
L
313782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31379
31380 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31381 is 32-byte aligned.
31382
60cc4a18
AS
313832012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31384
31385 [BZ #11837]
31386 * iconvdata/gb18030.c: Update tables.
31387 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31388 characters specially.
31389 (BODY for TO_LOOP): Add encoding of missing ranges.
31390
febb44a4
TS
313912012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31392
31393 [BZ #13673]
31394 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31395 * sysdeps/mach/hurd/dup3.c: Likewise.
31396 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31397 * sysdeps/powerpc/memmove.c:: Likewise.
31398
0a10fb9e
L
313992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31400
31401 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31402 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31403
df8a552f
L
314042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31405
31406 * elf/elf.h (R_X86_64_RELATIVE64): New.
31407 (R_X86_64_NUM): Updated.
31408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31409 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31410 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31411 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31412 tst-quad1pie tst-quad2pie
31413 (modules-names): Add tst-quadmod1 tst-quadmod2.
31414 ($(objpfx)tst-quad1): New dependency.
31415 ($(objpfx)tst-quad2): Likewise.
31416 ($(objpfx)tst-quad1pie): Likewise.
31417 ($(objpfx)tst-quad2pie): Likewise.
31418 * sysdeps/x86_64/tst-quad1.c: New file.
31419 * sysdeps/x86_64/tst-quad1pie.c: New file.
31420 * sysdeps/x86_64/tst-quad2.c: Likewise.
31421 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31422 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31423 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31424 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31425 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31426
f34d6f84
ST
314272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31428
f42d41d1
ST
31429 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31430 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31431 * streams/stropts.h (t_scalar_t): Define type.
31432
3c3571fc
ST
31433 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31434 (_PATH_PRESERVE): Set to "/var/lib".
31435 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31436
61f06bd3
ST
31437 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31438 instead of int.
31439
918d4d71
ST
31440 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31441 if __dir_mkfile succeeded.
31442
f34d6f84
ST
31443 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31444 checking for _hurd_dtablesize. Unlock it right after having
31445 finished _hurd_dtable allocation.
31446
10589b4a
TS
314472012-05-10 Thomas Schwinge <thomas@schwinge.name>
31448
674cdbc7
TS
31449 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31450 * sysdeps/mach/hurd/configure: Regenerated.
31451 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31452 special-casing to...
31453 * sysdeps/gnu/configure.in: ... this new file.
31454 * sysdeps/unix/sysv/linux/configure: Regenerated.
31455 * sysdeps/gnu/configure: New generated file.
31456
8e41b99f
TS
31457 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31458 for Linux: use nsec instead of usec, as well as:
31459 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31460 members of type struct timespec.
31461 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31462 New macros.
31463 (struct stat64): Likewise.
31464 (_STATBUF_ST_NSEC): New macro.
31465 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31466
10589b4a
TS
31467 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31468 __strtoul_internal rather than strtoul.
31469
63643c85
PT
314702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31471
31472 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31473 and reject them.
31474
3faebe6a
ST
314752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31476
31477 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31478 which preserves existing values.
31479 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31480
c6474b07
PT
314812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31482
31483 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31484 TIMEOUT values. Return EINVAL for NFDS values either negative or
31485 greater than FD_SETSIZE.
31486
1043890b
ST
314872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31488
31489 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31490 allocated, call __vm_protect to finish enabling the existing space, and
31491 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31492 allocate the remainder.
31493
37ed8b9b
PT
314942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31495
31496 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31497 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31498
db653660
ST
314992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31500
37ed8b9b
PT
31501 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31502 sysdeps/mach/hurd/readlink.c.
b29d4053 31503
db653660
ST
31504 * posix/tst-sysconf.c (posix_options): Only use
31505 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31506 _POSIX_SYNCHRONIZED_IO when they are defined
31507 * sysdeps/mach/hurd/bits/posix_opt.h:
31508 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31509 (_XOPEN_REALTIME): Undefine macro.
31510 (_XOPEN_REALTIME_THREADS): Undefine macro.
31511 (_XOPEN_SHM): Undefine macro.
31512 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31513 macro to -1.
31514 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31515 macro to -1.
31516 (_POSIX_ASYNC_IO): Undefine macro.
31517 (_POSIX_PRIORITIZED_IO): Undefine macro.
31518 (_POSIX_SPIN_LOCKS): Define macro to -1.
31519
ee16e894
ST
31520 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31521 SA_NODEFER, SA_RESETHAND.
31522 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31523 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31524 F_DUPFD_CLOEXEC.
31525
6103ae3b
TS
315262012-05-10 Thomas Schwinge <thomas@schwinge.name>
31527
31528 * elf/Makefile (pldd-modules): Define unconditionally.
31529
80b4e5f3
TS
315302012-05-10 Thomas Schwinge <thomas@schwinge.name>
31531
31532 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31533
edadcbd6
ST
315342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31535
31536 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31537 Return ENOENT when name is empty.
31538 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31539
80694780
TS
315402012-05-10 Thomas Schwinge <thomas@schwinge.name>
31541
1792c087
TS
31542 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31543
80694780
TS
31544 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31545
6b645f0d
ST
315462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31547
80694780
TS
31548 Fix mlock in all cases except non-readable pages.
31549 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31550 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 31551
6b645f0d
ST
31552 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31553 (__mkdir): When path is `/', just fail with EEXIST.
31554 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31555
e468f8a3
TS
315562012-05-10 Thomas Schwinge <thomas@schwinge.name>
31557
31558 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31559 <sys/uio.h> (for writev).
31560 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31561 and <sys/param.h> (for MIN).
31562
a4186cff
PT
315632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31564
31565 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31566 REQUESTED_TIME. Properly set the remaining time and return EINTR
31567 if interrupted.
31568
510bbf14
TS
315692012-05-10 Thomas Schwinge <thomas@schwinge.name>
31570
31571 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31572 Depend on against $(link-rpcuserlibs).
31573
5d5722e8
ST
315742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31575
a4186cff
PT
31576 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31577 (__libc_stack_end): Do not use attribute_relro.
31578 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31579 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31580 to libthread-provided value.
a4186cff
PT
31581 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31582 attribute_relro.
5d5722e8 31583
37233df9
TS
315842012-05-10 Thomas Schwinge <thomas@schwinge.name>
31585
be971a2b
TS
31586 [BZ #3748]
31587 * bits/libc-lock.h (__libc_once_get): New macro.
31588 * sysdeps/mach/bits/libc-lock.h: Likewise.
31589 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31590 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31591 instead of using implementation details.
31592
37233df9
TS
31593 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31594 * libio/freopen.c: Likewise.
31595 * libio/freopen64.c: Likewise.
31596 * misc/syslog.c: Likewise.
31597 * nscd/connections.c: Likewise.
31598 * nscd/netgroupcache.c: Likewise.
31599 * sysdeps/posix/getcwd.c: Likewise.
31600
38de94a5
RM
316012012-05-10 Roland McGrath <roland@hack.frob.com>
31602
31603 * math/w_ilogbf.c: Add #include <limits.h>.
31604
67530489
ST
316052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31606
a4186cff 31607 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31608 path instead of returning without unlocking.
31609
67530489
ST
31610 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31611 immediate-write ioctls.
31612 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31613
5aa3a74a
TS
316142012-05-10 Thomas Schwinge <thomas@schwinge.name>
31615
18bad2ae
TS
31616 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31617 __builtin_frame_address instead of making assumptions about the
31618 location of the return address relative to DATA. Force early load of
31619 the return address.
31620 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31621 __builtin_frame_address.
31622
5aa3a74a
TS
31623 dup3 for GNU Hurd.
31624 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31625 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31626 implement dup3 and do some further code clean-ups.
31627 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31628 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31629
ecd0de9a
ST
316302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31631
cd9fa985
ST
31632 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31633
a4186cff
PT
31634 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31635 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31636 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31637 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31638 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31639 d->port.lock.
802ca5a5 31640
a4186cff
PT
31641 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31642 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31643 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31644
bcf55240
TS
316452012-05-10 Thomas Schwinge <thomas@schwinge.name>
31646
6960eb42
TS
31647 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31648 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31649 definitions.
31650
eb43375f
TS
31651 accept4 for GNU Hurd.
31652 * include/sys/socket.h (__libc_accept4): New prototype.
31653 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31654 to implement __libc_accept4.
31655 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31656 __libc_accept4.
31657 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31658
bcf55240
TS
31659 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31660 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31661 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31662 signal-defines.sym.
31663
6178c55b
ST
316642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31665
a4186cff 31666 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31667
6f080c2f
TS
316682012-05-10 Thomas Schwinge <thomas@schwinge.name>
31669
31670 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31671 assertion on O_CLOEXEC flag.
31672 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31673 * hurd/intern-fd.c: Likewise.
31674 * hurd/port2fd.c: Likewise.
31675
bcfe3a54
ST
316762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31677
31678 [BZ #3906]
31679 * bits/in.h (IPV6_PKTINFO): Define new macro.
31680 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31681
89c9aa49
AZ
316822012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31683
31684 [BZ #13954]
31685 [BZ #13955]
31686 [BZ #13956]
31687 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31688 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31689 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31690 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31691 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31692 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31693 * math/libm-test.inc (logb_test) : Additional logb tests.
31694
021db4be
AJ
316952012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31696 Andreas Jaeger <aj@suse.de>
31697
31698 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31699 * configure: Regenerated.
31700 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31701 * config.make.in (link-obsolete-rpc): New substituted variable.
31702 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31703 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31704 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31705 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31706 so that libc.a contains the symbols.
31707 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31708 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31709 * sunrpc/auth_none.c: Likewise.
31710 * sunrpc/auth_unix.c: Likewise.
31711 * sunrpc/authdes_prot.c: Likewise.
31712 * sunrpc/authuxprot.c: Likewise.
31713 * sunrpc/clnt_gen.c: Likewise.
31714 * sunrpc/clnt_perr.c: Likewise.
31715 * sunrpc/clnt_raw.c: Likewise.
31716 * sunrpc/clnt_simp.c: Likewise.
31717 * sunrpc/clnt_tcp.c: Likewise.
31718 * sunrpc/clnt_udp.c: Likewise.
31719 * sunrpc/clnt_unix.c: Likewise.
31720 * sunrpc/des_crypt.c: Likewise.
31721 * sunrpc/des_soft.c: Likewise.
31722 * sunrpc/get_myaddr.c: Likewise.
31723 * sunrpc/key_call.c: Likewise.
31724 * sunrpc/key_prot.c: Likewise.
31725 * sunrpc/netname.c: Likewise.
31726 * sunrpc/pm_getmaps.c: Likewise.
31727 * sunrpc/pm_getport.c: Likewise.
31728 * sunrpc/pmap_clnt.c: Likewise.
31729 * sunrpc/pmap_prot.c: Likewise.
31730 * sunrpc/pmap_prot2.c: Likewise.
31731 * sunrpc/pmap_rmt.c: Likewise.
31732 * sunrpc/publickey.c: Likewise.
31733 * sunrpc/rpc_cmsg.c: Likewise.
31734 * sunrpc/rpc_common.c: Likewise.
31735 * sunrpc/rpc_dtable.c: Likewise.
31736 * sunrpc/rpc_prot.c: Likewise.
31737 * sunrpc/rpc_thread.c: Likewise.
31738 * sunrpc/rtime.c: Likewise.
31739 * sunrpc/svc.c: Likewise.
31740 * sunrpc/svc_auth.c: Likewise.
31741 * sunrpc/svc_raw.c: Likewise.
31742 * sunrpc/svc_run.c: Likewise.
31743 * sunrpc/svc_tcp.c: Likewise.
31744 * sunrpc/svc_udp.c: Likewise.
31745 * sunrpc/svc_unix.c: Likewise.
31746 * sunrpc/svcauth_des.c: Likewise.
31747 * sunrpc/xcrypt.c: Likewise.
31748 * sunrpc/xdr.c: Likewise.
31749 * sunrpc/xdr_array.c: Likewise.
31750 * sunrpc/xdr_float.c: Likewise.
31751 * sunrpc/xdr_intXX_t.c: Likewise.
31752 * sunrpc/xdr_mem.c: Likewise.
31753 * sunrpc/xdr_rec.c: Likewise.
31754 * sunrpc/xdr_ref.c: Likewise.
31755 * sunrpc/xdr_sizeof.c: Likewise.
31756 * sunrpc/xdr_stdio.c: Likewise.
31757
b5c086a2
RM
317582012-05-10 Roland McGrath <roland@hack.frob.com>
31759
31760 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31761 change. Update copyright years.
31762
6d74dd09
JM
317632012-05-10 Joseph Myers <joseph@codesourcery.com>
31764
31765 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31766
28e72501
MK
317672012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31768 Joseph Myers <joseph@codesourcery.com>
31769 Paul Pluzhnikov <ppluzhnikov@google.com>
31770
31771 [BZ #14012]
31772 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31773 requiring rpcgen.
31774 [cross-compiling] (extra-libs): Likewise.
31775 [cross-compiling] (extra-libs-others): Likewise.
31776 [cross-compiling] (librpcsvc-routines): Likewise.
31777 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31778 [cross-compiling] (omit-deps): Likewise.
31779 (sunrpc-CPPFLAGS): New variable.
31780 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31781 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31782 (cross-rpcgen-objs): New variable.
31783 (extra-objs): Append $(cross-rpcgen-objs).
31784 ($(cross-rpcgen-objs)): New rule.
31785 ($(objpfx)cross-rpcgen): Likewise.
31786 (rpcgen-cmd): Define to use $(built-program-file). Expand
31787 comment.
31788 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31789 ($(objpfx)x%.stmp): Likewise.
31790 * sunrpc/proto.h [IS_IN_build] (_): Define.
31791 [IS_IN_build] (_libc_intl_domainname): Likewise.
31792
c8c59454
L
317932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31794
31795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31796 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31797 and R_X86_64_TPOFF64.
31798
6f27cd16
JM
317992012-05-10 Joseph Myers <joseph@codesourcery.com>
31800
31801 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31802 sysdeps/unix/sysv/syscalls.list.
31803 (stime): Likewise.
31804 (utime): Likewise.
31805 * sysdeps/unix/sysv/syscalls.list: Remove file.
31806
02467e1c
PE
318072012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31808
31809 [BZ #3440]
31810 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31811 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31812 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31813 (__LC_IDENTIFICATION): Make these macros useful in #if
31814 expressions, as required by C99.
31815
da392631
AS
318162012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31817
31818 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31819 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31820 after this.
31821
8115f29b
L
318222012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31823
31824 * stdlib/longlong.h: Updated from GCC.
31825
bdd74070
AJ
318262012-05-09 Andreas Jaeger <aj@suse.de>
31827
edfe0dbe
AJ
31828 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31829 default is first entry.
31830 (run_mode): Set type.
31831 (main): Remove informal message about syslog.
31832 (options): Fix typo.
31833
bcfe3a54
ST
31834 [BZ #14053]
31835 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31836 to asm.
bcfe3a54
ST
31837 (lrint): Likewise.
31838 (llrintf): Likewise.
31839 (llrint): Likewise.
31840 (rint): Likewise.
31841 (rintf): Likewise.
31842 (nearbyint): Likewise.
31843 (nearbyintf): Likewise.
bdd74070 31844
91d8d69e
AJ
318452012-05-09 Andreas Jaeger <aj@suse.de>
31846 Pedro Alves <palves@redhat.com>
31847
31848 * nscd/nscd.c (run_mode): Use enum.
31849 (main): Cleanup coding style issue.
31850
bb90b80b
AJ
318512012-05-09 Alexandre Oliva <aoliva@redhat.com>
31852 Andreas Jaeger <aj@suse.de>
31853
bcfe3a54
ST
31854 * nscd/nscd.c (go_background): Replaced with...
31855 (run_mode): ... this.
bb90b80b 31856 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31857 (options): Add -F --foreground.
31858 (main): Implement it.
31859 (parse_opt): Parse it.
bb90b80b 31860
1a4b75a1
AJ
318612012-05-09 Andreas Jaeger <aj@suse.de>
31862
31863 [BZ #14083]
31864 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31865 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31866 -Wconversion warning.
31867 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31868 Likewise.
31869
b1cc2472
JM
318702012-05-09 Joseph Myers <joseph@codesourcery.com>
31871
31872 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31873 == 0.
31874 (LC_ALL): Use macro-int-constant.
31875 (LC_COLLATE): Likewise.
31876 (LC_CTYPE): Likewise.
31877 (LC_MESSAGES): Likewise.
31878 (LC_MONETARY): Likewise.
31879 (LC_NUMERIC): Likewise.
31880 (LC_TIME): Likewise.
31881 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31882 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31883 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31884 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31885 Specify type.
31886 [C99-based standards] (float_t): Expect type.
31887 [C99-based standards] (double_t): Expect type.
31888 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31889 type.
31890 [C99-based standards] (HUGE_VALL): Likewise.
31891 [C99-based standards] (INFINITY): Likewise.
31892 [C99-based standards] (NAN): Likewise.
31893 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31894 [C99-based standards] (FP_NAN): Likewise.
31895 [C99-based standards] (FP_NORMAL): Likewise.
31896 [C99-based standards] (FP_SUBNORMAL): Likewise.
31897 [C99-based standards] (FP_ZERO): Likewise.
31898 [C99-based standards] (FP_FAST_FMA): Use
31899 optional-macro-int-constant. Specify type. Require == 1.
31900 [C99-based standards] (FP_FAST_FMAF): Likewise.
31901 [C99-based standards] (FP_FAST_FMAL): Likewise.
31902 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31903 [C99-based standards] (FP_ILOGBNAN): Likewise.
31904 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31905 Specify type.
31906 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31907 [C99-based standards] (math_errhandling): Specify type.
31908 [ISO99 || ISO11] (signgam): Do not allow.
31909 [non-C99-based standards] (copysignf): Do not allow.
31910 [non-C99-based standards] (exp2f): Likewise.
31911 [non-C99-based standards] (log2f): Likewise.
31912 [non-C99-based standards] (modff): Allow.
31913 [non-C99-based standards] (erff): Do not allow.
31914 [non-C99-based standards] (erfcf): Likewise.
31915 [non-C99-based standards] (gammaf): Likewise.
31916 [non-C99-based standards] (hypotf): Likewise.
31917 [non-C99-based standards] (j0f): Likewise.
31918 [non-C99-based standards] (j1f): Likewise.
31919 [non-C99-based standards] (jnf): Likewise.
31920 [non-C99-based standards] (lgammaf): Likewise.
31921 [non-C99-based standards] (tgammaf): Likewise.
31922 [non-C99-based standards] (y0f): Likewise.
31923 [non-C99-based standards] (y1f): Likewise.
31924 [non-C99-based standards] (ynf): Likewise.
31925 [non-C99-based standards] (isnanf): Likewise.
31926 [non-C99-based standards] (acoshf): Likewise.
31927 [non-C99-based standards] (asinhf): Likewise.
31928 [non-C99-based standards] (atanhf): Likewise.
31929 [non-C99-based standards] (cbrtf): Likewise.
31930 [non-C99-based standards] (expm1f): Likewise.
31931 [non-C99-based standards] (ilogbf): Likewise.
31932 [non-C99-based standards] (log1pf): Likewise.
31933 [non-C99-based standards] (logbf): Likewise.
31934 [non-C99-based standards] (nextafterf): Likewise.
31935 [non-C99-based standards] (remainderf): Likewise.
31936 [non-C99-based standards] (rintf): Likewise.
31937 [non-C99-based standards] (scalbf): Likewise.
31938 [non-C99-based standards] (copysignl): Likewise.
31939 [non-C99-based standards] (exp2l): Likewise.
31940 [non-C99-based standards] (log2l): Likewise.
31941 [non-C99-based standards] (modfl): Allow.
31942 [non-C99-based standards] (erfl): Do not allow.
31943 [non-C99-based standards] (erfcl): Likewise.
31944 [non-C99-based standards] (gammal): Likewise.
31945 [non-C99-based standards] (hypotl): Likewise.
31946 [non-C99-based standards] (j0l): Likewise.
31947 [non-C99-based standards] (j1l): Likewise.
31948 [non-C99-based standards] (jnl): Likewise.
31949 [non-C99-based standards] (lgammal): Likewise.
31950 [non-C99-based standards] (tgammal): Likewise.
31951 [non-C99-based standards] (y0l): Likewise.
31952 [non-C99-based standards] (y1l): Likewise.
31953 [non-C99-based standards] (ynl): Likewise.
31954 [non-C99-based standards] (isnanl): Likewise.
31955 [non-C99-based standards] (acoshl): Likewise.
31956 [non-C99-based standards] (asinhl): Likewise.
31957 [non-C99-based standards] (atanhl): Likewise.
31958 [non-C99-based standards] (cbrtl): Likewise.
31959 [non-C99-based standards] (expm1l): Likewise.
31960 [non-C99-based standards] (ilogbl): Likewise.
31961 [non-C99-based standards] (log1pl): Likewise.
31962 [non-C99-based standards] (logbl): Likewise.
31963 [non-C99-based standards] (nextafterl): Likewise.
31964 [non-C99-based standards] (remainderl): Likewise.
31965 [non-C99-based standards] (rintl): Likewise.
31966 [non-C99-based standards] (scalbl): Likewise.
31967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31968 [non-C99-based standards] (FP_*): Do not allow.
31969 [C99-based standards] (FP_*): Change to
31970 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31971 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31972 allow.
31973 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31974 (SIG_ERR): Likewise.
31975 [X/Open-based standards] (SIG_HOLD): Likewise.
31976 (SIG_IGN): Likewise.
31977 (SIGABRT): Use macro-int-constant. Specify type. Require
31978 positive value.
31979 (SIGFPE): Likewise.
31980 (SIGILL): Likewise.
31981 (SIGINT): Likewise.
31982 (SIGSEGV): Likewise.
31983 (SIGTER): Likewise.
31984 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31985 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31986 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31987 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31988 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31989 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31990 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31991 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31992 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31993 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31994 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31995 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31996 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31997 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31998 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31999 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32000 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32001 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32002 [X/Open-based standards] (SIGTRAP): Likewise.
32003 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32004 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32005 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32006 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32007 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32008 allow.
32009
b9f1922d
IW
320102012-05-08 Ian Wienand <ianw@vmware.com>
32011
32012 [BZ #14080]
32013 * time/tzset.c (__tzset_parse_tz): Update default rules for
32014 daylight time changes in the Energy Policy Act of 2005.
32015
1db86e88
AJ
320162012-05-09 Andreas Jaeger <aj@suse.de>
32017
32018 [BZ #13983]
32019 * elf/ldconfig.c (parse_conf): Change string to make clear that
32020 ldconfig only issued a warning if ld.so.conf does not exist.
32021
dee4a4e3
DM
320222012-05-08 David S. Miller <davem@davemloft.net>
32023
ee0db190
DM
32024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32025 movxtod instead of popping the value on the stack.
32026
dee4a4e3
DM
32027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32028
6a43ec98
CD
320292012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32030
32031 * config.h.in: Add HAVE_ARM_PCS_VFP.
32032
05c2c961
RMG
320332012-05-08 Roland Mc Grath <roland@hack.frob.com>
32034
bcfe3a54
ST
32035 [BZ #13979]
32036 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32037 checking but the checks are disabled for any reason.
05c2c961 32038
4b30f61a
L
320392012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32040
32041 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32042 and ELF64_R_TYPE with ELFW(R_TYPE).
32043
eee2bc67
JM
320442012-05-08 Joseph Myers <joseph@codesourcery.com>
32045
7ea5391a
JM
32046 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32047 (ulimit): Likewise.
32048
eee2bc67
JM
32049 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32050 (settimeofday): Likewise.
32051
abb66a67
MF
320522012-05-08 Mike Frysinger <vapier@gentoo.org>
32053
32054 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32055 a struct th_u2 inside the union, and move tu_block/tu_code into
32056 a new th_u3 union of tu_block/tu_code inside of that. Move
32057 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32058 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32059 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32060 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32061 (th_stuff): Change to th_u1.tu_stuff.
32062 (th_data): Define.
32063 (th_msg): Change to th_u1.th_u2.tu_data.
32064
7f18b530
DM
320652012-05-07 David S. Miller <davem@davemloft.net>
32066
05760585
DM
32067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32068
7f18b530
DM
32069 [BZ #14074]
32070 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32071 (SETUP_PIC_REG): Use it.
32072 (SETUP_PIC_REG_LEAF): Use it.
32073
495fd99f
JM
320742012-05-07 Joseph Myers <joseph@codesourcery.com>
32075
32076 [BZ #13885]
32077 [BZ #13923]
32078 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32079 USE_AS_EXPM1L.
32080 (EXPL_FINITE): Likewise.
32081 (FLDLOG): Likewise.
32082 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32083 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32084 e_expl.S.
32085 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32086 USE_AS_EXPM1L.
32087 (EXPL_FINITE): Likewise.
32088 (FLDLOG): Likewise.
32089 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32090 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32091 e_expl.S.
32092 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32093 test of -max_value argument for long double.
32094 * sysdeps/i386/fpu/libm-test-ulps: Update.
32095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32096
6693d694
DM
320972012-05-06 David S. Miller <davem@davemloft.net>
32098
32099 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32100 quad soft-float symbols whose references which are compiler
32101 generated.
32102 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32103
6c23e11c
JM
321042012-05-06 Joseph Myers <joseph@codesourcery.com>
32105
d8b82cad
JM
32106 [BZ #13884]
32107 [BZ #13914]
32108 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32109 USE_AS_EXP10L.
32110 (EXPL_FINITE): Likewise.
32111 (FLDLOG): Likewise.
32112 (c0): Likewise.
32113 (c1): Likewise.
32114 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32115 Adjust comments for base varying.
32116 (__expl_finite): Change alias to EXPL_FINITE.
32117 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32118 e_expl.S.
32119 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32120 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32121 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32122 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32123 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32124 USE_AS_EXP10L.
32125 (EXPL_FINITE): Likewise.
32126 (FLDLOG): Likewise.
32127 (c0): Likewise.
32128 (c1): Likewise.
32129 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32130 Adjust comments for base varying.
32131 (__expl_finite): Change alias to EXPL_FINITE.
32132 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32133 tests for bugs.
32134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32135
6c23e11c
JM
32136 [BZ #14064]
32137 * math/libm-test.inc (check_float_internal): Correct ulp
32138 calculation for subnormal expected results.
32139
29ba805c
AJ
321402012-05-06 Andreas Jaeger <aj@suse.de>
32141
32142 * Makeconfig (+math-flags): New, set to -frounding-math.
32143 (+cflags): Add +math-flags so that all of glibc gets compiled with
32144 it.
32145
32146 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32147
7b17aeda
JM
321482012-05-05 Joseph Myers <joseph@codesourcery.com>
32149
5779f134
JM
32150 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32151 Disable one test.
32152
41498f4d
JM
32153 [BZ #13787]
32154 [BZ #13922]
32155 [BZ #14036]
32156 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32157 (__ieee754_expl): Allow for and saturate large arguments.
32158 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32159 (u_threshold): Likewise.
32160 (__exp): Call __ieee754_exp before checking for overflow and
32161 underflow.
32162 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32163 (u_threshold): Likewise.
32164 (__expf): Call __ieee754_expf before checking for overflow and
32165 underflow.
32166 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32167 (u_threshold): Likewise.
32168 (__expl): Call __ieee754_expl before checking for overflow and
32169 underflow.
32170 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32171 (__ieee754_expl): Allow for and saturate large arguments.
32172 * math/libm-test.inc (exp_test): Add another test. Do not allow
32173 missing overflow exception on overflow.
32174 (expm1_test): Do not allow missing overflow exception on overflow.
32175
6698b8bf
JM
32176 * sysdeps/i386/fpu/e_expl.c: Move to ...
32177 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32178 rather than using inline asm.
32179 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32180 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32181 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32182
7b17aeda
JM
32183 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32184 (nice): Likewise.
32185 (poll): Likewise.
32186 (signal): Likewise.
32187 (time): Likewise.
32188 (times): Likewise.
32189
f7c85819
JM
321902012-05-04 Joseph Myers <joseph@codesourcery.com>
32191
32192 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32193 sysdeps/unix/common/syscalls.list.
32194 (fchmod): Likewise.
32195 (fchown): Likewise.
32196 (ftruncate): Likewise.
32197 (getrusage): Likewise.
32198 (gettimeofday): Likewise.
32199 (setpgid): Likewise.
32200 (setregid): Likewise.
32201 (setreuid): Likewise.
32202 (sigaction): Likewise.
32203 (truncate): Likewise.
32204 (vhangup): Likewise.
32205 * sysdeps/unix/common/syscalls.list: Remove file.
32206 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32207 * sysdeps/unix/sysv/linux/Implies: Likewise.
32208
336270d0
L
322092012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32210
32211 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32213 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32214 Moved to ...
32215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32216 Here.
32217 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32218 to ...
32219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32220 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32221 to ...
32222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32223 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32224 to ...
32225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32226 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32227 to ...
32228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32229 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32230 to ...
32231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32232 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32233 to ...
32234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32235 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32236 to ...
32237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32238 Here.
32239 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32240 to ...
32241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32242 Here.
32243 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32244 to ...
32245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32246 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32247 Moved to ...
32248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32249 Here.
32250 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32251 to ...
32252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32253
d128e450
JM
322542012-05-04 Joseph Myers <joseph@codesourcery.com>
32255
fa8ee516
JM
32256 * sysdeps/unix/common/bits/dirent.h: Remove file.
32257 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32258
d128e450
JM
32259 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32260 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32261 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32262 * sysdeps/unix/bsd/isatty.c: Likewise.
32263 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32264 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32265 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32266
ff8faaf0 322672012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 32268
62881be4 32269 [BZ #13563]
31dc8730
AZ
32270 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32271 long double comparison inaccuracies.
32272 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32274
6fef930c
AS
322752012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32276
32277 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32278 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32279
8f203e6c
JM
322802012-05-04 Joseph Myers <joseph@codesourcery.com>
32281
32282 [BZ #14049]
32283 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32284 nonzero digits before rounding a hex value.
32285 * stdlib/tst-strtod.c (tests): Add another test.
32286
5197d9c2
AK
322872012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32288
32289 * sysdeps/s390/fpu/libm-test-ulps: Update.
32290
f0c1dedf
AJ
322912012-05-03 Andreas Jaeger <aj@suse.de>
32292
32293 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32294 does not get optimized out.
32295 (malloc_opt_barrier): New.
32296
a65ef2ae 322972012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 32298 Roland McGrath <roland@hack.frob.com>
a65ef2ae 32299
2b942cb7 32300 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 32301 intermediate file deletion.
2b942cb7 32302 (generated): Add .symlist files.
a65ef2ae 32303
54b71e02
JM
323042012-05-03 Joseph Myers <joseph@codesourcery.com>
32305
32306 [BZ #13775]
32307 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32308 Redirect under this condition.
32309 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32310 [__USE_GNU] (__dprintf_chk): Not under this condition.
32311 [__USE_GNU] (__vdprintf_chk): Likewise.
32312 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32313 under this condition.
32314 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32315 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32316 [__USE_XOPEN2K8] (vdprintf): Likewise.
32317 [__USE_GNU] (__dprintf_chk): Not under this condition.
32318 [__USE_GNU] (__vdprintf_chk): Likewise.
32319 [__USE_GNU] (dprintf): Likewise.
32320 [__USE_GNU] (vdprintf): Likewise.
32321
d3dfcc41
RM
323222012-05-03 Roland McGrath <roland@hack.frob.com>
32323
32324 * elf/Makefile (common-generated): Set this instead of generated for
32325 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32326 $(all-built-dso)-derived lists.
32327
7ac30cc5
AJ
323282012-05-03 Andreas Jaeger <aj@suse.de>
32329
0c51e550
AJ
32330 * sysdeps/i386/fpu/libm-test-ulps: Update.
32331
7ac30cc5
AJ
32332 * FAQ: Removed.
32333 * FAQ.in: Likewise.
32334 * scripts/gen-FAQ.pl: Likewise.
32335 * manual/install.texi (Installation): Point to online location of
32336 FAQ.
32337 * Makefile (files-for-dist): Remove FAQ.
32338 (FAQ): Remove.
32339
d4c2917f
AM
323402012-05-02 Allan McRae <allan@archlinux.org>
32341
32342 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32343 (LDFLAGS-reldepmod5.so): Likewise.
32344 (LDFLAGS-reldep6mod1.so): Likewise.
32345 (LDFLAGS-reldep6mod4.so): Likewise.
32346 (LDFLAGS-reldep8mod3.so): Likewise.
32347 (LDFLAGS-unload4mod1.so): Likewise.
32348 (LDFLAGS-unload4mod2.so): Likewise.
32349 (LDFLAGS-tst-initorder): Likewise.
32350 (LDFLAGS-tst-initordera2.so): Likewise.
32351 (LDFLAGS-tst-initordera3.so): Likewise.
32352 (LDFLAGS-tst-initordera4.so): Likewise.
32353 (LDFLAGS-tst-initorderb2.so): Likewise.
32354 (LDFLAGS-noload): Likewise.
32355 (LDFLAGS-next): Likewise.
32356 (LDFLAGS-order2mod1.so): Likewise.
32357 (LDFLAGS-order2mod2.so): Likewise.
32358 (LDFLAGS-tst-initorder2): Likewise.
32359 (LDFLAGS-tst-initorder2a.so): Likewise.
32360 (LDFLAGS-tst-initorder2b.so): Likewise.
32361 (LDFLAGS-tst-initorder2c.so): Likewise.
32362 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32363
d77f993f
DM
323642012-05-02 David S. Miller <davem@davemloft.net>
32365
32366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32367
171a70b4
PP
323682012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32369
32370 [BZ #14055]
32371 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32372
0be196ad
AJ
323732012-05-02 Andreas Jaeger <aj@suse.de>
32374
32375 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32376 since we manipulate rounding mode.
32377 (CPPFLAGS-test-idouble.c): Likewise.
32378 (CPPFLAGS-test-ifloat.c): Likewise.
32379 (CFLAGS-test-ldouble.c): Likewise.
32380 (CFLAGS-test-double.c): Likewise.
32381 (CFLAGS-test-float.c): Likewise.
32382 (CFLAGS-test-misc.c): Likewise.
32383 (CFLAGS-test-test-fenv.c): Likewise.
32384
4f9d04aa
AZ
323852012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32386
2b942cb7
RM
32387 [BZ #2550]
32388 [BZ #2570]
32389 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32390 comparisons to determine direction to adjust input.
4f9d04aa 32391
82a79e7d
RM
323922012-05-01 Roland McGrath <roland@hack.frob.com>
32393
f5a01ca9
RM
32394 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32395 output to the target.
32396
90fe4186
RM
32397 * scripts/localplt.awk: New file.
32398 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32399 (check-localplt-CFLAGS): Variable removed.
32400 ($(all-built-dso:=.jmprel)): New static pattern rule.
32401 (generated): Add those targets.
32402 (localplt-built-dso): New variable.
32403 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32404
32405 * elf/check-localplt.c: File removed.
32406
82397ed6
RM
32407 * scripts/check-execstack.awk: New file.
32408 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32409 (check-execstack-CFLAGS): Variable removed.
32410 ($(objpfx)check-execstack.h): Target removed.
32411 ($(objpfx)execstack-default): New target.
32412 (generated): Add that instead of check-execstack.h.
32413 ($(all-built-dso:=.phdr)): New static pattern rule.
32414 (generated): Add those targets.
32415 * elf/check-execstack.c: File removed.
32416
82a79e7d
RM
32417 * scripts/check-textrel.awk: New file.
32418 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32419 (check-textrel-CFLAGS): Variable removed.
32420 (all-built-dso): Use := to define.o
32421 ($(all-built-dso:=.dyn)): New static pattern rule.
32422 (generated): Add those targets.
32423 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32424 * config.make.in (READELF): New substituted variable.
32425 * elf/check-textrel.c: File removed.
32426
62fde54f 324272012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32428
615605c9
JM
32429 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32430 allow.
32431 * conform/data/ctype.h-data [C99-based standards] (isblank):
32432 Expect function.
32433 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32434 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32435 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32436 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32437 Specify type. Require positive value.
32438 (EILSEQ): Likewise.
32439 (ERANGE): Likewise.
32440 [ISO || POSIX] (EILSEQ): Do not expect.
32441 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32442 Specify type. Require positive value.
32443 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32444 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32445 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32446 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32447 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32448 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32449 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32450 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32451 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32452 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32453 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32454 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32455 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32456 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32457 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32458 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32459 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32460 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32461 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32462 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32463 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32464 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32465 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32466 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32467 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32468 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32469 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32470 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32471 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32472 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32473 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32474 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32475 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32476 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32477 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32478 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32479 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32480 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32481 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32482 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32483 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32484 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32485 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32486 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32487 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32488 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32489 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32490 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32491 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32492 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32493 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32494 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32495 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32496 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32497 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32498 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32499 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32500 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32501 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32502 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32503 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32504 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32505 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32506 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32507 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32508 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32509 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32510 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32511 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32512 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32513 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32514 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32515 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32516 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32517 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32518 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32519 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32520 Require >= 2.
32521 (FLT_ROUNDS): Expect as macro, not constant.
32522 (FLT_MANT_DIG): Use macro-int-constant.
32523 (DBL_MANT_DIG): Likewise.
32524 (LDBL_MANT_DIG): Likewise.
32525 (FLT_DIG): Likewise.
32526 (DBL_DIG): Likewise.
32527 (LDBL_DIG): Likewise.
32528 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32529 (DBL_MIN_EXP): Likewise.
32530 (LDBL_MIN_EXP): Likewise.
32531 (FLT_MAX_EXP): Use macro-int-constant.
32532 (DBL_MAX_EXP): Likewise.
32533 (LDBL_MAX_EXP): Likewise.
32534 (FLT_MAX_10_EXP): Likewise.
32535 (DBL_MAX_10_EXP): Likewise.
32536 (LDBL_MAX_10_EXP): Likewise.
32537 (FLT_MAX): Use macro-constant.
32538 (DBL_MAX): Likewise.
32539 (LDBL_MAX): Likewise.
32540 (FLT_EPSILON): Use macro-constant. Give upper bound.
32541 (DBL_EPSILON): Likewise.
32542 (LDBL_EPSILON): Likewise.
32543 (FLT_MIN): Likewise.
32544 (DBL_MIN): Likewise.
32545 (LDBL_MIN): Likewise.
32546 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32547 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32548 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32549 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32550 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32551 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32552 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32553 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32554 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32555 [ISO11] (FLT_TRUE_MIN): Likewise.
32556 [ISO11] (LDBL_TRUE_MIN): Likewise.
32557 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32558 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32559 (SCHAR_MIN): Use macro-int-constant. Specify type.
32560 (SCHAR_MAX): Likewise.
32561 (UCHAR_MAX): Likewise.
32562 (CHAR_MIN): Likewise.
32563 (CHAR_MAX): Likewise.
32564 (MB_LEN_MAX): Use macro-int-constant.
32565 (SHRT_MIN): Use macro-int-constant. Specify type.
32566 (SHRT_MAX): Likewise.
32567 (USHRT_MAX): Likewise.
32568 (INT_MAX): Likewise.
32569 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32570 bound negative.
32571 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32572 bound with "U".
32573 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32574 bound with "L".
32575 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32576 bound negative. Suffix upper bound with "L".
32577 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32578 bound with "UL".
32579 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32580 Specify type.
32581 [C99-based standards] (LLONG_MAX): Likewise.
32582 [C99-based standards] (ULLONG_MAX): Likewise.
32583 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32584 == 0.
32585 [ISO11] (max_align_t): Require type.
32586 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32587
c9140a62
JM
32588 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32589 from $CFLAGS, without defining away __attribute__ calls.
32590 (checknamespace): Use $CFLAGS_namespace.
32591
9af0bf29
JM
32592 * conform/conformtest.pl (@keywords): Only include C99 keywords
32593 for standards based on C99 or C11.
32594
343222a2
JM
32595 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32596 Disable tests.
32597 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32598 UNIX98]: Likewise.
32599
661f8cf0
JM
32600 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32601 usability of symbols in #if.
32602
ee74b9cb
JM
32603 * conform/conformtest.pl: If macro or constant types start
32604 "promoted:", expect the symbol to be of the following type
32605 promoted by the integer promotions.
62fde54f 32606
aafc49b3
JM
32607 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32608 in one place. Also handle "macro-constant".
32609
fefdf574
JM
32610 * conform/conformtest.pl: Only accept expected macro values with
32611 "==". Parse all "macro" lines in one place.
32612 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32613
f2d922fe
JM
32614 * conform/conformtest.pl: Handle braced types on "constant" lines
32615 instead of handling "typed-constant".
32616 * conform/data/signal.h-data: Use "constant" instead of
32617 "typed-constant".
32618
d22956c9
JM
32619 * conform/conformtest.pl: Handle "optional-" at start of lines in
32620 one place rather than duplicating several cases. Handle each
32621 format of "macro" line with initial "optional-".
32622
028e2e38
JM
32623 * conform/conformtest.pl: Only accept expected constant or
32624 optional-constant values with "==". Parse all "constant" lines in
32625 one place. Parse all "optional-constant" lines in one place.
32626 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32627 * conform/data/fmtmsg.h-data: Likewise.
32628 * conform/data/netinet/in.h-data: Likewise.
32629 * conform/data/tar.h-data: Likewise.
32630 * conform/data/limits.h-data: Use "==" form on "constant" and
32631 "optional-constant" lines.
32632
1b8f2850
JM
32633 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32634 Use -std=c99 for XOPEN2K.
32635 (@knownproblems): Remove.
32636 (newtoken): Don't check %isknown.
32637
a05a144b
JM
32638 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32639 Do not expect macro.
32640 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32641 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32642 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32643 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32644 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32645 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32646 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32647 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32648 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32649 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32650 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32651 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32652 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32653 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32654 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32660 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32661 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32662 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32663 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32664 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32665 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32666 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32667 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32668 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32669 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32670 [XPG3] (acosh): Likewise.
32671 [XPG3] (asinh): Likewise.
32672 [XPG3] (atanh): Likewise.
32673 [XPG3] (cbrt): Likewise.
32674 [XPG3] (expm1): Likewise.
32675 [XPG3] (ilogb): Likewise.
32676 [XPG3] (log1p): Likewise.
32677 [XPG3] (logb): Likewise.
32678 [XPG3] (nextafter): Likewise.
32679 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32680 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32681 [XPG3] (remainder): Likewise.
32682 [XPG3] (rint): Likewise.
32683 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32684 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32685 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32686 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32687 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32688 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32689 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32690 [UNIX98 || XOPEN2K] (scalb): Expect.
32691 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32692 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32693 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32694 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32695 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32696 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32697 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32698 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32699 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32700 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32701 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32702 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32703 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32704 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32705 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32706 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32707 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32708 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32709 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32710 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32711 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32712 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32713 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32714 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32715 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32716 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32717 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32718 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32719 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32720 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32721 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32722 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32723 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32724 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32725 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32726 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32727 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32728 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32729 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32730 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32731 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32732 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32733 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32734 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32735 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32736 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32737 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32738 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32739 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32740 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32741 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32742 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32743 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32744 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32745 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32746 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32747 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32748 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32749 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32750 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32751 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32752 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32753 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32754 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32755 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32756 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32757 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32758 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32759 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32760 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32761 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32762 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32763 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32764 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32765 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32766 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32767 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32768 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32769 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32770 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32771 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32772 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32773 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32774 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32775 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32776 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32777 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32778 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32779 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32780 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32781 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32782 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32783 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32784 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32785 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32786 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32787 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32788 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32789 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32790 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32791 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32792 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32793 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32794 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32795 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32796 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32797 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32798 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32799 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32800 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32801 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32802 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32803 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32804 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32805 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32806 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32807 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32808 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32809 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32810 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32811 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32812 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32813 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32814 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32815 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32816 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32817 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32818 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32819 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32820 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32821 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32822 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32823 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32824 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32825 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32826 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32827 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32828
73c5ebe3
JM
32829 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32830 _XOPEN_SOURCE_EXTENDED for XPG4.
32831
39c33b6c
JM
32832 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32833
62fde54f
JM
32834 * Makeconfig (localtime): Remove variable.
32835 (inst_localtime-file): Likewise.
32836
0741d64c
AS
328372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32838
32839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32840 Update.
32841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32842 Update.
32843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32844 Update.
32845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32846 Update.
32847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32848 Update.
32849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32850 Update.
32851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32852 Update.
32853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32854 Update.
32855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32856 Update.
32857
7cb029ee
JM
328582012-05-01 Joseph Myers <joseph@codesourcery.com>
32859
32860 [BZ #2550]
32861 [BZ #2570]
32862 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32863 comparisons to determine direction to adjust input.
32864 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32865 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32866 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32867 Likewise.
32868 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32869 Likewise.
32870 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32871 Likewise.
32872 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32873 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32874 Likewise.
32875 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32876 Likewise.
32877 * math/libm-test.inc (nexttoward_test): Add more tests.
32878
412bd966
AS
328792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32880
32881 [BZ #14040]
32882 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32883 in version GLIBC_2.1, not GLIBC_2.0.
32884 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32885 Likewise.
32886
9568c0c2
JM
328872012-04-30 Joseph Myers <joseph@codesourcery.com>
32888
adfbc8ac
JM
32889 [BZ #13942]
32890 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32891 (1 - x) * (1 + x).
32892 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32893 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32894 * math/libm-test.inc (acos_test): Add more tests.
32895 (asin_test): Likewise.
32896 * sysdeps/i386/fpu/libm-test-ulps: Update.
32897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32898
5ba3cc69
JM
32899 [BZ #14034]
32900 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32901 of square root.
32902 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32903 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32904 * math/libm-test.inc (acos_test_tonearest): New function.
32905 (acos_test_towardzero): Likewise.
32906 (acos_test_downward): Likewise.
32907 (acos_test_upward): Likewise.
32908 (asin_test_tonearest): Likewise.
32909 (asin_test_towardzero): Likewise.
32910 (asin_test_downward): Likewise.
32911 (asin_test_upward): Likewise.
32912 (main): Call the new functions.
32913 * sysdeps/i386/fpu/libm-test-ulps: Update.
32914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32915
9568c0c2
JM
32916 [BZ #13884]
32917 [BZ #13924]
32918 * math/e_exp10.c: Include <float.h>.
32919 (__ieee754_exp10): Handle underflow here rather than multiplying
32920 large negative argument by M_LN10.
32921 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32922 of __ieee754_expf.
32923 * math/e_exp10l.c: Include <float.h>.
32924 (__ieee754_exp10l): Handle underflow here rather than multiplying
32925 large negative argument by M_LN10l.
32926 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32927 spurious overflow exception on underflow.
32928
5ac3ea17
MP
329292012-04-29 Marek Polacek <polacek@redhat.com>
32930
32931 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32932 (__fortify_function): New macro.
32933 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32934 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32935 __extern_always_inline.
32936 * libio/bits/stdio2.h: Likewise.
32937 * libio/bits/stdio.h: Likewise.
32938 * string/string.h: Likewise.
32939 * string/bits/string3.h: Likewise.
32940 * include/stdio.h: Likewise.
32941 * stdlib/bits/stdlib.h: Likewise.
32942 * stdlib/stdlib.h: Likewise.
32943 * rt/bits/mqueue2.h: Likewise.
32944 * rt/mqueue.h: Likewise.
32945 * posix/bits/unistd.h: Likewise.
32946 * posix/unistd.h: Likewise.
32947 * io/bits/poll2.h: Likewise.
32948 * io/bits/fcntl2.h: Likewise.
32949 * io/fcntl.h: Likewise.
32950 * io/sys/poll.h: Likewise.
32951 * misc/bits/syslog.h: Likewise.
32952 * misc/bits/syslog-ldbl.h: Likewise.
32953 * misc/sys/syslog.h: Likewise.
32954 * socket/bits/socket2.h: Likewise.
32955 * socket/sys/socket.h: Likewise.
32956 * debug/tst-chk1.c: Likewise.
32957 * wcsmbs/bits/wchar2.h: Likewise.
32958 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32959 * wcsmbs/wchar.h: Likewise.
32960
ecf0ebfb
AJ
329612012-04-29 Andreas Jaeger <aj@suse.de>
32962
32963 * Makerules (tests): Remove enable-check-abi protection.
32964 (check-abi-warn): Remove.
32965 (check-abi-%): Remove check-abi-warn usage.
32966
32967 * configure.in: Remove check-abi configure option.
32968 * configure: Regenerated.
32969 * config.make.in (enable-check-abi): Remove.
32970
6d5c57fa
AS
329712012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32972
24c5d07e 32973 [BZ #14033]
ded5180a
AS
32974 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32975 double functions to double *_finite functions.
32976
7e0d315d
AS
32977 [BZ #13941]
32978 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32979 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32980 LDBL_MIN_EXP.
32981 * stdio-common/Makefile (tests): Add tst-sprintf3.
32982 * stdio-common/tst-sprintf3.c: New file.
32983
6d5c57fa
AS
32984 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32985 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32986
0749ff8b
JM
329872012-04-28 Joseph Myers <joseph@codesourcery.com>
32988
32989 * conform/conformtest.pl: Remove duplicate typed-constant
32990 handling.
32991
8dbd5d7b
DM
329922012-04-28 David S. Miller <davem@davemloft.net>
32993
32994 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32995 (check-abi-%): Remove AWK script prerequisite and explicit
32996 abilist directory.
32997 (check-abi): Rewrite to just diff the symlist with the abilist.
32998 (config-tls, config-abi-config): Delete, no longer used.
32999 (update-abi-%): Remove AWK script and explicit abilist directory.
33000 (update-abi): Rewrite to simply compare and conditionally copy the
33001 symlist and the sysdep abilist file. Remove update-abi-config
33002 checks.
33003 * abilist/ld.abilist: Remove.
33004 * abilist/libBrokenLocale.abilist: Remove.
33005 * abilist/libanl.abilist: Remove.
33006 * abilist/libcrypt.abilist: Remove.
33007 * abilist/libdl.abilist: Remove.
33008 * abilist/librt.abilist: Remove.
33009 * abilist/libthread_db.abilist: Remove.
33010 * abilist/libutil.abilist: Remove.
33011 * scripts/extract-abilist.awk: Remove.
33012 * scripts/merge-abilist.awk: Remove.
33013 * sysdeps/generic/libcidn.abilist: New file.
33014 * sysdeps/generic/libnss_compat.abilist: New file.
33015 * sysdeps/generic/libnss_db.abilist: New file.
33016 * sysdeps/generic/libnss_dns.abilist: New file.
33017 * sysdeps/generic/libnss_files.abilist: New file.
33018 * sysdeps/generic/libnss_hesiod.abilist: New file.
33019 * sysdeps/generic/libnss_nis.abilist: New file.
33020 * sysdeps/generic/libnss_nisplus.abilist: New file.
33021 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33022 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33023 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33024 file.
33025 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33026 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33027 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33028 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33029 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33030 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33031 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33032 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33033 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33034 file.
33035 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33036 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33037 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33038 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33039 file.
33040 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33041 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33042 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33043 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33044 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33045 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33046 file.
33047 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33048 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33049 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33050 file.
33051 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33053 New file.
33054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33055 New file.
33056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33057 New file.
33058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33059 New file.
33060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33061 New file.
33062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33063 New file.
33064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33065 New file.
33066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33067 New file.
33068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33069 New file.
33070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33071 New file.
33072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33073 New file.
33074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33075 New file.
33076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33077 New file.
33078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33079 file.
33080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33081 New file.
33082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33083 New file.
33084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33085 file.
33086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33087 New file.
33088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33089 New file.
33090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33091 file.
33092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33093 New file.
33094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33095 New file.
33096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33097 New file.
33098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33099 New file.
33100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33101 New file.
33102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33103 New file.
33104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33106 file.
33107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33108 New file.
33109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33110 file.
33111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33112 file.
33113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33114 file.
33115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33116 file.
33117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33118 file.
33119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33120 New file.
33121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33122 file.
33123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33124 file.
33125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33126 New file.
33127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33128 file.
33129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33131 file.
33132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33133 New file.
33134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33135 file.
33136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33137 file.
33138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33139 file.
33140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33141 file.
33142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33143 file.
33144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33145 New file.
33146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33147 file.
33148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33149 file.
33150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33151 New file.
33152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33153 file.
33154 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33155 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33156 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33157 file.
33158 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33159 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33160 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33161 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33162 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33163 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33164 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33165 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33166 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33167 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33170 file.
33171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33172 New file.
33173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33174 file.
33175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33176 file.
33177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33178 file.
33179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33180 file.
33181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33182 file.
33183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33184 New file.
33185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33186 New file.
33187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33188 file.
33189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33190 New file.
33191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33192 file.
33193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33195 file.
33196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33197 New file.
33198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33199 file.
33200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33201 file.
33202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33203 file.
33204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33205 file.
33206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33207 file.
33208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33209 New file.
33210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33211 New file.
33212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33213 file.
33214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33215 New file.
33216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33217 file.
33218
41d73a1b
JM
332192012-04-28 Joseph Myers <joseph@codesourcery.com>
33220
33221 * conform/conformtest.pl: Fix typo in handling typed-constant from
33222 allow-header.
33223
28aeeda4
JM
332242012-04-27 Joseph Myers <joseph@codesourcery.com>
33225
adae8f5e
JM
33226 * README: Cut down references to pre-2.6 Linux kernels and
33227 Linuxthreads. Update lists of configurations in libc and ports
33228 and sort alphabetically. Say "or newer" with Linux kernel version
33229 requirements.
33230
28aeeda4
JM
33231 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33232
a462cb63
RA
332332012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33234
33235 [BZ #887]
33236 * math/libm-test.inc (logb_test_downward): New test to expose
33237 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33238 rounding mode.
33239
6ad3493e
JM
332402012-04-27 Joseph Myers <joseph@codesourcery.com>
33241
33242 [BZ #14027]
33243 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33244 to be done.
33245 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33246 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33247
2ce4f015
JM
332482012-04-26 Joseph Myers <joseph@codesourcery.com>
33249
5aeb141a
JM
33250 * sysdeps/unix/i386/brk.S: Remove file.
33251 * sysdeps/unix/i386/dl-brk.S: Likewise.
33252 * sysdeps/unix/i386/pipe.S: Likewise.
33253 * sysdeps/unix/i386/sigreturn.S: Likewise.
33254 * sysdeps/unix/i386/syscall.S: Likewise.
33255 * sysdeps/unix/i386/vfork.S: Likewise.
33256 * sysdeps/unix/i386/wait.S: Likewise.
33257
7143acae
JM
33258 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33259 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33260
2ce4f015
JM
33261 * configure.in (arm*-none*): Do not allow without
33262 --enable-hacker-mode.
33263 (netbsd*): Remove case setting base_os.
33264 (386bsd*): Likewise.
33265 (freebsd*): Likewise.
33266 (bsdi*): Likewise.
33267 (osf*): Likewise.
33268 (sunos*): Likewise.
33269 (ultrix*): Likewise.
33270 (newsos*): Likewise.
33271 (dynix*): Likewise.
33272 (*bsd*): Likewise.
33273 (sysv*): Likewise.
33274 (isc*): Likewise.
33275 (esix*): Likewise.
33276 (sco*): Likewise.
33277 (minix*): Likewise.
33278 (irix4*): Likewise.
33279 (irix6*): Likewise.
33280 (solaris[2-9]*): Likewise.
33281 (none): Likewise.
33282 * configure: Regenerated.
33283
0ac229c8
AZ
332842012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33285
33286 [BZ #11521]
33287 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33288 overflow or cancellation in calculating denominator.
33289 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33290 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33291 down expression to avoid unexpected rounding in newer GCCs.
33292 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33293
33f244f4
DM
332942012-04-26 David S. Miller <davem@davemloft.net>
33295
33296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33297 long-double compat symbols.
33298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33311
cfa1f3e8
DM
333122012-04-25 David S. Miller <davem@davemloft.net>
33313
33314 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33315 HWCAP_* values only after the memory barriers have been defined.
33316 (atomic_full_barrier): Define.
33317 (atomic_read_barrier): Define.
33318 (atomic_write_barrier): Define.
33319
6e236b92
SP
333202012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33321
33322 * shlib-versions: Add libgcc_s version information.
33323 * sysdeps/generic/libgcc_s.h: Remove.
33324 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33325 libgcc_s.h.
33326 * sysdeps/gnu/unwind-resume.c: Likewise.
33327 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33328
aab39a09
DM
333292012-04-25 David S. Miller <davem@davemloft.net>
33330
33331 * sysdeps/unix/sparc/brk.S: Delete.
33332 * sysdeps/unix/sparc/dl-brk.S: Delete.
33333 * sysdeps/unix/sparc/pipe.S: Delete.
33334 * sysdeps/unix/sparc/sysdep.S: Delete.
33335 * sysdeps/unix/sparc/sysdep.h: Delete.
33336 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
33337 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33338 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33339 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33340 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
33341 (JUMPTARGET): Remove.
33342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33343 sysdeps/unix/sparc/sysdep.h
33344 (ENTRY, END): Remove.
33345 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33346
a3cc4f48
JM
333472012-04-25 Joseph Myers <joseph@codesourcery.com>
33348
2ed8cda2
JM
33349 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33350 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33351 -DIS_IN_build.
33352
35d76d59
JM
33353 * timezone/README: Update upstream location and email address for
33354 tzcode and tzdata.
33355 * timezone/zdump.c: Update from tzcode 2012b.
33356 * timezone/zic.c: Likewise.
33357
a3cc4f48
JM
33358 * configure.in (libc_cv_as_needed): Remove test.
33359 * configure: Regenerated.
33360 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33361 conditional definition.
33362 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33363 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33364 * config.make.in (have-as-needed): Remove variable.
33365
ceab42c3
SP
333662012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33367 Paul Pluzhnikov <ppluzhnikov@google.com>
33368
33369 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33370 strings correctly.
33371
3ce2865f
CLT
333722012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33373
33374 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33375 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33376 * sysdeps/sh/strlen.S: Likewise.
33377
f37e0d68
JM
333782012-04-24 Joseph Myers <joseph@codesourcery.com>
33379
ae186e9a
JM
33380 * sysdeps/unix/fork.S: Remove file.
33381 * sysdeps/unix/i386/fork.S: Likewise.
33382 * sysdeps/unix/sparc/fork.S: Likewise.
33383
b96914af
JM
33384 * sysdeps/unix/system.c: Remove file.
33385 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33386
f37e0d68
JM
33387 * sysdeps/unix/getegid.S: Remove file.
33388 * sysdeps/unix/geteuid.S: Likewise.
33389
87ef29ca
RM
333902012-04-24 Roland McGrath <roland@hack.frob.com>
33391
83bcd236
RM
33392 * scripts/check-localplt.awk: New file.
33393 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33394 of diff.
33395 * scripts/data/localplt-generic.data: Add a comment.
33396
87ef29ca
RM
33397 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33398 NODE when __dir_mkfile failed.
33399 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33400 Reported by Ludovic Courtès <ludo@gnu.org>.
33401
e5a6e567
AJ
334022012-04-24 Andreas Jaeger <aj@suse.de>
33403
33404 * Makerules (common-clean): Also remove gen-as-const-headers
33405 files.
33406
c1820385
JM
334072012-04-24 Joseph Myers <joseph@codesourcery.com>
33408
33409 * Makerules (native-compile): Do not change working directory for
33410 build. Use $(OUTPUT_OPTION) in command.
33411 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33412
94e02fc4
AZ
334132012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33414
33415 [BZ #13886]
33416 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33417 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33418 * math/libm-test.inc (floor_test): Add more tests.
33419 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33420
3a533ca3
JM
334212012-04-24 Joseph Myers <joseph@codesourcery.com>
33422
940ab4b3
JM
33423 * sysdeps/unix/getdents.c: Remove file.
33424 * sysdeps/unix/sysv/getdents.c: Likewise.
33425 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33426
90e037bd
JM
33427 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33428 sysdeps/unix/mman/syscalls.list.
33429 (mmap): Likewise.
33430 (mprotect): Likewise.
33431 (msync): Likewise.
33432 (munmap): Likewise.
33433 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33434 * sysdeps/unix/mman/syscalls.list: Remove.
33435 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33436
3a533ca3
JM
33437 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33438 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33439 * configure: Regenerated.
33440 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33441 $(libgcc_s_suffix).
33442 * config.make.in (libgcc_s_suffix): Remove variable.
33443
1ad743de
JM
334442012-04-23 Joseph Myers <joseph@codesourcery.com>
33445
4ad451e2
JM
33446 * sysdeps/unix/sysv/gethostname.c: Move to ...
33447 * sysdeps/posix/gethostname.c: ... here.
33448
5e37ce39
JM
33449 * sysdeps/unix/execve.S: Remove file.
33450
1ad743de
JM
33451 * sysdeps/unix/_exit.S: Remove file.
33452
4e681b5b
AJ
334532012-04-23 Andreas Jaeger <aj@suse.de>
33454
33455 [BZ #13739]
33456 * manual/Makefile: Remove make dist support, there's no
33457 need for a stand-alone documentation tar ball.
33458 (TEXI2DVI): Define always, it's not in Makeconfig.
33459 (dist): Removed.
33460 (tar-it): Removed.
33461 (edition): Removed.
33462 (glibc-doc-$(edition).tar): Removed
33463 (%.Z): Removed.
33464 (%.gz): Removed.
33465 (%.uu): Removed.
33466 (ETAGS): Remove, it's in Makeconfig.
33467 (move-if-change): Remove, it's in Makeconfig.
33468
38686a03 334692012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33470
33471 [BZ #13970]
33472 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33473 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33474 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33475 (strtod_l, strtof_l, strtold_l): Remove __wur.
33476 It is not necessarily an error to ignore strtol's return value.
33477 One can reliably look at the stored endptr to decide whether
33478 the number had valid syntax.
33479
7c0616fa
AJ
334802012-04-21 Andreas Jaeger <aj@suse.de>
33481
803cb6b7 33482 [BZ #13739]
7c0616fa
AJ
33483 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33484
b0fe253f
JM
334852012-04-21 Joseph Myers <joseph@codesourcery.com>
33486
33487 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33488 * sysdeps/unix/sysv/Versions: Remove file.
33489
8280f22d
MT
334902012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33491
33492 [BZ #13927]
33493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33494
75ce411f 334952012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
33496
33497 [BZ #7064]
33498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33499 version from __vm86.
33500
097d59fa
JM
335012012-04-20 Joseph Myers <joseph@codesourcery.com>
33502
a90f3bcb
JM
33503 * sysdeps/unix/common/lxstat.c: Remove file.
33504 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33505
edc7ea78
JM
33506 * sysdeps/unix/sysv/Makefile: Remove file.
33507
cb78c221
JM
33508 * sysdeps/unix/sysv/direct.h: Remove file.
33509
efa6a45f
JM
33510 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33511 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33512 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33513 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33514 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33515 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33516 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33517
9c9f2d0c
JM
33518 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33519
4541c83b
JM
33520 * sysdeps/unix/xmknod.c: Remove file.
33521 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33522
f5d153a0
JM
33523 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33524
aa746595
JM
33525 * sysdeps/unix/sysv/i386/time.S: Remove file.
33526
cce5905e
JM
33527 * sysdeps/unix/fxstat.c: Remove file.
33528 * sysdeps/unix/xstat.c: Likewise.
33529 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33530
37fa3841
JM
33531 * sysdeps/unix/sysv/sigaction.c: Remove file.
33532
ff1962a3
JM
33533 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33534 (sysdep_headers): Remove variable.
33535 [termio.h not in sysdep_headers] (generated): Likewise.
33536 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33537 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33538 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33539 * sysdeps/unix/sysv/tcflow.c: Likewise.
33540 * sysdeps/unix/sysv/tcflush.c: Likewise.
33541 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33542 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33543 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33544 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33545 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33546
e7740d31
JM
33547 * sysdeps/unix/siglist.c: Remove file.
33548
ee06f18b
JM
33549 * sysdeps/unix/getppid.S: Remove file.
33550
097d59fa
JM
33551 * sysdeps/unix/mkdir.c: Remove file.
33552 * sysdeps/unix/rmdir.c: Likewise.
33553
ff3d51ec
AS
335542012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33555
33556 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33557 ERR_MAX value.
33558 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33559 errlist-compat value.
33560
50f81fd7
DM
335612012-04-18 David S. Miller <davem@davemloft.net>
33562
33563 * sysdeps/generic/memcopy.h (reg_char): Delete.
33564 * debug/strcat_chk.c: Use char, not reg_char.
33565 * debug/strcpy_chk.c: Likewise.
33566 * debug/strncat_chk.c: Likewise.
33567 * debug/strncpy_chk.c: Likewise.
33568 * string/memchr.c: Likewise.
33569 * string/memrchr.c: Likewise.
33570 * string/rawmemchr.c: Likewise.
33571 * string/strcat.c: Likewise.
33572 * string/strchr.c: Likewise.
33573 * string/strchrnul.c: Likewise.
33574 * string/strcmp.c: Likewise.
33575 * string/strcpy.c: Likewise.
33576 * string/strncat.c: Likewise.
33577 * string/strncmp.c: Likewise.
33578 * string/strncpy.c: Likewise.
33579
8ff41c46
WS
335802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33581
33582 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33583 __builtin_memcopy is called when src and dest ranges are known to not
33584 overlap.
33585
6b652f46
WS
335862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33587
33588 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33589 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33590 fwd_align_merge macro call.
33591 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33592 bwd_align_merge macro call.
33593 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33594
b282631e
WS
335952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33596
33597 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33598 bwd_align_merge macros.
33599 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33600 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33601 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33602
95aa737c
DM
336032012-04-18 David S. Miller <davem@davemloft.net>
33604
33605 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33606
7a99a614
AJ
336072012-04-18 Andreas Jaeger <aj@suse.de>
33608
33609 [BZ# 6794]
33610 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33611 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33612 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33613
33614 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33615 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33616 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33617
33618 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33619 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33620 Adjust for changed ldbl-128 files.
33621
33622 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33623 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33624 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33625
e5270c23
DM
336262012-04-17 David S. Miller <davem@davemloft.net>
33627
33628 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33629
fb5e92c9
AS
336302012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33631
33632 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33633 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33634 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33635 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33636 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33637 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33638
76da7265
AZ
336392012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33640
33641 [BZ #6794]
33642 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33643 * math/libm-test.inc: Add ilogb errno and exception tests.
33644 * math/w_ilogb.c: New file: ilogb wrapper.
33645 * math/w_ilogbf.c: New file: ilogbf wrapper.
33646 * math/w_ilogbl.c: New file: ilogbl wrapper.
33647 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33648 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33649 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33650 exception being thrown with 0.0 as argument.
33651 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33652 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33653 exception being thrown with 0.0 as argument.
33654 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33655 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33656 exception being thrown with 0.0 as argument.
33657 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33658 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33659 exception being thrown with 0.0 as argument.
33660 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33661 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33662 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33663 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33664 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33665 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33666 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33667 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33668 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33669
0396e69d
PB
336702012-04-17 Petr Baudis <pasky@ucw.cz>
33671
33672 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33673 with altivec.
33674
750b5926
MP
336752012-04-16 Marek Polacek <polacek@redhat.com>
33676
33677 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33678
751728a1
MP
336792012-04-16 Marek Polacek <polacek@redhat.com>
33680
33681 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33682 operands of fdivp instruction.
33683
34a27407
L
336842012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33685
33686 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33687 * elf/tst-auditmod3b.c: Likewise.
33688 * elf/tst-auditmod4b.c: Likewise.
33689 * elf/tst-auditmod5b.c: Likewise.
33690 * elf/tst-auditmod6b.c: Likewise.
33691 * elf/tst-auditmod6c.c: Likewise.
33692 * elf/tst-auditmod7b.c: Likewise.
33693 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33694 * sysdeps/x86_64/preconfigure.in: Likewise.
33695 * sysdeps/x86_64/preconfigure: Regenerated.
33696
7e73e17d
L
336972012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33698
33699 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33700 __ILP32__.
33701
c7a6ab72
AB
337022012-04-13 Antoine Balestrat <merkil33@gmail.com>
33703
33704 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33705 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33706
a9e8e0e0
CL
337072012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33708
33709 [BZ #13973]
33710 * locale/iso-639.def: Fix gl language name. Spotted by
33711 Yaron Shahrabani.
33712
ec98af7d
RM
337132012-04-12 Roland McGrath <roland@hack.frob.com>
33714
33715 [BZ #2074]
33716 * libio/libio.h (__io_write_fn): Update comment.
33717
247c3ede
PB
337182012-04-12 Petr Baudis <pasky@ucw.cz>
33719
33720 [BZ #2074]
33721 * stdio.texi (Hook Functions): The user provided writer function
33722 is not allowed to return -1.
33723
55939d6d
DM
337242012-04-11 David S. Miller <davem@davemloft.net>
33725
33726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33727
90020f5a
MF
337282012-04-11 Mike Frysinger <vapier@gentoo.org>
33729
33730 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33731 Add a leading slash to rtkaio.
33732
288f9098
JM
337332012-04-11 Jim Meyering <meyering@redhat.com>
33734
90020f5a
MF
33735 [BZ #11959]
33736 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33737 It is not necessarily an error to ignore fwrite's return
33738 value. One can reliably use ferror to test for errors after
33739 the fact.
288f9098 33740
4be2b570
L
337412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33742
33743 * bits/types.h (__snseconds_t): New type.
33744 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33745
33746 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33747 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33748 (__SNSECONDS_T_TYPE): Likewise.
33749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33750 (__SNSECONDS_T_TYPE): Likewise.
33751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33752 (__SNSECONDS_T_TYPE): Likewise.
33753
288f9098 337542012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33755
33756 [BZ #2636]
33757 * manual/time.texi (Processor Time): Return type of times is
33758 elapsed real time since an arbitrary point in the past.
33759 (CPU Time): Move CLK_TCK from here...
33760 (Processor Time): ...to here. Correct description.
33761 * manual/conf.texi (Constants for Sysconf): Correct description of
33762 _SC_CLK_TCK.
33763
d7dd4413
DM
337642012-04-10 David S. Miller <davem@davemloft.net>
33765
33766 [BZ #13967]
33767 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33768 where the is a gap between DT_REL(A) and DT_JMPREL.
33769
b46068fc
L
337702012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33771
33772 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33773 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33774 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33775
73d65cc3
SP
337762012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33777
33778 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33779 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33780 (dl_main): Handle --inhibit-cache.
33781 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33782 _dl_inhibit_cache.
33783 * elf/dl-load.c (_dl_map_object): Use it.
33784 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33785
bcc8d661
JM
337862012-04-09 Joseph Myers <joseph@codesourcery.com>
33787
8f9a2fae
JM
33788 [BZ #13872]
33789 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33790 (__ieee754_powl): Saturate large exponents rather than testing for
33791 overflow of y*log2(x).
33792 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33793 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33794 exceptions.
33795
bcc8d661
JM
33796 [BZ #11521]
33797 * math/s_ctan.c: Include <float.h>.
33798 (__ctan): Avoid internal overflow or cancellation in calculating
33799 denominator.
33800 * math/s_ctanf.c: Likewise.
33801 * math/s_ctanl.c: Likewise.
33802 * math/s_ctanh.c: Likewise.
33803 * math/s_ctanhf.c: Likewise.
33804 * math/s_ctanhl.c: Likewise.
33805 * math/libm-test.inc (ctan_test): Add more tests.
33806 (ctanh_test): Likewise.
33807 * sysdeps/i386/fpu/libm-test-ulps: Update.
33808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33809
823fbbb4
AJ
338102012-04-09 Andreas Jaeger <aj@suse.de>
33811
03879793
AJ
33812 [BZ #6894]
33813 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33814 is an optional BSD extension.
33815
823fbbb4
AJ
33816 [BZ #10254]
33817 * manual/stdio.texi (Opening Streams): Document additional fopen
33818 parameters.
33819
8de131cb
RM
338202012-04-09 Roland McGrath <roland@hack.frob.com>
33821
33822 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33823 %eax without telling the compiler.
33824
c0ed9d7d
CD
338252012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33826
33827 [BZ # 13963]
33828 * manual/install.texi: Use sourceware.org.
33829
c483f6b4
JM
338302012-04-09 Joseph Myers <joseph@codesourcery.com>
33831
d7dd9453
JM
33832 [BZ #13873]
33833 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33834 (__ieee754_pow): Generate overflow and underflow using huge*huge
33835 and tiny*tiny rather than just returning constant infinity or zero
33836 for large exponents.
33837 * math/libm-test.inc (pow_test): Require overflow exceptions for
33838 applicable cases of large exponents.
33839
c483f6b4
JM
33840 [BZ #706]
33841 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33842 (__ieee754_pow): Use iterative multiplication algorithm only for
33843 integer exponents with absolute value below 1024. Check for odd
33844 integer exponents when using algorithm for real exponents.
33845 * math/libm-test.inc (pow_test): Add more tests.
33846 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33847
d2de7579
JM
338482012-04-08 Joseph Myers <joseph@codesourcery.com>
33849
33850 [BZ #13705]
33851 * math/libm-test.inc (exp_test): Do not allow overflow exception
33852 on underflow test.
33853
f77f1232
AJ
338542012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33855
33856 [BZ #13705]
33857 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33858 instead of __kernel_standard_f.
33859
3884932b
MF
338602012-04-08 Mike Frysinger <vapier@gentoo.org>
33861
33862 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33863 * sysdeps/x86_64/memset_chk.S: Likewise.
33864
54472e9c
AJ
338652012-04-08 Andreas Jaeger <aj@suse.de>
33866
6ab0fbfc
AJ
33867 [BZ #10153]
33868 * manual/startup.texi (Environment Access): Describe return value
33869 for putenv and setenv.
33870
61efba8c
AJ
33871 [BZ #6895]
33872 * manual/filesys.texi (Directory Entries): Add description for
33873 DT_LNK.
33874
95c3f29a
AJ
33875 [BZ #6890]
33876 * manual/filesys.texi (Directory Entries): Clarify that it's file
33877 system not operating system in the description of DT_UNKNOWN.
33878
54472e9c
AJ
33879 [BZ #6578]
33880 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33881
624254b1
SC
338822012-04-08 Stephen Compall <s11@member.fsf.org>
33883
33884 [BZ #6649]
33885 * manual/llio.texi (Opening and Closing Files): Add cross
33886 reference to explain mode argument.
33887
1e4920e0
MF
338882012-04-07 Mike Frysinger <vapier@gentoo.org>
33889
33890 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33891 * sysdeps/x86_64/memset_chk.S: Likewise.
33892
5ed848f3
DM
338932012-04-07 David S. Miller <davem@davemloft.net>
33894
33895 * elf/elf.h (R_SPARC_WDISP10): Define.
33896 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33897 R_SPARC_SIZE32.
33898 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33899 R_SPARC_SIZE64 and R_SPARC_H34.
33900
96154cd8
CD
339012012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33902
33903 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33904 conditions and remove no longer applicable assertion.
33905
9904dc47
L
339062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33907
33908 * bits/byteswap.h: Include <features.h>.
33909 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33910 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33911
f8887d0a
L
339122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33913
33914 * bits/byteswap.h (__bswap_16): Removed.
33915 Include <bits/byteswap-16.h> to get __bswap_16.
33916 * sysdeps/i386/bits/byteswap.h: Likewise.
33917 * sysdeps/s390/bits/byteswap.h: Likewise.
33918 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33919 * bits/byteswap-16.h: New file.
33920 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33921 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33922 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33923 * string/Makefile (headers): Add bits/byteswap-16.h.
33924
62470f60
PP
339252012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33926
33927 [BZ #13895]
33928 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33929 extra indirection.
33930 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33931 * nss/tst-nss-static.c: New.
33932
4dad7bab
RM
339332012-04-06 Robert Millan <rmh@gnu.org>
33934
33935 [BZ #6486]
33936 * manual/llio.texi (File Position Primitive): lseek
33937 refers to WHENCE when it really means OFFSET.
33938
e9142a17
AJ
339392012-04-06 Andreas Jaeger <aj@suse.de>
33940
2c040eff
AJ
33941 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33942 strncmp declarations.
33943
e9142a17
AJ
33944 * abilist/libc.abilist: Add __poll and __ppoll.
33945
ff9f1c5f
DM
339462012-04-05 David S. Miller <davem@davemloft.net>
33947
dcd2ae90
DM
33948 * scripts/check-local-headers.sh: Accept a host triplet in the
33949 path matched by the exclude regexp.
33950
993eb054
DM
33951 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33952 definition.
33953 * sysdeps/powerpc/powerpc32/dl-machine.h
33954 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33955 * sysdeps/s390/s390-32/dl-machine.h
33956 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33957 * sysdeps/sparc/sparc32/dl-machine.h
33958 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33959 * sysdeps/sparc/sparc64/dl-machine.h
33960 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33961
ff9f1c5f
DM
33962 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33963 lazy binding.
48e2e132 33964 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33965 undefined symbol errors.
33966
48e2e132 33967 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33968 DT_NEEDED entries.
33969
e80d6f94
MM
339702012-04-05 Michael Matz <matz@suse.de>
33971
33972 [BZ #13592]
33973 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33974
349fa79f
AJ
339752012-04-05 Andreas Jaeger <aj@suse.de>
33976
33977 [BZ #13908]
33978 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33979 comment.
33980
f402708f
KK
339812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33982
33983 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33984 which ROUND is no valid rounding mode.
33985
2ecccfc9
KK
339862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33987
33988 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33989 read again.
33990 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33991
8a53f50f
KK
339922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33993
33994 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33995 an exception using FPU order intentionally.
33996
339972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33998
33999 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34000 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34001 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34002 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34003
d653abb7
SJ
340042012-04-05 Simon Josefsson <simon@josefsson.org>
34005
34006 [BZ #12340]
34007 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34008 EINVAL when BUFLEN is too smal.
34009
c3b1bf7d
TS
340102012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34011
34012 [BZ #13553]
34013 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34014 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34015
b1aa60f3
AJ
340162012-04-03 Andreas Jaeger <aj@suse.de>
34017
c3b1bf7d 34018 [BZ #13938]
67f60a26
AJ
34019 * manual/setjmp.texi (System V contexts): Fix sentence.
34020
b1aa60f3
AJ
34021 [BZ #13926]
34022 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34023 New macro for this case.
34024 [!__GNUC__] (__bswap_64): New inline function for this case.
34025 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34026 * bits/byteswap.h: Likewise.
34027 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34028 ull, guard with __GLIBC_HAVE_LONG_LONG.
34029
34030 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34031 __GLIBC_HAVE_LONG_LONG.
34032
34033 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34034 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34035
39c59c35
TMQMF
340362012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34037
34038 [BZ #13691]
34039 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34040 inptr and inend, rather than using last_ch.
34041
135ffda8
DM
340422012-04-02 David S. Miller <davem@davemloft.net>
34043
34044 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34045 * stdio-common/printf-parse.h (read_int): Change return type to
34046 'int', return -1 on INT_MAX overflow.
34047 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34048 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34049 overflows INT_MAX. Check for overflow of in-format-string precision
34050 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34051 SIZE_MAX not INT_MAX for integer overflow test.
34052 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34053 skip the construct in the format string but do not record anything.
34054 * stdio-common/bug22.c: Adjust to test both width/prevision
34055 INT_MAX overflow as well as total length INT_MAX overflow. Check
34056 explicitly for proper errno values.
34057
228c019e
TS
340582012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34059
302cadd3
TS
34060 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34061 CHAR_MAX.
34062 * string/test-strcmp.c [! WIDE]: Likewise.
34063 * time/tst-mktime2.c: Likewise for INT_MAX.
34064 * string/test-string.h: #include <sys/param.h> for MIN.
34065
228c019e
TS
34066 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34067 * sysdeps/i386/init-first.c (init): Likewise.
34068 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34069 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34070 * sysdeps/sh/init-first.c (init): Likewise.
34071
cfa633f5
UD
340722012-04-01 Ulrich Drepper <drepper@gmail.com>
34073
34074 * po/ru.po: Update from translation team.
d1635ef8 34075 * po/vi.po: Likewise.
cfa633f5 34076
6cd0a5ea
SP
340772012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34078
34079 * resolv/nss_dns/dns-host.c: Merge copyright years.
34080
4b43400f
LD
340812012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34082
34083 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34084 Optimize memcpy with prefetch if
34085 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34086 src, dst pointers have unequal 16 byte alignments.
34087
48c41d04
SP
340882012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34089
34090 [BZ #13928]
34091 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34092 from a CNAME entry and return the minimum ttl for the query.
34093 (gaih_getanswer_slice): Likewise.
34094
b8dc394d
JL
340952012-03-30 Jeff Law <law@redhat.com>
34096
34097 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34098 due to long keys.
34099 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34100 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34101
2f5a5ed0
JL
34102 * resolv/nss_dns/dns-host.c: Update copyright year.
34103
1d39e359
UD
341042012-03-30 Ulrich Drepper <drepper@gmail.com>
34105
c030f70c 34106 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 34107 requests to save a system call. Fix check that all bytes are sent.
c030f70c 34108
1d39e359
UD
34109 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34110 comments for sendmmsg.
34111
341122012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
34113
34114 [BZ #13691]
34115 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34116 with only 1 character between 0x0041 and 0x01b0.
34117 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34118 * wcsmbs/tst-mbsnrtowcs.c: New file.
34119
20fde227
DM
341202012-03-29 David S. Miller <davem@davemloft.net>
34121
34122 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34123 small copies by hand.
34124
984a4237
JL
341252012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34126
34127 [BZ #13761]
57f41c40
AS
34128 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34129 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34130 group memberships.
984a4237 34131
18c9d62b
DM
341322012-03-28 David S. Miller <davem@davemloft.net>
34133
88d85d4f
DM
34134 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34135 that branches into memcpy.
34136 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34137 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34138 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34139 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34141 bits.
34142 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34143 implementation too.
34144 * sysdeps/sparc/mempcpy.S: New file.
34145
e5aa83e1
DM
34146 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34147 the IFUNC routine in the libc case.
34148 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34149
88570753
DM
34150 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34151 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34152 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34153 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34154 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34155 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34156 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34157 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34158
249d7567
DM
34159 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34160 loop to 256 bytes instead of 64 bytes and fix test signedness.
34161
18c9d62b
DM
34162 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34163 * sysdeps/sparc/sparc32/Makefile: rather than here...
34164 * sysdeps/sparc/sparc64/Makefile: and here.
34165
05f3d1f6
UD
341662012-03-28 Ulrich Drepper <drepper@gmail.com>
34167
34168 * malloc/mallocbug.c: Avoid warnings about unused variables.
34169
86ae07a8
JL
341702012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34171
34172 [BZ #13760]
34173 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34174 in the right place. Discard and retry query if response is
34175 larger than input buffer size.
34176
41bf21a1
JM
341772012-03-28 Joseph Myers <joseph@codesourcery.com>
34178
d6270972
JM
34179 [BZ #369]
34180 [BZ #2678]
34181 [BZ #3866]
34182 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34183 x for large integer exponent.
34184 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34185 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34186 sign of result as needed afterwards.
34187 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34188 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34189 result for underflowing pow the same as for overflow.
34190 (__kernel_standard_l): Handle powl overflow and underflow here
34191 rather than calling __kernel_standard.
34192 * math/libm-test.inc (pow_test): Add more tests.
34193
414fca03 34194 [BZ #3868]
41bf21a1
JM
34195 [BZ #13879]
34196 [BZ #13910]
34197 [BZ #13911]
34198 [BZ #13912]
34199 [BZ #13913]
34200 [BZ #13915]
34201 [BZ #13916]
34202 [BZ #13917]
34203 [BZ #13918]
34204 [BZ #13919]
34205 [BZ #13920]
34206 [BZ #13921]
34207 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34208 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34209 (__kernel_standard_l): New function.
34210 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34211 __kernel_standard.
34212 * math/w_acosl.c (__acosl): Likewise.
34213 * math/w_asinl.c (__asinl): Likewise.
34214 * math/w_atan2l.c (__atan2l): Likewise.
34215 * math/w_atanhl.c (__atanhl): Likewise.
34216 * math/w_coshl.c (__coshl): Likewise.
34217 * math/w_exp10l.c (__exp10l): Likewise.
34218 * math/w_exp2l.c (__exp2l): Likewise.
34219 * math/w_fmodl.c (__fmodl): Likewise.
34220 * math/w_hypotl.c (__hypotl): Likewise.
34221 * math/w_j0l.c (__j0l, __y0l): Likewise.
34222 * math/w_j1l.c (__j1l, __y1l): Likewise.
34223 * math/w_jnl.c (__jnl, __ynl): Likewise.
34224 * math/w_lgammal.c (__lgammal): Likewise.
34225 * math/w_log10l.c (__log10l): Likewise.
34226 * math/w_log2l.c (__log2l): Likewise.
34227 * math/w_logl.c (__logl): Likewise.
34228 * math/w_powl.c (__powl): Likewise.
34229 * math/w_remainderl.c (__remainderl): Likewise.
34230 * math/w_scalbl.c (sysv_scalbl): Likewise.
34231 * math/w_sinhl.c (__sinhl): Likewise.
34232 * math/w_sqrtl.c (__sqrtl): Likewise.
34233 * math/w_tgammal.c (__tgammal): Likewise.
34234 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34235 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34236 * math/libm-test.inc (acos_test): Add more tests.
34237 (acosh_test): Likewise.
34238 (asin_test): Likewise.
34239 (atanh_test): Likewise.
34240 (exp_test): Likewise.
34241 (exp10_test): Likewise.
34242 (exp2_test): Likewise.
34243 (expm1_test): Likewise.
34244 (lgamma_test): Likewise.
34245 (log_test): Likewise.
34246 (log10_test): Likewise.
34247 (log1p_test): Likewise.
34248 (log2_test): Likewise.
34249 (pow_test): Do not allow some spurious overflow exceptions.
34250 (sqrt_test): Add more tests.
34251 (tgamma_test): Likewise.
34252 (y0_test): Likewise.
34253 (y1_test): Likewise.
34254 (yn_test): Likewise.
34255
dd62fda6
AB
342562012-03-27 Anton Blanchard <anton@samba.org>
34257
34258 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34259 MAP_HUGETLB.
34260 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34261 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34262 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34263
1e3cdfda
AJ
342642012-03-27 David S. Miller <davem@davemloft.net>
34265
b855ab85
DM
34266 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34267
1e3cdfda
AJ
34268 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34269 have-as-vis3 check.
34270
342712012-03-27 Andreas Jaeger <aj@suse.de>
34272
34273 * sysdeps/x86_64/elf/configure.in: Moved to ...
34274 * sysdeps/x86_64/configure.in: ... here.
34275 * sysdeps/x86_64/elf/start.S: Moved to ...
34276 * sysdeps/x86_64/start.S: ... here.
34277 * sysdeps/x86_64/elf/configure: Delete.
34278
34279 * sysdeps/x86_64/configure.in: Merge contents from
34280 sysdeps/i386/configure.in (without i686 check).
34281
34282 * sysdeps/i386/elf/Versions: Merge into ...
34283 * sysdeps/i386/Versions: ... this.
34284 * sysdeps/i386/elf/Versions: Delete file.
34285 * sysdeps/i386/elf/start.S: Moved to ...
34286 * sysdeps/i386/start.S: ...here.
34287 * sysdeps/i386/elf/configure.in: Merge into...
34288 * sysdeps/i386/configure.in: ...here.
34289 * sysdeps/i386/elf/configure.in: Delete file.
34290 * sysdeps/i386/elf/configure: Delete file.
34291
34292 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34293 * debug/backtracesyms.c: ... here.
34294 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34295 * debug/backtracesymsfd.c: ... here.
34296 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34297 * sysdeps/generic/ifunc-sel.h: ... here.
34298
34299 * sysdeps/unix/i386/start.c: Delete file.
34300 * sysdeps/unix/sparc/start.c: Delete file.
34301 * sysdeps/unix/start.c: Delete file.
34302
34303 * sysdeps/sh/elf/configure.in: Moved to ...
34304 * sysdeps/sh/configure.in: ... here.
34305 * sysdeps/sh/elf/start.S: Moved to ...
34306 * sysdeps/sh/start.S: ... here.
34307 * sysdeps/sh/elf/configure: Delete file.
34308
34309 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34310 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34311 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34312 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34313 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34314 * sysdeps/powerpc/powerpc64/start.S: here.
34315 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34316 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34317 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34318 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34319 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34320
34321 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34322 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34323 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34324 * sysdeps/powerpc/powerpc32/start.S: ... here.
34325 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34326 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34327 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34328
34329 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34330 * sysdeps/powerpc/ifunc-sel.h: ... here.
34331 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34332 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34333
34334 * sysdeps/sparc/elf/configure.in: Moved to ...
34335 * sysdeps/sparc/configure.in: ... here.
34336 * sysdeps/sparc/elf/configure: Delete file.
34337 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34338 * sysdeps/sparc/sparc32/start.S: ... here.
34339 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34340 * sysdeps/sparc/sparc64/start.S: ... here.
34341 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34342 * sysdeps/sparc/sparc32/Makefile: ... this.
34343 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34344 * sysdeps/sparc/sparc64/Makefile: ... this.
34345
34346 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34347 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34348 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34349 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34350 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34351 * sysdeps/s390/s390-32/setjmp.S: ... here.
34352 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34353 * sysdeps/s390/s390-32/configure.in: ... here.
34354 * sysdeps/s390/s390-32/elf/configure: Delete file.
34355 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34356 * sysdeps/s390/s390-32/start.S: ... here.
34357
34358 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34359 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34360 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34361 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34362 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34363 * sysdeps/s390/s390-64/setjmp.S: ... here.
34364 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34365 * sysdeps/s390/s390-64/configure.in: ... here
34366 * sysdeps/s390/s390-64/elf/configure: Delete file.
34367 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34368 * sysdeps/s390/s390-64/start.S: ... here.
34369 * sysdeps/s390/s390-64/elf/configure: Delete.
34370
34371 * configure.in: Remove support for elf directories in sysdeps.
34372
34373 * configure: Regenerated.
34374 * sysdeps/i386/configure: Regenerated.
34375 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34376 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34377 * sysdeps/s390/s390-32/configure: Regenerated.
34378 * sysdeps/s390/s390-64/configure: Regenerated.
34379 * sysdeps/sh/configure: Regenerated.
34380 * sysdeps/sparc/configure: Regenerated.
34381 * sysdeps/x86_64/configure: Regenerated.
34382
a3f61311
AS
343832012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34384
c876e002
AS
34385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34386
a3f61311
AS
34387 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34388 denormal result into account.
34389
ac4c54f0
RM
343902012-03-25 Roland McGrath <roland@hack.frob.com>
34391
34392 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34393 Reported by Allan McRae <allan@archlinux.org>.
34394
6a9b9c02
JL
343952012-03-23 Jeff Law <law@redhat.com>
34396
34397 * nss/getnssent.c (__nss_getent): Fix typo.
34398
4c42a0c1
DM
343992012-03-23 David S. Miller <davem@davemloft.net>
34400
34401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34402
1532c7ac
L
344032012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34404
34405 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34406 to pad to uint64_t for each field.
34407 (dl_tls_index): Replace unsigned long with uint64_t.
34408
3ff42526
PP
344092012-03-23 Daniel Jacobowitz <dmj@google.com>
34410 Paul Pluzhnikov <ppluzhnikov@google.com>
34411
34412 [BZ #6528]
34413 * grp/Makefile (otherlibs): Don't set it.
34414 * inet/Makefile (otherlibs): Likewise.
34415 * login/Makefile (otherlibs): Likewise.
34416 * nscd/Makefile (otherlibs): Likewise.
34417 * posix/Makefile (otherlibs): Likewise.
34418 * pwd/Makefile (otherlibs): Likewise.
34419 * rt/Makefile (otherlibs): Likewise.
34420 * sunrpc/Makefile (otherlibs): Likewise.
34421 * nss/Makefile (otherlibs): Likewise.
34422 Add libnss_files to routines and static-only-routines.
34423 ($(objpfx)getent): Remove rule.
34424 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34425 static-only-routines.
34426
7c69cd14
JM
344272012-03-22 Joseph Myers <joseph@codesourcery.com>
34428
34429 [BZ #13892]
34430 * math/s_cexp.c: Include <float.h>.
34431 (__cexp): Handle exp result overflowing not necessarily
34432 overflowing both real and imaginary parts of result.
34433 * math/s_cexpf.c: Likewise.
34434 * math/s_cexpl.c: Likewise.
34435 * math/libm-test.inc (cexp_test): Add more tests.
34436 * sysdeps/i386/fpu/libm-test-ulps: Update.
34437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34438
81b035fe
L
344392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34440
34441 * include/link.h (ELFW): New macro.
34442 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34443 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34444
1da7940c
L
344452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34446
34447 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34448 with uint64_t.
34449
b749dbb9
L
344502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34451
34452 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34453 declaration.
34454 (struct La_x32_retval): Likewise.
34455
2ff87f3f
L
344562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34457
34458 * sysdeps/x86_64/preconfigure.in: New file.
34459 * sysdeps/x86_64/preconfigure: New generated file.
34460
c0df8e69
JM
344612012-03-22 Joseph Myers <joseph@codesourcery.com>
34462
48e44791
JM
34463 [BZ #13824]
34464 * math/e_exp2l.c: Include <float.h>.
34465 (__ieee754_exp2l): Handle overflow and underflow cases
34466 separately. Only pass fractional part of argument to
34467 __ieee754_expl.
34468 * math/libm-test.inc (exp2_test): Add more tests.
34469
c0df8e69
JM
34470 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34471 negating x to take absolute value.
34472 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34473 Likewise.
34474 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34475 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34476 Likewise.
34477 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34478 computing low part if x was negated.
34479 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34480
c8e43ba7
L
344812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34482
34483 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34484 la_x32_gnu_pltexit.
34485 (pltexit): Cast int_retval to ptrdiff_t.
34486 * elf/tst-auditmod3b.c: Likewise.
34487 * elf/tst-auditmod4b.c: Likewise.
34488 * elf/tst-auditmod5b.c: Likewise.
34489 * elf/tst-auditmod6b.c: Likewise.
34490 * elf/tst-auditmod6c.c: Likewise.
34491 * elf/tst-auditmod7b.c: Likewise.
34492
34493 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34494 and x32_gnu_pltexit.
34495
34496 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34497 __ELF_NATIVE_CLASS.
34498 (La_x32_regs): New macro.
34499 (La_x32_retval): Likewise.
34500 (la_x32_gnu_pltenter): New function prototype.
34501 (la_x32_gnu_pltexit): Likewise.
34502
7998fa78
AS
345032012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34504
dcb33988
AS
34505 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34506 exponent.
34507
233fc563
AS
34508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34509
7998fa78
AS
34510 * configure.in (libc_cv_cc_nofma): Check for option to disable
34511 generation of FMA instructions.
34512 * configure: Regenerate.
34513 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34514 * sysdeps/ieee754/dbl-64/Makefile: New file.
34515 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34516 Remove brandred-fma4.
34517 (CFLAGS-brandred-fma4.c): Remove.
34518 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34519 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34520 define.
34521 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34522 define.
34523
8e95c99a
L
345242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34525
34526 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34527 LLONG_MAX != LONG_MAX.
34528 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34529 (_fitoa_word): Likewise.
34530 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34531 LLONG_MAX != LONG_MAX.
34532 * stdio-common/_itowa.h: Include <_itoa.h>.
34533 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34534 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34535 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34536 only if not defined.
34537 (_ITOA_WORD_TYPE): Likewise.
34538 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34539 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34540
6f4db457
DM
345412012-03-21 David S. Miller <davem@davemloft.net>
34542
34543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34544
7785fe5a
L
345452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34546
34547 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34548 of x86_64 when setting libc_cv_slibdir, libdir and
34549 libc_cv_localedir.
34550 * sysdeps/unix/sysv/linux/configure: Regenerated.
34551
4535cd55
JM
345522012-03-21 Joseph Myers <joseph@codesourcery.com>
34553
34554 * manual/lang.texi (Old Varargs): Remove section.
34555 (How Variadic): Update menu.
34556 (va_start): Do not mention varargs.h.
34557
17228132
TS
345582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34559 Joseph Myers <joseph@codesourcery.com>
34560
34561 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34562 link test.
34563 * configure: Regenerated.
34564
8149f976
TS
345652012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34566
05f3d1f6
UD
34567 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34568 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34569 conformtest.pl
8149f976 34570
1a4ac776
JM
345712012-03-21 Joseph Myers <joseph@codesourcery.com>
34572
be22ce65
JM
34573 * NOTES: Remove.
34574 * Makefile (files-for-dist): Remove NOTES.
34575 (NOTES): Remove rule.
34576 * README: Don't refer to NOTES.
34577 * manual/creature.texi: Don't include macros.texi.
34578 * manual/intro.texi (creature.texi): Remove comment referring to
34579 NOTES.
34580
40b601fb
JM
34581 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34582 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34583 * configure: Regenerated.
34584 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34585 LIBC_TRY_CC_OPTION.
34586 (libc_cv_as_i686): Likewise.
34587 (libc_cv_cc_avx): Likewise.
34588 (libc_cv_cc_sse2avx): Likewise.
34589 (libc_cv_cc_fma4): Likewise.
34590 (libc_cv_cc_novzeroupper): Likewise.
34591 * sysdeps/i386/configure: Regenerated.
34592
1a4ac776
JM
34593 [BZ #13883]
34594 * sysdeps/i386/fpu/s_cexp.S: Remove.
34595 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34596 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34597 * math/libm-test.inc (cexp_test): Add more tests.
34598 * sysdeps/i386/fpu/libm-test-ulps: Update.
34599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34600
a458e7fe
AM
346012012-03-21 Allan McRae <allan@archlinux.org>
34602
34603 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34604
0cb7efc5
JM
346052012-03-21 Joseph Myers <joseph@codesourcery.com>
34606
34607 [BZ #13871]
34608 * math/w_exp2.c: Do not include <float.h>.
34609 (o_threshold, u_threshold): Remove.
34610 (__exp2): Calculate result before checking finiteness and calling
34611 __kernel_standard.
34612 * math/w_exp2f.c: Likewise.
34613 * math/w_exp2l.c: Likewise.
34614 * math/libm-test.inc (exp2_test): Require overflow exception for
34615 1e6 input.
2460d3aa
JM
34616
34617 [BZ #3866]
34618 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34619 range of signed 64-bit integers before using fistpll. Remove
34620 checks for whether integers fit in mantissa bits.
34621 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34622 the range of signed 32-bit integers before using fistpl. Remove
34623 checks for whether integers fit in mantissa bits.
34624 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34625 (__ieee754_powl): Test for y outside the range of signed 64-bit
34626 integers before using fistpll. Reduce 64-bit values to 63-bit
34627 ones as needed.
34628 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34629 divide-by-zero is raised for zero to large negative powers.
34630 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34631 (__ieee754_powl): Test for y outside the range of signed 64-bit
34632 integers before using fistpll. Reduce 64-bit values to 63-bit
34633 ones as needed.
34634 * math/libm-test.inc (pow_test): Add more tests.
34635
eb96ffb0
L
346362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34637
34638 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34639 <stdio-common/_itoa.h>.
34640 * debug/segfault.c: Likewise.
34641 * elf/dl-cache.c: Likewise.
34642 * elf/dl-minimal.c: Likewise.
34643 * elf/dl-misc.c: Likewise.
34644 * elf/dl-sysdep.c: Likewise.
34645 * elf/dl-version.c: Likewise.
34646 * elf/rtld.c: Likewise.
34647 * hurd/hurdsock.c: Likewise.
34648 * hurd/lookup-retry.c: Likewise.
34649 * malloc/malloc.c: Likewise.
34650 * malloc/mtrace.c: Likewise.
34651 * nscd/nscd_getgr_r.c: Likewise.
34652 * nscd/nscd_getpw_r.c: Likewise.
34653 * nscd/nscd_getserv_r.c: Likewise.
34654 * posix/getopt_init.c: Likewise.
34655 * posix/wordexp.c: Likewise.
34656 * stdio-common/_itoa.c: Likewise.
34657 * stdio-common/printf_fphex.c: Likewise.
34658 * stdio-common/vfprintf.c: Likewise.
34659 * string/_strerror.c: Likewise.
34660 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34661 * sysdeps/i386/i686/hp-timing.h: Likewise.
34662 * sysdeps/mach/_strerror.c: Likewise.
34663 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34664 * sysdeps/mach/hurd/sethostid.c: Likewise.
34665 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34666 * sysdeps/mach/xpg-strerror.c: Likewise.
34667 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34668 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34669 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34670 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34671 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34672 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34673 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34674 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34675 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34676 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34677 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34678 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34679 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34680 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34681 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34682 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34683 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34684 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34685 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34686 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34687 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34688
34689 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34690
34691 * stdio-common/_itoa.h: Moved to ...
34692 * sysdeps/generic/_itoa.h: Here.
34693
34694 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34695
34696 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34697 instead of "_itoa.h" and "_itowa.h".
34698 * stdio-common/vfprintf.: Likewise.
34699
d1af992d
L
347002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34701
34702 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34703 <bits/wordsize.h>.
34704 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34705 (__signbit): Likwise.
34706 (llrintf): Likwise.
34707 (llrint): Likwise.
34708
114883e0
L
347092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34710
34711 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34712 __WORDSIZE != 64.
34713
c135cc1b
JM
347142012-03-20 Joseph Myers <joseph@codesourcery.com>
34715
34716 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34717 OVERFLOW_EXCEPTION_OK.
34718 * math/libm-test.inc ("Philosophy"): Update comment about
34719 exception testing.
34720 (OVERFLOW_EXCEPTION): Define.
34721 (OVERFLOW_EXCEPTION_OK): Likewise.
34722 (INVALID_EXCEPTION_OK): Renumber.
34723 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34724 (IGNORE_ZERO_INF_SIGN): Likewise.
34725 (test_exceptions): Handle FE_OVERFLOW.
34726 (exp10_test): Expect overflow exceptions.
34727 (exp2_test): Likewise.
34728 (expm1_test): Likewise.
34729 (nextafter_test): Likewise.
34730 (pow_test): Likewise.
34731 (scalbn_test): Likewise.
34732 (scalbln_test): Likewise.
34733
95443d88
L
347342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34735
34736 * sysdeps/x86_64/bits/atomic.h
34737 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34738 64bit integer.
34739 (atomic_exchange_acq): Likewise.
34740 (__arch_exchange_and_add_body): Likewise.
34741 (__arch_add_body): Likewise.
34742 (atomic_add_negative): Likewise.
34743 (atomic_add_zero): Likewise.
34744
490df6c4
L
347452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34746
c2722551 34747 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34748 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34749
5e52b189
L
347502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34751
34752 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34753 Check __x86_64__ instead of __WORDSIZE.
34754
a9879d4c
L
347552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34756
34757 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34758
5df98260
DM
347592012-03-19 David S. Miller <davem@davemloft.net>
34760
e1497744
DM
34761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34762
5df98260
DM
34763 * sysdeps/sparc/fpu/fenv_private.h: New file.
34764 * sysdeps/sparc/fpu/math_private.h: Use it.
34765 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34766 Remove.
57f41c40 34767 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34768 (libc_feholdexcept_setroundl): Remove.
34769 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34770 Remove.
34771 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34772 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34773
b4c35121
L
347742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34775
34776 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34777 int64_t instead of long int.
34778 (INSERT_WORDS64): Likwise.
34779
56965fd7
L
347802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34781
34782 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34783 _Unwind_GetCFA return to _Unwind_Ptr first.
34784
83d1aec8
JM
347852012-03-19 Joseph Myers <joseph@codesourcery.com>
34786
1897ad44
JM
34787 [BZ #13629]
34788 * math/s_clog.c: Include <float.h>.
34789 (__clog): Scale large or subnormal inputs.
34790 * math/s_clogf.c: Likewise.
34791 * math/s_clogl.c: Likewise.
34792 * math/s_clog10.c: Include <float.h>.
34793 (M_LOG10_2): Define.
34794 (__clog10): Scale large or subnormal inputs.
34795 * math/s_clog10f.c: Likewise.
34796 * math/s_clog10l.c: Likewise.
34797 * math/libm-test.inc (clog_test): Add more tests.
34798 (clog10_test): Likewise.
34799 * sysdeps/i386/fpu/libm-test-ulps: Update.
34800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34801
7726d6a9
JM
34802 [BZ #11451]
34803 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34804 x and y.
34805 * math/libm-test.inc (atan2_test): Add another test.
34806
83d1aec8
JM
34807 * Makerules (common-objdir-compile): Remove.
34808 * sysdeps/unix/Makefile (config-generated): Do not add
34809 $(unix-generated) to variable.
34810 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34811 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34812 Remove rule.
34813 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34814 Likewise.
34815 [generic bits/local_lim.h] (before-compile): Do not append to
34816 variable.
34817 [generic bits/local_lim.h] (common-generated): Likewise.
34818 [generic sys/param.h] (before-compile): Do not append to variable.
34819 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34820 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34821 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34822 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34823 include.
34824 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34825 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34826 [generic sys/param.h] ($(addprefix
34827 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34828 [generic sys/param.h] (common-generated): Do not append to
34829 variable.
34830 [generic sys/param.h] (sysdep_headers): Likewise.
34831 [generic bits/errno.h] (before-compile): Do not append to
34832 variable.
34833 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34834 rule.
34835 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34836 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34837 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34838 [generic bits/errno.h] (common-generated): Do not append to
34839 variable.
34840 [generic bits/ioctls.h] (before-compile): Do not append to
34841 variable.
34842 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34843 rule.
34844 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34845 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34846 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34847 rule.
34848 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34849 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34850 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34851 [generic bits/ioctls.h] (common-generated): Do not append to
34852 variable.
34853 [generic sys/syscall.h] (syscall.h): Remove variable.
34854 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34855 rule.
34856 [generic sys/syscall.h] (before-compile): Do not append to
34857 variable.
34858 [generic sys/syscall.h] (common-generated): Likewise.
34859 * sysdeps/unix/errnos-tmpl.c: Remove file.
34860 * sysdeps/unix/errnos.awk: Likewise.
34861 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34862 * sysdeps/unix/ioctls.awk: Likewise.
34863 * sysdeps/unix/mk-local_lim.c: Likewise.
34864 * sysdeps/unix/snarf-ioctls: Likewise.
34865
4851a949
RH
348662012-03-19 Richard Henderson <rth@twiddle.net>
34867
bd37f2ee
RH
34868 * sysdeps/i386/fpu/fenv_private.h: New file.
34869 * sysdeps/i386/fpu/math_private.h: Use it.
34870 (math_opt_barrier, math_force_eval): Remove.
34871 (libc_feholdexcept_setround_53bit): Remove.
34872 (libc_feupdateenv_53bit): Remove.
34873 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34874 (math_opt_barrier, math_force_eval): Remove.
34875 (libc_feholdexcept): Remove.
34876 (libc_feholdexcept_setround): Remove.
34877 (libc_fetestexcept, libc_fesetenv): Remove.
34878 (libc_feupdateenv_test): Remove.
34879 (libc_feupdateenv, libc_feholdsetround): Remove.
34880 (libc_feresetround): Remove.
34881
d0adc922
RH
34882 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34883 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34884
0fe0f1f8
RH
34885 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34886 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34887 (libc_feupdateenv_testl): New.
34888 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34889 (libc_feupdateenv_testf): New.
34890 (libc_feupdateenv): Use libc_feupdateenv_test.
34891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34892 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34893
eb92c487
RH
34894 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34895 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34896 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34897 (libc_feresetround_noex): New.
34898 (libc_feresetround_noexf): New.
34899 (libc_feresetround_noexl): New.
34900 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34901 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34902 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34903 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34904 SET_RESTORE_ROUND.
34905 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34907 (__cos): Likewise.
34908 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34909 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34910 SET_RESTORE_ROUND_NOEX.
34911 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34912 SET_RESTORE_ROUND_NOEXF.
34913 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34914 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34915 (libc_feholdsetroundf): New.
34916 (libc_feresetround, libc_feresetroundf): New.
34917
7d2e8012
RH
34918 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34919 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34920 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34921
b4dabbb4
RH
34922 * sysdeps/generic/math_private.h: Include <fenv.h>.
34923 (default_libc_feholdexcept): New.
34924 (default_libc_feholdexcept_setround): New.
34925 (default_libc_fesetenv, default_libc_feupdateenv): New.
34926 (libc_feholdexcept): Only define if undefined.
34927 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34928 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34929 (libc_feholdexcept_setroundl): Likewise.
34930 (libc_feholdexcept_setround_53bit): Likewise.
34931 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34932 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34933 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34934 (libc_feupdateenv_53bit): Likewise.
34935 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34936 (libc_feholdexcept): Convert from macro to inline function.
34937 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34938 (libc_fesetenv, libc_feupdateenv): Likewise.
34939
4851a949
RH
34940 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34941 not previously defined.
34942 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34943 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34944 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34945 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34946 * sysdeps/ieee754/flt-32/math_private.h: New file.
34947 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34948 math_private.h below SET_FLOAT_WORD.
34949 (__isnan, __isinf_ns, __finite): Remove.
34950 (__isnanf, __isinf_nsf, __finitef): Remove.
34951
e79d442e
AS
349522012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34953
34954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34955
90b80344
DM
349562012-03-17 David S. Miller <davem@davemloft.net>
34957
34958 [BZ #6471]
34959 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34960 for 2.16.
34961
edc21804
DM
349622012-03-16 David S. Miller <davem@davemloft.net>
34963
77e927af
DM
34964 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34965 warnings.
34966
374976dd
DM
34967 [BZ #6471]
34968 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34969 properly.
34970 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34971 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34972 sysdep_routines when subdir is sysvipc.
34973 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34974 __getshmlba helper.
34975
edc21804
DM
34976 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34977
473c3ef3
L
349782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34979
34980 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34981 [__LP64__].
34982
eb0f39b6
L
349832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34984
34985 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34986 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34987 (__lround): Renamed to ...
34988 (__llround): This. Replace long int with long long int.
34989 Define lround functions as aliases of llround functions.
34990 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34991
6b6cd74b
L
349922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34993
34994 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34995 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34996 adresses to uintptr_t. Replace "long int" and "unsigned long
34997 int" with "greg_t" on va_arg.
34998
f1a77b01
L
349992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35000
35001 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35002 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35003
35004 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35005 Move e_machine check before EI_CLASS check. Handle x32
35006 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35007 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35008 SKIP_EM_IA_64 and include
35009 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35010
35011 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35012 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35013 (add_system_dir): New macro.
35014
35015 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35016 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35017
11b90b9f
JM
350182012-03-16 Joseph Myers <joseph@codesourcery.com>
35019
c36e1d23
JM
35020 [BZ #2551]
35021 [BZ #2552]
35022 [BZ #2553]
35023 [BZ #2554]
35024 [BZ #2562]
35025 [BZ #2563]
35026 [BZ #2565]
35027 [BZ #2566]
35028 [BZ #2576]
35029 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35030 (y0): Likewise.
35031 * math/w_j0f.c (j0f): Likewise.
35032 (y0f): Likewise.
35033 * math/w_j0l.c (__j0l): Likewise.
35034 (__y0l): Likewise.
35035 * math/w_j1.c (j1): Likewise.
35036 (y1): Likewise.
35037 * math/w_j1f.c (j1f): Likewise.
35038 (y1f): Likewise.
35039 * math/w_j1l.c (__j1l): Likewise.
35040 (__y1l): Likewise.
35041 * math/w_jn.c (jn): Likewise.
35042 (yn): Likewise.
35043 * math/w_jnf.c (jnf): Likewise.
35044 (ynf): Likewise.
35045 * math/w_jnl.c (__jnl): Likewise.
35046 (__ynl): Likewise.
35047 * math/libm-test.inc (j0_test): Add more tests.
35048 (j1_test): Likewise.
35049 (jn_test): Likewise. Add trailing semicolon to existing test.
35050 (y0_test): Likewise.
35051 (y1_test): Likewise.
35052 * sysdeps/i386/fpu/libm-test-ulps: Update.
35053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35054
11b90b9f
JM
35055 [BZ #13851]
35056 [BZ #13854]
35057 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35058 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35059 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35060 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35061 (__tanl): Set errno for infinite argument.
35062 * sysdeps/i386/fpu/mptan.c: Remove.
35063 * sysdeps/i386/fpu/s_tan.S: Likewise.
35064 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35065 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35066 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35067 * math/libm-test.inc (tan_test): Add more tests and enable more
35068 tests for double and long double.
35069 * sysdeps/i386/fpu/libm-test-ulps: Update.
35070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35071
6a1bd2a1
JK
350722012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35073
35074 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35075 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35076
10a803e0
RM
350772012-03-16 Roland McGrath <roland@hack.frob.com>
35078
35079 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35080 * configure.in: Use it for both main tree and add-ons.
35081 * configure: Regenerated.
35082
f196c7f7
L
350832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35084
35085 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35086
8848d99d
JM
350872012-03-16 Joseph Myers <joseph@codesourcery.com>
35088
96cbe7f4
JM
35089 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35090 in comment.
35091
8848d99d
JM
35092 [BZ #13851]
35093 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35094 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35095 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35096 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35097 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35098 infinite argument.
35099 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35100 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35101 != 0 for prec == 2.
35102 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35103 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35104 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35105 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35106 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35107 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35108 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35109 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35110 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35111 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35112 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35113 * math/libm-test.inc (cos_test): Add more tests and enable more
35114 tests for long double.
35115 (sin_test): Likewise.
35116 (sincos_test): Likewise.
35117 * sysdeps/i386/fpu/libm-test-ulps: Update.
35118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35119
dd7f4703
DM
351202012-03-16 David S. Miller <davem@davemloft.net>
35121
35122 * sysdeps/sparc/fpu/math_private.h: New file.
35123
006f1daa
DM
351242012-03-15 David S. Miller <davem@davemloft.net>
35125
c0c83bc8
DM
35126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35127 file.
e6a62e18 35128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
35129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35130 file.
e6a62e18
DM
35131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35137 sysdep routines.
35138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35139
88cb87d9
DM
35140 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35141 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35142
006f1daa 35143 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
35144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35145 sparc-ifunc.h
006f1daa 35146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
35147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35148 Likewise.
35149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35150 Likewise.
006f1daa
DM
35151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
35154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35155 Likewise.
006f1daa
DM
35156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
35160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35161 Likewise.
35162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35163 Likewise.
006f1daa
DM
35164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35171 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35182 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35183 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35184 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35185 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35188
11e0098e
AS
351892012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35190
35191 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35192 scaling.
35193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35194
e85b09d0
AJ
351952012-03-15 Andreas Jaeger <aj@suse.de>
35196
35197 [BZ #13852]
35198 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35199 ieee754/flt-32 implementation for sin, cos and sincos.
35200 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35201 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35202 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35203 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35204 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35205 ieee754/flt-32 implementation for tan.
35206
35207 * math/libm-test.inc (cos_test): Enable some large input tests for
35208 float as well
35209 (sin_test): Likewise.
35210 (sincos_test): Likewise.
35211 (tan_test): Add tests for large input.
35212
35213 * sysdeps/i386/fpu/libm-test-ulps: Update.
35214
81c64153
AJ
352152012-03-15 Andreas Jaeger <aj@suse.de>
35216
35217 [BZ #13658]
35218 * math/libm-test.inc (cos_test): Add more test cases.
35219 (sin_test): Likewise.
35220 (sincos_test): Likewise.
35221
7bbfa5c6
AJ
352222012-03-15 Andreas Jaeger <aj@suse.de>
35223
35224 [BZ #13837]
35225 * math/libm-test.inc (cos_test): Add a test case for large input
35226 value.
35227 (sin_test): Likewise.
35228 (sincos_test): Likewise.
35229
57f41c40
AS
352302012-03-15 Andreas Jaeger <aj@suse.de>
35231 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
35232
35233 [BZ #13658]
0671f479 35234 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
35235 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35236 * sysdeps/i386/fpu/branred.c: Likewise.
35237 * sysdeps/i386/fpu/dosincos.c: Likewise.
35238 * sysdeps/i386/fpu/mpa.c: Likewise.
35239 * sysdeps/i386/fpu/s_cos.S: Likewise.
35240 * sysdeps/i386/fpu/s_sin.S: Likewise.
35241 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35242 * sysdeps/i386/fpu/sincos32.c: Likewise.
35243
35244 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35245 Define.
35246 (libc_feupdateenv_53bit): Define.
35247 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35248 Define.
35249 (libc_feupdateenv_53bit): Define.
35250
35251 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35252 53 bit (without extend i386 double precision).
35253
35254 * math/libm-test.inc (sincos_test): Add tests for large input.
35255 (sin): Likewise.
35256 (cos): Likewise.
35257
35258 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35259
9cad04ea
AS
352602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35261
35262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35263
f7062b9a
DM
352642012-03-15 David S. Miller <davem@davemloft.net>
35265
35266 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35267 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35268 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35269 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
35281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35282 file.
f7062b9a 35283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
35284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35285 file.
f7062b9a 35286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
35287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35288 file.
f7062b9a 35289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
35290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35291 file.
f7062b9a
DM
35292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35293 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35294 fmin/fmax sysdep routines.
35295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35296
7bd951ff
DM
352972012-03-14 David S. Miller <davem@davemloft.net>
35298
559398ab
DM
35299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35303 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35304 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35305 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35306 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35319 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35320 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35321 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35323 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35327 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35328 routines.
35329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35330 file.
559398ab 35331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
35332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35333 file.
559398ab 35334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
35335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35336 file.
559398ab 35337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
35338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35339 file.
559398ab 35340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
35341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35342 file.
559398ab 35343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
35344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35345 file.
35346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35347 file.
35348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35349 file.
35350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35351 file.
35352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35353 New file.
35354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35355 file.
35356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35357 file.
559398ab 35358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
35359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35360 file.
559398ab 35361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35363 file.
559398ab 35364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
35365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35366 file.
559398ab 35367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
35368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35369 VIS3 routines.
559398ab
DM
35370
35371 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35372 New file.
35373
5a1c1e32
DM
35374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35375
eae47a36
DM
35376 * sysdeps/sparc/configure.in: New file.
35377 * sysdeps/sparc/configure: Generate.
35378 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35379 * configure: Regenerate.
35380 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35381 * config.make.in (have-as-vis3): New.
35382 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35383 available use -Av9d instead of -Av9a.
35384 * sysdeps/sparc/sparc64/Makefile: Likewise.
35385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
35386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35387 New file.
35388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35389 file.
35390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35391 New file.
35392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35393 file.
eae47a36
DM
35394 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35395 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35399
c0c83bc8
DM
35400 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35401 fzeros/fnegs to load 0x80000000 into a float register instead of
35402 using the stack.
7bd951ff
DM
35403 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35404
bd951ccb
JM
354052012-03-14 Joseph Myers <joseph@codesourcery.com>
35406
35407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35408 bits/syscall.h.
35409 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35410 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35411 ($(inst_includedir)/bits/syscall.h): Remove rule.
35412 ($(objpfx)bits/syscall.d): Include instead of
35413 $(objpfx)syscall-list.d.
35414 (generated): Change syscall-list.h and syscall-list.d to
35415 bits/syscall.h and bits/syscall.d.
35416
bb4e6db2
RM
354172012-03-14 Roland McGrath <roland@hack.frob.com>
35418
35419 [BZ #13846]
35420 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35421
aa4a2ae1
JM
354222012-03-14 Joseph Myers <joseph@codesourcery.com>
35423
e456826d
JM
35424 [BZ #13841]
35425 * math/s_csqrt.c: Include <float.h>.
35426 (__csqrt): Scale large or subnormal inputs.
35427 * math/s_csqrtf.c: Likewise.
35428 * math/s_csqrtl.c: Likewise.
35429 * math/libm-test.inc (csqrt_test): Add more tests.
35430 * sysdeps/i386/fpu/libm-test-ulps: Update.
35431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35432
aa4a2ae1
JM
35433 [BZ #13840]
35434 * math/libm-test.inc (hypot_test): Add more tests.
35435
7c10fd35
DM
354362012-03-13 David S. Miller <davem@davemloft.net>
35437
35438 [BZ #13840]
35439 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35440 double-precision for the calculation instead of scaling.
35441
f453b98b
JM
354422012-03-13 Joseph Myers <joseph@codesourcery.com>
35443
35444 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35445 manipulate bits before adding and subtracting TWO52[sx].
35446 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35447 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35448 Likewise.
35449 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35450
09a3453f
DM
354512012-03-13 David S. Miller <davem@davemloft.net>
35452
8e59da90
DM
35453 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35454 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35455 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35456 rtld-global-offsets.h
35457 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35458
2a8ab7f2
DM
35459 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35460 large parameters.
35461
10f62770
DM
35462 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35463
5f0bdb18
DM
35464 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35465 'err' in the ifdef scope in which it is actually used.
35466
09a3453f
DM
35467 * nss/nss_db/db-init.c: Include string.h
35468
b4b2eb5e
DM
354692012-03-12 David S. Miller <davem@davemloft.net>
35470
98bb2f1c
DM
35471 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35472 masking out of the most significant byte of random value used.
35473 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35474 Fix coding style in previous change.
35475
b4b2eb5e
DM
35476 * sysdeps/unix/sysv/linux/kernel-features.h
35477 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35478 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35479 expression.
35480 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35481 later.
35482
6e226b09
DM
354832012-03-11 David S. Miller <davem@davemloft.net>
35484
a1bcbd40
DM
35485 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35486 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35487 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35488 for 'resultvar' otherwise things get truncated on 64-bit.
35489
cb9d6174
DM
35490 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35491 Fix masking out of the most significant byte of random value used.
35492
6e226b09
DM
35493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35494
058c132d
AS
354952012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35496
35497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35498
2d2cd515
DM
354992012-03-09 David S. Miller <davem@davemloft.net>
35500
35501 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35502 variables with appropriate CPP guards.
57f41c40
AS
35503 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35504 from the frame pointer, not the stack pointer. Correct layout
35505 comments. Fix test on resulting framesize and the management of
35506 the outregs buffer for pltexit. Preserve floating point return
35507 values across _dl_call_pltexit call.
2d2cd515
DM
35508 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35509 framesize and the management of the outregs buffer for pltexit.
35510 Preserve floating point return values across _dl_call_pltexit
35511 call.
57f41c40
AS
35512 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35513 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35514 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
35515 (print_exit): Fix format string for return register value.
35516
9a07f9d0
JM
355172012-03-10 Joseph Myers <joseph@codesourcery.com>
35518
35519 * sunrpc/Makefile (others): Add rpcgen.
35520 ($(objpfx)rpcgen): Remove special build rule and dependency on
35521 libc.
35522 * sunrpc/rpcgen.c: New file.
35523
547b5e30
PE
355242012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35525
c524201a
PE
35526 [BZ #13673]
35527 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35528 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35529 * sysdeps/i386/crti.S: Likewise.
35530 * sysdeps/i386/crtn.S: Likewise.
35531 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35532 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35533 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35534 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35535 * sysdeps/sh/crti.S: Likewise.
35536 * sysdeps/sh/crtn.S: Likewise.
35537 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35538
7b6235f2
PE
35539 [BZ #13673]
35540 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35541 with URL.
35542 * locale/programs/locfile-kw.gperf: Likewise.
35543 * locale/programs/charmap-kw.h: Regenerated.
35544 * locale/programs/locfile-kw.h: Likewise.
35545
547b5e30
PE
35546 [BZ #13673]
35547 * intl/plural.y: Replace FSF snail mail address with URL.
35548 * intl/plural.c: Regenerated.
35549
5f0a5dae
RH
355502012-03-09 Richard Henderson <rth@twiddle.net>
35551
35552 * include/math_private.h: Remove file.
35553 * math/math_private.h: Move file ...
35554 * sysdeps/generic/math_private.h: ... here.
35555
b8c03620
RH
35556 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35557 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35558 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35559
4e234f5d 35560 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35561 and <math_private.h>.
35562 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35563 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35564 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35565 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35566 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35567 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35570 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35571 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35573 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35574 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35575 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35576 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35577 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35578 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35579 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35580 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35581 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35583 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35584 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35586 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35587 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35588 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35589 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35590 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35591 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35592 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35593 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35594 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35595 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35596 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35597 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35598 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35599 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35600 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35601 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35602 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35603 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35604 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35605 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35606 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35607 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35608 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35609 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35610 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35611 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35612 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35613 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35614 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35615 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35616 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35617 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35618 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35619 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35620 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35621 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35622 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35623 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35624 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35625 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35626 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35627 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35628 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35629 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35630 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35631 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35632 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35633 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35634 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35635 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35636 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35641 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35642 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35643 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35644 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35645 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35646 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35647 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35648 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35649 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35650 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35651 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35652 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35653 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35654 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35655 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35656 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35657 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35658 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35659 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35660 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35661 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35662 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35663 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35664 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35665 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35666 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35667 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35668 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35669 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35670 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35671 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35672 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35673 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35674 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35675 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35676 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35677 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35678 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35679 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35680 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35681 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35682 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35683 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35684 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35685 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35686 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35687 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35689 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35690 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35691 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35692 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35693 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35694 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35695 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35696 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35697 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35698 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35699 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35700 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35701 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35702 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35703 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35704 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35705 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35706 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35707 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35708 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35709 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35710 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35711 * sysdeps/ieee754/k_standard.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35757 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35763 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35764 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35771 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35775 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35776 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35778 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35779 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35780 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35781 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35783 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35784 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35785 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35786 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35787 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35788 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35789 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35791 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35792 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35793 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35794 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35795 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35796 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35797 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35798 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35799 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35800 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35802 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35803 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35804 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35805 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35806 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35807 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35808 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35809 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35810 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35811 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35813 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35814 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35815 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35816 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35817 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35818 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35819 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35820 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35821 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35822 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35823 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35824 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35825 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35826 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35827 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35828 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35829 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35830 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35831 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35832 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35833 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35834 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35835 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35836 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35837 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35838 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35839 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35840 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35841 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35842 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35843 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35844 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35845 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35846 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35847 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35848 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35849 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35850 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35851 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35852 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35853 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35854 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35855 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35856 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35857 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35858 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35859 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35860 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35861 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35862 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35863 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35865 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35866 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35867 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35868 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35869 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35870 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35871 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35872 * sysdeps/ieee754/s_lib_version.c: Likewise.
35873 * sysdeps/ieee754/s_matherr.c: Likewise.
35874 * sysdeps/ieee754/s_signgam.c: Likewise.
35875 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35876 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35877 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35878 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35879 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35880 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35881 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35882 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35883 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35884 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35885 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35886 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35887 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35888 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35889 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35890 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35891 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35892 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35893 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35896
1991fa03
JM
358972012-03-09 Joseph Myers <joseph@codesourcery.com>
35898
35899 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35900 * sunrpc/rpc_main.c: Likewise.
35901 * sunrpc/rpc_svcout.c: Likewise.
35902
60d6f5a6
DM
359032012-03-09 David S. Miller <davem@davemloft.net>
35904
35905 * include/math_private.h: New file.
35906
4962050e
JM
359072012-03-09 Joseph Myers <joseph@codesourcery.com>
35908
02a6f887
JM
35909 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35910 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35911 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35912 from <bits/socket_type.h>.
35913 (enum __socket_type): Don't define here.
35914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35916 bits/socket_type.h.
35917
c6e013c1
JM
35918 [BZ #13566]
35919 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35920 checking __USE_GNU.
35921
4962050e
JM
35922 * Makerules ($(inst_includedir)/%.h): New rule.
35923 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35924 (install-others): Remove variable setting.
35925 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35926
38842f45
RH
359272012-03-08 Richard Henderson <rth@twiddle.net>
35928
67bb6da6
RH
35929 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35930 from macro to inline function; merge with the
35931 !__LIBC_INTERNAL_MATH_INLINES version.
35932 (__ieee754_sqrtf): Likewise.
35933
15194b4b
RH
35934 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35935 to inline function.
35936 (__rintf, __floor, __floorf): Likewise.
35937
64e21ede
RH
35938 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35939 macro to inline function.
35940 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35941
38842f45
RH
35942 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35943 not <math/math_private.h>.
35944
c64bf5fe
DM
359452012-03-08 David S. Miller <davem@davemloft.net>
35946
35947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35948 copyright year.
35949 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35950
82d86f28
TS
359512012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35952
35953 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35954 normalization.
35955 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35956 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35957
aea5d727
UD
359582012-03-08 Ulrich Drepper <drepper@gmail.com>
35959
35960 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35961 be defined individually, they must be defined as a block. Define
35962 S for printing a string instead of hidint the different by using a
35963 macro for adding the 'l'.
35964 * stdio-common/tst-fphex-wide.c: Adjust.
35965
70bca0a3
MP
359662012-03-07 Marek Polacek <polacek@redhat.com>
35967
35968 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35969
65b81130
MP
359702012-03-08 Marek Polacek <polacek@redhat.com>
35971
35972 [BZ #13806]
35973 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35974 * stdio-common/tst-fphex.c: Define a few macros to make the
35975 test reusable. Use them.
35976 * stdio-common/tst-fphex-wide.c: New file.
35977
07037eeb
JM
359782012-03-08 Joseph Myers <joseph@codesourcery.com>
35979
a7a93d50
JM
35980 [BZ #6911]
35981 * manual/macros.texi (gnusystems): New macro.
35982 (nongnusystems): Likewise.
35983 (gnulinuxhurdsystems): Likewise.
35984 (gnuhurdsystems): Likewise..
35985 (gnulinuxsystems): Likewise.
35986 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35987 variants of the GNU system, not "GNU system".
35988 * manual/conf.texi: Likewise.
35989 * manual/errno.texi: Likewise. Update example of errno macro
35990 expansion.
35991 * manual/filesys.texi: Likewise.
35992 (getumask): Document as specific to GNU/Hurd.
35993 * manual/install.texi: Likewise. Reword some references to
35994 GNU/Linux.
35995 * manual/intro.texi: Likewise.
35996 * manual/io.texi: Likewise.
35997 (File Name Portability): Detail which constraints are inapplicable
35998 to all GNU systems and which are only inapplicable to GNU/Hurd.
35999 * manual/job.texi: Likewise.
36000 * manual/llio.texi: Likewise.
36001 (O_NOCTTY): Document as present on GNU/Linux.
36002 * manual/maint.texi: Likewise.
36003 * manual/memory.texi: Likewise.
36004 * manual/pattern.texi: Likewise.
36005 * manual/pipe.texi: Likewise.
36006 * manual/process.texi: Likewise.
36007 * manual/resource.texi: Likewise.
36008 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36009 child on GNU/Hurd.
36010 * manual/setjmp.texi: Likewise.
36011 * manual/signal.texi: Likewise.
36012 * manual/startup.texi: Likewise.
36013 * manual/stdio.texi: Likewise.
36014 * manual/terminal.texi: Likewise.
36015 (ONLCR): Document as POSIX.
36016 (OXTABS): Document availability on GNU/Linux as XTABS.
36017 (ONOEOT): Document availability separately from other bits.
36018 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36019 * manual/time.texi: Likewise.
36020 * manual/users.texi: Likewise.
36021 * INSTALL: Regenerated.
36022 * sysdeps/gnu/errlist.c: Regenerated.
36023
07037eeb
JM
36024 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36025 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36026 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36027 puts.
36028 * configure: Regenerated.
36029
d1d3431a
JM
360302012-03-07 Joseph Myers <joseph@codesourcery.com>
36031
af6a1e37
JM
36032 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36033 default includes instead of AC_HEADER_CHECK.
36034 * sysdeps/i386/configure: Regenerated.
36035
d1d3431a
JM
36036 [BZ #10716]
36037 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36038 * math/s_cacoshf.c (__cacoshf): Likewise.
36039 * math/s_cacoshl.c (__cacoshl): Likewise.
36040 * math/s_casinh.c (__casinh): Set signs of result from argument.
36041 * math/s_casinhf.c (__casinhf): Likewise.
36042 * math/s_casinhl.c (__casinhl): Likewise.
36043 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36044 (casinh_test): Add more tests.
36045 * sysdeps/i386/fpu/libm-test-ulps: Update.
36046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36047
482ff4da
UD
360482012-03-07 Ulrich Drepper <drepper@gmail.com>
36049
872fda05
UD
36050 * po/zh_TW.po: Update from translation team.
36051
a4300c7a
UD
36052 * login/Makefile (distribute): Remove variable.
36053 * catgets/Makefile: Likewise.
36054 * mach/Makefile: Likewise.
36055 * malloc/Makefile: Likewise.
36056 * misc/Makefile: Likewise.
36057 * iconv/Makefile: Likewise.
36058 * nscd/Makefile: Likewise.
36059 * hurd/Makefile: Likewise.
36060 * manual/Makefile: Likewise.
36061 * locale/Makefile: Likewise.
36062 * intl/Makefile: Likewise.
36063 * conform/Makefile: Likewise.
36064 * nss/Makefile: Likewise.
36065 * time/Makefile: Likewise.
36066 * soft-fp/Makefile: Likewise.
36067 * dirent/Makefile: Likewise.
36068 * gmon/Makefile: Likewise.
36069 * po/Makefile: Likewise.
36070 * rt/Makefile: Likewise.
36071 * socket/Makefile: Likewise.
36072 * math/Makefile: Likewise.
36073 * signal/Makefile: Likewise.
36074 * debug/Makefile: Likewise.
36075 * elf/Makefile: Likewise.
36076 * timezone/Makefile: Likewise.
36077 * stdlib/Makefile: Likewise.
36078 * iconvdata/Makefile: Likewise.
36079 * sunrpc/Makefile: Likewise.
36080 * io/Makefile: Likewise.
36081 * argp/Makefile: Likewise.
36082 * inet/Makefile: Likewise.
36083 * hesiod/Makefile: Likewise.
36084 * grp/Makefile: Likewise.
36085 * csu/Makefile: Likewise.
36086 * wctype/Makefile: Likewise.
36087 * crypt/Makefile: Likewise.
36088 * libio/Makefile: Likewise.
36089 * string/Makefile: Likewise.
36090 * nis/Makefile: Likewise.
36091 * resolv/Makefile: Likewise.
36092 * stdio-common/Makefile: Likewise.
36093 * wcsmbs/Makefile: Likewise.
36094 * dlfcn/Makefile: Likewise.
36095 * posix/Makefile: Likewise.
36096
3b7c4e74 36097 [BZ #6959]
482ff4da
UD
36098 * timezone/Makefile: Don't install timezone files, just the programs
36099 and scripts.
36100
f72ed77d
UD
361012012-03-06 Ulrich Drepper <drepper@gmail.com>
36102
a000466f
UD
36103 * nss/databases.def: Add missing gshadow entry.
36104
f72ed77d
UD
36105 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36106
a53b7a4e
MP
361072012-03-06 Marek Polacek <polacek@redhat.com>
36108
36109 [BZ #13726]
36110 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36111 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36112 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36113 * stdio-common/tst-long-dbl-fphex.c: New file.
36114
e9258400
DM
361152012-03-06 David S. Miller <davem@davemloft.net>
36116
36117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36118 (set_obp_int): New function.
36119 (get_obp_int): New function.
36120 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
36121 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36122 Avoid unused variable warnings on 'val' and use builtin_expect.
36123 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36124 __builtin_expect.
e9258400
DM
36125 (INLINE_CLONE_SYSCALL): Likewise.
36126
3bd2c723
DM
361272012-03-05 David S. Miller <davem@davemloft.net>
36128
36129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36130
bbb78d03
AS
361312012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36132
884c5db4
AS
36133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36134
bbb78d03
AS
36135 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36136 only for |x| >= 40.
36137 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36138
1c9f702a 361392012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
36140
36141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36142 Replace gettimeofday with __vdso_gettimeofday.
36143
7be16f82
RM
36144 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36145 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36146 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
36147
36148 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36149 time with __vdso_time.
36150
ed58a00f
JM
361512012-03-05 Joseph Myers <joseph@codesourcery.com>
36152
36153 * manual/lang.texi (size_t): Note types to which size_t may be
36154 equivalent with the GNU C Library, but do not describe when
36155 differences between them are significant.
36156
30ee4ced
AJ
361572012-03-05 Andreas Jaeger <aj@suse.de>
36158
36159 * sysdeps/i386/fpu/libm-test-ulps: Update.
36160
b7cd39e8
JM
361612012-03-05 Joseph Myers <joseph@codesourcery.com>
36162
36163 [BZ #3976]
36164 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36165 (__ieee754_pow): Save and restore rounding mode and use
36166 round-to-nearest for main computations.
36167 * math/libm-test.inc (pow_test_tonearest): New function.
36168 (pow_test_towardzero): Likewise.
36169 (pow_test_downward): Likewise.
36170 (pow_test_upward): Likewise.
36171 (main): Call the new functions.
36172 * sysdeps/i386/fpu/libm-test-ulps: Update.
36173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
36174
36175 [BZ #3976]
36176 * math/libm-test.inc (cosh_test_tonearest): New function.
36177 (cosh_test_towardzero): Likewise.
36178 (cosh_test_downward): Likewise.
36179 (cosh_test_upward): Likewise.
36180 (sinh_test_tonearest): Likewise.
36181 (sinh_test_towardzero): Likewise.
36182 (sinh_test_downward): Likewise.
36183 (sinh_test_upward): Likewise.
36184 (main): Call the new functions.
36185 * sysdeps/i386/fpu/libm-test-ulps: Update.
36186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36187
6c6a98c9
TV
361882012-03-05 Tom de Vries <tom@codesourcery.com>
36189
36190 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36191 default stack guard is set in last bytes.
36192 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36193
21bb2d2e 361942012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 36195
21bb2d2e 36196 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 36197
21bb2d2e
AJ
36198 [BZ #13656]
36199 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36200 possibly allocate from heap instead of stack.
36201 * stdio-common/bug-vfprintf-nargs.c: New file.
36202 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 36203
c6922934
AS
362042012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36205
36206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36207
bc957d53
MP
362082012-03-03 Marek Polacek <polacek@redhat.com>
36209
36210 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36211 * math/math_private.h: Likewise.
36212 * stdlib/tst-strtod.c: Likewise.
36213 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36214 * sysdeps/x86_64/bits/atomic.h: Likewise.
36215
6358490d
DM
362162012-03-02 David S. Miller <davem@davemloft.net>
36217
36218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36222 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36223 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36224 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36225 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36226
01ae168d
RM
362272012-03-02 Roland McGrath <roland@hack.frob.com>
36228
d9a17c07
RM
36229 [BZ #13792]
36230 * manual/examples/README: New file, says the example source files
36231 can be used under GPL>=2.
36232 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36233 line containing just "*/".
36234 * manual/examples/add.c: Add copyright header (GPL>=2).
36235 * manual/examples/argp-ex1.c: Likewise.
36236 * manual/examples/argp-ex2.c: Likewise.
36237 * manual/examples/argp-ex3.c: Likewise.
36238 * manual/examples/argp-ex4.c: Likewise.
36239 * manual/examples/atexit.c: Likewise.
36240 * manual/examples/db.c: Likewise.
36241 * manual/examples/dir.c: Likewise.
36242 * manual/examples/dir2.c: Likewise.
36243 * manual/examples/execinfo.c: Likewise.
36244 * manual/examples/filecli.c: Likewise.
36245 * manual/examples/filesrv.c: Likewise.
36246 * manual/examples/fmtmsgexpl.c: Likewise.
36247 * manual/examples/genpass.c: Likewise.
36248 * manual/examples/inetcli.c: Likewise.
36249 * manual/examples/inetsrv.c: Likewise.
36250 * manual/examples/isockad.c: Likewise.
36251 * manual/examples/longopt.c: Likewise.
36252 * manual/examples/memopen.c: Likewise.
36253 * manual/examples/memstrm.c: Likewise.
36254 * manual/examples/mkfsock.c: Likewise.
36255 * manual/examples/mkisock.c: Likewise.
36256 * manual/examples/mygetpass.c: Likewise.
36257 * manual/examples/pipe.c: Likewise.
36258 * manual/examples/popen.c: Likewise.
36259 * manual/examples/rprintf.c: Likewise.
36260 * manual/examples/search.c: Likewise.
36261 * manual/examples/select.c: Likewise.
36262 * manual/examples/setjmp.c: Likewise.
36263 * manual/examples/sigh1.c: Likewise.
36264 * manual/examples/sigusr.c: Likewise.
36265 * manual/examples/stpcpy.c: Likewise.
36266 * manual/examples/strdupa.c: Likewise.
36267 * manual/examples/strftim.c: Likewise.
36268 * manual/examples/strncat.c: Likewise.
36269 * manual/examples/subopt.c: Likewise.
36270 * manual/examples/swapcontext.c: Likewise.
36271 * manual/examples/termios.c: Likewise.
36272 * manual/examples/testopt.c: Likewise.
36273 * manual/examples/testpass.c: Likewise.
36274 * manual/examples/timeval_subtract.c: Likewise.
36275
01ae168d
RM
36276 [BZ #13792]
36277 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36278 function to ...
36279 * manual/timeval_subtract.c.texi: ... here, new file.
36280
49efa33d
DM
362812012-03-02 David S. Miller <davem@davemloft.net>
36282
36283 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36284
28afd92d
JM
362852012-03-02 Joseph Myers <joseph@codesourcery.com>
36286
804360ed
JM
36287 [BZ #3976]
36288 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36289 (__sin): Save and restore rounding mode and use round-to-nearest
36290 for all computations.
36291 (__cos): Save and restore rounding mode and use round-to-nearest
36292 for all computations.
36293 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36294 <fenv.h>.
36295 (tan): Save and restore rounding mode and use round-to-nearest for
36296 all computations.
36297 * math/libm-test.inc (cos_test_tonearest): New function.
36298 (cos_test_towardzero): Likewise.
36299 (cos_test_downward): Likewise.
36300 (cos_test_upward): Likewise.
36301 (sin_test_tonearest): Likewise.
36302 (sin_test_towardzero): Likewise.
36303 (sin_test_downward): Likewise.
36304 (sin_test_upward): Likewise.
36305 (tan_test_tonearest): Likewise.
36306 (tan_test_towardzero): Likewise.
36307 (tan_test_downward): Likewise.
36308 (tan_test_upward): Likewise.
36309 (main): Call the new functions.
36310 * sysdeps/i386/fpu/libm-test-ulps: Update.
36311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36312
a6d06d7b
JM
36313 [BZ #10135]
36314 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36315 small n, then large n, before computing and testing k+n.
36316 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36317 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36318 Likewise.
36319 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36320 Likewise.
36321 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36322 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36325 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36326 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36327 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36328 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36329 * math/libm-test.inc (scalbn_test): Add more tests.
36330 (scalbln_test): Likewise.
36331
07e12bb3
JM
36332 * manual/filesys.texi (mode_t): Describe constraints on size and
36333 signedness, not exact equivalence to a particular type.
36334 (ino_t): Likewise.
36335 (ino64_t): Likewise.
36336 (dev_t): Likewise.
36337 (nlink_t): Likewise.
36338 (blkcnt_t): Likewise.
36339 (blkcnt64_t): Likewise.
36340 * manual/llio.texi (off_t): Likewise.
36341
28afd92d
JM
36342 [BZ #3976]
36343 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36344 (__ieee754_exp): Save and restore rounding mode and use
36345 round-to-nearest for all computations.
36346 * math/libm-test.inc (exp_test_tonearest): New function.
36347 (exp_test_towardzero): Likewise.
36348 (exp_test_downward): Likewise.
36349 (exp_test_upward): Likewise.
36350 (main): Call the new functions.
36351 * sysdeps/i386/fpu/libm-test-ulps: Update.
36352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36353
b1eeb65d
CD
363542012-03-01 Chris Demetriou <cgd@google.com>
36355
36356 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36357 have predictable order.
36358
53362a4b
DM
363592012-03-01 David S. Miller <davem@davemloft.net>
36360
3c969083
DM
36361 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36362
759707de
DM
36363 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36364 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36365 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36366 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36367
dfdb8ff2
DM
36368 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36369 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36370 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36372 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36373 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36374 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36375 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36376 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36377
ead89f96
DM
36378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36379
7f66bd07
DM
36380 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36381 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36382 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36383
53362a4b
DM
36384 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36385 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36386 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36387 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36388 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36389 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36390 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36391 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36392 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36393 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36394 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36395 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36397 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36398 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36399 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36400 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36401 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36402 * sysdeps/sparc/elf/configure: Regenerated.
36403
7b1902cb
JM
364042012-03-01 Joseph Myers <joseph@codesourcery.com>
36405
bec039bc
JM
36406 * configure.in (AS, LD): Require binutils 2.20 or later.
36407 * configure: Regenerated.
36408 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36409 as required minimum version.
36410 * INSTALL: Regenerated.
36411
7b1902cb
JM
36412 [BZ #2541]
36413 [BZ #4108]
36414 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36415 before squaring exponent.
36416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36417 bottom long double and 27 bits of top long double before squaring
36418 exponent.
36419 * math/libm-test.inc (erfc_test): Add more tests.
36420 * sysdeps/i386/fpu/libm-test-ulps: Update.
36421 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36423
f775c276
KT
364242012-03-01 Kai Tietz <ktietz@redhat.com>
36425
36426 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36427 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36428 containing bit-fields.
36429 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36430 * soft-fp/single.h (_FP_UNION_S): Likewise.
36431 * soft-fp/double.h (_FP_UNION_D): Likewise.
36432
5b8a4d4a
JM
364332012-02-29 Joseph Myers <joseph@codesourcery.com>
36434
0bab47b6
JM
36435 [BZ #13786]
36436 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36437 not include ../strcmp.S.
36438 [USE_AS_STRNCASECMP_L]: Likewise.
36439 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36440 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36441 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36442 (__strncasecmp_l_ia32): Define as alias to
36443 __strncasecmp_l_nonascii.
36444
0fcad3e2
JM
36445 [BZ #5794]
36446 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36447 * sysdeps/i386/fpu/libm-test-ulps: Update.
36448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36449
5b8a4d4a
JM
36450 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36452
8fdceb2e
JL
364532012-02-29 Jeff Law <law@redhat.com>
36454
36455 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36456 out of bounds read.
36457
1f393a11
MP
364582012-02-29 Marek Polacek <polacek@redhat.com>
36459
36460 [BZ #13706]
36461 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36462 * elf/Makefile: Add rules to run tst-unused-dep.out.
36463
8847f037
DM
364642012-02-28 David S. Miller <davem@davemloft.net>
36465
36466 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36467 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36468 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36469 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36470 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36471 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36472
169d7f11
JM
364732012-02-29 Joseph Myers <joseph@codesourcery.com>
36474
36475 * math/libm-test.inc (llround_test): Move one test from
36476 lround_test. Use TEST_f_L in moved test.
36477 (lround_test): Move misplaced test to llround_test. Add testcase
36478 from bug 2561.
36479
39adf059
UD
364802012-02-28 Ulrich Drepper <drepper@gmail.com>
36481
36482 * sysdeps/x86_64/fpu/e_expf.S: New file.
36483 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36484
71b5d1c5
SB
364852012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36486
36487 [BZ #13637]
36488 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36489 of remain_len that may cause incomplete multi-byte character and
36490 false match.
36491 * posix/bug-regex33.c: New file.
36492 * posix/Makefile (tests): Add bug-regex33.
36493
1f77f049
JM
364942012-02-28 Joseph Myers <joseph@codesourcery.com>
36495
36496 * manual/macros.texi: New file.
36497 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36498 * manual/libc.texinfo: Include macros.texi.
36499 * manual/creatute.texi: Likewise.
36500 * manual/install.texi: Likewise.
36501 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36502 @glibcadj{} in references to the GNU C Library.
36503 * manual/charset.texi: Likewise.
36504 * manual/conf.texi: Likewise.
36505 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36506 when not using those macros.
36507 * manual/creature.texi: Likewise.
36508 * manual/crypt.texi: Likewise.
36509 * manual/errno.texi: Likewise.
36510 * manual/filesys.texi: Likewise.
36511 * manual/header.texi: Likewise.
36512 * manual/install.texi: Likewise.
36513 * manual/intro.texi: Likewise.
36514 * manual/io.texi: Likewise.
36515 * manual/job.texi: Likewise.
36516 * manual/lang.texi: Likewise.
36517 * manual/libc.texiinfo: Likewise.
36518 * manual/llio.texi: Likewise.
36519 * manual/locale.texi: Likewise.
36520 * manual/maint.texi: Likewise.
36521 * manual/math.texi: Likewise.
36522 * manual/memory.texi: Likewise.
36523 * manual/message.texi: Likewise.
36524 * manual/nss.texi: Likewise.
36525 * manual/pattern.texi: Likewise.
36526 * manual/process.texi: Likewise.
36527 * manual/resource.texi: Likewise.
36528 * manual/search.texi: Likewise.
36529 * manual/setjmp.texi: Likewise.
36530 * manual/signal.texi: Likewise.
36531 * manual/socket.texi: Likewise.
36532 * manual/startup.texi: Likewise.
36533 * manual/stdio.texi: Likewise.
36534 * manual/string.texi: Likewise.
36535 * manual/sysinfo.texi: Likewise.
36536 * manual/syslog.texi: Likewise.
36537 * manual/terminal.texi: Likewise.
36538 * manual/time.texi: Likewise.
36539 * manual/users.texi: Likewise.
36540 * INSTALL: Regenerated.
36541 * NOTES: Regenerated.
d40c5d54 36542 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 36543
450bf206
AS
365442012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36545
36546 * include/dirent.h: Include <dirstream.h> before
36547 <dirent/dirent.h>.
36548
741a235b
DM
365492012-02-28 David S. Miller <davem@davemloft.net>
36550
36551 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36552 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36553 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36554 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36555
d6b5aa58
DM
365562012-02-27 David S. Miller <davem@davemloft.net>
36557
1aff59a3
DM
36558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36560 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36561 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36562
d6b5aa58
DM
36563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36564 frame pointer instead of stack pointer relative arg slot.
36565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36566 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36567 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36568
433f48bf
CD
365692012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36570
36571 [BZ #3992]
36572 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36573
d674b76d
DM
365742012-02-27 David S. Miller <davem@davemloft.net>
36575
36576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36580 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36581 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36582 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36583 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36584
0e7727f7
JM
365852012-02-27 Joseph Myers <joseph@codesourcery.com>
36586
36587 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36588 later. Allow versions 5-9.
43be4ca2 36589 * configure: Regenerated.
0e7727f7
JM
36590 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36591 required minimum version and 4.6 as recommended version. Do not
36592 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36593 * INSTALL: Regenerated.
0e7727f7 36594
a78bc654
DM
365952012-02-27 David S. Miller <davem@davemloft.net>
36596
428d5830
DM
36597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36601 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36602 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36603 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36604 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36605
a78bc654
DM
36606 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36607 manipulate bits before adding and subtracting TWO112[sx].
36608 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36609
4579f81c
RM
366102012-02-27 Roland McGrath <roland@hack.frob.com>
36611
36c8acb4
RM
36612 [BZ #13775]
36613 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36614 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36615 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36616 being in POSIX, because they are in 1003.1-2008.
36617
84ad622b
RM
36618 * rt/tst-aio.c: Include <fcntl.h>.
36619 * rt/tst-aio7.c: Likewise.
36620 * rt/tst-aio64.c: Likewise.
36621
4579f81c
RM
36622 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36623
abd923db
JM
366242012-02-27 Joseph Myers <joseph@codesourcery.com>
36625
36626 * manual/install.texi (--with-headers): Describe headers as
36627 interface headers, not private headers.
36628 (Specific advice for GNU/Linux systems): Describe use of headers
36629 from "make headers_install", not private headers from older
36630 kernels.
43be4ca2 36631 * INSTALL: Regenerated.
abd923db
JM
36632 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36633 Change to 2.6.19.
36634 * sysdeps/unix/sysv/linux/configure: Regenerated.
36635
6664049b
JM
36636 * manual/llio.texi (fclean): Remove documentation.
36637
bb8b6697
JM
36638 * manual/Makefile (libc-texi-generated): New variable. Include
36639 version.texi.
36640 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36641 $(libc-texi-generated), not duplicated list of files.
36642 (version.texi, stamp-version): New rules.
36643 (realclean): Remove $(libc-texi-generated), not individual files
36644 from that list. Do not remove dir-add.texinfo.
36645 * manual/libc.texinfo: Comment out uses of edition numbers and
36646 references to printed manual. Remove last-updated dates.
36647 (EDITION): Comment out.
36648 (ISBN): Likewise.
36649 (VERSION, UPDATED): Remove.
36650 (version.texi): Include.
36651
12e5c3b9
AS
366522012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36653
36654 * sysdeps/posix/spawni.c: Include <signal.h>.
36655 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36656 * sysdeps/pthread/aio_fsync.c: Likewise.
36657
4efeffc1 366582012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36659
ba63ba08
UD
36660 * conform/Makefile (tests): Run only when not cross-compiling and
36661 when fast-check is not defined.
36662
d94a4670
UD
36663 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36664 * conform/data/limits.h-data: Fixes for POSIX2008.
36665 * conform/run-conformtest.sh: Run all tests.
36666 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36667 headers.
36668 * include/bits/dlfcn.h: Likewise.
36669 * include/langinfo.h: Likewise.
36670 * include/monetary.h: Likewise.
36671 * include/sys/poll.h: Likewise.
36672
36673 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36674 for __USE_GNU.
36675 * posix/spawn.h: Define __need_sigset_t.
36676 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36677 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36678 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36679 to get sigevent_t only.
36680 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36681 only for __USE_GNU.
36682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36683 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36684 process_vm_writev only for __USE_GNU.
36685 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36686
36687 * conform/Makefile: For now ignore errors from run-conformtest.
36688 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36689 POSIX to avoid namespace pollution. Don't prepend headers.
36690 * conform/data/aio.h-data: Fixes for POSIX testing.
36691 * conform/data/fcntl.h-data: Likewise.
36692 * conform/data/glob.h-data: Likewise.
36693 * conform/data/grp.h-data: Likewise.
36694 * conform/data/pthread.h-data: Likewise.
36695 * conform/data/pwd.h-data: Likewise.
36696 * conform/data/signal.h-data: Likewise.
36697 * conform/data/spawn.h-data: Likewise.
36698 * conform/data/stdio.h-data: Likewise.
36699 * conform/data/stdlib.h-data: Likewise.
36700 * conform/data/stropts.h-data: Likewise.
36701 * conform/data/sys/mman.h-data: Likewise.
36702 * conform/data/sys/stat.h-data: Likewise.
36703 * conform/data/sys/types.h-data: Likewise.
36704 * conform/data/sys/wait.h-data: Likewise.
36705 * conform/data/time.h-data: Likewise.
36706 * conform/data/unistd.h-data: Likewise.
36707 * conform/data/utime.h-data: Likewise.
36708
36709 * io/sys/stat.h: fchmod was always in POSIX.
36710 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36711 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36712 * rt/aio.h: Define __need_timespec before including <time.h>.
36713 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36714 struct. Add forward declaration of pthread_attr_t and use it in
36715 sigevent.
36716 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36717 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36718 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36719 always remove CLK_TCK definition.
36720
c20105c3
AS
367212012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36722
36723 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36724
7a270350
UD
367252012-02-25 Ulrich Drepper <drepper@gmail.com>
36726
31341567
UD
36727 * conform/run-conformtest.sh: New file.
36728 * conform/Makefile: Run run-conformtest for tests.
36729 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36730 support.
36731
36732 * conform/data/uchar.h-data: New file.
36733 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36734 * conform/data/arpa/inet.h-data: Likewise.
36735 * conform/data/assert.h-data: Likewise.
36736 * conform/data/complex.h-data: Likewise.
36737 * conform/data/cpio.h-data: Likewise.
36738 * conform/data/ctype.h-data: Likewise.
36739 * conform/data/dirent.h-data: Likewise.
36740 * conform/data/dlfcn.h-data: Likewise.
36741 * conform/data/errno.h-data: Likewise.
36742 * conform/data/fcntl.h-data: Likewise.
36743 * conform/data/float.h-data: Likewise.
36744 * conform/data/fmtmsg.h-data: Likewise.
36745 * conform/data/fnmatch.h-data: Likewise.
36746 * conform/data/ftw.h-data: Likewise.
36747 * conform/data/glob.h-data: Likewise.
36748 * conform/data/grp.h-data: Likewise.
36749 * conform/data/iconv.h-data: Likewise.
36750 * conform/data/inttypes.h-data: Likewise.
36751 * conform/data/langinfo.h-data: Likewise.
36752 * conform/data/libgen.h-data: Likewise.
36753 * conform/data/limits.h-data: Likewise.
36754 * conform/data/locale.h-data: Likewise.
36755 * conform/data/math.h-data: Likewise.
36756 * conform/data/monetary.h-data: Likewise.
36757 * conform/data/mqueue.h-data: Likewise.
36758 * conform/data/ndbm.h-data: Likewise.
36759 * conform/data/net/if.h-data: Likewise.
36760 * conform/data/netdb.h-data: Likewise.
36761 * conform/data/netinet/in.h-data: Likewise.
36762 * conform/data/nl_types.h-data: Likewise.
36763 * conform/data/poll.h-data: Likewise.
36764 * conform/data/pthread.h-data: Likewise.
36765 * conform/data/pwd.h-data: Likewise.
36766 * conform/data/regex.h-data: Likewise.
36767 * conform/data/sched.h-data: Likewise.
36768 * conform/data/search.h-data: Likewise.
36769 * conform/data/semaphore.h-data: Likewise.
36770 * conform/data/setjmp.h-data: Likewise.
36771 * conform/data/signal.h-data: Likewise.
36772 * conform/data/spawn.h-data: Likewise.
36773 * conform/data/stdarg.h-data: Likewise.
36774 * conform/data/stdio.h-data: Likewise.
36775 * conform/data/stdlib.h-data: Likewise.
36776 * conform/data/string.h-data: Likewise.
36777 * conform/data/strings.h-data: Likewise.
36778 * conform/data/stropts.h-data: Likewise.
36779 * conform/data/sys/ipc.h-data: Likewise.
36780 * conform/data/sys/mman.h-data: Likewise.
36781 * conform/data/sys/msg.h-data: Likewise.
36782 * conform/data/sys/resource.h-data: Likewise.
36783 * conform/data/sys/select.h-data: Likewise.
36784 * conform/data/sys/sem.h-data: Likewise.
36785 * conform/data/sys/shm.h-data: Likewise.
36786 * conform/data/sys/socket.h-data: Likewise.
36787 * conform/data/sys/stat.h-data: Likewise.
36788 * conform/data/sys/statvfs.h-data: Likewise.
36789 * conform/data/sys/time.h-data: Likewise.
36790 * conform/data/sys/timeb.h-data: Likewise.
36791 * conform/data/sys/times.h-data: Likewise.
36792 * conform/data/sys/types.h-data: Likewise.
36793 * conform/data/sys/uio.h-data: Likewise.
36794 * conform/data/sys/un.h-data: Likewise.
36795 * conform/data/sys/utsname.h-data: Likewise.
36796 * conform/data/sys/wait.h-data: Likewise.
36797 * conform/data/syslog.h-data: Likewise.
36798 * conform/data/tar.h-data: Likewise.
36799 * conform/data/termios.h-data: Likewise.
36800 * conform/data/utime.h-data: Likewise.
36801 * conform/data/utmpx.h-data: Likewise.
36802 * conform/data/varargs.h-data: Likewise.
36803 * conform/data/wchar.h-data: Likewise.
36804 * conform/data/wctype.h-data: Likewise.
36805 * conform/data/wordexp.h-data: Likewise.
36806
36807 * include/stropts.h: New file.
36808 * include/uchar.h: New file.
36809 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36810 * include/assert.h: Likewise.
36811 * include/ctype.h: Likewise.
36812 * include/dirent.h: Likewise.
36813 * include/dlfcn.h: Likewise.
36814 * include/fcntl.h: Likewise.
36815 * include/fnmatch.h: Likewise.
36816 * include/glob.h: Likewise.
36817 * include/grp.h: Likewise.
36818 * include/libio.h: Likewise.
36819 * include/locale.h: Likewise.
36820 * include/math.h: Likewise.
36821 * include/net/if.h: Likewise.
36822 * include/netdb.h: Likewise.
36823 * include/netinet/in.h: Likewise.
36824 * include/pthread.h: Likewise.
36825 * include/pwd.h: Likewise.
36826 * include/regex.h: Likewise.
36827 * include/sched.h: Likewise.
36828 * include/search.h: Likewise.
36829 * include/setjmp.h: Likewise.
36830 * include/signal.h: Likewise.
36831 * include/stdio.h: Likewise.
36832 * include/stdlib.h: Likewise.
36833 * include/string.h: Likewise.
36834 * include/sys/cdefs.h: Likewise.
36835 * include/sys/mman.h: Likewise.
36836 * include/sys/msg.h: Likewise.
36837 * include/sys/resource.h: Likewise.
36838 * include/sys/select.h: Likewise.
36839 * include/sys/socket.h: Likewise.
36840 * include/sys/stat.h: Likewise.
36841 * include/sys/statvfs.h: Likewise.
36842 * include/sys/time.h: Likewise.
36843 * include/sys/times.h: Likewise.
36844 * include/sys/uio.h: Likewise.
36845 * include/sys/utsname.h: Likewise.
36846 * include/sys/wait.h: Likewise.
36847 * include/termios.h: Likewise.
36848 * include/time.h: Likewise.
36849 * include/ulimit.h: Likewise.
36850 * include/unistd.h: Likewise.
36851 * include/utime.h: Likewise.
36852 * include/wchar.h: Likewise.
36853 * include/wctype.h: Likewise.
36854 * include/wordexp.h: Likewise.
36855
36856 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36857
7a270350
UD
36858 * time/time.h: TIME_UTC must be a macro.
36859 Make timespec_get available for ISO C11 only as well.
36860
7724defc
UD
368612012-02-24 Ulrich Drepper <drepper@gmail.com>
36862
36863 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36864 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36865
6b1d1d46
JM
368662012-02-24 Joseph Myers <joseph@codesourcery.com>
36867
36868 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36869
0f8bbd69
JM
368702012-02-24 Joseph Myers <joseph@codesourcery.com>
36871
36872 * manual/texinfo.tex: Update to version 2012-01-19.16.
36873
66ab80bc
JM
368742012-02-24 Joseph Myers <joseph@codesourcery.com>
36875
36876 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36877
74981cc5
RM
368782012-02-24 Roland McGrath <roland@hack.frob.com>
36879
ee968201
RM
36880 [BZ #13738]
36881 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36882 * manual/fdl-1.3.texi: New file.
36883 * manual/fdl-1.1.texi: File removed.
36884
74981cc5
RM
36885 [BZ #13738]
36886 * manual/libc.texinfo (FDL_VERSION): New @set.
36887 Use it for mention of FDL in cover text.
36888 (Documentation License): Use it in @include file name.
36889
7bb764bc
JM
368902012-02-22 Joseph Myers <joseph@codesourcery.com>
36891 Roland McGrath <roland@hack.frob.com>
36892
36893 [BZ #5461]
57f41c40
AS
36894 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36895 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36896 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36897 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36898 name.
36899 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36900
6cbeae47
JM
369012012-02-22 Joseph Myers <joseph@codesourcery.com>
36902
36903 [BZ #2547]
36904 [BZ #11365]
36905 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36906 manipulate bits before adding and subtracting TWO23[sx].
36907 * math/libm-test.inc (nearbyint_test): Add more tests.
36908
fe45ce09
JM
369092012-02-22 Joseph Myers <joseph@codesourcery.com>
36910
36911 [BZ #2548]
36912 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36913 bits before adding and subtracting TWO23[sx].
36914 * math/libm-test.inc (rint_test): Add more tests.
36915 (rint_test_tonearest): Likewise.
36916 (rint_test_towardzero): Likewise.
36917 (rint_test_downward): Likewise.
36918 (rint_test_upward: Likewise.
36919
ff3b3d82
JM
369202012-02-22 Joseph Myers <joseph@codesourcery.com>
36921
36922 [BZ #10110]
36923 * include/stdc-predef.h: New file. Extracted from features.h.
36924 * include/features.h: Include stdc-predef.h.
36925 * Makefile (headers): Add stdc-predef.h.
36926 * CONFORMANCE (Compiler limitations): Update.
36927
ef0aab35
JM
369282012-02-22 Joseph Myers <joseph@codesourcery.com>
36929
36930 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36931
58639409
DM
369322012-02-21 David S. Miller <davem@davemloft.net>
36933
36934 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36935 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36936
c0e70b25
DM
369372012-02-20 David S. Miller <davem@davemloft.net>
36938
36939 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36940 using a normal save/restore sequence, rather than allocating a
36941 dummy stack frame just to store a frame pointer and restore.
36942 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36943
fb06851d
JM
369442012-02-21 Joseph Myers <joseph@codesourcery.com>
36945
36946 * manual/install.texi: Fix stray word in line-wrapped comment.
36947
7a8b71c3
DM
369482012-02-20 David S. Miller <davem@davemloft.net>
36949
d510c123
DM
36950 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36951 both binutils and gcc support GOTDATA.
36952
0722d7c2
DM
36953 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36954 "rd %pc" in the PIC register setup sequences.
36955
3d2b3019
DM
36956 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36957 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36958 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36959 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36960 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36961 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36962 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36963 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36964 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36965 (SYSCALL_ERROR_HANDLER): Likewise.
36966 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36967 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36968 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36969 (SYSCALL_ERROR_HANDLER): Likewise.
36970
c80098a9
DM
36971 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36972 (HAVE_GCC_GOTDATA): New.
36973 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36974 relocation support in both binutils and gcc.
36975 * sysdeps/sparc/elf/configure: Regenerate.
36976
3a2545a0
DM
36977 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36978 * sysdeps/sparc/sparc32/elf/configure: Delete.
36979 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36980 * sysdeps/sparc/sparc64/elf/configure: Delete.
36981 * sysdeps/sparc/elf/configure.in: New file.
36982 * sysdeps/sparc/elf/configure: Generate.
36983
7a8b71c3
DM
36984 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36985 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36986 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36987 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36988 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36989
f1e86fca
JM
369902012-02-21 Joseph Myers <joseph@codesourcery.com>
36991
36992 * manual/install.texi: Do not mention specific glibc version
36993 numbers.
36994 * manual/libc.texinfo (VERSION, UPDATED): Update.
36995 (@copying): Use @copyright{} and range of years.
36996
0e7dfaef
JM
369972012-02-21 Joseph Myers <joseph@codesourcery.com>
36998
36999 [BZ #13695]
37000 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37001 [crti.S not in sysdirs] (generated): Do not append.
37002 [crti.S not in sysdirs] (omit-deps): Likewise.
37003 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37004 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37005 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37006 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37007 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37008 Likewise.
37009 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37010 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37011 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37012 * csu/defs.awk: Remove file.
37013 * sysdeps/generic/initfini.c: Likewise.
37014 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37015 variable.
37016 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37017 Likewise.
37018
599af3ca
JM
370192012-02-20 Joseph Myers <joseph@codesourcery.com>
37020
37021 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37022 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37023 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37024 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37025 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37026 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37027 <bits/epoll.h>.
37028 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37029 (__EPOLL_PACKED): Define to empty if not defined by
37030 <bits/epoll.h>.
37031 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37033 bits/epoll.h.
37034
0e499750
JM
370352012-02-20 Joseph Myers <joseph@codesourcery.com>
37036
37037 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37038 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37039 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37040 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37041 <bits/timerfd.h>.
37042 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37044 bits/timerfd.h.
37045
5ad91f6e
JM
370462012-02-20 Joseph Myers <joseph@codesourcery.com>
37047
37048 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37049 in C locale.
37050 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37051 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37052 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37054
06b99b02
AJ
370552012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37056
37057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37058 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37059
7638c0fd
AS
370602012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37061
37062 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37063 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37064 defined.
37065 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37066 Likewise.
37067 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37068 entry for 2.16.
37069
92221550
AJ
370702012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37071
37072 * math/w_acos.c: Use non-signaling floating-point comparisons.
37073 * math/w_acosf.c: Likewise.
37074 * math/w_acosh.c: Likewise.
37075 * math/w_acoshf.c: Likewise.
37076 * math/w_acoshl.c: Likewise.
37077 * math/w_acosl.c: Likewise.
37078 * math/w_asin.c: Likewise.
37079 * math/w_asinf.c: Likewise.
37080 * math/w_asinl.c: Likewise.
37081 * math/w_atanh.c: Likewise.
37082 * math/w_atanhf.c: Likewise.
37083 * math/w_atanhl.c: Likewise.
37084 * math/w_exp2.c: Likewise.
37085 * math/w_exp2f.c: Likewise.
37086 * math/w_exp2l.c: Likewise.
37087 * math/w_j0.c: Likewise.
37088 * math/w_j0f.c: Likewise.
37089 * math/w_j0l.c: Likewise.
37090 * math/w_j1.c: Likewise.
37091 * math/w_j1f.c: Likewise.
37092 * math/w_j1l.c: Likewise.
37093 * math/w_jn.c: Likewise.
37094 * math/w_jnf.c: Likewise.
37095 * math/w_log.c: Likewise.
37096 * math/w_log10.c: Likewise.
37097 * math/w_log10f.c: Likewise.
37098 * math/w_log10l.c: Likewise.
37099 * math/w_log2.c: Likewise.
37100 * math/w_log2f.c: Likewise.
37101 * math/w_log2l.c: Likewise.
37102 * math/w_logf.c: Likewise.
37103 * math/w_logl.c: Likewise.
37104 * math/w_sqrt.c: Likewise.
37105 * math/w_sqrtf.c: Likewise.
37106 * math/w_sqrtl.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37110 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37111 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37112
ebaf36eb
JM
371132012-02-19 Joseph Myers <joseph@codesourcery.com>
37114
37115 [BZ #9739]
37116 * manual/string.texi (strnlen): Use correct parameter name in
37117 equivalent expression.
37118
71c254a6
JM
371192012-02-19 Joseph Myers <joseph@codesourcery.com>
37120
37121 [BZ #11174]
37122 * manual/users.texi (seteuid): Consistently use neweuid for
37123 argument name.
37124
16d2c631
JM
371252012-02-19 Joseph Myers <joseph@codesourcery.com>
37126
37127 [BZ #13704]
37128 * manual/nss.texi (Services in the NSS configuration): Correct
37129 list of services in example configuration file.
37130
cd837b09
NB
371312012-02-19 Nick Bowler <nbowler@draconx.ca>
37132
37133 [BZ #11322]
37134 * manual/arith.texi: Remove statements about negative zero
37135 behaving identically to zero.
37136
02c4bbad
JM
371372012-02-18 Joseph Myers <joseph@codesourcery.com>
37138
37139 [BZ #5993]
37140 * manual/install.texi: Do not document upgrading from libc5.
37141
366842e7
JM
371422012-02-18 Joseph Myers <joseph@codesourcery.com>
37143
37144 [BZ #4596]
37145 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37146
dd54084d
DM
371472012-02-18 David S. Miller <davem@davemloft.net>
37148
37149 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37150 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37151 %o7 across the call.
37152 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37153 instead.
37154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37155 SETUP_PIC_REG_LEAF.
37156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37157 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37158 * sysdeps/sparc/crtn.S: Likewise.
37159
2bcc53a3
UD
371602012-02-17 Ulrich Drepper <drepper@gmail.com>
37161
37162 * aout/Makefile: Remove.
37163
09c093b5
RK
371642012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37165
37166 [BZ #13058]
37167 * manual/examples/argp-ex1.c (main): Format definition in GNU
37168 style.
37169 * manual/examples/argp-ex2.c (main): Likewise.
37170 * manual/examples/argp-ex3.c (main): Likewise.
37171 * manual/examples/argp-ex4.c (main): Likewise.
37172 * manual/examples/longopt.c (main): Use new-style prototype
37173 definition.
37174 * manual/examples/strncat.c (main): Specify return type and use
37175 (void) for arguments.
37176 * manual/examples/subopt.c (main): Use char **argv argument.
37177
2ee633a2
JM
371782012-02-17 Joseph Myers <joseph@codesourcery.com>
37179
37180 [BZ #5077]
37181 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37182 rounding modes.
37183
0520adde
FB
371842012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37185
37186 [BZ #6907]
37187 * manual/string.texi (strchr): Change when strchrnul is
37188 recommended.
37189
3f4081cd
DGM
371902012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37191
37192 [BZ #174]
37193 * manual/locale.texi (setlocale): Document LOCPATH.
37194
d1b10e78
JM
371952012-02-17 Joseph Myers <joseph@codesourcery.com>
37196
37197 [BZ #10210]
37198 * manual/process.texi (execle): Move @dots{} before last argument.
37199
79c6869c
PB
372002012-02-17 Paul Bolle <pebolle@tiscali.nl>
37201
37202 [BZ #12047]
37203 * manual/charset.texi (Generic Charset Conversion): Fix typo
37204 (LC_TYPE -> LC_CTYPE).
37205
cc6e48bc
NB
372062012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37207
37208 [BZ #5805]
37209 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37210 (scalbnf): Likewise.
37211 (scalbnl): Likewise.
37212 (scalbln): Likewise.
37213 (scalblnf): Likewise.
37214 (scalblnl): Likewise.
37215 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37216 (vwarnx): Likewise.
37217 (verr): Likewise.
37218 (verrx): Likewise.
37219 * manual/filesys.texi (telldir): Use braces around return type.
37220 * manual/llio.texi (mmap): Add space after comma.
37221 (mmap64): Likewise.
37222 * manual/math.texi (jn): Use @var{} on parameter names.
37223 (jnf): Likewise.
37224 (jnl): Likewise.
37225 (yn): Likewise.
37226 (ynf): Likewise.
37227 (ynl): Likewise.
37228 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37229 line.
37230 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37231 "...".
37232 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37233 (sched_get_priority_max): Likewise.
37234 * manual/signal.texi (sigvec): Add space after comma.
37235 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37236 names.
37237 (if_indextoname): Likewise.
37238 (if_freenameindex): Likewise.
37239 (sendto): Use ',' instead of '.' in prototype.
37240 * manual/startup.texi (syscall): Use @dots{} instead of literal
37241 "...".
37242 * manual/stdio.texi (__fpending): Separate initial words of
37243 paragraph from @deftypefun line.
37244 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37245 "...".
37246 (vsyslog): Use @var{} on parameter names.
37247 * manual/terminal.texi (stty): Use @var{} on parameter names.
37248 * manual/users.texi (getutmp): Use @var{} on parameter names.
37249 (getutmpx): Likewise.
37250
5b23062f
JM
372512012-02-17 Joseph Myers <joseph@codesourcery.com>
37252
37253 [BZ #6884]
37254 * manual/stdio.texi (fopen): Fix typos in description of
37255 ",ccs=STRING".
37256
8dee4833
AJ
372572012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37258
37259 [BZ #4026]
37260 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37261 get clock_id definition.
37262
9078ce93
TS
372632012-02-17 Thomas Schwinge <thomas@schwinge.name>
37264
37265 [BZ #4822]
37266 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37267 (madvise): Cast every argument to void on its own.
37268
3835c55f
JM
372692012-02-17 Joseph Myers <joseph@codesourcery.com>
37270
37271 [BZ #9902]
37272 * manual/startup.texi (Exit Status): Fix typo.
37273
35c47e37
JM
372742012-02-17 Joseph Myers <joseph@codesourcery.com>
37275
37276 [BZ #10140]
37277 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37278 * manual/examples/argp-ex2.c: Likewise.
37279 * manual/examples/argp-ex3.c: Likewise.
37280
e3b69ca7
RH
372812012-02-16 Richard Henderson <rth@redhat.com>
37282
37283 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37284 * sysdeps/s390/s390-32/initfini.c: Remove.
37285 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37286 * sysdeps/s390/s390-64/initfini.c: Remove.
37287
df83af67
KK
372882012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37289
37290 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37291 compiler output for sysdeps/generic/initfini.c.
37292 * sysdeps/sh/elf/initfini.c: Remove file.
37293
f63f3380
DM
372942012-02-16 David S. Miller <davem@davemloft.net>
37295
fb59b3a4
DM
37296 [BZ #11494]
37297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37298
f63f3380
DM
37299 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37300 * sysdeps/sparc/crti.S: New file.
37301 * sysdeps/sparc/crtn.S: New file.
37302 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37303 * sysdeps/sparc/sparc64/Makefile: Likewise.
37304
df6a4a4a
MF
373052012-02-15 Mike Frysinger <vapier@gentoo.org>
37306
6dd8f3dc 37307 [BZ #3335]
df6a4a4a
MF
37308 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37309
1cac7236
RM
373102012-02-15 Roland McGrath <roland@hack.frob.com>
37311
d2c736f8
RM
37312 [BZ #4822]
37313 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37314
1cac7236
RM
37315 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37316 (write, read, close): Likewise.
37317 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37318
8e475601
JM
373192012-02-15 Joseph Myers <joseph@codesourcery.com>
37320
37321 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37322 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37323 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37324 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37325 <bits/signalfd.h>.
37326 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37328 bits/signalfd.h.
37329
ed656b40
MP
373302012-02-14 Marek Polacek <polacek@redhat.com>
37331
37332 * sysdeps/x86_64/crti.S: New file.
37333 * sysdeps/x86_64/crtn.S: New file.
37334 * sysdeps/x86_64/elf/initfini.c: Remove file.
37335
2a979d3a
JM
373362012-02-13 Joseph Myers <joseph@codesourcery.com>
37337
37338 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37339 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37340 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37341 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37342 <bits/inotify.h>.
37343 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37345 bits/inotify.h.
37346
2a418ac3
JM
373472012-02-13 Joseph Myers <joseph@codesourcery.com>
37348
37349 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37350 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37351 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37352 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37353 <bits/eventfd.h>.
37354 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37356 bits/eventfd.h.
37357
fb779be7
TS
373582012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37359
e19e83c5
RM
37360 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37361 __feraiseexcept instead of feraiseexcept.
7c35ffed 37362
fb779be7
TS
37363 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37364 nanosleep invocations.
37365 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37366 strings, and add error checking for a nanosleep invocations.
37367
59ba27a6
PE
373682012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37369
37370 Replace FSF snail mail address with URLs, as per GNU coding standards.
37371 Most of the snail mail addresses were wrong anyway, and omitting
37372 them makes the source code easier to maintain. Almost all of the
37373 changes are to license notices and to locale LC_IDENTIFICATION
37374 addresses, except for this one:
37375 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37376 not its snail mail address.
37377
57b957eb
RH
373782012-02-09 Richard Henderson <rth@twiddle.net>
37379
af850b1c
RH
37380 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37381 of kernel-features.h.
37382
57b957eb
RH
37383 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37384
6b73181a
MP
373852012-02-08 Marek Polacek <polacek@redhat.com>
37386
37387 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37388 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37389 * sysdeps/gnu/_G_config.h: Likewise.
37390 * sysdeps/generic/_G_config.h: Likewise.
37391
26ecc33a
AS
373922012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37393
6c6dbc63
AS
37394 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37395 tests.
37396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37397
e216c012
AS
37398 * sysdeps/powerpc/powerpc32/crti.S: New file.
37399 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37400 * sysdeps/powerpc/powerpc64/crti.S: New file.
37401 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37402
26ecc33a
AS
37403 * Makeconfig (have-initfini): Don't set.
37404 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37405 * configure.in (nopic_initfini): Don't substitute.
37406 * config.h.in (HAVE_INITFINI): Don't #undef.
37407 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37408 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37409
3add8e13
JM
374102012-02-08 Joseph Myers <joseph@codesourcery.com>
37411
37412 Support crti.S and crtn.S provided directly by architectures.
37413 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37414 [crti.S in sysdirs] (omit-deps): Likewise.
37415 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37416 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37417 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37418 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37419 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37420 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37421 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37422 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37423 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37424 compiler output for sysdeps/generic/initfini.c.
37425 * sysdeps/i386/elf/Makefile: Remove file.
37426 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37427
a22f12b4
MP
374282012-02-07 Marek Polacek <polacek@redhat.com>
37429
37430 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37431 * sysdeps/gnu/_G_config.h: Likewise.
37432 * sysdeps/mach/hurd/_G_config.h: Likewise.
37433
148cf100
MP
374342012-02-07 Marek Polacek <polacek@redhat.com>
37435
37436 * math/Makefile (tests): Add tst-CMPLX2.
37437 * math/tst-CMPLX2.c: New file.
37438
cfdc0dd7
AS
374392012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37440
84ba42c4
AS
37441 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37442
cfdc0dd7
AS
37443 * math/libm-test.inc (jn_test): Add missing L suffix.
37444
622c86f4
MP
374452012-02-06 Marek Polacek <polacek@redhat.com>
37446
37447 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37448 * sysdeps/i386/fpu/e_powf.S: Likewise.
37449 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37450 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37451 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37452 * sysdeps/i386/fpu/e_pow.S: Likewise.
37453 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37454 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37455 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37456 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37457 * sysdeps/i386/fpu/e_log2.S: Likewise.
37458 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37459 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37460 * sysdeps/i386/fpu/e_powl.S: Likewise.
37461 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37462 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37463 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37464 * sysdeps/i386/fpu/e_logl.S: Likewise.
37465 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37466 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37467 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37468 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37469 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37470 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37471 * sysdeps/i386/fpu/e_log.S: Likewise.
37472 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37473 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37474 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37475 * sysdeps/i386/fpu/e_logf.S: Likewise.
37476 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37477 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37478 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37479 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37480 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37481 * sysdeps/i386/fpu/e_log10.S: Likewise.
37482 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37483 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37484 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37485 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37486 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37487 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37488 * sysdeps/i386/asm-syntax.h: Likewise.
37489 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37490 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37491 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37492 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37493 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37494 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37495 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37496 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37497 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37498 * sysdeps/powerpc/sysdep.h: Likewise.
37499 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37500 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37501
d4a54ac6
JM
375022012-02-06 Joseph Myers <joseph@codesourcery.com>
37503
37504 [BZ #411]
37505 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37506
314054ea
JM
375072012-02-06 Joseph Myers <joseph@codesourcery.com>
37508
37509 * sysdeps/i386/sysdep.h: Include <features.h>.
37510 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37511 version.
37512
d8e0ca50
JM
375132012-02-05 Joseph Myers <joseph@codesourcery.com>
37514
37515 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37516 Define.
37517 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37518 LOAD_PIC_REG_STR.
37519
b1da7dd9
JM
375202012-02-03 Joseph Myers <joseph@codesourcery.com>
37521
37522 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37523 (SETUP_PIC_REG): Use GET_PC_THUNK.
37524 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37525 macro.
37526
9a1d9254
JM
375272012-02-03 Joseph Myers <joseph@codesourcery.com>
37528
37529 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37530 for non-PIC compilation.
37531 (SETUP_PIC_REG): Add .p2align directive.
37532 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37533 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37534 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37535 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37536 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37537 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37538 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37539 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37540 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37541 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37542 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37543 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37544 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37545 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37546 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37547 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37548 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37549 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37550 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37551 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37552 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37553 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37554 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37555 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37556 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37557 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37558 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37559 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37560 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37561 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37562 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37563 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37564 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37565 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37566 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37567 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37568 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37569 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37570 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37571 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37572 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37573
65dc3b75
JM
375742012-02-03 Joseph Myers <joseph@codesourcery.com>
37575
37576 * math/tst-CMPLX.c: Include <stdio.h>.
37577
d55bf177
JM
375782012-01-31 Joseph Myers <joseph@codesourcery.com>
37579
37580 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37581 float.
37582 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37583 * sysdeps/sparc/bits/mathdef.h: Likewise.
37584
69db4f8f
MP
375852012-01-31 Marek Polacek <polacek@redhat.com>
37586
37587 * libio/libio.h: Don't define _PARAMS.
37588 * locale/programs/config.h: Don't define PARAMS.
37589 * stdlib/strtol_l.c: Likewise.
37590 (__strtol_l): Remove PARAMS from the prototype.
37591
41b81892
UD
375922012-01-31 Ulrich Drepper <drepper@gmail.com>
37593
3b49edc0
UD
37594 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37595 names. Just use the correct names. Remove unnecessary wrapper
37596 functions.
37597 * malloc/arena.c: Likewise.
37598 * malloc/hooks.c: Likewise.
37599
41b81892
UD
37600 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37601 ARENA_TEST says not to. Simplify test for creation of a new arena.
37602 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37603
27a25b6e
UD
376042012-01-30 Ulrich Drepper <drepper@gmail.com>
37605
37606 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37607 into tail calls.
37608 (update_get_addr): New function.
37609 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37610 GET_ADDR_MODULE parameter.
37611
c8a89e7d
JM
376122012-01-30 Joseph Myers <joseph@codesourcery.com>
37613
37614 * crypt/cert.c: Remove __STDC__ conditionals.
37615 * crypt/crypt-entry.c: Likewise.
37616 * crypt/crypt_util.c: Likewise.
37617 * libio/filedoalloc.c: Likewise.
37618 * libio/fileops.c: Likewise.
37619 * libio/genops.c: Likewise.
37620 * libio/iofclose.c: Likewise.
37621 * libio/iofdopen.c: Likewise.
37622 * libio/iofopen.c: Likewise.
37623 * libio/iofopen64.c: Likewise.
37624 * libio/iogetdelim.c: Likewise.
37625 * libio/iopopen.c: Likewise.
37626 * libio/obprintf.c: Likewise.
37627 * libio/oldfileops.c: Likewise.
37628 * libio/oldiofclose.c: Likewise.
37629 * libio/oldiofdopen.c: Likewise.
37630 * libio/oldiofopen.c: Likewise.
37631 * libio/oldiopopen.c: Likewise.
37632 * libio/wfiledoalloc.c: Likewise.
37633 * libio/wgenops.c: Likewise.
37634 * locale/programs/xmalloc.c: Likewise.
37635 * misc/syslog.c: Likewise.
37636 * stdio-common/xbug.c: Likewise.
37637 * string/memchr.c: Likewise.
37638 * string/memcmp.c: Likewise.
37639 * string/memrchr.c: Likewise.
37640 * string/rawmemchr.c: Likewise.
37641 * sysdeps/posix/getcwd.c: Likewise.
37642 * time/strftime_l.c: Likewise.
37643
3b100462
JM
376442012-01-30 Joseph Myers <joseph@codesourcery.com>
37645
37646 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37647 * config.make.in (config-cflags-sse2avx): Define.
37648 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37649 Fix typo.
37650
607998af
CM
376512012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37652
37653 * scripts/config.guess: Update from upstream config git repository.
37654 * scripts/config.sub: Likewise.
37655
3601428f
CM
376562012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37657
3ac8b282
CM
37658 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37659 (EM_NUM): Update.
37660 (R_TILEPRO_*, R_TILEGX_*): New macros.
37661
e034841e
CM
37662 * scripts/firstversions.awk: Fix bug in version range handling.
37663
540d7568
CM
37664 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37665
3601428f
CM
37666 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37667
463de862
CM
37668 * include/sys/epoll.h: New file.
37669 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37670 libc_hidden_def.
37671
73139a76
UD
376722012-01-28 Ulrich Drepper <drepper@gmail.com>
37673
96bc5b45
UD
37674 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37675 Avoid unnecessary __WORDSIZE == 64 test.
37676 (fmaxf): Use VEX format if possible.
37677 (fmax): Likewise.
37678 (fminf): Likewise.
37679 (fmin): Likewise.
37680
56f6f6a2
UD
37681 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37682 * math/math_private.h: Remove libc_fegetround* and
37683 libc_fesetround*.
37684 * sysdeps/i386/configure.in: Check for -msse2avx.
37685 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37686 also if SSE2AVX is defined.
37687 Remove libc_fegetround* and libc_fesetround*.
37688 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37689 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37690 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37691 of HAS_YMM_USABLE.
37692 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37693 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37694 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37695 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37697
73139a76
UD
37698 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37699
d73f93a4
AZ
377002012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37701
37702 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37703 size is not set.
37704 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37705
6ee65ed6
UD
377062012-01-27 Ulrich Drepper <drepper@gmail.com>
37707
37708 [BZ #13618]
37709 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37710 relocation.
37711 * Makeconfig (libm): Define.
37712 * elf/Makefile: Add rules to build and run tst-relsort1.
37713 * elf/tst-relsort1.c: New file.
37714 * elf/tst-relsort1mod1.c: New file.
37715 * elf/tst-relsort1mod2.c: New file.
37716
8db21882
JM
377172012-01-27 Joseph Myers <joseph@codesourcery.com>
37718
37719 * math/s_ldexp.c: Remove __STDC__ conditionals.
37720 * math/s_ldexpf.c: Likewise.
37721 * math/s_ldexpl.c: Likewise.
37722 * math/s_nextafter.c: Likewise.
37723 * math/s_nexttowardf.c: Likewise.
37724 * math/s_significand.c: Likewise.
37725 * math/s_significandf.c: Likewise.
37726 * math/s_significandl.c: Likewise.
37727 * math/w_jnl.c: Likewise.
37728 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37729 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37730 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37731 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37732 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37737 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37739 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37740 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37741 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37742 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37743 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37744 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37745 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37747 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37748 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37749 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37750 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37751 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37752 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37753 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37754 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37755 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37756 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37757 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37758 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37759 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37760 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37761 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37762 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37763 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37764 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37765 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37766 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37767 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37768 * sysdeps/ieee754/k_standard.c: Likewise.
37769 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37770 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37771 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37772 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37773 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37774 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37775 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37776 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37777 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37778 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37779 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37780 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37781 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37782 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37783 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37784 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37787 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37788 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37789 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37790 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37791 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37792 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37793 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37794 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37795 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37796 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37797 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37799 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37800 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37801 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37803 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37804 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37805 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37807 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37808 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37809 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37810 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37811 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37812 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37813 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37814 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37815 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37816 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37817 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37818 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37819 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37820 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37821 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37822 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37824 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37825 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37826 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37827 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37828 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37829 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37830 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37831 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37833 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37834 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37835 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37836 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37837 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37838 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37839 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37840 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37841 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37842 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37843 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37844 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37846 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37847 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37848 * sysdeps/ieee754/s_matherr.c: Likewise.
37849 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37850 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37851 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37852 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37853
965a54a4
JM
378542012-01-26 Joseph Myers <joseph@codesourcery.com>
37855
37856 * crypt/md5.h: Remove __STDC__ conditionals.
37857 * libio/libioP.h: Likewise.
37858 * locale/programs/config.h: Likewise.
37859 * sysdeps/generic/sysdep.h: Likewise.
37860 * sysdeps/i386/asm-syntax.h: Likewise.
37861 * sysdeps/s390/asm-syntax.h: Likewise.
37862 * sysdeps/unix/sysdep.h: Likewise.
37863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37865
7071ad79
JM
378662012-01-26 Joseph Myers <joseph@codesourcery.com>
37867
37868 * libio/libio.h: Remove __STDC__ conditionals.
37869 * malloc/obstack.h: Likewise.
37870 * math/complex.h: Likewise.
37871 * math/math.h: Likewise.
37872 * sysdeps/generic/_G_config.h: Likewise.
37873 * sysdeps/gnu/_G_config.h: Likewise.
37874 * sysdeps/mach/hurd/_G_config.h: Likewise.
37875 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37876 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37877 * sysdeps/sparc/bits/mathdef.h: Likewise.
37878
afc5ed09
UD
378792012-01-26 Ulrich Drepper <drepper@gmail.com>
37880
37881 [BZ #13583]
37882 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37883 Clean up HAS_* macros.
afc5ed09 37884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37885 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37886 possible.
37887 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37888 HAS_AVX.
37889 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37890 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37891 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37892 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37893 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37894
bdb6de1d
JM
378952012-01-25 Joseph Myers <joseph@codesourcery.com>
37896
37897 * elf/tst-unique3.cc (gets): Remove declaration.
37898 * elf/tst-unique3lib.cc (gets): Likewise.
37899 * elf/tst-unique3lib2.cc (gets): Likewise.
37900 * elf/tst-unique4.cc (gets): Likewise.
37901
b15549e6
UD
379022012-01-24 Ulrich Drepper <drepper@gmail.com>
37903
37904 * include/stdio.h: Add C++ protection. Add gets declarations and
37905 definitions.
37906 * debug/tst-chk1.c: Don't declare gets here.
37907 * stdio-common/tst-gets.c: Likewise.
37908
a037381f
JM
379092012-01-24 Joseph Myers <joseph@codesourcery.com>
37910
37911 * posix/glob: Remove directory.
37912
f1d4aa75
JM
379132012-01-24 Joseph Myers <joseph@codesourcery.com>
37914
37915 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37916
81c0c964
PT
379172012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37918
37919 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37920 of the non-standard EPFNOSUPPORT.
37921
0ea698ae
ST
379222011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37923
37924 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37925 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37926 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37927
d220b117
UD
379282012-01-21 Ulrich Drepper <drepper@gmail.com>
37929
37930 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37931
3e1aa84e
UD
379322012-01-20 Ulrich Drepper <drepper@gmail.com>
37933
37934 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37935 transient errors.
37936 * nscd/grpcache.c (cache_addgr): Likewise.
37937 * nscd/hstcache.c (cache_addhst): Likewise.
37938 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37939 * nscd/pwdcache.c (cache_addpw): Likewise.
37940 * nscd/servicescache.c (cache_addserv): Likewise.
37941
400aa020
UD
379422012-01-16 Ulrich Drepper <drepper@gmail.com>
37943
d77e7869
UD
37944 * malloc/malloc.c: Various cleanups.
37945 * malloc/hooks.c: Likewise.
37946
400aa020
UD
37947 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37948 * stdlib/bug-fmtmsg1.c: New file.
37949
37950 * stdlib/fmtmsg.c (init): Add missing unlock.
37951 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37952
e0a309cf
MP
379532012-01-12 Marek Polacek <polacek@redhat.com>
37954
37955 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37956 and _GNU_SOURCE.
37957
929d11c7
WS
379582012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37959
37960 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37961 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37962 macro to ensure uniqueness of label name.
37963 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37964 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37965
41d0e869
UD
379662012-01-11 Ulrich Drepper <drepper@gmail.com>
37967
0cc5ed3b
UD
37968 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37969
41d0e869
UD
37970 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37971 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37972 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37974
a47a831a
UD
379752012-01-10 Ulrich Drepper <drepper@gmail.com>
37976
daa891c0
UD
37977 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37978
37979 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37980 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37981 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37982
e58ef0f2
UD
37983 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37984
a47a831a 37985 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37986 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37987 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37988 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37989
37990 * math/bits/math-finite.h: Add ldexp support.
37991
a0bfc9c7
MP
379922012-01-10 Marek Polacek <polacek@redhat.com>
37993
37994 * locale/programs/localedef.h (show_archive_content): Add noreturn
37995 attribute.
37996
d6e97a1d
UD
379972012-01-09 Ulrich Drepper <drepper@gmail.com>
37998
37999 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38000
d5835c26
UD
380012012-01-08 Ulrich Drepper <drepper@gmail.com>
38002
e5f484c6
UD
38003 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38004
d5835c26
UD
38005 * io/Makefile (headers): Add bits/poll2.h.
38006
d1f741e9
WS
380072011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38008
38009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38010 typo #include statement.
38011
ec09c1c4
UD
380122012-01-08 Ulrich Drepper <drepper@gmail.com>
38013
38014 * include/sys/cdefs.h: Define __attribute_alloc_size.
38015 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38016 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38017 * elf/pldd.c: Likewise.
38018 * iconv/iconv_charmap.c: Likewise.
38019 * iconv/iconvconfig.c: Likewise.
38020 * iconv/strtab.c: Likewise.
38021 * locale/programs/locale.c: Likewise.
38022 * locale/programs/localedef.h: Likewise.
38023 * locale/programs/simple-hash.c: Likewise.
38024 * nscd/nscd.h: Likewise.
38025 * nss/makedb.c: Likewise.
38026 * sysdeps/generic/ldconfig.h: Likewise.
38027 * locale/programs/localedef.c: Remove xmalloc prototype.
38028 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38029
20b38e03
PP
380302012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38031
38032 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38033 appropriate.
38034
a0da5fe1
UD
380352012-01-08 Ulrich Drepper <drepper@gmail.com>
38036
1d5a644a 38037 * math/Makefile (tests): Add tst-CMPLX.
669704fd 38038 * math/tst-CMPLX.c: New file.
1d5a644a 38039
8784a6db
UD
38040 * math/complex.h (CMPLXL): Fix typo.
38041
d9a216c0
UD
38042 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38043 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38044 GLIBC_2.16.
38045 * debug/tst-chk1.c: Add poll and ppoll tests.
38046 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38047 * include/sys/poll.h: Add hidden proto for ppoll.
38048 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38049 * sysdeps/mach/hurd/ppoll.c: Likewise.
38050 * io/ppoll.c: Likewise.
38051 * debug/poll_chk.c: New file.
38052 * debug/ppoll_chk.c: New file.
38053 * include/bits/poll2.h: New file.
38054 * io/bits/poll2.h: New file.
38055
ac097f5c
UD
38056 [BZ #1350]
38057 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38058
2119dcfa
UD
38059 * configure.in: static is always set to yes. Remove.
38060 * config.make.in: Don't set build-static.
38061 * Makeconfig: Remove use of build-static.
38062 * dlfcn/Makefile: Likewise.
38063 * elf/Makefile: Likewise.
38064 * math/Makefile: Likewise.
38065 * misc/Makefile: Likewise.
38066 * nptl/Makefile: Likewise.
38067 * sysdeps/mach/hurd/Makefile: Likewise.
38068
121766a9
UD
38069 * configure.in: PWD_P is not used anymore.
38070 * config.make.in: Remove PWD_P entry.
38071
51a1d39c 38072 * configure.in: Remove last remnants of RANLIB.
8720d066 38073 No need to check for signed size_t anymore.
215f4bdc
UD
38074 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38075 and IA-64.
3857022a 38076 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
38077 * aclocal.m4: Likewise.
38078
d3ed7225
UD
38079 * wcsmbs/mbrtoc16.c: Implement using towc function.
38080 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38081 * wcsmbs/wcsmbsload.c: Likewise.
38082 * iconv/gconv_simple.c: Likewise.
38083 * iconv/gconv_int.h: Likewise.
38084 * iconv/gconv_builtin.h: Likewise.
38085 * iconv/iconv_prog.c: Remove CHAR16 handling.
38086
38087 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38088
38089 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38090
a0da5fe1
UD
38091 * configure.in: Remove --with-elf and --enable-bounded options.
38092 Dont set base_machine for ia64. More non-ELF conditions removed.
38093 Remove testing and setting of leading underscore information.
38094 * config.make.in (build-bounded): Set to no.
38095 * config.h.in: Remove NO_UNDERSCORES entry.
38096 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38097 them.
38098 * csu/start.c: Remove !NO_UNDERSCORE code.
38099 * locale/localeinfo.h: Likewise.
38100 * sysdeps/generic/machine-gmon.h: Likewise.
38101 * sysdeps/generic/sysdep.h: Likewise.
38102 * sysdeps/i386/sysdep.h: Likewise.
38103 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38104 * sysdeps/mach/sysdep.h: Likewise.
38105 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38106 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38107 * sysdeps/sh/sysdep.h: Likewise.
38108 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38109 * sysdeps/unix/i386/sysdep.S: Likewise.
38110 * sysdeps/unix/sparc/start.c: Likewise.
38111 * sysdeps/unix/sparc/sysdep.S: Likewise.
38112 * sysdeps/unix/sparc/sysdep.h: Likewise.
38113 * sysdeps/unix/start.c: Likewise.
38114 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38115 * sysdeps/x86_64/sysdep.h: Likewise.
38116
df78418a
UD
381172012-01-07 Ulrich Drepper <drepper@gmail.com>
38118
a784e502
UD
38119 [BZ #13553]
38120 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38121 for non-gcc.
38122 * argp/argp-fmtstream.h: Use const instead __const.
38123 * argp/argp.h: Likewise.
38124 * assert/assert.h: Likewise.
38125 * bits/fenv.h: Likewise.
38126 * bits/sched.h: Likewise.
38127 * bits/sigset.h: Likewise.
38128 * bits/sigthread.h: Likewise.
38129 * catgets/nl_types.h: Likewise.
38130 * conform/data/pthread.h-data: Likewise.
38131 * crypt/crypt-private.h: Likewise.
38132 * crypt/crypt.h: Likewise.
38133 * crypt/crypt_util.c: Likewise.
38134 * ctype/ctype.h: Likewise.
38135 * debug/execinfo.h: Likewise.
38136 * debug/mbsnrtowcs_chk.c: Likewise.
38137 * debug/mbsrtowcs_chk.c: Likewise.
38138 * debug/wcsnrtombs_chk.c: Likewise.
38139 * debug/wcsrtombs_chk.c: Likewise.
38140 * debug/wcstombs_chk.c: Likewise.
38141 * dirent/dirent.h: Likewise.
38142 * dlfcn/dlfcn.h: Likewise.
38143 * elf/neededtest4.c: Likewise.
38144 * grp/grp.h: Likewise.
38145 * gshadow/gshadow.h: Likewise.
38146 * iconv/gconv.h: Likewise.
38147 * iconv/gconv_int.h: Likewise.
38148 * iconv/gconv_simple.c: Likewise.
38149 * iconv/iconv.h: Likewise.
38150 * iconv/loop.c: Likewise.
38151 * iconv/skeleton.c: Likewise.
38152 * include/aio.h: Likewise.
38153 * include/aliases.h: Likewise.
38154 * include/argz.h: Likewise.
38155 * include/arpa/inet.h: Likewise.
38156 * include/assert.h: Likewise.
38157 * include/dirent.h: Likewise.
38158 * include/dlfcn.h: Likewise.
38159 * include/execinfo.h: Likewise.
38160 * include/fcntl.h: Likewise.
38161 * include/fenv.h: Likewise.
38162 * include/glob.h: Likewise.
38163 * include/grp.h: Likewise.
38164 * include/libintl.h: Likewise.
38165 * include/mntent.h: Likewise.
38166 * include/netdb.h: Likewise.
38167 * include/pwd.h: Likewise.
38168 * include/rpc/netdb.h: Likewise.
38169 * include/sched.h: Likewise.
38170 * include/search.h: Likewise.
38171 * include/shadow.h: Likewise.
38172 * include/signal.h: Likewise.
38173 * include/stdio.h: Likewise.
38174 * include/stdlib.h: Likewise.
38175 * include/string.h: Likewise.
38176 * include/sys/socket.h: Likewise.
38177 * include/sys/stat.h: Likewise.
38178 * include/sys/statfs.h: Likewise.
38179 * include/sys/statvfs.h: Likewise.
38180 * include/sys/syslog.h: Likewise.
38181 * include/sys/time.h: Likewise.
38182 * include/sys/uio.h: Likewise.
38183 * include/time.h: Likewise.
38184 * include/unistd.h: Likewise.
38185 * include/utmp.h: Likewise.
38186 * include/wchar.h: Likewise.
38187 * include/wctype.h: Likewise.
38188 * inet/aliases.h: Likewise.
38189 * inet/arpa/inet.h: Likewise.
38190 * inet/netinet/ether.h: Likewise.
38191 * inet/netinet/in.h: Likewise.
38192 * intl/libintl.h: Likewise.
38193 * io/bits/fcntl2.h: Likewise.
38194 * io/fcntl.h: Likewise.
38195 * io/ftw.h: Likewise.
38196 * io/sys/poll.h: Likewise.
38197 * io/sys/stat.h: Likewise.
38198 * io/sys/statfs.h: Likewise.
38199 * io/sys/statvfs.h: Likewise.
38200 * io/utime.h: Likewise.
38201 * libio/bits/stdio.h: Likewise.
38202 * libio/bits/stdio2.h: Likewise.
38203 * libio/libio.h: Likewise.
38204 * libio/libioP.h: Likewise.
38205 * libio/stdio.h: Likewise.
38206 * locale/lc-ctype.c: Likewise.
38207 * locale/locale.h: Likewise.
38208 * login/utmp.h: Likewise.
38209 * malloc/arena.c: Likewise.
38210 * malloc/malloc.c: Likewise.
38211 * malloc/malloc.h: Likewise.
38212 * malloc/mcheck.c: Likewise.
38213 * malloc/mtrace.c: Likewise.
38214 * math/bits/mathcalls.h: Likewise.
38215 * math/fenv.h: Likewise.
38216 * math/math_private.h: Likewise.
38217 * misc/bits/error.h: Likewise.
38218 * misc/bits/syslog.h: Likewise.
38219 * misc/err.h: Likewise.
38220 * misc/error.h: Likewise.
38221 * misc/fstab.h: Likewise.
38222 * misc/mntent.h: Likewise.
38223 * misc/regexp.h: Likewise.
38224 * misc/search.h: Likewise.
38225 * misc/sgtty.h: Likewise.
38226 * misc/sys/mman.h: Likewise.
38227 * misc/sys/syslog.h: Likewise.
38228 * misc/sys/uio.h: Likewise.
38229 * misc/sys/xattr.h: Likewise.
38230 * misc/ttyent.h: Likewise.
38231 * nis/rpcsvc/ypclnt.h: Likewise.
38232 * nss/nss.h: Likewise.
38233 * posix/bits/unistd.h: Likewise.
38234 * posix/fnmatch.h: Likewise.
38235 * posix/glob.h: Likewise.
38236 * posix/sched.h: Likewise.
38237 * posix/spawn.h: Likewise.
38238 * posix/sys/wait.h: Likewise.
38239 * posix/unistd.h: Likewise.
38240 * posix/wordexp.h: Likewise.
38241 * pwd/pwd.h: Likewise.
38242 * resolv/netdb.h: Likewise.
38243 * resource/sys/resource.h: Likewise.
38244 * rt/aio.h: Likewise.
38245 * rt/bits/mqueue2.h: Likewise.
38246 * rt/mqueue.h: Likewise.
38247 * shadow/shadow.h: Likewise.
38248 * signal/signal.h: Likewise.
38249 * socket/send.c: Likewise.
38250 * socket/sendto.c: Likewise.
38251 * socket/sys/socket.h: Likewise.
38252 * stdio-common/printf.h: Likewise.
38253 * stdlib/bits/stdlib.h: Likewise.
38254 * stdlib/fmtmsg.h: Likewise.
38255 * stdlib/monetary.h: Likewise.
38256 * stdlib/stdlib.h: Likewise.
38257 * stdlib/ucontext.h: Likewise.
38258 * streams/stropts.h: Likewise.
38259 * string/argz.h: Likewise.
38260 * string/bits/string2.h: Likewise.
38261 * string/string.h: Likewise.
38262 * string/strings.h: Likewise.
38263 * sunrpc/rpc/auth.h: Likewise.
38264 * sunrpc/rpc/auth_des.h: Likewise.
38265 * sunrpc/rpc/clnt.h: Likewise.
38266 * sunrpc/rpc/netdb.h: Likewise.
38267 * sunrpc/rpc/pmap_clnt.h: Likewise.
38268 * sunrpc/rpc/xdr.h: Likewise.
38269 * sysdeps/generic/inttypes.h: Likewise.
38270 * sysdeps/generic/net/if.h: Likewise.
38271 * sysdeps/generic/sys/swap.h: Likewise.
38272 * sysdeps/gnu/net/if.h: Likewise.
38273 * sysdeps/gnu/utmpx.h: Likewise.
38274 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38275 * sysdeps/i386/i486/bits/string.h: Likewise.
38276 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38277 * sysdeps/s390/bits/string.h: Likewise.
38278 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38279 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38280 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38281 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38282 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38283 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38284 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38285 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38286 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38287 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38288 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38289 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38290 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38291 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38292 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38293 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38294 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38296 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38297 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38298 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38299 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38300 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38301 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38302 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38303 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38304 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38305 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38306 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38307 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38308 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38309 * sysvipc/sys/ipc.h: Likewise.
38310 * sysvipc/sys/msg.h: Likewise.
38311 * sysvipc/sys/sem.h: Likewise.
38312 * sysvipc/sys/shm.h: Likewise.
38313 * termios/termios.h: Likewise.
38314 * time/sys/time.h: Likewise.
38315 * time/time.h: Likewise.
38316 * wcsmbs/bits/wchar2.h: Likewise.
38317 * wcsmbs/uchar.h: Likewise.
38318 * wcsmbs/wchar.h: Likewise.
38319 * wctype/wctype.h: Likewise.
38320
0269750c
UD
38321 [BZ #13551]
38322 * Makeconfig: Remove all but ELF support including AIX support.
38323 * Makerules: Likewise.
38324 * config.h.in: Likewise.
38325 * config.make.in: Likewise.
38326 * configure: Likewise.
38327 * configure.in: Likewise.
38328 * csu/Makefile: Likewise.
38329 * csu/version.c: Likewise.
38330 * debug/Makefile: Likewise.
38331 * dlfcn/Makefile: Likewise.
38332 * elf/Makefile: Likewise.
38333 * extra-lib.mk: Likewise.
38334 * iconv/Makefile: Likewise.
38335 * include/libc-symbols.h: Likewise.
38336 * include/shlib-compat.h: Likewise.
38337 * resolv/Makefile: Likewise.
38338 * resolv/res_libc.c: Likewise.
38339 * rt/Makefile: Likewise.
38340 * sysdeps/i386/asm-syntax.h: Likewise.
38341 * sysdeps/i386/sysdep.h: Likewise.
38342 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38343 * sysdeps/mach/sysdep.h: Likewise.
38344 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38345 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38346 * sysdeps/s390/asm-syntax.h: Likewise.
38347 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38348 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38349 * sysdeps/sh/sysdep.h: Likewise.
38350 * sysdeps/unix/sparc/sysdep.h: Likewise.
38351 * sysdeps/wordsize-32/divdi3.c: Likewise.
38352 * sysdeps/x86_64/sysdep.h: Likewise.
38353
00bbd29b
UD
38354 * argp/Versions: Remove _argp_unlock_xxx.
38355
38356 [BZ #13559]
38357 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38358 * abilist/libBrokenLocale.abilist: Likewise.
38359 * abilist/libanl.abilist: Likewise.
38360 * abilist/libc.abilist: Likewise.
38361 * abilist/libcrypt.abilist: Likewise.
38362 * abilist/libdl.abilist: Likewise.
38363 * abilist/libm.abilist: Likewise.
38364 * abilist/libnsl.abilist: Likewise.
38365 * abilist/libpthread.abilist: Likewise.
38366 * abilist/libresolv.abilist: Likewise.
38367 * abilist/librt.abilist: Likewise.
38368 * abilist/libthread_db.abilist: Likewise.
38369 * abilist/libutil.abilist: Likewise.
38370 * abilist/libnss_db.abilist: New file.
38371
38372 * scripts/abilist.awk: Add support for indirect functions.
38373
a2693a0e
UD
38374 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38375
3f05895f
UD
38376 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38377
ecb6fb48
UD
38378 * shlib-versions: Remove entries for ports architectures.
38379
664f8cb9
UD
38380 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38381 files in ports.
38382 * elf/stackguard-macros.h: Remove support for IA-64.
38383 * elf/tst-auditmod1.c: Likewise.
38384 * sysdeps/generic/ldsodefs.h: Likewise.
38385
7ae81d88
UD
38386 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38387 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38388 configure files.
38389
bdeba135
UD
38390 [BZ #13552]
38391 * configure.in: Remove --enable-omitfp support.
38392 * FAQ.in: Adjust.
38393 * config.make.in: Likewise.
38394 * Makeconfig: Likewise.
38395 * manual/install.texi: Likewise.
38396
d75a0a62
UD
38397 In case anyone cares, the IA-64 architecture could move to ports.
38398 * sysdeps/ia64/*: Removed.
38399 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 38400 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 38401
dcc9756b
UD
38402 [BZ #13555]
38403 * configure.in: Remove entries for unsupported architectures.
38404
d3761ebc 38405 [BZ #13533]
9954432e
UD
38406 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38407 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38408 routines.
38409 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38410 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38411 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38412 fall back to using wcrtomb.
38413 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38414 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38415 renaming.
38416 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38417 * wcsmbs/tst-c16c32-1.c: New file.
38418
38419 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38420 local variable.
38421
c3a87236
UD
38422 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38423
28926a1b
UD
38424 * elf/tst-unique3.cc: Add explicit declaration of gets.
38425 * elf/tst-unique3lib.cc: Likewise.
38426 * elf/tst-unique3lib2.cc: Likewise.
38427 * elf/tst-unique4.cc: Likewise.
38428
df78418a
UD
38429 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38430
8ecd6b2a
JM
384312012-01-06 Joseph Myers <joseph@codesourcery.com>
38432
38433 [BZ #13566]
38434 * assert/assert.h (static_assert): Don't define for C++.
38435 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38436 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38437
9f115170
UD
384382012-01-03 Ulrich Drepper <drepper@gmail.com>
38439
5e0d0300
UD
38440 * iconv/loop.c (single loop): Fix assertion in storing of
38441 remaining bytes.
38442
9f115170
UD
38443 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38444
81fb02b0
UD
384452012-01-01 Ulrich Drepper <drepper@gmail.com>
38446
38447 * posix/getconf.c: Update copyright year.
38448 * nss/getent.c: Likewise.
a316c1f6 38449 * nss/makedb.c: Likewise.
81fb02b0
UD
38450 * iconv/iconvconfig.c: Likewise.
38451 * iconv/iconv_prog.c: Likewise.
38452 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38453 * elf/pldd.c: Likewise.
38454 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38455 * catgets/gencat.c: Likewise.
38456 * csu/version.c: Likewise.
38457 * elf/ldd.bash.in: Likewise.
38458 * elf/sprof.c (print_version): Likewise.
38459 * locale/programs/locale.c: Likewise.
38460 * locale/programs/localedef.c: Likewise.
a316c1f6 38461 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38462 * nscd/nscd.c (print_version): Likewise.
38463 * debug/xtrace.sh: Likewise.
38464 * malloc/memusage.sh: Likewise.
38465 * malloc/mtrace.pl: Likewise.
38466 * debug/catchsegv.sh: Likewise.
38467
2ba92745
JJ
384682011-12-30 Jakub Jelinek <jakub@redhat.com>
38469
38470 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38471 pure attribute.
38472
dadebdae
UD
384732011-12-24 Ulrich Drepper <drepper@gmail.com>
38474
d3761ebc 38475 [BZ #13533]
db6af3eb
UD
38476 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38477 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38478 transformations.
38479 * iconv/gconv_int.h: Likewise.
38480 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38481 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38482 from libc for GLIBC_2.16.
38483 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38484 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38485 * wcsmbs/uchar.h: Really define mbstate_t.
38486 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38487 * wcsmbs/c16rtomb.c: New file.
38488 * wcsmbs/mbrtoc16.c: New file.
38489 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38490 for C/POSIX locale.
38491 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38492 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38493
dadebdae
UD
38494 * wcsmbs/wchar.h: Add missing __restrict.
38495
67371b56
UD
384962011-12-23 Ulrich Drepper <drepper@gmail.com>
38497
74033a25
UD
38498 [BZ #13532]
38499 * time/Makefile (routines): Add timespec_get.
38500 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38501 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38502 timespec for ISO C11.
38503 * time/timespec_get.c: New file.
38504 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38505 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38506
380d7e87
UD
38507 [BZ #13531]
38508 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38509 * stdlib/stdlib.h: Declare aligned_alloc.
38510 * Versions.def: Add GLIBC_2.16 for libc.
38511 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38512
4e9e7a35
UD
38513 [BZ 13527]
38514 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38515 ISO C11.
38516
380d7e87 38517 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
38518 code.
38519
03a71829
UD
38520 [BZ #13528]
38521 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38522
839e283e
UD
38523 [BZ #13529]
38524 * assert/assert.h (static_assert): Define.
38525
ce5294e2 38526 * version.h: Update for 2.16 development version.
90fa7312 38527
8d44e150 38528 [BZ #13526]
d7809905
UD
38529 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38530 _ISOC11_SOURCE.
38531
c0da14cd
UD
38532 * version.h (RELEASE): Bump for 2.15 release.
38533 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38534
530a3249
MP
38535 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38536 Patch by Marek Polacek <mpolacek@redhat.com>.
38537
67371b56
UD
38538 * bits/byteswap.h: Protect long long constants with __extension__.
38539 * sysdeps/i386/bits/byteswap.h: Likewise.
38540 * sysdeps/ia64/bits/byteswap.h: Likewise.
38541 * sysdeps/s390/bits/byteswap.h: Likewise.
38542 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38543
15db4de1
LD
385442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38545
38546 [BZ #13540]
bbe315ea
LD
38547 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38548 destination buffer.
15db4de1
LD
38549 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38550
2b2596b1
MP
385512011-12-23 Marek Polacek <polacek@redhat.com>
38552
38553 * elf/dl-addr.c (determine_info): Add inline keyword.
38554 * elf/tst-auditmod4b.c (check_avx): Likewise.
38555 * elf/tst-auditmod6b.c (check_avx): Likewise.
38556 * elf/tst-auditmod6c.c (check_avx): Likewise.
38557 * elf/tst-auditmod7b.c (check_avx): Likewise.
38558
70c6c246
UD
385592011-12-23 Ulrich Drepper <drepper@gmail.com>
38560
38561 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38562 !__SSE_MATH__.
38563
c044cf14
LD
385642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38565
15db4de1 38566 [BZ #13540]
c044cf14
LD
38567 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38568 processing for last bytes.
38569
6b13d9d9
BH
385702011-08-06 Bruno Haible <bruno@clisp.org>
38571
d455f537
BH
38572 [BZ #13061]
38573 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38574 U+0385, not to U+1FEE.
38575
6b13d9d9
BH
38576 [BZ #13062]
38577 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38578 entry for U+00A5 U+0301.
38579
db910efd
UD
385802011-12-22 Ulrich Drepper <drepper@gmail.com>
38581
27deeafc
UD
38582 [BZ #13166]
38583 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38584 buffer for the output is too small.
38585
aed9d171
UD
38586 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38587 optimization.
38588
db910efd
UD
38589 [BZ #13185]
38590 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38591 SSE flags if possible.
38592
2bd779ae
LD
385932011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38594
e7f9dac3 38595 [BZ #13540]
2bd779ae
LD
38596 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38597 processing for last bytes.
38598
154bfc16
JM
385992011-12-22 Joseph Myers <joseph@codesourcery.com>
38600
38601 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38602 (syscall-list-default-options, syscall-list-default-condition)
38603 (syscall-list-includes): Define.
38604 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38605 list of ABIs and options and #if conditions for each ABI. Do not
38606 handle common syscalls between ABIs specially.
38607 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38608 Remove.
38609 (syscall-list-variants, syscall-list-32bit-options)
38610 (syscall-list-32bit-condition, syscall-list-64bit-options)
38611 (syscall-list-64bit-condition): Define.
38612 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/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 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38622 Remove.
38623 (syscall-list-variants, syscall-list-32bit-options)
38624 (syscall-list-32bit-condition, syscall-list-64bit-options)
38625 (syscall-list-64bit-condition): Define.
38626
21eaf3a5
UD
386272011-12-22 Ulrich Drepper <drepper@gmail.com>
38628
16c6f992
UD
38629 * locale/iso-639.def: Add brx entry.
38630
41043168
UD
38631 [BZ #13328]
38632 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38633 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38634
21eaf3a5
UD
38635 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38636 __feraiseexcept_renamed.
38637
e3a851a2
UD
386382011-12-21 Ulrich Drepper <drepper@gmail.com>
38639
4920765e
UD
38640 [BZ #13538]
38641 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38642 EPOLLET with unsigned values.
38643 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38644 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38645
e3a851a2
UD
38646 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38647 to large cancellation.
38648 * math/s_cacoshf.c: Likewise.
38649 * math/s_cacoshl.c: Likewise.
38650
b27e24b8
RK
386512011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38652
38653 [BZ #13305]
aebefeee 38654 [BZ #12786]
b27e24b8
RK
38655 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38656 * math/s_cacoshf.c: Likewise.
38657 * math/s_cacoshl.c: Likewise.
38658
ee190f67
UD
386592011-12-21 Ulrich Drepper <drepper@gmail.com>
38660
38661 [BZ #13439]
38662 * iconv/gconv.h: Define __GCONV_SWAP.
38663 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38664 * iconvdata/utf-16.c: Likewise.
38665 * iconvdata/utf-32.c: Likewise.
38666
707f25df
AS
386672011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38668
38669 [BZ #13524]
38670 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38671 numerator after shifting it by one limb.
38672
d2daaa1e
RÁE
386732011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38674
38675 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38676 under [__USE_EXTERN_INLINES].
38677
a4647e72
UD
386782011-12-17 Ulrich Drepper <drepper@gmail.com>
38679
38680 [BZ #13446]
38681 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38682
f0b264f1
AZ
386832011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38684
38685 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38686 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38687 optimized code.
38688 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38689 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38690 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38691 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38692 for strncasecmp/strncasecmp_l compilation.
38693 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38694 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38695
8ef4f244
MP
386962011-12-08 Marek Polacek <mpolacek@redhat.com>
38697
38698 [BZ #13484]
38699 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38700 of __asm__.
38701
97ac2654
UD
387022011-12-17 Ulrich Drepper <drepper@gmail.com>
38703
38704 [BZ #13506]
38705 * time/tzfile.c (__tzfile_read): Check values from file header.
38706
91d2a845
WS
387072011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38708
38709 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38710 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38711 * powerpc/powerpc32/dl-start.S: Likewise.
38712 * powerpc/powerpc32/elf/start.S: Likewise.
38713 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38714 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38715 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38716 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38717 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38718 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38719 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38720 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38721 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38722 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38723 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38724 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38725 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38726 * powerpc/powerpc32/memset.S: Likewise.
38727 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38728 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38729 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38730 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38731 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38732 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38733 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38734 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38735 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38736 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38737 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38738 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38739 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38740
a1267ba1
AZ
387412011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38742
38743 * math/libm-test.inc: Added more nearbyint tests.
38744 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38745 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38746 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38747 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38748
ad8ac1bd
RL
387492011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38750
38751 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38752 FD_CLOEXEC.
38753
1d3e4b61
UD
387542011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38755
38756 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38757 Add wcscpy-ssse3 wcscpy-c.
38758 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38759 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38760 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38761 * sysdeps/x86_64/wcschr.S: New file.
38762 * sysdeps/x86_64/wcsrchr.S: New file.
38763 * string/test-strcmp.c: Remove checking of wcscmp function for
38764 wrong alignments.
38765 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38766 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38767 wcsrchr-sse2 wcsrchr-c.
38768 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38769 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38770 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38771 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38772 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38773 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38774 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38775 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38776 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38777 * wcsmbc/wcschr.c (WCSCHR): New macro.
38778
5b330a2d
UD
387792011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38780
38781 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38782 * wcsmbs/test-wcsrchr.c: New file.
38783 * string/test-strrchr.c: Add wcsrchr support.
38784 (WIDE): New macro.
38785 * wcsmbs/test-wcscpy.c: New file.
38786 * string/test-strcpy.c: Add wcscpy support.
38787 (WIDE): New macro.
26428b7c 38788
f039c043
UD
387892011-12-10 Ulrich Drepper <drepper@gmail.com>
38790
38791 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38792 the inner loop.
38793
850fb039
AS
387942011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38795
38796 [BZ #13472]
38797 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38798
4efbd5cb
UD
387992011-12-04 Ulrich Drepper <drepper@gmail.com>
38800
52ff5dd0 38801 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38802 Minor optimizations.
52ff5dd0 38803
4efbd5cb
UD
38804 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38805 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38806 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38807
8a426e12
UD
388082011-12-03 Ulrich Drepper <drepper@gmail.com>
38809
aff2453d
UD
38810 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38811 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38812 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38813 for gcc to avoid warnings.
38814 * inet/Makefile (tests): Add tst-checks.
38815 * inet/tst-checks.c: New file.
38816
38817 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38818 warning.
38819
38820 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38821 __wmemcmp_sse2.
38822
38823 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38824 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38825
8a426e12
UD
38826 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38827
9bea3473
UD
388282011-12-02 Ulrich Drepper <drepper@gmail.com>
38829
3a965496
UD
38830 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38831 problem.
38832
9bea3473
UD
38833 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38834
f101631b
UD
388352011-11-29 Joseph Myers <joseph@codesourcery.com>
38836
38837 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38838 conditional on GCC version.
38839 (__arch_compare_and_exchange_val_8_acq)
38840 (__arch_compare_and_exchange_val_16_acq)
38841 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38842 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38843 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38844
a98275aa
UD
388452011-12-02 Joseph Myers <joseph@codesourcery.com>
38846
38847 * sysdeps/sh/backtrace.c: New file.
38848
d4cc29a2
AS
388492011-12-02 Andreas Schwab <schwab@redhat.com>
38850
38851 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38852 parenthesis.
38853
6257af2d
AS
388542011-12-01 Andreas Schwab <schwab@redhat.com>
38855
38856 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38857 falling back to utime.
38858
b5f44c1a
AS
388592011-11-30 Andreas Schwab <schwab@redhat.com>
38860
38861 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38862 expectations for float.
38863
f3a6cc0a
AS
388642011-11-29 Andreas Schwab <schwab@redhat.com>
38865
38866 * locale/weight.h (findidx): Add parameter len.
38867 * locale/weightwc.h (findidx): Likewise.
38868 * posix/fnmatch_loop.c (FCT): Adjust caller.
38869 * posix/regcomp.c (build_equiv_class): Likewise.
38870 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38871 * posix/regexec.c (check_node_accept_bytes): Likewise.
38872 * string/strcoll_l.c (STRCOLL): Likewise.
38873 * string/strxfrm_l.c (STRXFRM): Likewise.
38874
9d65ea3a
UD
388752011-11-17 Ulrich Drepper <drepper@gmail.com>
38876
38877 * Makefile.in: Remove CVSOPT handling.
38878 * configure.in: Remove use of AC_REVISION.
38879 * iconvdata/Makefile (distribute): No need to filter out CVS.
38880 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38881 handling.
38882
5583a086
AS
388832011-11-16 Andreas Schwab <schwab@redhat.com>
38884
38885 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38886 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38887 [USE_AS_STRNCASECMP_L]: Likewise.
38888 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38889 NO_TLS_DIRECT_SEG_REFS.
38890 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38891 Fix argument offsets for non-PIC.
38892 [USE_AS_STRNCASECMP_L]: Likewise.
38893 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38894 NO_TLS_DIRECT_SEG_REFS.
38895
d62a8200
UD
388962011-11-15 Ulrich Drepper <drepper@gmail.com>
38897
9d65ea3a 38898 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38899 O_CLOEXEC.
38900 * locale/loadlocale.c (_nl_load_locale): Likewise.
38901
09f93bd3
AS
389022011-11-15 Andreas Schwab <schwab@redhat.com>
38903
446514f9
AS
38904 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38905 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38906 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38907 (SYSCALL_GETTIME): Set errno on error.
38908
09f93bd3
AS
38909 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38910 count references to noai6ai_cached.
38911
312be3f9
UD
389122011-11-15 Ulrich Drepper <drepper@gmail.com>
38913
38914 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38915
38916 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38917 FD_CLOEXEC for /proc/self/maps.
38918
38919 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38920 FD_CLOEXEC for /proc/meminfo.
38921
38922 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38923 gai.conf.
38924
38925 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38926 FD_CLOEXEC for given file.
38927
38928 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38929
38930 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38931 FD_CLOEXEC for /etc/hosts.
38932 (_gethtent): Likewise.
38933
38934 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38935
38936 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38937 cancellation and set FD_CLOEXEC for /etc/netgroup.
38938
38939 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38940 reading /etc/publickey.
38941
38942 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38943 allow cancellation when reading /etc/group.
38944
38945 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38946 cancellation.
38947 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38948
38949 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38950 when using data file.
38951
38952 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38953
38954 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38955 (write_nis_obj): Use "c" and "e" in fopen.
38956
38957 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38958
38959 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38960
38961 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38962
38963 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38964
38965 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38966 locale.alias.
38967
38968 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38969
38970 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38971
38972 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38973
38974 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38975 file parsing and set FD_CLOEXEC.
38976
82af0fa8
UD
389772011-11-14 Ulrich Drepper <drepper@gmail.com>
38978
38979 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38980
a5fb313c
AS
389812011-11-14 Andreas Schwab <schwab@redhat.com>
38982
38983 * malloc/arena.c (arena_get2): Don't call reused_arena when
38984 _int_new_arena failed.
38985
6abf3465
UD
389862011-11-14 Ulrich Drepper <drepper@gmail.com>
38987
38988 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38989 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38990 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38991 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38992 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38994 to compile strcasecmp and strncasecmp.
38995 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38996 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38997
38998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38999
76e3966e
UD
390002011-11-13 Ulrich Drepper <drepper@gmail.com>
39001
39002 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39003 locale-defines.sym to gen-as-const-headers.
39004 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39005 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39007 to compile strcasecmp and strncasecmp.
39008 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39009 strcasecmp_l and strncasecmp_l.
39010 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39011 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39012 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39013 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39014 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39015 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39016 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39017 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39018 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39019 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39020 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39021
ab26144e
UD
390222011-11-12 Ulrich Drepper <drepper@gmail.com>
39023
7edb22ef
UD
39024 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39025 result of SYSDEP_GETTIME_CPU to retval.
39026 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39027 parameter list to macro. Remove trailing semicolon. Adjust users.
39028
9694fc44
UD
39029 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39030 variable.
39031
8ad89ef8
UD
39032 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39033 mantissa words.
39034 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39035
0c822ef9
UD
39036 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39037 from unused variable.
39038
874e0564
UD
39039 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39040 DWARF definitions.
39041 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39042 for assembling.
39043
3a2edc79
UD
39044 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39045 over namespaces.
39046
f3c2577f
UD
39047 * sunrpc/rpc_prot.c (rejected): Fix case value.
39048
294ce126
UD
39049 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39050 unsigned long long int to avoid warnings in shift.
39051
5e2b63c6
UD
39052 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39053 of use of trans.
39054 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39055 variable tmp.
39056
e7f4b08e
UD
39057 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39058 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39059 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39060
ab26144e
UD
39061 * nis/nis_table.c (nis_list): Use variable of correct type for
39062 result of __follow_path call.
39063
8a6d5255
AZ
390642011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39065
39066 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39067 of math functions ceil, trunc, floor, round, and sqrt, when
39068 avaliable on the platform.
39069 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39070 name clash.
39071 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39072 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39073 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39074
aaddc98c
MP
390752011-10-30 Marek Polacek <mpolacek@redhat.com>
39076
39077 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39078 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39079
95b7042b
RM
390802011-11-11 Roland McGrath <roland@hack.frob.com>
39081
39082 * include/unistd.h: Fix __readlink return type.
39083 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39084
57769839
UD
390852011-11-11 Ulrich Drepper <drepper@gmail.com>
39086
39087 * stdlib/ucontext.h: Undo last change for makecontext.
39088
edc5984d
AS
390892011-11-11 Andreas Schwab <schwab@redhat.com>
39090
98591e58
AS
39091 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39092
edc5984d
AS
39093 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39094 * setjmp/setjmp.h: Mark functions as non-leaf.
39095 * setjmp/bits/setjmp2.h: Likewise.
39096 * stdlib/ucontext.h: Likewise.
39097
77cdc054
AS
390982011-11-10 Andreas Schwab <schwab@redhat.com>
39099
39100 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39101 (reused_arena): Don't check arena limit.
39102 (arena_get2): Atomically check arena limit.
39103
fe72eebd
UD
391042011-11-08 Ulrich Drepper <drepper@gmail.com>
39105
5f078c32
UD
39106 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39107 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39108
fe72eebd
UD
39109 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39110 instructions.
39111
ae1bc2fa
AS
391122011-11-07 Andreas Schwab <schwab@redhat.com>
39113
7583a88d
AS
39114 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39115 handler when locking.
39116
ae1bc2fa
AS
39117 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39118 Fix size of allocated buffer.
39119
10fb0bfa
AS
391202011-11-04 Andreas Schwab <schwab@redhat.com>
39121
998832a4
AS
39122 [BZ #10103]
39123 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39124 declarations for long double functions.
39125 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39126
10fb0bfa
AS
39127 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39128
3d7ba52b
AS
391292011-11-03 Andreas Schwab <schwab@redhat.com>
39130
a9ae54a1
AS
39131 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39132 installed.
39133
3d7ba52b
AS
39134 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39135 is disabled.
39136
bc8db248
ST
391372011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39138
39139 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39140
45b96dd6
AS
391412011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39142
647776f6
AS
39143 * include/alloca.h (stackinfo_alloca_round): Define.
39144 (extend_alloca): Use it.
39145 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39146 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39147 here.
39148
d91a8b93
AS
39149 * scripts/check-local-headers.sh: Ignore libaudit.h.
39150
45b96dd6
AS
39151 * nscd/Makefile (extra-objs): Make recursively expanded.
39152
432d41ce
UD
391532011-11-01 Ulrich Drepper <drepper@gmail.com>
39154
34372fc6
UD
39155 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39156 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39157
fadb59f8
UD
39158 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39159 * posix/tst-rfc3484-2.c: Likewise.
39160 * posix/tst-rfc3484-3.c: Likewise.
39161
78239589
UD
39162 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39163 process_vm_writev.
39164 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39165 process_vm_writev.
39166 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39167 process_vm_writev from libc using GLIBC_2.15 version.
39168
432d41ce
UD
39169 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39170
02f9c6cf
PP
391712011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39172
39173 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39174 stack usage.
39175
3a2c0242
UD
391762011-10-31 Ulrich Drepper <drepper@gmail.com>
39177
f4ec4833
UD
39178 [BZ #13367]
39179 * nss/getent.c (initgroups_keys): Show error message in case no group
39180 names are given.
39181
3a2c0242
UD
39182 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39183 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39184 __bump_nl_timestamp.
39185 * nscd/connections (nscd_init): When host database is served open
39186 netlink socket and request notification about configuration changes.
39187 (main_loop_poll): Track netlink file descriptor and bump timestamp
39188 in case data becomes available.
39189 (main_loop_epoll): Likewise.
39190 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39191 (database_pers_head): Add extra_data fileds.
39192 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39193 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39194 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39195 Adjust caller.
39196 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39197 in6ai data, call __free_in6ai.
39198 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39199 Add -DHAVE_NETLINK.
39200 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39201 interface information. Reuse previous data if netlink timestamp
39202 is not changed.
39203 (__bump_nl_timestamp): New function.
39204 (__free_in6ai): New function.
39205
636064eb
UD
392062011-10-30 Ulrich Drepper <drepper@gmail.com>
39207
39208 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39209 close_not_cancel_no_status here.
39210 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39211
9beb2334
UD
392122011-10-29 Ulrich Drepper <drepper@gmail.com>
39213
6ef76f3b
UD
39214 [BZ #13276]
39215 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39216 return value.
39217
0ffc4f3e 39218 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
39219 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39220 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39221
cb95113e
UD
392222011-07-03 Andreas Jaeger <aj@suse.de>
39223
39224 [BZ #10709]
39225 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39226 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39227 * math/libm-test.inc (sin_test): Add test case.
39228
a1b560ff
UD
392292011-10-29 Ulrich Drepper <drepper@gmail.com>
39230
c9aaface
UD
39231 [BZ #13337]
39232 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39233 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39234
d272e7f1
UD
39235 * elf/chroot_canon.c (chroot_canon): Cleanups.
39236
1bc33071
UD
39237 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39238
1760874d
TJ
39239 [BZ #13335]
39240 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39241 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39242
51d91b18
UD
39243 * string/test-strchr.c: Make usable for strchrnul testing.
39244 * string/test-strchrnul.c: New file.
39245 * string/Makefile (strop-tests): Add strchrnul.
39246
a1b560ff 39247 * po/it.po: Update from translation team.
b611fb81 39248 * po/es.po: Likewise.
a1b560ff 39249
a5b81e1f
UD
392502011-10-28 Ulrich Drepper <drepper@gmail.com>
39251
fd52bc6d
UD
39252 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39253 the three constants needed as parameters. Drop the others.
39254 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39255 __m128i_strloadu_tolower.
52e4b9eb
UD
39256 Create and initialize variable zero and use it in all the places
39257 where _mm_setzero_si128 was used.
fd52bc6d 39258
a5b81e1f
UD
39259 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39260 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39261 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39262 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39263 anymore.
39264 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39265 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39266 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39267 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39268 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39269 __mpranred, __mptan.
39270 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39271 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39272 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39273 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39274 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39275 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39276 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39277 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39278 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39279
b4343346
AS
392802011-10-28 Andreas Schwab <schwab@redhat.com>
39281
0c92d8a8
AS
39282 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39283 redefine if SHARED.
39284 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39285
b4343346
AS
39286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39287 wide char related routines to wcsmbs subdir.
39288
3871f58f
AS
392892011-10-27 Andreas Schwab <schwab@redhat.com>
39290
39291 [BZ #13344]
39292 * misc/sys/cdefs.h (__THROWNL): Define.
39293 * posix/unistd.h: Use __THREADNL instead of __THREAD
39294 for memory synchronization functions.
39295
94d44d9f
RM
392962011-10-26 Roland McGrath <roland@hack.frob.com>
39297
21b64b15 39298 [BZ #13349]
94d44d9f
RM
39299 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39300 doesn't exist.
39301 * manual/stdio.texi (Obstack Streams): Node removed.
39302
f6ce9294
AS
393032011-10-26 Andreas Schwab <schwab@redhat.com>
39304
80479147
AS
39305 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39306 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39307 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39308
f6ce9294
AS
39309 * math/math_private.h (math_force_eval): Allow non-addressable
39310 arguments.
39311 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39312
618280a1
UD
393132011-10-25 Ulrich Drepper <drepper@gmail.com>
39314
e0016b11
UD
39315 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39316 file is not needed.
39317
39318 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39319 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39320 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39321 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39322 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39323 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39324 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39325 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39326 Add AVX variants.
39327 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39328 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39329 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39330 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39331 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39332 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39333 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39334 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39335 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39336 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39337 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39338 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39339 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39340 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39341 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39342 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39343 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39344 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39345 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39346
39347 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39348 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39349
618280a1
UD
39350 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39351 place. Use VEX encoding when compiling for AVX.
39352
37822576
AS
393532011-10-25 Andreas Schwab <schwab@redhat.com>
39354
1f1e1947
AS
39355 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39356 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39357
37822576
AS
39358 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39359
31ea014d
UD
393602011-10-25 Ulrich Drepper <drepper@gmail.com>
39361
d7826aa1 39362 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 39363 useless if() expression.
d7826aa1
UD
39364 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39365 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39366 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39367 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39368 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39369 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39370 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39371 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39372 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39373 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39374 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39375 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39376 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39377 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39378 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39379 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39380 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39381 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39382 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39383
31ea014d
UD
39384 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39385
16437fec
AS
393862011-10-25 Andreas Schwab <schwab@redhat.com>
39387
39388 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39389 condition.
39390 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39391
31d3cc00
UD
393922011-10-25 Ulrich Drepper <drepper@gmail.com>
39393
39394 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39395 .text section. Avoid duplicate constants.
39396 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39398 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39400 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39404 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39405 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39406 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39407 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39408 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39409 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39410 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39411 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39412 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39413 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39414 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39415 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39416 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39419 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39420 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39421 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39422 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39423 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39424 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39425 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39426 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39427 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39428 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39429 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39430 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39431 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39432 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39433 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39434 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39435 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39436 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39437 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39438 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39439 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39440 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39441
58985aa9
UD
394422011-10-24 Ulrich Drepper <drepper@gmail.com>
39443
202c9deb
UD
39444 * sysdeps/x86_64/dla.h: Move to ...
39445 * sysdeps/x86_64/fpu/dla.h: ...here.
39446 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39447 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39448
af968f62
UD
39449 * config.make.in: Add have-mfma4 entry.
39450 * configure.in: Substitute libc_cv_cc_fma4.
39451 * math/Makefile (dbl-only-routines): Add sincostab.
39452 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39453 Use __sincostab not sincos.
39454 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39455 name is a macro.
39456 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39459 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39460 using __copysign.
39461 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39462 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39463 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39464 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39465 and __inv.
39466 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39467 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39468 __copysign.
39469 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39470 define aliases when function name is a macro.
39471 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39472 sysdeps/ieee754/dbl-64/sincos.tbl.
39473 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39474 fma4-enabled routines.
39475 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39476 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39477 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39478 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39479 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39480 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39482 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39483 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39484 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39485 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39486 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39487 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39488 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39489 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39490 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39491 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39492 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39493 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39494 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39495 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39496 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39497 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39498 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39499 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39500 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39501 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39502 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39503 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39504 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39505
58985aa9
UD
39506 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39507 rename.
39508 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39511 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39513 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39514 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39515 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39516
a201fbcf
AS
395172011-10-24 Andreas Schwab <schwab@redhat.com>
39518
39519 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39520
fc2ee42a
LD
395212011-10-23 Ulrich Drepper <drepper@gmail.com>
39522
bb3129bd
UD
39523 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39524
0275fff8
UD
39525 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39526 prediction.
39527 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39528
2fa2ae85
UD
39529 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39530 Remove unused variable magic_bits.
39531 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39532
fc2ee42a
LD
39533 * string/strnlen.c: Define and use STRNLEN macro.
39534 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39535 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39536 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39537 * wcsmbs/wcslen.c: Define and use WCSLEN.
39538 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39539 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39540 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39541 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39542 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39543 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39544 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39545
ce7dd29f
LD
395462011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39547
39548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39549 strnlen-sse2-no-bsf.
39550 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39552 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39553 Add strnlen support.
39554 (USE_AS_STRNLEN): New macro.
39555 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39556 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39557 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39558 * sysdeps/x86_64/wcslen.S: New file.
39559
979c70a3
MZ
395602011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39561
39562 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39563 XMM-moves are used for copying on small sizes.
39564
2d09f82f
LD
395652011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39566
39567 * wcsmbs/Makefile (strop-tests): Add wcschr.
39568 * wcsmbs/test-wcschr.c: New file.
39569 * string/test-strchr.c: Update.
39570 Add wcschr support.
39571 (WIDE): New macro.
39572
619fccca
LD
395732011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39574
2d09f82f 39575 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39576 * wcsmbs/test-wcslen.c: New file.
39577 * string/test-strlen.c: Update.
39578 Add wcslen support.
39579 (WIDE): New macro.
39580
09f699ea
UD
395812011-10-23 Ulrich Drepper <drepper@gmail.com>
39582
39583 * po/it.po: Update from translation team.
39584
95584d3b
LD
395852011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39586
39587 * sysdeps/x86_64/wcscmp.S: Update.
39588 Fix wrong comparison semantics.
39589 wcscmp shall use signed comparison not unsigned.
39590 Don't use substraction to avoid overflow bug.
39591 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39592 * wcsmbc/wcscmp.c: Likewise.
39593 * string/test-strcmp.c: Likewise.
39594 Add new tests to check cases with negative values.
39595
c8b3296b
UD
395962011-10-23 Ulrich Drepper <drepper@gmail.com>
39597
39598 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39599 * sysdeps/x86_64/dla.h: ...here. New file.
39600 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39605 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39606 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39607 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39609
246ad57a
AS
396102011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39611
39612 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39613 __ynl_finite aliases.
39614
a1a87169
UD
396152011-10-22 Ulrich Drepper <drepper@gmail.com>
39616
0d355eb7
UD
39617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39618
a1a87169
UD
39619 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39620 define DLA_FMA.
39621 [DLA_FMA] (EMULV): Use DLA_FMA.
39622 [DLA_FMA] (MUL12): Use EMULV.
39623 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39624 that are not needed.
39625 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39626 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39632
ee2aafe0
AS
396332011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39634
39635 * math/s_nan.c: Undef __nan.
39636 * math/s_nanf.c: Undef __nanf.
39637 * math/s_nanl.c: Undef __nanl.
39638 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39639 "math_private.h".
39640
bc62c2fb
UD
396412011-10-22 Ulrich Drepper <drepper@gmail.com>
39642
77425c63
UD
39643 * math/s_catan.c: Add branch predictions.
39644 * math/s_catanf.c: Likewise.
39645 * math/s_catanh.c: Likewise.
39646 * math/s_catanhf.c: Likewise.
39647 * math/s_catanhl.c: Likewise.
39648 * math/s_catanl.c: Likewise.
39649 * math/s_cexp.c: Likewise.
39650 * math/s_cexpf.c: Likewise.
39651 * math/s_cexpl.c: Likewise.
39652 * math/s_clog.c: Likewise.
39653 * math/s_clog10.c: Likewise.
39654 * math/s_clog10f.c: Likewise.
39655 * math/s_clog10l.c: Likewise.
39656 * math/s_clogf.c: Likewise.
39657 * math/s_clogl.c: Likewise.
39658 * math/s_csqrt.c: Likewise.
39659 * math/s_csqrtf.c: Likewise.
39660 * math/s_csqrtl.c: Likewise.
39661 * math/s_ctanf.c: Likewise.
39662 * math/s_ctanh.c: Likewise.
39663 * math/s_ctanhf.c: Likewise.
39664 * math/s_ctanhl.c: Likewise.
39665 * math/s_ctanl.c: Likewise.
39666
bc62c2fb
UD
39667 * math/math_private.h: Define __nan, __nanf, __nanl.
39668 * math/s_cacosh.c: Include <math_private.h>.
39669 * math/s_cacoshl.c: Likewise.
39670 * math/s_casinh.c: Likewise.
39671 * math/s_casinhf.c: Likewise.
39672 * math/s_casinhl.c: Likewise.
39673 * math/s_ccos.c: Rely entire on ccosh.
39674 * math/s_ccosf.c: Rely entire on ccoshf.
39675 * math/s_ccosl.c: Rely entirely on ccoshl.
39676 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39677 Remove tests for FE_INVALID.
39678 * math/s_ccoshf.c: Likewise.
39679 * math/s_ccoshl.c: Likewise.
39680 * math/s_csin.c: Likewise.
39681 * math/s_csinf.c: Likewise.
39682 * math/s_csinh.c Likewise.
39683 * math/s_csinhf.c: Likewise.
39684 * math/s_csinhl.c: Likewise.
39685 * math/s_csinl.c: Likewise.
39686 * math/s_ctan.c: Likewise.
39687 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39688 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39689 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39690
8ec250a4
UD
396912011-10-21 Ulrich Drepper <drepper@gmail.com>
39692
c196fed8
UD
39693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39694 compilation problems.
39695
8ec250a4
UD
39696 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39697 __builtin_expect.
39698
8d4f46c6
UD
396992011-10-20 Ulrich Drepper <drepper@gmail.com>
39700
ed72b654
UD
39701 * sysdeps/i386/configure.in: Test for -mfma4 option.
39702 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39703 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39704 COMMON_CPUID_INDEX_80000001.
39705 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39706 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39707 use it if FMA3 is not supported.
39708 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39709
8d4f46c6
UD
39710 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39711 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39712
d45c60c2
AS
397132011-10-20 Andreas Schwab <schwab@redhat.com>
39714
39715 [BZ #12892]
39716 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39717 it would create a cycle with a link time dependency.
39718
d9a4d2ab
UD
397192011-10-19 Ulrich Drepper <drepper@gmail.com>
39720
855d1560
UD
39721 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39722 instruction.
39723 * string/Makefile (strop-tests): Add rawmemchr.
39724 * string/test-rawmemchr.c: New file.
39725
d9a4d2ab
UD
39726 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39727 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39728 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39729 when compiling str{,n}casecmp and when AVX is available. Hook up
39730 new optimized code in initializers.
39731
8f3b1ffe
AS
397322011-10-19 Andreas Schwab <schwab@redhat.com>
39733
39734 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39735 __feraiseexcept instead of feraiseexcept.
39736
d38f1dba
UD
397372011-10-18 Ulrich Drepper <drepper@gmail.com>
39738
d9a8d0ab
UD
39739 * math/math_private.h: Define defaults for libc_fetestexcept and
39740 libc_feupdateenv.
39741 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39742 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39743 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39744 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39745 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39746 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39747 libc_fetestexcept and libc_feupdateenv.
39748
4855e3dd
UD
39749 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39750 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39751 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39752 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39753 libc_feholdexcept_setround.
39754
581d30e3
UD
39755 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39756 Add s_nearbyint-c and s_nearbyintf-c.
39757 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39758 nearbyintf inlines.
39759 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39760 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39761 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39762 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39763
d38f1dba
UD
39764 * math/math_private.h: Define defaults for libc_fegetround,
39765 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39766 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39767 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39768 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39769 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39770 standard functions.
39771 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39772 Remove comments and hacks for old compiler versions.
39773 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39774 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39775 libc_feholdexceptl.
39776
caa6c9d8
AS
397772011-10-18 Andreas Schwab <schwab@redhat.com>
39778
39779 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39780 (__feraiseexcept_renamed): Add __NTH.
39781 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39782 namespace violations.
39783
97c066e6
UD
397842011-10-17 Ulrich Drepper <drepper@gmail.com>
39785
99ce7b04
UD
39786 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39787
1004d182
UD
39788 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39789
228a984d
UD
39790 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39791 recently added interfaces.
39792 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39793
c8553a6a
UD
39794 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39795 about macro parameter expansion.
39796
ed22dcf6
UD
39797 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39798 __NO_MATH_INLINES is defined. Cleanups.
39799
39800 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39801 and __floorf is target has SSE4.1.
39802 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39803 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39804 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39805 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39806
b171c137
UD
39807 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39808 name.
39809 (floorf): Likewise.
39810
97c066e6
UD
39811 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39812
629f62ef
AS
398132011-10-17 Andreas Schwab <schwab@redhat.com>
39814
49a43d80
AS
39815 * misc/sys/cdefs.h: Fix last change.
39816
629f62ef
AS
39817 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39818 database lookup.
39819
e453f6cd
UD
398202011-10-16 Ulrich Drepper <drepper@gmail.com>
39821
aa78043a
UD
39822 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39823
ad0f5cad
UD
39824 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39825 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39826 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39827 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39828 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39829 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39830 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39831 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39832 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39833 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39834 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39835 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39836 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39837 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39838 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39839 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39840 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39841 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39842 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39843 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39844 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39845 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39846
39847 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39848 ceil, ceilf, floor, floorf.
39849
39850 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39851 Perform IRELATIVE relocations last.
39852
e453f6cd
UD
39853 * elf/do-rel.h: Add another parameter nrelative, replacing the
39854 local variable with the same name. Change name of the function
39855 to end in Rel or Rela (uppercase).
39856 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39857 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39858 elf_dynamic_do_##reloc function.
39859
fd5bdc09
UD
398602011-10-15 Ulrich Drepper <drepper@gmail.com>
39861
79b195b5
UD
39862 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39863 is sufficient, at least on modern CPUs.
39864
d4a28569
UD
39865 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39866
b61099b5
UD
39867 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39868 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39869
bcf01e6d
UD
39870 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39871 __expl_finite.
39872 * math/bits/math-finite.h: Add entries for exp.
39873 * math/e_expl.c: Add __*_finite alias.
39874 * sysdeps/i386/fpu/e_exp.S: Likewise.
39875 * sysdeps/i386/fpu/e_expf.S: Likewise.
39876 * sysdeps/i386/fpu/e_expl.c: Likewise.
39877 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39878 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39879 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39880 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39881 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39882 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39883 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39884
ba1a0d59
UD
39885 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39886 is sufficient, at least on modern CPUs.
39887
fd5bdc09
UD
39888 * ctype/ctype-info.c (__ctype_init): Define.
39889 * include/ctype.h (__ctype_init): Declare.
39890 (__ctype_b_loc): The variable is always initialized.
39891 (__ctype_toupper_loc): Likewise.
39892 (__ctype_tolower_loc): Likewise.
39893 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39894 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39895
7872cfb0
AS
398962011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39897
b468825a
AS
39898 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39899
7872cfb0
AS
39900 * configure.in: Also look in $cxxmachine/include for C++ system
39901 headers.
39902
be13f7bf
LD
399032011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39904
39905 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39906 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39907 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39908 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39909 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39910 (USE_AS_WMEMCMP): New macro.
39911 Fixing indents.
39912 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39913 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39914 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39915 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39916 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39917 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39918 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39919 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39920 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39921 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39922 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39923 (USE_AS_WMEMCMP): New macro.
39924 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39925 * sysdeps/string/test-memcmp.c: Update.
39926 Fix simple_wmemcmp.
39927 Add new tests.
39928 * wcsmbs/wmemcmp.c: Update.
39929 (WMEMCMP): New macro.
39930 Fix overflow bug.
39931
556a2007
AJ
399322011-10-12 Andreas Jaeger <aj@suse.de>
39933
39934 [BZ #13268]
39935 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39936
538faaa7
UD
399372011-10-15 Ulrich Drepper <drepper@gmail.com>
39938
ab6737ff
UD
39939 * libio/iofwide.c (do_length): Avoid warning.
39940
538faaa7
UD
39941 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39942
396a21b1
UD
399432011-10-14 Ulrich Drepper <drepper@gmail.com>
39944
cdf2901f
UD
39945 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39946
38ad40ce
UD
39947 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39948 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39949 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39950 * sysdeps/i386/i686/fpu/e_log.S: New file.
39951 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39952 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39953
396a21b1
UD
39954 * ctype/ctype.h: Add support for inlined isXXX functions when
39955 compiling C++ code.
39956
6b1f68c9
AS
399572011-10-14 Andreas Schwab <schwab@redhat.com>
39958
349290c0
AS
39959 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39960
6b1f68c9
AS
39961 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39962
f2282d42
RM
399632011-10-13 Roland McGrath <roland@hack.frob.com>
39964
39965 [BZ #13291]
39966 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39967
5298ffa8
AS
399682011-10-13 Andreas Schwab <schwab@redhat.com>
39969
714fad23
AS
39970 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39971 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39972 feraiseexcept.
39973
81dcc7fb
AS
39974 * sysdeps/x86_64/memrchr.S: Check for zero size.
39975
5298ffa8
AS
39976 * string/stratcliff.c: Add memrchr tests.
39977
951fbcec
LD
399782011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39979
39980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39981 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39982 rawmemchr-sse2 rawmemchr-sse2-bsf.
39983 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39984 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39985 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39986 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39987 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39988 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39989 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39990 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39991 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39992 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39993 * string/memrchr.c (MEMRCHR): New macro.
39994
0ac5ae23
UD
399952011-10-12 Ulrich Drepper <drepper@gmail.com>
39996
39997 Add integration with gcc's -ffinite-math-only and optimize wrapper
39998 functions in libm.
39999 * Versions.def: Define GLIBC_2.15 version for libm.
40000 * math/Makefile (headers): Add bits/math-finite.h.
40001 * math/bits/math-finite.h: New file.
40002 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40003 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40004 * math/e_acoshl.c: Add __*_finite alias.
40005 * math/e_acosl.c: Likewise.
40006 * math/e_asinl.c: Likewise.
40007 * math/e_atan2l.c: Likewise.
40008 * math/e_atanhl.c: Likewise.
40009 * math/e_coshl.c: Likewise.
40010 * math/e_exp10.c: Likewise.
40011 * math/e_exp10f.c: Likewise.
40012 * math/e_exp10l.c: Likewise.
40013 * math/e_exp2l.c: Likewise.
40014 * math/e_fmodl.c: Likewise.
40015 * math/e_gammal_r.c: Likewise.
40016 * math/e_hypotl.c: Likewise.
40017 * math/e_j0l.c: Likewise.
40018 * math/e_j1l.c: Likewise.
40019 * math/e_jnl.c: Likewise.
40020 * math/e_lgammal_r.c: Likewise.
40021 * math/e_log10l.c: Likewise.
40022 * math/e_log2l.c: Likewise.
40023 * math/e_logl.c: Likewise.
40024 * math/e_powl.c: Likewise.
40025 * math/e_sinhl.c: Likewise.
40026 * math/e_sqrtl.c: Likewise.
40027 * math/e_scalb.c: Completely rewritten and optimized.
40028 * math/e_scalbf.c: Likewise.
40029 * math/e_scalbl.c: Likewise.
40030 * math/w_acos.c: Likewise.
40031 * math/w_acosf.c: Likewise.
40032 * math/w_acosl.c: Likewise.
40033 * math/w_acosh.c: Likewise.
40034 * math/w_acoshf.c: Likewise.
40035 * math/w_acoshl.c: Likewise.
40036 * math/w_asin.c: Likewise.
40037 * math/w_asinf.c: Likewise.
40038 * math/w_asinl.c: Likewise.
40039 * math/w_atan2.c: Likewise.
40040 * math/w_atan2f.c: Likewise.
40041 * math/w_atan2l.c: Likewise.
40042 * math/w_atanh.c: Likewise.
40043 * math/w_atanhf.c: Likewise.
40044 * math/w_atanhl.c: Likewise.
40045 * math/w_exp10.c: Likewise.
40046 * math/w_exp10f.c: Likewise.
40047 * math/w_exp10l.c: Likewise.
40048 * math/w_fmod.c: Likewise.
40049 * math/w_fmodf.c: Likewise.
40050 * math/w_fmodl.c: Likewise.
40051 * math/w_j0.c: Likewise.
40052 * math/w_j0f.c: Likewise.
40053 * math/w_j0l.c: Likewise.
40054 * math/w_j1.c: Likewise.
40055 * math/w_j1f.c: Likewise.
40056 * math/w_j1l.c: Likewise.
40057 * math/w_jn.c: Likewise.
40058 * math/w_jnf.c: Likewise.
40059 * math/w_log.c: Likewise.
40060 * math/w_logf.c: Likewise.
40061 * math/w_logl.c: Likewise.
40062 * math/w_log10.c: Likewise.
40063 * math/w_log10f.c: Likewise.
40064 * math/w_log10l.c: Likewise.
40065 * math/w_log2.c: Likewise.
40066 * math/w_log2f.c: Likewise.
40067 * math/w_log2l.c: Likewise.
40068 * math/w_pow.c: Likewise.
40069 * math/w_powf.c: Likewise.
40070 * math/w_powl.c: Likewise.
40071 * math/w_remainder.c: Likewise.
40072 * math/w_remainderf.c: Likewise.
40073 * math/w_remainderl.c: Likewise.
40074 * math/w_scalb.c: Likewise.
40075 * math/w_scalbf.c: Likewise.
40076 * math/w_scalbl.c: Likewise.
40077 * math/w_sqrt.c: Likewise.
40078 * math/w_sqrtf.c: Likewise.
40079 * math/w_sqrtl.c: Likewise.
40080 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40081 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40082 used.
40083 * math/math_private.h: Declare __kernel_standard_f.
40084 * math/w_cosh.c: Remove cruft and optimize a bit.
40085 * math/w_coshf.c: Likewise.
40086 * math/w_coshl.c: Likewise.
40087 * math/w_exp2.c: Likewise.
40088 * math/w_exp2f.c: Likewise.
40089 * math/w_exp2l.c: Likewise.
40090 * math/w_hypot.c: Likewise.
40091 * math/w_hypotf.c: Likewise.
40092 * math/w_hypotl.c: Likewise.
40093 * math/w_lgamma.c: Likewise.
40094 * math/w_lgamma_r.c: Likewise.
40095 * math/w_lgammaf.c: Likewise.
40096 * math/w_lgammaf_r.c: Likewise.
40097 * math/w_lgammal.c: Likewise.
40098 * math/w_lgammal_r.c: Likewise.
40099 * math/w_sinh.c: Likewise.
40100 * math/w_sinhf.c: Likewise.
40101 * math/w_sinhl.c: Likewise.
40102 * math/w_tgamma.c: Likewise.
40103 * math/w_tgammaf.c: Likewise.
40104 * math/w_tgammal.c: Likewise.
40105 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40106 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40107 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40108 Minor optimizations. Pretty printing. Remove cruft.
40109 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40110 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40111 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40112 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40113 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40114 * sysdeps/i386/fpu/e_asin.S: Likewise.
40115 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40116 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40117 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40118 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40119 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40120 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40121 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40122 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40123 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40124 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40125 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40126 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40127 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40128 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40129 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40130 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40131 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40132 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40133 * sysdeps/i386/fpu/e_log.S: Likewise.
40134 * sysdeps/i386/fpu/e_log10.S: Likewise.
40135 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40136 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40137 * sysdeps/i386/fpu/e_log2.S: Likewise.
40138 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40139 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40140 * sysdeps/i386/fpu/e_logf.S: Likewise.
40141 * sysdeps/i386/fpu/e_logl.S: Likewise.
40142 * sysdeps/i386/fpu/e_pow.S: Likewise.
40143 * sysdeps/i386/fpu/e_powf.S: Likewise.
40144 * sysdeps/i386/fpu/e_powl.S: Likewise.
40145 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40146 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40147 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40148 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40149 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40150 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40151 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40152 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40153 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40154 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40155 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40156 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40157 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40158 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40159 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40160 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40161 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40162 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40163 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40164 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40165 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40166 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40167 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40168 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40170 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40171 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40172 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40173 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40174 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40175 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40176 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40177 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40178 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40179 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40180 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40181 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40182 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40183 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40184 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40185 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40186 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40187 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40188 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40189 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40190 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40191 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40192 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40193 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40194 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40195 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40196 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40197 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40198 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40199 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40200 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40201 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40202 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40203 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40204 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40205 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40206 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40207 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40208 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40209 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40210 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40212 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40213 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40214 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40215 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40218 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40219 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40220 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40221 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40222 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40223 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40225 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40226 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40227 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40228 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40229 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40231 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40232 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40233 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40234 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40235 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40236 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40237 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40238 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40239 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40240 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40241 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40242 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40243 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40244 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40245 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40246 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40247 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40248 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40249 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40250 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40251 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40252 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40253 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40254 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40255 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40256 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40257 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40258 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40259 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40260 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40261 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40262 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40263 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40264 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40265 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40266 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40267 (__isnanf): Likewise.
40268 (__isinf_ns): Likewise.
40269 (__isinf_nsf): Likewise.
40270 (__finite): Likewise.
40271 (__finitef): Likewise.
40272 (__ieee754_sqrt): Define as macro.
40273 (__ieee754_sqrtf): Define as macro.
40274 (__ieee754_sqrtl): Define as macro.
40275 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40276 inlined copy.
40277 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40278 __FINITE_MATH_ONLY__ consistent.
40279 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40280
12cc2fcd
AS
402812011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40282
a843a204
AS
40283 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40284 of rawmemchr.
40285
12cc2fcd
AS
40286 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40287
c853acd5
UD
402882011-10-09 Ulrich Drepper <drepper@gmail.com>
40289
40290 * po/ja.po: Update from translation team.
40291
c658d255
RM
402922011-10-08 Roland McGrath <roland@hack.frob.com>
40293
110946e4
RM
40294 * locale/programs/locarchive.c (prepare_address_space): New function.
40295 (create_archive, enlarge_archive, open_archive): Use it.
40296
50604220
RM
40297 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40298 inside [SHARED], where it is used.
40299
c658d255
RM
40300 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40301
40302 * nss/getent.c (netgroup_keys): Remove unused variable.
40303 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40304
6a621eb7
UD
403052011-10-08 Ulrich Drepper <drepper@gmail.com>
40306
7edb55ce
UD
40307 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40308 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40309 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40310 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40311 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40312 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40313 * math/Makefile (libm-calls): Add s_isinf_ns.
40314 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40315 * math/multc3.c: Likewise.
40316 * math/s_casin.c: Likewise.
40317 * math/s_casinf.c: Likewise.
40318 * math/s_casinl.c: Likewise.
40319 * math/s_ccos.c: Likewise.
40320 * math/s_ccosf.c: Likewise.
40321 * math/s_ccosl.c: Likewise.
40322 * math/s_ctan.c: Likewise.
40323 * math/s_ctanf.c: Likewise.
40324 * math/s_ctanh.c: Likewise.
40325 * math/s_ctanhf.c: Likewise.
40326 * math/s_ctanhl.c: Likewise.
40327 * math/s_ctanl.c: Likewise.
40328 * math/w_fmod.c: Likewise.
40329 * math/w_fmodf.c: Likewise.
40330 * math/w_fmodl.c: Likewise.
40331 * math/w_remainder.c: Likewise.
40332 * math/w_remainderf.c: Likewise.
40333 * math/w_remainderl.c: Likewise.
40334 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40335 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40336 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40337 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40338 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40339 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40340 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40341 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40342
187da0ae
UD
40343 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40344 of the number.
40345 * stdio-common/printf_fphex.c: Likewise.
40346 * stdio-common/printf_size.c: Likewise.
40347
9277c064
UD
40348 * math/e_exp10.c: Include math_private.h using <...> not "...".
40349 * math/e_exp10f.c: Likewise.
40350 * math/e_exp10l.c: Likewise.
40351 * math/e_exp2l.c: Likewise.
40352 * math/e_j0l.c: Likewise.
40353 * math/e_j1l.c: Likewise.
40354 * math/e_jnl.c: Likewise.
40355 * math/e_lgammal_r.c: Likewise.
40356 * math/e_rem_pio2l.c: Likewise.
40357 * math/e_scalb.c: Likewise.
40358 * math/e_scalbf.c: Likewise.
40359 * math/e_scalbl.c: Likewise.
40360 * math/k_cosl.c: Likewise.
40361 * math/k_sinl.c: Likewise.
40362 * math/k_tanl.c: Likewise.
40363 * math/s_cacoshf.c: Likewise.
40364 * math/s_catan.c: Likewise.
40365 * math/s_catanf.c: Likewise.
40366 * math/s_catanh.c: Likewise.
40367 * math/s_catanhf.c: Likewise.
40368 * math/s_catanhl.c: Likewise.
40369 * math/s_catanl.c: Likewise.
40370 * math/s_ccosh.c: Likewise.
40371 * math/s_ccoshf.c: Likewise.
40372 * math/s_ccoshl.c: Likewise.
40373 * math/s_cexp.c: Likewise.
40374 * math/s_cexpf.c: Likewise.
40375 * math/s_cexpl.c: Likewise.
40376 * math/s_clog.c: Likewise.
40377 * math/s_clog10.c: Likewise.
40378 * math/s_clog10f.c: Likewise.
40379 * math/s_clog10l.c: Likewise.
40380 * math/s_clogf.c: Likewise.
40381 * math/s_clogl.c: Likewise.
40382 * math/s_csin.c: Likewise.
40383 * math/s_csinf.c: Likewise.
40384 * math/s_csinh.c: Likewise.
40385 * math/s_csinhf.c: Likewise.
40386 * math/s_csinhl.c: Likewise.
40387 * math/s_csinl.c: Likewise.
40388 * math/s_csqrt.c: Likewise.
40389 * math/s_csqrtf.c: Likewise.
40390 * math/s_csqrtl.c: Likewise.
40391 * math/s_ctan.c: Likewise.
40392 * math/s_ctanf.c: Likewise.
40393 * math/s_ctanh.c: Likewise.
40394 * math/s_ctanhf.c: Likewise.
40395 * math/s_ctanhl.c: Likewise.
40396 * math/s_ctanl.c: Likewise.
40397 * math/s_ldexp.c: Likewise.
40398 * math/s_ldexpf.c: Likewise.
40399 * math/s_ldexpl.c: Likewise.
40400 * math/s_significand.c: Likewise.
40401 * math/s_significandf.c: Likewise.
40402 * math/s_significandl.c: Likewise.
40403 * math/w_acos.c: Likewise.
40404 * math/w_acosf.c: Likewise.
40405 * math/w_acosh.c: Likewise.
40406 * math/w_acoshf.c: Likewise.
40407 * math/w_acoshl.c: Likewise.
40408 * math/w_acosl.c: Likewise.
40409 * math/w_asin.c: Likewise.
40410 * math/w_asinf.c: Likewise.
40411 * math/w_asinl.c: Likewise.
40412 * math/w_atan2.c: Likewise.
40413 * math/w_atan2f.c: Likewise.
40414 * math/w_atan2l.c: Likewise.
40415 * math/w_atanh.c: Likewise.
40416 * math/w_atanhf.c: Likewise.
40417 * math/w_atanhl.c: Likewise.
40418 * math/w_cosh.c: Likewise.
40419 * math/w_coshf.c: Likewise.
40420 * math/w_coshl.c: Likewise.
40421 * math/w_dremf.c: Likewise.
40422 * math/w_exp10.c: Likewise.
40423 * math/w_exp10f.c: Likewise.
40424 * math/w_exp10l.c: Likewise.
40425 * math/w_exp2.c: Likewise.
40426 * math/w_exp2f.c: Likewise.
40427 * math/w_fmod.c: Likewise.
40428 * math/w_fmodf.c: Likewise.
40429 * math/w_fmodl.c: Likewise.
40430 * math/w_hypot.c: Likewise.
40431 * math/w_hypotf.c: Likewise.
40432 * math/w_hypotl.c: Likewise.
40433 * math/w_j0.c: Likewise.
40434 * math/w_j0f.c: Likewise.
40435 * math/w_j0l.c: Likewise.
40436 * math/w_j1.c: Likewise.
40437 * math/w_j1f.c: Likewise.
40438 * math/w_j1l.c: Likewise.
40439 * math/w_jn.c: Likewise.
40440 * math/w_jnf.c: Likewise.
40441 * math/w_jnl.c: Likewise.
40442 * math/w_lgamma.c: Likewise.
40443 * math/w_lgamma_r.c: Likewise.
40444 * math/w_lgammaf.c: Likewise.
40445 * math/w_lgammaf_r.c: Likewise.
40446 * math/w_lgammal.c: Likewise.
40447 * math/w_lgammal_r.c: Likewise.
40448 * math/w_log.c: Likewise.
40449 * math/w_log10.c: Likewise.
40450 * math/w_log10f.c: Likewise.
40451 * math/w_log10l.c: Likewise.
40452 * math/w_log2.c: Likewise.
40453 * math/w_log2f.c: Likewise.
40454 * math/w_log2l.c: Likewise.
40455 * math/w_logf.c: Likewise.
40456 * math/w_logl.c: Likewise.
40457 * math/w_pow.c: Likewise.
40458 * math/w_powf.c: Likewise.
40459 * math/w_powl.c: Likewise.
40460 * math/w_remainder.c: Likewise.
40461 * math/w_remainderf.c: Likewise.
40462 * math/w_remainderl.c: Likewise.
40463 * math/w_scalb.c: Likewise.
40464 * math/w_scalbf.c: Likewise.
40465 * math/w_scalbl.c: Likewise.
40466 * math/w_sinh.c: Likewise.
40467 * math/w_sinhf.c: Likewise.
40468 * math/w_sinhl.c: Likewise.
40469 * math/w_sqrt.c: Likewise.
40470 * math/w_sqrtf.c: Likewise.
40471 * math/w_sqrtl.c: Likewise.
40472 * math/w_tgamma.c: Likewise.
40473 * math/w_tgammaf.c: Likewise.
40474 * math/w_tgammal.c: Likewise.
40475
6a621eb7
UD
40476 * po/ja.po: Update from translation team.
40477
bf582445
AJ
404782011-09-29 Andreas Jaeger <aj@suse.de>
40479
f9efbf3a
AJ
40480 [BZ #13179]
40481 * sunrpc/netname.c (netname2host): Fix logic.
40482
bf582445
AJ
40483 [BZ #6779]
40484 [BZ #6783]
40485 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40486 correctly.
40487 * math/w_remainder.c (__remainder): Likewise.
40488 * math/w_remainderf.c (__remainderf): Likewise.
40489 * math/libm-test.inc (remainder_test): Add test cases.
40490
48693bea
AK
404912011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40492
40493 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40494 sdiv_qrnnd.
40495
42622229
LD
404962011-10-07 Ulrich Drepper <drepper@gmail.com>
40497
40498 * string/test-memcmp.c: Avoid unncessary #defines.
40499 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40500
093ecf92
LD
405012011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40502
40503 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40504 Use new sse2 version for core i3 - i7 as it's faster
40505 than sse42 version.
40506 (bit_Prefer_PMINUB_for_stringop): New.
40507 * sysdeps/x86_64/rawmemchr.S: Update.
40508 Replace with faster SSE2 version.
40509 * sysdeps/x86_64/memrchr.S: New file.
40510 * sysdeps/x86_64/memchr.S: Update.
40511 Replace with faster SSE2 version.
40512
fde56e5c
MP
405132011-09-12 Marek Polacek <mpolacek@redhat.com>
40514
40515 * elf/dl-load.c (lose): Add cast to avoid warning.
40516
21fd49a9
UD
405172011-10-07 Ulrich Drepper <drepper@gmail.com>
40518
5a06e643
UD
40519 * po/ca.po: Update from translation team.
40520
684ae515
UD
40521 * inet/getnetgrent_r.c: Hook up nscd.
40522 * nscd/Makefile (routines): Add nscd_netgroup.
40523 (nscd-modules): Add netgroupcache.
40524 (CFLAGS-netgroupcache.c): Define.
40525 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40526 (cache_search): Add const to second parameter.
40527 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40528 INNETGR.
40529 (dbs): Add netgrdb entry.
40530 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40531 (verify_persistent_db): Handle netgrdb.
40532 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40533 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40534 GETFDNETGR.
40535 (netgroup_response_header): Define.
40536 (innetgroup_response_header): Define.
40537 (datahead): Add netgroup_response_header and innetgroup_response_header
40538 elements.
40539 * nscd/nscd.conf: Add entries for netgroup cache.
40540 * nscd/nscd.h (dbtype): Add netgrdb.
40541 (_PATH_NSCD_NETGROUP_DB): Define.
40542 (netgroup_iov_disabled): Declare.
40543 (xmalloc, xcalloc, xrealloc): Move declarations here.
40544 (cache_search): Adjust prototype.
40545 Add netgroup-related prototypes.
40546 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40547 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40548 (__nscd_innetgr): Declare.
40549 * nscd/selinux.c (perms): Use access_vector_t as element type and
40550 add netgroup-related initializers.
40551 * nscd/netgroupcache.c: New file.
40552 * nscd/nscd_netgroup.c: New file.
40553 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40554 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40555 For four parameters use innetgr.
40556 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40557 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40558 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40559 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40560
21fd49a9
UD
40561 * nscd/connections.c (register_traced_file): Don't register file
40562 for disabled databases.
40563
054c0457
UD
405642011-10-06 Ulrich Drepper <drepper@gmail.com>
40565
32b63198
UD
40566 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40567
054c0457
UD
40568 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40569 from tree and freeing node.
40570
64031225
JO
405712011-09-25 Jiri Olsa <jolsa@redhat.com>
40572
40573 * nss/nsswitch.c (__nss_database_lookup): Handle
40574 nss_parse_service_list out of memory case.
40575
0490345c
JO
405762011-09-15 Jiri Olsa <jolsa@redhat.com>
40577
40578 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40579 out of memory case.
40580
3a62d00d
AS
405812011-10-04 Andreas Schwab <schwab@redhat.com>
40582
40583 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40584 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40585 pass it down.
40586 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40587 elf_machine_rela, elf_machine_lazy_rel.
40588 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40589 (ELF_DYNAMIC_DO_REL): Likewise.
40590 (ELF_DYNAMIC_DO_RELA): Likewise.
40591 (ELF_DYNAMIC_RELOCATE): Likewise.
40592 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40593 to ELF_DYNAMIC_DO_REL.
40594 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40595 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40596 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40597 elf_machine_rela.
40598 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40599 skip_ifunc, don't call ifunc function if non-zero.
40600 (elf_machine_rela): Likewise.
40601 (elf_machine_lazy_rel): Likewise.
40602 (elf_machine_lazy_rela): Likewise.
40603 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40604 (elf_machine_lazy_rel): Likewise.
40605 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40606 Likewise.
40607 (elf_machine_lazy_rel): Likewise.
40608 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40609 Likewise.
40610 (elf_machine_lazy_rel): Likewise.
40611 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40612 (elf_machine_lazy_rel): Likewise.
40613 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40614 (elf_machine_lazy_rel): Likewise.
40615 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40616 (elf_machine_lazy_rel): Likewise.
40617 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40618 (elf_machine_lazy_rel): Likewise.
40619 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40620 (elf_machine_lazy_rel): Likewise.
40621 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40622 (elf_machine_lazy_rel): Likewise.
40623
68577918
UD
406242011-09-28 Ulrich Drepper <drepper@gmail.com>
40625
40626 * nss/nss_files/files-init.c (_nss_files_init): Use static
40627 initialization for all the *_traced_file variables.
40628
68822d74
AS
406292011-09-28 Andreas Schwab <schwab@redhat.com>
40630
40631 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40632
2056100b
RM
406332011-09-27 Roland McGrath <roland@hack.frob.com>
40634
40635 [BZ #13226]
40636 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40637
32c76b63
AS
406382011-09-27 Andreas Schwab <schwab@redhat.com>
40639
40640 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40641 Reread the line before reparsing it.
40642
bf972c9d
AS
406432011-09-26 Andreas Schwab <schwab@redhat.com>
40644
40645 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40646
e057a1b5
JM
406472011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40648 Maxim Kuvyrkov <maxim@codesourcery.com>
40649 Joseph Myers <joseph@codesourcery.com>
40650
40651 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40652 if needed for __stack_chk_guard.
40653
bc7e1c36
RM
406542011-09-19 Roland McGrath <roland@hack.frob.com>
40655
ecb1482f
RM
40656 * sysdeps/posix/spawni.c (script_execute): Always define it.
40657 It will be optimized away if unused.
40658 (maybe_script_execute): New function.
40659 (__spawni): Call it.
40660
bc7e1c36
RM
40661 * Makerules: Don't include tls.make.
40662 (config-tls): Always set to thread.
40663 * tls.make.c: File removed.
40664
1c3b002b
MF
406652011-09-19 Mike Frysinger <vapier@gentoo.org>
40666
40667 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40668 * config.make.in (CPPFLAGS-config): New substituted variable.
40669
2840865d
UD
406702011-09-15 Ulrich Drepper <drepper@gmail.com>
40671
88738eb6
UD
40672 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40673
cbf645a6 40674 [BZ #13192]
2840865d
UD
40675 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40676 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40677
b402e91a
RM
406782011-09-15 Roland McGrath <roland@hack.frob.com>
40679
40680 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40681 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40682 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40683 (CALL_FAIL): Likewise.
40684 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40685 (CALL_FAIL): Macro removed.
40686 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40687
4c1a1f71
UD
406882011-09-15 Ulrich Drepper <drepper@gmail.com>
40689
40690 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40691 for __FINITE_MATH_ONLY__ == 1.
40692
edc121be
AS
406932011-09-15 Andreas Schwab <schwab@redhat.com>
40694
40695 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40696 __ieee754_sqrt instead of sqrt.
40697 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40698 __ieee754_sqrtf instead of sqrtf.
40699 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40700 __floorf instead of floorf.
40701 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40702 __floorf, __truncf instead of floorf, truncf.
40703
cd205654
UD
407042011-09-14 Ulrich Drepper <drepper@gmail.com>
40705
ee4d0315
UD
40706 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40707
cd205654
UD
40708 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40709 __extern_always_inline.
40710 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40711 32-bit.
40712
48b67d71
AS
407132011-09-14 Andreas Schwab <schwab@redhat.com>
40714
40715 * elf/rtld.c (dl_main): Also relocate in dependency order when
40716 doing symbol dependency testing.
40717
1ae12c75
AS
407182011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40719
40720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40721 Always define `refsym'.
40722
995a80df
AS
407232011-09-13 Andreas Schwab <schwab@redhat.com>
40724
e529793b
AS
40725 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40726 (__FD_ELT): Renamed from __FDELT.
40727 * misc/bits/select2.h (__FD_ELT): Likewise.
40728 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40729 __FD_MASK instead of __FDELT, __FDMASK.
40730 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40731 Likewise.
40732 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40733 Likewise.
40734
52d4fef8
AS
40735 * elf/Makefile (gen-ldd): Fix pattern.
40736
995a80df
AS
40737 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40738 (init_tls): Likewise.
40739
8682f8b0
UD
407402011-09-12 Ulrich Drepper <drepper@gmail.com>
40741
40742 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40743
de82006d
AS
407442011-09-12 Andreas Schwab <schwab@redhat.com>
40745
a7c8e6a1
AS
40746 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40747 `struct cmsghdr *' instead of `void *'.
40748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40749 Likewise.
40750
0f31fe77
AS
407512011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40752
40753 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40754 if non-absolute.
40755 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40756 ldd_rewrite_script.
0f31fe77 40757
32b4c839
UD
407582011-09-11 Ulrich Drepper <drepper@gmail.com>
40759
83cd1420
UD
40760 * configure.in: Remove --with-tls option.
40761 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40762 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40763 out in case it is missing.
40764 * sysdeps/ia64/elf/configure.in: Likewise.
40765 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40766 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40767 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40768 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40769 * sysdeps/sh/elf/configure.in: Likewise.
40770 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40771 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40772 * sysdeps/x86_64/elf/configure.in: Likewise.
40773 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40774 * sysdeps/mach/hurd/tls.h: Likewise.
40775
633f745d
UD
40776 [BZ #13067]
40777 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40778
f318beb8
UD
40779 [BZ #13090]
40780 * configure.in: Fix use of AC_INIT.
40781
32b4c839
UD
40782 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40783
3ce1f295
UD
407842011-09-10 Ulrich Drepper <drepper@gmail.com>
40785
bb016596
UD
40786 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40787 __set_errno.
8e58439c
UD
40788 * malloc/hooks.c: Likewise.
40789
aebae053 40790 [BZ #11929]
02d46fc4
UD
40791 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40792 variables statically.
40793 (narenas): Initialize.
40794 (list_lock): Initialize.
bb016596
UD
40795 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40796 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40797 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40798 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40799 Add initializers to main_arena and mp_.
40800 (malloc_state): Remove pagesize member. Change all users to use
40801 GLRO(dl_pagesize).
40802
40803 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40804 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40805 is always initialized.
40806
22a89187
UD
40807 * malloc/malloc.c: Removed unused configurations and dead code.
40808 * malloc/arena.c: Likewise.
40809 * malloc/hooks.c: Likewise.
02d46fc4 40810 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40811
d063d164
UD
40812 * include/tls.h: Removed. USE___THREAD must always be defined.
40813 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40814 * elf/dl-libc.c: Likewise.
40815 * elf/dl-tsd.c: Likewise.
40816 * include/errno.h: Likewise.
40817 * include/netdb.h: Likewise.
40818 * include/resolv.h: Likewise.
40819 * inet/herrno-loc.c: Likewise.
40820 * inet/herrno.c: Likewise.
40821 * malloc/arena.c: Likewise.
40822 * malloc/hooks.c: Likewise.
40823 * malloc/malloc.c: Likewise.
40824 * resolv/res-state.c: Likewise.
40825 * resolv/res_libc.c: Likewise.
40826 * sysdeps/i386/dl-machine.h: Likewise.
40827 * sysdeps/ia64/dl-machine.h: Likewise.
40828 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40829 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40830 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40831 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40832 * sysdeps/sh/dl-machine.h: Likewise.
40833 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40834 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40835 * sysdeps/unix/i386/sysdep.S: Likewise.
40836 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40837 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40838 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40839 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40840 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40842 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40846 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40847 * sysdeps/x86_64/dl-machine.h: Likewise.
40848 * tls.make.c: Likewise.
40849
3ce1f295
UD
40850 * configure.in: Remove --with-__thread option. Make tests for
40851 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40852 tls_model attribute fail if no support is available. Remove
40853 USE_IN_LIBIO.
40854 * Makeconfig: Adjust for dropped configure option. All features are
40855 now mandatory.
40856 * Makerules: Likewise.
40857 * Versions.def: Likewise.
40858 * argp/argp-fmtstream.c: Likewise.
40859 * argp/argp-fmtstream.h: Likewise.
40860 * argp/argp-help.c: Likewise.
40861 * assert/assert.c: Likewise.
40862 * config.h.in: Likewise.
40863 * config.make.in: Likewise.
40864 * configure: Likewise.
40865 * configure.in: Likewise.
40866 * csu/Versions: Likewise.
40867 * csu/init.c: Likewise.
40868 * elf/tst-audit2.c: Likewise.
40869 * elf/tst-tls10.c: Likewise.
40870 * elf/tst-tls10.h: Likewise.
40871 * elf/tst-tls11.c: Likewise.
40872 * elf/tst-tls12.c: Likewise.
40873 * elf/tst-tls14.c: Likewise.
40874 * elf/tst-tlsmod11.c: Likewise.
40875 * elf/tst-tlsmod12.c: Likewise.
40876 * elf/tst-tlsmod13.c: Likewise.
40877 * elf/tst-tlsmod13a.c: Likewise.
40878 * elf/tst-tlsmod14a.c: Likewise.
40879 * elf/tst-tlsmod15b.c: Likewise.
40880 * elf/tst-tlsmod16a.c: Likewise.
40881 * elf/tst-tlsmod16b.c: Likewise.
40882 * elf/tst-tlsmod7.c: Likewise.
40883 * elf/tst-tlsmod8.c: Likewise.
40884 * elf/tst-tlsmod9.c: Likewise.
40885 * gmon/gmon.c: Likewise.
40886 * grp/fgetgrent_r.c: Likewise.
40887 * grp/putgrent.c: Likewise.
40888 * hurd/fopenport.c: Likewise.
40889 * include/libc-symbols.h: Likewise.
40890 * include/tls.h: Likewise.
40891 * intl/gettextP.h: Likewise.
40892 * intl/loadinfo.h: Likewise.
40893 * locale/global-locale.c: Likewise.
40894 * locale/localeinfo.h: Likewise.
40895 * mach/devstream.c: Likewise.
40896 * malloc/arena.c: Likewise.
40897 * malloc/set-freeres.c: Likewise.
40898 * misc/err.c: Likewise.
40899 * misc/getttyent.c: Likewise.
40900 * misc/mntent_r.c: Likewise.
40901 * posix/getopt.c: Likewise.
40902 * posix/wordexp.c: Likewise.
40903 * pwd/fgetpwent_r.c: Likewise.
40904 * resolv/Versions: Likewise.
40905 * resolv/res_hconf.c: Likewise.
40906 * shadow/fgetspent_r.c: Likewise.
40907 * shadow/putspent.c: Likewise.
40908 * stdio-common/printf_fphex.c: Likewise.
40909 * stdio-common/tmpfile.c: Likewise.
40910 * stdlib/abort.c: Likewise.
40911 * stdlib/fmtmsg.c: Likewise.
40912 * sunrpc/auth_unix.c: Likewise.
40913 * sunrpc/clnt_perr.c: Likewise.
40914 * sunrpc/clnt_tcp.c: Likewise.
40915 * sunrpc/clnt_udp.c: Likewise.
40916 * sunrpc/clnt_unix.c: Likewise.
40917 * sunrpc/openchild.c: Likewise.
40918 * sunrpc/svc_simple.c: Likewise.
40919 * sunrpc/svc_tcp.c: Likewise.
40920 * sunrpc/svc_udp.c: Likewise.
40921 * sunrpc/svc_unix.c: Likewise.
40922 * sunrpc/xdr.c: Likewise.
40923 * sunrpc/xdr_array.c: Likewise.
40924 * sunrpc/xdr_rec.c: Likewise.
40925 * sunrpc/xdr_ref.c: Likewise.
40926 * sunrpc/xdr_stdio.c: Likewise.
40927
1248c1c4
PB
409282011-09-09 Ulrich Drepper <drepper@gmail.com>
40929
40930 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40931
409322011-07-03 Andreas Jaeger <aj@suse.de>
40933
40934 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40935 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40936 regenerate with gen-libm-tests.pl.
40937
409382010-05-12 Petr Baudis <pasky@suse.cz>
40939
40940 [BZ #11589]
40941 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40942 around j0() zero points by switching to j1().
40943 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40944 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40946 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40947
f22e1074
UD
409482011-09-09 Ulrich Drepper <drepper@gmail.com>
40949
f19009c1
UD
40950 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40951 instead of 0.
40952 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40953 instead of 0.
f19009c1
UD
40954 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40955 Patch in part by Pavel Roskin <proski@gnu.org>.
40956
3f8cc204
UD
40957 [BZ #13138]
40958 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40959 realloc.
40960 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40961 Free memory block if necessary.
40962
f22e1074
UD
40963 [BZ #12847]
40964 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40965 be NULL. Don't lock in this case.
40966
0a2349f9
RM
409672011-09-09 Roland McGrath <roland@hack.frob.com>
40968
40969 * elf/elf.h (ELFOSABI_GNU): New macro.
40970 (ELFOSABI_LINUX): Define to that.
40971
f3cdd467
DZ
409722011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40973
40974 * string/strncat.c (strncat): Undef the symbol in case it has been
40975 defined in bits/string.h.
40976
74718d13
UD
409772011-09-09 Ulrich Drepper <drepper@gmail.com>
40978
633e9e0f
UD
40979 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40980
0a2349f9 40981 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40982 link map.
40983
f9924780
AJ
409842011-08-17 Andreas Jaeger <aj@suse.de>
40985
40986 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40987
7f5517aa
PP
409882011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40989 Ian Lance Taylor <iant@google.com>
40990
40991 * math/libm-test.inc (lround_test): New testcase.
40992 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40993
762011fe
UD
409942011-09-08 Ulrich Drepper <drepper@gmail.com>
40995
92963737
UD
40996 * Makefile: Remove support for automatic cvs check-ins.
40997 * Makerules: Likewise.
40998 * config.make.in: Likewise.
40999 * configure.in: Likewise.
41000 * intl/Makefile: Likewise.
41001 * locale/Makefile: Likewise.
41002 * po/Makefile: Likewise.
41003 * posix/Makefile: Likewise.
41004 * sysdeps/gnu/Makefile: Likewise.
41005 * sysdeps/mach/hurd/Makefile: Likewise.
41006 * sysdeps/sparc/sparc32/Makefile: Likewise.
41007
b0727fd8
JS
41008 [BZ #13118]
41009 * posix/Makefile (bug-regex32-ENV): Define.
41010 Patch by John Stanley <jpsinthemix@verizon.net>.
41011
a0f33f99
UD
41012 * misc/Makefile (headers): Add bits/select2.h.
41013 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41014 * misc/bits/select2.h: New file.
41015 * include/bits/select2.h: New file.
41016 * debug/Makefile (routines): Add fdelt_chk.
41017 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41018 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41019 FD_ISSET.
41020 * debug/fdelt_chk.c: New file.
41021
762011fe
UD
41022 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41023 * wcsmbs/test-wmemcmp.c: Likewise.
41024 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41025 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41026
410272011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41028
41029 * string/Makefile (strop-tests): Add memcmp.
41030 * string/test-wmemcmp.c: New file.
41031 * string/test-memcmp.c: Add wmemcmp support.
41032
7f513ec8
RM
410332011-09-08 Roland McGrath <roland@hack.frob.com>
41034
0442afb4
RM
41035 [BZ #13153]
41036 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41037 2011-07-19 change.
41038
7f513ec8
RM
41039 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41040 garbage value in a __mach_port_mod_refs call in the cases of the
41041 task-self and thread-self ports.
41042
a12b2239
ST
410432011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41044
41045 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41046
610f9ab4
AS
410472011-09-08 Andreas Schwab <schwab@redhat.com>
41048
7f513ec8 41049 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 41050
48882a1a
LD
410512011-09-07 Ulrich Drepper <drepper@gmail.com>
41052
b49865be
UD
41053 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41054
fdc86bc9
UD
41055 * elf/dl-libc.c (dlerror_run): Pass back error code from
41056 dl_catch_error.
41057
c966526a
UD
41058 [BZ #13123]
41059 * elf/dl-load.c (lose): Free l_origin if it is valid.
41060
48882a1a
LD
41061 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41062 names.
41063 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41064 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41065 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41066 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41067 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41068 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41069
77a2a8b4
AZ
410702011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41071
41072 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41073 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41074 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41075 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41076 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41077 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41078 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41079 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41080 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41081 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41082
24f579d8
AM
410832011-08-15 Alan Modra <amodra@gmail.com>
41084
41085 [BZ #13092]
41086 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41087 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41088 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41089 ppc_mcount to static-only-routines.
41090 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41091 __mcount_internal.
41092 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41093 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41094
3d4837df
UD
410952011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41096
41097 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41098 for finite and infinity parameters.
41099
22700377
WS
411002011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41101
41102 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41103 and add nop instructions for throughput optimization.
41104 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41105
5025581e
WS
411062011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41107
41108 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41109 aligned copy for power7 with vector-scalar instructions.
41110 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41111
08a300c9
L
411122011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41113
41114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41115 AVX check.
41116
59178ef9
AS
411172011-09-07 Andreas Schwab <schwab@redhat.com>
41118
41119 [BZ #13144]
41120 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41121 last change.
41122
e38ba7ab
UD
411232011-09-07 Ulrich Drepper <drepper@gmail.com>
41124
41125 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41126 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41127 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41128 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41129 clock_gettime.
41130
d53a73ac
UD
411312011-09-06 Ulrich Drepper <drepper@gmail.com>
41132
fc8bffcc
UD
41133 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41134 Forgot to demangle the pointer.
41135
ceaa0c5d
UD
41136 * sysdeps/i386/sysdep.h: Define atom_text_section.
41137 * sysdeps/x86_64/sysdep.h: Likewise.
41138 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41139 section with atom_text_section.
41140 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41141 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41142 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41143 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41144 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41145
a77d3c17
UD
41146 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41147 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41148 already be defined. Change to take two parameters and don't assign
41149 result to variable. Adjust all users.
41150 Define INTERNAL_GETTIME if not already defined.
41151 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41152 call.
41153 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41154 HAVE_CLOCK_GETTIME_VSYSCALL.
41155 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41156
d53a73ac
UD
41157 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41158 gettimeofday vsyscall, just use time.
41159
a8f84144
AS
411602011-09-06 Andreas Schwab <schwab@redhat.com>
41161
41162 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41163 <errno.h>.
41164
ef606249
UD
411652011-09-06 Ulrich Drepper <drepper@gmail.com>
41166
41167 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41168 syscall on x86-64.
41169 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41170 syscall.
41171 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41172 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41173 syscall if possible.
41174
6585cb60
UD
411752011-09-05 Ulrich Drepper <drepper@gmail.com>
41176
41177 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41178 e_ident. Don't pass to find_mapsXX.
41179 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41180
a5f524e4
LD
411812011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41182
41183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41184 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41185 * sysdeps/x86_64/multiarch/strchr.S: Update.
41186 Check bit_slow_BSF bit.
41187 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41188 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41189 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41190
554881ef
UD
411912011-09-05 Ulrich Drepper <drepper@gmail.com>
41192
d96de963
UD
41193 [BZ #13134]
41194 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41195 before glibc 2.15.
41196 (tryshell): Define.
41197 (__spawni): Change last parameter to be flag. Test
41198 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41199 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41200 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41201 * posix/spawni.c: Likewise.
41202 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41203 * posix/spawnp.c: Likewise. Change normal version to use
41204 SPAWN_XFLAGS_USE_PATH.
41205 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41206 SPAWN_XFLAGS_TRY_SHELL.
41207
d48e5868
UD
41208 [BZ #13150]
41209 * posix/glob.h: Remove gcc 1.x support.
41210
554881ef
UD
41211 [BZ #13068]
41212 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41213
693fb948
LD
412142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41215
41216 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41217 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41218 strrchr-sse2-bsf
41219 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41220 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41221 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41222 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41223 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41224 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41225
1b48c537
UD
412262011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41227
49d42c37
UD
41228 * sysdeps/x86_64/wcscmp.S: New file.
41229
1b48c537
UD
41230 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41231 wcscmp-c wcscmp-sse2
41232 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41233 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41234 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41235 * wcsmbs/wcscmp.c: Allow renaming.
41236
15c95c5d
DM
412372011-09-05 David S. Miller <davem@davemloft.net>
41238
41239 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41240 stack slot, rather than the struct return pointer slot.
41241 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41242 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41244 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41245
2f0ad8f3
UD
412462011-09-05 Ulrich Drepper <drepper@gmail.com>
41247
d88ae418
UD
41248 * po/ja.po: Update from translation team.
41249
2f0ad8f3
UD
41250 [BZ #13144]
41251 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41252 kernel in 64-bit binaries.
41253
5f4318d1
DM
412542011-09-01 David S. Miller <davem@davemloft.net>
41255
41256 * elf/elf.h (HWCAP_SPARC_*): Move to..
41257 * sysdeps/sparc/sysdep.h: this new file and add new values.
41258 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41259 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41260 _DL_HWCAP_COUNT to 24.
41261 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41262 entries.
41263 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41264 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41265 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41267 instead of magic constants.
41268 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41269
3ba57516
DM
412702011-08-31 David S. Miller <davem@davemloft.net>
41271
41272 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41274 Reimplement to do errno handling inline.
41275 (SYSCALL_ERROR_HANDLER): New macro.
41276 (__SYSCALL_STRING): Do not do errno handling in asm.
41277 (__CLONE_SYSCALL_STRING): Delete.
41278 (__INTERNAL_SYSCALL_STRING): Delete.
41279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41280 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41281 (PSEUDO): Reimplement to do errno handling inline.
41282 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41283 (SYSCALL_ERROR_HANDLER): New macro.
41284 (__SYSCALL_STRING): Do not do errno handling in asm.
41285 (__CLONE_SYSCALL_STRING): Delete.
41286 (__INTERNAL_SYSCALL_STRING): Delete.
41287 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41288 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41289 i386.
41290 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41291 (inline_syscall*): Add 'err' argument.
41292 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41293 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41294 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41295 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41296
41297 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41298 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41299
2bc17433
AS
413002011-08-30 Andreas Schwab <schwab@redhat.com>
41301
41302 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41303
fbeb5f4d
JO
413042011-08-29 Jiri Olsa <jolsa@redhat.com>
41305
41306 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41307 directive.
41308
ad69cc26
DM
413092011-08-24 David S. Miller <davem@davemloft.net>
41310
41311 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41312
39dd69df
AS
413132011-08-24 Andreas Schwab <schwab@redhat.com>
41314
41315 * elf/Makefile: Add rules to build and run unload8 test.
41316 * elf/unload8.c: New file.
41317 * elf/unload8mod1.c: New file.
41318 * elf/unload8mod1x.c: New file.
41319 * elf/unload8mod2.c: New file.
41320 * elf/unload8mod3.c: New file.
41321
41322 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41323 it wasn't used.
41324
2c0b250a
DM
413252011-08-23 David S. Miller <davem@davemloft.net>
41326
41327 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41328 subtract stack bias.
41329 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41330 %sp not %fp in calculations.
41331 (_JMPBUF_UNWINDS_ADJ): Likewise.
41332
22044b48
DM
41333 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41334 (aio_suspend): Call it to force an exception region around the
41335 AIO_MISC_WAIT() invocation.
41336
2cae4995
AS
413372011-08-23 Andreas Schwab <schwab@redhat.com>
41338
41339 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41340 backslash.
41341
873a772e
AJ
413422011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41343
41344 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41345 protection macro.
41346 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41347 and <dl-machine.h>.
41348 (Elf64_FuncDesc): Remove.
41349
25ad0df1
DM
413502011-08-22 David S. Miller <davem@davemloft.net>
41351
41352 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41353 sigaltstack check, add missing cfi directives.
41354 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41355 missing cfi directives, and sigaltstack handling.
41356
e888bcbe
AS
413572011-08-16 Andreas Schwab <schwab@redhat.com>
41358
41359 [BZ #11724]
41360 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41361 object is seen twice.
41362 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41363
41364 * elf/Makefile (distribute): Add tst-initorder2.c.
41365 (tests): Add tst-initorder2.
41366 (modules-names): Add tst-initorder2a tst-initorder2b
41367 tst-initorder2c tst-initorder2d. Add rules to build them.
41368 ($(objpfx)tst-initorder2.out): New rule.
41369 * elf/tst-initorder2.c: New file.
41370 * elf/tst-initorder2.exp: New file.
41371
87162f46
AS
413722011-08-22 Andreas Schwab <schwab@redhat.com>
41373
70538b7f
AS
41374 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41375
f55ffe58
AS
41376 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41377 dependencies back to end of function.
41378
87162f46
AS
41379 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41380 $(elfobjdir)/ld.so.
41381
91b392a4
UD
413822011-08-21 Ulrich Drepper <drepper@gmail.com>
41383
41384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41385 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41386 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41387 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41388 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41389 of __vdso_gettimeofday.
41390 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41391 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41392 attribute_hidden.
41393 (_libc_vdso_platform_setup): Remove initialization of
41394 __vdso_gettimeofday and __vdso_time.
41395
5c43483f
UD
413962011-08-20 Ulrich Drepper <drepper@gmail.com>
41397
775a77e7
UD
41398 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41399 and fgetc_unlocked.
41400 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41401 getc_unlocked.
89f447ed 41402
49c74ba9
UD
41403 * elf/dl-open.c (add_to_global): Report additions to the global scope
41404 for LD_DEBUG=scopes.
41405 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41406 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41407
5c43483f
UD
41408 [BZ #13114]
41409 * stdio-common/Makefile (tests): Add bug24.
41410 * stdio-common/bug24.c: New file.
41411
a101b025
AJ
414122011-08-19 Andreas Jaeger <aj@suse.de>
41413
41414 [BZ #13114]
41415 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41416 non-existant file when using close-on-exec mode.
41417
c88f1766
UD
414182011-08-20 Ulrich Drepper <drepper@gmail.com>
41419
0276a718
UD
41420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41421 the very first instruction.
41422
c88f1766
UD
41423 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41424 the CFI state in the end.
41425 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41426 inclusion of dl-trampoline.h.
41427 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41428
51ccffa0
AS
414292011-08-19 Andreas Schwab <schwab@redhat.com>
41430
94d7165f
AS
41431 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41432 expectations for long double.
41433
51ccffa0
AS
41434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41435 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41436
fd708658 414372011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41438
41439 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41440 artificual limit depends upon the system page size.
41441
44f0a71e
UD
414422011-08-17 Ulrich Drepper <drepper@gmail.com>
41443
41444 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41445 * resolv/Makefile: Define CFLAGS-libresolv.
41446
8de79a24
AS
414472011-08-17 Andreas Schwab <schwab@redhat.com>
41448
41449 * nss/makedb.c (compute_tables): Make variables used in nested
41450 function static.
41451
27724598
UD
414522011-08-17 Ulrich Drepper <drepper@gmail.com>
41453
c5305d88
UD
41454 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41455 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41456 if buffer was too small.
41457
27724598
UD
41458 * elf/pldd.c (main): Attach to all threads in the process.
41459 Rewrite /proc handling to use *at functions.
41460
076fe015
UD
414612011-08-16 Ulrich Drepper <drepper@gmail.com>
41462
174baab3
UD
41463 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41464 specifies first scope to show.
41465 (dl_open_worker): Update callers. Move printing scope of new
41466 object to before the relocation.
44f0a71e 41467 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41468 * sysdeps/generic/ldsodefs.h: Update declaration.
41469
076fe015
UD
41470 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41471 string for the scope number.
41472
a60df2c3
UD
414732011-08-14 Ulrich Drepper <drepper@gmail.com>
41474
41475 * nscd/servicescache.c (cache_addserv): Make sure written is always
41476 initialized.
41477
5e4287d1
RM
414782011-08-14 Roland McGrath <roland@hack.frob.com>
41479
85ae0589
RM
41480 * sysdeps/i386/i486/bits/atomic.h
41481 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41482 statement expression, so as to suppress "set but not used" warning.
41483 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41484
69f63097
RM
41485 * string/strncat.c (STRNCAT): Use prototype definition.
41486
675456ef
RM
41487 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41488 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41489 -Iprograms here.
41490 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41491 (localedef-modules): Add localedef.
41492 (locale-modules): Add locale.
41493
5e4287d1
RM
41494 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41495 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41496 to avoid a warning.
41497
9c96ff23
DM
414982011-08-14 David S. Miller <davem@davemloft.net>
41499
41500 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41501 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41502
f9ddf089
UD
415032011-08-13 Ulrich Drepper <drepper@gmail.com>
41504
44f0a71e 41505 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
41506 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41507 * elf/rtld.c (dl_main): Set l_name of vDSO.
41508 Call _dl_show_scope when DL_DEBUG_SCOPES.
41509 (process_dl_debug): Recognize scopes flag and also set it for all.
41510 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41511 Declare _dl_show_scope.
41512
1dc27704
UD
41513 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41514 (do_dlopen): Pass caller_dlopen to dl_open.
41515 (__libc_dlopen_mode): Initialize caller_dlopen.
41516
f9ddf089
UD
41517 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41518 of libc. Make tolower call locale-independent. Optimize a bit by
41519 using isdigit instead of isalnum.
41520 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41521
9ac533d3
UD
415222011-08-12 Ulrich Drepper <drepper@gmail.com>
41523
41524 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41525 was a dependency or dynamically loaded.
41526
89edf2e9
UD
415272011-08-11 Ulrich Drepper <drepper@gmail.com>
41528
8e999d29
UD
41529 * intl/l10nflist.c: Allow architecture-specific pop function.
41530 * sysdeps/x86_64/l10nflist.c: New file.
41531
89edf2e9
UD
41532 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41533 classification.
41534
14d96785
AS
415352011-08-10 Andreas Schwab <schwab@redhat.com>
41536
41537 * include/dirent.h: Add libc_hidden_proto for scandirat and
41538 scandirat64. Don't declare __scandirat64.
41539 * dirent/scandirat.c: Add libc_hidden_def.
41540 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41541 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41542
6761ac04
DM
415432011-08-10 David S. Miller <davem@davemloft.net>
41544
41545 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41546 enum.
41547 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41548 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41549 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41550
c55fbd1e
UD
415512011-08-09 Ulrich Drepper <drepper@gmail.com>
41552
41553 * Versions.def [libc]: Add GLIBC_2.15.
41554 * dirent/Makefile (routines): Add scandirat and scandirat64.
41555 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41556 GLIBC_2.15.
41557 * dirent/dirent.h: Declare scandirat and scandirat64.
41558 * dirent/scandirat.c: New file.
41559 * dirent/scandirat64.c: New file.
41560 * sysdeps/wordsize-64/scandirat.c: New file.
41561 * sysdeps/wordsize-64/scandirat64.c: New file.
41562 * dirent/opendir.c: Define opendirat.
41563 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41564 using scandirat.
41565 * dirent/scandir64.c: Adjust for scandir.c change.
41566 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41567 __scandirat64, and __scandir_cancel_handler.
41568 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41569 additional parameter and use openat instead of open (outside of ld.so).
41570 Add new __opendir as wrapper around __opendirat.
41571 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41572 here without requiring old scandirat implementation.
41573
879165f2
UD
415742011-08-08 Ulrich Drepper <drepper@gmail.com>
41575
41576 * dirent/scandir.c (cancel_handler): Renamed to
41577 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41578 defined. Adjust users.
41579 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41580 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41581
cb7e923b
UD
415822011-08-04 Ulrich Drepper <drepper@gmail.com>
41583
16292edd
UD
41584 * string/test-string.h (IMPL): Use __STRING to expand name and then
41585 stringify it.
41586
cb7e923b
UD
41587 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41588 of cleanups.
41589
cff82933
LD
415902011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41591
41592 * string/Makefile: Update.
41593 (strop-tests): Append strncat.
41594 * string/test-wcscmp.c: New file.
41595 New comprehensive test for wcscmp.
41596 * string/test-strcmp.c: Update.
41597 (WIDE): New define.
41598
9be9bfcc
AS
415992011-07-22 Andreas Schwab <schwab@redhat.com>
41600
41601 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41602 line.
41603
2e96f1c7
AS
416042011-07-26 Andreas Schwab <schwab@redhat.com>
41605
41606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41607 encoding to ACE if AI_IDN.
41608
85188888
JJ
416092011-08-01 Jakub Jelinek <jakub@redhat.com>
41610
41611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41612 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41613
5fa16e9b
LD
416142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41615
41616 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41617 Fix overflow bug in strncat.
41618 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41619
41620 * string/test-strncat.c: Update.
41621 Add new tests for checking overflow bugs.
41622
416232011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41624
41625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41626 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41627 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41628 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41629 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41630 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41631 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41632 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41633 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41634
41635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41636 (USE_AS_STRCAT): Define.
41637 Add strcat and strncat support.
41638 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41639
8c1a459f
AS
416402011-07-25 Andreas Schwab <schwab@redhat.com>
41641
41642 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41643 __n bigger than INT_MAX+1.
41644 (__strncmp_g): Likewise.
41645
bba33c28
UD
416462011-07-23 Ulrich Drepper <drepper@gmail.com>
41647
798be72d
UD
41648 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41649 * libio/stido.h: Likewise.
41650
8accd4dc
UD
41651 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41652 (AF_NFC): Define.
41653 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41654 (AF_NFC): Define.
41655
cbff0d96
UD
41656 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41657 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41658 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41659 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41660 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41661
9191c04a
UD
41662 [BZ #13021]
41663 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41664 installed.
41665
bba33c28
UD
41666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41667 typo.
41668 (_dl_x86_64_save_sse): Likewise.
41669
90f139dd
UD
416702011-07-22 Ulrich Drepper <drepper@gmail.com>
41671
1aae088a
UD
41672 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41673 OSXSAVE.
41674 (_dl_x86_64_save_sse): Likewise.
41675
8e2045f5
UD
41676 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41677
90f139dd
UD
41678 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41679
1d002f25
AS
416802011-07-21 Andreas Schwab <schwab@redhat.com>
41681
41682 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41683 change.
41684 (_dl_x86_64_save_sse): Use correct AVX check.
41685
21137f89
UD
416862011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41687
41688 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41689 bug in strncpy/strncat.
41690 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41691
a65c0b7a
UD
416922011-07-21 Ulrich Drepper <drepper@gmail.com>
41693
41694 * string/tester.c (test_strcat): Add tests for different alignments
41695 of source and destination.
41696 (test_strncat): Likewise.
41697
6986b98a
UD
416982011-07-20 Ulrich Drepper <drepper@gmail.com>
41699
90bb2039
UD
41700 [BZ #12852]
41701 * posix/glob.c (glob): Check passed in values before using them in
41702 expressions to avoid some overflows.
41703 (glob_in_dir): Likewise.
41704
5644ef54
UD
41705 [BZ #13007]
41706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41707 check for AVX enablement so that we don't crash with old kernels and
41708 new hardware.
41709 * elf/tst-audit4.c: Add same checks here.
41710 * elf/tst-audit6.c: Likewise.
41711
41712 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 41713
bfc9dc9b
AS
417142011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41715
41716 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41717
702e64bb
UD
417182011-07-20 Ulrich Drepper <drepper@gmail.com>
41719
41720 * po/cs.po: Update from translation team.
41721 * po/bg.po: Likewise.
41722
295e904f
MP
417232011-07-12 Marek Polacek <mpolacek@redhat.com>
41724
41725 * misc/sys/cdefs.h: Add support for const attribute.
41726 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41727 to gnu_dev_{major,minor,makedev} functions.
41728
3ff94596
MP
417292011-07-20 Marek Polacek <mpolacek@redhat.com>
41730
41731 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41732
28b59fca
AS
417332011-07-20 Andreas Schwab <schwab@redhat.com>
41734
41735 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41736 strlen results.
41737
19df733e
AK
417382011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41739
41740 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41741 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41742 register in order to avoid conflicts with the soft frame pointer
41743 being held in r11 when necessary.
41744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41745 (INTERNAL_VSYSCALL_NCS): Likewise.
41746
c8835729
MP
417472011-07-14 Marek Polacek <mpolacek@redhat.com>
41748
41749 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41750 * elf/dl-fini.c (_dl_fini): Adjust caller.
41751 * elf/dl-close.c (_dl_close_worker): Likewise.
41752 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41753
b902330c
MP
417542011-07-15 Marek Polacek <mpolacek@redhat.com>
41755
8991e135
MP
41756 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41757 "aux_cache->nlibs < 0".
41758
b902330c
MP
41759 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41760 in the reload-count case.
41761
99710781
LD
417622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41763
41764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41765 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41766 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41767 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41768 * sysdeps/x86_64/multiarch/strcat.S: New file.
41769 * sysdeps/x86_64/multiarch/strncat.S: New file.
41770 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41771 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41772 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41773 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41774 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41775 (USE_AS_STRCAT): Define.
41776 Add strcat and strncat support.
41777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41778 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41779 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41780 * string/strncat.c: Update.
41781 (USE_AS_STRNCAT): Define.
41782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41783 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41784 and i7.
41785 * sysdeps/x86_64/multiarch/init-arch.h
41786 (bit_Prefer_PMINUB_for_stringop): New.
41787 (index_Prefer_PMINUB_for_stringop): Likewise.
41788 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41789 bit_Prefer_PMINUB_for_stringop.
41790
7dc6bd90
UD
417912011-07-19 Ulrich Drepper <drepper@gmail.com>
41792
41793 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41794 buffer64.
41795 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41796 of casting of buffer.
41797 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41798 buffer32 and buffer64.
41799 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41800 writes instead of casting of buffer.
41801 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41802 buffer32.
41803 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41804 casting of buffer.
41805
e0e72284
AS
418062011-07-19 Andreas Schwab <schwab@redhat.com>
41807
41808 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41809
feb1eb0b
UD
418102011-07-19 Ulrich Drepper <drepper@gmail.com>
41811
41812 * nscd/nscd.c (termination_handler): Don't do anything for a database
41813 if it has not yet been initialized.
41814
298711ff
UD
418152011-07-18 Ulrich Drepper <drepper@gmail.com>
41816
41817 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41818
418192011-07-15 Marek Polacek <mpolacek@redhat.com>
41820
41821 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41822
f9d68389
UD
418232011-07-18 Ulrich Drepper <drepper@gmail.com>
41824
41825 * po/nl.po: Update from translation team.
41826 * po/sv.po: Likewise.
41827
db290cf5
RM
418282011-07-16 Roland McGrath <roland@hack.frob.com>
41829
41830 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41831 now disallowed by GCC.
5c550700 41832
fd5e21c7
RM
41833 * configure.in (use-default-link): Default to yes if a test -shared
41834 link meets our qualifications.
41835 * configure: Regenerated.
41836
5c550700
RM
41837 * config.make.in (output-format): New variable.
41838 * configure.in: Check for ld --print-output-format support.
41839 * configure: Regenerated.
41840 * Makerules ($(common-objpfx)format.lds)
41841 [$(output-format) != unknown]: Just use $(output-format),
41842 instead of the linker-script munging.
41843
9fa2c032
RM
418442011-07-14 Roland McGrath <roland@hack.frob.com>
41845
a6928d51
RM
41846 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41847 of $(common-objpfx)shlib.lds.
41848 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41849
661607b3
RM
41850 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41851 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41852
9fa2c032
RM
41853 * configure.in (-z relro check): Adjust test code to add a large
41854 writable data section after it.
41855 * configure: Regenerated.
41856
defe9061
RM
418572011-07-11 Roland McGrath <roland@hack.frob.com>
41858
41859 * configure.in (-z relro check): Fix test code to make the variable
41860 truly const.
41861 * configure: Regenerated.
41862
319b9ad4
UD
418632011-07-11 Ulrich Drepper <drepper@gmail.com>
41864
41865 * nscd/nscd.h (struct traced_file): Define.
41866 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41867 elements. Add traced_files.
41868 (inotify_fd): Declare.
41869 (register_traced_file): Declare.
41870 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41871 (inotify_fd): Export.
41872 (resolv_conf_descr): Remove.
41873 (nscd_init): Move inotify descriptor creation to main.
41874 Don't register files for notification here.
41875 (register_traced_file): New function.
41876 (invalidate_cache): Don't use reset_res to determine whether to call
41877 res_init, go through the list of registered files.
41878 (main_loop_poll): The inotify descriptors are now stored in the
41879 structures for the traced files.
41880 (main_loop_epoll): Likewise
41881 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41882 to __nss_disable_nscd.
41883 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41884 for a database anymore. Check the records for all the registered
41885 files instead.
41886 * nss/Makefile (libnss_files-routines): Add files-init.
41887 (libnss_db-routines): Add db-init.
41888 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41889 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41890 * nss/nss_db/db-init.c: New file.
41891 * nss/nss_files/files-init.c: New file.
41892 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41893 __nss_lookup_function.
41894 (__nss_lookup_function): Call nss_load_library.
41895 (nss_load_all_libraries): New function.
41896 (__nss_disable_nscd): Take parameter with callback function for files
41897 to register. Set is_nscd. Load all the DSOs for the NSS modules
41898 used for the cached services.
41899 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41900 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41901 options for features to all the files in nscd.
41902
41903 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41904
23bee3e8
RM
419052011-07-10 Roland McGrath <roland@hack.frob.com>
41906
41907 * csu/elf-init.c (__libc_csu_init): Comment typo.
41908
46a5b7f0
UD
419092011-07-09 Ulrich Drepper <drepper@gmail.com>
41910
41911 * po/pl.po: Update from translation team.
41912 * po/ja.po: Likewise.
41913 * po/ru.po: Likewise.
41914 * po/ko.po: Likewise.
41915 * po/fr.po: Likewise.
41916
d30cf5bb
RM
419172011-07-09 Roland McGrath <roland@hack.frob.com>
41918
113ddea4
RM
41919 * configure.in (.ctors/.dtors header and trailer check):
41920 Use an empirical test on a built program.
41921 * configure: Regenerated.
41922
574920b4
RM
41923 * configure.in (-z relro check): Use an empirical test on a built DSO.
41924 Detect, but do not require, on ia64.
41925 * configure: Regenerated.
41926
d30cf5bb
RM
41927 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41928 Update tests that use readelf to use $READELF instead.
41929 * configure: Regenerated.
41930
8538fdb3
UD
419312011-07-08 Ulrich Drepper <drepper@gmail.com>
41932
41933 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41934 if the result is not used.
41935
04d08991
AJ
419362011-07-05 Andreas Jaeger <aj@suse.de>
41937
41938 [BZ#9696]
41939 * stdlib/tst-strtod.c: Add testcase.
41940
de283087
AD
419412011-07-07 Ulrich Drepper <drepper@gmail.com>
41942
4e5f31c8 41943 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41944 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41945 The latter has a higher limit. Take additional parameter to pass to
41946 the new function.
41947 (__pathconf): Pass file to __statfs_link_max.
41948 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41949 __statfs_link_max.
41950 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41951 __statfs_link_max.
41952
de283087
AD
41953 [BZ #12868]
41954 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41955 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41956 Handle Lustre.
41957 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41958 (__statfs_filesize_max): Likewise.
41959 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41960
c75fa153
AJ
419612011-07-05 Andreas Jaeger <aj@suse.de>
41962
41963 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41964
1a544854
UD
419652011-07-06 Marek Polacek <mpolacek@redhat.com>
41966
41967 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41968 `status' variable.
41969 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41970 Likewise.
41971
6f0eec67
UD
419722011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41973
41974 * Makefile (strop-tests): Add strncat.
41975 * string/test-strncat.c: New file.
41976
aae30307
UD
419772011-06-30 Marek Polacek <mpolacek@redhat.com>
41978
41979 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41980
c0cfb5eb
UD
419812011-06-21 Andreas Jaeger <aj@suse.de>
41982
41983 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41984 Copy rule from iconvdata/Makefile.
41985
01636b21
UD
419862011-07-06 Ulrich Drepper <drepper@gmail.com>
41987
41988 [BZ #12922]
41989 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41990 but no long options are defined, just return 'W'.
41991
9895c8bc
UD
419922011-06-22 Marek Polacek <mpolacek@redhat.com>
41993
41994 [BZ #9696]
41995 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41996
5d4cf042
UD
419972011-07-06 Ulrich Drepper <drepper@gmail.com>
41998
41999 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42000 netgroups to read.
960e5535 42001 (innetgr): Likewise.
5d4cf042 42002
751eb97e
RM
420032011-07-05 Roland McGrath <roland@hack.frob.com>
42004
42005 * config.make.in (install_root): Default to $(DESTDIR).
42006
f15f1e45
UD
420072011-07-05 Ulrich Drepper <drepper@gmail.com>
42008
42009 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42010
4e34ac6a
RM
420112011-07-02 Roland McGrath <roland@hack.frob.com>
42012
5e9b6af4
RM
42013 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42014
84f9ea0f
RM
42015 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42016 containing directory rather than embedding absolute directory names.
42017
ea5ee9f7
RM
42018 * scripts/check-local-headers.sh: Rewritten using awk.
42019 Match by word, not by line. Print error messages for matches.
42020 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42021
1b74661a
RM
42022 * Makerules [shlib-lds-flags empty]:
42023 ($(common-objpfx)libc_pic.opts): New target.
42024 ($(common-objpfx)libc_pic.os.clean): New target.
42025 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42026
42027 * config.make.in (OBJCOPY): New variable.
42028 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42029 * configure: Regenerated.
42030
f781ef40
RM
42031 * config.make.in (use-default-link): New variable.
42032 * configure.in (use_default_link): Grok --with-default-link to set it.
42033 * configure: Regenerated.
42034 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42035 (shlib-lds, shlib-lds-flags): Define to empty.
42036
2d4fa81e
RM
42037 * Makerules (shlib-lds): New variable.
42038 (shlib-lds-flags): New variable.
42039 (build-shlib, build-moduile, build-module-asneeded): Use it.
42040 ($(common-objpfx)libc.so): Use $(shlib-lds).
42041 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42042 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42043
31fffa6b
RM
42044 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42045 DT_FLAGS/DT_FLAGS_1 with zero flags.
42046
4e34ac6a
RM
42047 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42048 linker script munging.
42049
fcfc776b
UD
420502011-07-02 Ulrich Drepper <drepper@gmail.com>
42051
42052 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42053 as 128-bit value.
42054 * crypt/sha512.c (sha512_process_block): Perform total addition using
42055 128-bit if possible.
42056 (__sha512_finish_ctx): Likewise.
42057 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42058 as 64-bit value.
42059 * crypt/sha256.c (SWAP64): Define.
42060 (sha256_process_block): Perform total addition using 64-bit if
42061 possible.
42062 (__sha256_finish_ctx): Likewise.
42063
99231d9a
UD
420642011-07-01 Ulrich Drepper <drepper@gmail.com>
42065
42066 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42067 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42068 * nscd/hstcache.c (cache_addhst): Likewise.
42069 * nscd/grpcache.c (cache_addgr): Likewise.
42070 * nscd/aicache.c (addhstaiX): Likewise
42071 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42072
445b4a53
TK
420732011-07-01 Thorsten Kukuk <kukuk@suse.de>
42074
42075 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42076 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42077 * nscd/hstcache.c (cache_addhst): Likewise.
42078 * nscd/grpcache.c (cache_addgr): Likewise.
42079 * nscd/aicache.c (addhstaiX): Likewise
42080
6d4d8e8e
AS
420812011-07-01 Andreas Schwab <schwab@redhat.com>
42082
42083 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42084 domain only when needed.
42085
89f654c5
AS
420862011-06-30 Andreas Schwab <schwab@redhat.com>
42087
42088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42089 is always restored.
42090
cf3b23ff
UD
420912011-06-29 Ulrich Drepper <drepper@gmail.com>
42092
42093 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42094 are re-adding the entry.
42095 * nscd/servicescache.c (cache_addserv): Likewise.
42096
751626f9
AJ
420972011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42098
42099 * sysdeps/generic/dl-irel.h: fix protection against multiple
42100 inclusions.
42101 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42102
9113ea1f
UD
421032011-06-28 Ulrich Drepper <drepper@gmail.com>
42104
5c0b8d90
UD
42105 [BZ #12935]
42106 * malloc/memusage.sh: Fix quoting in message.
42107 * debug/xtrace.sh: Likewise.
42108
9113ea1f
UD
42109 * configure.in: Remove support for --experimental-malloc option, make
42110 it the default.
42111 * config.make.in: Likewise.
42112 * malloc/Makefile: Likewise.
42113
a4172181
AS
421142011-06-27 Andreas Schwab <schwab@redhat.com>
42115
42116 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42117 two-byte characters.
42118
78a7eee7
RM
421192011-06-27 Roland McGrath <roland@hack.frob.com>
42120
62bede13
RM
42121 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42122 AC_CACHE_CHECK invocation.
42123 * configure: Regenerated.
42124
78a7eee7
RM
42125 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42126
5ce33a62
UD
421272011-06-27 Ulrich Drepper <drepper@gmail.com>
42128
034807a9
UD
42129 [BZ #12350]
42130 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42131 bit from old_res_options.
42132
4902da17
UD
42133 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42134
5ce33a62
UD
42135 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42136 value type for setfct.
42137
c2344f56
L
421382011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42139
42140 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42141 __gettimeofday instead of gettimeofday.
42142
68468076
UD
421432011-06-26 Ulrich Drepper <drepper@gmail.com>
42144
42145 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42146
acb0d739
L
421472011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42148
42149 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42150
42151 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42152 info.
42153
8912479f
L
421542011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42155
42156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42157 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42158 strcpy-sse2-unaligned strncpy-sse2-unaligned
42159 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42160 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42161 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42162 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42163 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42164 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42165 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42166 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42167 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42168 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42169 (STRCPY): Support SSE2 and SSSE3 versions.
42170
d5495a11
UD
421712011-06-24 Ulrich Drepper <drepper@gmail.com>
42172
42173 [BZ #12874]
42174 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42175 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42176 kernels which artificially limit size of requests.
42177
0b1cbaae
L
421782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42179
42180 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42181 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42182 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42183 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42184 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42185 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42186 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42187 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42188 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42189 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42190 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42191 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42192 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42193 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42194 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42196 Enable unaligned load optimization for Intel Core i3, i5 and i7
42197 processors.
42198 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42199 Define.
42200 (index_Fast_Unaligned_Load): Define.
42201 (HAS_FAST_UNALIGNED_LOAD): Define.
42202
07f494a0
MP
422032011-06-23 Marek Polacek <mpolacek@redhat.com>
42204
42205 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42206
fa3fc0fe
UD
422072011-06-22 Ulrich Drepper <drepper@gmail.com>
42208
42209 [BZ #12907]
42210 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42211 until it is clear that the information is realy needed.
42212 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42213
e12df166
AS
422142011-06-22 Andreas Schwab <schwab@redhat.com>
42215
42216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42217
852eb34d
UD
422182011-06-22 Ulrich Drepper <drepper@gmail.com>
42219
84e2a551
UD
42220 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42221 /sys/devices/system/cpu/online if it is usable.
42222
852eb34d
UD
42223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42224 reading the information from the /proc filesystem to once a second.
42225
6e502e19
UD
422262011-06-21 Andreas Jaeger <aj@suse.de>
42227
42228 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42229 NULL after inclusion of kernel headers.
42230
75d39ff2
UD
422312011-06-21 Ulrich Drepper <drepper@gmail.com>
42232
51f9aa6a
UD
42233 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42234 calls to internal_setent.
42235
c0244a9d
UD
42236 [BZ #12885]
42237 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42238 addresses using gethostbyname4_r ignore IPv4 addresses.
42239
c5e3c2ae
UD
42240 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42241 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42242
75d39ff2
UD
42243 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42244
42675c6f
DM
422452011-06-20 David S. Miller <davem@davemloft.net>
42246
42247 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42248 inclusions.
42249 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42250
42251 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42252 (elf_irel): Use it.
42253 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42254 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42255 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42256 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42257 * sysdeps/x86_64/dl-irel.h: Likewise.
42258
42259 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42260 * elf/dl-sym.c: Likewise.
42261
57912a71
UD
422622011-06-15 Ulrich Drepper <drepper@gmail.com>
42263
42264 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42265 need to dereference resplen2.
42266
ee22793d
AS
422672011-06-14 Andreas Schwab <schwab@redhat.com>
42268
42269 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42270
a9e836b0
UD
422712011-06-15 Ulrich Drepper <drepper@gmail.com>
42272
77fb9117
UD
42273 * Makeconfig: Define vardbdir and inst_vardbdir.
42274 * nss/Makefile: Add rules to install db-Makefile.
42275
40c1b22c
UD
42276 * nss/nss_db/db-XXX.c: Cleanup.
42277
9f2da732
UD
42278 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42279 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42280 GLIBC_PRIVATE.
42281 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42282 * nss/makedb.c: Implement -g option to specify that value strings
42283 are generated and should not be added to table iterated over for
42284 get*ent calls.
42285 * nss/nss_db/db-initgroups.c: New file.
42286
82e9a1f7
UD
42287 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42288 interface.
42289
c41af17e
UD
42290 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42291 (internal_getgrouplist): Adjust to name change.
42292 Update use_initgroups_entry if this is not the first call.
42293 * nss/databases.def: Add initgroups entry.
42294
a9e836b0
UD
42295 * nss/makedb.c (compute_tables): Check result of multiple hash table
42296 sizes to minimize maximum chain length.
42297
2666d441
UD
422982011-06-14 Ulrich Drepper <drepper@gmail.com>
42299
42300 * Versions.def: Add entry for libnss_db.
42301 * shlib-versions: Likewise.
42302 * nss/Makefile: Add rules to build libnss_db.
42303 * nss/Versions: Add libnss_db information. Organize libnss_files
42304 entries better.
42305 * nss/db-Makefile: Add gshadow support. Change rules for the new
42306 makedb progra. Some minor improvements to generate smaller files.
42307 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42308 here from...
42309 * nss/makedb.c: ...here.
42310 Improve database format to be smaller and require less memory at
42311 runtime.
42312 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42313 db anymore.
42314 * nss/nss_db/db-netgrp.c: Likewise.
42315 * nss/nss_db/db-open.c: Likewise.
42316 * nss/nss_files/flies-XXX.x: Adjust comments.
42317 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42318 * nss/nss_files/files-grp.c: Likewise.
42319 * nss/nss_files/files-hosts.c: Likewise.
42320 * nss/nss_files/files-network.c: Likewise.
42321 * nss/nss_files/files-proto.c: Likewise.
42322 * nss/nss_files/files-pwd.c: Likewise.
42323 * nss/nss_files/files-rpc.c: Likewise.
42324 * nss/nss_files/files-service.c: Likewise.
42325 * nss/nss_files/files-sgrp.c: Likewise.
42326 * nss/nss_files/files-spwd.c: Likewise.
42327 * nss/nss_db/db-alias.c: Removed.
42328 * nss/nss_db/dummy-db.h: Removed.
42329
9ee76b5a
UD
423302011-06-02 Ulrich Drepper <drepper@gmail.com>
42331
42332 * nss/makedb.c: Rewritten to not use database library.
42333 * nss/Makefile: Update to build new makedb program.
42334
c71ca1f8
AJ
423352011-06-14 Andreas Jaeger <aj@suse.de>
42336
42337 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42338 memset declaration.
42339
3154bfb8
UD
423402011-06-10 Andreas Schwab <schwab@redhat.com>
42341
42342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42343 tmpbuf.
42344
b350afab
RM
423452011-06-10 Roland McGrath <roland@hack.frob.com>
42346
decd4e50
RM
42347 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42348 * elf/Makefile ($(objpfx)ld.so): Likewise.
42349
5615eaf2
RM
42350 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42351 Don't list ld.so twice in dependencies.
42352
42353 * posix/bug-regex31.c: Include <stdlib.h>.
42354
42355 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42356
42357 * nis/nss_compat/compat-spwd.c
42358 (getspent_next_nss_netgr): Remove unused variable.
42359 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42360
42361 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42362 nonmembers" output to use the right array.
42363
42364 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42365
42366 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42367
42368 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42369 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42370 * catgets/gencat.c (read_input_file): Likewise.
42371 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42372
42373 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42374 variable definition inside #if's controlling its use.
42375
42376 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42377
42378 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42379
42380 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42381
42382 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42383 unreachable code.
42384
42385 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42386
b68e08db
RM
42387 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42388 * configure: Regenerated.
42389
b350afab
RM
42390 * Makerules: Revert last change.
42391 * elf/Makefile: Likewise.
42392
28368601
RM
423932011-06-09 Roland McGrath <roland@hack.frob.com>
42394
42395 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42396 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42397 (reloc-link): Likewise.
42398
11988f8f
UD
423992011-06-09 Ulrich Drepper <drepper@gmail.com>
42400
42401 * elf/Makefile: Add rules to build pldd.
42402 * elf/pldd.c: New file.
42403 * elf/pldd-xx.c: New file.
42404
e80fab37
UD
424052011-06-07 Ulrich Drepper <drepper@gmail.com>
42406
42407 * version.h: Update for 2.15 development version.
42408
9b849836
DM
424092011-06-07 David S. Miller <davem@davemloft.net>
42410
42411 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42412 ifuncs.
42413 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42414 elf_machine_lazy_rel): Likewise.
42415 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42416 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42417 elf_machine_lazy_rel): Likewise.
42418 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42419 dl_hwcap via passed in argument.
42420 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42421 Likewise.
42422
5a31b283
AK
424232011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42424
42425 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42426
069e52f8
RM
424272011-06-06 Roland McGrath <roland@hack.frob.com>
42428
42429 [BZ #12849]
42430 * manual/fdl-1.1.texi: New file, verbatim from:
42431 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42432 * manual/lgpl-2.1.texi: New file, verbatim from:
42433 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42434 * manual/Makefile (licenses): New variable, list those new file names.
42435 (texis): Use it.
42436 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42437
42438 * manual/fdl.texi: File removed.
42439 * manual/lesser.texi: File removed.
42440 * manual/libc.texinfo (Copying, Documentation License):
42441 Use new @include file names, put @appendix directive before @include.
42442
f16846a5
JJ
424432011-06-04 Jakub Jelinek <jakub@redhat.com>
42444
42445 [BZ #12841]
42446 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42447 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42448 (mq_open): Add __NTH.
42449
3d29045b
L
424502011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42451
42452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42453 Assume Intel Core i3/i5/i7 processor if AVX is available.
42454
8c297311
UD
424552011-05-31 Ulrich Drepper <drepper@gmail.com>
42456
42457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42458 typo.
42459
c8fc0c91
UD
424602011-05-31 Andreas Schwab <schwab@redhat.com>
42461
42462 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42463 memory. Use alloca_account. Fix memory leak when retrying.
42464
5b27a807
UD
424652011-05-31 Ulrich Drepper <drepper@gmail.com>
42466
356f8bc6
UD
42467 * version.h (RELEASE): Bump for 2.14 release.
42468 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42469
5b27a807
UD
42470 * config.make.in (RANLIB): Remove entry.
42471
01f16ab0
UD
424722011-05-30 Ulrich Drepper <drepper@gmail.com>
42473
41fce8bd
UD
42474 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42475 (libc.pot): Work around missing support for .ksh extension in xgettext.
42476
4769ae77
UD
42477 [BZ #12684]
42478 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42479 if both request failed.
42480 (send_dg): In case of server errors clear resplen or *resplen2.
42481
6b1e7d19
UD
42482 [BZ #12454]
42483 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42484 when there are multiple maps.
42485 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42486 (_dl_fini): Remove test here.
42487
01f16ab0
UD
42488 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42489
b1ebd700
UD
424902011-05-29 Ulrich Drepper <drepper@gmail.com>
42491
7ae22829
UD
42492 [BZ #12350]
42493 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42494 bit from old_res_options.
42495 (gaih_inet): Likewise.
42496
553149f6 42497 [BZ #11099]
18a84741 42498 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
42499 as signed.
42500
652ffab1
UD
42501 * resolv/res_init.c (res_setoptions): Make the code more compact.
42502
16985fd0
UD
42503 [BZ #11558]
42504 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42505 set RES_USEVC.
42506
0464f746
UD
42507 [BZ #11634]
42508 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42509
7d17596c
UD
42510 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42511
cf6bbbd7
UD
42512 [BZ #11781]
42513 * malloc/malloc.h: Declare malloc hook variables as volatile.
42514
13f1ab36
UD
42515 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42516 in last patch.
42517
b1ebd700
UD
42518 [BZ #11799]
42519 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 42520 raise in the comment.
80e2212d
UD
42521 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42523 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 42524
ce67228d
UD
425252011-05-28 Ulrich Drepper <drepper@gmail.com>
42526
8887a920
UD
42527 [BZ #12811]
42528 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42529 grow the buffers more if it already has to be sufficient.
42530 (build_wcs_upper_buffer): Likewise.
42531 * posix/regexec.c (check_matching): Likewise.
42532 (clean_state_log_if_needed): Likewise.
42533 (extend_buffers): Don't enlarge buffers beyond size of the input
42534 buffer.
42535 Patches mostly by Emil Wojak <emil@wojak.eu>.
42536 * posix/bug-regex32.c: New file.
42537 * posix/Makefile (tests): Add bug-regex32.
42538
4f031072
UD
42539 * locale/findlocale.c (_nl_find_locale): Return right away if
42540 _nl_explode_name failed.
42541 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42542
d0478f0c
UD
42543 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42544
de81b246
UD
42545 * debug/xtrace.sh: Unify messages.
42546 * malloc/memusage.sh: Likewise.
42547
c738465a
UD
42548 [BZ #12813]
42549 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42550 time symbol from vDSO. Substitute with vsyscall if not available.
42551 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42552 __vdso_time.
42553
f1f929d7
UD
42554 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42555 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42556 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42557 Add sendmmsg and internal_sendmmsg.
42558 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42559 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42560 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42561
ce67228d
UD
42562 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42563 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42564 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42565
e57420c6
UD
425662011-05-27 Ulrich Drepper <drepper@gmail.com>
42567
a8509ca5
UD
42568 [BZ #12813]
42569 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42570 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42571 available.
42572 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42573 __vdso_getcpu.
42574
e57420c6
UD
42575 [BZ #12814]
42576 * iconvdata/Makefile (tests): Add bug-iconv9.
42577 * iconvdata/bug-iconv9.c: New file.
42578
4d07db15
AS
425792011-05-27 Andreas Schwab <schwab@redhat.com>
42580
42581 [BZ #12814]
42582 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42583
ea486f69
JJ
425842011-05-25 Jakub Jelinek <jakub@redhat.com>
42585
42586 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42587 (struct user_regs_struct): Change intcs field back to cs.
42588
6f038433
UD
425892011-05-25 Ulrich Drepper <drepper@gmail.com>
42590
42591 * po/ja.po: Update from translation team.
42592
67f86a25
UD
425932011-05-23 Ulrich Drepper <drepper@gmail.com>
42594
42595 [BZ #12795]
42596 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42597 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42598
def7fbd6
AS
425992011-05-20 Andreas Schwab <schwab@redhat.com>
42600
42601 * stdlib/longlong.h: Update from GCC.
42602
f50ef8f1
AS
426032011-05-23 Andreas Schwab <schwab@redhat.com>
42604
42605 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42606 parameter name.
42607 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42608 Add parameter name.
42609 (__sysconf): Pass it down.
42610
de7ce8f1
UD
426112011-05-22 Ulrich Drepper <drepper@gmail.com>
42612
f2962a71
UD
42613 [BZ #12671]
42614 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42615 some situations.
42616 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42617 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42618 add in in __libc_use_alloca calls. Adjust callers.
42619 (glob): Use malloc in some situations.
42620
de7ce8f1
UD
42621 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42622 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42623 pltexit.
42624
aec84f53
UD
426252011-05-21 Ulrich Drepper <drepper@gmail.com>
42626
05bb4a68
UD
42627 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42628 and CLOCK_BOOTTIME_ALARM.
42629
7ea72f99
UD
42630 [BZ #12782]
42631 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42632 is returned.
42633
7e4afad5
UD
42634 * string/_strerror.c (__strerror_r): Print negative errors as signed
42635 numbers.
42636
8e211fec
UD
42637 [BZ #12777]
42638 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42639 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42640 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42641
f7d82dc9
UD
42642 * configure.in: Fix typo in redirection and correct removal of test
42643 files in two cases.
42644
cc9e536d
UD
42645 [BZ #12788]
42646 * locale/setlocale.c (new_composite_name): Fix test to check for
42647 identical name of all categories.
42648
aec84f53
UD
42649 [BZ #12792]
42650 * libio/filedoalloc.c (local_isatty): New function.
42651 (_IO_file_doallocate): Use local_isatty.
42652 * stdio-common/perror.c (perror): In case a new stream is used
42653 forward the stream error.
42654 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42655 error flag.
42656
78e64fdc
RT
426572011-05-20 Ulrich Drepper <drepper@gmail.com>
42658
34a9094f
UD
42659 [BZ #11869]
42660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42661 alloca.
42662 * include/alloca.h (extend_alloca_account): Define.
42663
78e64fdc
RT
42664 [BZ #11857]
42665 * posix/regex.h: Fix comments with documentation of user-accessible
42666 fields after compilation and describe correct free'ing of pattern
42667 after re_compile_pattern.
42668 Patch by Reuben Thomas <rrt@sc3d.org>.
42669
457bddfc
RA
426702011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42671
42672 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42673 and -mno-altivec to prevent the compiler from using Altivec and/or
42674 VSX instructions when the corresponding registers are not available.
42675
a4527b51
AS
426762011-05-19 Andreas Schwab <schwab@redhat.com>
42677
42678 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42679
ed690b2f
UD
426802011-05-19 Ulrich Drepper <drepper@gmail.com>
42681
42682 * libio/freopen.c (freopen): Use __dup2, not dup2.
42683 * libio/freopen64.c (freopen64): Likewise.
42684
8db73634
L
426852011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42686
42687 [BZ #12775]
42688 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42689 * math/Makefile (tests): Add test-powl.
42690 (CFLAGS-test-powl.c): Define.
42691 * math/test-powl.c: New file.
42692
0a197a9d
L
426932011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42694
42695 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42696
ee30c380
UD
426972011-05-17 Ulrich Drepper <drepper@gmail.com>
42698
42699 [BZ #11837]
42700 * iconvdata/gb18030.c: Update to GB18020-2005.
42701
6ce75379
UD
427022011-05-16 Ulrich Drepper <drepper@gmail.com>
42703
a4b89fd8
AR
42704 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42705 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42706 Patch by Aharon Robbins <arnold@skeeve.com>.
42707
ea389b12
UD
42708 [BZ #11892]
42709 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42710 on the stack.
42711
68a3f91f
UD
42712 [BZ #11895]
42713 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42714 through underflows.
42715
15cc7dd1
UD
42716 [BZ #12766]
42717 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42718 point to strings before performing equality test for error_one_per_line
42719 mode.
42720
f3799213
UD
42721 [BZ #11697]
42722 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42723
d79a9c94
UD
42724 [BZ #11820]
42725 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42726 (struct user_fpregs_struct): Avoid __uint*_t types.
42727
56e5eb46
UD
42728 [BZ #6420]
42729 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42730 symbol info. Use it instead of calling _dl_addr locally.
42731 (lock_and_info): New function.
42732 (tr_freehook): Call lock_and_info and pass symbol info as additional
42733 parameter to tr_where.
42734 (tr_mallochook): Likewise.
42735 (tr_reallochook): Likewise.
42736 (tr_memalignhook): Likewise.
42737
6ce75379
UD
42738 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42739 used and couldn't be at all thread-safe.
42740
f8a3b5bf
UD
427412011-05-15 Ulrich Drepper <drepper@gmail.com>
42742
94b7cc37
UD
42743 * libio/freopen.c (freopen): Don't close old file descriptor
42744 before the new one is opened. Instead dup the new file descriptor
42745 to the old one after the new stream is created.
42746 * libio/freopen64.c (freopen64): Likewise.
42747 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42748 * libio/fileops.c (_IO_new_file_close_it): Handle new
42749 _IO_FLAGS2_NOCLOSE flag.
42750 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42751 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42752 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42753 _IO_FLAGS2_NOCLOSE flag.
42754 * include/unistd.h: Add hidden_proto for dup3.
42755 Define __have_dup3.
42756 * io/dup3.c: Define hidden symbol.
42757 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42758
bd25564e
UD
42759 [BZ #7101]
42760 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42761 when an incomplete long option is used.
42762 * posix/tst-getopt_long1.c: New file.
42763 * posix/Makefile (tests): Add tst-getopt_long1.
42764
c84cfef4
UD
42765 [BZ #10138]
42766 * scripts/config.guess: Update from autoconf-2.68.
42767 * scripts/config.sub: Likewise.
42768
3b85df27
UD
42769 [BZ #10157]
42770 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42771 tests into ...
42772 (has_cpuclock): ...this. New function.
42773 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42774 macro here based on has_cpuclock code.
42775
15a856b1
UD
42776 [BZ #10149]
42777 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42778 First byte (not low byte) is now always NUL.
42779 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42780
05f399e6
UD
42781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42782 Use non-cancelable interfaces.
42783
10a52685 42784 [BZ #9809]
94ecc67d
UD
42785 * locale/iso-639.def: Add entry for Sorani.
42786
f8a3b5bf
UD
42787 [BZ #11901]
42788 * include/stdlib.h: Move include protection to the right place.
42789 Define abort_msg_s. Declare __abort_msg with it.
42790 * stdlib/abort.c (__abort_msg): Adjust type.
42791 * assert/assert.c (__assert_fail_base): New function. Majority
42792 of code from __assert_fail. Allocate memory for __abort_msg with
42793 mmap.
42794 (__assert_fail): Now call __assert_fail_base.
42795 * assert/assert-perr.c: Remove bulk of implementation. Use
42796 __assert_fail_base.
42797 * include/assert.hL Declare __assert_fail_base.
42798 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42799 mmap.
42800 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42801
1af4e298
UD
428022011-05-14 Ulrich Drepper <drepper@gmail.com>
42803
f8a3b5bf 42804 [BZ #11952]
d26dfc60
MG
42805 [BZ #12453]
42806 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42807 until all modules are registered in the DTV.
42808 * elf/Makefile: Add rules to build and run tst-tls19.
42809 * elf/tst-tls19.c: New file.
42810 * elf/tst-tls19mod1.c: New file.
42811 * elf/tst-tls19mod2.c: New file.
42812 * elf/tst-tls19mod3.c: New file.
42813 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42814
2fc54d6f
UD
42815 [BZ #12083]
42816 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42817 correctly.
42818
98d76b46
UD
42819 [BZ #12601]
42820 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42821 two-byte sequence errors.
42822 * iconvdata/Makefile (tests): Add bug-iconv8.
42823 * iconvdata/bug-iconv8.c: New file.
42824
da3c19ef
UD
42825 [BZ #12626]
42826 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42827 buf2 definition.
42828
ca408c15
UD
42829 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42830
d6f67f7d
UD
42831 [BZ #12432]
42832 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42833 (dummy_getcfa): New function.
42834 (init): Get _Unwind_GetCFA address, use dummy if not found.
42835 (backtrace_helper): In recursion check, also check whether CFA changes.
42836 (__backtrace): Completely initialize arg.
42837
1af4e298 42838 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42839 storing incomplete byte sequence in state object. Avoid testing for
42840 guaranteed too small input if we know there is enough data available.
1af4e298 42841
da62f81b
AS
428422011-05-11 Andreas Schwab <schwab@redhat.com>
42843
42844 * Makeconfig (+link-pie): Indent.
42845 * Rules (binaries-pie): Define if $(have-fpie) and
42846 $(build-shared).
42847 (binaries-shared): Also filter out $(binaries-pie).
42848 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42849 * nscd/Makefile (others-pie): Add nscd.
42850 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42851 ($(objpfx)nscd): Remove command override.
42852 * login/Makefile (others-pie): Add pt_chown.
42853 ($(objpfx)pt_chown): Remove command override.
42854 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42855 remove command overrides.
42856
fcabc0f8
UD
428572011-05-13 Ulrich Drepper <drepper@gmail.com>
42858
20030ae6
UD
42859 * libio/tst_putwc.c: Fix error messages.
42860
fcabc0f8
UD
42861 [BZ #12724]
42862 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42863 currently writing and seek to current position when not.
42864 * libio/Makefile (tests): Add bug-fclose1.
42865 * libio/bug-fclose1.c: New file.
42866
320a5dc0
PB
428672011-05-12 Ulrich Drepper <drepper@gmail.com>
42868
42869 [BZ #12511]
42870 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42871 don't set DF_1_NODELETE here.
42872 (do_lookup_x): When entering new entry test for copy relocation
42873 and if necessary set DF_1_NODELETE flag.
42874 * elf/tst-unique4.cc: New file.
42875 * elf/tst-unique4.h: New file.
42876 * elf/tst-unique4lib.cc: New file.
42877 * elf/Makefile: Add rules to build and run tst-unique4.
42878 Patch by Piotr Bury <pbury@goahead.com>.
42879
22836f52
UD
428802011-05-11 Ulrich Drepper <drepper@gmail.com>
42881
f574184a
UD
42882 [BZ #12052]
42883 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42884
e1fb097f
UD
42885 [BZ #12625]
42886 * misc/mntent_r.c (addmntent): Flush the stream after the output
42887
22836f52
UD
42888 [BZ #12393]
42889 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42890 (is_trusted_path_normalize): Skip initial colon. Append slash
42891 to empty buffer. Duplicate is_trusted_path code but allow
42892 constructed patch to be prefix.
42893 (is_dst): Allow $ORIGIN followed by /.
42894 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42895 Correct testing of result of is_trusted_path_normalize
42896 (decompose_rpath): Fix warning.
42897
7b3b0b2a
UD
428982011-05-10 Ulrich Drepper <drepper@gmail.com>
42899
42900 [BZ #11257]
42901 * grp/initgroups.c (internal_getgrouplist): When we found the service
42902 list through the initgroups entry in nsswitch.conf do not always
42903 continue on a successful lookup. Don't always use the
eac80ce2 42904 __nss_group_database value if it is set.
7b3b0b2a
UD
42905 * nss/nsswitch.conf (initgroups): Change action for successful db
42906 lookup to continue for compatibility.
42907
2a81eaa5
UD
429082011-05-09 Ulrich Drepper <drepper@gmail.com>
42909
be97a69e
UD
42910 [BZ #11532]
42911 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42912 and CP774 modules.
42913 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42914 and CP774 modules.
42915 * iconvdata/tst-tables.sh: Likewise.
42916 * iconvdata/cp770.c: New file.
42917 * iconvdata/cp771.c: New file.
42918 * iconvdata/cp772.c: New file.
42919 * iconvdata/cp773.c: New file.
42920 * iconvdata/cp774.c: New file.
42921 * iconvdata/testdata/CP770: New file.
42922 * iconvdata/testdata/CP770..UTF8: New file.
42923 * iconvdata/testdata/CP771: New file.
42924 * iconvdata/testdata/CP771..UTF8: New file.
42925 * iconvdata/testdata/CP772: New file.
42926 * iconvdata/testdata/CP772..UTF8: New file.
42927 * iconvdata/testdata/CP773: New file.
42928 * iconvdata/testdata/CP773..UTF8: New file.
42929 * iconvdata/testdata/CP774: New file.
42930 * iconvdata/testdata/CP774..UTF8: New file.
42931
42932 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42933 END CHARMAP line.
42934 * iconvdata/gen-8bit-gap.sh: Likewise.
42935 * iconvdata/gen-8bit.sh: Likewise.
42936
c1e9e399
UD
42937 * locale/iso-639.def: Add ary entry.
42938
24c55fb3 42939 [BZ #11258]
96b4b1b0
UD
42940 * locale/C-translit.h.in: Add U20A1 transliteration.
42941
bdc2f971
KB
42942 [BZ #12178]
42943 * locale/iso-639.def: Add wae entry.
42944 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42945
2952b117
UD
42946 [BZ #12545]
42947 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42948 for n.
42949
2a81eaa5
UD
42950 [BZ #12711]
42951 * locale/C-translit.h.in: Add entry for U20B9.
42952 Patch by pravin.d.s@gmail.com.
42953
28377d1b
UD
429542011-05-08 Ulrich Drepper <drepper@gmail.com>
42955
7fb90fb8
UD
42956 [BZ #12713]
42957 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42958 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42959 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42960 in rtld. Use *stat64.
7fb90fb8 42961 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42962 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42963 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42964 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42965 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42966 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42967 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42968 __fstatat64 macros.
7fb90fb8
UD
42969 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42970 * dirent/rewinddir.c: Add libc_hidden_def.
42971 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42972 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42973
28377d1b
UD
42974 * include/dirent.h (__alloc_dir): Add flags parameter.
42975 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42976 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42977 __alloc_dir.
42978 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42979 from fdopendir if O_CLOEXEC is already set.
42980
66bdbaa4
AM
429812011-03-15 Alan Modra <amodra@gmail.com>
42982
42983 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42984 l_tls_firstbyte_offset non-zero. Save padding offset in
42985 l_tls_firstbyte_offset for later use.
42986 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42987 freeing static tls block.
42988
95721191
JN
429892011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42990
42991 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42992 where #ifdef was intended. The intent is to prevent ARG_MAX from
42993 being defined by the kernel headers.
42994
f87dfb1f
UD
429952011-05-07 Ulrich Drepper <drepper@gmail.com>
42996
42997 [BZ #12734]
42998 * resolv/resolv.h: Define RES_NOTLDQUERY.
42999 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43000 no-tld-query and set RES_NOTLDQUERY.
43001 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43002 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43003 modern BIND to search name as TLD unless forbidden.
43004
47c3cd7a
UD
430052011-05-07 Petr Baudis <pasky@suse.cz>
43006 Ulrich Drepper <drepper@gmail.com>
43007
43008 [BZ #12393]
43009 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43010 (is_trusted_path): ...to here.
c1e9ea35 43011 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43012 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43013 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43014
8a35c912
PP
430152011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43016
43017 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43018 __BEGIN/__END_DECLS.
43019
acd41f47
UD
430202011-05-06 Ulrich Drepper <drepper@gmail.com>
43021
43022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43023 NSS_STATUS_NOTFOUND if no record was found.
43024
597df647
AS
430252011-05-05 Andreas Schwab <schwab@redhat.com>
43026
43027 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43028 (headers-not-in-tirpc): Remove rpc/netdb.h
43029 * resolv/netdb.h: Revert last change.
43030
b9af1301
PP
430312011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43032
43033 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43034 circular dependency between libgcc.a and libc.a.
43035
4e34d5f5
AS
430362011-05-05 Andreas Schwab <schwab@redhat.com>
43037
43038 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43039 * nis/Makefile: Don't install rpcsvc/*.
43040 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43041 instead of <rpc/types.h>.
43042 (MAXHOSTNAMELEN): Define.
43043
00ee369c
AS
430442011-05-03 Andreas Schwab <schwab@redhat.com>
43045
43046 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43047
0b592a30
MB
430482011-04-28 Maciej Babinski <mbabinski@google.com>
43049
43050 [BZ #12714]
43051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43052 gethostbyname4_r when IPv6 results are possible.
43053
6e04cbbe
UD
430542011-05-02 Ulrich Drepper <drepper@gmail.com>
43055
43056 [BZ #12723]
43057 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43058 _PC_PIPE_BUF handling.
43059
e4ecafe0
BH
430602011-04-30 Bruno Haible <bruno@clisp.org>
43061
43062 [BZ #12717]
43063 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43064 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43065 to 'int'.
43066 * inet/getnameinfo.c (getnameinfo): Likewise.
43067
125ee683
UD
430682011-04-29 Ulrich Drepper <drepper@gmail.com>
43069
43070 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43071 to groups setting in database lookup.
43072 * nss/nsswitch.conf: Add initgroups entry.
43073
b722481a
EB
430742011-04-22 Ulrich Drepper <drepper@gmail.com>
43075
43076 [BZ #12685]
43077 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43078 mode string.
43079 Patch by Eric Blake <eblake@redhat.com>.
43080
4df46dbd
L
430812011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43082
43083 * sunrpc/Makefile (need-export-routines): Add svc_run.
43084 (routines): Remove svc_run.
43085 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43086 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43087 * sunrpc/svc_run.c (svc_run): Likewise.
43088 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43089
e84142d2
UD
430902011-04-21 Ulrich Drepper <drepper@gmail.com>
43091
43092 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43093 problem in reallocation in last patch.
43094
877175d8
UD
430952011-04-20 Ulrich Drepper <drepper@gmail.com>
43096
43097 * sunrpc/Makefile: Move inclusion of Rules.
43098
ab8eed78
UD
430992011-04-19 Ulrich Drepper <drepper@gmail.com>
43100
43101 * nss/nss_files/files-initgroups.c: New file.
43102 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43103 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43104 _nss_files_initgroups_dyn.
43105
e3d8f584
RS
431062011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43107
43108 * elf/elf.h (R_ARM_IRELATIVE): Define.
43109
af190f45
UD
431102011-04-19 Ulrich Drepper <drepper@gmail.com>
43111
43112 * po/ru.po: Update from translation team.
43113
53cf59ef
UD
431142011-04-17 Ulrich Drepper <drepper@gmail.com>
43115
43116 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43117 dependencies.
43118
4c559bcd
MF
431192011-02-06 Mike Frysinger <vapier@gentoo.org>
43120
43121 [BZ #12653]
43122 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43123 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43124 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43126 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43127
4420675c
AS
431282011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43129
43130 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43131 differing bytes.
43132 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43133 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43134 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43135
75ea32ab
UD
431362011-04-17 Ulrich Drepper <drepper@gmail.com>
43137
43138 [BZ #12420]
43139 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43140 storing it.
43141 * stdlib/bug-getcontext.c: New file.
43142 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43143
27390476
AK
431442011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43145
43146 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43147 instructions into .machine "z9-109".
43148 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43149 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43150
10442705
AK
431512011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43152
43153 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43154 between environment variables and auxiliary vector.
43155
7b57bfe5
UD
431562011-04-16 Ulrich Drepper <drepper@gmail.com>
43157
43158 * Makefile: Add rules to build linkobj/libc.so.
43159 * include/libc-symbols.h: Define libc_hidden_nolink.
43160 * include/rpc/auth.h: Mark functions which are to be hidden.
43161 * include/rpc/auth_des.h: Likewise.
43162 * include/rpc/auth_unix.h: Likewise.
43163 * include/rpc/clnt.h: Likewise.
43164 * include/rpc/des_crypt.h: Likewise.
43165 * include/rpc/key_prot.h: Likewise.
43166 * include/rpc/pmap_clnt.h: Likewise.
43167 * include/rpc/pmap_prot.h: Likewise.
43168 * include/rpc/pmap_rmt.h: Likewise.
43169 * include/rpc/rpc_msg.h: Likewise.
43170 * include/rpc/svc.h: Likewise.
43171 * include/rpc/svc_auth.h: Likewise.
43172 * include/rpc/xdr.h: Likewise.
43173 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43174 * nss/Makefile: Likewise.
43175 * sunrpc/Makefile: Don't install headers. Build library with normal
43176 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43177 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43178 for the compat linking library. Remove use of INTDEF/INTUSE.
43179 * sunrpc/auth_none.c: Likewise.
43180 * sunrpc/auth_unix.c: Likewise.
43181 * sunrpc/authdes_prot.c: Likewise.
43182 * sunrpc/authuxprot.c: Likewise.
43183 * sunrpc/clnt_gen.c: Likewise.
43184 * sunrpc/clnt_perr.c: Likewise.
43185 * sunrpc/clnt_raw.c: Likewise.
43186 * sunrpc/clnt_simp.c: Likewise.
43187 * sunrpc/clnt_tcp.c: Likewise.
43188 * sunrpc/clnt_udp.c: Likewise.
43189 * sunrpc/clnt_unix.c: Likewise.
43190 * sunrpc/des_crypt.c: Likewise.
43191 * sunrpc/des_soft.c: Likewise.
43192 * sunrpc/get_myaddr.c: Likewise.
43193 * sunrpc/key_call.c: Likewise.
43194 * sunrpc/key_prot.c: Likewise.
43195 * sunrpc/netname.c: Likewise.
43196 * sunrpc/pm_getmaps.c: Likewise.
43197 * sunrpc/pm_getport.c: Likewise.
43198 * sunrpc/pmap_clnt.c: Likewise.
43199 * sunrpc/pmap_prot.c: Likewise.
43200 * sunrpc/pmap_prot2.c: Likewise.
43201 * sunrpc/pmap_rmt.c: Likewise.
43202 * sunrpc/publickey.c: Likewise.
43203 * sunrpc/rpc_cmsg.c: Likewise.
43204 * sunrpc/rpc_common.c: Likewise.
43205 * sunrpc/rpc_dtable.c: Likewise.
43206 * sunrpc/rpc_prot.c: Likewise.
43207 * sunrpc/rpc_thread.c: Likewise.
43208 * sunrpc/rtime.c: Likewise.
43209 * sunrpc/svc.c: Likewise.
43210 * sunrpc/svc_auth.c: Likewise.
43211 * sunrpc/svc_authux.c: Likewise.
43212 * sunrpc/svc_raw.c: Likewise.
43213 * sunrpc/svc_run.c: Likewise.
43214 * sunrpc/svc_simple.c: Likewise.
43215 * sunrpc/svc_tcp.c: Likewise.
43216 * sunrpc/svc_udp.c: Likewise.
43217 * sunrpc/svc_unix.c: Likewise.
43218 * sunrpc/svcauth_des.c: Likewise.
43219 * sunrpc/xcrypt.c: Likewise.
43220 * sunrpc/xdr.c: Likewise.
43221 * sunrpc/xdr_array.c: Likewise.
43222 * sunrpc/xdr_float.c: Likewise.
43223 * sunrpc/xdr_intXX_t.c: Likewise.
43224 * sunrpc/xdr_mem.c: Likewise.
43225 * sunrpc/xdr_rec.c: Likewise.
43226 * sunrpc/xdr_ref.c: Likewise.
43227 * sunrpc/xdr_sizeof.c: Likewise.
43228 * sunrpc/xdr_stdio.c: Likewise.
43229
e6c61494
UD
432302011-04-10 Ulrich Drepper <drepper@gmail.com>
43231
43232 [BZ #12650]
43233 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43234 * sysdeps/ia64/dl-tls.h: Likewise.
43235 * sysdeps/powerpc/dl-tls.h: Likewise.
43236 * sysdeps/s390/dl-tls.h: Likewise.
43237 * sysdeps/sh/dl-tls.h: Likewise.
43238 * sysdeps/sparc/dl-tls.h: Likewise.
43239 * sysdeps/x86_64/dl-tls.h: Likewise.
43240 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43241
34fe483e
AS
432422011-03-14 Andreas Schwab <schwab@redhat.com>
43243
43244 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43245 rpath element also skip the following colon.
43246 (expand_dynamic_string_token): Add is_path parameter and pass
43247 down to DL_DST_REQUIRED and _dl_dst_substitute.
43248 (decompose_rpath): Call expand_dynamic_string_token with
43249 non-zero is_path. Ignore empty rpaths.
43250 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43251 with zero is_path.
43252
f12a32e6
AS
432532011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43254
43255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43256 Make cancelable.
43257
38a7d692
UD
432582011-04-09 Ulrich Drepper <drepper@gmail.com>
43259
43260 [BZ #12655]
43261 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43262 Patch by Filipe David Manana <fdmanana@apache.org>.
43263
e451d22b
AS
432642011-04-07 Andreas Schwab <schwab@redhat.com>
43265
43266 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43267 Maintain aligned stack.
43268 (CHECK_RSP): Remove unused macro.
43269
dedc7c7b
UD
432702011-04-03 Ulrich Drepper <drepper@gmail.com>
43271
43272 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43273 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43274
94521213
UD
432752011-04-02 Ulrich Drepper <drepper@gmail.com>
43276
43277 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43278
8cb700c0 43279 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 43280
0354e355
L
432812011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43282
43283 [BZ #12518]
43284 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43285 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43286 * sysdeps/x86_64/memmove.c: New file.
43287 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43288 (memcpy): Renamed to ...
43289 (__new_memcpy): This.
43290 (memcpy): Provide GLIBC_2_14 memcpy.
43291 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43292 (memcpy): Provide GLIBC_2_2_5 memcpy.
43293
8593482f
UD
432942011-04-01 Ulrich Drepper <drepper@gmail.com>
43295
43296 [BZ #12631]
43297 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43298
81a5726b
AS
432992011-03-30 Andreas Schwab <schwab@redhat.com>
43300
43301 * misc/syncfs.c: New file.
43302 * misc/Makefile (routines): Add syncfs.
43303 * posix/unistd.h: Declare syncfs.
43304 * sysdeps/unix/syscalls.list: Add syncfs.
43305
00e5419f
AS
433062011-04-01 Andreas Schwab <schwab@redhat.com>
43307
43308 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43309 open_by_handle_at.
43310 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43311 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43313 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43315 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43316 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43317
748876bf
UD
433182011-04-01 Ulrich Drepper <drepper@gmail.com>
43319
658e451d
UD
43320 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43321 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43322 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43324 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43325 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43326 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43327
748876bf
UD
43328 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43329 sync_file_range.c with -fexceptions.
43330 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43331 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43332 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43333 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43334 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43335 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43336 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
43337 sync_file_range as cancellation point
43338 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43339 now a wrapper around __call_sync_file_range with cancellation handling.
43340 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43341 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43342 function name to __call_sync_file_range.
43343 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43344 Add call_sync_file_range.
748876bf 43345
6e63d5e1
AS
433462011-04-01 Andreas Schwab <schwab@redhat.com>
43347
43348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 43349 bits/timex.h.
6e63d5e1 43350
46998f74
UD
433512011-04-01 Ulrich Drepper <drepper@gmail.com>
43352
4c1423ed
UD
43353 * iconv/iconv.h: Fix typo in comment.
43354 * io/fcntl.h: Likewise.
43355 * libio/stdio.h: Likewise.
43356 * posix/spawn.h: Likewise.
43357 * posix/unistd.h: Likewise.
43358 * stdlib/stdlib.h: Likewise.
43359 * time/time.h: Likewise.
43360 * wcsmbs/wchar.h: Likewise.
43361
158648c0
UD
43362 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43363 open_by_handle): Add.
43364 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43365 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43366 Augment a few comments.
43367 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43369 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43372 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43373 open_by_handle.
43374
46998f74
UD
43375 * io/fcntl.h (AT_EMPTY_PATH): Define.
43376
83fe108b
UD
433772011-03-30 Ulrich Drepper <drepper@gmail.com>
43378
43379 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43380 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43381 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43382 to...
43383 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
43384 * Versions.def: Add GLIBC_2.14.
43385 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43386 Export.
83fe108b 43387
bb242059
UD
433882011-03-22 Ulrich Drepper <drepper@gmail.com>
43389
43390 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43391 round counter.
43392 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43393
c97a1282
L
433942011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43395
43396 [BZ #12597]
43397 * string/test-strncmp.c (do_page_test): New function.
43398 (check2): Likewise.
43399 (test_main): Call check2.
43400 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43401
2a115601
UD
434022011-03-20 Ulrich Drepper <drepper@gmail.com>
43403
43404 [BZ #12587]
43405 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43406 Handle cache information in CPU leaf 4.
43407 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43408
8126d904
UD
434092011-03-18 Ulrich Drepper <drepper@gmail.com>
43410
042c49c6 43411 [BZ #12583]
8126d904
UD
43412 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43413 character representation.
43414 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43415
ccfe366e
RA
434162011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43417
43418 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43419 END(__isnan) to END(__isnanf) to match function entry point/label
43420 EALIGN(__isnanf,...).
43421
c6e13027
JJ
434222011-03-10 Jakub Jelinek <jakub@redhat.com>
43423
43424 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43425
33f85a3f
UD
434262011-03-10 Ulrich Drepper <drepper@gmail.com>
43427
028478fa
UD
43428 [BZ #12510]
43429 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43430 copy from the symbol referenced in the relocation to initialize the
43431 used variable.
43432 Patch by Piotr Bury <pbury@goahead.com>.
43433 * elf/Makefile: Add rules to build and tst-unique3.
43434 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43435 * elf/tst-unique3.cc: New file.
43436 * elf/tst-unique3.h: New file.
43437 * elf/tst-unique3lib.cc: New file.
43438 * elf/tst-unique3lib2.cc: New file.
43439
33f85a3f
UD
43440 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43441
03592fc7
MF
434422011-03-10 Mike Frysinger <vapier@gentoo.org>
43443
43444 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43445 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43446 to _start.
03592fc7 43447
6a5ee102
UD
434482011-03-06 Ulrich Drepper <drepper@gmail.com>
43449
43450 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43451 to-be-loaded object along a path to loader is ld.so.
43452
7e4ba49c
HJ
434532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43454 Ulrich Drepper <drepper@gmail.com>
43455
43456 * sysdeps/x86_64/memset.S: After aligning destination, code
43457 branches to different locations depending on the value of
43458 misalignment, when multiarch is enabled. Fix this.
43459
434602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43461
43462 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43463 Set _x86_64_preferred_memory_instruction for AMD processsors.
43464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43465 Set bit_Prefer_SSE_for_memop for AMD processors.
43466
13a804de
UD
434672011-03-04 Ulrich Drepper <drepper@gmail.com>
43468
43469 * libio/fmemopen.c (fmemopen): Optimize a bit.
43470
9d25c392
AS
434712011-03-03 Andreas Schwab <schwab@redhat.com>
43472
43473 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43474
a5543c6a
RM
434752011-03-03 Roland McGrath <roland@redhat.com>
43476
43477 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43478
012d35f7
DM
434792011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43480
7e4ba49c 43481 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43482 __bzero_ultra1 instead of __memset_ultra1.
43483
4bff6e01
AS
434842011-02-23 Andreas Schwab <schwab@redhat.com>
43485 Ulrich Drepper <drepper@gmail.com>
43486
43487 [BZ #12509]
43488 * include/link.h (struct link_map): Add l_orig_initfini.
43489 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43490 returning unsuccessfully.
43491 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43492 close of a file loaded at startup, restore the original l_initfini
43493 list.
43494 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43495 list, store the pointer.
43496 * elf/Makefile ($(objpfx)noload-mem): New rule.
43497 (noload-ENV): Define.
43498 (tests): Add $(objpfx)noload-mem.
43499 * elf/noload.c: Include <memcheck.h>.
43500 (main): Call mtrace. Close all opened handles.
43501
f2092faf
AS
435022011-02-17 Andreas Schwab <schwab@redhat.com>
43503
43504 [BZ #12454]
43505 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43506 dependencies are missing.
43507
6c8a2e88
ST
435082011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43509
f2092faf 43510 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
43511 Hurd needs munmap.
43512 * sysdeps/mach/hurd/ifreq.h: New file.
43513
84a42118
PB
435142011-01-27 Petr Baudis <pasky@suse.cz>
43515 Ulrich Drepper <drepper@gmail.com>
43516
071f805e 43517 [BZ 12445]#
84a42118
PB
43518 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43519 to extend_alloca().
43520 * stdio-common/bug23.c: New file.
43521 * stdio-common/Makefile (tests): Add bug23.
43522
e23fe25b
AS
435232010-09-28 Andreas Schwab <schwab@redhat.com>
43524 Ulrich Drepper <drepper@gmail.com>
43525
43526 [BZ #12489]
43527 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43528 before performing relro protection. At old place add assertion
43529 to make sure nothing changed.
43530
d3f02e10
NS
435312011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43532 Glauber de Oliveira Costa <glommer@gmail.com>
43533
43534 * elf/elf.h: Add new ARM TLS relocs.
43535
d55fd7a5
RA
435362011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43537
43538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43539 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43540 cast from r3.
43541 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43542 'tests' variable.
43543 * sysdeps/wordsize-64/tst-writev.c: New file.
43544
2206397e
RA
435452011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43546
43547 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43548 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43549 insns in _dl_start to prevent a TOC reference before relocs are
43550 resolved.
43551
e9433893
UD
435522011-02-15 Ulrich Drepper <drepper@gmail.com>
43553
43554 [BZ #12469]
43555 * Makeconfig: Remove RANLIB definition.
43556 * Makerules: Don't use RANLIB.
43557 * aclocal.m4: Remove ranlib test.
43558 * configure.in: No need to check for ranlib.
43559 * elf/rtld-Rules: Don't use RANLIB.
43560
f75286c6
ST
435612011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43562
8e31c82d
ST
43563 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43564 protection macro.
43565 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43566 inclusion protection macro.
43567
f75286c6
ST
43568 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43569 SIGRTMIN and SIGRTMAX and print information in that case only when
43570 SIGRTMIN is defined.
43571
c1d0e639
JJ
435722011-02-11 Jakub Jelinek <jakub@redhat.com>
43573
43574 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43575 arginfo fn returning -1.
43576
43577 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43578 and thousands string is zero terminated.
43579
edf9294e
AS
435802011-02-03 Andreas Schwab <schwab@redhat.com>
43581
43582 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43583 sysdeps/unix/sysv/linux/bits/socket.h.
43584
2b7e92df
ST
435852011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43586
edf9294e
AS
43587 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43588 (__CPU_COUNT): Remove old macros.
43589 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43590 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43591 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43592 (__sched_cpualloc, __sched_cpufree): Add declarations.
43593
a4c7ea7b
UD
435942011-02-05 Ulrich Drepper <drepper@gmail.com>
43595
43596 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43597 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43598 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43599 (readdhstai): Return value of addhstaiX call.
43600 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43601 (addgrbyX): Return value returned by cache_addgr.
43602 (readdgrbyname): Return value returned by addgrbyX.
43603 (readdgrbygid): Likewise.
43604 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43605 (addpwbyX): Return value returned by cache_addpw.
43606 (readdpwbyname): Return value returned by addhstbyX.
43607 (readdpwbyuid): Likewise.
43608 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43609 (addservbyX): Return value returned by cache_addserv.
43610 (readdservbyname): Return value returned by addservbyX:
43611 (readdservbyport): Likewise.
43612 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43613 (addhstbyX): Return value returned by cache_addhst.
43614 (readdhstbyname): Return value returned by addhstbyX.
43615 (readdhstbyaddr): Likewise.
43616 (readdhstbynamev6): Likewise.
43617 (readdhstbyaddrv6): Likewise.
43618 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43619 (readdinitgroups): Return value returned by addinitgroupsX.
43620 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43621 (prune_cache): Keep track of timeout value of re-added entries.
43622 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43623 * nscd/nscd.h: Adjust prototypes of readd* functions.
43624
a0bf67cc
RM
436252011-02-04 Roland McGrath <roland@redhat.com>
43626
43627 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43628 (nis_stats): Likewise.
43629 * nis/nis_modify.c (nis_modify): Likewise.
43630 * nis/nis_remove.c (nis_remove): Likewise.
43631 * nis/nis_add.c (nis_add): Likewise.
43632
43633 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43634
43635 * posix/fnmatch_loop.c: Add some consts.
43636
43637 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43638
435b95eb
L
436392011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43640
43641 [BZ #12460]
43642 * config.make.in (config-cflags-novzeroupper): Define.
43643 * configure.in: Substitute libc_cv_cc_novzeroupper.
43644 * elf/Makefile (AVX-CFLAGS): Define.
43645 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43646 (CFLAGS-tst-auditmod4a.c): Likewise.
43647 (CFLAGS-tst-auditmod4b.c): Likewise.
43648 (CFLAGS-tst-auditmod6b.c): Likewise.
43649 (CFLAGS-tst-auditmod6c.c): Likewise.
43650 (CFLAGS-tst-auditmod7b.c): Likewise.
43651 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43652
8517b15e
UD
436532011-02-02 Ulrich Drepper <drepper@gmail.com>
43654
43655 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43656 function to the callback.
43657 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43658
10a656fe
AS
436592011-02-02 Andreas Schwab <schwab@redhat.com>
43660
43661 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43662 of errno.
43663
968dad0a
UD
436642011-01-19 Ulrich Drepper <drepper@gmail.com>
43665
9f94d2ea 43666 [BZ #11724]
968dad0a
UD
43667 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43668 of constructors.
43669 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43670 of destructors.
43671 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43672
43673 [BZ #11724]
43674 * elf/Makefile: Add rules to build and run new test.
43675 * elf/tst-initorder.c: New file.
43676 * elf/tst-initorder.exp: New file.
43677 * elf/tst-initordera1.c: New file.
43678 * elf/tst-initordera2.c: New file.
43679 * elf/tst-initordera3.c: New file.
43680 * elf/tst-initordera4.c: New file.
43681 * elf/tst-initorderb1.c: New file.
43682 * elf/tst-initorderb2.c: New file.
43683 * elf/tst-order-a1.c: New file.
43684 * elf/tst-order-a2.c: New file.
43685 * elf/tst-order-a3.c: New file.
43686 * elf/tst-order-a4.c: New file.
43687 * elf/tst-order-b1.c: New file.
43688 * elf/tst-order-b2.c: New file.
43689 * elf/tst-order-main.c: New file.
43690 New test case by George Gensure <werkt0@gmail.com>.
43691
86e92359
UD
436922010-10-01 Andreas Schwab <schwab@redhat.com>
43693
43694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43695 decoding ACE if AI_CANONIDN.
43696
5d5732b0
UD
436972011-01-18 Ulrich Drepper <drepper@gmail.com>
43698
43699 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43700
a77e8cbc
UD
437012011-01-17 Ulrich Drepper <drepper@gmail.com>
43702
6392473f
UD
43703 * version.h (RELEASE): Bump for 2.13 release.
43704 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43705
620a0529
UD
43706 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43707
18ba70a5
UD
43708 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43709 MADV_NOHUGEPAGE.
32465c3e
UD
43710 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43711 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43712 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43713 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43714 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43715 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43716
c0dafcf1
UD
43717 * posix/getconf.c: Update copyright year.
43718 * catgets/gencat.c: Likewise.
43719 * csu/version.c: Likewise.
43720 * debug/catchsegv.sh: Likewise.
43721 * debug/xtrace.sh: Likewise.
43722 * elf/ldconfig.c: Likewise.
43723 * elf/ldd.bash.in: Likewise.
43724 * elf/sprof.c (print_version): Likewise.
43725 * iconv/iconv_prog.c: Likewise.
43726 * iconv/iconvconfig.c: Likewise.
43727 * locale/programs/locale.c: Likewise.
43728 * locale/programs/localedef.c: Likewise.
43729 * malloc/memusage.sh: Likewise.
43730 * malloc/mtrace.pl: Likewise.
43731 * nscd/nscd.c (print_version): Likewise.
43732 * nss/getent.c: Likewise.
43733
a77e8cbc
UD
43734 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43735 PF_CAIF, and PF_ALG.
43736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43737
77e8bddf
AS
437382011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43739
1f20b93a
AS
43740 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43741 (modules-names): Use them.
43742 (ifunc-test-modules, ifunc-pie-tests): Define.
43743 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43744 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43745 (test-extras): Likewise.
43746 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43747 $(compile-command.c).
43748 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43749 (all-built-dso): Define.
43750 (check-textrel.out, check-execstack.out): Depend on it.
43751
77e8bddf
AS
43752 * configure.in: Don't override --enable-multi-arch.
43753
bc425b33
UD
437542011-01-15 Ulrich Drepper <drepper@gmail.com>
43755
43756 [BZ #6812]
43757 * nscd/hstcache.c (tryagain): Define.
43758 (cache_addhst): Return tryagain not notfound for temporary errors.
43759 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43760 failed.
43761
794c3ad3
UD
437622011-01-14 Ulrich Drepper <drepper@gmail.com>
43763
70181fdd
UD
43764 [BZ #10563]
43765 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43766 to make the syscall.
43767 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43768
794c3ad3
UD
43769 [BZ #12378]
43770 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43771 and fall back to matching as normal character if the string ends before
43772 the matching ']' is found. This is what POSIX requires.
43773 * posix/testfnm.c: Adjust test result.
43774 * posix/globtest.sh: Adjust test result. Add new test.
43775 * posix/tst-fnmatch.input: Likewise.
43776 * posix/tst-fnmatch2.c: Add new test.
43777
68dc9497
AS
437782010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43779
43780 * elf/Makefile (check-execstack): Revert last change. Depend on
43781 check-execstack.h.
43782 (check-execstack.h): New target.
43783 (generated): Add check-execstack.h.
43784 * elf/check-execstack.c: Include "check-execstack.h".
43785 (main): Revert last change.
43786 (handle_file): Return zero if GNU_STACK is absent and
43787 DEFAULT_STACK_PERMS doesn't include PF_X.
43788
451f001b
UD
437892011-01-13 Ulrich Drepper <drepper@gmail.com>
43790
cfa28e56
UD
43791 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43792 in child fails because the descriptor is already closed.
8cf8ce17
UD
43793 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43794 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43795 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43796
1086d70d
UD
43797 [BZ #12397]
43798 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43799 syscall.
43800
451f001b
UD
43801 [BZ #10484]
43802 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43803 temporary buffer used to handle multi lookups locally.
a85b5cb4 43804 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43805
08769175
UD
438062011-01-12 Ulrich Drepper <drepper@gmail.com>
43807
43808 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43809 loader is ld.so.
43810
5e49c52e
UD
438112011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43812
43813 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43814 alignment for SSE2.
43815
60522a5f
UD
438162011-01-12 Ulrich Drepper <drepper@gmail.com>
43817
43818 [BZ #12394]
43819 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43820 characters. When rounding increased number of integer digits recompute
43821 number of groups.
43822 * stdio-common/tst-grouping.c: New file.
43823 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43824
f257bbd7
UD
438252011-01-09 Ulrich Drepper <drepper@gmail.com>
43826
43827 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43828 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43829
43830 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43831 void.
43832 * bits/select.h: Likewise.
43833
fa9c15cb
UD
438342011-01-08 Ulrich Drepper <drepper@gmail.com>
43835
43836 * po/ja.po: Update from translation team.
43837
16c2895f
DM
438382011-01-04 David S. Miller <davem@sunset.davemloft.net>
43839
43840 [BZ #11155]
43841 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43842 implementation just like for lxstat, fxstatat, et al.
43843
2543fef2
JM
438442010-12-27 Jim Meyering <meyering@redhat.com>
43845
43846 [BZ #12348]
43847 * posix/regexec.c (build_trtable): Return failure indication upon
43848 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43849
98727dbe
UD
438502010-12-25 Ulrich Drepper <drepper@gmail.com>
43851
5bd6dc5c
UD
43852 [BZ #12201]
43853 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43854 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43855 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43856 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43857
97983464
UD
43858 [BZ #12207]
43859 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43860
98727dbe
UD
43861 [BZ #12204]
43862 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43863 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43864
4a531bb0
L
438652010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43866
43867 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43868 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43869 script has SORT_BY_INIT_PRIORITY.
43870 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43871 NO_CTORS_DTORS_SECTIONS is defined.
43872 * elf/soinit.c: Likewise.
43873 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43874 NO_CTORS_DTORS_SECTIONS is defined.
43875 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43876 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43877 * sysdeps/sh/init-first.c: Likewise.
43878 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43879
07eb4b71
UD
438802010-12-24 Ulrich Drepper <drepper@gmail.com>
43881
43882 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43883 always use the slow path.
43884
30950a5f
RA
438852010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43886
43887 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43888 similar rule which adds the sysdep directories to the header search in
43889 order to pick up the correct platform stackinfo.h.
43890 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43891 perform test if it is, otherwise return successfully without testing.
43892 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43893 DEFAULT_STACK_PERMS define in stackinfo.h.
43894 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43895 defined in stackinfo.h.
43896 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43897 DEFAULT_STACK_PERMS defined in stackinfo.h.
43898 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43899 * sysdeps/ia64/stackinfo.h: Likewise.
43900 * sysdeps/s390/stackinfo.h: Likewise.
43901 * sysdeps/sh/stackinfo.h: Likewise.
43902 * sysdeps/sparc/stackinfo.h: Likewise.
43903 * sysdeps/x86_64/stackinfo.h: Likewise.
43904 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43905 PF_X for powerpc64. Retain PF_X for powerpc32.
43906
db753e2c
UD
439072010-12-19 Ulrich Drepper <drepper@gmail.com>
43908
14b697f7
UD
43909 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43910 accurately.
db753e2c
UD
43911 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43912 GETDENTS_64BIT_ALIGNED.
43913
28300719
UD
439142010-12-14 Ulrich Drepper <dreper@gmail.com>
43915
14b697f7 43916 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43917
4f197237
AS
439182010-12-10 Andreas Schwab <schwab@redhat.com>
43919
dbb0472f
AS
43920 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43921 _GNU_SOURCE.
43922
4f197237
AS
43923 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43924 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43925 Remove __restrict.
43926 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43927 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43928
fb88ac72
UD
439292010-12-09 Ulrich Drepper <drepper@gmail.com>
43930
43931 [BZ #11655]
43932 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43933 are initialized.
43934
42acbb92
JJ
439352010-12-09 Jakub Jelinek <jakub@redhat.com>
43936
43937 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43938
c038d98d
UD
439392010-12-03 Ulrich Drepper <drepper@gmail.com>
43940
43941 * po/it.po: Update from translation team.
43942
3a4a2499
L
439432010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43944
43945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43946 unused codes.
43947
1e24cf6e
UD
439482010-11-30 Ulrich Drepper <drepper@gmail.com>
43949
43950 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43951
a7690819
AS
439522010-11-24 Andreas Schwab <schwab@redhat.com>
43953
43954 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43955 specially.
43956 (gaih_getanswer_slice): Likewise.
43957
3bf8d1b1
JJ
439582010-10-20 Jakub Jelinek <jakub@redhat.com>
43959
43960 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43961
6db52fbb
PB
439622010-05-31 Petr Baudis <pasky@suse.cz>
43963
43964 [BZ #11149]
43965 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43966 silently even in the chroot mode.
43967
eaca7569
UD
439682010-11-22 Ulrich Drepper <drepper@gmail.com>
43969
43970 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43971 last patch a bit. Pretty printing
43972
3056dcdb
UD
439732010-05-31 Petr Baudis <pasky@suse.cz>
43974
43975 [BZ #10085]
43976 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43977 initialization of skip_initgroups_dyn.
43978
cf7c9078
UD
439792010-11-19 Ulrich Drepper <drepper@gmail.com>
43980
43981 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43982 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43983
a1fb5e3e
UD
439842010-11-16 Ulrich Drepper <drepper@gmail.com>
43985
43986 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43987
3540d66b
AS
439882010-11-11 Andreas Schwab <schwab@redhat.com>
43989
43990 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43991 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43992 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43993 ($(objpfx)tst-fnmatch-mem): New rule.
43994 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43995 * posix/tst-fnmatch.c (main): Call mtrace.
43996
13b69574
L
439972010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43998
43999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44000 Support Intel processor model 6 and model 0x2c.
44001
da93d214
LM
440022010-11-10 Luis Machado <luisgpm@br.ibm.com>
44003
44004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44005 signed comparison.
44006
8ca52c6e
L
440072010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44008
44009 [BZ #12205]
44010 * string/test-strncasecmp.c (check_result): New function.
44011 (do_one_test): Use it.
44012 (check1): New function.
44013 (test_main): Use it.
44014 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44015 Support strcasecmp and strncasecmp.
44016
69da074d
UD
440172010-11-08 Ulrich Drepper <drepper@gmail.com>
44018
44019 [BZ #12194]
44020 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44022
ff02d528
L
440232010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44024
44025 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44026 IFUNC support.
44027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44028 memset-x86-64.
44029 * sysdeps/x86_64/multiarch/bzero.S: New file.
44030 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44031 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44032 * sysdeps/x86_64/multiarch/memset.S: New file.
44033 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44035 Set bit_Prefer_SSE_for_memop for Intel processors.
44036 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44037 Define.
44038 (index_Prefer_SSE_for_memop): Define.
44039 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44040
344d0b54
LM
440412010-11-04 Luis Machado <luisgpm@br.ibm.com>
44042
44043 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44044 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44045
c0dde15b
UD
440462010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44047
44048 [BZ #12191]
44049 * sysdeps/i386/i686/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
44054 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44055 (__x86_64_raw_data_cache_size_half): Likewise.
44056 (__x86_64_raw_shared_cache_size): Likewise.
44057 (__x86_64_raw_shared_cache_size_half): Likewise.
44058 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44059 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44060 and __x86_64_raw_shared_cache_size_half. Round
44061 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44062 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44063 to multiple of 256 bytes.
44064
0e516e0e
MS
440652010-11-03 Ulrich Drepper <drepper@gmail.com>
44066
44067 [BZ #12167]
44068 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44069 of inacessible symlinks. Verify result of symlink before returning it.
44070 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44071 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44072
0e012e87
ER
440732010-10-28 Erich Ritz <erichritz@gmail.com>
44074
44075 * math/math.h (isinf): Fix typo in comment.
44076
de0ff7bc
UD
440772010-11-01 Ulrich Drepper <drepper@gmail.com>
44078
44079 * po/da.po: Update from translation team.
44080
fa41c84d
UD
440812010-10-26 Ulrich Drepper <drepper@gmail.com>
44082
44083 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44084 is added to the list.
44085
f0967738
AK
440862010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44087 Ulrich Drepper <drepper@gmail.com>
44088
44089 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44090 the global list here. Move code to...
44091 (_dl_add_to_namespace_list): ...here. New function.
44092 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44093 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44094 * elf/dl-load.c (lose): Don't remove the element from the list.
44095 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44096 (_dl_map_object): Likewise.
44097
440982010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
44099
44100 [BZ #12159]
44101 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44102 into all bytes of SSE register.
44103 Patch by Richard Li <richardpku@gmail.com>.
44104
f0967738 441052010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
44106
44107 [BZ #12140]
44108 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44109 perturbing.
44110
d0b9e94f
MB
441112010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44112
44113 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44114 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44116 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44118 submachine.
44119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44120
8e9f92e9
AS
441212010-10-22 Andreas Schwab <schwab@redhat.com>
44122
44123 * include/dlfcn.h (__RTLD_SECURE): Define.
44124 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44125 mode & __RTLD_SECURE instead.
44126 (open_path): Rename preloaded parameter to secure.
44127 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44128 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44129 * elf/dl-deps.c (openaux): Likewise.
44130 * elf/rtld.c (struct map_args): Remove is_preloaded.
44131 (map_doit): Don't use it.
44132 (dl_main): Likewise.
44133 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44134 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44135
bc96fbda
AS
441362010-09-09 Andreas Schwab <schwab@redhat.com>
44137
44138 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44139 (sysd-rules-targets): Remove duplicates.
44140 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44141 rtld-%.$o dependency.
44142
22cd1c9b
AS
441432010-10-18 Andreas Schwab <schwab@redhat.com>
44144
44145 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44146 _dl_map_object do it.
44147
18edac48
UD
441482010-10-19 Ulrich Drepper <drepper@gmail.com>
44149
44150 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44151 fast fma builtins, define the macros in the C99 standard.
44152 (FP_FAST_FMAF): Likewise.
44153 (FP_FAST_FMAL): Likewise.
44154 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44155
44156 * bits/mathdef.h: Update copyright year.
44157 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44158
d2050124
MM
441592010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44160
44161 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44162 builtins, define the macros in the C99 standard.
44163 (FP_FAST_FMAF): Likewise.
44164 (FP_FAST_FMAL): Likewise.
44165 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44166 multiply/add.
44167 (FP_FAST_FMAF): Likewise.
44168
475facd1
JJ
441692010-10-15 Jakub Jelinek <jakub@redhat.com>
44170
44171 [BZ #3268]
44172 * math/libm-test.inc (fma_test): Some new testcases.
44173 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44174 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44175 y and infinite z. Do multiplication by C already in long double.
44176 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44178 y and infinite z. Do bitwise or of inexact bit into u.d.
44179 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44180 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44181 * sysdeps/i386/fpu/s_fma.S: Removed.
44182 * sysdeps/i386/fpu/s_fmal.S: Removed.
44183
7c08a05c
JJ
441842010-10-16 Jakub Jelinek <jakub@redhat.com>
44185
44186 [BZ #3268]
44187 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44189 computation is not scheduled after fetestexcept. Fix value
44190 of minimum denormal long double.
44191
f3f7372d
JJ
441922010-10-14 Jakub Jelinek <jakub@redhat.com>
44193
44194 [BZ #3268]
44195 * math/libm-test.inc (fma_test): Add some more tests.
44196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44197 correctly.
44198
14d43591
AS
441992010-10-15 Andreas Schwab <schwab@redhat.com>
44200
44201 * scripts/data/localplt-s390-linux-gnu.data: New file.
44202 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44203
5e908464
JJ
442042010-10-13 Jakub Jelinek <jakub@redhat.com>
44205
44206 [BZ #3268]
44207 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44208 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44209 instead of dbl-64.
44210 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44211 inlines.
44212 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44214 if one of x and y is very large and the other is subnormal.
44215 * sysdeps/s390/fpu/s_fmaf.c: New file.
44216 * sysdeps/s390/fpu/s_fma.c: New file.
44217 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44218 * sysdeps/powerpc/fpu/s_fma.S: New file.
44219 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44220 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44221 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44222
442232010-10-12 Jakub Jelinek <jakub@redhat.com>
44224
44225 [BZ #3268]
44226 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44227 fma tests.
44228 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44229 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44230 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44231 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44232 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44233 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44234 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44235
b833d51f
UD
442362010-10-12 Ulrich Drepper <drepper@redhat.com>
44237
44238 [BZ #12078]
44239 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44240 * posix/bug-regex31.input: Add test case.
44241
1751705d
UD
442422010-10-11 Ulrich Drepper <drepper@gmail.com>
44243
e9b9cbf5
UD
44244 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44245 * posix/bug-regex31.input: New file.
44246
44247 [BZ #12078]
44248 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44249 (parse_sub_exp): Fix last change, use postorder.
44250
ef06edbe
UD
44251 * posix/bug-regex31.c: New file.
44252 * posix/Makefile: Add rules to build and run bug-regex31.
44253
a129c80d
UD
44254 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44255
44256 [BZ #12078]
44257 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44258
b76b818e
UD
44259 [BZ #12108]
44260 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44261 to have entries in sys_siglist.
44262
1751705d
UD
44263 [BZ #12093]
44264 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44265 be NULL.
44266
9ff8d36f
JJ
442672010-10-07 Jakub Jelinek <jakub@redhat.com>
44268
44269 [BZ #3268]
44270 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44271 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44272 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44273 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44274 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44275 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44276 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44277 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44278 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44279 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44280 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44281 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44282 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44283 * math/ftestexcept.c (fetestexcept): Likewise.
44284 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44285 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44286 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44287 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44288 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44289 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44290 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44291
af325969
UD
442922010-10-11 Ulrich Drepper <drepper@gmail.com>
44293
c579b202 44294 [BZ #12107]
af325969
UD
44295 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44296 newline.
44297
67a67b95
UD
442982010-10-06 Ulrich Drepper <drepper@gmail.com>
44299
44300 * string/bug-strstr1.c: New file.
44301 * string/Makefile: Add rules to build and run bug-strstr1.
44302
5fb308bc
EB
443032010-10-05 Eric Blake <eblake@redhat.com>
44304
44305 [BZ #12092]
44306 * string/str-two-way.h (two_way_long_needle): Always clear memory
44307 when skipping input due to the shift table.
44308
45db99c7
UD
443092010-10-03 Ulrich Drepper <drepper@gmail.com>
44310
3b111893
UD
44311 [BZ #12005]
44312 * malloc/mcheck.c: Handle large requests.
44313
45db99c7
UD
44314 [BZ #12077]
44315 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44316 for strncmp and strncasecmp.
44317 * string/stratcliff.c: Add tests for strcmp and strncmp.
44318 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44319
cf7a1eb8
NI
443202010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44321
44322 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44323 __set_fpscr.
44324
6484ba5e
AJ
443252010-09-30 Andreas Jaeger <aj@suse.de>
44326
44327 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44328 (CGROUP_SUPER_MAGIC): Define.
44329 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44330 Handle btrfs and cgroup file systems.
44331 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44332 Likewise.
44333
91c42559
LM
443342010-09-27 Luis Machado <luisgpm@br.ibm.com>
44335
44336 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44337 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44338
87a97932
AK
443392010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44340
44341 [BZ #12067]
44342 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44343 trying to locate the ELF header.
44344
c21cc9bc
AS
443452010-09-27 Andreas Schwab <schwab@redhat.com>
44346
44347 [BZ #11611]
44348 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44349 Mask out sign-bit copies when constructing f_fsid.
44350
315970f6
PB
443512010-09-24 Petr Baudis <pasky@suse.cz>
44352
44353 * debug/stack_chk_fail_local.c: Add missing licence exception.
44354 * debug/warning-nop.c: Likewise.
44355
1ac7a2c7
JM
443562010-09-15 Joseph Myers <joseph@codesourcery.com>
44357
44358 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44359 implementing getdents64 using getdents syscall, set d_type if
44360 __ASSUME_GETDENTS32_D_TYPE.
44361
56801c50
AS
443622010-09-16 Andreas Schwab <schwab@redhat.com>
44363
44364 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44365 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44366
dda51327
UD
443672010-09-21 Ulrich Drepper <drepper@redhat.com>
44368
44369 [BZ #12037]
44370 * posix/unistd.h: Undo change of feature selection for ftruncate from
44371 2010-01-11.
44372
8ffcee4a
UD
443732010-09-20 Ulrich Drepper <drepper@redhat.com>
44374
a545ecd9 44375 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
44376 detection.
44377
e24f0a8b
AS
443782010-09-20 Andreas Schwab <schwab@redhat.com>
44379
44380 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44381 fanotify_mark.
44382 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44383
7291c56f
AS
443842010-09-14 Andreas Schwab <schwab@redhat.com>
44385
44386 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44387 variables after CHECK_SP call.
44388 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44389
bc5fb037
AS
443902010-09-13 Andreas Schwab <schwab@redhat.com>
44391 Ulrich Drepper <drepper@redhat.com>
44392
44393 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44394 re-relocationg ld.so.
44395 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44396 _dl_init_paths call.
44397 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44398 here anymore.
44399
e66e7419
UD
444002010-09-14 Ulrich Drepper <drepper@redhat.com>
44401
44402 * resolv/res_init.c (__res_vinit): Count the default server we added.
44403
c044aa75
CLT
444042010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44405 Ulrich Drepper <drepper@redhat.com>
44406
44407 [BZ #11968]
44408 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44409 (____longjmp_chk): Use %ebx for saving value across system call.
44410 Add unwind info.
44411
32cf4069
AS
444122010-09-06 Andreas Schwab <schwab@redhat.com>
44413
44414 * manual/Makefile: Don't mix pattern rules with normal rules.
44415
817328ee
AS
444162010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44417
44418 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44419 operation.
44420 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44421 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44422 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44423 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44424 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44425 Likewise.
44426
29fddf61
UD
444272010-09-04 Ulrich Drepper <drepper@redhat.com>
44428
44429 [BZ #11979]
44430 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44431 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44432
0959ffc9
UD
444332010-09-02 Ulrich Drepper <drepper@redhat.com>
44434
44435 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44436 * sysdeps/x86_64/addmul_1.S: Likewise.
44437 * sysdeps/x86_64/lshift.S: Likewise.
44438 * sysdeps/x86_64/mul_1.S: Likewise.
44439 * sysdeps/x86_64/rshift.S: Likewise.
44440 * sysdeps/x86_64/sub_n.S: Likewise.
44441 * sysdeps/x86_64/submul_1.S: Likewise.
44442
ece29840
ST
444432010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44444
0959ffc9
UD
44445 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44446 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44447 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44448 * bits/sched.h [__need_schedparam]
ece29840 44449 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44450 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44451 (__defined_schedparam): Define to 1.
ece29840
ST
44452 (__sched_param): New structure, identical to sched_param.
44453 (__need_schedparam): Undefine.
44454
e53a31fe
MF
444552010-08-31 Mike Frysinger <vapier@gentoo.org>
44456
fdc0c10d
MF
44457 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44458 (epoll_create1): Declare.
44459
e53a31fe
MF
44460 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44461
a726d796
AS
444622010-08-31 Andreas Schwab <schwab@redhat.com>
44463
44464 [BZ #7066]
44465 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44466 shifting retval into place.
44467
2f3e3dc7
UD
444682010-09-01 Ulrich Drepper <drepper@redhat.com>
44469
f2933da9
UD
44470 * nis/rpcsvc/nis.h: Update copyright notice.
44471 * nis/rpcsvc/nis.x: Likewise.
44472 * nis/rpcsvc/nis_callback.h: Likewise.
44473 * nis/rpcsvc/nis_callback.x: Likewise.
44474 * nis/rpcsvc/nis_object.x: Likewise.
44475 * nis/rpcsvc/nis_tags.h: Likewise.
44476 * nis/rpcsvc/yp.h: Likewise.
44477 * nis/rpcsvc/yp.x: Likewise.
44478 * nis/rpcsvc/ypupd.h: Likewise.
44479 * nis/yp_xdr.c: Likewise.
44480 * nis/ypupdate_xdr.c: Likewise.
44481
2f3e3dc7
UD
44482 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44483 mainly the body of pmap_getport. Add parameters to specify timeouts.
44484 (pmap_getport): Use __libc_rpc_getport.
44485 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44486 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44487 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44488
f3dcc2f9
AS
444892010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44490
44491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44492 fanotify_mark.
44493
6d34eb5b
RM
444942010-08-27 Roland McGrath <roland@redhat.com>
44495
44496 * sysdeps/i386/i686/multiarch/Makefile
44497 (CFLAGS-varshift.c): New variable.
44498
9ea3de11
UD
444992010-08-27 Ulrich Drepper <drepper@redhat.com>
44500
c96d23fc
UD
44501 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44502 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44503
9ea3de11
UD
44504 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44505
44506 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44507
623aac7f
L
445082010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44509
44510 * sysdeps/x86_64/strlen.S: Unroll the loop.
44511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44512 strlen-sse2 strlen-sse2-bsf.
44513 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44514 __strlen_no_bsf if bit_Slow_BSF is set.
44515 (__strlen_sse42): Removed.
44516 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44517 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44518
8b2b7715
RM
445192010-08-25 Roland McGrath <roland@redhat.com>
44520
44521 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44522 * sysdeps/x86_64/multiarch/varshift.c: New file.
44523 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44524 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44525 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44526 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44527
e73015f2
L
445282010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44529
44530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44531 strlen-sse2 strlen-sse2-bsf.
44532 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44533 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44534 (__strlen_sse2): Removed.
44535 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44536 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44538 bit_Slow_BSF for Atom.
44539 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44540 (index_Slow_BSF): Define.
44541 (HAS_SLOW_BSF): Define.
44542
df24a73e
UD
445432010-08-25 Ulrich Drepper <drepper@redhat.com>
44544
44545 [BZ #10851]
44546 * resolv/res_init.c (__res_vinit): When no server address at all
44547 is given default to loopback.
44548
f2ac4868
RM
445492010-08-24 Roland McGrath <roland@redhat.com>
44550
09055553
RM
44551 * configure.in: Remove config-name.h generation.
44552 * configure: Regenerated.
44553 * config-name.in: File removed.
44554 * scripts/config-uname.sh: New file.
44555 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44556 ($(objdir)config-name.h): New target.
44557
f2ac4868
RM
44558 * sunrpc/rpc_parse.h: Avoid nested comment.
44559
73f27d5e
RH
445602010-08-24 Richard Henderson <rth@redhat.com>
44561 Ulrich Drepper <drepper@redhat.com>
44562 H.J. Lu <hongjiu.lu@intel.com>
44563
44564 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44566 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44567 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44568 _mm_alignr_epi8 with _mm_loadu_si128.
44569 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44570 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44571 (__m128i_shift_right): Removed.
44572 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44573 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44574 * sysdeps/x86_64/multiarch/varshift.h: New file.
44575 * sysdeps/x86_64/multiarch/varshift.S: New file.
44576
84b9230c
MF
445772010-08-21 Mike Frysinger <vapier@gentoo.org>
44578
44579 * configure.in: Move assembler checks to before sysdep dir checking.
44580
9bbd0ddc
PB
445812010-08-20 Petr Baudis <pasky@suse.cz>
44582
44583 * LICENSES: Sync the sunrpc license.
44584
9da4bb31
UD
445852010-08-19 Ulrich Drepper <drepper@redhat.com>
44586
a7ab6ec8
UD
44587 * sunrpc/auth_des.c: Update copyright notice once again.
44588 * sunrpc/auth_none.c: Likewise.
44589 * sunrpc/auth_unix.c: Likewise.
44590 * sunrpc/authdes_prot.c: Likewise.
44591 * sunrpc/authuxprot.c: Likewise.
44592 * sunrpc/bindrsvprt.c: Likewise.
44593 * sunrpc/clnt_gen.c: Likewise.
44594 * sunrpc/clnt_perr.c: Likewise.
44595 * sunrpc/clnt_raw.c: Likewise.
44596 * sunrpc/clnt_simp.c: Likewise.
44597 * sunrpc/clnt_tcp.c: Likewise.
44598 * sunrpc/clnt_udp.c: Likewise.
44599 * sunrpc/clnt_unix.c: Likewise.
44600 * sunrpc/des_crypt.c: Likewise.
44601 * sunrpc/des_soft.c: Likewise.
44602 * sunrpc/get_myaddr.c: Likewise.
44603 * sunrpc/getrpcport.c: Likewise.
44604 * sunrpc/key_call.c: Likewise.
44605 * sunrpc/key_prot.c: Likewise.
44606 * sunrpc/openchild.c: Likewise.
44607 * sunrpc/pm_getmaps.c: Likewise.
44608 * sunrpc/pm_getport.c: Likewise.
44609 * sunrpc/pmap_clnt.c: Likewise.
44610 * sunrpc/pmap_prot.c: Likewise.
44611 * sunrpc/pmap_prot2.c: Likewise.
44612 * sunrpc/pmap_rmt.c: Likewise.
44613 * sunrpc/rpc/auth.h: Likewise.
44614 * sunrpc/rpc/auth_unix.h: Likewise.
44615 * sunrpc/rpc/clnt.h: Likewise.
44616 * sunrpc/rpc/des_crypt.h: Likewise.
44617 * sunrpc/rpc/key_prot.h: Likewise.
44618 * sunrpc/rpc/netdb.h: Likewise.
44619 * sunrpc/rpc/pmap_clnt.h: Likewise.
44620 * sunrpc/rpc/pmap_prot.h: Likewise.
44621 * sunrpc/rpc/pmap_rmt.h: Likewise.
44622 * sunrpc/rpc/rpc.h: Likewise.
44623 * sunrpc/rpc/rpc_des.h: Likewise.
44624 * sunrpc/rpc/rpc_msg.h: Likewise.
44625 * sunrpc/rpc/svc.h: Likewise.
44626 * sunrpc/rpc/svc_auth.h: Likewise.
44627 * sunrpc/rpc/types.h: Likewise.
44628 * sunrpc/rpc/xdr.h: Likewise.
44629 * sunrpc/rpc_clntout.c: Likewise.
44630 * sunrpc/rpc_cmsg.c: Likewise.
44631 * sunrpc/rpc_common.c: Likewise.
44632 * sunrpc/rpc_cout.c: Likewise.
44633 * sunrpc/rpc_dtable.c: Likewise.
44634 * sunrpc/rpc_hout.c: Likewise.
44635 * sunrpc/rpc_main.c: Likewise.
44636 * sunrpc/rpc_parse.c: Likewise.
44637 * sunrpc/rpc_parse.h: Likewise.
44638 * sunrpc/rpc_prot.c: Likewise.
44639 * sunrpc/rpc_sample.c: Likewise.
44640 * sunrpc/rpc_scan.c: Likewise.
44641 * sunrpc/rpc_scan.h: Likewise.
44642 * sunrpc/rpc_svcout.c: Likewise.
44643 * sunrpc/rpc_tblout.c: Likewise.
44644 * sunrpc/rpc_util.c: Likewise.
44645 * sunrpc/rpc_util.h: Likewise.
44646 * sunrpc/rpcinfo.c: Likewise.
44647 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44648 * sunrpc/rpcsvc/key_prot.x: Likewise.
44649 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44650 * sunrpc/rpcsvc/mount.x: Likewise.
44651 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44652 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44653 * sunrpc/rpcsvc/rex.x: Likewise.
44654 * sunrpc/rpcsvc/rstat.x: Likewise.
44655 * sunrpc/rpcsvc/rusers.x: Likewise.
44656 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44657 * sunrpc/rpcsvc/spray.x: Likewise.
44658 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44659 * sunrpc/rtime.c: Likewise.
44660 * sunrpc/svc.c: Likewise.
44661 * sunrpc/svc_auth.c: Likewise.
44662 * sunrpc/svc_authux.c: Likewise.
44663 * sunrpc/svc_raw.c: Likewise.
44664 * sunrpc/svc_run.c: Likewise.
44665 * sunrpc/svc_simple.c: Likewise.
44666 * sunrpc/svc_tcp.c: Likewise.
44667 * sunrpc/svc_udp.c: Likewise.
44668 * sunrpc/svc_unix.c: Likewise.
44669 * sunrpc/svcauth_des.c: Likewise.
44670 * sunrpc/xcrypt.c: Likewise.
44671 * sunrpc/xdr.c: Likewise.
44672 * sunrpc/xdr_array.c: Likewise.
44673 * sunrpc/xdr_float.c: Likewise.
44674 * sunrpc/xdr_mem.c: Likewise.
44675 * sunrpc/xdr_rec.c: Likewise.
44676 * sunrpc/xdr_ref.c: Likewise.
44677 * sunrpc/xdr_sizeof.c: Likewise.
44678 * sunrpc/xdr_stdio.c: Likewise.
44679
9da4bb31
UD
44680 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44681 handling.
44682
bdaa77bc
AS
446832010-08-19 Andreas Schwab <schwab@redhat.com>
44684
44685 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44686
fe2f79db
LM
446872010-08-19 Luis Machado <luisgpm@br.ibm.com>
44688
44689 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44690 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44691 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44692 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44693 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44694 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44695 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44696 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44697 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44698 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44699 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44700 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44701 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44702 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44703
b9b42ee0
AB
447042010-07-26 Anton Blanchard <anton@samba.org>
44705
44706 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44707 * malloc/arena.c (heap_trim): Likewise.
44708
1c06ba31
UD
447092010-08-16 Ulrich Drepper <drepper@redhat.com>
44710
44711 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44712 here. Not...
44713 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44714 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44715
f8392f40
L
447162010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44717
44718 * sysdeps/i386/elf/Makefile: New file.
44719
3162f12e
AS
447202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44721
44722 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44723 from fanotify_init.
44724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44725 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44726
28c90b2c
UD
447272010-08-15 Ulrich Drepper <drepper@redhat.com>
44728
44729 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44730 of strncasecmp_l.
1feccb6c 44731 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 44732
ca6bb004
UD
447332010-08-14 Ulrich Drepper <drepper@redhat.com>
44734
e9f82e0d
UD
44735 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44736 strncase_l-nonascii.
44737 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44738 Add strncase_l-ssse3.
44739 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44740 * sysdeps/x86_64/strcmp.S: Likewise.
44741 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44742 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44743 * sysdeps/x86_64/strncase.S: New file.
44744 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44745 * sysdeps/x86_64/strncase_l.S: New file.
44746 * string/Makefile (strop-tests): Add strncasecmp.
44747 * string/test-strncasecmp.c: New file.
44748
44749 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44750 warning.
44751
ca6bb004
UD
44752 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44753 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44754
052fa7b3
AS
447552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44756
44757 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44758
962dba78
UD
447592010-08-12 Ulrich Drepper <drepper@redhat.com>
44760
44761 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44762 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44763 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44764
bebff237
AM
447652010-05-01 Alan Modra <amodra@gmail.com>
44766
44767 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44768 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44769 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44770 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44771 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44772 tidying. Don't tail-call __sigjmp_save for static lib.
44773 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44774 save location.
44775 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44776 (CALL_MCOUNT): Add eh info, and nop after bl.
44777 (TAIL_CALL_SYSCALL_ERROR): New macro.
44778 (PSEUDO_RET): Use it.
44779 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44780 Correct save location of integer regs and cr.
44781 (_dl_profile_resolve): Correct cr save location. Delete nops
44782 after bl when SHARED. Reduce cfi size a little by better
44783 placement of cfi directives.
44784 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44785 make a stack frame. Instead use parm save area as a temp.
44786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44787 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44789 Don't make a stack frame for parent, use parm save area.
44790 Increase child stack frame to 112 bytes. Don't save unused reg,
44791 and adjust reg usage. Set up cfi on error recovery and
44792 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44794 (__makecontext): Add dummy nop after jump to exit.
44795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44796 Use correct parm save area and cr save, reduce stack frame.
44797 Correct cfi for possible PSEUDO_RET frame setup.
44798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44799 Branch to local label emitted by PSEUDO_RET rather than
44800 __syscall_error.
44801
02637374
AS
448022010-08-12 Andreas Schwab <schwab@redhat.com>
44803
44804 [BZ #11904]
44805 * locale/programs/locale.c (print_assignment): New function.
44806 (show_locale_vars): Use it.
44807
c3e2f19b
UD
448082010-08-11 Ulrich Drepper <drepper@redhat.com>
44809
3cdaa6ad
UD
44810 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44811 field.
44812 (struct statfs64): Likewise.
44813 (_STATFS_F_FLAGS): Define.
44814 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44815 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44816 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44817 (ST_VALID): Define locally.
44818 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44819 __statvfs_getflags, use the provided value.
44820 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44821 __ASSUME_STATFS_F_FLAGS.
44822
754f7da3
UD
44823 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44824
10b3bedc
UD
44825 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44826 Add sys/fanotify.h.
44827 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44828 fanotify_mask for GLIBC_2.13.
44829 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44830 fanotify_init and fanotify_mark.
44831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44832 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44833
c08fb0d7
UD
44834 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44835 Add prlimit.
44836 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44837 prlimit64 for GLIBC_2.13.
44838 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44839 prlimit64.
44840 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44841 syscall.
44842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44843 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44844 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44845 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44846 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44847 add prlimit alias.
44848 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44849
15bac72b
UD
44850 [BZ #11903]
44851 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44852 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44853
c3e2f19b
UD
44854 * nss/Makefile: Add rules to build and run tst-nss-test1.
44855 * shlib-versions: Add entry for libnss_test1.
44856 * nss/nss_test1.c: New file.
44857 * nss/tst-nss-test1.c: New file.
44858
44859 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44860 (__nss_configure_lookup): Set appropriate entry in
44861 __nss_configure_lookup to true.
44862 * nss/nsswitch.h: Define enum with indeces of databases in
44863 databases and __nss_database_custom arrays. Declare
44864 __nss_database_custom.
44865 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44866 to avoid using nscd when custom rules are installed.
44867 * nss/getXXbyYY_r.c: Likewise.
44868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44869
44870 * nss/nss_files/files-parse.c: Whitespace fixes.
44871
f15ce4d8
UD
448722010-08-09 Ulrich Drepper <drepper@redhat.com>
44873
44874 [BZ #11883]
44875 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44876 * posix/fnmatch_loop.c: Likewise.
44877
d22e4cc9
AK
448782010-07-17 Andi Kleen <ak@linux.intel.com>
44879
44880 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44881 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44882 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44883 * Versions.def [GLIBC_2.13]: Add.
44884
805bc17d
UD
448852010-08-06 Ulrich Drepper <drepper@redhat.com>
44886
44887 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44888 Also fail if tpwd after pwuid call is NULL.
44889
5a42321d
ST
448902010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44891
44892 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44893 when converting to ms.
44894
fd3ebeda
ST
448952010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44896
44897 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44898 EOPNOTSUPP errors with ENOTTY.
44899 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44900 EOPNOTSUPP errors with ENOTTY.
44901
73507d3a
UD
449022010-07-31 Ulrich Drepper <drepper@redhat.com>
44903
44904 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44905 Add strcasecmp_l-ssse3.
44906 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44907 strcasecmp.
44908 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44909 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44910 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44911
fe36dd02
UD
449122010-07-30 Ulrich Drepper <drepper@redhat.com>
44913
66f6765a
UD
44914 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44915
42e08a54
UD
44916 * string/Makefile (strop-tests): Add strcasecmp.
44917 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44918 strcasecmp_l-nonascii.
44919 (gen-as-const-headers): Add locale-defines.sym.
44920 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44921 * sysdeps/x86_64/strcasecmp.S: New file.
44922 * sysdeps/x86_64/strcasecmp_l.S: New file.
44923 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44924 * sysdeps/x86_64/locale-defines.sym: New file.
44925 * string/test-strcasecmp.c: New file.
44926
fe36dd02
UD
44927 * string/test-strcasestr.c: Test both ends of the range of characters.
44928 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44929
48cbc0d6
RM
449302010-07-29 Roland McGrath <roland@redhat.com>
44931
76e6d6bc 44932 [BZ #11856]
48cbc0d6
RM
44933 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44934
880113d9
UD
449352010-07-27 Ulrich Drepper <drepper@redhat.com>
44936
44937 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44938 for ld.so.
44939
deb9cabb
AS
449402010-07-27 Andreas Schwab <schwab@redhat.com>
44941
44942 * manual/memory.texi (Malloc Tunable Parameters): Document
44943 M_PERTURB.
44944
1c7570ff
RM
449452010-07-26 Roland McGrath <roland@redhat.com>
44946
44947 [BZ #11840]
44948 * configure.in (-fgnu89-inline check): Set and substitute
44949 gnu89_inline, not libc_cv_gnu89_inline.
44950 * configure: Regenerated.
44951 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44952
24fb0f88
UD
449532010-07-26 Ulrich Drepper <drepper@redhat.com>
44954
44955 * string/test-strnlen.c: New file.
44956 * string/Makefile (strop-tests): Add strnlen.
44957 * string/tester.c (test_strnlen): Add a few more test cases.
44958 * string/tst-strlen.c: Better error reporting.
44959
44960 * sysdeps/x86_64/strnlen.S: New file.
44961
8e96b93a
UD
449622010-07-24 Ulrich Drepper <drepper@redhat.com>
44963
44964 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44965 lower-latency instructions.
44966
dbc676d4
UD
449672010-07-23 Ulrich Drepper <drepper@redhat.com>
44968
44969 * string/test-strcasestr.c: New file.
44970 * string/test-strstr.c: New file.
44971 * string/Makefile (strop-tests): Add strstr and strcasestr.
44972 * string/str-two-way.h: Don't undefine MAX.
44973 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44974
f6a31e0e
AS
449752010-07-21 Andreas Schwab <schwab@redhat.com>
44976
44977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44978 strcasestr-nonascii.
44979 (CFLAGS-strcasestr-nonascii.c): Define.
44980 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44981 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44982 Remove unused attribute.
44983
5dbc3b6c
RM
449842010-07-20 Roland McGrath <roland@redhat.com>
44985
44986 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44987 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44988 ld.so.cache was broken. With it, there is no way to disable dsocaps
44989 like LD_HWCAP_MASK can disable hwcaps.
44990
23d101d8
EPM
449912010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44992
44993 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44994
cc9f2e47
UD
449952010-07-16 Ulrich Drepper <drepper@redhat.com>
44996
44997 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44998 call in strcasestr.
44999 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45000 __strcasestr_sse42_nonascii.
45001 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45002 strcasestr-nonascii.c.
45003 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45004
77c1b069
LM
450052010-06-15 Luis Machado <luisgpm@br.ibm.com>
45006
45007 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45008 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45009 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45010 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45011
440566c3
UD
450122010-07-09 Ulrich Drepper <drepper@redhat.com>
45013
45014 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45015 fcntl.
45016
5be9d05d
AS
450172010-07-06 Andreas Schwab <schwab@redhat.com>
45018
c30b7ee2 45019 [BZ #11577]
5be9d05d
AS
45020 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45021 dl_signal_cerror.
45022
8a492a67
UD
450232010-07-06 Ulrich Drepper <drepper@redhat.com>
45024
45025 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45026 _PC_PIPE_BUF using F_GETPIPE_SZ.
45027
713df3d5
RM
450282010-07-05 Roland McGrath <roland@redhat.com>
45029
45030 * manual/arith.texi (Rounding Functions): Fix rint description
45031 implicit in round description.
45032
702e8f14
UD
450332010-07-02 Ulrich Drepper <drepper@redhat.com>
45034
45035 * elf/Makefile: Fix linking for a few tests to make recent linker
45036 happy.
45037
52ed8be9
AS
450382010-06-30 Andreas Schwab <schwab@redhat.com>
45039
45040 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45041 $(common-objpfx)libc_nonshared.a.
45042
f47c9a11
LM
450432010-06-21 Luis Machado <luisgpm@br.ibm.com>
45044
45045 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45046 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45047 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45048 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45049 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45050 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45051 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45052 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45067 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45068 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45069 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45070 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45071 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45072 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45073 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45074 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45075 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45076 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45077 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45078 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45093
6fb8cbcb
L
450942010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45095
45096 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45097 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45098 * string/memmove.c (memmove): Renamed to ...
45099 (MEMMOVE): ...this. Default to memmove.
45100 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45101 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45102 (END_CHK): Define.
45103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45104 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45105 mempcpy-ssse3-back memmove-ssse3-back.
45106 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45108 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45109 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45110 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45111 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45112 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45113 * sysdeps/x86_64/multiarch/memmove.c: New file.
45114 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45115 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45116 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45117 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45118 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45119 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45120 Define.
45121 (index_Fast_Copy_Backward): Define.
45122 (HAS_ARCH_FEATURE): Define.
45123 (HAS_FAST_REP_STRING): Define.
45124 (HAS_FAST_COPY_BACKWARD): Define.
45125
4e733bac 451262010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
45127
45128 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45129 Restore proper fallback handling.
45130
63c4ed22
UD
451312010-06-19 Ulrich Drepper <drepper@redhat.com>
45132
ac2b484c
UD
45133 [BZ #11701]
45134 * posix/group_member.c (__group_member): Correct checking loop.
45135
63c4ed22
UD
45136 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45137 OOM in getpwuid_r correctly. Return error number when the caller
45138 should return, otherwise -1.
45139 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45140 call returning > 0 value.
45141 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45142
765ade4b
AS
451432010-06-07 Andreas Schwab <schwab@redhat.com>
45144
45145 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45146 libc_nonshared.a from targets in modules-names.
45147
80da2e09
KS
451482010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45149
45150 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45151 requires it.
45152
158db122
LM
451532010-06-10 Luis Machado <luisgpm@br.ibm.com>
45154
45155 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45156 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45157 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45158 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45159
caa78cf8
AS
451602010-06-02 Andreas Schwab <schwab@redhat.com>
45161
45162 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45163
b2ef2c01
UD
451642010-06-14 Ulrich Drepper <drepper@redhat.com>
45165
45166 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45167 and F_GETPIPE_SZ.
45168 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45169 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45173 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45174
fbd643b6
RM
451752010-06-14 Roland McGrath <roland@redhat.com>
45176
45177 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45178
f32f2869
JJ
451792010-06-07 Jakub Jelinek <jakub@redhat.com>
45180
45181 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45182 __REDIRECT followed by __THROW.
45183 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45184 * posix/getopt.h (getopt): Likewise.
45185
2a50c078
EPM
451862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45187
45188 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45189 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45190 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45191 in AT_FLAGS.
45192 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45193 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45194
eb5ad2eb
LM
451952010-05-28 Luis Machado <luisgpm@br.ibm.com>
45196
45197 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45198
3c88fe1e
L
451992010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45200
45201 [BZ #11640]
45202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45203 Properly check family and model.
45204
d2f73151
TY
452052010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45206
45207 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45208
ebd2e13d
LM
452092010-05-24 Luis Machado <luisgpm@br.ibm.com>
45210
45211 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45212
b32b8b45
UD
452132010-05-21 Ulrich Drepper <drepper@redhat.com>
45214
45215 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45216 symbol reference.
45217
9acbe24d
AS
452182010-05-19 Andreas Schwab <schwab@redhat.com>
45219
45220 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45221 symbol reference.
45222
f0ccf6ea
AS
452232010-05-21 Andreas Schwab <schwab@redhat.com>
45224
3d04ff3a
AS
45225 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45226 and internal_recvmmsg.
45227 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45228 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45229 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45230 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45231
f0ccf6ea
AS
45232 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45233 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45234 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45235
5b08ac57
AS
452362010-05-20 Andreas Schwab <schwab@redhat.com>
45237
45238 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45239
4828935d
LM
452402010-05-17 Luis Machado <luisgpm@br.ibm.com>
45241
45242 POWER7 optimizations.
45243 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45244 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45245
373d545e
UD
452462010-05-19 Ulrich Drepper <drepper@redhat.com>
45247
45248 * version.h: Update for 2.13 development version.
45249
21a2b1ae
AS
452502010-05-12 Andrew Stubbs <ams@codesourcery.com>
45251
45252 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45253 exceptions. Return 0.
45254
3f7dcb2b
RM
452552010-05-07 Roland McGrath <roland@redhat.com>
45256
45257 * elf/ldconfig.c (main): Add a const.
45258
5f24d53a 452592010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 45260
a160f8d8
UD
45261 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45262 (args_options): Add no-idn option.
45263 (ahosts_keys_int): Add idn_flags to ai_flags.
45264 (parse_option): Handle 'i' option to clear idn_flags.
45265
5f24d53a
UD
45266 * malloc/malloc.c (_int_free): Possible race in the most recently
45267 added check. Only act on the data if no current modification
45268 happened.
265bb1ce
UD
45269
45270See ChangeLog.17 for earlier changes.