]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
PowerPC: Consolidate NPTL/non versions of clone
[thirdparty/glibc.git] / ChangeLog
1 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4 conditional [RESET_PID].
5 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7 removed.
8 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9 removed.
10
11 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12 <tcb-offsets.h>.
13 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14 (__libc_vfork): New strong alias.
15 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16 removed.
17 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18 Removed.
19
20 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21 <tcb-offsets.h>.
22 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
23 (__libc_vfork): New strong alias.
24 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
25 removed.
26 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27 removed.
28
29 2014-05-26 Carlos O'Donell <carlos@redhat.com>
30
31 * malloc/malloc.c (mi_arena): New function.
32 (malloc_info): Remove nested function mi_arena. Call non-nosted
33 function mi_arena.
34
35 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36
37 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38 by insrwi.
39 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
41 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
42 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
43 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
45 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
46
47 2014-05-26 Andreas Schwab <schwab@suse.de>
48
49 [BZ #16984]
50 * locale/programs/repertoire.c (repertoire_read): Add slash
51 between I18NPATH element and file name.
52 * locale/programs/locfile.c (locfile_read): Likewise.
53
54 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
55
56 * nptl/pthread_mutexattr_settype.c
57 (__pthread_mutexattr_settype):
58 Disable lock elision for PTHREAD_MUTEX_NORMAL.
59
60 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
61
62 * nptl/tst-mutex5 (do_test):
63 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
64
65 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
66
67 * benchtests/README: Document 'init' directive.
68 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
69 BENCH_INIT.
70 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
71 (parse_file): Recognize 'init' directive.
72
73 2014-05-26 Kyle McMartin <kyle@redhat.com>
74
75 [BZ #16796]
76 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
77 alignment of struct pthread.
78
79 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80
81 [BZ #16878]
82 * nscd/netgroupcache.c (addgetnetgrentX): Look for
83 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
84 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
85 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
86
87 2014-05-25 Richard Henderson <rth@twiddle.net>
88
89 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
90 (SINGLE_THREAD_P_PIC): Remove.
91 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
92 (SINGLE_THREAD_P_PIC): Remove.
93
94 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
95 branch to syscall error ...
96 (PSEUDO): ... here.
97 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
98 from __local_syscall_error to .Lsyscall_error.
99 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
100 (SYSCALL_ERROR): Update label name.
101
102 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
103 Do not use DOARGS/UNDOARGS.
104 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
105 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
106 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
107 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
108 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
109
110 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
111 block comment.
112
113 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
114 define if !NOT_IN_libc.
115 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
116 define with non-default symbol versions.
117
118 2014-05-23 Richard Henderson <rth@twiddle.net>
119
120 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
121 (vfork, __vfork): Define via compat_symbol.
122
123 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
124 [!HAVE_IFUNC] (vfork_compat): Remove.
125 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
126
127 2014-05-23 Joseph Myers <joseph@codesourcery.com>
128
129 [BZ #16978]
130 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
131 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
132 variable.
133
134 2014-05-23 Richard Henderson <rth@twiddle.net>
135
136 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
137 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
138 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
139 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
140
141 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
142 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
143 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
144 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
145 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
146 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
147 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
148 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
149 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
150 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
151 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
152 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
153 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
154 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
155 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
156 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
157 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
158 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
159 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
160 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
161 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
162 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
163 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
164 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
165 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
166 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
167 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
168 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
169 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
170 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
171 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
172 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
173 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
174 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
175 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
176 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
177 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
178 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
179 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
180 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
181 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
182 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
183 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
184 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
185 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
186 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
187 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
188 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
189 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
190 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
191 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
192 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
193 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
194 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
195 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
196 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
197
198 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
199 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
200 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
201 before exiting on error.
202 (__libc_vfork): New strong alias.
203 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
204 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
205
206 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
207 that was previously under [RESET_PID].
208 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
209
210 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
211
212 2014-05-23 Joseph Myers <joseph@codesourcery.com>
213
214 [BZ #16977]
215 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
216 value when x - 1 is zero.
217 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
218 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
219 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
220 0.0L for an argument of 1.0L.
221 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
222 Likewise.
223 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
224 value when x - 1 is zero.
225 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
226 * sysdeps/i386/fpu/libm-test-ulps: Update.
227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
228
229 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
230
231 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
232 alphasort and versionsort.
233
234 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
235
236 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
237 macro.
238 [copysignf]: Likewise.
239
240 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
241
242 * crypt/md5-crypt.c: Fix formatting.
243
244 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
245
246 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
247 (b64_from_24bit): New function.
248
249 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
250
251 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
252 libc_hidden_builtin_def to ifunc.
253 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
254 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
255
256 2014-05-21 Roland McGrath <roland@hack.frob.com>
257
258 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
259 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
260
261 2014-05-21 Joseph Myers <joseph@codesourcery.com>
262
263 * nscd/Depend (linuxthreads): Remove.
264 (nptl): Add.
265 * resolv/Depend (linuxthreads): Remove.
266 * rt/Depend (linuxthreads): Remove.
267
268 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
269 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
270 $(common-objpfx)elf/.
271 (link-libc-before-gnulib): Likewise.
272 (elfobjdir): Remove variable.
273 * Makefile (install): Use $(elf-objpfx) instead of
274 $(common-objpfx)elf/.
275 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
276 $(elfobjdir)/.
277 (link-libc-deps): Likewise.
278 ($(common-objpfx)libc.so): Likewise.
279 ($(common-objpfx)linkobj/libc.so): Likewise.
280 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
281 instead of $(common-objpfx)elf/.
282 (symbolic-link-list): Likewise.
283 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
284 [$(cross-compiling) = no]: Likewise.
285 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
286 $(elfobjdir)/.
287 (static-gnulib-arch): Likewise.
288 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
289 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
290 $(common-objpfx)elf/.
291
292 2014-05-21 Richard Henderson <rth@redhat.com>
293
294 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
295 (SINGLE_THREAD_P): Use the correct width load. Fold
296 into the ldr offset.
297
298 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
299 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
300
301 2014-05-20 Joseph Myers <joseph@codesourcery.com>
302
303 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
304 (libgcc_s_resume): Use __attribute_used__.
305 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
306 Likewise.
307
308 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
309
310 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
311 optimization when used with float constants.
312
313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
314
315 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
316
317 [BZ #16915]
318 * locale/nl_langinfo_l.c: Make direct reference to every
319 _nl_current_CATEGORY symbol.
320 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
321 (tests-static): Add tst-langinfo-static.
322 (tests-special): Add tst-langinfo-static.out.
323 ($(objpfx)tst-langinfo.out): Redirect output.
324 ($(objpfx)tst-langinfo-static.out): New.
325 * localedata/tst-langinfo.sh: Send output to stdout.
326 * localedata/tst-langinfo-static.c: New file.
327
328 [BZ #16965]
329 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
330 when the shift amount is modulo the limb size.
331
332 2014-05-20 Richard Henderson <rth@redhat.com>
333
334 [BZ #16967]
335 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
336 Change type of sa_flags from unsigned int to int.
337
338 [BZ #16966]
339 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
340
341 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
342
343 2014-05-20 Will Newton <will.newton@linaro.org>
344
345 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
346 Test the return value of the system call in the nocancel case.
347
348 2014-05-20 Will Newton <will.newton@linaro.org>
349 Yvan Roux <yvan.roux@linaro.org>
350
351 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
352 #include of asm/ptrace.h.
353 (PTRACE_GET_THREAD_AREA): Remove #undef.
354 (PTRACE_GETHBPREGS): Likewise.
355 (PTRACE_SETHBPREGS): Likewise.
356 (struct user_regs_struct): New structure.
357 (struct user_fpsimd_struct): New structure.
358 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
359 #include of asm/ptrace.h and second #include of sys/user.h.
360 (PTRACE_GET_THREAD_AREA): Remove #undef.
361 (PTRACE_GETHBPREGS): Likewise.
362 (PTRACE_SETHBPREGS): Likewise.
363 (ELF_NGREG): Use new struct user_regs_struct.
364 (elf_fpregset_t): Use new struct user_fpsimd_struct.
365
366 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
367
368 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
369 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
370
371 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
372
373 [BZ #16958]
374 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
375 membar to avoid block loads/stores to overlap previous stores.
376
377 2014-05-17 Richard Henderson <rth@redhat.com>
378
379 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
380 Create the __##syscall_name##_nocancel entry point.
381 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
382 Remove; let the sysdep-cancel.h code create it.
383
384 2014-05-17 David S. Miller <davem@davemloft.net>
385
386 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
387 Protect with __USE_GNU.
388 (TIOCSET_TEMPT): Likewise.
389 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
390 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
391 these are already provided in bits/ioctl-types.h
392
393 2014-05-16 Roland McGrath <roland@hack.frob.com>
394
395 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
396 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
397
398 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
399 Use wait4 regardless of [__NR_waitpid].
400
401 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
402
403 PR libgcc/60166
404 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
405 (_FP_NANSIGN_Q): Set the quiet bit.
406
407 2014-05-16 Joseph Myers <joseph@codesourcery.com>
408
409 * benchtests/Makefile
410 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
411 not $(common-objpfx)math/libm.so.
412 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
413 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
414 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
415 $(common-objpfx)dlfcn/libdl.so.
416 ($(objpfx)tst-audit8): Depend on $(libm), not
417 $(common-objpfx)math/libm.so.
418 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
419 not $(common-objpfx)dlfcn/libdl.so.
420 * math/Makefile
421 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
422 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
423 [$(build-shared) = yes].
424 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
425 $(common-objpfx)nptl/libpthread.so.
426 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
427 $(common-objpfx)math/libm.so$(libm.so-version) or
428 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
429 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
430 $(common-objpfx)dlfcn/libdl.so.
431 * setjmp/Makefile (link-libm): Remove variable.
432 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
433 * stdio-common/Makefile (link-libm): Remove variable.
434 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
435 * stdlib/Makefile (link-libm): Remove variable.
436 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
437 ($(objpfx)tst-strtod-round): Likewise.
438 ($(objpfx)tst-tininess): Likewise.
439 ($(objpfx)tst-strtod-underflow): Likewise.
440 ($(objpfx)tst-strtod6): Likewise.
441 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
442 $(libdl), not $(common-objpfx)nptl/libpthread.so and
443 $(common-objpfx)dlfcn/libdl.so.
444
445 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
446
447 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
448 BSD terminal modes definitions.
449
450 2014-05-16 Roland McGrath <roland@hack.frob.com>
451
452 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
453 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
454
455 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
456 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
457 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
458 Don't do #include_next.
459 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
460 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
461 Don't do #include_next.
462 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
463 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
464 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
465 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
466
467 2014-05-16 Allan McRae <allan@archlinux.org>
468
469 * po/sv.po: Update Swedish translation from translation project.
470
471 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
472 in sed expression.
473
474 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
475
476 [BZ #16917]
477 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
478 errno if the TIOCGPTN ioctl fails with an error different than
479 EINVAL.
480 * login/tst-ptsname.c: New file.
481 * login/Makefile (tests): Add tst-ptsname.
482
483 [BZ #16943]
484 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
485 and prlimit64.
486
487 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
488
489 [BZ #16849]
490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
491 herrno to return EAI_AGAIN.
492
493 2014-05-14 Roland McGrath <roland@hack.frob.com>
494
495 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
496 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
497 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
498 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
499 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
500 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
501 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
502 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
503 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
504 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
505 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
506 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
507 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
508 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
509 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
510 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
511 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
512 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
513 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
514 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
515 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
516 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
517 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
518 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
519 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
520 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
521 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
522 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
523 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
524 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
526 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
528 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
530 Moved ...
531 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
533 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
535 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
537 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
539 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
541 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
543 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
545 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
547 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
549 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
551 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
553 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
555 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
557 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
559 Moved ...
560 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
562 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
564 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
566 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
568 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
570 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
574 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
576 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
578 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
580 Moved ...
581 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
583 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
584
585 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
586 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
587 (libpthread-sysdep_routines): Add elision-related stuff here instead.
588 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
589 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
590 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
591 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
592 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
593 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
594 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
595 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
596 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
597 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
598 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
599 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
600 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
601 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
602 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
603 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
604 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
605 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
606 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
607 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
608 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
609 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
610 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
611 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
612 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
613 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
614 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
615 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
616
617 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
618 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
619
620 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
621 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
622 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
623 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
624 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
625 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
626 Moved ...
627 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
628 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
629 Moved ...
630 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
631 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
632 Moved ...
633 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
634 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
635 Moved ...
636 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
637 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
638 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
639 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
640 Moved ...
641 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
642 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
643 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
644 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
645 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
646 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
647 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
648 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
649 Moved ...
650 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
651 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
652 Moved ...
653 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
654 ... here.
655 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
656 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
657 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
658 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
659 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
660 Moved ...
661 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
662 ... here.
663 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
664 Moved ...
665 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
666 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
667 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
668 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
669 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
670 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
671 Moved ...
672 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
673 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
674 Moved ...
675 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
676 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
677 Moved ...
678 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
679 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
680 Moved ...
681 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
682 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
683 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
684 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
685 Moved ...
686 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
687 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
688 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
689 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
690 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
691 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
692 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
693 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
694 Moved ...
695 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
696 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
697 Moved ...
698 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
699 ... here.
700 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
701 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
702 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
703 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
704 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
705 Moved ...
706 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
707 ... here.
708 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
709 Moved ...
710 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
711 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
712 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
713 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
714 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
715 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
716 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
717 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
718 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
719 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
720 Moved ...
721 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
722 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
723 Moved ...
724 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
725 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
726 Moved ...
727 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
728 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
729 Moved ...
730 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
731 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
732 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
733 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
734 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
735 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
736 Moved ...
737 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
738 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
739 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
740 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
741 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
742 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
743 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
744 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
745 Moved ...
746 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
747 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
748 Moved ...
749 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
750 ... here.
751 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
752 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
753 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
754 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
755 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
756 Moved ...
757 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
758 ... here.
759 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
760 Moved ...
761 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
762 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
763 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
764 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
765 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
766 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
767 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
768 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
769 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
770 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
771 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
772
773 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
774 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
775
776 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
777 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
778
779 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
780 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
781 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
782 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
783 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
784 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
785 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
786 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
787 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
788 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
789 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
790 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
791 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
792 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
793 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
794 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
795 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
796 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
797 Moved ...
798 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
799 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
800 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
801 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
802 Moved ...
803 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
804 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
805 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
806 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
807 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
808 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
809 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
810 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
811 Moved ...
812 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
813 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
814 Moved ...
815 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
816 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
817 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
818 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
819 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
820 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
821 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
822 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
823 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
824 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
825 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
826 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
827 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
828 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
829 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
830 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
831 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
832
833 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
834 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
835 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
836 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
837 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
838
839 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
840 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
841 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
842 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
843 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
844 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
845 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
846 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
847 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
848 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
849
850 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
851 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
852
853 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
854 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
855 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
856 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
857 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
858 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
859 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
860 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
861 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
862 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
863 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
864 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
865 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
866 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
867 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
868 Update #include.
869 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
870 Likewise.
871 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
872 Likewise.
873 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
874 Likewise.
875 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
876 Likewise.
877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
878 Likewise.
879 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
880 Likewise.
881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
882 Likewise.
883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
884 Likewise.
885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
886 Likewise.
887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
888 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
889 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
890 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
891 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
892 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
893 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
894 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
895 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
896 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
897 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
898 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
899 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
900 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
901 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
902
903 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
904 that was previously under [RESET_PID].
905 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
906 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
907 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
908
909 * sysdeps/i386/nptl/Implies: New file.
910 * sysdeps/x86_64/nptl/Implies: New file.
911 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
912 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
913 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
914 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
915
916 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
917 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
918 (__libc_vfork): New strong alias.
919 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
920 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
921
922 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
923 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
924 (__libc_vfork): New strong alias.
925 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
926 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
927
928 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
929 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
930 (__libc_vfork): New strong alias.
931 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
932 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
933 * nptl/pt-vfork.c: New file.
934 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
935 (libpthread: GLIBC_2.20): New version set (empty).
936
937 2014-05-14 Will Newton <will.newton@linaro.org>
938
939 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
940 rather than #if.
941
942 2014-05-14 Joseph Myers <joseph@codesourcery.com>
943
944 [BZ #16564]
945 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
946 arguments with exponent 65 or above.
947 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
948 arguments 0x1p113L or above.
949 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
950 to arguments 0x1p107L or above.
951 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
952 positive arguments with exponent 65 or above.
953 * math/auto-libm-test-in: Add more tests of log1p.
954 * math/auto-libm-test-out: Regenerated.
955
956 [BZ #16928]
957 * math/s_cacos.c (__cacos): Ensure zero real part of result from
958 non-finite arguments is +0.
959 * math/s_cacosf.c (__cacosf): Likewise.
960 * math/s_cacosl.c (__cacosl): Likewise.
961 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
962 * sysdeps/i386/fpu/libm-test-ulps: Update.
963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
964
965 [BZ #16927]
966 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
967 value.
968 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
969 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
970 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
971 for explicit high bit of mantissa when testing for argument equal
972 to 1.
973 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
974 * sysdeps/i386/fpu/libm-test-ulps: Update.
975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
976
977 [BZ #16516]
978 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
979 (__erf): Scale by 16 instead of 8 in potentially underflowing
980 case. Ensure exception if result actually underflows.
981 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
982 (__erff): Scale by 16 instead of 8 in potentially underflowing
983 case. Ensure exception if result actually underflows.
984 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
985 (efx8): Remove variable.
986 (__erfl): Scale by 16 instead of 8 in potentially underflowing
987 case. Ensure exception if result actually underflows.
988 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
989 (efx8): Remove variable.
990 (__erfl): Scale by 16 instead of 8 in potentially underflowing
991 case. Ensure exception if result actually underflows.
992 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
993 (efx8): Remove variable.
994 (__erfl): Scale by 16 instead of 8 in potentially underflowing
995 case. Ensure exception if result actually underflows.
996 * math/auto-libm-test-in: Add more tests of erf.
997 * math/auto-libm-test-out: Regenerated.
998
999 2014-05-14 Andreas Schwab <schwab@suse.de>
1000
1001 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1002 Remove code conditionalized on USE___THREAD.
1003
1004 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1005 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1006 not definedness.
1007
1008 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1009
1010 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1011 Define unconditionally.
1012 (__ASSUME_O_CLOEXEC): Likewise.
1013 (__ASSUME_SOCK_CLOEXEC): Likewise.
1014 (__ASSUME_IN_NONBLOCK): Likewise.
1015 (__ASSUME_PIPE2): Likewise.
1016 (__ASSUME_EVENTFD2): Likewise.
1017 (__ASSUME_SIGNALFD4): Likewise.
1018 (__ASSUME_DUP3): Likewise.
1019 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1020 (__ASSUME_DUP3): Do not define.
1021 (__ASSUME_EVENTFD2): Likewise.
1022 (__ASSUME_IN_NONBLOCK): Likewise.
1023 (__ASSUME_O_CLOEXEC): Likewise.
1024 (__ASSUME_PIPE2): Likewise.
1025 (__ASSUME_SIGNALFD4): Likewise.
1026 (__ASSUME_SOCK_CLOEXEC): Likewise.
1027 (__ASSUME_UTIMES): Undefine.
1028 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1029 (__ASSUME_UTIMES): Do not define.
1030 (__ASSUME_O_CLOEXEC): Likewise.
1031 (__ASSUME_SOCK_CLOEXEC): Likewise.
1032 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1033 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1034 0x020621].
1035 (__ASSUME_PIPE2): Likewise.
1036 (__ASSUME_EVENTFD2): Likewise.
1037 (__ASSUME_SIGNALFD4): Likewise.
1038 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1039 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1040 Do not define.
1041 (__ASSUME_EVENTFD2): Likewise.
1042 (__ASSUME_SIGNALFD4): Likewise.
1043 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1044 (__ASSUME_32BITUIDS): Likewise.
1045 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1046 (__ASSUME_IPC64): Likewise.
1047 (__ASSUME_ST_INO_64_BIT): Likewise.
1048 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1049 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1050 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1051 (__ASSUME_UTIMES): Do not define.
1052 (__ASSUME_PSELECT): Likewise.
1053 (__ASSUME_PPOLL): Likewise.
1054 (__ASSUME_O_CLOEXEC): Likewise.
1055 (__ASSUME_SOCK_CLOEXEC): Likewise.
1056 (__ASSUME_IN_NONBLOCK): Likewise.
1057 (__ASSUME_PIPE2): Likewise.
1058 (__ASSUME_EVENTFD2): Likewise.
1059 (__ASSUME_SIGNALFD4): Likewise.
1060 (__ASSUME_DUP3): Likewise.
1061 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1062 (__ASSUME_UTIMES): Likewise.
1063 (__ASSUME_O_CLOEXEC): Likewise.
1064 (__ASSUME_SOCK_CLOEXEC): Likewise.
1065 (__ASSUME_IN_NONBLOCK): Likewise.
1066 (__ASSUME_PIPE2): Likewise.
1067 (__ASSUME_EVENTFD2): Likewise.
1068 (__ASSUME_SIGNALFD4): Likewise.
1069 (__ASSUME_DUP3): Likewise.
1070 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1071 (__ASSUME_UTIMES): Likewise.
1072 (__ASSUME_O_CLOEXEC): Likewise.
1073 (__ASSUME_SOCK_CLOEXEC): Likewise.
1074 (__ASSUME_IN_NONBLOCK): Likewise.
1075 (__ASSUME_PIPE2): Likewise.
1076 (__ASSUME_EVENTFD2): Likewise.
1077 (__ASSUME_SIGNALFD4): Likewise.
1078 (__ASSUME_DUP3): Likewise.
1079 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1080 Likewise.
1081 (__ASSUME_UTIMES): Likewise.
1082 (__ASSUME_EVENTFD2): Likewise.
1083 (__ASSUME_SIGNALFD4): Likewise.
1084 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1085 (__ASSUME_O_CLOEXEC): Likewise.
1086 (__ASSUME_SOCK_CLOEXEC): Likewise.
1087 (__ASSUME_IN_NONBLOCK): Likewise.
1088 (__ASSUME_PIPE2): Likewise.
1089 (__ASSUME_EVENTFD2): Likewise.
1090 (__ASSUME_SIGNALFD4): Likewise.
1091 (__ASSUME_DUP3): Likewise.
1092 (__ASSUME_UTIMES): Undefine.
1093
1094 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1095 feclearexcept. Remove symbol versioning code.
1096 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1097 symbol versioning code.
1098 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1099 symbol versioning code.
1100 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1101 feupdateenv. Remove symbol versioning code.
1102 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1103 fegetexceptflag. Remove symbol versioning code.
1104 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1105 fesetexceptflag. Remove symbol versioning code.
1106 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1107 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1108 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1109 (__posix_fadvise64_l32): Remove prototype.
1110 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1111 code.
1112
1113 2014-05-13 Roland McGrath <roland@hack.frob.com>
1114
1115 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1116 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1117 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1118 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1119
1120 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1121
1122 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1123 current working directory
1124
1125 2014-05-13 Roland McGrath <roland@hack.frob.com>
1126
1127 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1128 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1129 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1130 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1131 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1132 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1133 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1134 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1135 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1136 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1137 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1138 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1139 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1140 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1141 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1142 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1143 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1144 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1146 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1147 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1148 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1150 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1151 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1152 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1154 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1155 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1156 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1157 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1158 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1159 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1160 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1161 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1162 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1163 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1164 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1165 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1166 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1167 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1168 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1169
1170 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1171 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1172
1173 * sysdeps/unix/sysv/linux/arm/Makefile
1174 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1175 Add rt-aeabi_unwind_cpp_pr1.
1176 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1177 Add nptl-aeabi_unwind_cpp_pr1.
1178 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1179 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1180 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1181 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1182 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1183 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1184
1185 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1186 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1187 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1188 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1189
1190 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1191 Deconditionalize the code that was previously under [RESET_PID].
1192 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1193
1194 * sysdeps/generic/exit-thread.h: New file.
1195 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1196 * include/unistd.h (__exit_thread): Remove declaration.
1197 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1198 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1199 * csu/libc-start.c: Include <exit-thread.h>.
1200 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1201 * nptl/pthread_create.c: Include <exit-thread.h>.
1202 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1203 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1204 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1205 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1206 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1207 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1208 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1209 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1210 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1211 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1212 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1213 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1214 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1215 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1216 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1217 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1218 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1219
1220 2014-05-13 Andreas Schwab <schwab@suse.de>
1221
1222 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1223
1224 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1225
1226 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1227 (__ASSUME_UTIMES): Do not condition on kernel version.
1228 (__ASSUME_PSELECT): Define unconditionally.
1229 (__ASSUME_PPOLL): Likewise.
1230 (__ASSUME_ATFCTS): Likewise.
1231 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1232 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1233 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1234 (__ASSUME_UTIMENSAT): Define unconditionally.
1235 (__ASSUME_PRIVATE_FUTEX): Likewise.
1236 (__ASSUME_FALLOCATE): Likewise.
1237 (__ASSUME_O_CLOEXEC): Likewise.
1238 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1239 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1240 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1241 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1242 (__ASSUME_IN_NONBLOCK): Likewise.
1243 (__ASSUME_PIPE2): Likewise.
1244 (__ASSUME_EVENTFD2): Likewise.
1245 (__ASSUME_SIGNALFD4): Likewise.
1246 (__ASSUME_DUP3): Likewise.
1247 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1248 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1249 (__ASSUME_AT_RANDOM): Likewise.
1250 (__ASSUME_PREADV): Likewise.
1251 (__ASSUME_PWRITEV): Likewise.
1252 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1253 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1254 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1255 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1256 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1257 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1258 (__ASSUME_O_CLOEXEC): Define unconditionally.
1259 (__ASSUME_PSELECT): Do not undefine conditionally.
1260 (__ASSUME_PPOLL): Likewise.
1261 (__ASSUME_ATFCTS): Likewise.
1262 (__ASSUME_SET_ROBUST_LIST): Likewise.
1263 (__ASSUME_UTIMENSAT): Likewise.
1264 (__ASSUME_FDATASYNC): Define unconditionally.
1265 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1266 (__ASSUME_SIGFRAME_V2): Likewise.
1267 )__ASSUME_EVENTFD2): Likewise.
1268 (__ASSUME_SIGNALFD4): Likewise.
1269 (__ASSUME_PSELECT): Do not undefine conditionally.
1270 (__ASSUME_PPOLL): Likewise.
1271 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1272 (__ASSUME_PSELECT): Define unconditionally.
1273 (__ASSUME_PPOLL): Likewise.
1274 (__ASSUME_O_CLOEXEC): Likewise.
1275 (__ASSUME_SOCK_CLOEXEC): Likewise.
1276 (__ASSUME_IN_NONBLOCK): Likewise.
1277 (__ASSUME_PIPE2): Likewise.
1278 (__ASSUME_EVENTFD2): Likewise.
1279 (__ASSUME_SIGNALFD4): Likewise.
1280 (__ASSUME_DUP3): Likewise.
1281 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1282 (__ASSUME_O_CLOEXEC): Likewise.
1283 (__ASSUME_SOCK_CLOEXEC): Likewise.
1284 (__ASSUME_IN_NONBLOCK): Likewise.
1285 (__ASSUME_PIPE2): Likewise.
1286 (__ASSUME_EVENTFD2): Likewise.
1287 (__ASSUME_SIGNALFD4): Likewise.
1288 (__ASSUME_DUP3): Likewise.
1289 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1290 (__ASSUME_EVENTFD2): Likewise.
1291 (__ASSUME_SIGNALFD4): Likewise.
1292 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1293
1294 2014-05-12 Andreas Schwab <schwab@suse.de>
1295
1296 [BZ #16932]
1297 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1298 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1299 than maximum RPC packet size.
1300 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1301 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1302 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1303 (_nss_nis_getservbyport_r): Likewise.
1304
1305 2014-05-12 Will Newton <will.newton@linaro.org>
1306
1307 * malloc/Makefile (tests): Add tst-mallopt.
1308 * malloc/tst-mallopt.c: New file.
1309
1310 2014-05-09 Roland McGrath <roland@hack.frob.com>
1311
1312 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1313 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1314
1315 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1316
1317 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1318 (tst-tlsmod6.so): Likewise.
1319
1320 2014-05-09 Roland McGrath <roland@hack.frob.com>
1321
1322 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1323
1324 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1325
1326 [BZ #16064]
1327 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1328 and <dl-procinfo.h>.
1329 (__fegetenv): Save SSE state in envp->__eip if supported.
1330 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1331 envp->__eip if supported.
1332 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1333 and <dl-procinfo.h>.
1334 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1335 __data_offset and __data_selector in environment to 0. Set SSE
1336 state if supported.
1337 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1338 test-fenv-sse.
1339 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1340 -mfpmath=sse.
1341 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1342
1343 2014-05-09 Will Newton <will.newton@linaro.org>
1344
1345 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1346 and libc_relro_required for ARM.
1347 * sysdeps/arm/preconfigure: Regenerate.
1348
1349 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1350 Stefan Liebler <stli@linux.vnet.ibm.com>
1351
1352 * config.make.in (enable-lock-elision): New Makefile variable.
1353 * configure.ac: Likewise.
1354 * configure: Regenerate.
1355 * sysdeps/s390/configure.ac:
1356 Add check for gcc transactions support.
1357 * sysdeps/s390/configure: Regenerate.
1358 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1359 Build elision files if enabled.
1360 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1361 Add lock elision support for s390.
1362 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1363 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1364 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1365 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1366 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1367 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1368 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1369 Likewise.
1370 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1371 Likewise.
1372 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1373 Likewise.
1374 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1375 Likewise.
1376 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1377 (__lll_timedlock_elision, __lll_lock_elision)
1378 (__lll_unlock_elision, __lll_trylock_elision)
1379 (lll_timedlock_elision, lll_lock_elision)
1380 (lll_unlock_elision, lll_trylock_elision): Add.
1381 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1382 (pthread_mutex_t): Add lock elision support for s390.
1383
1384 2014-05-14 Wilco <wdijkstr@arm.com>
1385
1386 * sysdeps/arm/fclrexcpt.c: Cleanup.
1387 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1388 * sysdeps/arm/feenablxcpt.c: Cleanup.
1389 * sysdeps/arm/fegetenv.c: Cleanup.
1390 * sysdeps/arm/fegetexcept.c: Cleanup.
1391 * sysdeps/arm/fegetround.c: Cleanup.
1392 * sysdeps/arm/feholdexcpt.c: Cleanup.
1393 * sysdeps/arm/fesetenv.c: Cleanup.
1394 * sysdeps/arm/fesetround.c: Cleanup.
1395 * sysdeps/arm/feupdateenv.c: Cleanup.
1396 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1397 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1398 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1399 * sysdeps/arm/ftestexcept.c: Cleanup.
1400 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1401 * sysdeps/arm/setfpucw.c: Cleanup.
1402
1403 2014-05-09 Will Newton <will.newton@linaro.org>
1404
1405 * sysdeps/arm/armv7/strcmp.S: New file.
1406 * NEWS: Mention addition of ARMv7 optimized strcmp.
1407
1408 2014-05-08 Roland McGrath <roland@hack.frob.com>
1409
1410 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1411 look for %.ac rather than %.in.
1412
1413 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1414 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1415 * sysdeps/mach/hurd/configure: Regenerated.
1416 * sysdeps/unix/sysv/linux/configure: Regenerated.
1417
1418 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1419
1420 2014-05-07 Steve Ellcey <sellcey@mips.com>
1421
1422 [BZ# 16922]
1423 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1424 (LONG_SUB): Ditto.
1425 (PTR_SUB): Ditto.
1426
1427 2014-05-07 Andreas Schwab <schwab@suse.de>
1428
1429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1430 when skipping over non-matching result from nscd.
1431
1432 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1433
1434 [BZ #16876]
1435 * nptl/sockperf.c (client): Check socket return value.
1436
1437 [BZ #16877]
1438 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1439 nscd security class.
1440
1441 2014-05-06 Roland McGrath <roland@hack.frob.com>
1442
1443 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1444 * sysdeps/arm/unwind.h: ... here.
1445
1446 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1447
1448 [BZ# 16916]
1449 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1450 Define.
1451
1452 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1453
1454 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1455 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1456 multiarch strncpy for PPC64.
1457 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1458 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1460 multiarch optimizations.
1461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1462 (__libc_ifunc_impl_list): Likewise.
1463 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1464 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1465 multiarch stpncpy for PPC64.
1466 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1467 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1468
1469 2014-05-06 Andreas Schwab <schwab@suse.de>
1470
1471 [BZ #16912]
1472 * gmon/mcount.c (_MCOUNT_DECL): Use
1473 atomic_compare_and_exchange_bool_acq instead of
1474 catomic_compare_and_exchange_bool_acq.
1475
1476 2014-05-05 Roland McGrath <roland@hack.frob.com>
1477
1478 * elf/Makefile (others, install-bin): Remove pldd.
1479 (pldd-modules): Variable removed.
1480 ($(objpfx)pldd): Target removed.
1481 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1482 (others, install-bin): Append pldd here.
1483 ($(objpfx)pldd): New target.
1484
1485 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1486 to 0, so the first #if test emitted later doesn't see it undefined.
1487 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1488 * sysdeps/gnu/errlist.c: Regenerated.
1489
1490 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1491
1492 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1493 [libc_hidden_builtin_def]: Define to empty value.
1494 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1495 [libc_hidden_builtin_def]: Likewise.
1496 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1497 [libc_hidden_builtin_def]: Likewise.
1498 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1499 [libc_hidden_builtin_def]: Likewise.
1500 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1501 __redirect_memcpy and define ifunc as default hidden symbol.
1502 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1503 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1504
1505 2014-05-04 Adam Conrad <adconrad@0c3.net>
1506
1507 * locale/iso-4217.def: Reintroduce XDR currency.
1508
1509 2014-05-04 Allan McRae <allan@archlinux.org>
1510
1511 * po/eo.po: Update Esperanto translation from translation project.
1512
1513 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1514
1515 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1516 and FEATURE_INDEX_MAX to 1.
1517 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1518
1519 2014-05-01 Steve Ellcey <sellcey@mips.com>
1520
1521 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1522 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1523 * iconvdata/big5.c (ONE_DIRECTION): Define.
1524 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1525 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1526 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1527 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1528 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1529 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1530 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1531 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1532 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1533 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1534 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1535 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1536 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1537 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1538 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1539 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1540 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1541 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1542 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1543 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1544 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1545 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1546 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1547 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1548 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1549 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1550 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1551 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1552 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1553 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1554 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1555 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1556 * iconvdata/johab.c (ONE_DIRECTION): Define.
1557 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1558 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1559 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1560 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1561 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1562 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1563 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1564 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1565 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1566 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1567
1568 2014-05-01 Roland McGrath <roland@hack.frob.com>
1569
1570 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1571 (_IO_JUMPS_OFFSET): Define to 0.
1572
1573 * nptl/sysdeps/pthread/bits/libc-lock.h
1574 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1575 (__libc_lock_define_initialized_recursive): Always define using
1576 initializer. Modern compilers treat uninitialized (implicit zero) and
1577 explicit zero initializers the same (i.e. put the datum in bss).
1578
1579 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1580
1581 * nscd/nscd-client.h: Include <string.h>.
1582
1583 2014-05-01 David S. Miller <davem@davemloft.net>
1584
1585 [BZ #16885]
1586 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1587 multiple zero bytes exist at the end of a string.
1588 Reported by Aurelien Jarno <aurelien@aurel32.net>
1589
1590 * string/test-strcmp.c (check): Add explicit test for situations where
1591 there are multiple zero bytes after the first.
1592
1593 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1594
1595 [BZ #16890]
1596 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1597 when compiling wprintf.
1598 * stdio-common/tstdiomisc.c (t3): New function.
1599 (main): Call it.
1600
1601 2014-05-01 Steve Ellcey <sellcey@mips.com>
1602
1603 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1604 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1605 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1606 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1607
1608 2014-05-01 Steve Ellcey <sellcey@mips.com>
1609
1610 * stdlib/longlong.h: Updated from GCC.
1611
1612 2014-05-01 Will Newton <will.newton@linaro.org>
1613 Bernard Ogden <bernie.ogden@linaro.org>
1614
1615 * NEWS: Update fixed bug list.
1616
1617 [BZ #15119]
1618 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1619
1620 2014-04-30 David S. Miller <davem@davemloft.net>
1621
1622 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1623 (libc_feholdexcept_setround_sparc_ctx): New function.
1624 (libc_fesetenv_sparc_ctx): Likewise.
1625 (libc_feupdateenv_sparc_ctx): Likewise.
1626 (libc_feholdsetround_sparc_ctx): Likewise.
1627 (libc_feholdexcept_setround_ctx): Define.
1628 (libc_feholdexcept_setroundf_ctx): Likewise.
1629 (libc_feholdexcept_setroundl_ctx): Likewise.
1630 (libc_fesetenv_ctx): Likewise.
1631 (libc_fesetenvf_ctx): Likewise.
1632 (libc_fesetenvl_ctx): Likewise.
1633 (libc_feupdateenv_ctx): Likewise.
1634 (libc_feupdateenvf_ctx): Likewise.
1635 (libc_feupdateenvl_ctx): Likewise.
1636 (libc_feresetround_ctx): Likewise.
1637 (libc_feresetroundf_ctx): Likewise.
1638 (libc_feresetroundl_ctx): Likewise.
1639 (libc_feholdsetround_ctx): Likewise.
1640 (libc_feholdsetroundf_ctx): Likewise.
1641 (libc_feholdsetroundl_ctx): Likewise.
1642
1643 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1644 with __USE_GNU instead of XOPEN cpp guards.
1645
1646 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1647 0.
1648
1649 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1650 with XOPEN cpp guards.
1651
1652 2014-04-30 Julian Brown <julian@codesourcery.com>
1653
1654 [BZ #16888]
1655 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1656 handling.
1657
1658 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1659
1660 [BZ #9894]
1661 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1662 Change to 2.6.32.
1663 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1664 * sysdeps/unix/sysv/linux/configure: Regenerated.
1665 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1666 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1667 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1668 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1669 * README: Update reference to required Linux kernel version.
1670 * manual/install.texi (Linux): Update reference to required Linux
1671 kernel headers version.
1672 * INSTALL: Regenerated.
1673
1674 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1675 header inclusion.
1676 [POSIX] (limits.h): Likewise.
1677 [POSIX] (math.h): Likewise.
1678 [POSIX] (sys/wait.h): Likewise.
1679 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1680 function.
1681 [POSIX] (stddef.h): Do not allow header inclusion.
1682
1683 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1684
1685 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1686
1687 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1688
1689 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1690 Return immediately after lll_futex_wake.
1691
1692 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1693
1694 [BZ #16791]
1695 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1696 structure.
1697 (datahead_init_pos): Call datahead_init_common early.
1698 (datahead_init_neg): Likewise.
1699
1700 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1701 datahead_init_neg): New functions.
1702 * nscd/aicache.c (addhstaiX): Use them.
1703 * nscd/grpcache.c (cache_addgr): Likewise.
1704 * nscd/hstcache.c (cache_addhst): Likewise.
1705 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1706 * nscd/netgroupcache.c (do_notfound): Likewise.
1707 (addgetnetgrentX): Likewise.
1708 (addinnetgrX): Likewise.
1709 * nscd/pwdcache.c (cache_addpw): Likewise.
1710 * nscd/servicescache.c (cache_addserv): Likewise.
1711
1712 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1713 Atsushi Onoe <atsushi@onoe.org>
1714
1715 [BZ #14308]
1716 [BZ #12994]
1717 [BZ #13651]
1718 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1719 one response is valid.
1720 * resolv/res_send.c (send_dg): Check for validity of other
1721 response if the current response is a referral.
1722
1723 2014-04-29 Steve Ellcey <sellcey@mips.com>
1724
1725 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1726
1727 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1728
1729 [BZ #16823]
1730 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1731 Always divide by positive zero when computing -Inf result.
1732 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1733 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1734
1735 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1736
1737 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1738 FPSCR if value do not change.
1739 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1740 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1741 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1742 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1743 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1744 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1745 function.
1746
1747 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1748
1749 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1750 * sysdeps/unix/sysv/linux/hppa: Move directory from
1751 ports/systeps/unix/sysv/linux/hppa.
1752 * README: Update listing for hppa-*-linux-gnu.
1753
1754 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1755
1756 [BZ #16754]
1757 * manual/stdio.texi (Hook functions): Fix types of stream hook
1758 functions.
1759 [BZ #16854]
1760 * socket/sys/socket.h: Fix typo in comment.
1761
1762 2014-04-28 Wilco <wdijkstr@arm.com>
1763
1764 * sysdeps/arm/fenv_private.h: New file.
1765 * sysdeps/arm/math_private.h: New file.
1766 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1767
1768 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1769
1770 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1771 with __int128_t.
1772 (La_x86_64_retval): Likewise.
1773
1774 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1775
1776 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1777 fpsr if value didn't change.
1778 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1779 to fpcr if value didn't change.
1780 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1781 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1782 fpsr or fpcr if value didn't change.
1783 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1784 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1785 fpcr if value didn't change.
1786 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1787 to fpsr if value didn't change.
1788
1789 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1790
1791 * nptl/tst-sem3.c: Use test-skeleton.c
1792 (main): Rename to do_test. Use return instead of
1793 exit.
1794 * nptl/tst-sem4.c: Use test-skeleton.c
1795 (main): Rename to do_test.
1796
1797 2014-04-22 David S. Miller <davem@davemloft.net>
1798
1799 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1800 (struct sigaction): New struct member __glibc_reserved0, change
1801 type of sa_flags to int.
1802
1803 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1804
1805 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1806 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1807
1808 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1809
1810 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1811 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1812
1813 2014-04-22 Will Newton <will.newton@linaro.org>
1814 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1815
1816 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1817 (__longjmp): Add longjmp and longjmp_target SystemTap
1818 probes.
1819 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1820 (__sigsetjmp): Add setjmp SystemTap probe.
1821
1822 2014-04-17 Carlos O'Donell <carlos@redhat.com>
1823
1824 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1825 match manual order.
1826
1827 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1828
1829 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1830
1831 * sysdeps/powerpc/fpu/fenv_private.h
1832 (libc_feholdexcept_setroundl_ctx): Define to
1833 libc_feholdexcept_setround_ppc_ctx.
1834 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1835 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1836 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1837 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1838
1839 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1840
1841 * sysdeps/aarch64/math-tests.h: New file.
1842
1843 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1844
1845 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1846 New.
1847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1848 Check and set bit_AVX2_Usable.
1849 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1850 macro.
1851 (bit_AVX2): Likewise.
1852 (index_AVX2_Usable): Likewise.
1853 (CPUID_AVX2): Likewise.
1854 (HAS_AVX2): Likewise.
1855
1856 2014-04-17 Will Newton <will.newton@linaro.org>
1857
1858 * manual/setjmp.texi (System V contexts): Add note that
1859 calling setcontext on a context created by a call to a
1860 signal handler is undefined. Update text to note that
1861 setcontext from a signal handler is possible but not
1862 recommended.
1863
1864 [BZ #16629]
1865 * stdlib/tst-setcontext.c: Include signal.h.
1866 (main): Check that the signal stack before and
1867 after swapcontext is the same.
1868
1869 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1870 Re-implement to restore registers in user code and avoid
1871 rt_sigreturn system call.
1872
1873 2014-04-17 Wilco <wdijkstr@arm.com>
1874
1875 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1876 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1877 * math/test-fenv.c: Skip exception trap tests on targets which only
1878 support non-stop mode.
1879
1880 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1881 Wilco Dijkstra <wilco.dijkstra@arm.com>
1882
1883 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1884 (libc_feholdsetround_aarch64_ctx)
1885 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1886 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1887 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1888 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1889 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1890 (libc_feresetround_noexl_ctx): Define.
1891
1892 2014-04-16 Richard Henderson <rth@redhat.com>
1893
1894 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1895
1896 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1897 unwind tables.
1898
1899 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1900 const from the non-libc, non-ldso copy.
1901
1902 * sysdeps/alpha/libm-test-ulps: Regenerate.
1903
1904 2014-04-16 Ian Bolton <ian.bolton@arm.com>
1905 Wilco Dijkstra <wilco.dijkstra@arm.com>
1906
1907 * sysdeps/aarch64/fpu/math_private.h: New file.
1908
1909 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1910
1911 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1912
1913 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1914
1915 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1916 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1917 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1918 Intel MPX bound registers before _dl_profile_fixup.
1919 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1920 registers after _dl_profile_fixup. Save and restore bound
1921 registers bnd0/bnd1 when calling _dl_call_pltexit.
1922 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1923 (LR_BND_OFFSET): Likewise.
1924 (LRV_BND0_OFFSET): Likewise.
1925 (LRV_BND1_OFFSET): Likewise.
1926
1927 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1928
1929 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1930 to...
1931 * sysdeps/mach/hurd/i386/tls.h: ... here.
1932 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1933 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1934 fields.
1935
1936 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1937
1938 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1939
1940 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1941
1942 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1943
1944 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1945
1946 [BZ #14770]
1947 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1948 * sysdeps/s390/configure: Regenerate.
1949
1950 [BZ #16824]
1951 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1952 Set round-to-nearest internally to reduce error accumulation.
1953
1954 2014-04-16 Alan Modra <amodra@gmail.com>
1955
1956 [BZ #16740]
1957 [BZ #16619]
1958 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1959 * math/libm-test.inc (frexp_test_data): Add tests.
1960 * NEWS: Update fixed bug list.
1961
1962 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1963
1964 * benchtests/Makefile: Depend on libraries in build directory.
1965 (bench-math): Separate out math tests.
1966 (bench-pthread): Separate out pthread tests.
1967 (bench): Include math and pthread tests.
1968
1969 2014-04-14 Carlos O'Donell <carlos@redhat.com>
1970
1971 [BZ #16831]
1972 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1973 _dl_debug_initialize.
1974
1975 * configure.ac: Remove SELinux header check.
1976 * configure: Regenerate.
1977 * nscd/selinux.c (perms): Array of const char* to permission names.
1978 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1979 default policy. Call string_to_security_class and string_to_av_perm to
1980 translate strings. Enforce default policy and call avs_has_perm with
1981 results of translated strings.
1982
1983 2014-04-13 David S. Miller <davem@davemloft.net>
1984
1985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1986
1987 2014-04-12 Allan McRae <allan@archlinux.org>
1988
1989 [BZ #16838]
1990 * manual/string.texi (Collation Functions): Fix qsort argument
1991 order in example.
1992 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1993
1994 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1995
1996 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1997 Make the test a no-op if there are no exceptions defined.
1998
1999 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2000
2001 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2002 enable-hardcoded-path-in-tests
2003
2004 2014-04-11 Will Newton <will.newton@linaro.org>
2005
2006 * benchtests/Makefile (extra-objs): Add json-lib.o.
2007 (bench-func): Tidy up JSON output.
2008 * benchtests/bench-skeleton.c: Include json-lib.h.
2009 (main): Use JSON library functions to do output of
2010 benchmark results.
2011 * benchtests/bench-timing-type.c (main): Output the
2012 timing type simply, leaving formatting to the user.
2013 * benchtests/json-lib.c: New file.
2014 * benchtests/json-lib.h: Likewise.
2015
2016 2014-04-11 Torvald Riegel <triegel@redhat.com>
2017
2018 [BZ #15215]
2019 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2020 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2021 memory barriers. Add comments.
2022 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2023 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2024 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2025 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2026 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2027 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2028
2029 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2030
2031 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2032 * sysdeps/s390/s390-64/configure.ac: ... this ...
2033 * sysdeps/s390/configure.ac: ... to here.
2034 * sysdeps/s390/s390-32/configure: Delete file.
2035 * sysdeps/s390/s390-64/configure: Delete file.
2036 * sysdeps/s390/configure: Regenerate.
2037
2038 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2039
2040 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2041
2042 2014-04-11 Will Newton <will.newton@linaro.org>
2043
2044 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2045 to zero if it is not defined elsewhere. (mtrim): Test
2046 the value of MALLOC_DEBUG with #if rather than #ifdef.
2047
2048 2014-04-10 Torvald Riegel <triegel@redhat.com>
2049
2050 * benchtests/pthread_once-inputs: New file.
2051 * benchtests/pthread_once-source.c: New file.
2052 * benchtests/README: Update documentation.
2053
2054 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2055 H.J. Lu <hongjiu.lu@intel.com>
2056
2057 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2058 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2059 * sysdeps/x86_64/configure: Regenerated.
2060 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2061 macro.
2062 (REGISTER_SAVE_RAX): Likewise.
2063 (REGISTER_SAVE_RCX): Likewise.
2064 (REGISTER_SAVE_RDX): Likewise.
2065 (REGISTER_SAVE_RSI): Likewise.
2066 (REGISTER_SAVE_RDI): Likewise.
2067 (REGISTER_SAVE_R8): Likewise.
2068 (REGISTER_SAVE_R9): Likewise.
2069 (REGISTER_SAVE_BND0): Likewise.
2070 (REGISTER_SAVE_BND1): Likewise.
2071 (REGISTER_SAVE_BND2): Likewise.
2072 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2073 bound registers when calling _dl_fixup.
2074
2075 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2076
2077 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2078 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2079 of its definition.
2080 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2081 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2082 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2083 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2084 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2085 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2086 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2087
2088 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2089
2090 [BZ #15514]
2091 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2092 pathconf(_PC_NAME_MAX).
2093
2094 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2095
2096 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2097 Remove macro usage.
2098 (__PTHREAD_SPINS): Move definition to ...
2099 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2100 (__PTHREAD_SPINS): ... here.
2101 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2102 (__PTHREAD_SPIN): Likewise.
2103 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2104 (__PTHREAD_SPIN): Likewise.
2105 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2106 (__PTHREAD_SPIN): Likewise.
2107 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2108 (__PTHREAD_SPIN): Likewise.
2109 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2110 (__PTHREAD_SPIN): Likewise.
2111 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2112 (__PTHREAD_SPIN): Likewise.
2113 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2114 (__PTHREAD_SPIN): Likewise.
2115 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2116 (__PTHREAD_SPIN): Likewise.
2117 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2118 (__PTHREAD_SPIN): Likewise.
2119 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2120 (__PTHREAD_SPIN): Likewise.
2121 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2122 (__PTHREAD_SPIN): Likewise.
2123 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2124 (__PTHREAD_SPIN): Likewise.
2125
2126 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2127 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2128 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2129 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2130 imply folder.
2131 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2132 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2133 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2134 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2135 correct imply path.
2136 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2137 strlen symbol for non multi-arch builds.
2138 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2139 missing hidden_def and weak_alias.
2140
2141 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2142
2143 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2144
2145 2014-04-07 Will Newton <will.newton@linaro.org>
2146
2147 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2148 and contents. [!_LIBC] Remove #ifndef and contents.
2149 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2150 * string/memccpy.c (__memccpy): Use ANSI prototype.
2151 * string/memfrob.c (memfrob): Likewise.
2152 * string/strcoll.c (STRCOLL): Likewise.
2153 * string/strlen.c (strlen): Likewise.
2154 * string/strtok.c (STRTOK): Likewise.
2155 * string/strcat.c: Remove unused #include of memcopy.h.
2156 (strcat): Use ANSI prototype.
2157 * string/strchr.c: Remove unused #include of memcopy.h.
2158 (strchr): Use ANSI prototype.
2159 * string/strcmp.c: Remove unused #include of memcopy.h.
2160 (strcmp): Use ANSI prototype.
2161 * string/strcpy.c: Remove unused #include of memcopy.h.
2162 (strcpy): Use ANSI prototype.
2163
2164 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2165
2166 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2167 * config.make.in (config-extra-cppflags): Set it from
2168 libc_extra_cppflags.
2169 * configure.ac (libc_extra_cflags): Make it accumulate over
2170 configure fragments.
2171 (libc_extra_cppflags): New flag.
2172 * configure. Regenerate.
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2174 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2175 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2177
2178 [BZ #16815]
2179 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2180 result for FE_DOWNWARD rounding mode.
2181 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2182 Likewise.
2183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2184
2185 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2186
2187 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2188 in function argument name.
2189
2190 2014-04-03 David Svoboda <svoboda@cert.org>
2191
2192 [BZ #5666]
2193 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2194 explicitly.
2195
2196 2014-04-03 Roland McGrath <roland@hack.frob.com>
2197
2198 * elf/dl-unmap-segments.h: New file.
2199 * sysdeps/generic/ldsodefs.h
2200 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2201 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2202 * elf/dl-fptr.c: Likewise.
2203 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2204 * sysdeps/aarch64/tlsdesc.c: Likewise.
2205 * sysdeps/arm/tlsdesc.c: Likewise.
2206 * sysdeps/i386/tlsdesc.c: Likewise.
2207 * sysdeps/tile/dl-runtime.c: Likewise.
2208 * sysdeps/x86_64/tlsdesc.c: Likewise.
2209 * elf/dl-load.h: New file.
2210 * elf/dl-load.c: Include it.
2211 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2212 Macros moved to dl-load.h.
2213 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2214 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2215 Use _dl_unmap_segments in place of __munmap.
2216 Break out segment-mapping loop into ...
2217 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2218
2219 2014-04-03 Will Newton <will.newton@linaro.org>
2220
2221 * elf/dl-lookup.c (do_lookup_x): Remove comment
2222 referring to nested function and move variable
2223 declarations down to before first use.
2224
2225 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2226
2227 [BZ #16799]
2228 [BZ #16800]
2229 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2230 with 0 numerator.
2231 * math/s_catanf.c (__catanf): Likewise.
2232 * math/s_catanh.c (__catanh): Likewise.
2233 * math/s_catanhf.c (__catanhf): Likewise.
2234 * math/s_catanhl.c (__catanhl): Likewise.
2235 * math/s_catanl.c (__catanl): Likewise.
2236 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2237 by positive zero when computing -Inf result.
2238 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2239 (catanh_test): Likewise.
2240 * sysdeps/i386/fpu/libm-test-ulps: Update.
2241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2242
2243 [BZ #16789]
2244 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2245 instead of using underflowing value in computing result.
2246 * math/s_clog10.c (__clog10): Likewise.
2247 * math/s_clog10f.c (__clog10f): Likewise.
2248 * math/s_clog10l.c (__clog10l): Likewise.
2249 * math/s_clogf.c (__clogf): Likewise.
2250 * math/s_clogl.c (__clogl): Likewise.
2251 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2252 (clog10_test): Likewise.
2253 * sysdeps/i386/fpu/libm-test-ulps: Update.
2254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2255
2256 2014-04-02 Alan Modra <amodra@gmail.com>
2257
2258 [BZ #16739]
2259 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2260 output when value is near a power of two. Use int64_t for lx and
2261 remove casts. Use decimal rather than hex exponent constants.
2262 Don't use long double multiplication when double will suffice.
2263 * math/libm-test.inc (nextafter_test_data): Add tests.
2264 * NEWS: Add 16739 and 16786 to bug list.
2265
2266 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2267
2268 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2269
2270 2014-04-01 Will Newton <will.newton@linaro.org>
2271
2272 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2273 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2274
2275 2014-04-01 Florian Weimer <fweimer@redhat.com>
2276
2277 [BZ #13347]
2278 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2279 * nptl/tst-setuid2.c: New file.
2280 * nptl/Makefile (xtests): Add tst-setuid2.
2281
2282 2014-04-01 Alan Modra <amodra@gmail.com>
2283
2284 [BZ #16786]
2285 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2286
2287 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2288
2289 [BZ #6803]
2290 [BZ #6804]
2291 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2292 set errno as appropriate.
2293 * math/w_scalbf.c (__scalbf): Likewise.
2294 * math/w_scalbl.c (__scalbl): Likewise.
2295 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2296 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2297 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2298 Add more NaN tests.
2299
2300 [BZ #16349]
2301 * math/w_atan2.c: Include <errno.h>.
2302 (__atan2): Set errno for result underflowing to zero.
2303 * math/w_atan2f.c: Include <errno.h>.
2304 (__atan2f): Set errno for result underflowing to zero.
2305 * math/w_atan2l.c: Include <errno.h>.
2306 (__atan2l): Set errno for result underflowing to zero.
2307 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2308 tests.
2309 * math/auto-libm-test-out: Regenerated.
2310
2311 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2312
2313 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2314 Encode instruction correctly in little endian.
2315 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2316 Likewise.
2317 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2318 Likewise.
2319 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2320 Likewise.
2321 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2322 Likewise.
2323
2324 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2325
2326 [BZ #9894]
2327 * sysdeps/unix/sysv/linux/kernel-features.h
2328 [__sparc__ && !__arch64__ && !__sparc_v9__]
2329 (__ASSUME_SET_ROBUST_LIST): Do not define.
2330 [__sparc__ && !__arch64__ && !__sparc_v9__]
2331 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2332 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2333 Likewise.
2334 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2335 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2336 (__ASSUME_REQUEUE_PI): Likewise.
2337 (__ASSUME_SET_ROBUST_LIST): Likewise.
2338 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2339 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2340 Undefine.
2341 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2342 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2343 Likewise.
2344 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2345 Likewise.
2346 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2347 Likewise.
2348 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2349 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2350 Undefine.
2351 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2352 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2353 Likewise.
2354
2355 [BZ #16648]
2356 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2357 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2358 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2359
2360 2014-03-31 Will Newton <will.newton@linaro.org>
2361
2362 * benchtests/Makefile (bench): Add ffs and ffsll to list
2363 of tests.
2364 * benchtests/ffs-inputs: New file.
2365 * benchtests/ffsll-inputs: Likewise.
2366
2367 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2368
2369 [BZ #16770]
2370 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2371 too large before casting to int.
2372 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2373 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2374 * math/libm-test.inc (scalb_test_data): Add more tests.
2375
2376 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2377
2378 * benchtests/Makefile (DETAILED_OPT): New make option.
2379 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2380 set.
2381 * benchtests/bench-skeleton.c: Include stdbool.h.
2382 (main): Store and print timings per input.
2383 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2384 member to each argument value.
2385 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2386 (_print_arg_data): Initialize per-input timing to 0.
2387
2388 * benchtests/Makefile (timing-type): New binary.
2389 (bench-clean): Also remove bench-timing-type.
2390 (bench): New target for timing-type.
2391 (bench-func): Print output in JSON format.
2392 * benchtests/bench-skeleton.c (main): Print output in JSON
2393 format.
2394 * benchtests/bench-timing-type.c: New file.
2395 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2396 (TIMING_PRINT_STATS): Remove.
2397 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2398 name separately.
2399
2400 * benchtests/bench-modf.c: Remove.
2401 * benchtests/modf-inputs: New inputs file.
2402
2403 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2404
2405 [BZ #16362]
2406 * math/s_clog10.c (M_PI_LOG10E): New macro.
2407 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2408 imaginary parts are 0.
2409 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2410 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2411 imaginary parts are 0.
2412 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2413 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2414 imaginary parts are 0.
2415 * math/libm-test.inc (clog10_test_data): Update expected results
2416 for when real and imaginary parts are 0.
2417
2418 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2419
2420 * elf/dl-load.c: Finish conversion of __builtin_expect into
2421 __glibc_{un}likely.
2422
2423 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2424
2425 [BZ #16348]
2426 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2427 1+x for argument with exponent below -67.
2428 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2429 Likewise.
2430 * math/auto-libm-test-in: Add more tests of exp.
2431 * math/auto-libm-test-out: Regenerated.
2432
2433 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2434
2435 [BZ #16759]
2436 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2437 (nscd_getnetgrent): Use it.
2438
2439 [BZ #16760]
2440 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2441 of stpcpy.
2442
2443 2014-03-27 Andi Kleen <ak@linux.intel.com>
2444
2445 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2446 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2447 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2448 (lll_robust_unlock): Remove out of line section. Use cfi
2449 intrinsics.
2450 (LLL_STUB_UNWIND_INFO*): Remove.
2451 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2452 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2453 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2454 (lll_robust_unlock): Remove out of line section. Use cfi
2455 intrinsics.
2456 (LLL_STUB_UNWIND_INFO*): Remove.
2457
2458 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2459
2460 [BZ #16758]
2461 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2462 blank values.
2463
2464 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2465
2466 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2467
2468 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2469
2470 [BZ #16198]
2471 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2472 fnstenv.
2473 * math/test-fenv-preserve.c: New file.
2474 * math/Makefile (tests): Add test-fenv-preserve.
2475
2476 2014-03-26 Will Newton <will.newton@linaro.org>
2477
2478 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2479
2480 2014-03-25 Roland McGrath <roland@hack.frob.com>
2481
2482 * scripts/versionlist.awk: Partition the version sets and emit all
2483 GLIBC_* (sorted) before all others (sorted).
2484
2485 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2486
2487 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2488 GLIBC_2.2.5 version.
2489
2490 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2491
2492 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2493 calls.
2494
2495 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2496 previous change.
2497
2498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2499
2500 2014-03-25 Andreas Schwab <schwab@suse.de>
2501
2502 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2503 label to be used after in6ailist is initialized.
2504
2505 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2506
2507 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2508 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2509
2510 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2511
2512 [BZ #16357]
2513 [BZ #16599]
2514 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2515 min_plus_half.
2516 (fp_formats): Update initializers.
2517 (init_fp_formats): Initialize new field.
2518 (output_for_one_input_case): Allow underflow for results up to
2519 min_plus_half.
2520 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2521 * math/auto-libm-test-in: Don't mark some underflows from asin and
2522 atanh as spurious.
2523 * math/auto-libm-test-out: Regenerated.
2524 * sysdeps/i386/fpu/libm-test-ulps: Update.
2525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2526
2527 2014-03-25 Andreas Schwab <schwab@suse.de>
2528
2529 * libio/Makefile (tst-ftell-partial-wide-ENV)
2530 (tst-ftell-active-handler-ENV): Define.
2531
2532 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2533
2534 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2535
2536 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2537
2538 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2539
2540 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2541
2542 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2543 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2544 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2545
2546 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2547
2548 [BZ #16634]
2549 * elf/dl-load.c (open_verify): Add mode parameter.
2550 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2551 (open_path): Change from boolean 'secure' to complete flag 'mode'
2552 (_dl_map_object): Adjust.
2553 * elf/Makefile (tests): Add tst-dlopen-aout.
2554 * elf/tst-dlopen-aout.c: New test.
2555
2556 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2557
2558 [BZ #16714]
2559 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2560 (struct stat): Rename member pad0 to __glibc_reserved0.
2561
2562 [BZ #16712]
2563 * sysdeps/s390/s390-32/bits/wordsize.h
2564 (__WORDSIZE32_SIZE_ULONG): New define.
2565 * sysdeps/s390/s390-64/bits/wordsize.h
2566 (__WORDSIZE32_SIZE_ULONG): Likewise.
2567 * sysdeps/generic/stdint.h (SIZE_MAX):
2568 Define as UL if __WORDSIZE32_SIZE_ULONG.
2569
2570 [BZ #16713]
2571 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2572 (__glibc_reserved0): New variable.
2573 (sa_flags): Change type to int.
2574
2575 * posix/Makefile (before-compile): Use += before-compile instead
2576 of a :=.
2577
2578 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2579 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2580
2581 2014-03-20 Andreas Schwab <schwab@suse.de>
2582
2583 [BZ #16743]
2584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2585 non-matching result from nscd.
2586
2587 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2588
2589 * scripts/bench.py: Moved to ...
2590 * benchtests/scripts/bench.py: ... here.
2591 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2592
2593 2014-03-24 Andreas Schwab <schwab@suse.de>
2594
2595 [BZ #16002]
2596 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2597 alloca_account and account alloca use for struct in6ailist.
2598
2599 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2600
2601 [BZ #16284]
2602 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2603 rounding mode to recompute results that overflow to infinity or
2604 underflow to zero.
2605 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2606 bug 16284.
2607 * math/auto-libm-test-out: Regenerated.
2608 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2609 (ccosh_test): Likewise.
2610 (csin_test_data): Use plus_oflow.
2611 (csin_test): Use ALL_RM_TEST.
2612 (csinh_test_data): Use plus_oflow.
2613 (csinh_test): Use ALL_RM_TEST.
2614 * sysdeps/i386/fpu/libm-test-ulps: Update.
2615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2616
2617 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2618
2619 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2620 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2621 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2622
2623 [BZ #16731]
2624 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2625 when x - 1 is zero.
2626 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2627 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2628 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2629 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2630 argument is 1.
2631 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2632 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2633 zero.
2634 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2635 * sysdeps/i386/fpu/libm-test-ulps: Update.
2636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2637
2638 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2639
2640 * scripts/bench.pl: Remove file.
2641 * scripts/bench.py: New benchmark script.
2642 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2643 * benchtests/README: Mention python dependency.
2644 * scripts/pylintrc: New file.
2645 * scripts/pylint: New file.
2646
2647 * bits/mathdef.h: Use #ifdef instead of #if.
2648 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2649 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2650 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2651 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2652 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2653 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2654
2655 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2656 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2657
2658 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2660 and strpbrk-ppc64 objects.
2661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2662 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2663 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2664 multiarch strpbrk for POWER7.
2665 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2666 multiarch strpbrk for PPC64.
2667 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2668 ifunc selector.
2669 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2670 strpbrk for POWER7.
2671
2672 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2673
2674 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2675 (atan_test): Likewise.
2676 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2677 (atanh_test): Use ALL_RM_TEST.
2678 (atan2_test_data): Likewise.
2679 (cabs_test): Likewise.
2680 (cacosh_test): Likewise.
2681 (carg_test): Likewise.
2682 (casin_test): Likewise.
2683 (casinh_test): Likewise.
2684 (cbrt_test): Likewise.
2685 (csqrt_test): Likewise.
2686 (erf_test): Likewise.
2687 (erfc_test): Likewise.
2688 (pow10_test): Likewise.
2689 (exp2_test): Likewise.
2690 (hypot_test): Likewise.
2691 (j0_test): Likewise.
2692 (j1_test): Likewise.
2693 (lgamma_test): Likewise.
2694 (gamma_test): Likewise.
2695 (sincos_test): Likewise.
2696 (tanh_test): Likewise.
2697 (y0_test): Likewise.
2698 (y1_test): Likewise.
2699 * sysdeps/i386/fpu/libm-test-ulps: Update.
2700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2701
2702 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2703
2704 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2706 and strcspn-ppc64 objects.
2707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2708 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2709 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2710 multiarch strcspn for POWER7.
2711 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2712 multiarch strcspn for PPC64.
2713 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2714 ifunc selector.
2715 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2716 strcspn for POWER7.
2717
2718 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2719
2720 * math/gen-libm-test.pl (generate_testfile): Expect only function
2721 name as argument to AUTO_TESTS_* and pass results for all rounding
2722 modes to parse_args.
2723 (parse_auto_input): Separate inputs of automatic tests from
2724 outputs before storing in %auto_tests.
2725 * math/libm-test.inc (acos_test_data): Update call to
2726 AUTO_TESTS_f_f.
2727 (acos_test): Use ALL_RM_TEST.
2728 (acos_tonearest_test_data): Remove.
2729 (acos_test_tonearest): Likewise.
2730 (acos_towardzero_test_data): Likewise.
2731 (acos_test_towardzero): Likewise.
2732 (acos_downward_test_data): Likewise.
2733 (acos_test_downward): Likewise.
2734 (acos_upward_test_data): Likewise.
2735 (acos_test_upward): Likewise.
2736 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2737 (asin_test_data): Likewise.
2738 (asin_test): Use ALL_RM_TEST.
2739 (asin_tonearest_test_data): Remove.
2740 (asin_test_tonearest): Likewise.
2741 (asin_towardzero_test_data): Likewise.
2742 (asin_test_towardzero): Likewise.
2743 (asin_downward_test_data): Likewise.
2744 (asin_test_downward): Likewise.
2745 (asin_upward_test_data): Likewise.
2746 (asin_test_upward): Likewise.
2747 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2748 (atan_test_data): Likewise.
2749 (atanh_test_data): Likewise.
2750 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2751 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2752 (carg_test_data): Likewise.
2753 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2754 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2755 (ccosh_test_data): Likewise.
2756 (cexp_test_data): Likewise.
2757 (clog_test_data): Likewise.
2758 (clog10_test_data): Likewise.
2759 (cos_test_data): Update call to AUTO_TESTS_f_f.
2760 (cos_test): Use ALL_RM_TEST.
2761 (cos_tonearest_test_data): Remove.
2762 (cos_test_tonearest): Likewise.
2763 (cos_towardzero_test_data): Likewise.
2764 (cos_test_towardzero): Likewise.
2765 (cos_downward_test_data): Likewise.
2766 (cos_test_downward): Likewise.
2767 (cos_upward_test_data): Likewise.
2768 (cos_test_upward): Likewise.
2769 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2770 (cosh_test): Use ALL_RM_TEST.
2771 (cosh_tonearest_test_data): Remove.
2772 (cosh_test_tonearest): Likewise.
2773 (cosh_towardzero_test_data): Likewise.
2774 (cosh_test_towardzero): Likewise.
2775 (cosh_downward_test_data): Likewise.
2776 (cosh_test_downward): Likewise.
2777 (cosh_upward_test_data): Likewise.
2778 (cosh_test_upward): Likewise.
2779 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2780 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2781 (ctan_test_data): Likewise.
2782 (ctan_test): Use ALL_RM_TEST.
2783 (ctan_tonearest_test_data): Remove.
2784 (ctan_test_tonearest): Likewise.
2785 (ctan_towardzero_test_data): Likewise.
2786 (ctan_test_towardzero): Likewise.
2787 (ctan_downward_test_data): Likewise.
2788 (ctan_test_downward): Likewise.
2789 (ctan_upward_test_data): Likewise.
2790 (ctan_test_upward): Likewise.
2791 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2792 (ctanh_test): Use ALL_RM_TEST.
2793 (ctanh_tonearest_test_data): Remove.
2794 (ctanh_test_tonearest): Likewise.
2795 (ctanh_towardzero_test_data): Likewise.
2796 (ctanh_test_towardzero): Likewise.
2797 (ctanh_downward_test_data): Likewise.
2798 (ctanh_test_downward): Likewise.
2799 (ctanh_upward_test_data): Likewise.
2800 (ctanh_test_upward): Likewise.
2801 (erf_test_data): Update call to AUTO_TESTS_f_f.
2802 (erfc_test_data): Likewise.
2803 (exp_test_data): Likewise.
2804 (exp_test): Use ALL_RM_TEST.
2805 (exp_tonearest_test_data): Remove.
2806 (exp_test_tonearest): Likewise.
2807 (exp_towardzero_test_data): Likewise.
2808 (exp_test_towardzero): Likewise.
2809 (exp_downward_test_data): Likewise.
2810 (exp_test_downward): Likewise.
2811 (exp_upward_test_data): Likewise.
2812 (exp_test_upward): Likewise.
2813 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2814 (exp10_test): Use ALL_RM_TEST.
2815 (exp10_tonearest_test_data): Remove.
2816 (exp10_test_tonearest): Likewise.
2817 (exp10_towardzero_test_data): Likewise.
2818 (exp10_test_towardzero): Likewise.
2819 (exp10_downward_test_data): Likewise.
2820 (exp10_test_downward): Likewise.
2821 (exp10_upward_test_data): Likewise.
2822 (exp10_test_upward): Likewise.
2823 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2824 (expm1_test_data): Likewise.
2825 (expm1_test): Use ALL_RM_TEST.
2826 (expm1_tonearest_test_data): Remove.
2827 (expm1_test_tonearest): Likewise.
2828 (expm1_towardzero_test_data): Likewise.
2829 (expm1_test_towardzero): Likewise.
2830 (expm1_downward_test_data): Likewise.
2831 (expm1_test_downward): Likewise.
2832 (expm1_upward_test_data): Likewise.
2833 (expm1_test_upward): Likewise.
2834 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2835 (fma_test): Use ALL_RM_TEST.
2836 (fma_towardzero_test_data): Remove.
2837 (fma_test_towardzero): Likewise.
2838 (fma_downward_test_data): Likewise.
2839 (fma_test_downward): Likewise.
2840 (fma_upward_test_data): Likewise.
2841 (fma_test_upward): Likewise.
2842 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2843 (j0_test_data): Update call to AUTO_TESTS_f_f.
2844 (j1_test_data): Likewise.
2845 (jn_test_data): Update call to AUTO_TESTS_if_f.
2846 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2847 (log_test_data): Update call to AUTO_TESTS_f_f.
2848 (log10_test_data): Likewise.
2849 (log1p_test_data): Likewise.
2850 (log2_test_data): Likewise.
2851 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2852 (pow_tonearest_test_data): Likewise.
2853 (sin_test_data): Update call to AUTO_TESTS_f_f.
2854 (sin_test): Use ALL_RM_TEST.
2855 (sin_tonearest_test_data): Remove.
2856 (sin_test_tonearest): Likewise.
2857 (sin_towardzero_test_data): Likewise.
2858 (sin_test_towardzero): Likewise.
2859 (sin_downward_test_data): Likewise.
2860 (sin_test_downward): Likewise.
2861 (sin_upward_test_data): Likewise.
2862 (sin_test_upward): Likewise.
2863 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2864 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2865 (sinh_test): Use ALL_RM_TEST.
2866 (sinh_tonearest_test_data): Remove.
2867 (sinh_test_tonearest): Likewise.
2868 (sinh_towardzero_test_data): Likewise.
2869 (sinh_test_towardzero): Likewise.
2870 (sinh_downward_test_data): Likewise.
2871 (sinh_test_downward): Likewise.
2872 (sinh_upward_test_data): Likewise.
2873 (sinh_test_upward): Likewise.
2874 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2875 (sqrt_test): Use ALL_RM_TEST.
2876 (sqrt_tonearest_test_data): Remove.
2877 (sqrt_test_tonearest): Likewise.
2878 (sqrt_towardzero_test_data): Likewise.
2879 (sqrt_test_towardzero): Likewise.
2880 (sqrt_downward_test_data): Likewise.
2881 (sqrt_test_downward): Likewise.
2882 (sqrt_upward_test_data): Likewise.
2883 (sqrt_test_upward): Likewise.
2884 (tan_test_data): Update call to AUTO_TESTS_f_f.
2885 (tan_test): Use ALL_RM_TEST.
2886 (tan_tonearest_test_data): Remove.
2887 (tan_test_tonearest): Likewise.
2888 (tan_towardzero_test_data): Likewise.
2889 (tan_test_towardzero): Likewise.
2890 (tan_downward_test_data): Likewise.
2891 (tan_test_downward): Likewise.
2892 (tan_upward_test_data): Likewise.
2893 (tan_test_upward): Likewise.
2894 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2895 (tgamma_test_data): Likewise.
2896 (y0_test_data): Likewise.
2897 (y1_test_data): Likewise.
2898 (yn_test_data): Update call to AUTO_TESTS_if_f.
2899 (main): Do not call removed functions.
2900
2901 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2902
2903 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2904 (ldexp_test_data): Remove.
2905 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2906 scalbn_test_data.
2907 (scalb_test): Use ALL_RM_TEST.
2908
2909 2014-03-19 Andreas Schwab <schwab@suse.de>
2910
2911 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2912
2913 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2914
2915 [BZ #16649]
2916 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2917 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2918 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2919 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2920 (__ASSUME_PREADV): Undefine.
2921 (__ASSUME_PWRITEV): Likewise.
2922
2923 2014-03-18 Roland McGrath <roland@hack.frob.com>
2924
2925 * bits/mman-linux.h: Add comment about non-Linux use.
2926 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2927 bits/mman-linux.h resting place.
2928
2929 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2930 * bits/mman-linux.h: ... here.
2931
2932 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2933
2934 * conform/conformtest.pl: Add standard definition when calling C
2935 preprocessor on data files.
2936 (checknamespace): Remove unused variable.
2937
2938 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2939
2940 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2941 minus_oflow, plus_uflow and minus_uflow in expected results.
2942 * math/libm-test.inc (scalbn_test_data): Add more tests of
2943 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2944 minus_uflow.
2945 (scalbn_test): Use ALL_RM_TEST.
2946 (scalbln_test_data): Add more tests of negative arguments. Use
2947 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2948 (scalbln_test): Use ALL_RM_TEST.
2949
2950 2014-03-18 Roland McGrath <roland@hack.frob.com>
2951
2952 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2953
2954 2014-03-18 Will Newton <will.newton@linaro.org>
2955
2956 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2957 inaccurate comment.
2958
2959 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2960
2961 * Makerules [!subdir] (check-abi): Exit with error status if a
2962 test failed.
2963
2964 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2965
2966 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2967 for rint. Include results for all rounding modes.
2968 (nearbyint_test): Use ALL_RM_TEST.
2969 (rint_test_data): Include all tests used for nearbyint.
2970
2971 2014-03-17 Will Newton <will.newton@linaro.org>
2972
2973 * nptl/sysdeps/pthread/pthread.h: Revert previous
2974 change.
2975
2976 * sysdeps/generic/ldsodefs.h: Revert previous
2977 change.
2978
2979 * libio/genops.c: Revert previous change.
2980 * libio/libioP.h: Likewise.
2981 * stdio-common/vfprintf.c: Likewise.
2982
2983 * sysdeps/generic/math_private.h: Revert previous
2984 change.
2985
2986 * sysdeps/generic/math_private.h: Check whether
2987 HAVE_RM_CTX is defined with #ifdef rather
2988 than #if.
2989
2990 * argp/argp-fmtstream.h: Check whether
2991 __STRICT_ANSI__ is defined with #ifdef rather
2992 than #if.
2993 * argp/argp.h: Likewise.
2994
2995 * libio/genops.c: Check whether
2996 _IO_JUMPS_OFFSET is defined with #ifdef rather
2997 than #if.
2998 * libio/libioP.h: Likewise.
2999 * stdio-common/vfprintf.c: Likewise.
3000
3001 * sysdeps/generic/ldsodefs.h: Check whether
3002 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3003 than #if.
3004
3005 * nptl/sysdeps/pthread/pthread.h: Check
3006 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3007 its value.
3008
3009 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3010
3011 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3012 setting O_APPEND.
3013 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3014 test case.
3015
3016 [BZ #16680]
3017 * libio/fileops.c (_IO_file_open): Seek to end of file but
3018 don't cache the offset.
3019 (get_file_offset): Remove function.
3020 (do_ftell): Use cached offset when available.
3021 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3022 don't cache the offset.
3023 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3024 case.
3025 (do_one_test): Call it.
3026 (do_ftell_test): Fix up expected old offset for a+ mode.
3027 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3028 available.
3029
3030 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3031 up test status with function return status.
3032 (do_write_test): Likewise.
3033 (do_append_test): Likewise.
3034
3035 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3036 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3037 Remove.
3038
3039 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3040
3041 * math/gen-libm-test.pl (parse_args): Handle results specified for
3042 each rounding mode separately.
3043 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3044 tests and results from lrint_tonearest_test_data,
3045 lrint_towardzero_test_data, lrint_downward_test_data and
3046 lrint_upward_test_data.
3047 (lrint_test): Use ALL_RM_TEST.
3048 (lrint_tonearest_test_data): Remove.
3049 (lrint_test_tonearest): Likewise.
3050 (lrint_towardzero_test_data): Likewise.
3051 (lrint_test_towardzero): Likewise.
3052 (lrint_downward_test_data): Likewise.
3053 (lrint_test_downward): Likewise.
3054 (lrint_upward_test_data): Likewise.
3055 (lrint_test_upward): Likewise.
3056 (llrint_test_data): Merge in per-rounding-mode tests and results
3057 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3058 llrint_downward_test_data and llrint_upward_test_data.
3059 (llrint_test): Use ALL_RM_TEST.
3060 (llrint_tonearest_test_data): Remove.
3061 (llrint_test_tonearest): Likewise.
3062 (llrint_towardzero_test_data): Likewise.
3063 (llrint_test_towardzero): Likewise.
3064 (llrint_downward_test_data): Likewise.
3065 (llrint_test_downward): Likewise.
3066 (llrint_upward_test_data): Likewise.
3067 (llrint_test_upward): Likewise.
3068 (rint_test_data): Merge in per-rounding-mode tests and results
3069 from rint_tonearest_test_data, rint_towardzero_test_data,
3070 rint_downward_test_data and rint_upward_test_data. Add
3071 per-rounding-mode results for tests not in those arrays.
3072 (rint_test): Use ALL_RM_TEST.
3073 (rint_tonearest_test_data): Remove.
3074 (rint_test_tonearest): Likewise.
3075 (rint_towardzero_test_data): Likewise.
3076 (rint_test_towardzero): Likewise.
3077 (rint_downward_test_data): Likewise.
3078 (rint_test_downward): Likewise.
3079 (rint_upward_test_data): Likewise.
3080 (rint_test_upward): Likewise.
3081 (main): Don't call removed functions.
3082
3083 2014-03-14 Roland McGrath <roland@hack.frob.com>
3084
3085 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3086 "Compiled on ..." crapola. It is anti-useful.
3087
3088 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3089
3090 * scripts/evaluate-test.sh: Handle fourth argument to determine
3091 whether test run should stop on failure.
3092 * Makeconfig (stop-on-test-failure): New variable.
3093 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3094 $(stop-on-test-failure).
3095 * Makefile (tests): Give a summary of results from testing and
3096 exit with failure status if they include an ERROR or FAIL.
3097 (xtests): Likewise.
3098 * manual/install.texi (Configuring and compiling): Mention
3099 stop-on-test-failure=y.
3100 * INSTALL: Regenerated.
3101
3102 2014-03-14 Roland McGrath <roland@hack.frob.com>
3103
3104 * scripts/versionlist.awk: New file.
3105 * Makerules [$(build-shared) = yes]
3106 (postclean-generated): Add Versions.def, not Versions.def.v and
3107 Versions.def.v.i.
3108 ($(common-objpfx)Versions.def.v.i): Target removed.
3109 ($(common-objpfx)Versions.def): New target.
3110 ($(common-objpfx)Versions.all): Depend on that rather that
3111 $(common-objpfx)Versions.def.v.
3112 * Versions.def: File removed.
3113
3114 * Makeconfig (+gccwarn): Add -Wundef.
3115 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3116 a dl-sysdep.h breaking its contract.
3117 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3118 * include/stackinfo.h: New file.
3119 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3120 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3121 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3122 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3123 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3124 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3125 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3126 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3127 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3128 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3129 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3130 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3131 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3132 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3133 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3134
3135 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3136
3137 [BZ #16707]
3138 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3139 implementation.
3140 * math/libm-test.inc (round_test_data): Add more tests.
3141
3142 [BZ #16706]
3143 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3144 implementation.
3145 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3146
3147 [BZ #16701]
3148 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3149 implementation.
3150 * math/libm-test.inc (ceil_test_data): Add more tests.
3151
3152 * math/libm-test.inc (trunc_test_data): Add more tests related to
3153 BZ#16414.
3154
3155 2014-03-14 Roland McGrath <roland@hack.frob.com>
3156
3157 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3158 with #if rather than #ifdef.
3159 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3160
3161 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3162
3163 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3164 first. Disable AVX-512 GCC support if assembler doesn't support
3165 it.
3166 * sysdeps/x86_64/configure: Regenerated.
3167
3168 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3169
3170 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3171 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3172 (__old_pthread_attr_setstack): Likewise.
3173 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3174 [!_STACK_GROWS_DOWN]: Likewise.
3175
3176 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3177
3178 * config.make.in (have-bash2): Delete.
3179 * configure.ac (libc_cv_have_bash2): Delete.
3180 * configure: Regenerate.
3181 * elf/Makefile (common-ldd-rewrite): Rename to ...
3182 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3183 (sh-ldd-rewrite): Delete.
3184 (bash-ldd-rewrite): Delete.
3185 (have-bash2): Delete checks.
3186 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3187 ldd-rewrite.
3188
3189 * config.make.in (have-ksh): Delete.
3190 (KSH): Delete.
3191 * configure.ac (libc_cv_have_ksh): Delete.
3192 * configure: Regenerate.
3193
3194 * elf/Makefile: Delete $(have-ksh) check.
3195 ($(objpfx)sotruss): Change KSH to BASH.
3196 * elf/sotruss.ksh: Rename to ...
3197 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3198 function style to match POSIX. Drop ksh vim mode setting.
3199
3200 * manual/time.texi (Specifying the Time Zone with TZ): Change
3201 Tuesday to Thursday.
3202
3203 * debug/tst-longjmp_chk2.c: Update header comment.
3204 (stackoverflow_handler): Add comment. Call assert on pass value.
3205
3206 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3207
3208 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3209 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3210 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3211 (La_x86_64_vector): Add zmm.
3212 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3213 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3214 ($(objpfx)tst-audit10): New target.
3215 ($(objpfx)tst-audit10.out): Likewise.
3216 (tst-audit10-ENV): New.
3217 (AVX512-CFLAGS): Likewise.
3218 (CFLAGS-tst-audit10.c): Likewise.
3219 (CFLAGS-tst-auditmod10a.c): Likewise.
3220 (CFLAGS-tst-auditmod10b.c): Likewise.
3221 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3222 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3223 * sysdeps/x86_64/configure: Regenerated.
3224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3225 AVX-512 zmm register support.
3226 (_dl_x86_64_save_sse): Likewise.
3227 (_dl_x86_64_restore_sse): Likewise.
3228 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3229 size vector registers.
3230 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3231 (ZMM_SIZE): Likewise.
3232 * sysdeps/x86_64/tst-audit10.c: New file.
3233 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3234 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3235
3236 2014-03-13 Roland McGrath <roland@hack.frob.com>
3237
3238 * configure.ac (HAVE_EHDR_START): New check.
3239 * configure: Regenerated.
3240 * config.h.in (HAVE_EHDR_START): New #undef.
3241 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3242 assuming the lowest-addressed segment maps the start of the file.
3243
3244 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3245
3246 * INSTALL: Regenerated.
3247
3248 2014-03-13 Will Newton <will.newton@linaro.org>
3249
3250 * manual/setjmp.texi (System V contexts): Improve
3251 clarity and grammar of documentation.
3252
3253 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3254
3255 [BZ #16381]
3256 * elf/Makefile (tests): Add tst-pie2.
3257 (tests-pie): Add tst-pie2.
3258 * elf/tst-pie2.c: New file.
3259 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3260 for ET_EXEC.
3261 * elf/rtld.c (map_doit): Load executable as lt_executable.
3262 (dl_main): Likewise.
3263
3264 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3265
3266 [BZ #16642]
3267 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3268 (__ASSUME_PSELECT): Undefine.
3269
3270 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3271
3272 [BZ #16689]
3273 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3274 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3275 static build.
3276 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3277 selector for static builds.
3278
3279 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3280
3281 [BZ #16695]
3282 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3283 key in the buffer.
3284
3285 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3286
3287 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3288 IFUNC selector for static builds.
3289
3290 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3291
3292 * sysdeps/mips/math_private.h [__mips_hard_float]
3293 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3294 libc_feresetround_mips_ctx.
3295 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3296 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3297 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3298
3299 [BZ #16677]
3300 * math/s_nextafter.c (__nextafter): Do not return value from
3301 overflowing computation.
3302 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3303 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3304 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3305 Likewise.
3306 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3307 Likewise.
3308 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3309 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3310
3311 2014-03-11 Roland McGrath <roland@hack.frob.com>
3312
3313 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3314 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3315 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3316 the new mov targetting sp.
3317
3318 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3319
3320 [BZ #16683]
3321 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3322 Define it for static builds as well.
3323 (NO_BZERO_IMPL): Likewise.
3324
3325 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3326
3327 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3328 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3329 multiarch strspn for PPC64.
3330 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3331 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3333 (__libc_ifunc_impl_list): Likewise.
3334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3335 multiarch optimizations
3336 * string/strspn.c (strspn): Using macro to redefine symbol name.
3337
3338 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3339 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3340
3341 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3342 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3343 multiarch strncat for PPC64.
3344 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3345 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3347 (__libc_ifunc_impl_list): Likewise.
3348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3349 multiarch optimizations
3350
3351 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3352
3353 [BZ #16639]
3354 * nscd/nscd.service: Make service type forking.
3355
3356 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3357
3358 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3359 sign in non default rounding modes.
3360 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3361
3362 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3363
3364 * math/libm-test.inc (ALL_RM_TEST): New macro.
3365 (ceil_test): Use ALL_RM_TEST.
3366 (cimag_test): Likewise.
3367 (conj_test): Likewise.
3368 (copysign_test): Likewise.
3369 (cproj_test): Likewise.
3370 (creal_test): Likewise.
3371 (fabs_test): Likewise.
3372 (floor_test): Likewise.
3373 (fmax_test): Likewise.
3374 (fmin_test): Likewise.
3375 (fmod_test): Likewise.
3376 (fpclassify_test): Likewise.
3377 (frexp_test): Likewise.
3378 (ilogb_test): Likewise.
3379 (isfinite_test): Likewise.
3380 (finite_test): Likewise.
3381 (isgreater_test): Likewise.
3382 (isgreaterequal_test): Likewise.
3383 (isinf_test): Likewise.
3384 (isless_test): Likewise.
3385 (islessequal_test): Likewise.
3386 (islessgreater_test): Likewise.
3387 (isnan_test): Likewise.
3388 (isnormal_test): Likewise.
3389 (issignaling_test): Likewise.
3390 (isunordered_test): Likewise.
3391 (logb_test): Likewise.
3392 (logb_downward_test_data): Remove.
3393 (logb_test_downward): Likewise.
3394 (lround_test): Use ALL_RM_TEST.
3395 (llround_test): Likewise.
3396 (modf_test): Likewise.
3397 (nexttoward_test): Likewise.
3398 (remainder_test): Likewise.
3399 (drem_test): Likewise.
3400 (remainder_tonearest_test_data): Likewise.
3401 (remainder_test_tonearest): Likewise.
3402 (drem_test_tonearest): Likewise.
3403 (remainder_towardzero_test_data): Likewise.
3404 (remainder_test_towardzero): Likewise.
3405 (drem_test_towardzero): Likewise.
3406 (remainder_downward_test_data): Likewise.
3407 (remainder_test_downward): Likewise.
3408 (drem_test_downward): Likewise.
3409 (remainder_upward_test_data): Likewise.
3410 (remainder_test_upward): Likewise.
3411 (drem_test_upward): Likewise.
3412 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3413 (round_test): Use ALL_RM_TEST.
3414 (signbit_test): Likewise.
3415 (trunc_test): Likewise.
3416 (significand_test): Likewise.
3417 (main): Don't call removed functions.
3418
3419 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3420
3421 [BZ #16674]
3422 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3423 || __USE_XOPEN2K8].
3424 (ILL_ILLOPN): Likewise.
3425 (ILL_ILLADR): Likewise.
3426 (ILL_ILLTRP): Likewise.
3427 (ILL_PRVOPC): Likewise.
3428 (ILL_PRVREG): Likewise.
3429 (ILL_COPROC): Likewise.
3430 (ILL_BADSTK): Likewise.
3431 (FPE_INTDIV): Likewise.
3432 (FPE_INTOVF): Likewise.
3433 (FPE_FLTDIV): Likewise.
3434 (FPE_FLTOVF): Likewise.
3435 (FPE_FLTUND): Likewise.
3436 (FPE_FLTRES): Likewise.
3437 (FPE_FLTINV): Likewise.
3438 (FPE_FLTSUB): Likewise.
3439 (SEGV_MAPERR): Likewise.
3440 (SEGV_ACCERR): Likewise.
3441 (BUS_ADRALN): Likewise.
3442 (BUS_ADRERR): Likewise.
3443 (BUS_OBJERR): Likewise.
3444 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3445 (TRAP_TRACE): Likewise.
3446 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3447 __USE_XOPEN2K8].
3448 (CLD_KILLED): Likewise.
3449 (CLD_DUMPED): Likewise.
3450 (CLD_TRAPPED): Likewise.
3451 (CLD_STOPPED): Likewise.
3452 (CLD_CONTINUED): Likewise.
3453 (POLL_IN): Likewise.
3454 (POLL_OUT): Likewise.
3455 (POLL_MSG): Likewise.
3456 (POLL_ERR): Likewise.
3457 (POLL_PRI): Likewise.
3458 (POLL_HUP): Likewise.
3459 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3460 Likewise.
3461 (ILL_ILLOPN): Likewise.
3462 (ILL_ILLADR): Likewise.
3463 (ILL_ILLTRP): Likewise.
3464 (ILL_PRVOPC): Likewise.
3465 (ILL_PRVREG): Likewise.
3466 (ILL_COPROC): Likewise.
3467 (ILL_BADSTK): Likewise.
3468 (FPE_INTDIV): Likewise.
3469 (FPE_INTOVF): Likewise.
3470 (FPE_FLTDIV): Likewise.
3471 (FPE_FLTOVF): Likewise.
3472 (FPE_FLTUND): Likewise.
3473 (FPE_FLTRES): Likewise.
3474 (FPE_FLTINV): Likewise.
3475 (FPE_FLTSUB): Likewise.
3476 (SEGV_MAPERR): Likewise.
3477 (SEGV_ACCERR): Likewise.
3478 (BUS_ADRALN): Likewise.
3479 (BUS_ADRERR): Likewise.
3480 (BUS_OBJERR): Likewise.
3481 (BUS_MCEERR_AR): Likewise.
3482 (BUS_MCEERR_AO): Likewise.
3483 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3484 (TRAP_TRACE): Likewise.
3485 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3486 __USE_XOPEN2K8].
3487 (CLD_KILLED): Likewise.
3488 (CLD_DUMPED): Likewise.
3489 (CLD_TRAPPED): Likewise.
3490 (CLD_STOPPED): Likewise.
3491 (CLD_CONTINUED): Likewise.
3492 (POLL_IN): Likewise.
3493 (POLL_OUT): Likewise.
3494 (POLL_MSG): Likewise.
3495 (POLL_ERR): Likewise.
3496 (POLL_PRI): Likewise.
3497 (POLL_HUP): Likewise.
3498 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3499 (ILL_ILLOPN): Likewise.
3500 (ILL_ILLADR): Likewise.
3501 (ILL_ILLTRP): Likewise.
3502 (ILL_PRVOPC): Likewise.
3503 (ILL_PRVREG): Likewise.
3504 (ILL_COPROC): Likewise.
3505 (ILL_BADSTK): Likewise.
3506 (FPE_INTDIV): Likewise.
3507 (FPE_INTOVF): Likewise.
3508 (FPE_FLTDIV): Likewise.
3509 (FPE_FLTOVF): Likewise.
3510 (FPE_FLTUND): Likewise.
3511 (FPE_FLTRES): Likewise.
3512 (FPE_FLTINV): Likewise.
3513 (FPE_FLTSUB): Likewise.
3514 (SEGV_MAPERR): Likewise.
3515 (SEGV_ACCERR): Likewise.
3516 (BUS_ADRALN): Likewise.
3517 (BUS_ADRERR): Likewise.
3518 (BUS_OBJERR): Likewise.
3519 (BUS_MCEERR_AR): Likewise.
3520 (BUS_MCEERR_AO): Likewise.
3521 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3522 (TRAP_TRACE): Likewise.
3523 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3524 __USE_XOPEN2K8].
3525 (CLD_KILLED): Likewise.
3526 (CLD_DUMPED): Likewise.
3527 (CLD_TRAPPED): Likewise.
3528 (CLD_STOPPED): Likewise.
3529 (CLD_CONTINUED): Likewise.
3530 (POLL_IN): Likewise.
3531 (POLL_OUT): Likewise.
3532 (POLL_MSG): Likewise.
3533 (POLL_ERR): Likewise.
3534 (POLL_PRI): Likewise.
3535 (POLL_HUP): Likewise.
3536 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3537 Likewise.
3538 (ILL_ILLOPN): Likewise.
3539 (ILL_ILLADR): Likewise.
3540 (ILL_ILLTRP): Likewise.
3541 (ILL_PRVOPC): Likewise.
3542 (ILL_PRVREG): Likewise.
3543 (ILL_COPROC): Likewise.
3544 (ILL_BADSTK): Likewise.
3545 (ILL_BADIADDR): Likewise.
3546 (ILL_BREAK): Likewise.
3547 (FPE_INTDIV): Likewise.
3548 (FPE_INTOVF): Likewise.
3549 (FPE_FLTDIV): Likewise.
3550 (FPE_FLTOVF): Likewise.
3551 (FPE_FLTUND): Likewise.
3552 (FPE_FLTRES): Likewise.
3553 (FPE_FLTINV): Likewise.
3554 (FPE_FLTSUB): Likewise.
3555 (FPE_DECOVF): Likewise.
3556 (FPE_DECDIV): Likewise.
3557 (FPE_DECERR): Likewise.
3558 (FPE_INVASC): Likewise.
3559 (FPE_INVDEC): Likewise.
3560 (SEGV_MAPERR): Likewise.
3561 (SEGV_ACCERR): Likewise.
3562 (SEGV_PSTKOVF): Likewise.
3563 (BUS_ADRALN): Likewise.
3564 (BUS_ADRERR): Likewise.
3565 (BUS_OBJERR): Likewise.
3566 (BUS_MCEERR_AR): Likewise.
3567 (BUS_MCEERR_AO): Likewise.
3568 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3569 (TRAP_TRACE): Likewise.
3570 (TRAP_BRANCH): Likewise.
3571 (TRAP_HWBKPT): Likewise.
3572 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3573 __USE_XOPEN2K8].
3574 (CLD_KILLED): Likewise.
3575 (CLD_DUMPED): Likewise.
3576 (CLD_TRAPPED): Likewise.
3577 (CLD_STOPPED): Likewise.
3578 (CLD_CONTINUED): Likewise.
3579 (POLL_IN): Likewise.
3580 (POLL_OUT): Likewise.
3581 (POLL_MSG): Likewise.
3582 (POLL_ERR): Likewise.
3583 (POLL_PRI): Likewise.
3584 (POLL_HUP): Likewise.
3585 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3586 (ILL_ILLOPN): Likewise.
3587 (ILL_ILLADR): Likewise.
3588 (ILL_ILLTRP): Likewise.
3589 (ILL_PRVOPC): Likewise.
3590 (ILL_PRVREG): Likewise.
3591 (ILL_COPROC): Likewise.
3592 (ILL_BADSTK): Likewise.
3593 (FPE_INTDIV): Likewise.
3594 (FPE_INTOVF): Likewise.
3595 (FPE_FLTDIV): Likewise.
3596 (FPE_FLTOVF): Likewise.
3597 (FPE_FLTUND): Likewise.
3598 (FPE_FLTRES): Likewise.
3599 (FPE_FLTINV): Likewise.
3600 (FPE_FLTSUB): Likewise.
3601 (SEGV_MAPERR): Likewise.
3602 (SEGV_ACCERR): Likewise.
3603 (BUS_ADRALN): Likewise.
3604 (BUS_ADRERR): Likewise.
3605 (BUS_OBJERR): Likewise.
3606 (BUS_MCEERR_AR): Likewise.
3607 (BUS_MCEERR_AO): Likewise.
3608 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3609 (TRAP_TRACE): Likewise.
3610 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3611 __USE_XOPEN2K8].
3612 (CLD_KILLED): Likewise.
3613 (CLD_DUMPED): Likewise.
3614 (CLD_TRAPPED): Likewise.
3615 (CLD_STOPPED): Likewise.
3616 (CLD_CONTINUED): Likewise.
3617 (POLL_IN): Likewise.
3618 (POLL_OUT): Likewise.
3619 (POLL_MSG): Likewise.
3620 (POLL_ERR): Likewise.
3621 (POLL_PRI): Likewise.
3622 (POLL_HUP): Likewise.
3623 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3624 (ILL_ILLOPN): Likewise.
3625 (ILL_ILLADR): Likewise.
3626 (ILL_ILLTRP): Likewise.
3627 (ILL_PRVOPC): Likewise.
3628 (ILL_PRVREG): Likewise.
3629 (ILL_COPROC): Likewise.
3630 (ILL_BADSTK): Likewise.
3631 (FPE_INTDIV): Likewise.
3632 (FPE_INTOVF): Likewise.
3633 (FPE_FLTDIV): Likewise.
3634 (FPE_FLTOVF): Likewise.
3635 (FPE_FLTUND): Likewise.
3636 (FPE_FLTRES): Likewise.
3637 (FPE_FLTINV): Likewise.
3638 (FPE_FLTSUB): Likewise.
3639 (SEGV_MAPERR): Likewise.
3640 (SEGV_ACCERR): Likewise.
3641 (BUS_ADRALN): Likewise.
3642 (BUS_ADRERR): Likewise.
3643 (BUS_OBJERR): Likewise.
3644 (BUS_MCEERR_AR): Likewise.
3645 (BUS_MCEERR_AO): Likewise.
3646 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3647 (TRAP_TRACE): Likewise.
3648 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3649 __USE_XOPEN2K8].
3650 (CLD_KILLED): Likewise.
3651 (CLD_DUMPED): Likewise.
3652 (CLD_TRAPPED): Likewise.
3653 (CLD_STOPPED): Likewise.
3654 (CLD_CONTINUED): Likewise.
3655 (POLL_IN): Likewise.
3656 (POLL_OUT): Likewise.
3657 (POLL_MSG): Likewise.
3658 (POLL_ERR): Likewise.
3659 (POLL_PRI): Likewise.
3660 (POLL_HUP): Likewise.
3661 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3662 (ILL_ILLOPN): Likewise.
3663 (ILL_ILLADR): Likewise.
3664 (ILL_ILLTRP): Likewise.
3665 (ILL_PRVOPC): Likewise.
3666 (ILL_PRVREG): Likewise.
3667 (ILL_COPROC): Likewise.
3668 (ILL_BADSTK): Likewise.
3669 (FPE_INTDIV): Likewise.
3670 (FPE_INTOVF): Likewise.
3671 (FPE_FLTDIV): Likewise.
3672 (FPE_FLTOVF): Likewise.
3673 (FPE_FLTUND): Likewise.
3674 (FPE_FLTRES): Likewise.
3675 (FPE_FLTINV): Likewise.
3676 (FPE_FLTSUB): Likewise.
3677 (SEGV_MAPERR): Likewise.
3678 (SEGV_ACCERR): Likewise.
3679 (BUS_ADRALN): Likewise.
3680 (BUS_ADRERR): Likewise.
3681 (BUS_OBJERR): Likewise.
3682 (BUS_MCEERR_AR): Likewise.
3683 (BUS_MCEERR_AO): Likewise.
3684 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3685 (TRAP_TRACE): Likewise.
3686 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3687 __USE_XOPEN2K8].
3688 (CLD_KILLED): Likewise.
3689 (CLD_DUMPED): Likewise.
3690 (CLD_TRAPPED): Likewise.
3691 (CLD_STOPPED): Likewise.
3692 (CLD_CONTINUED): Likewise.
3693 (POLL_IN): Likewise.
3694 (POLL_OUT): Likewise.
3695 (POLL_MSG): Likewise.
3696 (POLL_ERR): Likewise.
3697 (POLL_PRI): Likewise.
3698 (POLL_HUP): Likewise.
3699 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3700 (ILL_ILLOPN): Likewise.
3701 (ILL_ILLADR): Likewise.
3702 (ILL_ILLTRP): Likewise.
3703 (ILL_PRVOPC): Likewise.
3704 (ILL_PRVREG): Likewise.
3705 (ILL_COPROC): Likewise.
3706 (ILL_BADSTK): Likewise.
3707 (ILL_DBLFLT): Likewise.
3708 (ILL_HARDWALL): Likewise.
3709 (FPE_INTDIV): Likewise.
3710 (FPE_INTOVF): Likewise.
3711 (FPE_FLTDIV): Likewise.
3712 (FPE_FLTOVF): Likewise.
3713 (FPE_FLTUND): Likewise.
3714 (FPE_FLTRES): Likewise.
3715 (FPE_FLTINV): Likewise.
3716 (FPE_FLTSUB): Likewise.
3717 (SEGV_MAPERR): Likewise.
3718 (SEGV_ACCERR): Likewise.
3719 (BUS_ADRALN): Likewise.
3720 (BUS_ADRERR): Likewise.
3721 (BUS_OBJERR): Likewise.
3722 (BUS_MCEERR_AR): Likewise.
3723 (BUS_MCEERR_AO): Likewise.
3724 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3725 (TRAP_TRACE): Likewise.
3726 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3727 __USE_XOPEN2K8].
3728 (CLD_KILLED): Likewise.
3729 (CLD_DUMPED): Likewise.
3730 (CLD_TRAPPED): Likewise.
3731 (CLD_STOPPED): Likewise.
3732 (CLD_CONTINUED): Likewise.
3733 (POLL_IN): Likewise.
3734 (POLL_OUT): Likewise.
3735 (POLL_MSG): Likewise.
3736 (POLL_ERR): Likewise.
3737 (POLL_PRI): Likewise.
3738 (POLL_HUP): Likewise.
3739 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3740 (ILL_ILLOPN): Likewise.
3741 (ILL_ILLADR): Likewise.
3742 (ILL_ILLTRP): Likewise.
3743 (ILL_PRVOPC): Likewise.
3744 (ILL_PRVREG): Likewise.
3745 (ILL_COPROC): Likewise.
3746 (ILL_BADSTK): Likewise.
3747 (FPE_INTDIV): Likewise.
3748 (FPE_INTOVF): Likewise.
3749 (FPE_FLTDIV): Likewise.
3750 (FPE_FLTOVF): Likewise.
3751 (FPE_FLTUND): Likewise.
3752 (FPE_FLTRES): Likewise.
3753 (FPE_FLTINV): Likewise.
3754 (FPE_FLTSUB): Likewise.
3755 (SEGV_MAPERR): Likewise.
3756 (SEGV_ACCERR): Likewise.
3757 (BUS_ADRALN): Likewise.
3758 (BUS_ADRERR): Likewise.
3759 (BUS_OBJERR): Likewise.
3760 (BUS_MCEERR_AR): Likewise.
3761 (BUS_MCEERR_AO): Likewise.
3762 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3763 (TRAP_TRACE): Likewise.
3764 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3765 __USE_XOPEN2K8].
3766 (CLD_KILLED): Likewise.
3767 (CLD_DUMPED): Likewise.
3768 (CLD_TRAPPED): Likewise.
3769 (CLD_STOPPED): Likewise.
3770 (CLD_CONTINUED): Likewise.
3771 (POLL_IN): Likewise.
3772 (POLL_OUT): Likewise.
3773 (POLL_MSG): Likewise.
3774 (POLL_ERR): Likewise.
3775 (POLL_PRI): Likewise.
3776 (POLL_HUP): Likewise.
3777 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3778 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3779
3780 [BZ #16670]
3781 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3782 before #include of <time.h>.
3783 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3784 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3785 (test-xfail-UNIX98/sched.h/conform): Likewise.
3786
3787 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3788
3789 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3790 error absence of trapping exception support.
3791 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3792
3793 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3794
3795 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3796 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3797 * timezone/Makefile (testdata): Move definition above include of
3798 Rules.
3799 (test-zones): New variable.
3800 (tests-special): Add zone files.
3801 (build-testdata): Use $(evaluate-test).
3802
3803 * elf/Makefile (tests-special): Rename tests to end with .out.
3804 ($(objpfx)noload-mem): Likewise.
3805 ($(objpfx)tst-leaks1-mem): Likewise.
3806 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3807 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3808 $(objpfx)test-iconvconfig.out.
3809 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3810 set -e inside subshell and redirect output to file.
3811 * iconvdata/Makefile (generated): Rename tests to end with .out.
3812 Correct type.
3813 (tests-special): Rename tests to end with .out.
3814 ($(objpfx)mtrace-tst-loading): Likewise.
3815 * intl/Makefile (generated): Likewise.
3816 (tests-special): Likewise.
3817 ($(objpfx)mtrace-tst-gettext): Likewise.
3818 * misc/Makefile (generated): Likewise.
3819 (tests-special): Likewise.
3820 ($(objpfx)tst-error1-mem): Likewise.
3821 * nptl/Makefile (tests-special): Likewise.
3822 ($(objpfx)tst-stack3-mem): Likewise.
3823 (generated): Likewise.
3824 * posix/Makefile (generated): Likewise.
3825 (tests-special): Likewise.
3826 (xtests-special): Likewise.
3827 ($(objpfx)tst-fnmatch-mem): Likewise.
3828 ($(objpfx)bug-regex2-mem): Likewise.
3829 ($(objpfx)bug-regex14-mem): Likewise.
3830 ($(objpfx)bug-regex21-mem): Likewise.
3831 ($(objpfx)bug-regex31-mem): Likewise.
3832 ($(objpfx)tst-vfork3-mem): Likewise.
3833 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3834 ($(objpfx)tst-pcre-mem): Likewise.
3835 ($(objpfx)tst-boost-mem): Likewise.
3836 ($(objpfx)bug-ga2-mem): Likewise.
3837 ($(objpfx)bug-glob2-mem): Likewise.
3838 * resolv/Makefile (generate): Likewise.
3839 (tests-special): Likewise.
3840 (xtests-special): Likewise.
3841 (generated): Likewise.
3842 ($(objpfx)mtrace-tst-leaks): Likewise.
3843 ($(objpfx)mtrace-tst-leaks2): Likewise.
3844
3845 * scripts/merge-test-results.sh: New file.
3846 * Makefile (tests-special-notdir): New variable.
3847 (tests): Run merge-test-results.sh.
3848 (xtests): Likewise.
3849 * Rules (tests-special-notdir): New variable.
3850 (xtests-special-notdir): Likewise.
3851 (tests): Run merge-test-results.sh
3852 (xtests): Likewise.
3853
3854 * Makeconfig (test-xfail-name): New variable.
3855 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3856 compute variable name for expected failures.
3857 * conform/Makefile (conformtest-headers-data): New variable.
3858 (conformtest-standards): Likewise.
3859 (conformtest-headers-ISO): Likewise.
3860 (conformtest-headers-ISO99): Likewise.
3861 (conformtest-headers-ISO11): Likewise.
3862 (conformtest-headers-POSIX): Likewise.
3863 (conformtest-headers-XPG3): Likewise.
3864 (conformtest-headers-XPG4): Likewise.
3865 (conformtest-headers-UNIX98): Likewise.
3866 (conformtest-headers-XOPEN2K): Likewise.
3867 (conformtest-headers-POSIX2008): Likewise.
3868 (conformtest-headers-XOPEN2K8): Likewise.
3869 (conformtest-header-list-base): Likewise.
3870 (conformtest-header-list-tests): Likewise.
3871 (conformtest-header-base): Likewise.
3872 (conformtest-header-tests): Likewise.
3873 (tests-special): Add $(conformtest-header-list-tests). If
3874 [$(fast-check) && !$(cross-compiling)], add
3875 $(conformtest-header-tests) instead of
3876 $(objpfx)run-conformtest.out.
3877 (generated): Add $(conformtest-header-list-base). If
3878 [$(fast-check) && !$(cross-compiling)], add
3879 $(conformtest-header-base). Remove previous setting.
3880 ($(conformtest-header-list-tests)): New target.
3881 (test-xfail-run-conformtest): Remove variable.
3882 ($(objpfx)run-conformtest.out): Remove target.
3883 (test-xfail-ISO11/complex.h/conform): New variable.
3884 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3885 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3886 (test-xfail-XPG3/varargs.h/conform): Likewise.
3887 (test-xfail-XPG4/varargs.h/conform): Likewise.
3888 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3889 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3890 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3891 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3892 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3893 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3894 (test-xfail-XPG3/ftw.h/conform): Likewise.
3895 (test-xfail-XPG3/grp.h/conform): Likewise.
3896 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3897 (test-xfail-XPG3/limits.h/conform): Likewise.
3898 (test-xfail-XPG3/pwd.h/conform): Likewise.
3899 (test-xfail-XPG3/search.h/conform): Likewise.
3900 (test-xfail-XPG3/signal.h/conform): Likewise.
3901 (test-xfail-XPG3/stdio.h/conform): Likewise.
3902 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3903 (test-xfail-XPG3/string.h/conform): Likewise.
3904 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3905 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3906 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3907 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3908 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3909 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3910 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3911 (test-xfail-XPG3/termios.h/conform): Likewise.
3912 (test-xfail-XPG3/time.h/conform): Likewise.
3913 (test-xfail-XPG3/unistd.h/conform): Likewise.
3914 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3915 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3916 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3917 (test-xfail-XPG4/netdb.h/conform): Likewise.
3918 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3919 (test-xfail-XPG4/signal.h/conform): Likewise.
3920 (test-xfail-XPG4/stdio.h/conform): Likewise.
3921 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3922 (test-xfail-XPG4/stropts.h/conform): Likewise.
3923 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3924 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3925 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3926 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3927 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3928 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3929 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3930 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3931 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3932 (test-xfail-XPG4/termios.h/conform): Likewise.
3933 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3934 (test-xfail-XPG4/unistd.h/conform): Likewise.
3935 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3936 (test-xfail-POSIX/sched.h/conform): Likewise.
3937 (test-xfail-POSIX/signal.h/conform): Likewise.
3938 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3939 (test-xfail-POSIX/tar.h/conform): Likewise.
3940 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3941 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3942 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3943 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3944 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3945 (test-xfail-UNIX98/sched.h/conform): Likewise.
3946 (test-xfail-UNIX98/signal.h/conform): Likewise.
3947 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3948 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3949 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3950 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3951 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3952 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3953 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3954 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3955 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3956 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3957 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3958 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3959 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3960 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3961 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3962 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3963 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3964 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3965 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3966 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3967 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3968 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3969 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3970 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3971 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3972 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3973 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3974 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3975 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3976 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3977 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3978 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3979 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3980 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3981 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3982 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3983 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3984 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3985 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3986 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3987 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3988 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3989 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3990 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3991 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3992 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3993 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3994 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3995 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3996 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3997 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3998 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3999 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4000 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4001 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4002 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4003 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4004 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4005 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4006 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4007 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4008 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4009 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4010 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4011 (conformtest-cc-flags): Likewise.
4012 ($(conformtest-header-tests): New target.
4013 * conform/check-header-lists.sh: New file.
4014 * conform/run-conformtest.sh: Remove.
4015
4016 * conform/conformtest.pl: Allow ' and \ in values given for
4017 constants.
4018 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4019 inclusion.
4020 [POSIX] (sys/types.h): Likewise.
4021 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4022 inclusion.
4023 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4024 inclusion.
4025 * conform/data/signal.h-data (SIGIO): Remove expectation.
4026 [XPG3] (SIGBUS): Do not expect.
4027 [POSIX || XPG3] (SIGPOLL): Likewise.
4028 [POSIX || XPG3] (SIGPROF): Likewise.
4029 [POSIX || XPG3] (SIGSYS): Likewise.
4030 [XPG3] (SIGTRAP): Likewise.
4031 [POSIX || XPG3] (SIGURG): Likewise.
4032 [POSIX || XPG3] (SIGVTALRM): Likewise.
4033 [POSIX || XPG3] (SIGXCPU): Likewise.
4034 [POSIX || XPG3] (SIGXFSZ): Likewise.
4035 [POSIX] (SA_SIGINFO): Expect.
4036 [XPG3] (siginfo_t): Do not expect type or contents.
4037 [POSIX] (si_pid): Do not expect element.
4038 [POSIX] (si_uid): Likewise.
4039 [POSIX] (si_addr): Likewise.
4040 [POSIX] (si_status): Likewise.
4041 [POSIX] (si_band): Likewise.
4042 [XPG4] (si_value): Likewise.
4043 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4044 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4045 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4046 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4047 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4048 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4049 [POSIX || XPG3] (ILL_COPROC): Likewise.
4050 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4051 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4052 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4053 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4054 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4055 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4056 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4057 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4058 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4059 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4060 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4061 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4062 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4063 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4064 [POSIX || XPG3] (CLD_EXITED): Likewise.
4065 [POSIX || XPG3] (CLD_KILLED): Likewise.
4066 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4067 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4068 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4069 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4070 [POSIX || XPG3] (POLL_IN): Likewise.
4071 [POSIX || XPG3] (POLL_OUT): Likewise.
4072 [POSIX || XPG3] (POLL_MSG): Likewise.
4073 [POSIX || XPG3] (POLL_ERR): Likewise.
4074 [POSIX || XPG3] (POLL_PRI): Likewise.
4075 [POSIX || XPG3] (POLL_HUP): Likewise.
4076 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4077 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4078 (SIG*): Do not allow.
4079 [XPG3] (si_*): Likewise.
4080 [XPG3] (SI_*): Likewise.
4081 [XPG3 || XPG4] (sigev_*): Likewise.
4082 [XPG3 || XPG4] (SIGEV_*): Likewise.
4083 [XPG3 || XPG4] (sival_*): Likewise.
4084 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4085 [POSIX || XPG3] (BUS_*): Likewise.
4086 [POSIX || XPG3] (CLD_*): Likewise.
4087 [POSIX || XPG3] (FPE_*): Likewise.
4088 [POSIX || XPG3] (ILL_*): Likewise.
4089 [POSIX || XPG3] (POLL_*): Likewise.
4090 [POSIX || XPG3] (SEGV_*): Likewise.
4091 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4092 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4093 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4094 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4095 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4096 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4097 Specify type and value.
4098 (TVERSLEN): Likewise.
4099 (REGTYPE): Likewise.
4100 (AREGTYPE): Likewise.
4101 (LNKTYPE): Likewise.
4102 (SYMTYPE): Likewise.
4103 (CHRTYPE): Likewise.
4104 (BLKTYPE): Likewise.
4105 (DIRTYPE): Likewise.
4106 (FIFOTYPE): Likewise.
4107 (CONTTYPE): Likewise.
4108 (TSUID): Likewise.
4109 (TSGID): Likewise.
4110 (TSVTX): Likewise.
4111 (TUREAD): Likewise.
4112 (TUWRITE): Likewise.
4113 (TUEXEC): Likewise.
4114 (TGREAD): Likewise.
4115 (TGWRITE): Likewise.
4116 (TGEXEC): Likewise.
4117 (TOREAD): Likewise.
4118 (TOWRITE): Likewise.
4119 (TOEXEC): Likewise.
4120 [POSIX] (TSVTX): Expect constant.
4121
4122 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4123
4124 * Makefile (tests): Change dependencies to ....
4125 (tests-special): ... additions to this variable.
4126 (tests): Depend on $(tests-special).
4127 * Makerules (check-abi-list): New variable.
4128 (check-abi): Depend on $(check-abi-list).
4129 [$(subdir) = elf] (tests-special): Add
4130 $(objpfx)check-abi-libc.out.
4131 [$(build-shared) = yes && subdir] (tests-special): Add
4132 $(check-abi-list).
4133 [$(build-shared) = yes && subdir] (tests): Do not depend on
4134 check-abi.
4135 * Rules (tests): Depend on $(tests-special).
4136 (xtests): Depend on $(xtests-special).
4137 * catgets/Makefile (tests): Change dependencies to ....
4138 (tests-special): ... additions to this variable.
4139 * conform/Makefile (tests): Change dependencies to ....
4140 (tests-special): ... additions to this variable.
4141 * elf/Makefile (tests): Change dependencies to ....
4142 (tests-special): ... additions to this variable.
4143 * grp/Makefile (tests): Change dependencies to ....
4144 (tests-special): ... additions to this variable.
4145 * iconv/Makefile (xtests): Change dependencies to ....
4146 (xtests-special): ... additions to this variable.
4147 * iconvdata/Makefile (tests): Change dependencies to ....
4148 (tests-special): ... additions to this variable.
4149 * intl/Makefile (tests): Change dependencies to ....
4150 (tests-special): ... additions to this variable. Also add
4151 $(objpfx)tst-gettext.out.
4152 * io/Makefile (tests): Change dependencies to ....
4153 (tests-special): ... additions to this variable.
4154 * libio/Makefile (tests): Change dependencies to ....
4155 (tests-special): ... additions to this variable.
4156 * malloc/Makefile (tests): Change dependencies to ....
4157 (tests-special): ... additions to this variable.
4158 * misc/Makefile (tests): Change dependencies to ....
4159 (tests-special): ... additions to this variable.
4160 * nptl/Makefile (tests): Change dependencies to ....
4161 (tests-special): ... additions to this variable.
4162 * nptl_db/Makefile (tests): Change dependencies to ....
4163 (tests-special): ... additions to this variable.
4164 * posix/Makefile (tests): Change dependencies to ....
4165 (tests-special): ... additions to this variable.
4166 (xtests): Change dependencies to ....
4167 (xtests-special): ... additions to this variable.
4168 * resolv/Makefile (tests): Change dependencies to ....
4169 (tests-special): ... additions to this variable.
4170 (xtests): Change dependencies to ....
4171 (xtests-special): ... additions to this variable.
4172 * stdio-common/Makefile (tests): Change dependencies to ....
4173 (tests-special): ... additions to this variable.
4174 (do-tst-unbputc): Remove target.
4175 (do-tst-printf): Likewise.
4176 * stdlib/Makefile (tests): Change dependencies to ....
4177 (tests-special): ... additions to this variable.
4178 * string/Makefile (tests): Change dependencies to ....
4179 (tests-special): ... additions to this variable.
4180 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4181 (tests-special): ... additions to this variable.
4182
4183 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4184 whole file.
4185 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4186 whole file.
4187 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4188 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4189
4190 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4191 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4192 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4193 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4194 * conform/data/libgen.h-data [XPG3]: Likewise.
4195 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4196 * conform/data/ndbm.h-data [XPG3]: Likewise.
4197 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4198 * conform/data/netdb.h-data [XPG3]: Likewise.
4199 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4200 * conform/data/poll.h-data [XPG3]: Likewise.
4201 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4202 * conform/data/strings.h-data [XPG3]: Likewise.
4203 * conform/data/stropts.h-data [XPG3]: Likewise.
4204 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4205 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4206 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4207 Likewise.
4208 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4209 * conform/data/sys/time.h-data [XPG3]: Likewise.
4210 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4211 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4212 * conform/data/sys/un.h-data [XPG3]: Likewise.
4213 * conform/data/syslog.h-data [XPG3]: Likewise.
4214 * conform/data/ucontext.h-data [XPG3]: Likewise.
4215 * conform/data/utmpx.h-data [XPG3]: Likewise.
4216 * conform/data/varargs.h-data [UNIX98]: Enable file.
4217
4218 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4219
4220 * math/libm-test.inc (struct test_f_f_data): Move expected results
4221 into structure for each rounding mode.
4222 (struct test_ff_f_data): Likewise.
4223 (struct test_ff_f_data_nexttoward): Likewise.
4224 (struct test_fi_f_data): Likewise.
4225 (struct test_fl_f_data): Likewise.
4226 (struct test_if_f_data): Likewise.
4227 (struct test_fff_f_data): Likewise.
4228 (struct test_c_f_data): Likewise.
4229 (struct test_f_f1_data): Likewise.
4230 (struct test_fF_f1_data): Likewise.
4231 (struct test_ffI_f1_data): Likewise.
4232 (struct test_c_c_data): Likewise.
4233 (struct test_cc_c_data): Likewise.
4234 (struct test_f_i_data): Likewise.
4235 (struct test_ff_i_data): Likewise.
4236 (struct test_f_l_data): Likewise.
4237 (struct test_f_L_data): Likewise.
4238 (struct test_fFF_11_data): Likewise.
4239 (RM_): New macro.
4240 (RM_FE_DOWNWARD): Likewise.
4241 (RM_FE_TONEAREST): Likewise.
4242 (RM_FE_TOWARDZERO): Likewise.
4243 (RM_FE_UPWARD): Likewise.
4244 (RUN_TEST_LOOP_f_f): Update references to expected results.
4245 (RUN_TEST_LOOP_2_f): Likewise.
4246 (RUN_TEST_LOOP_fff_f): Likewise.
4247 (RUN_TEST_LOOP_c_f): Likewise.
4248 (RUN_TEST_LOOP_f_f1): Likewise.
4249 (RUN_TEST_LOOP_fF_f1): Likewise.
4250 (RUN_TEST_LOOP_fI_f1): Likewise.
4251 (RUN_TEST_LOOP_ffI_f1): Likewise.
4252 (RUN_TEST_LOOP_c_c): Likewise.
4253 (RUN_TEST_LOOP_cc_c): Likewise.
4254 (RUN_TEST_LOOP_f_i): Likewise.
4255 (RUN_TEST_LOOP_f_i_tg): Likewise.
4256 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4257 (RUN_TEST_LOOP_f_b): Likewise.
4258 (RUN_TEST_LOOP_f_b_tg): Likewise.
4259 (RUN_TEST_LOOP_f_l): Likewise.
4260 (RUN_TEST_LOOP_f_L): Likewise.
4261 (RUN_TEST_LOOP_fFF_11): Likewise.
4262 * math/gen-libm-test.pl (parse_args): Output four copies of
4263 expected results for each test.
4264
4265 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4266 (__ASSUME_UTIMES): Remove.
4267 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4268 (__ASSUME_UTIMES): Likewise.
4269
4270 * math/gen-auto-libm-tests.c: Update comment on output format.
4271 (output_for_one_input_case): Generate before-rounding and
4272 after-rounding information as conditions on output flags not
4273 floating-point format.
4274 * math/auto-libm-test-out: Regenerated.
4275 * math/gen-libm-test.pl (cond_value): New function.
4276 (or_cond_value): Use cond_value.
4277 (generate_testfile): Handle conditional exceptions.
4278
4279 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4280
4281 * math/libm-test.inc (max_valid_error): New variable.
4282 (init_max_error): Take new argument specifying whether function
4283 results are exactly determined. Set max_valid_error and bound
4284 other variables for errors based on this argument.
4285 (set_max_error): Do not record results above max_valid_error.
4286 (check_float_internal): Only accept errors of up to 0.5ulps if
4287 also at most max_valid_error.
4288 (START): Take new argument EXACT and pass it to init_max_error.
4289 (acos_test): Update call to START.
4290 (acos_test_tonearest): Likewise.
4291 (acos_test_towardzero): Likewise.
4292 (acos_test_downward): Likewise.
4293 (acos_test_upward): Likewise.
4294 (acosh_test): Likewise.
4295 (asin_test): Likewise.
4296 (asin_test_tonearest): Likewise.
4297 (asin_test_towardzero): Likewise.
4298 (asin_test_downward): Likewise.
4299 (asin_test_upward): Likewise.
4300 (asinh_test): Likewise.
4301 (atan_test): Likewise.
4302 (atanh_test): Likewise.
4303 (atan2_test): Likewise.
4304 (cabs_test): Likewise.
4305 (cacos_test): Likewise.
4306 (cacosh_test): Likewise.
4307 (carg_test): Likewise.
4308 (casin_test): Likewise.
4309 (casinh_test): Likewise.
4310 (catan_test): Likewise.
4311 (catanh_test): Likewise.
4312 (cbrt_test): Likewise.
4313 (ccos_test): Likewise.
4314 (ccosh_test): Likewise.
4315 (ceil_test): Likewise.
4316 (cexp_test): Likewise.
4317 (cimag_test): Likewise.
4318 (clog_test): Likewise.
4319 (clog10_test): Likewise.
4320 (conj_test): Likewise.
4321 (copysign_test): Likewise.
4322 (cos_test): Likewise.
4323 (cos_test_tonearest): Likewise.
4324 (cos_test_towardzero): Likewise.
4325 (cos_test_downward): Likewise.
4326 (cos_test_upward): Likewise.
4327 (cosh_test): Likewise.
4328 (cosh_test_tonearest): Likewise.
4329 (cosh_test_towardzero): Likewise.
4330 (cosh_test_downward): Likewise.
4331 (cosh_test_upward): Likewise.
4332 (cpow_test): Likewise.
4333 (cproj_test): Likewise.
4334 (creal_test): Likewise.
4335 (csin_test): Likewise.
4336 (csinh_test): Likewise.
4337 (csqrt_test): Likewise.
4338 (ctan_test): Likewise.
4339 (ctan_test_tonearest): Likewise.
4340 (ctan_test_towardzero): Likewise.
4341 (ctan_test_downward): Likewise.
4342 (ctan_test_upward): Likewise.
4343 (ctanh_test): Likewise.
4344 (ctanh_test_tonearest): Likewise.
4345 (ctanh_test_towardzero): Likewise.
4346 (ctanh_test_downward): Likewise.
4347 (ctanh_test_upward): Likewise.
4348 (erf_test): Likewise.
4349 (erfc_test): Likewise.
4350 (exp_test): Likewise.
4351 (exp_test_tonearest): Likewise.
4352 (exp_test_towardzero): Likewise.
4353 (exp_test_downward): Likewise.
4354 (exp_test_upward): Likewise.
4355 (exp10_test): Likewise.
4356 (exp10_test_tonearest): Likewise.
4357 (exp10_test_towardzero): Likewise.
4358 (exp10_test_downward): Likewise.
4359 (exp10_test_upward): Likewise.
4360 (pow10_test): Likewise.
4361 (exp2_test): Likewise.
4362 (expm1_test): Likewise.
4363 (expm1_test_tonearest): Likewise.
4364 (expm1_test_towardzero): Likewise.
4365 (expm1_test_downward): Likewise.
4366 (expm1_test_upward): Likewise.
4367 (fabs_test): Likewise.
4368 (fdim_test): Likewise.
4369 (floor_test): Likewise.
4370 (fma_test): Likewise.
4371 (fma_test_towardzero): Likewise.
4372 (fma_test_downward): Likewise.
4373 (fma_test_upward): Likewise.
4374 (fmax_test): Likewise.
4375 (fmin_test): Likewise.
4376 (fmod_test): Likewise.
4377 (fpclassify_test): Likewise.
4378 (frexp_test): Likewise.
4379 (hypot_test): Likewise.
4380 (ilogb_test): Likewise.
4381 (isfinite_test): Likewise.
4382 (finite_test): Likewise.
4383 (isgreater_test): Likewise.
4384 (isgreaterequal_test): Likewise.
4385 (isinf_test): Likewise.
4386 (isless_test): Likewise.
4387 (islessequal_test): Likewise.
4388 (islessgreater_test): Likewise.
4389 (isnan_test): Likewise.
4390 (isnormal_test): Likewise.
4391 (issignaling_test): Likewise.
4392 (isunordered_test): Likewise.
4393 (j0_test): Likewise.
4394 (j1_test): Likewise.
4395 (jn_test): Likewise.
4396 (ldexp_test): Likewise.
4397 (lgamma_test): Likewise.
4398 (gamma_test): Likewise.
4399 (lrint_test): Likewise.
4400 (lrint_test_tonearest): Likewise.
4401 (lrint_test_towardzero): Likewise.
4402 (lrint_test_downward): Likewise.
4403 (lrint_test_upward): Likewise.
4404 (llrint_test): Likewise.
4405 (llrint_test_tonearest): Likewise.
4406 (llrint_test_towardzero): Likewise.
4407 (llrint_test_downward): Likewise.
4408 (llrint_test_upward): Likewise.
4409 (log_test): Likewise.
4410 (log10_test): Likewise.
4411 (log1p_test): Likewise.
4412 (log2_test): Likewise.
4413 (logb_test): Likewise.
4414 (logb_test_downward): Likewise.
4415 (lround_test): Likewise.
4416 (llround_test): Likewise.
4417 (modf_test): Likewise.
4418 (nearbyint_test): Likewise.
4419 (nextafter_test): Likewise.
4420 (nexttoward_test): Likewise.
4421 (pow_test): Likewise.
4422 (pow_test_tonearest): Likewise.
4423 (pow_test_towardzero): Likewise.
4424 (pow_test_downward): Likewise.
4425 (pow_test_upward): Likewise.
4426 (remainder_test): Likewise.
4427 (drem_test): Likewise.
4428 (remainder_test_tonearest): Likewise.
4429 (drem_test_tonearest): Likewise.
4430 (remainder_test_towardzero): Likewise.
4431 (drem_test_towardzero): Likewise.
4432 (remainder_test_downward): Likewise.
4433 (drem_test_downward): Likewise.
4434 (remainder_test_upward): Likewise.
4435 (drem_test_upward): Likewise.
4436 (remquo_test): Likewise.
4437 (rint_test): Likewise.
4438 (rint_test_tonearest): Likewise.
4439 (rint_test_towardzero): Likewise.
4440 (rint_test_downward): Likewise.
4441 (rint_test_upward): Likewise.
4442 (round_test): Likewise.
4443 (scalb_test): Likewise.
4444 (scalbn_test): Likewise.
4445 (scalbln_test): Likewise.
4446 (signbit_test): Likewise.
4447 (sin_test): Likewise.
4448 (sin_test_tonearest): Likewise.
4449 (sin_test_towardzero): Likewise.
4450 (sin_test_downward): Likewise.
4451 (sin_test_upward): Likewise.
4452 (sincos_test): Likewise.
4453 (sinh_test): Likewise.
4454 (sinh_test_tonearest): Likewise.
4455 (sinh_test_towardzero): Likewise.
4456 (sinh_test_downward): Likewise.
4457 (sinh_test_upward): Likewise.
4458 (sqrt_test): Likewise.
4459 (sqrt_test_tonearest): Likewise.
4460 (sqrt_test_towardzero): Likewise.
4461 (sqrt_test_downward): Likewise.
4462 (sqrt_test_upward): Likewise.
4463 (tan_test): Likewise.
4464 (tan_test_tonearest): Likewise.
4465 (tan_test_towardzero): Likewise.
4466 (tan_test_downward): Likewise.
4467 (tan_test_upward): Likewise.
4468 (tanh_test): Likewise.
4469 (tgamma_test): Likewise.
4470 (trunc_test): Likewise.
4471 (y0_test): Likewise.
4472 (y1_test): Likewise.
4473 (yn_test): Likewise.
4474 (significand_test): Likewise.
4475
4476 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4477 individual tests in comment.
4478 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4479 (prev_max_error): New variable.
4480 (prev_real_max_error): Likewise.
4481 (prev_imag_max_error): Likewise.
4482 (compare_ulp_data): Don't refer to test names in comment.
4483 (find_test_ulps): Remove function.
4484 (find_function_ulps): Likewise.
4485 (find_complex_function_ulps): Likewise.
4486 (init_max_error): Take function name as argument. Look up ulps
4487 for that function.
4488 (print_ulps): Remove function.
4489 (print_max_error): Use prev_max_error instead of calling
4490 find_function_ulps.
4491 (print_complex_max_error): Use prev_real_max_error and
4492 prev_imag_max_error instead of calling find_complex_function_ulps.
4493 (check_float_internal): Take max_ulp parameter instead of calling
4494 find_test_ulps. Don't call print_ulps.
4495 (check_float): Update call to check_float_internal.
4496 (check_complex): Update calls to check_float_internal.
4497 (START): Pass argument to init_max_error.
4498 * math/gen-libm-test.pl (%results): Don't include "kind"
4499 information.
4500 (parse_ulps): Don't handle ulps of individual tests.
4501 (print_ulps_file): Likewise.
4502 (output_ulps): Likewise.
4503 * math/README.libm-test: Update.
4504 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4505 individual tests.
4506 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4507 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4508 * sysdeps/arm/libm-test-ulps: Likewise.
4509 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4510 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4511 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4512 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4513 * sysdeps/microblaze/libm-test-ulps: Likewise.
4514 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4515 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4516 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4517 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4518 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4519 * sysdeps/sh/libm-test-ulps: Likewise.
4520 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4521 * sysdeps/tile/libm-test-ulps: Likewise.
4522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4523
4524 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4525
4526 * math/libm-test.inc (print_complex_max_error): Check separately
4527 whether real and imaginary errors are within allowed range and
4528 pass 0 to print_complex_function_ulps instead of value within
4529 allowed range.
4530
4531 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4532
4533 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4534 formatting.
4535 (get_handles_fopen): Likewise.
4536 (do_write_test): Likewise.
4537
4538 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4539
4540 * libio/fileops.c (do_ftell): Use cached offset when
4541 available.
4542 * libio/iofwide.c (do_ftell_wide): Likewise.
4543 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4544 _IO_file_attach.
4545 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4546
4547 [BZ #16532]
4548 * libio/libioP.h (get_file_offset): New function.
4549 * libio/fileops.c (get_file_offset): Likewise.
4550 (do_ftell): Likewise.
4551 (_IO_new_file_seekoff): Split out ftell logic.
4552 * libio/wfileops.c (do_ftell_wide): Likewise.
4553 (_IO_wfile_seekoff): Split out ftell logic.
4554 * libio/tst-ftell-active-handler.c: New test case.
4555 * libio/Makefile (tests): Add it.
4556
4557 2014-03-03 Roland McGrath <roland@hack.frob.com>
4558
4559 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4560 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4561
4562 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4563
4564 [BZ #16639]
4565 * nscd/connections.c (nscd_init): Call do_exit.
4566 (start_threads): Call do_exit and notify_parent.
4567 (begin_drop_privileges): Call do_exit.
4568 (finish_drop_privileges): Likewise.
4569 * nscd/selinux.c (preserve_capabilities): Likewise.
4570 (install_real_capabilities): Likewise.
4571 (nscd_selinux_enabled): Likewise.
4572 (avc_create_thread): Likewise.
4573 (avc_alloc_lock): Likewise.
4574 (nscd_avc_init): Likewise.
4575 * nscd/nscd.c (parent_fd): New static variable.
4576 (main): Create a pipe between parent and child processes.
4577 Skip closing parent_fd.
4578 (monitor_child): New function.
4579 (do_exit): Likewise.
4580 (notify_parent): Likewise.
4581 * nscd/nscd.h (notify_parent): Likewise.
4582 (do_exit): Likewise.
4583
4584 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4585
4586 * malloc/malloc.c (__libc_calloc): Revert last change.
4587
4588 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4589
4590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4591
4592 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4593
4594 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4596 implementation.
4597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4598 (__libc_ifunc_impl_list): Likewise.
4599 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4600 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4601 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4602 * string/strrchr.c: Define STRRCHR.
4603
4604 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4605
4606 * benchtest/bench-strtok.c (simple_strtok): Delete.
4607 (strtok_string): Use as benchmark.
4608 * string/strtok (STRTOK): New macro.
4609
4610 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4611
4612 * manual/threads.texi: Add header and standard comments to all
4613 functions.
4614
4615 * elf/dl-lookup.c (check_match): New function.
4616 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4617 (do_lookup_x): Remove nested function check_match. Use non-nested
4618 function check_match.
4619
4620 2014-02-28 Roland McGrath <roland@hack.frob.com>
4621
4622 * csu/Makefile (generated, before-compile): Use += rather than =.
4623 * catgets/Makefile (generated, generated-dirs): Likewise.
4624 * debug/Makefile (generated): Likewise.
4625 * dlfcn/Makefile (generated): Likewise.
4626 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4627 * iconvdata/Makefile (before-compile, generated): Likewise.
4628 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4629 * libio/Makefile (generated): Likewise.
4630 * malloc/Makefile (generated): Likewise.
4631 * manual/Makefile (generated, generated-dirs): Likewise.
4632 * misc/Makefile (generated): Likewise.
4633 * posix/Makefile (generated): Likewise.
4634 * resolv/Makefile (generated): Likewise.
4635 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4636 * timezone/Makefile (generated, generated-dirs): Likewise.
4637
4638 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4639
4640 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4641
4642 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4643 power8 implementation.
4644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4645 file: POWER8 llround ifunc implementation.
4646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4647 (__lllround): Add POWER8 implementation.
4648 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4649 POWER8 llround implementation.
4650
4651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4652 power8 implementation.
4653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4654 file: POWER8 llrint ifunc implementation.
4655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4656 Add POWER8 implementation.
4657 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4658 POWER8 llrint implementation.
4659
4660 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4661 power8 implementation.
4662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4663 file: POWER8 finite ifunc implementation.
4664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4665 Add POWER8 implementation.
4666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4667 Likewise.
4668 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4669 POWER8 finite implementation.
4670 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4671
4672 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4673 power8 implementation.
4674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4675 file: POWER8 isinf ifunc implementation.
4676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4677 POWER8 implementation.
4678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4679 Likewise.
4680 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4681 isinf implementation.
4682 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4683
4684 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4685 (INIT_ARCH): Add hwcap2 initialization.
4686 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4687 power8 implementation.
4688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4689 file: POWER8 isnan ifunc implementation.
4690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4691 POWER8 implementation.
4692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4693 Likewise.
4694 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4695 isnan implementation.
4696 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4697
4698 2014-02-27 Joey Ye <joey.ye@arm.com>
4699
4700 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4701 (_FP_NANFRAC_Q): Set to zero.
4702
4703 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4704
4705 [BZ #16623]
4706 * math/auto-libm-test-in: New test inputs.
4707 * math/auto-libm-test-out: Regenerate.
4708 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4709 and DA.
4710 (__cos): Likewise.
4711 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4712
4713 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4714
4715 * scripts/evaluate-test.sh: Take new argument indicating whether
4716 failure is expected.
4717 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4718 indicating whether failure is expected.
4719 * conform/Makefile (test-xfail-run-conformtest): New variable.
4720 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4721 level.
4722 * posix/Makefile (test-xfail-annexc): New variable.
4723 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4724
4725 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4726
4727 * argp/Makefile: Include Makeconfig immediately after defining
4728 subdir.
4729 * assert/Makefile: Likewise.
4730 * benchtests/Makefile: Likewise.
4731 * catgets/Makefile: Likewise.
4732 * conform/Makefile: Likewise.
4733 * crypt/Makefile: Likewise.
4734 * csu/Makefile: Likewise.
4735 (all): Remove target.
4736 * ctype/Makefile: Include Makeconfig immediately after defining
4737 subdir.
4738 * debug/Makefile: Likewise.
4739 * dirent/Makefile: Likewise.
4740 * dlfcn/Makefile: Likewise.
4741 * gmon/Makefile: Likewise.
4742 * gnulib/Makefile: Likewise.
4743 * grp/Makefile: Likewise.
4744 * gshadow/Makefile: Likewise.
4745 * hesiod/Makefile: Likewise.
4746 * hurd/Makefile: Likewise.
4747 (all): Remove target.
4748 * iconvdata/Makefile: Include Makeconfig immediately after
4749 defining subdir.
4750 * inet/Makefile: Likewise.
4751 * intl/Makefile: Likewise.
4752 * io/Makefile: Likewise.
4753 * libio/Makefile: Likewise.
4754 (all): Remove target.
4755 * locale/Makefile: Include Makeconfig immediately after defining
4756 subdir.
4757 * login/Makefile: Likewise.
4758 * mach/Makefile: Likewise.
4759 (all): Remove target.
4760 * malloc/Makefile: Include Makeconfig immediately after defining
4761 subdir.
4762 (all): Remove target.
4763 * manual/Makefile: Include Makeconfig immediately after defining
4764 subdir.
4765 * math/Makefile: Likewise.
4766 * misc/Makefile: Likewise.
4767 * nis/Makefile: Likewise.
4768 * nss/Makefile: Likewise.
4769 * po/Makefile: Likewise.
4770 (all): Remove target.
4771 * posix/Makefile: Include Makeconfig immediately after defining
4772 subdir.
4773 * pwd/Makefile: Likewise.
4774 * resolv/Makefile: Likewise.
4775 * resource/Makefile: Likewise.
4776 * rt/Makefile: Likewise.
4777 * setjmp/Makefile: Likewise.
4778 * shadow/Makefile: Likewise.
4779 * signal/Makefile: Likewise.
4780 * socket/Makefile: Likewise.
4781 * soft-fp/Makefile: Likewise.
4782 * stdio-common/Makefile: Likewise.
4783 * stdlib/Makefile: Likewise.
4784 * streams/Makefile: Likewise.
4785 * string/Makefile: Likewise.
4786 * sunrpc/Makefile: Likewise.
4787 (all): Remove target.
4788 * sysvipc/Makefile: Include Makeconfig immediately after defining
4789 subdir.
4790 * termios/Makefile: Likewise.
4791 * time/Makefile: Likewise.
4792 * timezone/Makefile: Likewise.
4793 (all): Remove target.
4794 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4795 subdir.
4796 * wctype/Makefile: Likewise.
4797
4798 2014-02-26 Steve Ellcey <sellcey@mips.com>
4799
4800 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4801 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4802 (libc_feholdexcept_setround_mips): Ditto.
4803 (libc_feholdsetround): New.
4804 (libc_feholdsetroundf): New.
4805 (libc_feholdsetroundl): New.
4806 (libc_feupdateenv_test_mips): New.
4807 (libc_feupdateenv_test): New.
4808 (libc_feupdateenv_testf): New.
4809 (libc_feupdateenv_testl): New.
4810 (libc_feresetround): New.
4811 (libc_feresetroundf): New.
4812 (libc_feresetroundl): New.
4813 (libc_fetestexcept_mips): New.
4814 (libc_fetestexcept): New.
4815 (libc_fetestexceptf): New.
4816 (libc_fetestexceptl): New.
4817 (HAVE_RM_CTX): New.
4818 (libc_feholdexcept_setround_mips_ctx): New.
4819 (libc_feholdexcept_setround_ctx): New.
4820 (libc_feholdexcept_setroundf_ctx): New.
4821 (libc_feholdexcept_setroundl_ctx): New.
4822 (libc_fesetenv_mips_ctx): New.
4823 (libc_fesetenv_ctx): New.
4824 (libc_fesetenv_ctxf): New.
4825 (libc_fesetenv_ctxl): New.
4826 (libc_feupdateenv_mips_ctx): New.
4827 (libc_feupdateenv_ctx): New.
4828 (libc_feupdateenvf_ctx): New.
4829 (libc_feupdateenvl_ctx): New.
4830 (libc_feholdsetround_mips_ctx): New.
4831 (libc_feholdsetround_ctx): New.
4832 (libc_feholdsetroundf_ctx): New.
4833 (libc_feholdsetroundl_ctx): New.
4834 (libc_feresetround_mips_ctx): New.
4835 (libc_feresetround_ctx): New.
4836 (libc_feresetroundf_ctx): New.
4837 (libc_feresetroundl_ctx): New.
4838
4839 2014-02-26 Carlos O'Donell <carlos@redhat.com>
4840
4841 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4842
4843 * manual/ipc.texi: New file.
4844 * manual/Makefile (chapters): Add ipc.
4845 * manual/job.texi: Add "Inter-Process Communication" to next.
4846 * manual/process.texi: Add "Inter-Process Communication" to prev.
4847
4848 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4849
4850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4851
4852 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
4853
4854 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4855
4856 * manual/arith.texi: Fix spaces after sentences.
4857 * manual/charset.texi: Likewise.
4858 * manual/errno.texi: Likewise.
4859 * manual/install.texi: Likewise.
4860 * manual/llio.texi: Likewise.
4861 * manual/locale.texi: Likewise.
4862 * manual/maint.texi: Likewise.
4863 * manual/math.texi: Likewise.
4864 * manual/memory.texi: Likewise.
4865 * manual/message.texi: Likewise.
4866 * manual/probes.texi: Likewise.
4867 * manual/resource.texi: Likewise.
4868 * manual/signal.texi: Likewise.
4869 * manual/socket.texi: Likewise.
4870 * manual/stdio.texi: Likewise.
4871 * manual/string.texi: Likewise.
4872 * manual/time.texi: Likewise.
4873 * manual/users.texi: Likewise.
4874
4875 2014-02-25 Carlos O'Donell <carlos@redhat.com>
4876
4877 [BZ #16632]
4878 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4879 _DEFAULT_SOURCE is defined.
4880
4881 2014-02-25 Ulrich Drepper <drepper@gmail.com>
4882 Carlos O'Donell <carlos@redhat.com>
4883
4884 [BZ #16613]
4885 * elf/dl-tls.c (_dl_count_modids): New function.
4886 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4887 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4888 audit library and increment generation counter.
4889 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4890 * elf/tst-audit9.c: New file.
4891 * elf/tst-auditmod9a.c: New file.
4892 * elf/tst-auditmod9b.c: New file.
4893 * elf/Makefile: Add rules to build and run tst-audit9.
4894
4895 2014-02-25 Florian Weimer <fweimer@redhat.com>
4896
4897 [BZ #15347]
4898 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4899
4900 2014-02-25 Will Newton <will.newton@linaro.org>
4901
4902 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4903 (__longjmp): Restore sp and lr before restoring callee
4904 saved registers. Add longjmp and longjmp_target
4905 SystemTap probe point.
4906 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4907 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4908 Define to zero to match jmpbuf layout.
4909 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4910 (__sigsetjmp): Save sp and lr before saving callee
4911 saved registers. Add setjmp SystemTap probe point.
4912
4913 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4914
4915 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4916
4917 2014-02-24 Andreas Schwab <schwab@suse.de>
4918
4919 [BZ #15804]
4920 * elf/pldd.c (wait_for_ptrace_stop): New function.
4921 (main): Call it after attaching.
4922
4923 2014-02-22 Roland McGrath <roland@hack.frob.com>
4924
4925 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4926 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4927 Versions files is now verboten.
4928 * hurd/Versions (libc: GLIBC_2.0):
4929 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4930 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4931 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4932 * mach/Versions: Likewise.
4933
4934 * csu/Versions: Remove unused %include.
4935 * resolv/Versions: Likewise.
4936
4937 2014-02-21 Joseph Myers <joseph@codesourcery.com>
4938
4939 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4940 ($(objpfx)check-local-headers.out): Likewise.
4941 ($(objpfx)begin-end-check.out): Likewise.
4942 * Makerules (check-abi-%.out): Likewise.
4943 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4944 ($(objpfx)test2.cat): Likewise.
4945 ($(objpfx)de/libc.cat): Likewise.
4946 ($(objpfx)test-gencat.out): Likewise.
4947 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4948 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4949 ($(objpfx)noload-mem): Likewise.
4950 ($(objpfx)tst-pathopt.out): Likewise.
4951 ($(objpfx)tst-rtld-load-self.out): Likewise.
4952 ($(objpfx)tst-array1-cmp.out): Likewise.
4953 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4954 ($(objpfx)tst-array2-cmp.out): Likewise.
4955 ($(objpfx)tst-array3-cmp.out): Likewise.
4956 ($(objpfx)tst-array4-cmp.out): Likewise.
4957 ($(objpfx)tst-array5-cmp.out): Likewise.
4958 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4959 ($(objpfx)check-textrel.out): Likewise.
4960 ($(objpfx)check-execstack.out): Likewise.
4961 ($(objpfx)check-localplt.out): Likewise.
4962 ($(objpfx)order2-cmp.out): Likewise.
4963 ($(objpfx)tst-leaks1-mem): Likewise.
4964 ($(objpfx)tst-leaks1-static-mem): Likewise.
4965 ($(objpfx)tst-initorder-cmp.out): Likewise.
4966 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4967 ($(objpfx)tst-unused-dep.out): Likewise.
4968 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4969 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4970 * iconv/Makefile (test-iconvconfig): Likewise.
4971 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4972 ($(objpfx)iconv-test.out): Likewise.
4973 ($(objpfx)tst-tables.out): Likewise.
4974 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4975 ($(objpfx)tst-gettext.out): Likewise.
4976 ($(objpfx)tst-translit.out): Likewise.
4977 ($(objpfx)tst-gettext2.out): Likewise.
4978 ($(objpfx)tst-gettext4.out): Likewise.
4979 ($(objpfx)tst-gettext6.out): Likewise.
4980 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4981 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4982 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4983 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4984 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4985 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4986 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4987 ($(objpfx)wordexp-tst.out): Likewise.
4988 ($(objpfx)annexc.out): Likewise.
4989 ($(objpfx)tst-fnmatch-mem): Likewise.
4990 ($(objpfx)bug-regex2-mem): Likewise.
4991 ($(objpfx)bug-regex14-mem): Likewise.
4992 ($(objpfx)bug-regex21-mem): Likewise.
4993 ($(objpfx)bug-regex31-mem): Likewise.
4994 ($(objpfx)tst-vfork3-mem): Likewise.
4995 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4996 ($(objpfx)tst-pcre-mem): Likewise.
4997 ($(objpfx)tst-boost-mem): Likewise.
4998 ($(objpfx)tst-getconf.out): Likewise.
4999 ($(objpfx)bug-ga2-mem): Likewise.
5000 ($(objpfx)bug-glob2-mem): Likewise.
5001 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5002 ($(objpfx)mtrace-tst-leaks2): Likewise.
5003 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5004 ($(objpfx)tst-printf.out): Likewise.
5005 ($(objpfx)tst-setvbuf1.out): Likewise.
5006 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5007 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5008 ($(objpfx)tst-fmtmsg.out): Likewise.
5009 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5010 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5011
5012 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5013 * bits/sigaction.h [__USE_MISC]: Likewise.
5014 * bits/waitstatus.h: Update #endif comments.
5015 * ctype/ctype.h: Likewise.
5016 * dirent/dirent.h: Likewise.
5017 [__USE_MISC]: Remove redundant conditionals.
5018 * grp/grp.h: Update #endif comments.
5019 [__USE_GNU]: Remove redundant conditionals.
5020 [__USE_MISC]: Likewise.
5021 * inet/netinet/in.h [__USE_GNU]: Likewise.
5022 * io/sys/stat.h [__USE_MISC]: Likewise.
5023 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5024 * libio/bits/stdio.h: Update #endif comments.
5025 [__USE_MISC]: Remove redundant conditionals.
5026 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5027 * libio/stdio.h: Update #endif comments.
5028 [__USE_MISC]: Remove redundant conditionals.
5029 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5030 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5031 * math/math.h: Update #else and #endif comments.
5032 [__USE_MISC]: Remove redundant conditionals.
5033 * misc/sys/uio.h: Update #endif comments.
5034 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5035 * posix/glob.h [__USE_MISC]: Likewise.
5036 * posix/sys/types.h: Update #endif comments.
5037 [__USE_MISC]: Remove redundant conditionals.
5038 * posix/sys/wait.h: Update #endif comments.
5039 [__USE_MISC]: Remove redundant conditionals.
5040 * posix/unistd.h: Update #endif comments.
5041 [__USE_MISC]: Remove redundant conditionals.
5042 * pwd/pwd.h [__USE_GNU]: Likewise.
5043 [__USE_MISC]: Likewise.
5044 * resolv/netdb.h [__USE_GNU]: Likewise.
5045 * signal/signal.h: Update #endif comments.
5046 [__USE_MISC]: Remove redundant conditionals.
5047 * stdlib/stdlib.h: Update #else and #endif comments.
5048 [__USE_MISC]: Remove redundant conditionals.
5049 [__USE_GNU]: Likewise.
5050 * string/bits/string2.h [__USE_MISC]: Likewise.
5051 * string/string.h: Update #endif comments.
5052 [__USE_MISC]: Remove redundant conditionals.
5053 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5054 Likewise.
5055 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5056 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5057 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5058 Likewise.
5059 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5060 Likewise.
5061 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5062 comments.
5063 [__USE_MISC]: Remove redundant conditionals.
5064 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5065 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5066 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5067 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5068 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5069 Likewise.
5070 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5071 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5072 Likewise.
5073 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5074 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5075 Likewise.
5076 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5077 Likewise.
5078 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5079 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5080 Likewise.
5081 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5082 Likewise.
5083 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5084 * sysdeps/x86/bits/string.h: Update #endif comments.
5085 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5086 conditionals.
5087 * time/sys/time.h: Update #endif comments.
5088 * time/time.h: Likewise.
5089 [__USE_MISC]: Remove redundant conditionals.
5090
5091 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5092
5093 [BZ #16600]
5094 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5095
5096 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5097
5098 * Versions.def (librt): Add GLIBC_2.17.
5099
5100 2014-02-21 Adam Conrad <adconrad@0c3.net>
5101
5102 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5103 synonym for _SYS_AUXV_H to allow direct inclusion.
5104 * sysdeps/sparc/bits/hwcap.h: Likewise.
5105 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5106 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5107 * sysdeps/sparc/sysdep.h: Likewise.
5108
5109 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5110
5111 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5112
5113 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5114
5115 * benchtests/bench-strrchr.c: Print length instead of position.
5116
5117 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5118
5119 [BZ #16611]
5120 * sysdeps/unix/sysv/linux/kernel-features.h
5121 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5122 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5123 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5124 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5125 Likewise.
5126 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5127 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5128 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5129 (__ASSUME_SENDMMSG): Define instead of using previous
5130 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5131 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5132 (__ASSUME_SENDMMSG_SYSCALL): Define.
5133 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5134 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5135 Likewise.
5136 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5137 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5138 Likewise.
5139 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5140 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5141 Likewise.
5142 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5143 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5144 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5145 [__ASSUME_SENDMMSG]: Change conditionals to
5146 [__ASSUME_SENDMMSG_SOCKETCALL].
5147 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5148 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5149 Define.
5150 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5151 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5152 Likewise.
5153 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5154 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5155 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5156 [!__ASSUME_SENDMMSG]: Change conditional to
5157 [!__ASSUME_SENDMMSG_SOCKETCALL].
5158 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5159 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5160 Define.
5161
5162 [BZ #16610]
5163 * sysdeps/unix/sysv/linux/kernel-features.h
5164 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5165 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5166 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5167 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5168 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5169 [__i386__ || __sparc__]
5170 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5171 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5172 (__ASSUME_RECVMMSG): Define instead of using previous
5173 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5174 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5175 (__ASSUME_RECVMMSG_SYSCALL): Define.
5176 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5177 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5178 Likewise.
5179 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5180 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5181 Likewise.
5182 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5183 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5184 Likewise.
5185 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5186 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5187 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5188 [__ASSUME_RECVMMSG]: Change condition to
5189 [__ASSUME_RECVMMSG_SOCKETCALL].
5190 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5191 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5192 Define.
5193 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5194 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5195 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5196 Likewise.
5197 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5198 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5199 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5200 [!__ASSUME_RECVMMSG]: Change condition to
5201 [!__ASSUME_RECVMMSG_SOCKETCALL].
5202 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5203 (__ASSUME_RECVMMSG_SYSCALL): Define.
5204
5205 [BZ #16609]
5206 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5207 __powerpc__ || __s390__ || __sh__ || __sparc__]
5208 (__ASSUME_SOCKETCALL): Define.
5209 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5210 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5211 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5212 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5213 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5214 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5215 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5216 (__ASSUME_ACCEPT4): Define instead of using previous
5217 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5218 __powerpc__ || __sparc__ || __s390__)] condition.
5219 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5220 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5221 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5222 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5223 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5224 [!__ASSUME_ACCEPT4]: Change condition to
5225 [!__ASSUME_ACCEPT4_SOCKETCALL].
5226 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5227 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5228 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5229 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5230 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5231 __ASSUME_ACCEPT4_SYSCALL.
5232 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5233 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5234 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5235 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5236 __ASSUME_ACCEPT4_SYSCALL.
5237 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5238 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5239 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5240 [__ASSUME_ACCEPT4]: Change condition to
5241 [__ASSUME_ACCEPT4_SOCKETCALL].
5242 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5243 (__ASSUME_SOCKETCALL): Define.
5244 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5245 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5246 (__ASSUME_SOCKETCALL): Define.
5247 (__ASSUME_ACCEPT4): Remove.
5248 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5249 Define.
5250 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5251 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5252 Likewise.
5253 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5254 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5255
5256 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5257 macro.
5258 (HWCAP_ARM_LPAE): Likewise.
5259 (HWCAP_ARM_EVTSTRM): Likewise.
5260 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5261 Add vpfd32, lpae and evtstrm.
5262 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5263 Increase to 22.
5264
5265 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5266
5267 * math/auto-libm-test-in: Add tests of clog10.
5268 * math/auto-libm-test-out: Regenerated.
5269 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5270 * sysdeps/i386/fpu/libm-test-ulps: Update.
5271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5272
5273 2014-02-18 Andreas Schwab <schwab@suse.de>
5274
5275 [BZ #16574]
5276 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5277 Store non-zero if the second buffer was newly allocated.
5278 (send_dg): Likewise.
5279 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5280 to send_vc and send_dg.
5281 (res_nsend): Pass NULL for ansp2_malloced.
5282 * resolv/res_query.c (__libc_res_nquery): Add parameter
5283 answerp2_malloced and pass it down to __libc_res_nsend.
5284 (res_nquery): Pass additional NULL to __libc_res_nquery.
5285 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5286 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5287 second answer buffer if answerp2_malloced was set.
5288 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5289 (__libc_res_nquerydomain): Add parameter
5290 answerp2_malloced and pass it down to __libc_res_nquery.
5291 (res_nquerydomain): Pass additional NULL to
5292 __libc_res_nquerydomain.
5293 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5294 additional NULL to __libc_res_nsend and __libc_res_nquery.
5295 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5296 additional NULL to __libc_res_nsearch.
5297 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5298 parameter of __libc_res_nsearch to check for separately allocated
5299 second buffer.
5300 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5301 __libc_res_nquery.
5302 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5303 additional NULL to __libc_res_nquery.
5304 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5305 __libc_res_nsearch.
5306 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5307 * include/resolv.h: Update prototypes of __libc_res_nquery,
5308 __libc_res_nsearch, __libc_res_nsend.
5309
5310 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5311
5312 * math/auto-libm-test-in: Add tests of fma.
5313 * math/auto-libm-test-out: Regenerated.
5314 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5315 (fma_towardzero_test_data): Likewise.
5316 (fma_downward_test_data): Likewise.
5317 (fma_upward_test_data): Likewise.
5318 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5319 mpc_mode.
5320 (rounding_modes): Add values for new field.
5321 (func_calc_method): Add value mpfr_fff_f.
5322 (func_calc_desc): Add mpfr_fff_f union field.
5323 (test_function): Add field exact_args.
5324 (FUNC): Add macro argument EXACT_ARGS.
5325 (FUNC_mpfr_f_f): Update call to FUNC.
5326 (FUNC_mpfr_f_f): Likewise.
5327 (FUNC_mpfr_ff_f): Likewise.
5328 (FUNC_mpfr_if_f): Likewise.
5329 (FUNC_mpc_c_f): Likewise.
5330 (FUNC_mpc_c_c): Likewise.
5331 (test_functions): Add fma. Update calls to FUNC.
5332 (handle_input_arg): Add argument exact_args.
5333 (add_test): Update call to handle_input_arg.
5334 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5335 (output_for_one_input_case): Update call to calc_generic_results.
5336 Recalculate exact zero results in each rounding mode.
5337
5338 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5339 non-negative before setting low bit.
5340 * math/auto-libm-test-in: Mark one asin test possibly having
5341 spurious underflow.
5342 * math/auto-libm-test-out: Regenerated.
5343 * sysdeps/i386/fpu/libm-test-ulps: Update.
5344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5345
5346 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5347
5348 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5349 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5350 ports/sysdeps/unix/sysv/linux/microblaze.
5351 * README: Add missing listing for microblaze*-*-linux-gnu.
5352
5353 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5354
5355 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5356 * sysdeps/unix/sysv/linux/ia64: Move directory from
5357 ports/sysdeps/unix/sysv/linux/ia64.
5358 * README: Update listing for ia64-*-linux-gnu.
5359
5360 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5361 Joseph Myers <joseph@codesourcery.com>
5362
5363 * Makeconfig (test-name): New variable.
5364 (evaluate-test): Likewise.
5365 * Makerules (do-test-clean): Remove .test-result files.
5366 (common-mostlyclean): Likewise.
5367 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5368 * scripts/evaluate-test.sh: New file.
5369
5370 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5371
5372 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5373 separate $(objpfx)tst-fopenloc-cmp.out and
5374 $(objpfx)tst-fopenloc-mem.out targets.
5375 (tests): Update dependencies.
5376 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5377 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5378 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5379 (tst-rxspencer-no-utf8-ARGS): New variable.
5380 (tst-rxspencer-no-utf8-ENV): Likewise.
5381 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5382 instead of $(objpfx)tst-rxspencer-mem.
5383 ($(objpfx)tst-rxspencer-mem): Change target to
5384 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5385 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5386 * posix/tst-rxspencer-no-utf8.c: New file.
5387
5388 * elf/Makefile ($(objpfx)order.out): Remove rule.
5389 [$(run-built-tests) = yes] (tests): Depend on
5390 $(objpfx)order-cmp.out.
5391 ($(objpfx)order-cmp.out): New rule.
5392 [$(run-built-tests) = yes] (tests): Depend on
5393 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5394 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5395 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5396 $(objpfx)tst-array5-static-cmp.out.
5397 ($(objpfx)tst-array1.out): Remove rule.
5398 ($(objpfx)tst-array1-cmp.out): New rule.
5399 ($(objpfx)tst-array1-static.out): Remove rule.
5400 ($(objpfx)tst-array1-static-cmp.out): New rule.
5401 ($(objpfx)tst-array2.out): Remove rule.
5402 ($(objpfx)tst-array2-cmp.out): New rule.
5403 ($(objpfx)tst-array3.out): Remove rule.
5404 ($(objpfx)tst-array3-cmp.out): New rule.
5405 ($(objpfx)tst-array4.out): Remove rule.
5406 ($(objpfx)tst-array4-cmp.out): New rule.
5407 ($(objpfx)tst-array5.out): Remove rule.
5408 ($(objpfx)tst-array5-cmp.out): New rule.
5409 ($(objpfx)tst-array5-static.out): Remove rule.
5410 ($(objpfx)tst-array5-static-cmp.out): New rule.
5411 [$(run-built-tests) = yes] (tests): Depend on
5412 $(objpfx)order2-cmp.out.
5413 ($(objpfx)order2.out): Remove rule.
5414 ($(objpfx)order2-cmp.out): New rule.
5415 ($(objpfx)tst-initorder.out): Remove rule.
5416 [$(run-built-tests) = yes] (tests): Depend on
5417 $(objpfx)tst-initorder-cmp.out.
5418 ($(objpfx)tst-initorder-cmp.out): New rule.
5419 ($(objpfx)tst-initorder2.out): Remove rule.
5420 [$(run-built-tests) = yes] (tests): Depend on
5421 $(objpfx)tst-initorder2-cmp.out.
5422 ($(objpfx)tst-initorder2-cmp.out): New rule.
5423 [$(run-built-tests) = yes] (tests): Depend on
5424 $(objpfx)tst-unused-dep-cmp.out.
5425 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5426 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5427 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5428 on $(objpfx)tst-setvbuf1-cmp.out.
5429 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5430 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5431 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5432 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5433 ($(objpfx)tst-svc.out): Remove rule.
5434 ($(objpfx)tst-svc-cmp.out): New rule.
5435
5436 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5437
5438 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5439 * ctype/ctype.h [__USE_MISC]: Likewise.
5440 * dirent/dirent.h [__USE_MISC]: Likewise.
5441 * grp/grp.h [__USE_MISC]: Likewise.
5442 * io/fcntl.h [__USE_MISC]: Likewise.
5443 * io/sys/stat.h [__USE_MISC]: Likewise.
5444 * libio/stdio.h [__USE_MISC]: Likewise.
5445 * posix/unistd.h [__USE_MISC]: Likewise.
5446 * pwd/pwd.h [__USE_MISC]: Likewise.
5447 * stdlib.h [__USE_MISC]: Likewise.
5448 * string/bits/string2.h [__USE_MISC]: Likewise.
5449 * string/string.h [__USE_MISC]: Likewise.
5450 * time/time.h [__USE_MISC]: Likewise.
5451
5452 2014-02-13 Andreas Schwab <schwab@suse.de>
5453
5454 [BZ #16574]
5455 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5456 second answer buffer if it was separately allocated.
5457
5458 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5459
5460 * sysdeps/mips/math-tests.h: Include <features.h>.
5461 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5462 (ROUNDING_TESTS_long_double): Do not define.
5463 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5464 (EXCEPTION_TESTS_long_double): Likewise.
5465 * sysdeps/mips/mips64/libm-test-ulps: Update.
5466
5467 * include/features.h (__USE_BSD): Remove macro definitions.
5468 (__USE_SVID): Likewise.
5469 (_BSD_SOURCE): Likewise.
5470 (_SVID_SOURCE): Likewise.
5471 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5472 from definition of _DEFAULT_SOURCE.
5473 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5474 [_DEFAULT_SOURCE].
5475 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5476 * bits/mman.h [__USE_BSD]: Likewise.
5477 * bits/termios.h [__USE_BSD]: Likewise.
5478 * bits/waitstatus.h [__USE_BSD]: Likewise.
5479 * ctype/ctype.h [__USE_SVID]: Likewise.
5480 * dirent/dirent.h [__USE_BSD]: Likewise.
5481 * grp/grp.h [__USE_SVID]: Likewise.
5482 [__USE_BSD]: Likewise.
5483 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5484 * io/fcntl.h [__USE_BSD]: Likewise.
5485 * io/ftw.h [__USE_BSD]: Likewise.
5486 * io/sys/stat.h [__USE_BSD]: Likewise.
5487 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5488 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5489 * libio/stdio.h [__USE_SVID]: Likewise.
5490 [__USE_BSD]: Likewise.
5491 * math/math.h [__USE_SVID]: Likewise.
5492 [__USE_BSD]: Likewise.
5493 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5494 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5495 * misc/search.h [__USE_SVID]: Likewise.
5496 * misc/sys/mman.h [__USE_BSD]: Likewise.
5497 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5498 * misc/sys/uio.h [__USE_BSD]: Likewise.
5499 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5500 * posix/glob.h [__USE_BSD]: Likewise.
5501 * posix/regex.h [__USE_BSD]: Likewise.
5502 * posix/sys/types.h [__USE_BSD]: Likewise.
5503 [__USE_SVID]: Likewise.
5504 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5505 * posix/sys/wait.h [__USE_BSD]: Likewise.
5506 [__USE_SVID]: Likewise.
5507 * posix/unistd.h [__USE_BSD]: Likewise.
5508 [__USE_SVID]: Likewise.
5509 * pwd/pwd.h [__USE_SVID]: Likewise.
5510 * resolv/netdb.h [__USE_BSD]: Likewise.
5511 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5512 * signal/signal.h [__USE_BSD]: Likewise.
5513 [__USE_SVID]: Likewise.
5514 * socket/sys/socket.h [__USE_BSD]: Likewise.
5515 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5516 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5517 [__USE_SVID]: Likewise.
5518 * string/bits/string2.h [__USE_BSD]: Likewise.
5519 [__USE_SVID]: Likewise.
5520 * string/bits/string3.h [__USE_BSD]: Likewise.
5521 * string/endian.h [__USE_BSD]: Likewise.
5522 * string/string.h [__USE_SVID]: Likewise.
5523 [__USE_BSD]: Likewise.
5524 * string/strings.h [__USE_BSD]: Likewise.
5525 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5526 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5527 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5528 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5529 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5530 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5531 Likewise.
5532 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5533 Likewise.
5534 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5535 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5536 Likewise.
5537 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5538 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5539 Likewise.
5540 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5541 Likewise.
5542 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5543 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5544 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5545 Likewise.
5546 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5547 Likewise.
5548 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5549 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5550 * termios/termios.h [__USE_BSD]: Likewise.
5551 * time/sys/time.h [__USE_BSD]: Likewise.
5552 * time/time.h [__USE_BSD]: Likewise.
5553 [__USE_SVID]: Likewise.
5554
5555 * Makefile (subdir_targets): Remove subdir_lint.out.
5556
5557 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5558 (do-tst-printf): Likewise.
5559 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5560 $(objpfx)tst-printf.out.
5561
5562 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5563
5564 * Makerules (check-abi-%): Change target to
5565 $(objpfx)check-abi-%.out.
5566 (check-abi target): Update dependencies.
5567 (check-abi-pattern variable): Redirect output of diff to $@.
5568 (check-abi variable): Likewise.
5569 * elf/Makefile (check-abi): Update dependencies.
5570
5571 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5572 unused.
5573 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5574 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5575 subnormal range.
5576 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5577 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5578 value has largest subnormal exponent.
5579 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5580 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5581 * sysdeps/aarch64/soft-fp/sfp-machine.h
5582 (_FP_TININESS_AFTER_ROUNDING): New macro.
5583 * sysdeps/alpha/soft-fp/sfp-machine.h
5584 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5585 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5586 Likewise.
5587 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5588 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5589 * sysdeps/mips/soft-fp/sfp-machine.h
5590 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5591 * sysdeps/powerpc/soft-fp/sfp-machine.h
5592 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5593 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5594 Likewise.
5595 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5596 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5597 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5598 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5599 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5600 Likewise.
5601
5602 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5603
5604 [BZ #16545]
5605 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5606 model 1.
5607
5608 2014-02-12 Richard Henderson <rth@redhat.com>
5609
5610 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5611 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5612 * sysdeps/unix/sysv/linux/alpha: Move directory from
5613 ports/sysdeps/unix/sysv/linux/alpha.
5614 * README: Update listing for alpha-*-linux-gnu.
5615
5616 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5617
5618 * include/features.h: Update comment documenting feature test
5619 macros.
5620 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5621 _DEFAULT_SOURCE.
5622 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5623 (_SVID_SOURCE): Likewise.
5624 (_DEFAULT_SOURCE): Update description of default features.
5625 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5626 with _GNU_SOURCE.
5627 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5628 (S_ISVTX): Likewise.
5629 * manual/math.texi (Mathematical Constants): Likewise.
5630 * manual/signal.texi (Interrupted Primitives): Likewise.
5631 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5632 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5633 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5634 Don't refer to _SVID_SOURCE in warning text.
5635
5636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5637
5638 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5639 already defined.
5640 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5641 * sysdeps/mips/dl-lookup.c: Remove.
5642 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5643
5644 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5645
5646 [BZ #16447]
5647 * math/auto-libm-test-in: Add testcase for expl.
5648 * math/auto-libm-test-out: Regenerate.
5649 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5650 calculation of unsafe.
5651 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5652
5653 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5654
5655 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5656 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5657 ports/sysdeps/unix/sysv/linux/aarch64.
5658 * README: Update listing for aarch64*-*-linux-gnu.
5659
5660 2014-02-11 Will Newton <will.newton@linaro.org>
5661
5662 * manual/probes.texi (Mathematical Function Probes): Use
5663 "triggered" instead of "hit".
5664
5665 * manual/probes.texi (Internal Probes): Add documentation
5666 of setjmp, longjmp and longjmp_target probes.
5667
5668 * include/stap-probe.h: Add comment about probe argument
5669 format.
5670
5671 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5672 definition. (tr_where, tr_freehook, tr_mallochook,
5673 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5674
5675 2014-02-11 David S. Miller <davem@davemloft.net>
5676
5677 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5678 processing int_tests.
5679
5680 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5681
5682 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5683 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5684 * sysdeps/unix/sysv/linux/mips: Move directory from
5685 ports/sysdeps/unix/sysv/linux/mips.
5686 * README: Update listing for mips-*-linux-gnu and
5687 mips64-*-linux-gnu.
5688
5689 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5690
5691 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5692 * sysdeps/unix/sysv/linux/m68k: Move directory from
5693 ports/sysdeps/unix/sysv/linux/m68k.
5694 * README: Update listing for m68k-*-linux-gnu.
5695
5696 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5697
5698 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5699 * sysdeps/unix/sysv/linux/generic: Move directory from
5700 ports/sysdeps/unix/sysv/linux/generic.
5701 * sysdeps/unix/sysv/linux/tile: Move directory from
5702 ports/sysdeps/unix/sysv/linux/tile.
5703 * README: Update listing for tile*-*-linux-gnu.
5704
5705 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5706
5707 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5708 __builtin_expect.
5709 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5710 * catgets/open_catalog.c (__open_catalog): Likewise.
5711 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5712 * debug/confstr_chk.c: Likewise.
5713 * debug/fread_chk.c (__fread_chk): Likewise.
5714 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5715 * debug/getgroups_chk.c: Likewise.
5716 * debug/mbsnrtowcs_chk.c: Likewise.
5717 * debug/mbsrtowcs_chk.c: Likewise.
5718 * debug/mbstowcs_chk.c: Likewise.
5719 * debug/memcpy_chk.c: Likewise.
5720 * debug/memmove_chk.c: Likewise.
5721 * debug/mempcpy_chk.c: Likewise.
5722 * debug/memset_chk.c: Likewise.
5723 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5724 * debug/strcat_chk.c (__strcat_chk): Likewise.
5725 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5726 * debug/strncat_chk.c (__strncat_chk): Likewise.
5727 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5728 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5729 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5730 * debug/wcpncpy_chk.c: Likewise.
5731 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5732 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5733 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5734 * debug/wcsncpy_chk.c: Likewise.
5735 * debug/wcsnrtombs_chk.c: Likewise.
5736 * debug/wcsrtombs_chk.c: Likewise.
5737 * debug/wcstombs_chk.c: Likewise.
5738 * debug/wmemcpy_chk.c: Likewise.
5739 * debug/wmemmove_chk.c: Likewise.
5740 * debug/wmempcpy_chk.c: Likewise.
5741 * debug/wmemset_chk.c: Likewise.
5742 * dirent/scandirat.c (SCANDIRAT): Likewise.
5743 * dlfcn/dladdr1.c (dladdr1): Likewise.
5744 * dlfcn/dladdr.c (dladdr): Likewise.
5745 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5746 * dlfcn/dlerror.c (__dlerror): Likewise.
5747 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5748 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5749 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5750 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5751 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5752 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5753 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5754 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5755 Likewise.
5756 * elf/dl-conflict.c: Likewise.
5757 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5758 * elf/dl-dst.h: Likewise.
5759 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5760 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5761 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5762 * elf/dl-init.c (call_init, _dl_init): Likewise.
5763 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5764 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5765 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5766 Likewise.
5767 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5768 Likewise.
5769 * elf/dl-minimal.c (__libc_memalign): Likewise.
5770 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5771 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5772 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5773 * elf/dl-sym.c (do_sym): Likewise.
5774 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5775 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5776 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5777 * elf/dl-writev.h (_dl_writev): Likewise.
5778 * elf/ldconfig.c (search_dir): Likewise.
5779 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5780 (dl_main): Likewise.
5781 * elf/setup-vdso.h (setup_vdso): Likewise.
5782 * grp/compat-initgroups.c (compat_call): Likewise.
5783 * grp/fgetgrent.c (fgetgrent): Likewise.
5784 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5785 * grp/putgrent.c (putgrent): Likewise.
5786 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5787 Likewise.
5788 * hurd/hurdinit.c: Likewise.
5789 * iconvdata/8bit-gap.c (struct): Likewise.
5790 * iconvdata/ansi_x3.110.c : Likewise.
5791 * iconvdata/big5.c : Likewise.
5792 * iconvdata/big5hkscs.c : Likewise.
5793 * iconvdata/cp1255.c: Likewise.
5794 * iconvdata/cp1258.c : Likewise.
5795 * iconvdata/cp932.c : Likewise.
5796 * iconvdata/euc-cn.c: Likewise.
5797 * iconvdata/euc-jisx0213.c : Likewise.
5798 * iconvdata/euc-jp.c: Likewise.
5799 * iconvdata/euc-jp-ms.c : Likewise.
5800 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5801 * iconvdata/gb18030.c : Likewise.
5802 * iconvdata/gbbig5.c (const): Likewise.
5803 * iconvdata/gbgbk.c: Likewise.
5804 * iconvdata/gbk.c : Likewise.
5805 * iconvdata/ibm1364.c : Likewise.
5806 * iconvdata/ibm930.c : Likewise.
5807 * iconvdata/ibm932.c: Likewise.
5808 * iconvdata/ibm933.c : Likewise.
5809 * iconvdata/ibm935.c : Likewise.
5810 * iconvdata/ibm937.c : Likewise.
5811 * iconvdata/ibm939.c : Likewise.
5812 * iconvdata/ibm943.c: Likewise.
5813 * iconvdata/iso_11548-1.c: Likewise.
5814 * iconvdata/iso-2022-cn.c : Likewise.
5815 * iconvdata/iso-2022-cn-ext.c : Likewise.
5816 * iconvdata/iso-2022-jp-3.c: Likewise.
5817 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5818 * iconvdata/iso-2022-kr.c : Likewise.
5819 * iconvdata/iso646.c (gconv_end): Likewise.
5820 * iconvdata/iso_6937-2.c : Likewise.
5821 * iconvdata/iso_6937.c : Likewise.
5822 * iconvdata/iso8859-1.c: Likewise.
5823 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5824 * iconvdata/shift_jisx0213.c : Likewise.
5825 * iconvdata/sjis.c : Likewise.
5826 * iconvdata/t.61.c : Likewise.
5827 * iconvdata/tcvn5712-1.c : Likewise.
5828 * iconvdata/tscii.c: Likewise.
5829 * iconvdata/uhc.c : Likewise.
5830 * iconvdata/unicode.c (gconv_end): Likewise.
5831 * iconvdata/utf-16.c (gconv_end): Likewise.
5832 * iconvdata/utf-32.c (gconv_end): Likewise.
5833 * iconvdata/utf-7.c (base64): Likewise.
5834 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5835 * iconv/gconv_close.c (__gconv_close): Likewise.
5836 * iconv/gconv_open.c (__gconv_open): Likewise.
5837 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5838 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5839 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5840 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5841 (ucs4le_internal_loop_single): Likewise.
5842 * iconv/iconv.c (iconv): Likewise.
5843 * iconv/iconv_close.c: Likewise.
5844 * iconv/loop.c (SINGLE): Likewise.
5845 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5846 * include/atomic.h: Likewise.
5847 * inet/inet6_option.c (option_alloc): Likewise.
5848 * intl/bindtextdom.c (set_binding_values): Likewise.
5849 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5850 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5851 * intl/localealias.c (read_alias_file): Likewise.
5852 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5853 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5854 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5855 * libio/fmemopen.c (fmemopen): Likewise.
5856 * libio/iofgets.c (_IO_fgets): Likewise.
5857 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5858 * libio/iofgetws.c (fgetws): Likewise.
5859 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5860 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5861 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5862 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5863 * locale/findlocale.c (_nl_find_locale): Likewise.
5864 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5865 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5866 Likewise.
5867 * locale/setlocale.c (setlocale): Likewise.
5868 * login/programs/pt_chown.c (main): Likewise.
5869 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5870 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5871 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5872 (mmap, mmap64, mremap, munmap): Likewise.
5873 * math/e_exp2l.c: Likewise.
5874 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5875 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5876 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5877 * math/s_catan.c (__catan): Likewise.
5878 * math/s_catanf.c (__catanf): Likewise.
5879 * math/s_catanh.c (__catanh): Likewise.
5880 * math/s_catanhf.c (__catanhf): Likewise.
5881 * math/s_catanhl.c (__catanhl): Likewise.
5882 * math/s_catanl.c (__catanl): Likewise.
5883 * math/s_ccosh.c (__ccosh): Likewise.
5884 * math/s_ccoshf.c (__ccoshf): Likewise.
5885 * math/s_ccoshl.c (__ccoshl): Likewise.
5886 * math/s_cexp.c (__cexp): Likewise.
5887 * math/s_cexpf.c (__cexpf): Likewise.
5888 * math/s_cexpl.c (__cexpl): Likewise.
5889 * math/s_clog10.c (__clog10): Likewise.
5890 * math/s_clog10f.c (__clog10f): Likewise.
5891 * math/s_clog10l.c (__clog10l): Likewise.
5892 * math/s_clog.c (__clog): Likewise.
5893 * math/s_clogf.c (__clogf): Likewise.
5894 * math/s_clogl.c (__clogl): Likewise.
5895 * math/s_csin.c (__csin): Likewise.
5896 * math/s_csinf.c (__csinf): Likewise.
5897 * math/s_csinh.c (__csinh): Likewise.
5898 * math/s_csinhf.c (__csinhf): Likewise.
5899 * math/s_csinhl.c (__csinhl): Likewise.
5900 * math/s_csinl.c (__csinl): Likewise.
5901 * math/s_csqrt.c (__csqrt): Likewise.
5902 * math/s_csqrtf.c (__csqrtf): Likewise.
5903 * math/s_csqrtl.c (__csqrtl): Likewise.
5904 * math/s_ctan.c (__ctan): Likewise.
5905 * math/s_ctanf.c (__ctanf): Likewise.
5906 * math/s_ctanh.c (__ctanh): Likewise.
5907 * math/s_ctanhf.c (__ctanhf): Likewise.
5908 * math/s_ctanhl.c (__ctanhl): Likewise.
5909 * math/s_ctanl.c (__ctanl): Likewise.
5910 * math/w_pow.c: Likewise.
5911 * math/w_powf.c: Likewise.
5912 * math/w_powl.c: Likewise.
5913 * math/w_scalb.c (sysv_scalb): Likewise.
5914 * math/w_scalbf.c (sysv_scalbf): Likewise.
5915 * math/w_scalbl.c (sysv_scalbl): Likewise.
5916 * misc/error.c (error_tail): Likewise.
5917 * misc/pselect.c (__pselect): Likewise.
5918 * nis/nis_callback.c (__nis_create_callback): Likewise.
5919 * nis/nis_call.c (__nisfind_server): Likewise.
5920 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5921 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5922 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5923 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5924 * nis/nis_lookup.c (nis_lookup): Likewise.
5925 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5926 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5927 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5928 * nis/nis_xdr.c (xdr_endpoint): Likewise.
5929 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5930 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5931 * nis/nss_compat/compat-initgroups.c (add_group)
5932 (internal_getgrent_r): Likewise.
5933 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5934 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5935 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5936 (internal_getspnam_r): Likewise.
5937 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5938 (_nss_nis_getaliasbyname_r): Likewise.
5939 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5940 (_nss_nis_getntohost_r): Likewise.
5941 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5942 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5943 (_nss_nis_getgrgid_r): Likewise.
5944 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5945 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5946 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5947 (_nss_nis_gethostbyname4_r): Likewise.
5948 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5949 (initgroups_netid): Likewise.
5950 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5951 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5952 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5953 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5954 (_nss_nis_getprotobynumber_r): Likewise.
5955 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5956 (_nss_nis_getsecretkey): Likewise.
5957 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5958 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5959 (_nss_nis_getpwuid_r): Likewise.
5960 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5961 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5962 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5963 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5964 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5965 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5966 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5967 Likewise.
5968 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5969 (_nss_nisplus_getntohost_r): Likewise.
5970 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5971 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5972 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5973 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5974 Likewise.
5975 * nis/nss_nisplus/nisplus-initgroups.c
5976 (_nss_nisplus_initgroups_dyn): Likewise.
5977 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5978 (_nss_nisplus_getnetbyaddr_r): Likewise.
5979 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5980 (_nss_nisplus_getprotobynumber_r): Likewise.
5981 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5982 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5983 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5984 Likewise.
5985 * nis/nss_nisplus/nisplus-service.c
5986 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5987 (_nss_nisplus_getservbyport_r): Likewise.
5988 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5989 (_nss_nisplus_getspnam_r): Likewise.
5990 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5991 Likewise.
5992 * nscd/aicache.c (addhstaiX): Likewise.
5993 * nscd/cache.c (cache_search, prune_cache): Likewise.
5994 * nscd/connections.c (register_traced_file, send_ro_fd)
5995 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5996 (main_loop_epoll): Likewise.
5997 * nscd/grpcache.c (addgrbyX): Likewise.
5998 * nscd/hstcache.c (addhstbyX): Likewise.
5999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6000 * nscd/mem.c (gc, mempool_alloc): Likewise.
6001 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6002 (addinnetgrX): Likewise.
6003 * nscd/nscd-client.h (__nscd_acquire_maplock)
6004 (__nscd_drop_map_ref): Likewise.
6005 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6006 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6007 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6008 Likewise.
6009 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6010 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6011 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6012 (__nscd_get_map_ref): Likewise.
6013 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6014 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6015 Likewise.
6016 * nscd/pwdcache.c (addpwbyX): Likewise.
6017 * nscd/selinux.c (preserve_capabilities): Likewise.
6018 * nscd/servicescache.c (addservbyX): Likewise.
6019 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6020 * posix/fnmatch.c (fnmatch): Likewise.
6021 * posix/getopt.c (_getopt_internal_r): Likewise.
6022 * posix/glob.c (glob, glob_in_dir): Likewise.
6023 * posix/wordexp.c (exec_comm_child): Likewise.
6024 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6025 (getanswer_r, gaih_getanswer_slice): Likewise.
6026 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6027 * resolv/res_init.c: Likewise.
6028 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6029 * resolv/res_query.c (__libc_res_nquery): Likewise.
6030 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6031 Likewise.
6032 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6033 * stdio-common/perror.c (perror): Likewise.
6034 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6035 * stdio-common/tmpnam.c (tmpnam): Likewise.
6036 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6037 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6038 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6039 Likewise.
6040 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6041 * stdlib/putenv.c (putenv): Likewise.
6042 * stdlib/setenv.c (__add_to_environ): Likewise.
6043 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6044 * stdlib/strtol_l.c (INTERNAL): Likewise.
6045 * string/memmem.c (memmem): Likewise.
6046 * string/strerror.c (strerror): Likewise.
6047 * string/strnlen.c (__strnlen): Likewise.
6048 * string/test-memmem.c (simple_memmem): Likewise.
6049 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6050 * sunrpc/pm_getport.c (__get_socket): Likewise.
6051 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6052 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6053 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6054 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6055 Likewise.
6056 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6057 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6058 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6059 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6060 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6061 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6062 Likewise.
6063 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6064 Likewise.
6065 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6066 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6067 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6068 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6069 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6071 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6072 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6073 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6074 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6075 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6076 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6077 Likewise.
6078 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6079 Likewise.
6080 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6081 Likewise.
6082 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6083 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6084 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6085 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6086 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6087 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6088 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6089 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6090 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6091 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6092 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6093 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6094 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6095 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6096 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6097 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6098 Likewise.
6099 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6100 Likewise.
6101 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6102 Likewise.
6103 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6104 Likewise.
6105 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6106 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6107 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6108 Likewise.
6109 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6110 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6111 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6112 * sysdeps/posix/sleep.c: Likewise.
6113 * sysdeps/posix/tempname.c: Likewise.
6114 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6115 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6116 Likewise.
6117 * sysdeps/powerpc/powerpc32/dl-machine.h
6118 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6119 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6120 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6121 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6122 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6123 Likewise.
6124 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6125 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6126 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6127 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6128 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6129 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6130 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6131 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6132 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6133 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6134 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6135 (elf_machine_lazy_rel): Likewise.
6136 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6137 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6138 (elf_machine_lazy_rel): Likewise.
6139 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6140 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6141 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6142 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6143 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6144 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6145 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6146 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6147 Likewise.
6148 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6149 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6150 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6151 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6152 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6153 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6154 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6155 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6156 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6157 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6158 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6159 Likewise.
6160 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6161 (__posix_fallocate64_l64): Likewise.
6162 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6163 (posix_fallocate): Likewise.
6164 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6165 Likewise.
6166 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6167 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6168 (getifaddrs_internal): Likewise.
6169 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6170 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6171 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6172 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6173 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6174 (__posix_fallocate64_l64): Likewise.
6175 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6176 Likewise.
6177 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6178 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6179 (__get_clockfreq): Likewise.
6180 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6181 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6182 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6183 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6184 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6185 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6186 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6187 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6188 Likewise.
6189 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6190 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6191 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6192 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6193 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6194 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6195 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6196 Likewise.
6197 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6198 (posix_fallocate): Likewise.
6199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6200 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6201 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6202 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6203 (elf_machine_rela, elf_machine_rela_relative)
6204 (elf_machine_lazy_rel): Likewise.
6205 * time/asctime.c (asctime_internal): Likewise.
6206 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6207 * time/tzset.c (__tzset_parse_tz): Likewise.
6208 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6209 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6210 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6211 * wcsmbs/wcsmbsload.h: Likewise.
6212
6213 [BZ #15894]
6214 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6215
6216 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6217 (arena_get2): Remove THREAD_STATS conditionals.
6218 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6219 (__malloc_stats, int): Likewise.
6220
6221 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6222
6223 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6224 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6225
6226 * manual/setjmp.texi: Fix typos/grammar errors.
6227
6228 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6229 Only return early when n is <= 0. Delete unused return statement.
6230
6231 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6232 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6233 * debug/tst-longjmp_chk3.c: New file.
6234
6235 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6236 (test_main): Replace code with set_fortify_handler call.
6237 * debug/test-strcpy_chk.c: Likewise.
6238 * debug/tst-chk1.c: Likewise.
6239 * debug/tst-longjmp_chk.c: Likewise.
6240 * test-skeleton.c: Include fcntl.h & paths.h
6241 (set_fortify_handler): Define.
6242
6243 * debug/tst-longjmp_chk.c: Add header comment and include
6244 ../test-skeleton.c.
6245 (do_test): Mark static.
6246 (TEST_FUNCTION): Define.
6247
6248 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6249 (IP_PMTUDISC_INTERFACE): Likewise.
6250 (IP_MULTICAST_IF): Likewise.
6251 (IP_MULTICAST_TTL): Likewise.
6252 (IP_MULTICAST_LOOP): Likewise.
6253 (IP_ADD_MEMBERSHIP): Likewise.
6254 (IP_DROP_MEMBERSHIP): Likewise.
6255 (IP_UNBLOCK_SOURCE): Likewise.
6256 (IP_BLOCK_SOURCE): Likewise.
6257 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6258 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6259 (IP_MSFILTER): Likewise.
6260 (MCAST_JOIN_GROUP): Likewise.
6261 (MCAST_BLOCK_SOURCE): Likewise.
6262 (MCAST_UNBLOCK_SOURCE): Likewise.
6263 (MCAST_LEAVE_GROUP): Likewise.
6264 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6265 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6266 (MCAST_MSFILTER): Likewise.
6267 (IP_MULTICAST_ALL): Likewise.
6268 (IP_UNICAST_IF): Likewise.
6269
6270 * timezone/Makefile: Delete $(have-ksh) check.
6271 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6272 * timezone/tzselect.ksh: Add +x mode bits.
6273
6274 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6275 (ANON_INODE_FS_MAGIC): Likewise.
6276 (BDEVFS_MAGIC): Likewise.
6277 (BINFMTFS_MAGIC): Likewise.
6278 (BTRFS_TEST_MAGIC): Likewise.
6279 (CRAMFS_MAGIC_WEND): Likewise.
6280 (DEBUGFS_MAGIC): Likewise.
6281 (ECRYPTFS_SUPER_MAGIC): Likewise.
6282 (EXT3_SUPER_MAGIC): Likewise.
6283 (EXT4_SUPER_MAGIC): Likewise.
6284 (FUTEXFS_SUPER_MAGIC): Likewise.
6285 (HOSTFS_SUPER_MAGIC): Likewise.
6286 (HUGETLBFS_MAGIC): Likewise.
6287 (MINIX3_SUPER_MAGIC): Likewise.
6288 (MTD_INODE_FS_MAGIC): Likewise.
6289 (NILFS_SUPER_MAGIC): Likewise.
6290 (OPENPROM_SUPER_MAGIC): Likewise.
6291 (PIPEFS_MAGIC): Likewise.
6292 (PSTOREFS_MAGIC): Likewise.
6293 (QNX6_SUPER_MAGIC): Likewise.
6294 (RAMFS_MAGIC): Likewise.
6295 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6296 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6297 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6298 (SECURITYFS_MAGIC): Likewise.
6299 (SELINUX_MAGIC): Likewise.
6300 (SMACK_MAGIC): Likewise.
6301 (SOCKFS_MAGIC): Likewise.
6302 (SQUASHFS_MAGIC): Likewise.
6303 (STACK_END_MAGIC): Likewise.
6304 (TMPFS_MAGIC): Likewise.
6305 (USBDEVICE_SUPER_MAGIC): Likewise.
6306 (V9FS_MAGIC): Likewise.
6307 (XENFS_SUPER_MAGIC): Likewise.
6308 (CRAMFS_MAGIC): Fix typo in comment.
6309 (EXT2_SUPER_MAGIC): Update comment.
6310 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6311
6312 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6313
6314 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6315 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6316 * sysdeps/unix/sysv/linux/arm: Move directory from
6317 ports/sysdeps/unix/sysv/linux/arm.
6318 * README: Update listing for arm-*-linux-gnueabi.
6319
6320 * README: Remove mention of am33.
6321
6322 2014-02-07 Roland McGrath <roland@hack.frob.com>
6323
6324 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6325 than the comma operator, to avoid "rhs of comma has no effect"
6326 compiler warnings.
6327 (__sigfillset, __sigandset, __sigorset): Likewise.
6328 * include/signal.h (__sigemptyset): Likewise.
6329 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6330
6331 2014-02-07 Allan McRae <allan@archlinux.org>
6332
6333 * version.h (RELEASE): Set to "development".
6334 (VERSION): Set to "2.19.90"
6335 * NEWS: Add 2.20 section.
6336
6337 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6338
6339 [BZ #16529]
6340 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6341
6342 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6343
6344 * manual/contrib.texi: Update entry for Carlos O'Donell,
6345 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6346
6347 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6348
6349 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6350
6351 * sysdeps/unix/sysv/linux/kernel-features.h
6352 [__LINUX_KERNEL_VERSION >= 0x020621]
6353 (__ASSUME_PROC_PID_TASK_COMM): Define.
6354
6355 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6356
6357 [BZ #16398]
6358 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6359 conversion when destination buffer does not have enough space.
6360 * libio/tst-ftell-partial-wide.c: New test case.
6361 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6362
6363 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6364 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6365 Leonard and Allan McRae.
6366
6367 2014-02-04 David S. Miller <davem@davemloft.net>
6368
6369 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6370 32-bit.
6371
6372 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6373
6374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6375 New file
6376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6377 New file
6378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6379 New file.
6380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6381 New file.
6382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6383 New file.
6384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6385 New file.
6386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6387 New file.
6388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6389 New file.
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6391 New file.
6392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6393 New file.
6394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6395 New file.
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6397 New file.
6398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6399 New file.
6400
6401 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6402
6403 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6404 * shlib-versions: Likewise.
6405
6406 2014-02-04 Roland McGrath <roland@hack.frob.com>
6407 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6408
6409 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6410 (abilist-pattern): New variable, set to %-le.abilist.
6411
6412 * Makerules (abilist-pattern): New variable.
6413 (vpath): Use $(abilist-pattern) in place of %.abilist.
6414 (check-abi-% pattern rule): Likewise.
6415 (check-abi, update-abi): Likewise.
6416
6417 2014-02-04 Eric Wong <normalperson@yhbt.net>
6418
6419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6420
6421 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6422
6423 * manual/startup.texi: Add next, previous, and top entries for
6424 the `Program Arguments' and `Environment Variables' nodes.
6425
6426 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6427
6428 * manual/macros.texi: Add comments before MTASC-safety macros.
6429
6430 * manual/users.texi: Document MTASC-safety properties.
6431
6432 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6433 (pthread_getspecific, pthread_setspecific): Format with
6434 @deftypefun, and add @safety note.
6435 * manual/signal.texi: Move comments that analyze the above
6436 functions to their home place.
6437
6438 2014-02-03 Allan McRae <allan@archlinux.org>
6439
6440 * po/sl.po: Update Slovenian translation from translation project.
6441
6442 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6443
6444 * manual/time.texi (timegm): Add missing blank after @c.
6445 Reported by Joseph Myers <joseph@codesourcery.com>.
6446
6447 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6448
6449 * manual/check-safety.sh: New.
6450 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6451
6452 * manual/terminal.texi: Document MTASC-safety properties.
6453
6454 * manual/filesys.texi: Document MTASC-safety properties.
6455
6456 * manual/errno.texi: Document MTASC-safety properties.
6457
6458 * manual/intro.texi: Document safety identifiers and
6459 conditionals.
6460
6461 * manual/string.texi (wcstok): Fix prototype.
6462 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6463
6464 * manual/time.texi: Document MTASC-safety properties.
6465
6466 * manual/string.texi: Document MTASC-safety properties.
6467
6468 * manual/threads.texi: Document MTASC-safety properties.
6469
6470 * manual/stdio.texi: Document MTASC-safety properties.
6471
6472 * manual/syslog.texi: Document MTASC-safety properties.
6473
6474 * manual/sysinfo.texi: Document MTASC-safety properties.
6475
6476 * manual/startup.texi: Document MTASC-safety properties.
6477
6478 * manual/socket.texi: Document MTASC-safety properties.
6479
6480 * manual/signal.texi: Document MTASC-safety properties.
6481
6482 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6483
6484 * manual/setjmp.texi: Document MTASC-safety properties.
6485
6486 * manual/search.texi: Document MTASC-safety properties.
6487
6488 * manual/resource.texi: Document MTASC-safety properties.
6489
6490 * manual/process.texi: Document MTASC-safety properties.
6491
6492 * manual/platform.texi: Document MTASC-safety properties.
6493
6494 * manual/pipe.texi: Document MTASC-safety properties.
6495
6496 * manual/pattern.texi: Document MTASC-safety properties.
6497
6498 * manual/message.texi: Document MTASC-safety properties.
6499
6500 [BZ #12751]
6501 * manual/memory.texi: Document MTASC-safety properties.
6502
6503 * manual/math.texi: Document MTASC-safety properties.
6504
6505 * manual/locale.texi: Document MTASC-safety properties.
6506
6507 * manual/llio.texi: Document MTASC-safety properties.
6508
6509 * manual/libdl.texi: New.
6510
6511 * manual/lang.texi: Document MTASC-safety properties.
6512
6513 * manual/job.texi: Document MTASC-safety properties.
6514
6515 * manual/getopt.texi: Document MTASC-safety properties.
6516
6517 * manual/ctype.texi: Document MTASC-safety properties.
6518
6519 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6520
6521 [BZ #16046]
6522 * csu/libc-tls.c (static_map): Remove variable.
6523 (__libc_setup_tls): Use main executable's link map for TLS data.
6524 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6525 casing for LM_ID_BASE and GL(dl_nns).
6526 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6527 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6528 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6529 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6530 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6531 member.
6532 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6533 l_phnum members.
6534
6535 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6536
6537 * manual/debug.texi: Document MTASC-safety properties.
6538
6539 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6540
6541 [BZ #16510]
6542 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6543 of __x86_64__ when disabling x87 inline functions.
6544
6545 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6546
6547 * manual/charset.texi: Document MTASC-safety properties.
6548
6549 * manual/crypt.texi: Document MTASC-safety properties.
6550
6551 * manual/conf.texi: Document MTASC-safety properties.
6552
6553 * manual/arith.texi: Document MTASC-safety properties.
6554
6555 * manual/argp.texi: Document MTASC-safety properties.
6556
6557 * manual/macros.texi: Introduce macros to document multi
6558 thread, asynchronous signal and asynchronous cancellation
6559 safety properties.
6560 * manual/intro.texi: Introduce the properties themselves.
6561
6562 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6563
6564 * sysdeps/sh/sh4/Makefile: New file.
6565
6566 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6567
6568 * math/gen-libm-test.pl ($srcdir): New variable.
6569 ($auto_input): Use it.
6570
6571 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6572
6573 [BZ #16506]
6574 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6575 access beyond array bounds when parsing netgroups file.
6576
6577 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6578 the old buffer before realloc.
6579
6580 2014-01-27 Allan McRae <allan@archlinux.org>
6581
6582 * po/fr.po: Update French translation from translation project.
6583
6584 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6585
6586 * sysdeps/sh/libm-test-ulps: Regenerate.
6587
6588 2014-01-24 David S. Miller <davem@davemloft.net>
6589
6590 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6591
6592 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6593
6594 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6595 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6596
6597 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6598
6599 [BZ #16474]
6600 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6601 string pointers after reallocation.
6602
6603 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6604
6605 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6606 __SH4A__ instead of __SH_FPU_ANY__.
6607
6608 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6609
6610 * sysdeps/sh/fpu_control.h: New file.
6611 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6612 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6613 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6614 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6615 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6616 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6617 * sysdeps/sh/sys/ucontext.h: Remove.
6618 * sysdeps/sh/sys: Remove directory.
6619
6620 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6621
6622 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6623 s390/sys/ucontext.h.
6624 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6625 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6626
6627 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6628
6629 [BZ #15605]
6630 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6631
6632 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6633
6634 [BZ#16431]
6635 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6636 Adjust the vDSO correctly for internal calls.
6637 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6638
6639 2014-01-20 Allan McRae <allan@archlinux.org>
6640
6641 * po/ca.po: Update Catalan translation from translation project.
6642
6643 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6644
6645 * sysdeps/s390/sotruss-lib.c: New file.
6646
6647 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6648
6649 [BZ#16430]
6650 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6651 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6652 local calls issues by not having a PLT stub required for IFUNC calls.
6653 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6654
6655 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6656
6657 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6658 * math/test-fpucw-static.c: Likewise.
6659
6660 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6661
6662 [BZ #16453]
6663 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6664
6665 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6666
6667 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6668 implementation for powerpc.
6669
6670 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6671
6672 [BZ #14782]
6673 * sysdeps/posix/system.c (__libc_system): Do not enable
6674 asynchronous cancellation.
6675
6676 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6677
6678 [BZ #16427]
6679 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6680 handling only for numbers special also in the IEEE case.
6681
6682 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6683
6684 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6685
6686 2014-01-11 Allan McRae <allan@archlinux.org>
6687
6688 * po/bg.po: Update Bulgarian translation from translation project.
6689
6690 * po/de.po: Update German translation from translation project.
6691
6692 2014-01-10 Roland McGrath <roland@hack.frob.com>
6693
6694 * sysdeps/generic/gcc-compat.h: New file.
6695
6696 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6697
6698 * benchtests/asin-inputs: Correct slow inputs.
6699 * benchtests/acos-inputs: Likewise.
6700
6701 2014-01-10 Allan McRae <allan@archlinux.org>
6702
6703 * po:sv.po: Update Swedish translation from translation project.
6704
6705 * po/vi.po: Update Vietnamese translation from translation project.
6706
6707 * po/eo.po: Update Esperanto translation from translation project.
6708
6709 * po/cs.po: Update Czech translation from translation project.
6710
6711 * po/nl.po: Update Dutch translation from translation project.
6712
6713 * po/pl.po: Update Polish translation from translation project.
6714
6715 * po/ru.po: Update Russian translation from translation project.
6716
6717 * po/uk.po: Update Ukrainian translation from translation project.
6718
6719 2014-01-08 Brooks Moses <bmoses@google.com>
6720
6721 * elf/dl-load.c: Fix comment typo.
6722
6723 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6724
6725 * po/header.pot: Rename to...
6726 * po/pot.header: ... this.
6727 * po/Makefile: Use pot.header.
6728
6729 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6730 Maxim Kuvyrkov <maxim@kugelworks.com>
6731
6732 [BZ #16394]
6733 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6734 SRC and DEST against LEN.
6735
6736 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6737
6738 [BZ #16414]
6739 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6740 implementation.
6741 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6742
6743 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6744
6745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6746
6747 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6748
6749 [BZ #16408]
6750 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6751 for large positive arguments.
6752
6753 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6754
6755 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6756
6757 * math/auto-libm-test-in: Mark various tests with
6758 xfail-rounding:ldbl-128ibm.
6759 * math/auto-libm-test-out: Regenerated.
6760
6761 [BZ #16407]
6762 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6763 Increase overflow threshold.
6764
6765 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6766
6767 [BZ #14286]
6768 * stdio-common/vfprintf.c: Check for integer overflow.
6769
6770 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6771
6772 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6773 the first argument and return value of __tls_get_addr_internal.
6774
6775 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6776
6777 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6778 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6779
6780 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6781
6782 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6783 * sysdeps/s390/rtld-global-offsets.sym: New file.
6784 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6785 GLIBC_2.19 symbol.
6786 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6787 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6788 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6789 ... this.
6790 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6791 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6792 ... this.
6793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6794 Regenerate.
6795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6796 Regenerate.
6797 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6798 halfs of GPRs for high_gprs contexts.
6799 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6800 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6801 field.
6802 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6803 uc_flags field.
6804 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6805 64 bit versions:
6806 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6807 for high GPRs (uc_high_gprs) and for future extensions
6808 (__reserved).
6809 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6810 for future extensions (__reserved).
6811 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6812 64 bit versions:
6813 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6814 SC_HIGHGPRS offset definition.
6815 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6816 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6817
6818 * Versions.def: Add GLIBC_2.19 for libpthread.
6819 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6820 siglongjmp for libpthread with GLIBC_2.19 symver.
6821 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6822 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6823 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6824 * sysdeps/s390/__longjmp.c: New file.
6825 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6826 * sysdeps/s390/longjmp.c: New file.
6827 * sysdeps/s390/setjmp.S: New file.
6828 * sysdeps/s390/sigjmp.S: New file.
6829 * sysdeps/s390/v1-longjmp.c: New file.
6830 * sysdeps/s390/v1-setjmp.h: New file.
6831 * sysdeps/s390/v1-sigjmp.c: New file.
6832 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6833 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6834 GLIBC_2.19 version.
6835 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6836 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6837 versioned symbols for ____longjmp_chk.
6838 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6839 Likewise.
6840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6841 Regenerate.
6842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6843 Regenerate.
6844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6845 Regenerate.
6846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6847 Regenerate.
6848 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6849 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6850 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6851 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6852 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6853 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6854 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6855 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6856 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6857 * sysdeps/s390/rtld-__longjmp.c: New file.
6858 * sysdeps/s390/rtld-setjmp.S: New file.
6859
6860 2014-01-06 Joseph Myers <joseph@codesourcery.com>
6861
6862 [BZ #16400]
6863 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6864 Return -__logl (x) for small positive arguments without evaluating
6865 a polynomial.
6866
6867 2014-01-06 Mike Frysinger <vapier@gentoo.org>
6868
6869 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6870 Rename to ...
6871 (__ptrace_peeksiginfo_args): ... this.
6872 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6873 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6874 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6875
6876 2014-01-06 Allan McRae <allan@archlinux.org>
6877
6878 * inet/netinet/in.h: Fix typo in comment.
6879
6880 2014-01-05 Andreas Jaeger <aj@suse.de>
6881
6882 * sysdeps/i386/fpu/libm-test-ulps: Update.
6883
6884 2014-01-05 Allan McRae <allan@archlinux.org>
6885
6886 * po/libc.pot: Regenerated.
6887
6888 * malloc/memusagestat.c: Fix gettext call formatting.
6889
6890 2014-01-04 Sami Kerola <kerolasa@iki.fi>
6891
6892 * nscd/nscd.c: Improve usage() output.
6893
6894 2014-01-04 Mike Frysinger <vapier@gentoo.org>
6895
6896 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6897 * sysdeps/unix/sysv/linux/configure: Regenerated.
6898 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6899 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6900
6901 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6902
6903 [BZ #16390]
6904 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6905 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6906
6907 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6908
6909 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6910 extra tokens at end of #undef directive.
6911 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6912 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6913 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6914
6915 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6916
6917 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6918
6919 * math/auto-libm-test-in: Mark various tests with
6920 xfail-rounding:ldbl-128ibm.
6921 * math/auto-libm-test-out: Regenerated.
6922
6923 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6924
6925 [BZ #16386]
6926 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6927 numbers with subnormal high part when calculating exponent.
6928
6929 [BZ #16385]
6930 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6931 fabs.
6932
6933 [BZ #16384]
6934 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6935 M_LN2l.
6936 (__ieee754_acoshl): Use __log1pl not __log1p.
6937
6938 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
6939
6940 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6941 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6942 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6943 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6944 (reused_arena, arena_get2): Convert to GNU style.
6945 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6946 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6947 (memalign_check, __malloc_set_state): Likewise.
6948 * malloc/mallocbug.c (main): Likewise.
6949 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6950 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6951 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6952 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6953 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6954 (__posix_memalign, malloc_info): Likewise.
6955 * malloc/malloc.h: Likewise.
6956 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6957 (mallochook, memalignhook, reallochook, mabort): Likewise.
6958 * malloc/mcheck.h: Likewise.
6959 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6960 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6961 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6962 * malloc/morecore.c (__default_morecore): Likewise.
6963 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6964 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6965 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6966 (print_and_abort): Likewise.
6967 * malloc/obstack.h: Likewise.
6968 * malloc/set-freeres.c (__libc_freeres): Likewise.
6969 * malloc/tst-mallocstate.c (main): Likewise.
6970 * malloc/tst-mtrace.c (main): Likewise.
6971 * malloc/tst-realloc.c (do_test): Likewise.
6972
6973 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6974
6975 [BZ #16366]
6976 * nscd/netgroupcache.c (do_notfound): New function.
6977 (addgetnetgrentX): Use it.
6978
6979 [BZ # 16365]
6980 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6981 NSS_STATUS_NOTFOUND.
6982
6983 2014-01-01 Joseph Myers <joseph@codesourcery.com>
6984
6985 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6987
6988 2014-01-01 Allan McRae <allan@archlinux.org>
6989
6990 * scripts/update-copyrights: Update configure input file suffix.
6991
6992 * NEWS: Update copyright year.
6993 * catgets/gencat.c: Likewise.
6994 * csu/version.c: Likewise.
6995 * debug/catchsegv.sh: Likewise.
6996 * debug/pcprofiledump.c: Likewise.
6997 * debug/xtrace.sh: Likewise.
6998 * elf/ldconfig.c: Likewise.
6999 * elf/ldd.bash.in: Likewise.
7000 * elf/pldd.c: Likewise.
7001 * elf/sotruss.ksh: Likewise.
7002 * elf/sprof.c: Likewise.
7003 * iconv/iconv_prog.c: Likewise.
7004 * iconv/iconvconfig.c: Likewise.
7005 * locale/programs/locale.c: Likewise.
7006 * locale/programs/localedef.c: Likewise.
7007 * login/programs/pt_chown.c: Likewise.
7008 * malloc/memusage.sh: Likewise.
7009 * malloc/memusagestat.c: Likewise.
7010 * malloc/mtrace.pl: Likewise.
7011 * manual/libc.texinfo: Likewise.
7012 * nscd/nscd.c: Likewise.
7013 * nss/getent.c: Likewise.
7014 * nss/makedb.c: Likewise.
7015 * posix/getconf.c: Likewise.
7016 * scripts/test-installation.pl: Likewise.
7017
7018 * All files with FSF copyright notices: Update copyright dates
7019 using scripts/update-copyrights.
7020 * intl/plural.c: Regenerated.
7021 * locale/programs/charmap-kw.h: Likewise.
7022 * locale/programs/locfile-kw.h: Likewise.
7023
7024 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7025
7026 * sysdeps/unix/sysv/linux/configure: Regenerated.
7027 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7028 the linux/fanotify.h header.
7029 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7030 HAVE_LINUX_FANOTIFY_H is defined.
7031
7032 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7033
7034 * benchtests/cos-inputs: New inputs.
7035 * benchtests/sin-inputs: Likewise.
7036
7037 * benchtests/atan-inputs: New inputs. Fix name of multiple
7038 precision fallback inputs.
7039
7040 * benchtests/atanh-inputs: New inputs.
7041 * benchtests/tanh-inputs: Likewise.
7042
7043 * benchtests/acosh-inputs: New inputs.
7044 * benchtests/asinh-inputs: Likewise.
7045
7046 * benchtests/cosh-inputs: New inputs.
7047 * benchtests/sinh-inputs: Likewise.
7048
7049 * benchtests/acos-inputs: Add more inputs.
7050 * benchtests/asin-inputs: Likewise.
7051
7052 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7053
7054 [BZ #16375]
7055 * manual/arith.texi: Fix spelling.
7056 * manual/charset.texi: Likewise.
7057 * manual/errno.texi: Likewise.
7058 * manual/filesys.texi: Likewise.
7059 * manual/lang.texi: Likewise.
7060 * manual/llio.texi: Likewise.
7061 * manual/locale.texi: Likewise.
7062 * manual/message.texi: Likewise.
7063 * manual/resource.texi: Likewise.
7064 * manual/search.texi: Likewise.
7065 * manual/setjmp.texi: Likewise.
7066 * manual/stdio.texi: Likewise.
7067 * manual/string.texi: Likewise.
7068 * manual/sysinfo.texi: Likewise.
7069 * manual/time.texi: Likewise.
7070
7071 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7072
7073 * po/sl.po: New file.
7074
7075 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7076
7077 * .gitignore: Add core/.gdbinit/.gdb_history.
7078
7079 2013-12-27 Allan McRae <allan@archlinux.org>
7080
7081 [BZ #16369]
7082 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7083 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7084
7085 2013-12-24 Brooks Moses <bmoses@google.com>
7086
7087 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7088 all compilers that claim C++98 compliance, not just GCC.
7089 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7090 Likewise.
7091
7092 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7093
7094 * NEWS: Restore accidentally deleted bug-fix entries.
7095
7096 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7097 Ondřej Bílka <neleai@seznam.cz>
7098
7099 [BZ #15073]
7100 * malloc/malloc.c (_int_free): Perform sanity check only if we
7101 have_lock.
7102
7103 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7104
7105 [BZ #12986]
7106 * manual/stdio.texi (String Input Conversions): Clarify that character
7107 classes are not supported.
7108
7109 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7110
7111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7112
7113 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7114
7115 [BZ #16337]
7116 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7117 Calculate results for small negative arguments directly rather
7118 than using reflection formula with special underflow handling.
7119
7120 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7121 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7122 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7123 (fchflags): Likewise.
7124 (revoke): Likewise.
7125 (setlogin): Likewise.
7126 (sigaltstack): Likewise.
7127 (wait4): Likewise.
7128 (sigblock): Remove.
7129 (sigsetmask): Likewise.
7130 (wait3): Likewise.
7131 (waitpid): Likewise.
7132 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7133 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7134 file.
7135 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7136 * sysdeps/unix/bsd/Makefile: ... here.
7137 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7138 * sysdeps/unix/bsd/Versions: ... here.
7139 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7140 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7141 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7142 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7143 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7144 * sysdeps/unix/bsd/sigblock.c: ... here.
7145 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7146 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7147 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7148 * sysdeps/unix/bsd/sigvec.c: ... here.
7149 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7150 * sysdeps/unix/bsd/tcdrain.c: ... here.
7151 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7152 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7153 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7154 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7155 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7156 * sysdeps/unix/bsd/wait.c: ... here.
7157 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7158 * sysdeps/unix/bsd/wait3.c: ... here.
7159 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7160 * sysdeps/unix/bsd/waitpid.c: ... here.
7161
7162 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7163
7164 [BZ #16356]
7165 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7166 round-to-nearest for [!USE_AS_EXPM1L].
7167 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7168 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7169 more tests of exp and exp10. Expect some exp10 tests to miss
7170 exceptions or fail in directed rounding modes.
7171 * math/auto-libm-test-out: Regenerated.
7172 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7173 (exp10_test_tonearest): New function.
7174 (exp10_towardzero_test_data): New array.
7175 (exp10_test_towardzero): New function.
7176 (exp10_downward_test_data): New array.
7177 (exp10_test_downward): New function.
7178 (exp10_upward_test_data): New array.
7179 (exp10_test_upward): New function.
7180 (main): Call the new functions.
7181 * sysdeps/i386/fpu/libm-test-ulps: Update.
7182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7183
7184 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7185
7186 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7187 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7188 * math/auto-libm-test-out: Regenerated.
7189 * math/libm-test.inc (acosh_test_data): Add more tests.
7190 (atanh_test_data): Likewise.
7191 (ceil_test_data): Likewise.
7192 (copysign_test_data): Likewise.
7193 * sysdeps/i386/fpu/libm-test-ulps: Update.
7194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7195
7196 * timezone/checktab.awk: Update from tzcode 2013i.
7197 * timezone/private.h: Likewise.
7198 * timezone/scheck.c: Likewise.
7199 * timezone/tzfile.h: Likewise.
7200 * timezone/tzselect.ksh: Likewise.
7201 * timezone/zdump.c: Likewise.
7202 * timezone/zic.c: Likewise.
7203
7204 * math/auto-libm-test-in: Add tests of cpow.
7205 * math/auto-libm-test-out: Regenerated.
7206 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7207 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7208 mpc_cc_c.
7209 (func_calc_desc): Add mpc_cc_c union field.
7210 (test_functions): Add cpow.
7211 (special_fill_2pi): New function.
7212 (special_real_inputs): Add 2pi.
7213 (calc_generic_results): Handle mpc_cc_c.
7214 * sysdeps/i386/fpu/libm-test-ulps: Update.
7215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7216
7217 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7218 csqrt, ctan and ctanh.
7219 * math/auto-libm-test-out: Regenerated.
7220 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7221 (TEST_COND_x86): Likewise.
7222 (ccos_test_data): Use AUTO_TESTS_c_c.
7223 (ccosh_test_data): Likewise.
7224 (cexp_test_data): Likewise.
7225 (clog_test_data): Likewise.
7226 (csqrt_test_data): Likewise.
7227 (ctan_test_data): Likewise.
7228 (ctan_tonearest_test_data): Likewise.
7229 (ctan_towardzero_test_data): Likewise.
7230 (ctan_downward_test_data): Likewise.
7231 (ctan_upward_test_data): Likewise.
7232 (ctanh_test_data): Likewise.
7233 (ctanh_tonearest_test_data): Likewise.
7234 (ctanh_towardzero_test_data): Likewise.
7235 (ctanh_downward_test_data): Likewise.
7236 (ctanh_upward_test_data): Likewise.
7237 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7238 mpc_c_c.
7239 (func_calc_desc): Add mpc_c_c union field.
7240 (FUNC_mpc_c_c): New macro.
7241 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7242 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7243 ctanh.
7244 (special_fill_min_subnorm_p120): New function.
7245 (special_real_inputs): Add min_subnorm_p120.
7246 (calc_generic_results): Handle mpc_c_c.
7247 * sysdeps/i386/fpu/libm-test-ulps: Update.
7248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7249
7250 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7251
7252 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7253 (do_sin_slow): New functions.
7254 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7255 (cslow2, csloww1, csloww2): Use the new functions.
7256
7257 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7258 Use M to change sign of result instead of X. Assume X is
7259 positive.
7260 (csloww1): Likewise.
7261 (__sin): Adjust.
7262 (__cos): Adjust.
7263
7264 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7265 arguments A and DA.
7266 (__sin): Adjust.
7267 (__cos): Likewise.
7268
7269 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7270 (__cos): Likewise.
7271 (sloww1): Don't adjust sign of DX.
7272 (csloww1): Likewise.
7273 (sloww2): Use X directly and don't adjust sign of DX.
7274 (csloww2): Likewise.
7275
7276 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7277
7278 * math/auto-libm-test-in: Add tests of cabs and carg.
7279 * math/auto-libm-test-out: Regenerated.
7280 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7281 (carg_test_data): Likewise.
7282 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7283 mpc_c_f.
7284 (func_calc_desc): Add mpc_c_f union field.
7285 (test_functions): Add cabs and carg.
7286 (calc_generic_results): Handle mpc_c_f.
7287
7288 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7289 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7290 as a macro and a compat symbol.
7291 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7292 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7293 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7294 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7295 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7296 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7297 not use .hidden.
7298 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7299 Likewise.
7300 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7301 Likewise.
7302 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7303 Likewise.
7304 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7305 Likewise.
7306 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7307 Likewise.
7308 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7309 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7310 from GLIBC_2.3.2.
7311
7312 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7313
7314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7315
7316 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7317
7318 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7319 trailing whitespace removed.
7320 * scripts/config.guess: Update to version 2013-11-29.
7321 * scripts/config.sub: Update to version 2013-10-01.
7322
7323 * math/auto-libm-test-in: Add tests of sincos.
7324 * math/auto-libm-test-out: Regenerated.
7325 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7326 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7327 mpfr_f_11.
7328 (func_calc_desc): Add mpfr_f_11 union field.
7329 (test_functions): Add sincos.
7330 (calc_generic_results): Handle mpfr_f_11.
7331 * sysdeps/i386/fpu/libm-test-ulps: Update.
7332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7333
7334 2013-12-19 Andreas Schwab <schwab@suse.de>
7335
7336 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7337 CALL_MCOUNT.
7338 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7339 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7340 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7341
7342 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7343
7344 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7345 * sysdeps/i386/fpu/libm-test-ulps: Update.
7346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7347
7348 [BZ #16293]
7349 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7350 round-to-nearest mode when using frndint.
7351 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7352 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7353 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7354 Likewise.
7355 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7356 sinh test to fail.
7357 * math/auto-libm-test-out: Regenerated.
7358 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7359 (TEST_COND_x86): Likewise.
7360 (expm1_tonearest_test_data): New array.
7361 (expm1_test_tonearest): New function.
7362 (expm1_towardzero_test_data): New array.
7363 (expm1_test_towardzero): New function.
7364 (expm1_downward_test_data): New array.
7365 (expm1_test_downward): New function.
7366 (expm1_upward_test_data): New array.
7367 (expm1_test_upward): New function.
7368 (main): Run the new test functions.
7369 * sysdeps/i386/fpu/libm-test-ulps: Update.
7370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7371
7372 * include/features.h: Update comment documenting feature test
7373 macros. Mention _DEFAULT_SOURCE in comment.
7374 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7375 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7376 _BSD_SOURCE and _SVID_SOURCE.
7377 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7378 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7379 !_SVID_SOURCE]: Likewise.
7380 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7381 (__USE_POSIX_IMPLICITLY): Define.
7382 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7383 (_POSIX_SOURCE): Undefine and redefine.
7384 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7385 (_POSIX_C_SOURCE): Likewise.
7386 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7387 (Feature Test Macros): Update documentation of default features.
7388
7389 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7390
7391 * benchtests/Makefile: Add bench-strtok.
7392 * benchtests/bench-strtok.c: New file: strtok benchtest.
7393
7394 2013-12-19 Allan McRae <allan@archlinux.org>
7395
7396 * manual/install.texi: Suppress menu for plain text output.
7397 * INSTALL: Regenerated.
7398
7399 2013-12-18 Brooks Moses <bmoses@google.com>
7400
7401 [BZ #15846]
7402 * misc/getauxval.c: Include errno.h.
7403 (__getauxval): Set errno to ENOENT if the requested type is not
7404 found.
7405 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7406 don't declare with __attribute_const__.
7407 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7408 * manual/startup.texi: Document that getauxval sets errno.
7409
7410 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7411
7412 * math/auto-libm-test-in: Add tests of jn and yn.
7413 * math/auto-libm-test-out: Regenerated.
7414 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7415 (yn_test_data): Likewise.
7416 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7417 mpfr_if_f.
7418 (func_calc_desc): Add mpfr_if_f union field.
7419 (FUNC_mpfr_if_f): New macro.
7420 (test_functions): Add jn and yn.
7421 (calc_generic_results): Assert type of second input for
7422 mpfr_ff_f. Handle mpfr_if_f.
7423 (output_for_one_input_case): Disable all checking for arguments
7424 fitting floating-point types in case of an integer argument.
7425 * sysdeps/i386/fpu/libm-test-ulps: Update.
7426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7427
7428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7429 Don't expect fegetround reference in libm.so.
7430
7431 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7432
7433 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7434 $(config-cflags-nofma).
7435
7436 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7437
7438 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7439 * math/auto-libm-test-out: Regenerated.
7440
7441 [BZ #16338]
7442 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7443 to determine exponent and adjust argument to have exponent of -1.
7444 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7445 log2.
7446 * math/auto-libm-test-out: Regenerated.
7447 * sysdeps/i386/fpu/libm-test-ulps: Update.
7448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7449
7450 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7451
7452 * manual/probes.texi: Remove cases when per-thread arenas are
7453 disabled.
7454
7455 2013-12-18 Andreas Schwab <schwab@suse.de>
7456
7457 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7458 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7459 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7460 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7461 * sysdeps/i386/i686/multiarch/Makefile: Update.
7462 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7463
7464 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7465
7466 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7467 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7468
7469 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7470
7471 [BZ #15968]
7472 Support TZ transition times < 00:00:00.
7473 This is needed for version-3 tz-format files; it supports time
7474 stamps past 2037 for America/Godthab (the only entry in the tz
7475 database for which this change is relevant).
7476 * manual/time.texi (TZ Variable): Document transition times
7477 from -167:59:59 through -00:00:01.
7478 * time/tzset.c (tz_rule): Time of day is now signed.
7479 (__tzset_parse_tz): Parse negative time of day.
7480
7481 Document TZ transition times >= 25:00:00.
7482 * manual/time.texi (TZ Variable): Document transition times from
7483 25:00:00 through 167:59:59. These are already supported, and this
7484 support will help with version-3 tz-format files.
7485
7486 * manual/time.texi (TZ Variable): Modernize North America example
7487 to reflect current (i.e., 2007-and-later) daylight saving rules.
7488
7489 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7490
7491 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7492
7493 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7494 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7495 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7496 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7497 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7498 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7499 * sysdeps/unix/bsd/clock.c: Likewise.
7500 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7501 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7502 * sysdeps/unix/bsd/init-posix.c: Likewise.
7503 * sysdeps/unix/bsd/poll.c: Likewise.
7504 * sysdeps/unix/bsd/ptsname.c: Likewise.
7505 * sysdeps/unix/bsd/seekdir.c: Likewise.
7506 * sysdeps/unix/bsd/setegid.c: Likewise.
7507 * sysdeps/unix/bsd/seteuid.c: Likewise.
7508 * sysdeps/unix/bsd/setgid.c: Likewise.
7509 * sysdeps/unix/bsd/setrgid.c: Likewise.
7510 * sysdeps/unix/bsd/setruid.c: Likewise.
7511 * sysdeps/unix/bsd/setsid.c: Likewise.
7512 * sysdeps/unix/bsd/setuid.c: Likewise.
7513 * sysdeps/unix/bsd/sigaction.c: Likewise.
7514 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7515 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7516 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7517 * sysdeps/unix/bsd/telldir.c: Likewise.
7518 * sysdeps/unix/bsd/times.c: Likewise.
7519 * sysdeps/unix/bsd/usleep.c: Likewise.
7520
7521 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7522 ($(objpfx)libbsd-compat.a): Remove rule.
7523
7524 * include/features.h (__FAVOR_BSD): Do not define.
7525 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7526 features conflicting with POSIX.
7527 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7528 (_BSD_SOURCE): Remove description of not being a subset of other
7529 feature test macros.
7530 * manual/job.texi (getpgrp): Do not document BSD version.
7531 (getpgid): Do not document by reference to BSD getpgrp.
7532 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7533 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7534 * signal/signal.h [__FAVOR_BSD]: Likewise.
7535 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7536 instead of making contents conditional on [__FAVOR_BSD].
7537 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7538
7539 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7540
7541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7542
7543 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7544
7545 [BZ #16314]
7546 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7547 values below 2**-450, not 2**-500.
7548 * math/auto-libm-test-in: Don't allow spurious underflow from
7549 hypot.
7550 * math/auto-libm-test-out: Regenerated.
7551
7552 [BZ #16316]
7553 [BZ #16330]
7554 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7555 values of ha and hb and sort them after adjusting subnormal
7556 arguments.
7557 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7558 Likewise.
7559 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7560 values of ea and eb and sort them after adjusting subnormal
7561 arguments.
7562 * math/auto-libm-test-in: Do not expect some hypot tests of
7563 subnormals to fail. Add more hypot tests.
7564 * math/auto-libm-test-out: Regenerated.
7565
7566 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7567
7568 [BZ #13304]
7569 * sysdeps/sh/s_fma.c: New file.
7570 * sysdeps/sh/s_fmaf.c: New file.
7571 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7572 version.
7573 * sysdeps/sh/Implies: Add sh/soft-fp.
7574
7575 2013-12-16 Roland McGrath <roland@hack.frob.com>
7576
7577 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7578 level of indirection to members `objname', `errstring', `malloced'.
7579 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7580 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7581 it as the __longjmp argument (just pass 1 instead).
7582 (_dl_catch_error): Initialize C with argument pointers and address of
7583 volatile local ERRCODE rather than copying values out of C at return.
7584
7585 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7586
7587 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7588 * math/auto-libm-test-out: Regenerated.
7589 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7590 (hypot_test_data): Likewise.
7591 (pow_test_data): Likewise.
7592 (pow_tonearest_test_data): Likewise.
7593 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7594 mpfr_ff_f.
7595 (func_calc_desc): Add mpfr_ff_f union field.
7596 (FUNC_mpfr_ff_f): New macro.
7597 (test_functions): Add atan2, hypot and pow.
7598 (special_fill_min): New function.
7599 (special_fill_minus_min): Likewise.
7600 (special_fill_min_subnorm): Likewise.
7601 (special_fill_minus_min_subnorm): Likewise.
7602 (special_real_inputs): Add min, -min, min_subnorm and
7603 -min_subnorm.
7604 (calc_generic_results): Handle mpfr_ff_f.
7605 * sysdeps/i386/fpu/libm-test-ulps: Update.
7606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7607
7608 2013-12-16 Will Newton <will.newton@linaro.org>
7609
7610 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7611 (Aligned Memory Blocks): Add documentation for aligned_alloc
7612 and suggest it as an alternative to posix_memalign.
7613 (Hooks for Malloc): Document __memalign_hook is also called
7614 for aligned_alloc. (Summary of Malloc): Add summary for
7615 aligned alloc. Document __memalign_hook is also called
7616 for aligned_alloc.
7617
7618 2013-12-16 Will Newton <will.newton@linaro.org>
7619
7620 * manual/memory.texi (Malloc Examples): Clarify default
7621 alignment documentation. Suggest posix_memalign rather
7622 than memalign or valloc.
7623 (Aligned Memory Blocks): Remove suggestion to use memalign
7624 or valloc. Remove obsolete comment about BSD.
7625 Document memalign errno values and mark the function obsolete.
7626 Document posix_memalign returned error codes. Mark valloc
7627 as obsolete. (Hooks for Malloc): __memalign_hook is also
7628 called for posix_memalign and valloc.
7629 (Summary of Malloc): Add posix_memalign to function summary.
7630 __memalign_hook is also called for posix_memalign and valloc.
7631
7632 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7633
7634 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7635 TAYLOR_SIN.
7636 (__sin): Adjust.
7637 (__cos): Likewise.
7638 (sloww): Use mynumber union. Expand ternary operator into
7639 if-else statements.
7640 (cslow): use mynumber union.
7641
7642 2013-12-16 Allan McRae <allan@archlinux.org>
7643
7644 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7645 * configure: Regenerated.
7646
7647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7648
7649 [BZ #14120]
7650 * configure.ac: Added --enable-maintainer-mode. Check for
7651 autoconf when enabled.
7652 * configure: Regenerated.
7653
7654 * nscd/nscd.service: New file.
7655 * nscd/nscd.tmpfiles: New file.
7656
7657 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7658
7659 [BZ #12100]
7660 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7661 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7662 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7663 (strstr): Add __strstr_sse2_unaligned ifunc.
7664 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7665 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7666 (strcasestr): Remove __strcasestr_sse42 ifunc.
7667 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7668 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7670
7671 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7672
7673 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7674 * sysdeps/sh/bits/fenv.h: ... here.
7675 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7676
7677 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7678
7679 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7680
7681 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7682 hypotf multiarch implementations.
7683 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7684 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7685 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7686 multiarch hypot for PPC64.
7687 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7688 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7689 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7690 multiarch hypotf for PPC64.
7691
7692 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7693 modff multiarch implementations.
7694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7697 multiarch modf for PPC64.
7698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7701 multiarch modff for PPC64.
7702
7703 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7704 and logl multiarch implementations.
7705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7708 multiarch logb for PPC64.
7709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7712 multiarch logb for PPC64.
7713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7716 multiarch logb for PPC64.
7717
7718 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7719 isinff multiarch implementation.
7720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7721 file.
7722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7724 multiarch isinf for PPC64.
7725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7726 file.
7727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7728 multiarch isinff for PPC64.
7729
7730 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7731 finitef multiarch implementation.
7732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7733 file.
7734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7736 multiarch finite for PPC64.
7737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7738 file.
7739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7740 multiarch finitef for PPC64.
7741
7742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7743 lrint multiarch implementation.
7744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7745 file.
7746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7748 multiarch llrint for PPC64.
7749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7750 multiarch lrint for PPC64.
7751
7752 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7753 copysignf multiarch implementation.
7754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7755 file.
7756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7757 file.
7758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7759 multiarch copysign for PPC64.
7760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7761 multiarch copysignf for PPC64.
7762
7763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7764 multiarch implementation.
7765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7766 file.
7767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7768 file.
7769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7770 file.
7771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7772 file.
7773 multiarch llround for PPC64.
7774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7775 multiarch trunc for PPC64.
7776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7777 multiarch truncf for PPC64.
7778
7779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7780 multiarch implementation.
7781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7782 file.
7783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7784 file.
7785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7786 file.
7787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7788 file.
7789 multiarch llround for PPC64.
7790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7791 multiarch round for PPC64.
7792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7793 multiarch roundf for PPC64.
7794
7795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7796 multiarch implementation.
7797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7798 file.
7799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7800 file.
7801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7802 file.
7803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7804 file.
7805 multiarch llround for PPC64.
7806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7807 multiarch floor for PPC64.
7808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7809 multiarch floorf for PPC64.
7810
7811 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7812 multiarch implementation.
7813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7814 file.
7815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7816 file.
7817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7818 file.
7819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7820 file.
7821 multiarch llround for PPC64.
7822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7823 multiarch ceil for PPC64.
7824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7825 multiarch ceilf for PPC64.
7826
7827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7828 multiarch implementation.
7829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7830 file.
7831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7832 file.
7833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7834 file.
7835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7836 multiarch llround for PPC64.
7837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7838 multiarch lround for PPC64.
7839
7840 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7841 multiarch implementation.
7842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7845 file.
7846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7849 multiarch isnan for PPC64.
7850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7851 multiarch isnanf for PPC64.
7852
7853 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7854 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7855 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7856 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7857 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7859
7860 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7861 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7862 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7863 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7864
7865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7866 multiarch implementations.
7867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7868 (__libc_ifunc_impl_list): Likewise.
7869 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7870 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7871 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7872 multiarch stpcpy for PPC64.
7873
7874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7875 multiarch implementations.
7876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7877 (__libc_ifunc_impl_list): Likewise.
7878 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7879 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7880 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7881 multiarch strcpy for PPC64.
7882
7883 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7884 redefine function name.
7885 (_wordcopy_fwd_dest_aligned): Likewise.
7886 (_wordcopy_bwd_aligned): Likewise.
7887 (_wordcopy_bwd_dest_aligned): Likewise.
7888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7889 multiarch implementations.
7890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7891 (__libc_ifunc_impl_list): Likewise.
7892 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7893 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7894 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7895 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7896 multiarch wcscpy for PPC64.
7897
7898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7899 multiarch implementations.
7900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7901 (__libc_ifunc_impl_list): Likewise.
7902 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7903 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7904 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7905 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7906 multiarch wcscpy for PPC64.
7907
7908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7909 multiarch implementations.
7910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7911 (__libc_ifunc_impl_list): Likewise.
7912 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7913 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7914 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7915 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7916 multiarch wcsrchr for PPC64.
7917
7918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7919 multiarch implementations.
7920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7921 (__libc_ifunc_impl_list): Likewise.
7922 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7923 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7924 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7925 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7926 multiarch wcschr for PPC64.
7927
7928 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7929 multiarch implementations.
7930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7931 (__libc_ifunc_impl_list): Likewise.
7932 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7933 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7934 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7935 multiarch strchrnul for PPC64.
7936
7937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7938 implementations.
7939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7940 (__libc_ifunc_impl_list): Likewise.
7941 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7942 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7943 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7944 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7945 strchr for PPC64.
7946
7947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7948 implementations.
7949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7950 (__libc_ifunc_impl_list): Likewise.
7951 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7952 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7953 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7954 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7955 strncmp for PPC64.
7956
7957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7958 multiarch implementations.
7959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7960 (__libc_ifunc_impl_list): Likewise.
7961 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7962 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7963 strncasecmp for PPC64.
7964 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7965 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7966 multiarch strncasecmp_l for PPC64.
7967
7968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7969 multiarch implementations.
7970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7971 (__libc_ifunc_impl_list): Likewise.
7972 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7973 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7974 multiarch strcasecmp for PPC64.
7975 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7976 file.
7977 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7978 multiarch strcasecmp_l for PPC64.
7979
7980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7981 implementations.
7982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7983 (__libc_ifunc_impl_list): Likewise.
7984 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7985 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7986 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7987 strnlen for PPC64.
7988
7989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7990 implementations.
7991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7992 (__libc_ifunc_impl_list): Likewise.
7993 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7994 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7995 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7996 strlen for PPC64.
7997
7998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7999 implementations.
8000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8001 (__libc_ifunc_impl_list): Likewise.
8002 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8003 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8004 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8005 rawmemrchr for PPC64.
8006
8007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8008 implementation.
8009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8010 (__libc_ifunc_impl_list): Likewise.
8011 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8012 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8013 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8014 memrchr for PPC64.
8015
8016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8017 implementation.
8018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8019 (__libc_ifunc_impl_list): Likewise.
8020 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8021 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8022 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8023 memchr for PPC64.
8024
8025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8026 implementation.
8027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8028 (__libc_ifunc_impl_list): Likewise.
8029 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8030 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8031 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8032 mempcpy for PPC64.
8033
8034 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8035 avoid cretion of __bzero symbol.
8036 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8037 Likewise.
8038 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8039 Likewise.
8040 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8041 Likewise.
8042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8043 multiarch implementations.
8044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8045 (__libc_ifunc_impl_list): Likewise.
8046 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8047 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8048 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8049 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8050 bzero for PPC32.
8051 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8052 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8053 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8054 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8055 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8056 memset for PPC64.
8057 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8058
8059 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8061 implementations.
8062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8063 (__libc_ifunc_impl_list): Likewise.
8064 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8065 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8066 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8067 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8068 memcmp for PPC64.
8069
8070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8071 multiarch for POWER/PPC64.
8072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8073 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8074 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8075 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8076 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8077 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8078 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8079 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8080 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8081 memcpy for PPC64.
8082
8083 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8084 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8085 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8086 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8087 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8088 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8089 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8090 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8091 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8092 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8093 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8094 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8095 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8096 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8097 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8105
8106 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8107
8108 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8109
8110 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8111
8112 * benchtests/Makefile (bench): Add exp2 and log2.
8113 (LDLIBS-bench-exp2): Add -lm.
8114 (LDLIBS-bench-log2): Likewise.
8115 * benchtests/exp2-inputs: New inputs file.
8116 * benchtests/log2-inputs: New inputs file.
8117 * benchtests/log-inputs: Add new inputs.
8118 * benchtests/tan-inputs: Likewise.
8119
8120 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8121
8122 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8123 definition...
8124 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8125 (csloww2): ... from here.
8126
8127 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8128 instead of structures.
8129 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8130 (POLYNOMIAL): Likewise.
8131 (TAYLOR_SLOW): Likewise.
8132 (__sin): Likewise.
8133 (__cos): Likewise.
8134 (slow1): Likewise.
8135 (slow2): Likewise.
8136 (sloww): Likewise.
8137 (sloww1); Likewise.
8138 (sloww2): Likewise.
8139 (bsloww1): Likewise.
8140 (bsloww2): Likewise.
8141 (cslow2): Likewise.
8142 (csloww): Likewise.
8143 (csloww1): Likewise.
8144 (csloww2): Likewise.
8145
8146 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8147
8148 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8149 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8150 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8151 * malloc/hooks.c (realloc_check): Likewise.
8152
8153 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8154 * malloc/arena.c: Remove PER_THREAD conditional.
8155 [!PER_THREAD]: Remove code.
8156 (ptmalloc_unlock_all2): Likewise.
8157 (ptmalloc_init): Likewise.
8158 (_int_new_arena): Likewise.
8159 (arena_get2): Likewise.
8160 * malloc/hooks.c (__malloc_get_state): Likewise.
8161 (__malloc_set_state): Likewise.
8162 * malloc/malloc.c: Likewise.
8163 (struct malloc_state): Likewise.
8164 (struct malloc_par): Likewise.
8165 (__libc_realloc): Likewise.
8166 (__libc_mallopt): Likewise.
8167
8168 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8169
8170 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8171
8172 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8173
8174 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8175 macro to a function. Check for zero perturb_byte.
8176 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8177
8178 * malloc/malloc.c: (force_reg): Remove.
8179 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8180 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8181 force_reg by atomic_forced_read.
8182 * malloc/arena.c (ptmalloc_init): Likewise.
8183 * malloc/hooks.c (top_check): Likewise.
8184
8185 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8186
8187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8188
8189 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8190
8191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8192
8193 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8194
8195 * math/auto-libm-test-in: Add tests of lgamma.
8196 * math/auto-libm-test-out: Regenerated.
8197 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8198 (M_LOG_2_SQRT_PIl): Likewise.
8199 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8200 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8201 mpfr_f_f1.
8202 (func_calc_desc): Add mpfr_f_f1 union field.
8203 (ARGS1): New macro.
8204 (ARGS2): Likewise.
8205 (ARGS3): Likewise.
8206 (ARGS4): Likewise.
8207 (RET1): Likewise.
8208 (RET2): Likewise.
8209 (CALC): Likewise.
8210 (FUNC): Likewise.
8211 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8212 (test_functions): Add lgamma.
8213 (calc_generic_results): Handle mpfr_f_f1.
8214 * sysdeps/i386/fpu/libm-test-ulps: Update.
8215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8216
8217 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8218
8219 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8220 __mpn_add_n for PowerPC64/POWER7.
8221 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8222 __mpn_sub_n for PowerPC64/POWER7.
8223
8224 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8225 __mpn_addmul_1 for PowerPC64.
8226 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8227 __mpn_submul_1 for PowerPC64.
8228 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8229 for PowerPC64.
8230 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8231 for PowerPC64.
8232
8233 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8234
8235 [BZ #15089]
8236 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8237
8238 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8239
8240 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8241
8242 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8243 add multiarch folders.
8244 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8245 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8246 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8247 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8248 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8249 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8250 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8251 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8252 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8253 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8254 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8261
8262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8263 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8265 New file.
8266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8267 New file.
8268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8269 multiarch __ieee754_hypot for PowerPC32.
8270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8271 New file.
8272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8273 New file.
8274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8275 multiarch __ieee754_hypotf for PowerPC32.
8276
8277 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8278 long_double_symbol only if __logbl is defined.
8279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8280 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8282 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8283 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8284 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8285 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8286 path for implementation.
8287 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8288 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8290 logb, and logbl multiarch implementations for PowerPC32.
8291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8292 file.
8293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8294 file.
8295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8296 multiarch logb for PowerPC32.
8297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8298 file.
8299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8300 file.
8301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8302 multiarch logbf for PowerPC32.
8303 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8305 file.
8306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8307 multiarch logbl implementation for PowerPC32.
8308
8309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8310 and modff multiarch implementations.
8311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8312 New file.
8313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8314 New file.
8315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8316 multiarch modf for PowerPC32.
8317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8318 New file.
8319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8320 New file.
8321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8322 multiarch modff for PowerPC32.
8323
8324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8325 and lrintf multiarch implementations.
8326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8327 New file.
8328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8329 New file.
8330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8331 multiarch lrint for PowerPC32.
8332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8333 file: multiarch lrintf for PowerPC32.
8334
8335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8336 and lroundf multiarch implementations.
8337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8338 New file.
8339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8340 New file.
8341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8342 New file.
8343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8344 multiarch lround for PowerPC32.
8345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8346 file: multiarch lroundf for PowerPC32.
8347
8348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8349 copysign and copysignf multiarch implementations.
8350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8351 New file.
8352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8353 New file.
8354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8355 file: multiarch copysign for PowerPC32.
8356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8357 file: multiarch copysignf for PowerPC32.
8358
8359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8360 and truncf multiarch implementations.
8361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8362 New file.
8363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8364 file.
8365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8366 multiarch trunc for PowerPC32.
8367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8368 New file.
8369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8370 New file.
8371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8372 multiarch truncf for PowerPC32.
8373
8374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8375 and roundf multiarch implementations.
8376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8377 New file.
8378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8379 file.
8380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8381 multiarch round for PowerPC32.
8382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8383 New file.
8384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8385 New file.
8386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8387 multiarch roundf for PowerPC32.
8388
8389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8390 and floorf multiarch implementations.
8391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8392 New file.
8393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8394 file.
8395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8396 multiarch floor for PowerPC32.
8397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8398 New file.
8399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8400 New file.
8401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8402 multiarch floorf for PowerPC32.
8403
8404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8405 and ceilf multiarch implementations.
8406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8407 New file.
8408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8409 file.
8410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8411 multiarch ceil for PowerPC32.
8412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8413 New file.
8414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8415 file.
8416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8417 multiarch ceilf for PowerPC32.
8418
8419 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8420 is defined.
8421 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8422 FINITEF is defined.
8423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8424 and finitef multiarch implementations.
8425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8426 New file.
8427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8428 file.
8429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8430 multiarch finite for PowerPC32.
8431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8432 New file.
8433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8434 file: multiarch finitef for PowerPC32.
8435
8436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8437 and isinff multiarch implementations.
8438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8439 file.
8440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8441 file.
8442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8443 multiarch isinf for PowerPC32.
8444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8445 New file.
8446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8447 multiarch isinff for PowerPC32.
8448
8449 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8450 alias when __isnan is defined.
8451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8452 and isnanf multiarch implementations.
8453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8454 file.
8455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8456 file.
8457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8458 file.
8459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8460 file.
8461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8462 multiarch isnan for PowerPC32.
8463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8464 New file.
8465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8466 New file.
8467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8468 multiarch isnanf for PowerPC32.
8469
8470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8471 and sqrtf multiarch implementations.
8472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8473 file.
8474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8475 file.
8476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8477 multiarch sqrt for PowerPC32.
8478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8479 file.
8480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8481 file.
8482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8483 multiarch sqrtf for PowerPC32.
8484
8485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8486 and llroundf multiarch implementations.
8487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8488 New file.
8489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8490 New file.
8491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8492 New file.
8493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8494 file: multiarch llround for PowerPC32.
8495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8496 file: multiarch llroundf for PowerPC32.
8497
8498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8499 multiarch PowerPC32 fpu implementations.
8500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8501 New file.
8502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8503 New file.
8504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8505 multiarch llrint for PowerPC32.
8506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8507 New file.
8508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8509 New file.
8510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8511 file.
8512
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8514
8515 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8516 file.
8517 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8518 file.
8519 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8520 file.
8521 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8522 multiarch wordcopy for PPC32.
8523 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8524 wordcopy objects.
8525 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8526 (__libc_ifunc_impl_list): Likewise.
8527 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8528 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8529 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8530 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8531 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8532 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8533
8534 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8535 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8536 file.
8537 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8538 file.
8539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8540 file.
8541 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8542 multiarch wcscpy for PPC32.
8543 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8544 multiarch objects.
8545 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8546 (__libc_ifunc_impl_list): Likewise.
8547 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8548 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8549 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8550 sysdeps/powerpc/power6/wcscpy.c.
8551
8552 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8553 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8554 file.
8555 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8556 file.
8557 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8558 file.
8559 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8560 multiarch wcsrchr for PPC32.
8561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8562 multiarch objects.
8563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8564 (__libc_ifunc_impl_list): Likewise.
8565 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8566 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8567 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8568 sysdeps/powerpc/power6/wcsrchr.c.
8569
8570 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8571 file.
8572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8573 file.
8574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8575 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8576 multiarch wcschr for PPc32.
8577 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8578 multiarch objects.
8579 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8580 (__libc_ifunc_impl_list): Likewise.
8581 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8582 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8583 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8584 sysdeps/powerpc/power6/wcschr.c.
8585
8586 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8587 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8588 file.
8589 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8590 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8591 file: multiarch strchr for PPC32.
8592 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8593 multiarch objects.
8594 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8595 (__libc_ifunc_impl_list): Likewise.
8596
8597 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8598 name.
8599 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8600 file.
8601 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8602 file.
8603 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8604 multiarch strchrnul for PPC32.
8605 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8606 multiarch objects.
8607 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8608 (__libc_ifunc_impl_list): Likewise.
8609
8610 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8611 file.
8612 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8613 multiarch strncasecmp for PPC32.
8614 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8615 file.
8616 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8617 multiarch strncasecmp_l for PPC32.
8618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8619 strncasecmp multiarch objects.
8620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8621 (__libc_ifunc_impl_list): Likewise.
8622
8623 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8624 file.
8625 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8626 multiarch strncasecmp for PPC32.
8627 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8628 New file.
8629 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8630 multiarch strcasecmp_l for PPC32.
8631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8632 multiarch objects.
8633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8634 (__libc_ifunc_impl_list): Likewise.
8635
8636 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8637 file.
8638 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8639 file.
8640 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8641 multiarch strncmp for PPC32.
8642 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8643 multiarch objects.
8644 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8645 (__libc_ifunc_impl_list): Likewise.
8646
8647 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8648 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8649 file.
8650 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8651 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8652 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8653 multiarch objects.
8654 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8655 (__libc_ifunc_impl_list): Likewise.
8656
8657 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8658 file.
8659 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8660 file.
8661 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8662 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8663 multiarch objects.
8664 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8665 (__libc_ifunc_impl_list): Likewise.
8666
8667 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8668 file.
8669 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8670 file.
8671 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8672 multiarch rawmemchr for PPC32.
8673 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8674 multiarch objects.
8675 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8676 (__libc_ifunc_impl_list): Likewise.
8677
8678 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8679 file.
8680 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8681 file.
8682 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8683 file: memrchr multiarch for PPC32.
8684 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8685 multiarch objects.
8686 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8687 (__libc_ifunc_impl_list): Likewise.
8688
8689 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8690 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8691 file.
8692 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8693 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8694 multiarch memchr for PPC32.
8695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8696 multiarch objects.
8697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8698 (__libc_ifunc_impl_list): Likewise.
8699
8700 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8701 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8702 file.
8703 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8704 file.
8705 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8706 file: multiarch mempcpy for PPC32.
8707 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8708 multiarch objects.
8709 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8710 (__libc_ifunc_impl_list): Likewise.
8711
8712 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8713 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8714 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8715 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8716 multiarch bzero for PPC32.
8717 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8718 file.
8719 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8720 file.
8721 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8722 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8723 file: multiarch memset for PPC32.
8724 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8725 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8726 memset multiarch objects.
8727 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8728 (__libc_ifunc_impl_list): Likewise.
8729
8730 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8731 file.
8732 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8733 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8734 memcmp for PPC32.
8735 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8736 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8737 multiarch objects.
8738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8739 (__libc_ifunc_impl_list): Likewise.
8740
8741 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8742 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8743 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8744 file.
8745 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8746 file.
8747 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8748 file.
8749 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8750 multiarch memcpy for PPC32.
8751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8752 multiarch objects.
8753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8754 (__libc_ifunc_impl_list): Likewise.
8755
8756 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8757 support multiarch for POWER/PPC32.
8758 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8759 Likewise.
8760 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8762 Implies file to make multiarch folder appers before the fpu and
8763 default folder for power4 configuration.
8764
8765 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8766
8767 * scripts/bench.pl: Append volatile keyword to type.
8768
8769 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8770
8771 * sysdeps/sh/sotruss-lib.c: New file.
8772 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8773
8774 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8775
8776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8777
8778 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8779
8780 [BZ #6810]
8781 * math/w_tgamma.c: Include <errno.h>.
8782 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8783 * math/w_tgammaf.c: Include <errno.h>.
8784 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8785 * math/w_tgammal.c: Include <errno.h>.
8786 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8787 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8788 underflow. Add more tgamma tests.
8789 * math/auto-libm-test-out: Regenerated.
8790 * sysdeps/i386/fpu/libm-test-ulps: Update.
8791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8792
8793 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8794 sin, sinh, tan, tanh, tgamma, y0 and y1.
8795 * math/auto-libm-test-out: Regenerated.
8796 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8797 (TEST_COND_x86): Likewise.
8798 (M_E2l): Remove macro.
8799 (M_E3l): Likewise.
8800 (M_2_SQRT_PIl): Likewise.
8801 (M_SQRT_PIl): Likewise.
8802 (M_1_DIV_El): Likewise.
8803 (log_test_data): Use AUTO_TESTS_f_f.
8804 (log10_test_data): Likewise.
8805 (log1p_test_data): Likewise.
8806 (log2_test_data): Likewise.
8807 (sin_test_data): Likewise.
8808 (sin_tonearest_test_data): Likewise.
8809 (sin_towardzero_test_data): Likewise.
8810 (sin_downward_test_data): Likewise.
8811 (sin_upward_test_data): Likewise.
8812 (sinh_test_data): Likewise.
8813 (sinh_tonearest_test_data): Likewise.
8814 (sinh_towardzero_test_data): Likewise.
8815 (sinh_downward_test_data): Likewise.
8816 (sinh_upward_test_data): Likewise.
8817 (tan_test_data): Likewise.
8818 (tan_tonearest_test_data): Likewise.
8819 (tan_towardzero_test_data): Likewise.
8820 (tan_downward_test_data): Likewise.
8821 (tan_upward_test_data): Likewise.
8822 (tanh_test_data): Likewise.
8823 (tgamma_test_data): Likewise.
8824 (y0_test_data): Likewise.
8825 (y1_test_data): Likewise.
8826 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8827 (special_real_inputs): Add pi/4.
8828 * sysdeps/i386/fpu/libm-test-ulps: Update.
8829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8830
8831 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8832
8833 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8834 "longjmp_target" static probes.
8835 (__longjmp): Rename to __longjmp_symbol.
8836 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8837 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8838 on which longjmp to generate.
8839 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8840 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8841 probe.
8842 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8843 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8844 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8845 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8846 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8847 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8849 __longjmp_symbol based on which __longjmp to generate.
8850 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8851 probe.
8852 (setjmp): Rename to setjmp_symbol.
8853 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8854 (_setjmp): Rename to _setjmp_symbol.
8855 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8856 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8857 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8858 which setjmp to generate.
8859 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8860 "longjmp_target" static probes.
8861
8862 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8863
8864 * benchtests/README: Add note about output arguments.
8865 * benchtests/bench-sincos.c: Remove file.
8866 * benchtests/sincos-inputs: New file.
8867 * scripts/bench.pl: Identify output arguments and define
8868 static variables for them.
8869
8870 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8871
8872 [BZ #15941]
8873 * Makefile (INSTALL): Add install-plain.texi as the primary
8874 dependency.
8875 * manual/install-plain.texi: New file.
8876 * manual/install.texi: Include node directive only for
8877 non-plaintext output.
8878
8879 2013-12-04 Joseph Myers <joseph@codesourcery.com>
8880
8881 * stdlib/longlong.h: Update from GCC.
8882
8883 [BZ #6807]
8884 [BZ #15901]
8885 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8886 * math/w_j0f.c (y0f): Likewise.
8887 * math/w_j0l.c (__y0l): Likewise.
8888 * math/w_j1.c (y1): Likewise.
8889 * math/w_j1f.c (y1f): Likewise.
8890 * math/w_j1l.c (__y1l): Likewise
8891 * math/w_jn.c (yn): Likewise.
8892 * math/w_jnf.c (ynf): Likewise.
8893 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8894 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8895 value for Bessel function domain errors outside _SVID_ mode.
8896 Adjust sign of return value for yn (negative integer, 0).
8897 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8898 by zero in return for negative x and set sign appropriately for
8899 negative n.
8900 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8901 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8902 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8903 expectations in error cases.
8904 (y1_test_data): Likewise.
8905 (yn_test_data): Likewise.
8906 * sysdeps/i386/fpu/libm-test-ulps: Update.
8907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8908
8909 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8910
8911 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8912 "64" to "64-v1". Add "64-v2".
8913 (abi-64-options): Rename to ...
8914 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8915 (abi-64-condition): Rename to ...
8916 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8917 (abi-64-ld-soname): Rename to ...
8918 (abi-64-v1-ld-soname): ... this.
8919 (abi-64-v2-options): Define.
8920 (abi-64-v2-condition): Likewise.
8921 (abi-64-v2-ld-soname): Likewise.
8922 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8923 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8927
8928 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8929 Alan Modra <amodra@gmail.com>
8930
8931 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8932 New versions for use with the ELFv2 ABI.
8933 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8934 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8935 declaration.
8936 (struct La_ppc64v2_retval): Likewise.
8937 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8938 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8939 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8940 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8941 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8942 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8943 Do not save or restore CR.
8944 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8945 (_dl_profile_resolve): Do no save or restore CR. Support extended
8946 return values for ELFv2 ABI. Fix location of FPR return registers.
8947 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8948 updated values for _CALL_ELF == 2.
8949 (La_regs, La_retval, int_retval): Likewise.
8950
8951 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8952
8953 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8954 (FRAME_MIN_SIZE_PARM): Likewise.
8955 (FRAME_BACKCHAIN): Likewise.
8956 (FRAME_CR_SAVE): Likewise.
8957 (FRAME_LR_SAVE): Likewise.
8958 (FRAME_TOC_SAVE): Likewise.
8959 (FRAME_PARM_SAVE): Likewise.
8960 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8961 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8962 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8963 (call_mcount_parm_offset): New macro.
8964 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8965 (PROF): Use symbolic stack frame offsets.
8966 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8967 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8968 Redefine in terms of FRAME_MIN_SIZE.
8969 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8970 (_dl_profile_resolve): Likewise. Update comment.
8971 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8972 symbols stack frame offsets.
8973 (__sigsetjmp): Likewise.
8974 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8975 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8976 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8977 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8978
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8980 (FRAME_BACKCHAIN): Remove.
8981 (FRAME_CR_SAVE): Likewise.
8982 (FRAME_LR_SAVE): Likewise.
8983 (FRAME_COMPILER_DW): Likewise.
8984 (FRAME_LINKER_DW): Likewise.
8985 (FRAME_TOC_SAVE): Likewise.
8986 (FRAME_PARM_SAVE): Likewise.
8987 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8988 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8989 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8991 (CHECK_SP): Use symbolic stack frame offsets.
8992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8993 zone" instead of caller's parameter save area for temp storage.
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8995 Likewise. Also, use symbolic stack frame offsets.
8996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8997 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8998 our own stack frame instead of the caller's.
8999 (__socket): Use symbolic stack frame offsets.
9000
9001 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9002 Alan Modra <amodra@gmail.com>
9003
9004 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9005 Define.
9006 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9007 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9008 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9009 New function.
9010 (elf_machine_fixup_plt): Call it.
9011 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9012 reloc arguments.
9013 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9014 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9015 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9016 r2 before calling target.
9017
9018 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9019 Alan Modra <amodra@gmail.com>
9020
9021 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9022 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9023 versions of macros to support ELFv2 ABI.
9024 (LOCALENTRY): New macro.
9025 (ENTRY, EALIGN): Use it.
9026 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9027 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9028 fall through into ENTRY entry point.
9029 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9030 Only define if _CALL_ELF != 2.
9031
9032 (elf_machine_matches_host): Verify ABI version matches.
9033 (RTLD_START): Use LOCALENTRY.
9034 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9035 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9036 (PLT_ENTRY_WORDS): New macro.
9037 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9038 (elf_machine_runtime_setup): Support ELFv2 ABI.
9039 (elf_machine_fixup_plt): Likewise.
9040 (elf_machine_plt_conflict): Likewise.
9041 (resolve_ifunc): Likewise.
9042 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9043 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9044 Likewise.
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9046 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9048 (makecontext): Support ELFv2 ABI.
9049 * elf/elf.h (EF_PPC64_ABI): Define.
9050
9051 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9052
9053 * sysdeps/powerpc/powerpc64/sysdep.h
9054 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9055 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9056 (ENTRY) [ASSEMBLER]: ... but instead here ...
9057 (EALIGN) [ASSEMBLER]: ... and here.
9058 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9059 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9060 (ENTRY_2) [!ASSEMBLER]: Use it.
9061 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9062 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9063 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9064 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9065 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9067 Use PPC64_LOAD_FUNCPTR.
9068
9069 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9070
9071 2013-12-04 Alan Modra <amodra@gmail.com>
9072
9073 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9074 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9075 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9076 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9077
9078 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9079 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9080 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9081 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9082 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9083 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9084
9085 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9086
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9088 (__makecontext): Fix incorrect CFI when backtracing out of
9089 context created via makecontext.
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9091 (__setcontext): Fix incorrect CFI during switch to new context.
9092 (__novec_setcontext): Likewise.
9093
9094 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9095
9096 [BZ #4772]
9097 * time/strptime_l.c (__strptime_internal): Allow modifiers
9098 in strptime.
9099 * time/tst-strptime.c (day_tests): Add testcase.
9100
9101 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9102
9103 * scripts/bench.pl: Skip over blank lines.
9104
9105 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9106
9107 [BZ #926]
9108 * manual/time.texi (Calendar Time): Clarify what timezone functions
9109 use.
9110
9111 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9112
9113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9114
9115 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9116
9117 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9118 implementation.
9119 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9120 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9121 * debug/memset_chk.c (__memset_chk): Likewise.
9122 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9123 * debug/strncpy_chk.c: Likewise.
9124
9125 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9126
9127 [BZ #15268]
9128 [BZ #15425]
9129 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9130 (__ieee754_exp): For possibly underflowing results, check size of
9131 result and force underflow exception if required.
9132 * math/auto-libm-test-in: Add more tests of exp.
9133 * math/auto-libm-test-out: Regenerated.
9134 * sysdeps/i386/fpu/libm-test-ulps: Update.
9135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9136
9137 [BZ #16283]
9138 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9139 * math/w_exp2f.c (__exp2f): Likewise.
9140 * math/w_exp2l.c (__exp2l): Likewise.
9141 * math/auto-libm-test-in: Do not allow missing errno on exp2
9142 underflow.
9143 * math/auto-libm-test-out: Regenerated.
9144
9145 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9146
9147 [BZ #16274]
9148 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9149 handle filename validation.
9150 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9151 (do_open): Delete.
9152
9153 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9154
9155 [BZ #6786]
9156 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9157 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9158 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9159 <float.h>.
9160 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9161 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9162 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9164 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9165 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9166 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9167 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9168 Add more erfc tests.
9169 * math/auto-libm-test-out: Regenerated.
9170 * sysdeps/i386/fpu/libm-test-ulps: Update.
9171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9172
9173 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9174 exp2, expm1, j0 and j1.
9175 * math/auto-libm-test-out: Regenerated.
9176 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9177 (erfc_test_data): Likewise.
9178 (exp_test_data): Likewise.
9179 (exp_tonearest_test_data): Likewise.
9180 (exp_towardzero_test_data): Likewise.
9181 (exp_downward_test_data): Likewise.
9182 (exp_upward_test_data): Likewise.
9183 (exp10_test_data): Likewise.
9184 (exp2_test_data): Likewise.
9185 (expm1_test_data): Likewise.
9186 (j0_test_data): Likewise.
9187 (j1_test_data): Likewise.
9188 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9189 (input_flag_type): Add flag_xfail_rounding.
9190 (input_flags): Add xfail-rounding.
9191 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9192 (output_for_one_input_case): Handle flag_xfail_rounding.
9193 * sysdeps/i386/fpu/libm-test-ulps: Update.
9194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9195
9196 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9197
9198 [BZ #16289]
9199 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9200 division by 0.
9201
9202 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9203
9204 [BZ #16195]
9205 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9206 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9207 (STAP_PROBE0): New macro.
9208 (STAP_PROBE1): Likewise.
9209 (STAP_PROBE2): Likewise.
9210 (STAP_PROBE3): Likewise.
9211 (STAP_PROBE4): Likewise.
9212
9213 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9214
9215 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9216
9217 2013-12-02 Steve Ellcey <sellcey@mips.com>
9218
9219 * benchtests/Makefile (bench): Add sqrt.
9220 (LDLIBS-bench-sqrt): New.
9221 * benchtests/sqrt-input: New.
9222
9223 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9224
9225 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9226 (GAIH_EAI): Likewise.
9227 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9228 (gaih_inet): Likewise.
9229 (getaddrinfo): Don't use GAIH_EAI.
9230
9231 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9232 (struct gaih): Remove definition.
9233
9234 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9235
9236 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9237 Use HERRNOP directly.
9238
9239 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9240
9241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9242
9243 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9244
9245 * math/gen-auto-libm-tests.c (test_functions): Add more
9246 single-argument functions.
9247 (special_fill_pi_2): New function.
9248 (special_fill_minus_pi_2): Likewise.
9249 (special_fill_pi_6): Likewise.
9250 (special_fill_minus_pi_6): Likewise.
9251 (special_fill_pi_3): Likewise.
9252 (special_fill_2pi_3): Likewise.
9253 (special_fill_e): Likewise.
9254 (special_fill_1_e): Likewise.
9255 (special_fill_e_minus_1): Likewise.
9256 (special_real_inputs): Add more special inputs.
9257 (output_for_one_input_case): Do not require ERANGE on underflow to
9258 zero if round-to-nearest result does not underflow to zero, unless
9259 exact results required.
9260 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9261 atan, atanh, cbrt, cos and cosh.
9262 * math/auto-libm-test-out: Regenerated.
9263 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9264 (acos_tonearest_test_data): Likewise.
9265 (acos_towardzero_test_data): Likewise.
9266 (acos_downward_test_data): Likewise.
9267 (acos_upward_test_data): Likewise.
9268 (acosh_test_data): Likewise.
9269 (asin_test_data): Likewise.
9270 (asin_tonearest_test_data): Likewise.
9271 (asin_towardzero_test_data): Likewise.
9272 (asin_upward_test_data): Likewise.
9273 (asinh_test_data): Likewise.
9274 (atan_test_data): Likewise.
9275 (atanh_test_data): Likewise.
9276 (cbrt_test_data): Likewise.
9277 (cos_test_data): Likewise.
9278 (cos_tonearest_test_data): Likewise.
9279 (cos_towardzero_test_data): Likewise.
9280 (cos_downward_test_data): Likewise.
9281 (cos_upward_test_data): Likewise.
9282 (cosh_test_data): Likewise.
9283 (cosh_tonearest_test_data): Likewise.
9284 (cosh_towardzero_test_data): Likewise.
9285 (cosh_downward_test_data): Likewise.
9286 (cosh_upward_test_data): Likewise.
9287 * sysdeps/i386/fpu/libm-test-ulps: Update.
9288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9289
9290 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9291
9292 [BZ #6787]
9293 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9294 * math/w_exp10f.c (__exp10f): Likewise.
9295 * math/w_exp10l.c (__exp10l): Likewise.
9296 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9297 errno settings in existing tests.
9298
9299 [BZ #14032]
9300 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9301 precision control set to double precision.
9302 * sysdeps/i386/fpu/w_sqrt.c: New file.
9303 * math/auto-libm-test-in: Add more tests.
9304 * math/auto-libm-test-out: Update.
9305
9306 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9307 (sqrt_test_tonearest): New function.
9308 (sqrt_towardzero_test_data): New variable.
9309 (sqrt_test_towardzero): New function.
9310 (sqrt_downward_test_data): New variable.
9311 (sqrt_test_downward): New function.
9312 (sqrt_upward_test_data): New variable.
9313 (sqrt_test_upward): New function.
9314 (main): Call the new functions.
9315
9316 * math/gen-auto-libm-tests.c: New file.
9317 * math/auto-libm-test-in: Likewise.
9318 * math/auto-libm-test-out: New generated file.
9319 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9320 variables.
9321 (%beautify): Add generated representations of zero.
9322 (top level): Set $auto_input and call parse_auto_input.
9323 (beautify): Remove trailing "f" from hex float constants.
9324 (parse_args): Handle XFAIL_TEST.
9325 (convert_condition): New function.
9326 (or_value): Likewise.
9327 (or_cond_value): Likewise.
9328 (generate_testfile): Handle AUTO_TESTS_* lines.
9329 (parse_auto_input): New function.
9330 * math/libm-test.inc (XFAIL_TEST): New macro.
9331 (ERRNO_UNCHANGED): Update value.
9332 (ERRNO_EDOM): Likewise.
9333 (ERRNO_ERANGE): Likewise.
9334 (IGNORE_RESULT): Likewise.
9335 (TEST_COND_flt_32): New macro.
9336 (TEST_COND_dbl_64): Likewise.
9337 (TEST_COND_ldbl_96_intel): Likewise.
9338 (TEST_COND_ldbl_96_m68k): Likewise.
9339 (TEST_COND_ldbl_128): Likewise.
9340 (TEST_COND_ldbl_128ibm): Likewise.
9341 (TEST_COND_long32): Likewise.
9342 (TEST_COND_long64): Likewise.
9343 (TEST_COND_before_rounding): Likewise.
9344 (TEST_COND_after_rounding): Likewise.
9345 (enable_test): Handle XFAIL_TEST flag.
9346 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9347 with finite results.
9348 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9349 auto-libm-test-out.
9350
9351 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9352 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9353
9354 [BZ #16214]
9355 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9356 __tls_get_addr_internal instead of __tls_get_offset in order to
9357 avoid GOT pointer dependency. Make rtld export
9358 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9359 __tls_get_addr since we are a __tls_get_offset platform.
9360 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9361 GOT pointer being set up before.
9362 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9363
9364 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9365
9366 * manual/math.texi (Errors in Math Functions): Document accuracy
9367 goals.
9368
9369 [BZ #15004]
9370 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9371 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9372 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9373 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9374 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9375 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9376 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9377 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9378 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9379 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9380 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9381 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9382 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9383 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9384 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9385 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9386
9387 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9388 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9389 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9390 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9391 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9392 Likewise.
9393 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9394 Likewise.
9395 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9396 Likewise.
9397 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9398 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9399 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9400 atomic-feupdateenv and flt-rounds.
9401 * sysdeps/powerpc/nofpu/Versions (libc): Add
9402 __atomic_feholdexcept, __atomic_feclearexcept,
9403 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9404 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9405 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9406 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9407 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9408 here.
9409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9410 Update.
9411
9412 * manual/arith.texi (FP Exceptions): Document that exceptions may
9413 not be raised when matherr is used.
9414 (Math Error Reporting): Document overflow in directed rounding
9415 modes. Document that errno may not be set when finite values are
9416 returned on overflow. Document intent to set errno on underflow
9417 only for underflow to zero.
9418
9419 [BZ #16271]
9420 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9421 round-to-nearest then adjust result for other rounding modes.
9422 * include/fenv.h (fegetround): Use libm_hidden_proto.
9423 * math/fegetround.c (fegetround): Use libm_hidden_def.
9424 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9425 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9426 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9427 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9428 Likewise.
9429 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9430 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9431 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9432 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9433
9434 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9435
9436 [BZ #16077]
9437 * nss/Versions (libnss_files): Add
9438 _nss_files_gethostbyname3_r.
9439 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9440 New function.
9441 (HOST_DB_LOOKUP): Remove macro.
9442 (_nss_files_gethostbyname_r): Implement function without the
9443 HOST_DB_LOOKUP macro.
9444 (_nss_files_gethostbyname2_r): Likewise.
9445
9446 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9447
9448 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9449
9450 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9451
9452 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9453 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9454 warning.
9455
9456 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9457
9458 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9459 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9460 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9461 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9462 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9463 __fe_nomask_env_priv and attribute_hidden.
9464 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9465 (libc_feupdateenv_test_ppc): Likewise.
9466 (libc_feresetround_ppc): Likewise.
9467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9468 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9469 compat_symbol macro.
9470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9471 (__fe_nomask_env): Likewise.
9472 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9473
9474 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9475
9476 * string/Makefile: Remove ifunc tests.
9477 * string/test-string.h: Define TEST_IFUNC.
9478 * string/test-bcopy-ifunc.c: Remove.
9479 * string/test-bzero-ifunc.c: Likewise.
9480 * string/test-memccpy-ifunc.c: Likewise.
9481 * string/test-memchr-ifunc.c: Likewise.
9482 * string/test-memcmp-ifunc.c: Likewise.
9483 * string/test-memcpy-ifunc.c: Likewise.
9484 * string/test-memmem-ifunc.c: Likewise.
9485 * string/test-memmove-ifunc.c: Likewise.
9486 * string/test-mempcpy-ifunc.c: Likewise.
9487 * string/test-memrchr-ifunc.c: Likewise.
9488 * string/test-memset-ifunc.c: Likewise.
9489 * string/test-rawmemchr-ifunc.c: Likewise.
9490 * string/test-stpcpy-ifunc.c: Likewise.
9491 * string/test-stpncpy-ifunc.c: Likewise.
9492 * string/test-strcasecmp-ifunc.c: Likewise.
9493 * string/test-strcasestr-ifunc.c: Likewise.
9494 * string/test-strcat-ifunc.c: Likewise.
9495 * string/test-strchr-ifunc.c: Likewise.
9496 * string/test-strchrnul-ifunc.c: Likewise.
9497 * string/test-strcmp-ifunc.c: Likewise.
9498 * string/test-strcpy-ifunc.c: Likewise.
9499 * string/test-strcspn-ifunc.c: Likewise.
9500 * string/test-strlen-ifunc.c: Likewise.
9501 * string/test-strncasecmp-ifunc.c: Likewise.
9502 * string/test-strncat-ifunc.c: Likewise.
9503 * string/test-strncmp-ifunc.c: Likewise.
9504 * string/test-strncpy-ifunc.c: Likewise.
9505 * string/test-strnlen-ifunc.c: Likewise.
9506 * string/test-strpbrk-ifunc.c: Likewise.
9507 * string/test-strrchr-ifunc.c: Likewise.
9508 * string/test-strspn-ifunc.c: Likewise.
9509 * string/test-strstr-ifunc.c: Likewise.
9510
9511 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9512
9513 * benchtests/Makefile: Remove ifunc tests.
9514 * benchtests/bench-string.h: Define TEST_IFUNC.
9515 * benchtests/bench-bcopy-ifunc.c: Remove.
9516 * benchtests/bench-bzero-ifunc.c: Likewise.
9517 * benchtests/bench-memccpy-ifunc.c: Likewise.
9518 * benchtests/bench-memchr-ifunc.c: Likewise.
9519 * benchtests/bench-memcmp-ifunc.c: Likewise.
9520 * benchtests/bench-memcpy-ifunc.c: Likewise.
9521 * benchtests/bench-memmem-ifunc.c: Likewise.
9522 * benchtests/bench-memmove-ifunc.c: Likewise.
9523 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9524 * benchtests/bench-memrchr-ifunc.c: Likewise.
9525 * benchtests/bench-memset-ifunc.c: Likewise.
9526 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9527 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9528 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9529 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9530 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9531 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9532 * benchtests/bench-strcat-ifunc.c: Likewise.
9533 * benchtests/bench-strchr-ifunc.c: Likewise.
9534 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9535 * benchtests/bench-strcmp-ifunc.c: Likewise.
9536 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9537 * benchtests/bench-strcpy-ifunc.c: Likewise.
9538 * benchtests/bench-strcspn-ifunc.c: Likewise.
9539 * benchtests/bench-strlen-ifunc.c: Likewise.
9540 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9541 * benchtests/bench-strncat-ifunc.c: Likewise.
9542 * benchtests/bench-strncmp-ifunc.c: Likewise.
9543 * benchtests/bench-strncpy-ifunc.c: Likewise.
9544 * benchtests/bench-strnlen-ifunc.c: Likewise.
9545 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9546 * benchtests/bench-strrchr-ifunc.c: Likewise.
9547 * benchtests/bench-strsep-ifunc.c: Likewise.
9548 * benchtests/bench-strspn-ifunc.c: Likewise.
9549 * benchtests/bench-strstr-ifunc.c: Likewise.
9550
9551 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9552
9553 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9554
9555 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9556
9557 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9558 * rt/aio.h: Likewise.
9559 * sysdeps/gnu/bits/utmp.h: Likewise.
9560 * sysdeps/gnu/bits/utmpx.h: Likewise.
9561 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9562 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9563 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9564 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9565 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9566 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9567 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9568 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9569 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9570 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9571 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9572 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9573 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9575 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9576 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9577 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9578 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9579 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9580 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9581 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9582 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9583 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9584 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9585 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9586 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9587 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9588 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9589 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9590 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9591 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9592 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9593 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9594 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9595 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9596 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9597 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9598 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9599 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9600 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9601 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9602 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9603
9604 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9605
9606 [BZ #16245]
9607 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9608 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9609
9610 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9611
9612 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9613 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9614 Likewise.
9615
9616 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9617
9618 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9619 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9620 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9621 (__fesetround): Remove define.
9622 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9623 rounding and exceptions handling.
9624 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9625 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9626 (__fe_nomask_env): Likewise.
9627 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9628 __fegetround instead of fegetround.
9629 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9630 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9631
9632 2013-11-21 Roland McGrath <roland@hack.frob.com>
9633
9634 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9635 it's there.
9636
9637 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9638
9639 2013-11-21 Meador Inge <meadori@codesourcery.com>
9640
9641 [BZ #11157]
9642 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9643 (encrypt_r): Likewise.
9644 * malloc/obstack.h (obstack_free): Likewise.
9645 * posix/unistd.h (encrypt): Likewise.
9646
9647 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9648
9649 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9650 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9651 DL_CALL_DT_FINI() that call the functions directly.
9652 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9653 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9654 * elf/dl-fini.c: Likewise.
9655
9656 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9657
9658 * malloc/hooks.c (memalign_check): Add alignment rounding.
9659 * malloc/malloc.c (_mid_memalign): New function.
9660 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9661 Implement by calling _mid_memalign.
9662 * manual/probes.texi (Memory Allocation Probes): Remove
9663 memory_valloc_retry and memory_pvalloc_retry.
9664
9665 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9666
9667 * locale/programs/locarchive.c (open_archive): Add const
9668 qualifier to ARCHIVEFNAME and copy default fname to
9669 DEFAULT_FNAME.
9670
9671 [BZ #15601]
9672 * libio/tst-widetext.input: Rename Oriya to Odia.
9673 * locale/iso-639.def: Likewise.
9674
9675 * manual/probes.texi (Mathematical Function Probes): Add
9676 documentation for sin, cos, asin and acos probes.
9677 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9678 (__sin32): Add slowasin probe.
9679 (__cos32): Add slowacos probe.
9680 (__mpsin): Add slowsin probe.
9681 (__mpcos): Add slowcos probe.
9682
9683 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9684
9685 [BZ #15483]
9686 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9687 thread-local __sim_exceptions_thread and global
9688 __sim_exceptions_global.
9689 (__sim_disabled_exceptions): Change to thread-local
9690 __sim_disabled_exceptions_thread and global
9691 __sim_disabled_exceptions_global.
9692 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9693 and global __sim_round_mode_global.
9694 (__simulate_exceptions): Use thread-local floating-point state and
9695 set global state from it as needed.
9696 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9697 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9698 __sim_round_mode_thread.
9699 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9700 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9701 and global __sim_exceptions_global.
9702 (__sim_disabled_exceptions): Change to thread-local
9703 __sim_disabled_exceptions_thread and global
9704 __sim_disabled_exceptions_global.
9705 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9706 and global __sim_round_mode_global.
9707 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9708 (SIM_SET_GLOBAL): Likewise.
9709 * sysdeps/powerpc/soft-fp/sfp-machine.h
9710 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9711 __sim_round_mode_thread.
9712 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9713 __sim_disabled_exceptions_thread.
9714 (__sim_exceptions): Change to __sim_exceptions_thread.
9715 (__sim_disabled_exceptions): Change to
9716 __sim_disabled_exceptions_thread.
9717 (__sim_round_mode): Change to __sim_round_mode_thread.
9718 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9719 thread-local floating-point state and set global state from it as
9720 needed.
9721 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9722 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9723 (__sim_disabled_exceptions): Remove extern declaration.
9724 (feenableexcept): Use thread-local floating-point state and set
9725 global state from it as needed.
9726 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9727 extern declaration.
9728 (__sim_disabled_exceptions): Likewise.
9729 (__sim_round_mode): Likewise.
9730 (__fegetenv): Use thread-local floating-point state.
9731 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9732 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9733 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9734 floating-point state and set global state from it as needed.
9735 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9736 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9737 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9738 Likewise.
9739 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9740 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9741 Likewise.
9742 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9743 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9744 Use __sim_round_mode_thread.
9745 * math/test-fenv-tls.c: New file.
9746 * math/Makefile (tests): Add test-fenv-tls.
9747 ($(objpfx)test-fenv-tls): Depend on
9748 $(common-objpfx)nptl/libpthread.so.
9749
9750 2013-11-19 Andreas Schwab <schwab@suse.de>
9751
9752 * locale/programs/locale.c (show_info): Decode wordarray elements.
9753 * locale/categories.def (LC_MONETARY): Add element for
9754 _NL_MONETARY_CRNCYSTR.
9755 * locale/C-monetary.c (conversion_rate): New variable.
9756 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9757 element.
9758
9759 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9760
9761 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9762 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9763
9764 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9765
9766 * elf/Makefile (tst-auxv): New test.
9767 * elf/tst-auxv.c: New
9768 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9769
9770 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9771
9772 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9773 (hidden_proto): Caller changed.
9774 (hidden_tls_proto): New macro.
9775 (libc_hidden_tls_proto): Likewise.
9776 (rtld_hidden_tls_proto): Likewise.
9777 (libm_hidden_tls_proto): Likewise.
9778 (libresolv_hidden_tls_proto): Likewise.
9779 (librt_hidden_tls_proto): Likewise.
9780 (libdl_hidden_tls_proto): Likewise.
9781 (libnss_files_hidden_tls_proto): Likewise.
9782 (libnsl_hidden_tls_proto): Likewise.
9783 (libnss_nisplus_hidden_tls_proto): Likewise.
9784 (libutil_hidden_tls_proto): Likewise.
9785
9786 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9787
9788 [BZ #10253]
9789 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9790 (decompose_rpath): Defer expansion to fillin_rpath.
9791 (_dl_init_paths): Pass linkmap to fillin_rpath.
9792
9793 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9794
9795 * benchtests/Makefile: Add strsep.
9796 * benchtests/bench-strsep.c: New file: strsep benchtest.
9797 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9798
9799 2013-11-18 Andreas Schwab <schwab@suse.de>
9800
9801 * locale/programs/locale.c (show_info) [case byte]: Check for
9802 '\377' instead of '\177'.
9803 * locale/C-monetary.c (not_available): Always use "\377".
9804 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9805 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9806 detect unavailable sign_posn locale elements.
9807 * locale/localeconv.c (__localeconv): For grouping and
9808 mon_grouping handle "\177" and "\377" like no grouping.
9809 (INT_ELEM): New macro. Use it to set all numeric members.
9810 * locale/programs/ld-monetary.c (monetary_read)
9811 <tok_mon_grouping>: Normalize single -1 to the empty string.
9812 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9813 Likewise.
9814
9815 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9816
9817 [BZ #16055]
9818 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9819 when we match (nil).
9820 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9821
9822 2013-11-16 Joseph Myers <joseph@codesourcery.com>
9823
9824 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9825 (NO_TEST_INLINE): Update value.
9826 (ERRNO_UNCHANGED): Likewise.
9827 (ERRNO_EDOM): Likewise.
9828 (ERRNO_ERANGE): Likewise.
9829 (IGNORE_RESULT): Likewise.
9830 (check_float_internal): Check signs of NaN results if
9831 TEST_NAN_SIGN used.
9832 (check_complex): Pass TEST_NAN_SIGN flag through to second
9833 check_float_internal call.
9834 (copysign_test_data): Add tests with quiet NaNs as second
9835 argument. Use TEST_NAN_SIGN.
9836 (fabs_test_data): Add test of negative quiet NaN argument. Use
9837 TEST_NAN_SIGN.
9838 (signbit_test_data): Add tests of quiet NaN argument.
9839 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9840
9841 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9842 $ignore_result.
9843 (parse_args): Handle function results specified as IGNORE.
9844 * math/libm-test.inc (IGNORE_RESULT): New macro.
9845 (check_float_internal): Do not check numerical result if flag
9846 IGNORE_RESULT set.
9847 (check_complex): Pass through IGNORE_RESULT to second
9848 check_float_internal call.
9849 (check_int): Do not check numerical result if flag IGNORE_RESULT
9850 set.
9851 (check_long): Likewise.
9852 (check_bool): Likewise.
9853 (check_longlong): Likewise.
9854 (lrint_test_data): Add tests of infinite and NaN arguments.
9855 (lrint_tonearest_test_data): Likewise.
9856 (lrint_towardzero_test_data): Likewise.
9857 (lrint_downward_test_data): Likewise.
9858 (lrint_upward_test_data): Likewise.
9859 (llrint_test_data): Likewise.
9860 (llrint_tonearest_test_data): Likewise.
9861 (llrint_towardzero_test_data): Likewise.
9862 (llrint_downward_test_data): Likewise.
9863 (llrint_upward_test_data): Likewise.
9864 (lround_test_data): Likewise.
9865 (llround_test_data): Likewise.
9866
9867 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9868 (ERRNO_UNCHANGED): Update value.
9869 (ERRNO_EDOM): Likewise.
9870 (ERRNO_ERANGE): Likewise.
9871 (NO_TEST_INLINE_FLOAT): New macro.
9872 (NO_TEST_INLINE_DOUBLE): Likewise.
9873 (enable_test): New function.
9874 (RUN_TEST_f_f): Check enable_test before running test.
9875 (RUN_TEST_2_f): Likewise.
9876 (RUN_TEST_fff_f): Likewise.
9877 (RUN_TEST_c_f): Likewise.
9878 (RUN_TEST_f_f1): Likewise.
9879 (RUN_TEST_fF_f1): Likewise.
9880 (RUN_TEST_fI_f1): Likewise.
9881 (RUN_TEST_ffI_f1): Likewise.
9882 (RUN_TEST_c_c): Likewise.
9883 (RUN_TEST_cc_c): Likewise.
9884 (RUN_TEST_f_i): Likewise.
9885 (RUN_TEST_f_i_tg): Likewise.
9886 (RUN_TEST_ff_i_tg): Likewise.
9887 (RUN_TEST_f_b): Likewise.
9888 (RUN_TEST_f_b_tg): Likewise.
9889 (RUN_TEST_f_l): Likewise.
9890 (RUN_TEST_f_L): Likewise.
9891 (RUN_TEST_fFF_11): Likewise.
9892 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9893 conditionals.
9894 (cosh_test_data): Likewise.
9895 (exp_test_data): Likewise.
9896 (expm1_test_data): Likewise.
9897 (hypot_test_data): Likewise.
9898 (pow_test_data): Likewise.
9899 (sinh_test_data): Likewise.
9900 (tanh_test_data): Likewise.
9901 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9902 flags argument.
9903
9904 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9905 tests with quiet NaN input and output.
9906 (acosh_test_data): Likewise.
9907 (asin_test_data): Likewise.
9908 (asinh_test_data): Likewise.
9909 (atan_test_data): Likewise.
9910 (atanh_test_data): Likewise.
9911 (atan2_test_data): Likewise.
9912 (cbrt_test_data): Likewise.
9913 (cos_test_data): Likewise.
9914 (cosh_test_data): Likewise.
9915 (erf_test_data): Likewise.
9916 (erfc_test_data): Likewise.
9917 (exp_test_data): Likewise.
9918 (exp10_test_data): Likewise.
9919 (exp2_test_data): Likewise.
9920 (expm1_test_data): Likewise.
9921 (hypot_test_data): Likewise.
9922 (j0_test_data): Likewise.
9923 (j1_test_data): Likewise.
9924 (jn_test_data): Likewise.
9925 (lgamma_test_data): Likewise.
9926 (log_test_data): Likewise.
9927 (log10_test_data): Likewise.
9928 (log1p_test_data): Likewise.
9929 (log2_test_data): Likewise.
9930 (pow_test_data): Likewise.
9931 (scalb_test_data): Likewise.
9932 (sin_test_data): Likewise.
9933 (sincos_test_data): Likewise.
9934 (sinh_test_data): Likewise.
9935 (tan_test_data): Likewise.
9936 (tanh_test_data): Likewise.
9937 (tgamma_test_data): Likewise.
9938 (y0_test_data): Likewise.
9939 (y1_test_data): Likewise.
9940 (yn_test_data): Likewise.
9941
9942 [BZ #16167]
9943 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9944 argument being NaN and avoid computations with second argument in
9945 that case.
9946 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9947 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9948 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9949
9950 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9951
9952 * locale/iso-639.def: Add Chitwani Tharu (the).
9953
9954 2013-11-14 Andreas Schwab <schwab@suse.de>
9955
9956 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9957 word instead of empty string.
9958
9959 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9960
9961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9962 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9964 (__fe_nomask_env): Likewise.
9965
9966 2013-11-13 Steve Ellcey <sellcey@mips.com>
9967
9968 * benchtests/bench-timing.h: Include time.h.
9969
9970 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9971
9972 [BZ #15997]
9973 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9974 to 3.4.0 for x32.
9975 * sysdeps/unix/sysv/linux/configure: Regenerated.
9976
9977 2013-11-13 Joseph Myers <joseph@codesourcery.com>
9978
9979 [BZ #16151]
9980 * stdlib/strtod_l.c (round_and_return): Do not consider
9981 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9982 exponent one less than half the least subnormal exponent.
9983 * stdlib/test-strtod-round-data: Add more tests.
9984 * stdlib/tst-strtod-round.c (tests): Regenerated.
9985
9986 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9987
9988 [BZ #14143]
9989 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9990 (__fe_mask_env): Likewise.
9991 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9992 libm_hidden_proto and add function prototype.
9993 (__fe_mask_env): Add function prototype.
9994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9995 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9997 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9999 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10000
10001 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10002
10003 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10004 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10005
10006 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10007
10008 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10009 of htab_find_slot().
10010
10011 2013-11-11 David S. Miller <davem@davemloft.net>
10012
10013 [BZ #16150]
10014 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10015 symbol in the non-vis3 case in static builds.
10016 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10017 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10018 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10019 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10020
10021 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10022
10023 [BZ #387]
10024 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10025 it is empty.
10026
10027 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10028
10029 * benchtests/Makefile: Add bench-strtod.
10030 * benchtests/bench-strtod.c: New file: strtod benchtest
10031
10032 2013-11-11 Andreas Schwab <schwab@suse.de>
10033
10034 [BZ #16153]
10035 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10036 terminating NUL in key length.
10037
10038 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10039
10040 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10041 Add artificial ODP entry for vDSO symbol for PPC64.
10042 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10043 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10044
10045 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10046
10047 [BZ #15374]
10048 * nss/getent.c (services_keys): Recognize services starting with digit.
10049
10050 2013-11-06 David S. Miller <davem@davemloft.net>
10051
10052 [BZ #15985]
10053 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10054 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10055
10056 2013-11-06 Will Newton <will.newton@linaro.org>
10057
10058 * manual/memory.texi (Malloc Examples): Remove register
10059 keyword from examples.
10060
10061 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10062
10063 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10064
10065 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10066
10067 [BZ #6981]
10068 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10069 depending on [__GCC_IEC_559 > 0].
10070 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10071 depending on [__GCC_IEC_559_COMPLEX > 0].
10072
10073 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10074
10075 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10076 to iso-639.def.
10077
10078 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10079
10080 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10081
10082 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10083
10084 [BZ #16112]
10085 * malloc/malloc (malloc_info): Do not handle first bin as
10086 special case.
10087
10088 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10089
10090 * locale/iso-639.def: Add Central Nahuatl (nhn).
10091
10092 2013-11-01 Bruno Haible <bruno@clisp.org>
10093
10094 [BZ #7003]
10095 * manual/math.texi (BSD Random): Specify range upper bound as
10096 in POSIX.
10097
10098 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10099
10100 * locale/iso-639.def: Add Meadow Mari (mhr).
10101
10102 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10103
10104 [BZ #14752], [BZ #15763]
10105 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10106 Validate name.
10107 * rt/tst_shm.c: Add test for escaping directory.
10108
10109 2013-10-31 Andreas Schwab <schwab@suse.de>
10110
10111 [BZ #15917]
10112 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10113 followed by 'x' as part of digit sequence.
10114 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10115
10116 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10117
10118 [BZ #16037]
10119 * configure.ac: allow GNU Make 4.0 and greater.
10120 * configure: Regenerated.
10121
10122 2013-10-30 Will Newton <will.newton@linaro.org>
10123
10124 [BZ #16038]
10125 * malloc/hooks.c (memalign_check): Limit alignment to the
10126 maximum representable power of two.
10127 * malloc/malloc.c (__libc_memalign): Likewise.
10128 * malloc/tst-memalign.c (do_test): Add test for very
10129 large alignment values.
10130 * malloc/tst-posix_memalign.c (do_test): Likewise.
10131
10132 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10133
10134 [BZ #11087]
10135 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10136 (munmap_chunk): Likewise.
10137 (mremap_chunk): Likewise.
10138
10139 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10140
10141 [BZ #15799]
10142 * stdlib/div.c (div): Remove obsolete code.
10143 * stdlib/ldiv.c (ldiv): Likewise.
10144 * stdlib/lldiv.c (lldiv): Likewise.
10145
10146 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10147
10148 [BZ #16071]
10149 * nss/nss_files/files-XXX.c (get_contents_ret): New
10150 enumerator.
10151 (get_contents): New function.
10152 (internal_getent): Use it. Expand size of LINEBUFLEN.
10153
10154 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10155
10156 * configure.in: Moved to ...
10157 * configure.ac: ... here. Change reference to configure.in
10158 to configure.ac.
10159 * sysdeps/arm/preconfigure.ac: ... here.
10160 configure.in to configure.ac.
10161 * sysdeps/gnu/configure.in: Moved to ...
10162 * sysdeps/gnu/configure.ac: ... here.
10163 * sysdeps/i386/configure.in: Moved to ...
10164 * sysdeps/i386/configure.ac: ... here.
10165 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10166 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10167 * sysdeps/mach/configure.in: Moved to ...
10168 * sysdeps/mach/configure.ac: ... here.
10169 * sysdeps/mach/hurd/configure.in: Moved to ...
10170 * sysdeps/mach/hurd/configure.ac: ... here.
10171 * sysdeps/powerpc/configure.in: Moved to ...
10172 * sysdeps/powerpc/configure.ac: ... here.
10173 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10174 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10175 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10176 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10177 * sysdeps/s390/s390-32/configure.in: Moved to ...
10178 * sysdeps/s390/s390-32/configure.ac: ... here.
10179 * sysdeps/s390/s390-64/configure.in: Moved to ...
10180 * sysdeps/s390/s390-64/configure.ac: ... here.
10181 * sysdeps/sh/configure.in: Moved to ...
10182 * sysdeps/sh/configure.ac: ... here.
10183 * sysdeps/sparc/configure.in: Moved to ...
10184 * sysdeps/sparc/configure.ac: ... here.
10185 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10186 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10187 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10188 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10189 * sysdeps/x86_64/configure.in: Moved to ...
10190 * sysdeps/x86_64/configure.ac: ... here.
10191 * sysdeps/x86_64/preconfigure.in: Moved to ...
10192 * sysdeps/x86_64/preconfigure.ac: ... here.
10193 * aclocal.m4: Change reference to configure.in to configure.ac.
10194 * config.h.in: Likewise.
10195 * manual/install.texi: Likewise.
10196 * manual/maint.texi: Likewise.
10197 * Makefile: Likewise.
10198 * malloc/Makefile: Likewise.
10199 * nscd/Makefile: Likewise.
10200 * Makeconfig: Change reference to configure.in and
10201 preconfigure.in to configure.ac and preconfigure.ac
10202 respectively.
10203 * INSTALL: Regenerated.
10204 * configure: Likewise.
10205 * sysdeps/gnu/configure: Likewise.
10206 * sysdeps/i386/configure: Likewise.
10207 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10208 * sysdeps/mach/configure: Likewise.
10209 * sysdeps/mach/hurd/configure: Likewise.
10210 * sysdeps/powerpc/configure: Likewise.
10211 * sysdeps/powerpc/powerpc32/configure: Likewise.
10212 * sysdeps/powerpc/powerpc64/configure: Likewise.
10213 * sysdeps/s390/s390-32/configure: Likewise.
10214 * sysdeps/s390/s390-64/configure: Likewise.
10215 * sysdeps/sh/configure: Likewise.
10216 * sysdeps/sparc/configure: Likewise.
10217 * sysdeps/unix/sysv/linux/configure: Likewise.
10218 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10219 * sysdeps/x86_64/configure: Likewise.
10220 * sysdeps/x86_64/preconfigure: Likewise.
10221
10222 2013-10-29 Andreas Schwab <schwab@suse.de>
10223
10224 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10225
10226 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10227
10228 * benchtests/pow-inputs: Add new inputs.
10229
10230 * benchtests/exp-inputs: Add new inputs.
10231
10232 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10233 conditional check for return value.
10234 (__cos32): Likewise.
10235
10236 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10237
10238 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10239 to provide a boost for large inputs with word alignment.
10240 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10241 implementation based on optimized PPC64 strcpy.
10242 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10243 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10244 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10245 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10246
10247 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10248
10249 [BZ #2801]
10250 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10251
10252 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10253
10254 [BZ #14876]
10255 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10256 * time/tst-strptime.c (day_tests): Add testcase.
10257
10258 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10259
10260 [BZ #14029]
10261 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10262
10263 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10264
10265 [BZ #16074]
10266 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10267 MAP_FAILED on error.
10268
10269 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10270
10271 [BZ #16072]
10272 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10273 heap for large requests.
10274
10275 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10276
10277 [BZ #9954]
10278 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10279 result if the result has no associated interface.
10280 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10281 interface for all 127.X.Y.Z addresses.
10282
10283 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10284
10285 * locale/iso-639.def: Add Ligurian (lij)
10286
10287 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10288
10289 [BZ #15825]
10290 * sunrpc/rpc_main.c: Document rpcgen -5.
10291
10292 2013-10-19 Michael Stahl <mstahl@redhat.com>
10293
10294 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10295
10296 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10297
10298 [BZ #10278]
10299 * posix/glob.c: Match only directories when trailing slash is present.
10300 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10301 (main): Add testcase.
10302
10303 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10304
10305 [BZ #15670]
10306 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10307
10308 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10309
10310 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10311 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10312 AUTH_DES and cindex for FIPS 140-2.
10313 (DES Encryption): Add cindex FIPS 46-3.
10314
10315 * locale/locarchive.h (struct locarhandle): Add fname.
10316 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10317 if an optional argument was specified to --list-archive,
10318 otherwise NULL.
10319 * locale/programs/locarchive.c (show_archive_content): Take new
10320 argument fname and pass it via ah.fname to open_archive.
10321 * locale/programs/localedef.h: Update decl.
10322 (open_archive): If AH->fname is non-null, open that file
10323 rather than the default file name, and don't ignore ENOENT.
10324 (create_archive): Set AH.fname to NULL.
10325 (delete_locales_from_archive): Likewise.
10326 (add_locales_to_archive): Likewise.
10327 * locale/programs/locfile.c (write_all_categories): Likewise.
10328
10329 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10330 Aldy Hernandez <aldyh@redhat.com>
10331
10332 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10333 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10334 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10335 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10336 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10337 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10338 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10339 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10340 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10341 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10342 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10343 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10344 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10345 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10346 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10347 Likewise.
10348 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10349 Likewise.
10350 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10351 Likewise.
10352 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10353 Likewise.
10354 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10355 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10356 Likewise.
10357 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10358 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10359 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10360 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10361 Likewise.
10362 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10363 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10364 * sysdeps/powerpc/preconfigure: Likewise.
10365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10366 Likewise.
10367 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10368 Replace contents of file by #include of <fenv_libc.h>.
10369 * sysdeps/powerpc/soft-fp/sfp-machine.h
10370 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10371 and <sys/prctl.h>.
10372 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10373 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10374 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10375 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10376 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10377 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10379 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10380 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10381 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10382 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10383 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10385 Allow copysignl PLT reference to be missing.
10386
10387 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10388 Joseph Myers <joseph@codesourcery.com
10389
10390 [BZ #15948]
10391 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10392 single character.
10393 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10394
10395 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10396
10397 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10398 * elf/tst-tls1.c: Likewise.
10399 * elf/tst-tls10.h: Likewise.
10400 * elf/tst-tls14.c: Likewise.
10401 * elf/tst-tls2.c: Likewise.
10402 * elf/tst-tls3.c: Likewise.
10403 * elf/tst-tls4.c: Likewise.
10404 * elf/tst-tls5.c: Likewise.
10405 * elf/tst-tls6.c: Likewise.
10406 * elf/tst-tls7.c: Likewise.
10407 * elf/tst-tls8.c: Likewise.
10408 * elf/tst-tls9.c: Likewise.
10409 * elf/tst-tlsmod1.c: Likewise.
10410 * elf/tst-tlsmod13.c: Likewise.
10411 * elf/tst-tlsmod13a.c: Likewise.
10412 * elf/tst-tlsmod14a.c: Likewise.
10413 * elf/tst-tlsmod16a.c: Likewise.
10414 * elf/tst-tlsmod16b.c: Likewise.
10415 * elf/tst-tlsmod2.c: Likewise.
10416 * elf/tst-tlsmod3.c: Likewise.
10417 * elf/tst-tlsmod4.c: Likewise.
10418 * elf/tst-tlsmod5.c: Likewise.
10419 * elf/tst-tlsmod6.c: Likewise.
10420
10421 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10422
10423 [BZ #12486]
10424 * malloc/malloc.c: remove checks for statistics.
10425
10426 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10427
10428 [BZ #15277]
10429 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10430 * inet/tst-network.c: Add testcase.
10431
10432 2013-10-17 Andreas Schwab <schwab@suse.de>
10433
10434 [BZ #15218]
10435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10436 to determine canonical name.
10437
10438 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10439
10440 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10441 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10442 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10443 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10445 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10446 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10447 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10448 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10449 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10450 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10451 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10452 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10453 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10454 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10455 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10457 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10458 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10459 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10460 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10461 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10463 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10464 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10465 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10468 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10469 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10470 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10471 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10472 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10474 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10475 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10476 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10478 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10479 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10480 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10481 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10482 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10483 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10484 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10485 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10486 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10488 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10489 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10490 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10491 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10492 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10493 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10494 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10495 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10497 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10498
10499 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10500
10501 [BZ #16041]
10502 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10503 make result into a quiet NaN.
10504
10505 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10506
10507 * soft-fp/adddf3.c: Fix horizontal whitespace.
10508 * soft-fp/addsf3.c: Likewise.
10509 * soft-fp/addtf3.c: Likewise.
10510 * soft-fp/divdf3.c: Likewise.
10511 * soft-fp/divsf3.c: Likewise.
10512 * soft-fp/divtf3.c: Likewise.
10513 * soft-fp/double.h: Likewise.
10514 * soft-fp/eqdf2.c: Likewise.
10515 * soft-fp/eqsf2.c: Likewise.
10516 * soft-fp/eqtf2.c: Likewise.
10517 * soft-fp/extenddftf2.c: Likewise.
10518 * soft-fp/extended.h: Likewise.
10519 * soft-fp/extendsfdf2.c: Likewise.
10520 * soft-fp/extendsftf2.c: Likewise.
10521 * soft-fp/extendxftf2.c: Likewise.
10522 * soft-fp/fixdfdi.c: Likewise.
10523 * soft-fp/fixdfsi.c: Likewise.
10524 * soft-fp/fixdfti.c: Likewise.
10525 * soft-fp/fixsfdi.c: Likewise.
10526 * soft-fp/fixsfsi.c: Likewise.
10527 * soft-fp/fixsfti.c: Likewise.
10528 * soft-fp/fixtfdi.c: Likewise.
10529 * soft-fp/fixtfsi.c: Likewise.
10530 * soft-fp/fixtfti.c: Likewise.
10531 * soft-fp/fixunsdfdi.c: Likewise.
10532 * soft-fp/fixunsdfsi.c: Likewise.
10533 * soft-fp/fixunsdfti.c: Likewise.
10534 * soft-fp/fixunssfdi.c: Likewise.
10535 * soft-fp/fixunssfsi.c: Likewise.
10536 * soft-fp/fixunssfti.c: Likewise.
10537 * soft-fp/fixunstfdi.c: Likewise.
10538 * soft-fp/fixunstfsi.c: Likewise.
10539 * soft-fp/fixunstfti.c: Likewise.
10540 * soft-fp/floatdidf.c: Likewise.
10541 * soft-fp/floatdisf.c: Likewise.
10542 * soft-fp/floatditf.c: Likewise.
10543 * soft-fp/floatsidf.c: Likewise.
10544 * soft-fp/floatsisf.c: Likewise.
10545 * soft-fp/floatsitf.c: Likewise.
10546 * soft-fp/floattidf.c: Likewise.
10547 * soft-fp/floattisf.c: Likewise.
10548 * soft-fp/floattitf.c: Likewise.
10549 * soft-fp/floatundidf.c: Likewise.
10550 * soft-fp/floatundisf.c: Likewise.
10551 * soft-fp/floatunditf.c: Likewise.
10552 * soft-fp/floatunsidf.c: Likewise.
10553 * soft-fp/floatunsisf.c: Likewise.
10554 * soft-fp/floatunsitf.c: Likewise.
10555 * soft-fp/floatuntidf.c: Likewise.
10556 * soft-fp/floatuntisf.c: Likewise.
10557 * soft-fp/floatuntitf.c: Likewise.
10558 * soft-fp/fmadf4.c: Likewise.
10559 * soft-fp/fmasf4.c: Likewise.
10560 * soft-fp/fmatf4.c: Likewise.
10561 * soft-fp/gedf2.c: Likewise.
10562 * soft-fp/gesf2.c: Likewise.
10563 * soft-fp/getf2.c: Likewise.
10564 * soft-fp/ledf2.c: Likewise.
10565 * soft-fp/lesf2.c: Likewise.
10566 * soft-fp/letf2.c: Likewise.
10567 * soft-fp/muldf3.c: Likewise.
10568 * soft-fp/mulsf3.c: Likewise.
10569 * soft-fp/multf3.c: Likewise.
10570 * soft-fp/negdf2.c: Likewise.
10571 * soft-fp/negsf2.c: Likewise.
10572 * soft-fp/negtf2.c: Likewise.
10573 * soft-fp/op-1.h: Likewise.
10574 * soft-fp/op-2.h: Likewise.
10575 * soft-fp/op-4.h: Likewise.
10576 * soft-fp/op-8.h: Likewise.
10577 * soft-fp/op-common.h: Likewise.
10578 * soft-fp/quad.h: Likewise.
10579 * soft-fp/single.h: Likewise.
10580 * soft-fp/soft-fp.h: Likewise.
10581 * soft-fp/sqrtdf2.c: Likewise.
10582 * soft-fp/sqrtsf2.c: Likewise.
10583 * soft-fp/sqrttf2.c: Likewise.
10584 * soft-fp/subdf3.c: Likewise.
10585 * soft-fp/subsf3.c: Likewise.
10586 * soft-fp/subtf3.c: Likewise.
10587 * soft-fp/truncdfsf2.c: Likewise.
10588 * soft-fp/trunctfdf2.c: Likewise.
10589 * soft-fp/trunctfsf2.c: Likewise.
10590 * soft-fp/trunctfxf2.c: Likewise.
10591 * soft-fp/unorddf2.c: Likewise.
10592 * soft-fp/unordsf2.c: Likewise.
10593 * soft-fp/unordtf2.c: Likewise.
10594
10595 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10596
10597 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10598 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10599
10600 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10601
10602 * elf/dl-libc.c: Clear initfini list after freeing.
10603
10604 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10605
10606 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10607 * soft-fp/addsf3.c: Likewise.
10608 * soft-fp/addtf3.c: Likewise.
10609 * soft-fp/divdf3.c: Likewise.
10610 * soft-fp/divsf3.c: Likewise.
10611 * soft-fp/divtf3.c: Likewise.
10612 * soft-fp/double.h: Likewise.
10613 * soft-fp/eqdf2.c: Likewise.
10614 * soft-fp/eqsf2.c: Likewise.
10615 * soft-fp/eqtf2.c: Likewise.
10616 * soft-fp/extenddftf2.c: Likewise.
10617 * soft-fp/extended.h: Likewise.
10618 * soft-fp/extendsfdf2.c: Likewise.
10619 * soft-fp/extendsftf2.c: Likewise.
10620 * soft-fp/extendxftf2.c: Likewise.
10621 * soft-fp/fixdfdi.c: Likewise.
10622 * soft-fp/fixdfsi.c: Likewise.
10623 * soft-fp/fixdfti.c: Likewise.
10624 * soft-fp/fixsfdi.c: Likewise.
10625 * soft-fp/fixsfsi.c: Likewise.
10626 * soft-fp/fixsfti.c: Likewise.
10627 * soft-fp/fixtfdi.c: Likewise.
10628 * soft-fp/fixtfsi.c: Likewise.
10629 * soft-fp/fixtfti.c: Likewise.
10630 * soft-fp/fixunsdfdi.c: Likewise.
10631 * soft-fp/fixunsdfsi.c: Likewise.
10632 * soft-fp/fixunsdfti.c: Likewise.
10633 * soft-fp/fixunssfdi.c: Likewise.
10634 * soft-fp/fixunssfsi.c: Likewise.
10635 * soft-fp/fixunssfti.c: Likewise.
10636 * soft-fp/fixunstfdi.c: Likewise.
10637 * soft-fp/fixunstfsi.c: Likewise.
10638 * soft-fp/fixunstfti.c: Likewise.
10639 * soft-fp/floatdidf.c: Likewise.
10640 * soft-fp/floatdisf.c: Likewise.
10641 * soft-fp/floatditf.c: Likewise.
10642 * soft-fp/floatsidf.c: Likewise.
10643 * soft-fp/floatsisf.c: Likewise.
10644 * soft-fp/floatsitf.c: Likewise.
10645 * soft-fp/floattidf.c: Likewise.
10646 * soft-fp/floattisf.c: Likewise.
10647 * soft-fp/floattitf.c: Likewise.
10648 * soft-fp/floatundidf.c: Likewise.
10649 * soft-fp/floatundisf.c: Likewise.
10650 * soft-fp/floatunsidf.c: Likewise.
10651 * soft-fp/floatunsisf.c: Likewise.
10652 * soft-fp/floatuntidf.c: Likewise.
10653 * soft-fp/floatuntisf.c: Likewise.
10654 * soft-fp/floatuntitf.c: Likewise.
10655 * soft-fp/fmadf4.c: Likewise.
10656 * soft-fp/fmasf4.c: Likewise.
10657 * soft-fp/fmatf4.c: Likewise.
10658 * soft-fp/gedf2.c: Likewise.
10659 * soft-fp/gesf2.c: Likewise.
10660 * soft-fp/getf2.c: Likewise.
10661 * soft-fp/ledf2.c: Likewise.
10662 * soft-fp/lesf2.c: Likewise.
10663 * soft-fp/letf2.c: Likewise.
10664 * soft-fp/muldf3.c: Likewise.
10665 * soft-fp/mulsf3.c: Likewise.
10666 * soft-fp/multf3.c: Likewise.
10667 * soft-fp/negdf2.c: Likewise.
10668 * soft-fp/negsf2.c: Likewise.
10669 * soft-fp/negtf2.c: Likewise.
10670 * soft-fp/op-1.h: Likewise.
10671 * soft-fp/op-2.h: Likewise.
10672 * soft-fp/op-4.h: Likewise.
10673 * soft-fp/op-8.h: Likewise.
10674 * soft-fp/op-common.h: Likewise.
10675 * soft-fp/quad.h: Likewise.
10676 * soft-fp/single.h: Likewise.
10677 * soft-fp/soft-fp.h: Likewise.
10678 * soft-fp/sqrtdf2.c: Likewise.
10679 * soft-fp/sqrtsf2.c: Likewise.
10680 * soft-fp/sqrttf2.c: Likewise.
10681 * soft-fp/subdf3.c: Likewise.
10682 * soft-fp/subsf3.c: Likewise.
10683 * soft-fp/subtf3.c: Likewise.
10684 * soft-fp/truncdfsf2.c: Likewise.
10685 * soft-fp/trunctfdf2.c: Likewise.
10686 * soft-fp/trunctfsf2.c: Likewise.
10687 * soft-fp/trunctfxf2.c: Likewise.
10688 * soft-fp/unorddf2.c: Likewise.
10689 * soft-fp/unordsf2.c: Likewise.
10690 * soft-fp/unordtf2.c: Likewise.
10691
10692 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10693
10694 [BZ #15672]
10695 * misc/error.c (error_tail): Fix possible buffer overflow.
10696
10697 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10698
10699 [BZ #13028]
10700 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10701 address.
10702
10703 2013-10-14 P. J. McDermott <pj@pehjota.net>
10704
10705 [BZ #832]
10706 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10707 testing pipefail option.
10708
10709 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10710
10711 * soft-fp/double.h: Indent preprocessor directives inside #if.
10712 * soft-fp/extended.h: Likewise.
10713 * soft-fp/op-2.h: Likewise.
10714 * soft-fp/op-4.h: Likewise.
10715 * soft-fp/op-common.h: Likewise.
10716 * soft-fp/quad.h: Likewise.
10717 * soft-fp/single.h: Likewise.
10718 * soft-fp/soft-fp.h: Likewise.
10719
10720 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10721
10722 * iconv/iconv_prog.c: Fix typos.
10723 * stdio-common/psiginfo-data.h: Likewise.
10724
10725 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10726
10727 [BZ #15764]
10728 * locale/setlocale.c: Fix typo.
10729
10730 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10731
10732 [BZ #16036]
10733 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10734 signaling NaN arguments.
10735 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10736 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10737
10738 [BZ #14910]
10739 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10740 unordered operands.
10741 * soft-fp/gesf2.c (__gesf2): Likewise.
10742 * soft-fp/getf2.c (__getf2): Likewise.
10743 * soft-fp/ledf2.c (__ledf2): Likewise.
10744 * soft-fp/lesf2.c (__lesf2): Likewise.
10745 * soft-fp/letf2.c (__letf2): Likewise.
10746
10747 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10748 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10749 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10750 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10751 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10752 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10753 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10754 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10755 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10756 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10757 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10758 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10759 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10760 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10761 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10762 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10763 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10764 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10765 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10766 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10767 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10768 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10769 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10770 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10771 * soft-fp/floattidf.c (__floattidf): Likewise.
10772 * soft-fp/floattisf.c (__floattisf): Likewise.
10773 * soft-fp/floattitf.c (__floattitf): Likewise.
10774 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10775 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10776 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10777 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10778 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10779 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10780 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10781 * soft-fp/gesf2.c (__gesf2): Likewise.
10782 * soft-fp/getf2.c (__getf2): Likewise.
10783 * soft-fp/ledf2.c (__ledf2): Likewise.
10784 * soft-fp/lesf2.c (__lesf2): Likewise.
10785 * soft-fp/letf2.c (__letf2): Likewise.
10786
10787 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10788 Undefine and redefine.
10789 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10790 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10791 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10792 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10793 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10794 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10795 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10796 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10797 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10798 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10799 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10800 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10801 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10802 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10803 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10804
10805 [BZ #16032]
10806 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10807 without decrementing exponent if mantissa >= that for the
10808 denominator, not >.
10809 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10810 denominator, not >. Decrement exponent in < case instead of
10811 incrementing in >= case.
10812 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10813 without decrementing exponent if mantissa >= that for the
10814 denominator, not >.
10815
10816 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10817 computing saturated result for unsigned overflow.
10818
10819 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10820 Jeff Law <law@redhat.com>
10821
10822 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10823 (atan2Mp): Add systemtap probe marker.
10824 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10825 (__ieee754_log): Add systemtap probe marker.
10826 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10827 (atanMp): Add systemtap probe marker.
10828 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10829 (tanMp): Add systemtap probe marker.
10830 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10831 (__slowexp): Add systemtap probe marker.
10832 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10833 (__slowpow): Add systemtap probe marker.
10834 * manual/probes.texi: Document probes.
10835
10836 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
10837
10838 [BZ #15362]
10839 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10840 written.
10841 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10842 written.
10843 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10844 written to buffer but not flushed.
10845 * libio/iofwrite_u.c: Likewise.
10846 * libio/iopadn.c: Return bytes returned even if EOF was
10847 encountered.
10848 * libio/iowpadn.c: Likewise.
10849 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10850 if _IO_padn does not write the whole buffer.
10851 [!COMPILE_WPRINTF] (PAD): Likewise.
10852
10853 2013-10-10 David S. Miller <davem@davemloft.net>
10854
10855 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10856 directory block.
10857
10858 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10859
10860 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10861 instead of FSF address.
10862 * soft-fp/fixdfti.c: Likewise.
10863 * soft-fp/fixsfti.c: Likewise.
10864 * soft-fp/fixtfti.c: Likewise.
10865 * soft-fp/fixunsdfti.c: Likewise.
10866 * soft-fp/fixunssfti.c: Likewise.
10867 * soft-fp/fixunstfti.c: Likewise.
10868 * soft-fp/floattidf.c: Likewise.
10869 * soft-fp/floattisf.c: Likewise.
10870 * soft-fp/floattitf.c: Likewise.
10871 * soft-fp/floatuntidf.c: Likewise.
10872 * soft-fp/floatuntisf.c: Likewise.
10873 * soft-fp/floatuntitf.c: Likewise.
10874 * soft-fp/trunctfxf2.c: Likewise.
10875
10876 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10877 * soft-fp/fixdfti.c: Likewise.
10878 * soft-fp/fixsfti.c: Likewise.
10879 * soft-fp/fixtfti.c: Likewise.
10880 * soft-fp/fixunsdfti.c: Likewise.
10881 * soft-fp/fixunssfti.c: Likewise.
10882 * soft-fp/fixunstfti.c: Likewise.
10883 * soft-fp/floattidf.c: Likewise.
10884 * soft-fp/floattisf.c: Likewise.
10885 * soft-fp/floattitf.c: Likewise.
10886 * soft-fp/floatuntidf.c: Likewise.
10887 * soft-fp/floatuntisf.c: Likewise.
10888 * soft-fp/floatuntitf.c: Likewise.
10889 * soft-fp/trunctfxf2.c: Likewise.
10890
10891 2013-10-10 David S. Miller <davem@davemloft.net>
10892
10893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10894
10895 2013-10-10 Joseph Myers <joseph@codsourcery.com>
10896
10897 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10898 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10899 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10900 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10901 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10902 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10903 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10904
10905 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10906 for NaNs before doing comparisons on argument.
10907 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10908 Likewise.
10909
10910 2013-10-10 Will Newton <will.newton@linaro.org>
10911
10912 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10913 passed to _int_memalign does not overflow.
10914
10915 2013-10-10 Torvald Riegel <triegel@redhat.com>
10916
10917 * scripts/bench.pl: Add include-sources directive.
10918 * benchtests/README: Update documentation.
10919
10920 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10921
10922 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10923 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10924 instead of FP_INIT_ROUNDMODE.
10925 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10926 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10927
10928 [BZ #16034]
10929 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10930 copy class of input value.
10931 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10932 not handle exceptions.
10933 * soft-fp/negsf2.c (__negsf2): Likewise.
10934 * soft-fp/negtf2.c (__negtf2): Likewise.
10935 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10936
10937 2013-10-09 Joseph Myers <joseph@codesourcery.com>
10938
10939 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10940 semicolon. From Linux kernel.
10941
10942 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10943
10944 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10945
10946 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10947
10948 [BZ #156]
10949 * manual/socket.texi: Added statement about buffer
10950 for gethostbyname2_r.
10951
10952 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
10953
10954 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10955 Use .p2align directive instead, throughout.
10956 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10957 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10958 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10959 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10960 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10961 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10962 * sysdeps/x86_64/strchr.S: Likewise.
10963 * sysdeps/x86_64/strrchr.S: Likewise.
10964
10965 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10966
10967 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10968
10969 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10970
10971 * sysdeps/generic/math_private.h (__mpsin1): Remove
10972 declaration.
10973 (__mpcos1): Likewise.
10974 (__mpsin): New argument __range_reduce.
10975 (__mpcos): Likewise.
10976 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10977 (slow): Use __mpsin and __mpcos.
10978 (slow1): Likewise.
10979 (slow2): Likewise.
10980 (sloww): Likewise.
10981 (sloww1): Likewise.
10982 (sloww2): Likewise.
10983 (bsloww): Likewise.
10984 (bsloww1): Likewise.
10985 (bsloww2): Likewise.
10986 (cslow2): Likewise.
10987 (csloww): Likewise.
10988 (csloww1): Likewise.
10989 (csloww2): Likewise.
10990 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10991 range_reduce. Merge in __mpsin1.
10992 (__mpcos): Likewise.
10993 (__mpsin1): Remove.
10994 (__mpcos1): Likewise.
10995
10996 2013-10-07 Joseph Myers <joseph@codesourcery.com>
10997
10998 * locale/loadlocale.c (_nl_intern_locale_data): Use
10999 LOCFILE_ALIGNED_P.
11000 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11001 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11002 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11003 obstack data is appropriately aligned.
11004 (obstack_int32_grow_fast): Likewise.
11005 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11006 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11007 (add_locale_uint32_array): Likewise.
11008
11009 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11010
11011 * benchtests/Makefile: Remove ARGLIST and RET variables.
11012 ($(objpfx)bench-%.c): Pass only function name to the script.
11013 * benchtests/README: Update documentation.
11014 * benchtests/acos-inputs: Add new directives.
11015 * benchtests/acosh-inputs: Likewise.
11016 * benchtests/asin-inputs: Likewise.
11017 * benchtests/asinh-inputs: Likewise.
11018 * benchtests/atan-inputs: Likewise.
11019 * benchtests/atanh-inputs: Likewise.
11020 * benchtests/cos-inputs: Likewise.
11021 * benchtests/cosh-inputs: Likewise.
11022 * benchtests/exp-inputs: Likewise.
11023 * benchtests/log-inputs: Likewise.
11024 * benchtests/pow-inputs: Likewise.
11025 * benchtests/rint-inputs: Likewise.
11026 * benchtests/sin-inputs: Likewise.
11027 * benchtests/sinh-inputs: Likewise.
11028 * benchtests/tan-inputs: Likewise.
11029 * benchtests/tanh-inputs: Likewise.
11030 * scripts/bench.pl: Add support for new directives.
11031
11032 2013-10-07 Alan Modra <amodra@gmail.com>
11033
11034 * README: Fix careless merge.
11035
11036 2013-10-05 Alan Modra <amodra@gmail.com>
11037
11038 * NEWS: Mention powerpc64le support and bugs fixed.
11039 * README: Both big-endian and little-endian powerpc64 supported.
11040
11041 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11042
11043 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11044 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11045 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11046 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11047
11048 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11049
11050 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11051 match prototype.
11052
11053 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11054
11055 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11056 Move -mhard-float appending from
11057 ports/sysdeps/powerpc/powerpc32/Makefile.
11058 [$(with-fp) = yes] (ASFLAGS): Likewise.
11059 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11060 * sysdeps/powerpc/nofpu: Move directory from
11061 ports/sysdeps/powerpc/nofpu.
11062 * sysdeps/powerpc/soft-fp: Move directory from
11063 ports/sysdeps/powerpc/soft-fp.
11064 * sysdeps/powerpc/powerpc32/405: Move directory from
11065 ports/sysdeps/powerpc/powerpc32/405.
11066 * sysdeps/powerpc/powerpc32/440: Move directory from
11067 ports/sysdeps/powerpc/powerpc32/440.
11068 * sysdeps/powerpc/powerpc32/464: Move directory from
11069 ports/sysdeps/powerpc/powerpc32/464.
11070 * sysdeps/powerpc/powerpc32/476: Move directory from
11071 ports/sysdeps/powerpc/powerpc32/476.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11073 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11075 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11077 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11079 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11081 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11082 * README: Update for powerpc-*-linux-gnu software floating point
11083 support in libc.
11084
11085 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11086 case to powerpc/powerpc32*.
11087 * sysdeps/unix/sysv/linux/configure: Regenerated.
11088
11089 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11090 (_FPU_MASK_OM): Define as 0x04.
11091 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11092 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11093 0x00c10080.
11094 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11095 0x0000003c.
11096 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11097
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11099 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11100 getcontext_e500.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11102 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11103 setcontext_e500.
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11105 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11106 and setcontext_e500.
11107
11108 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11109
11110 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11111
11112 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11113
11114 * manual/threads.texi (Default Thread Attributes): Fix typo.
11115
11116 2013-10-04 Will Newton <will.newton@linaro.org>
11117
11118 * malloc/Makefile: Add tst-memalign.
11119 * malloc/tst-memalign.c: New file.
11120
11121 * malloc/tst-posix_memalign.c: Add comments.
11122 (do_test): Add comments and call free on all potentially
11123 allocated pointers. Add space after cast.
11124
11125 * malloc/tst-pvalloc.c: Add comments.
11126 (do_test): Add comments and call free on all potentially
11127 allocated pointers. Remove duplicate check for NULL pointer.
11128 Add space after cast.
11129
11130 * malloc/tst-valloc.c: Add comments.
11131 (do_test): Add comments and call free on all potentially
11132 allocated pointers. Remove duplicate check for NULL pointer.
11133 Add space after cast.
11134
11135 2013-10-04 Alan Modra <amodra@gmail.com>
11136
11137 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11138 Use stdint types in rather than __attribute__((mode())).
11139 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11140
11141 2013-10-04 Alan Modra <amodra@gmail.com>
11142
11143 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11144 Correct handling of unaligned relocs for little-endian.
11145 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11146
11147 2013-10-04 Alan Modra <amodra@gmail.com>
11148
11149 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11150 * configure: Regenerate.
11151 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11152 * shlib-versions: Likewise.
11153
11154 2013-10-04 Alan Modra <amodra@gmail.com>
11155
11156 * string/tester.c (test_memrchr): Increment reported test cycle.
11157
11158 2013-10-04 Alan Modra <amodra@gmail.com>
11159
11160 * string/test-memcpy.c (do_one_test): When reporting errors, print
11161 string address and don't overrun end of string.
11162
11163 2013-10-04 Alan Modra <amodra@gmail.com>
11164
11165 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11166 insrdi. Make better use of reg selection to speed exit slightly.
11167 Schedule entry path a little better. Remove useless "are we done"
11168 checks on entry to main loop. Handle wrapping around zero address.
11169 Correct main loop count. Handle single left-over word from main
11170 loop inline rather than by using loop_small. Remove extra word
11171 case in loop_small caused by wrong loop count. Add little-endian
11172 support.
11173 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11174 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11175 cache hint.
11176 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11177 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11178 support. Avoid rlwimi.
11179 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11180
11181 2013-10-04 Alan Modra <amodra@gmail.com>
11182
11183 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11184 insrdi. Formatting.
11185 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11186 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11187 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11188 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11189 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11190 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11191
11192 2013-10-04 Alan Modra <amodra@gmail.com>
11193
11194 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11195 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11196 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11197 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11198 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11199 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11200 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11201 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11202 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11203 use of regs. Use power7 mtocrf. Tidy function tails.
11204
11205 2013-10-04 Alan Modra <amodra@gmail.com>
11206
11207 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11208 Formatting. Consistently use rXXX register defines or rN defines.
11209 Use early exit labels that avoid restoring unused non-volatile regs.
11210 Make cr field use more consistent with rWORDn compares. Rename
11211 regs used as shift registers for unaligned loop, using rN defines
11212 for short lifetime/multiple use regs.
11213 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11214 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11215 addi 1,1,64 to pop stack frame. Simplify return value code.
11216 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11217
11218 2013-10-04 Alan Modra <amodra@gmail.com>
11219
11220 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11221 support. Correct typos, formatting. Optimize tail. Use insrdi
11222 rather than rlwimi.
11223 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11224 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11225 little-endian support. Correct typos.
11226 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11227 rather than rlwimi.
11228 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11229 in loop and entry code to keep "and." results.
11230 (strchr): Add little-endian support. Comment. Move cntlzd
11231 earlier in tail.
11232 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11233
11234 2013-10-04 Alan Modra <amodra@gmail.com>
11235
11236 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11237 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11238 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11239 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11240
11241 2013-10-04 Alan Modra <amodra@gmail.com>
11242
11243 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11244 (rTMP): Define as r11.
11245 (strcmp): Add little-endian support. Optimise tail.
11246 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11247 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11248 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11249 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11250 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11251 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11252 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11253
11254 2013-10-04 Alan Modra <amodra@gmail.com>
11255
11256 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11257 little-endian support. Remove unnecessary "are we done" tests.
11258 Handle "s" wrapping around zero and extremely large "size".
11259 Correct main loop count. Handle single left-over word from main
11260 loop inline rather than by using small_loop. Correct comments.
11261 Delete "zero" tail, use "end_max" instead.
11262 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11263
11264 2013-10-04 Alan Modra <amodra@gmail.com>
11265
11266 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11267 support. Don't branch over align.
11268 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11269 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11270 support. Rearrange tmp reg use to suit. Comment.
11271 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11272
11273 2013-10-04 Alan Modra <amodra@gmail.com>
11274
11275 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11276
11277 2013-10-04 Alan Modra <amodra@gmail.com>
11278
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11280 conditional form of branch and link when obtaining pc.
11281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11282
11283 2013-10-04 Alan Modra <amodra@gmail.com>
11284
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11286 HIWORD/LOWORD.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11289
11290 2013-10-04 Alan Modra <amodra@gmail.com>
11291
11292 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11293 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11294 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11295 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11296 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11297 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11298 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11299 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11300 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11301 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11302
11303 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11304 Alistair Popple <alistair@ozlabs.au.ibm.com>
11305 Alan Modra <amodra@gmail.com>
11306
11307 [BZ #15723]
11308 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11309 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11310 _dl_hwcap access for little-endian.
11311 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11312 destroy vmx regs when saving unaligned.
11313 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11314 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11315 destroy vmx regs when saving unaligned.
11316
11317 2013-10-04 Alan Modra <amodra@gmail.com>
11318
11319 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11320 Don't use a union to pack hi/low value.
11321
11322 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11323
11324 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11325 for little-endian.
11326 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11327 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11328 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11329 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11330 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11331
11332 2013-10-04 Alan Modra <amodra@gmail.com>
11333
11334 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11335 constants to usual value for .cst8 section, and remove redundant
11336 high address load.
11337 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11338 constant for 0x1p52. Load little-endian words of double from
11339 correct stack offsets.
11340
11341 2013-10-04 Alan Modra <amodra@gmail.com>
11342
11343 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11344 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11345 words of double from correct stack offsets.
11346 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11347 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11348 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11349 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11350 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11351 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11352 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11353 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11354 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11355 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11356 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11357 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11358 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11359 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11360 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11361 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11362 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11363
11364 2013-10-04 Alan Modra <amodra@gmail.com>
11365
11366 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11367 64-bit int/double union.
11368 (_FPU_SETCW): Likewise.
11369 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11370 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11371
11372 2013-10-04 Alan Modra <amodra@gmail.com>
11373
11374 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11375 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11376
11377 2013-10-04 Alan Modra <amodra@gmail.com>
11378
11379 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11380 use vector int constants.
11381 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11382
11383 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11384
11385 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11386 array with long long.
11387 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11388 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11389 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11390 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11391 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11392 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11393 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11394 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11395 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11396 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11397 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11398 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11399 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11400
11401 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11402
11403 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11404 (__signbit): Likewise. Correct for little-endian.
11405 (__signbitl): Call __signbit.
11406 (lrint): Correct for little-endian.
11407 (lrintf): Call lrint.
11408
11409 2013-10-04 Alan Modra <amodra@gmail.com>
11410
11411 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11412 union 32-bit int array member with 64-bit int array.
11413 (t515, tm256): Double rather than long double.
11414 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11415
11416 2013-10-04 Alan Modra <amodra@gmail.com>
11417
11418 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11419 Delete.
11420 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11421 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11422 version of math_ldbl.h.
11423
11424 2013-10-04 Alan Modra <amodra@gmail.com>
11425
11426 [BZ #15734], [BZ #15735]
11427 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11428 all uses of ieee875 long double macros and unions. Simplify test
11429 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11430 ldbl_extract_mantissa value for ix,iy exponents. Properly
11431 normalize after ldbl_extract_mantissa, and don't add hidden bit
11432 already handled. Don't treat low word of ieee854 mantissa like
11433 low word of IBM long double and mask off bit when testing for
11434 zero.
11435 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11436 all uses of ieee875 long double macros and unions. Simplify tests
11437 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11438 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11439 two1022, instead use their values. Recognise that tests for large
11440 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11441 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11442 Rewrite all uses of ieee875 long double macros and unions. Simplify
11443 test for 0.0L and nan. Correct negation.
11444 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11445 ieee875 long double macros and unions. Correct output for large
11446 magnitude x. Correct absolute value calculation.
11447 (__erfcl): Likewise.
11448 * math/libm-test.inc: Add tests for errors discovered in IBM long
11449 double versions of fmodl, remainderl, erfl and erfcl.
11450
11451 2013-10-04 Alan Modra <amodra@gmail.com>
11452
11453 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11454 all uses of ieee854 long double macros and unions. Simplify tests
11455 for long doubles that are fully specified by the high double.
11456 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11457 Likewise.
11458 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11459 Remove dead code too.
11460 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11461 (__ieee754_ynl): Likewise.
11462 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11463 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11464 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11465 Remove dead code too.
11466 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11467 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11468 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11469 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11470 Simplify.
11471 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11472 Simplify.
11473 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11474 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11475 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11476 Comment on variable precision.
11477 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11478 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11479 Likewise.
11480 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11481 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11482 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11483 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11484 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11485
11486 2013-10-04 Alan Modra <amodra@gmail.com>
11487
11488 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11489 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11490 all uses of ieee854 long double macros and unions.
11491 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11492 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11493 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11494 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11495 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11496 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11497 Likewise.
11498 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11499 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11500 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11501 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11502 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11503 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11504 Simplify sign and nan test too.
11505 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11507 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11508 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11509 Likewise.
11510 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11511 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11512 Likewise.
11513 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11515 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11516 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11517 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11519
11520 2013-10-04 Alan Modra <amodra@gmail.com>
11521
11522 * stdio-common/printf_size.c (__printf_size): Don't use
11523 union ieee854_long_double in fpnum union.
11524 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11525 signbit macro to retrieve sign from long double.
11526 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11527 retrieve sign from long double.
11528 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11529 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11530 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11531 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11532 * math/test-misc.c (main): Don't use union ieee854_long_double.
11533
11534 2013-10-04 Alan Modra <amodra@gmail.com>
11535
11536 [BZ #15680]
11537 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11538 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11539 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11540 calculation. Remove unnecessary test for denormal exponent.
11541 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11542 Correct handling of denormals. Avoid undefined shift behaviour.
11543 Correct normalisation of low mantissa when low double is denormal.
11544 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11545 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11546 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11547 Correct normalisation of low mantissa. Test for overflow of high
11548 mantissa and normalise.
11549 (ldbl_nearbyint): Use more readable constant for two52.
11550 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11551 (__mpn_construct_long_double): Fix test for overflow of high
11552 mantissa and correct normalisation. Avoid undefined shift.
11553
11554 2013-10-04 Alan Modra <amodra@gmail.com>
11555
11556 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11557 (union ibm_extended_long_double): Define as an array of ieee754_double.
11558 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11559 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11560 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11561 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11565 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11569
11570 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11571
11572 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11573 page size instead of calling getpagesize.
11574
11575 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11576 (LOCFILE_ALIGN_MASK): Likewise.
11577 (LOCFILE_ALIGN_UP): Likewise.
11578 (LOCFILE_ALIGNED_P): Likewise.
11579 * locale/programs/ld-collate.c (collate_output): Use the new
11580 macros instead of __alignof__ (int32_t).
11581 * locale/weight.h (findidx): Likewise.
11582
11583 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11584
11585 [BZ #431]
11586 * manual/string.texi: Fix strncat and wcsncat.
11587
11588 2013-10-03 Brooks Moses <bmoses@google.com>
11589
11590 [BZ #15915]
11591 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11592 * Makerules: ...here, and adjust associated comments.
11593
11594 2013-10-02 Will Newton <will.newton@linaro.org>
11595
11596 * malloc/Makefile: Add tst-pvalloc.
11597 * malloc/tst-pvalloc.c: New file.
11598
11599 2013-10-02 Will Newton <will.newton@linaro.org>
11600
11601 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11602 improve test coverage.
11603
11604 2013-10-02 Will Newton <will.newton@linaro.org>
11605
11606 * malloc/Makefile: Add tst-posix_memalign.
11607 * malloc/tst-posix_memalign.c: New file.
11608
11609 2013-10-01 Eric Blake <eblake@redhat.com>
11610
11611 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11612 Use __THROWNL rather than __THROW on static functions.
11613
11614 2013-09-30 Petr Machata <pmachata@redhat.com>
11615
11616 * elf/elf.h (R_AARCH64_ABS16): New macro.
11617 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11618 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11619 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11620 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11621 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11622 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11623 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11624 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11625 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11626 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11627 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11628 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11629 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11630 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11631 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11632 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11633 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11634 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11635 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11636 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11637 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11638 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11639 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11640 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11641 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11642 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11643 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11644 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11645 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11646 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11647 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11648 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11649 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11650 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11651 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11652 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11653 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11654 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11655 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11656 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11657 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11658 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11659 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11660 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11661 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11662 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11663 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11664 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11665 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11666 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11667 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11668 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11669 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11670 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11671 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11672 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11673 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11674 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11675 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11676 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11677 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11678 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11679 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11680 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11681 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11682 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11683 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11684 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11685 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11686 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11687 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11688 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11689 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11690 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11691 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11692 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11693 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11694 (R_AARCH64_TLSDESC_LDR): Likewise.
11695 (R_AARCH64_TLSDESC_ADD): Likewise.
11696 (R_AARCH64_TLSDESC_CALL): Likewise.
11697
11698 2013-09-30 Andreas Schwab <schwab@suse.de>
11699
11700 [BZ #15048]
11701 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11702 the nss database lookup.
11703 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11705
11706 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11707
11708 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11709
11710 2013-09-28 P. J. McDermott <pj@pehjota.net>
11711
11712 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11713 ${Bash-specific parameter/pattern/string} parameter expansion.
11714 * sysdeps/unix/make-syscalls.sh: Likewise.
11715
11716 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11717
11718 * sysdeps/sh/stackguard-macros.h: New file.
11719
11720 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11721
11722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11723 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11724 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11725 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11726 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11727 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11728
11729 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11730
11731 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11732 Fix thread ID register.
11733
11734 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11735
11736 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11737 [POSIX || UNIX98]: Require rather than permitting all symbols from
11738 <time.h>.
11739 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11740 element of struct sched_param.
11741 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11742 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11743 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11744 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11745 constant.
11746
11747 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11748
11749 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11750 argument calculation.
11751
11752 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11753
11754 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11755 Expect macro.
11756 [POSIX] (pthread_attr_t): Do not require type.
11757 [POSIX] (pthread_cond_t): Likewise.
11758 [POSIX] (pthread_condattr_t): Likewise.
11759 [POSIX] (pthread_key_t): Likewise.
11760 [POSIX] (pthread_mutex_t): Likewise.
11761 [POSIX] (pthread_mutexattr_t): Likewise.
11762 [POSIX] (pthread_once_t): Likewise.
11763 [POSIX] (pthread_t): Likewise.
11764 [POSIX-based standards] (pthread_atfork): Expect function.
11765
11766 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11767 Richard Sandiford <richard@codesourcery.com>
11768
11769 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11770 (swap_endianness_p): New extern variable.
11771 (set_big_endian): New inline function.
11772 (maybe_swap_uint32): Likewise.
11773 (maybe_swap_uint32_array): Likewise.
11774 (maybe_swap_uint32_obstack): Likewise.
11775 * locale/programs/locfile.c: Include <stdbool.h>.
11776 (swap_endianness_p): New variable.
11777 (add_locale_uint32): Call maybe_swap_uint32.
11778 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11779 (write_locale_data): Call maybe_swap_uint32_array.
11780 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11781 maybe_swap_uint32.
11782 (obstack_int32_grow_fast): Likewise.
11783 (output_weightwc): Call maybe_swap_uint32_obstack.
11784 (collate_output): Likewise.
11785 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11786 (OPT_LITTLE_ENDIAN): Likewise.
11787 (options): Add --little-endian and --big-endian options.
11788 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11789 * locale/programs/locarchive.c: Include "locfile.h".
11790 (GET): New macro.
11791 (SET): Likewise.
11792 (INC): Likewise.
11793 (create_archive): Use the new macros to access fields of
11794 structures directly mapped from or written to locale archives.
11795 (oldlocrecentcmp): Likewise.
11796 (enlarge_archive): Likewise.
11797 (insert_name): Likewise.
11798 (add_alias): Likewise.
11799 (add_locale): Likewise.
11800 (delete_locales_from_archive): Likewise.
11801 (show_archive_content): Likewise.
11802 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11803 locale data.
11804
11805 2013-09-24 Roland McGrath <roland@hack.frob.com>
11806
11807 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11808 http://www.gnu.org/doc/freemanuals.texi.
11809 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11810
11811 2013-09-24 Will Newton <will.newton@linaro.org>
11812
11813 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11814 macro.
11815
11816 2013-09-23 Joseph Myers <joseph@codesourcery.com>
11817
11818 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11819 unsigned char.
11820
11821 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11822
11823 * manual/threads.texi (POSIX Threads): Fix a typo.
11824
11825 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11826
11827 [BZ #14547]
11828 * string/tst-strcoll-overflow.c: New test case.
11829 * string/Makefile (xtests): Add tst-strcoll-overflow.
11830 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11831 cache if string sizes may cause integer overflow.
11832
11833 [BZ #14547]
11834 * string/strcoll_l.c (coll_seq): New members rule, idx,
11835 save_idx and back_us.
11836 (get_next_seq_nocache): New function.
11837 (do_compare_nocache): New function.
11838 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11839 when malloc fails.
11840
11841 2013-09-23 Carlos O'Donell <carlos@redhat.com>
11842
11843 [BZ #15754]
11844 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11845 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11846 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11847
11848 [BZ #15754]
11849 * elf/Makefile (tests): Add tst-ptrguard1.
11850 (tests-static): Add tst-ptrguard1-static.
11851 (tst-ptrguard1-ARGS): Define.
11852 (tst-ptrguard1-static-ARGS): Define.
11853 * elf/tst-ptrguard1.c: New file.
11854 * elf/tst-ptrguard1-static.c: New file.
11855 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11856 * sysdeps/i386/stackguard-macros.h: Likewise.
11857 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11858 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11859 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11860 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11861 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11862 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11863
11864 2013-09-23 Hector Marco <hecmargi@upv.es>
11865 Ismael Ripoll <iripoll@disca.upv.es>
11866 Carlos O'Donell <carlos@redhat.com>
11867
11868 [BZ #15754]
11869 * sysdeps/generic/stackguard-macros.h: Define
11870 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11871 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11872 Define __pointer_chk_guard_local.
11873 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11874 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11875
11876 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11877
11878 [BZ #15859]
11879 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11880
11881 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11882
11883 * include/string.h (__ffs): Declare as hidden.
11884 * string/ffs.c (__ffs): Define as hidden.
11885 * sysdeps/i386/ffs.c (__ffs): Likewise.
11886 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11887 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11888 * sysdeps/s390/ffs.c (__ffs): Likewise.
11889 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11890
11891 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
11892
11893 * NEWS: Mention malloc probes.
11894
11895 * malloc/arena.c (new_heap): New memory_heap_new probe.
11896 (grow_heap): New memory_heap_more probe.
11897 (shrink_heap): New memory_heap_less probe.
11898 (heap_trim): New memory_heap_free probe.
11899 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11900 (systrim): New memory_sbrk_less probe.
11901 * manual/probes.texi: Document them.
11902
11903 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11904 * manual/probes.texi: Document it.
11905
11906 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11907 (__libc_realloc): Add memory_realloc_retry probe.
11908 (__libc_memalign): Add memory_memalign_retry probe.
11909 (__libc_valloc): Add memory_valloc_retry probe.
11910 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11911 (__libc_calloc): Add memory_calloc_retry probe.
11912 * manual/probes.texi: Document them.
11913
11914 * malloc/arena.c (get_free_list): Add probe
11915 memory_arena_reuse_free_list.
11916 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11917 and memory_arena_reuse.
11918 (arena_get2) [!PER_THREAD]: Likewise.
11919 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11920 memory_arena_reuse_realloc.
11921 * manual/probes.texi: Document them.
11922
11923 * malloc/malloc.c (__libc_free): Add
11924 memory_mallopt_free_dyn_thresholds probe.
11925 (__libc_mallopt): Add multiple memory_mallopt probes.
11926 * manual/probes.texi: Document them.
11927
11928 * malloc/malloc.c: Include stap-probe.h.
11929 (__libc_mallopt): Add memory_mallopt probe.
11930 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11931 * manual/probes.texi: New.
11932 * manual/Makefile (chapters): Add probes.
11933 * manual/threads.texi: Set next node.
11934
11935 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
11936
11937 [BZ #15963, #13985]
11938 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11939 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11940 Add `Chinese' to `nan' entry name.
11941
11942 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11943
11944 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11945 (POLYNOMIAL): Likewise.
11946 (TAYLOR_SINCOS): Likewise.
11947 (TAYLOR_SLOW): Likewise.
11948 (__sin): Use TAYLOR_SINCOS.
11949 (__cos): Likewise.
11950 (slow): Use TAYLOR_SLOW.
11951 (sloww): Likewise.
11952 (bsloww): Likewise.
11953 (csloww): Likewise.
11954
11955 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11956
11957 * stdlib/strtod_l.c: Fix buffer overrun.
11958
11959 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11960
11961 * benchtests/Makefile (bench): Add sincos.
11962 * benchtests/bench-sincos.c: New file.
11963
11964 * math/libm-test.inc (cos_test_data): New test inputs.
11965 (sin_test_data): Likewise.
11966
11967 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11968 macro.
11969 (__sin): Use it.
11970 (__cos): Likewise.
11971 (slow1): Likewise.
11972 (slow2): Likewise.
11973 (sloww1): Likewise.
11974 (sloww2): Likewise.
11975 (bsloww1): Likewise.
11976 (bsloww2): Likewise.
11977 (cslow2): Likewise.
11978 (csloww1): Likewise.
11979 (csloww2): Likewise.
11980
11981 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11982 function.
11983 (__sin): Use it.
11984 (__cos): Likewise.
11985
11986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11987 gotos.
11988 (__cos): Likewise.
11989
11990 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11991
11992 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11993 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11994 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11995 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11996 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11997 * elf/cache.c (print_entry): Handle the new cache flags.
11998
11999 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12000 Aldy Hernandez <aldyh@redhat.com>
12001
12002 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12003 Change condition to [_SOFT_FLOAT].
12004 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12005 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12006 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12007 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12008 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12009 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12010 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12011 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12012 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12013 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12014 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12015 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12016 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12017 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12018 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12019 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12020 declaration.
12021
12022 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12023
12024 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12025 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12026 (__longjmp): Use LOAD_GP to load saved GPRs.
12027 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12028 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12029 (__sigsetjmp): Use SAVE_GP to save GPRs.
12030
12031 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12032 Do not append -msoft-float.
12033 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12034
12035 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12036
12037 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12038
12039 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12040
12041 [BZ #15966]
12042 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12043 (_FPU_GETCW): Use initial "__" on variable and field names but not
12044 on macro parameter name.
12045 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12046 parentheses around reference to macro parameter.
12047
12048 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12049
12050 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12051 prototype.
12052 (ctype_startup): Use uint32_t in cast and sizeof for
12053 ctype->charnames.
12054
12055 2013-09-11 Jia Liu <proljc@gmail.com>
12056
12057 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12058 __daddr_t_defined.
12059 [__FreeBSD__]: Likewise.
12060
12061 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12062
12063 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12064 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12065 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12066 (strchr): Remove __strchr_sse42 ifunc selection.
12067 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12068 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12069
12070 2013-09-11 Will Newton <will.newton@linaro.org>
12071
12072 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12073 parameter to RES. Remove hardcoded 1000 value.
12074 * benchtests/bench-skeleton.c (main): Pass RES parameter
12075 to TIMING_INIT and multiply result by 1000.
12076
12077 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12078
12079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12080
12081 2013-09-11 Andreas Schwab <schwab@suse.de>
12082
12083 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12084 if not defined.
12085 (O_TMPFILE) [__USE_GNU]: Define.
12086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12087 Define.
12088
12089 2013-09-11 Will Newton <will.newton@linaro.org>
12090
12091 [BZ #15857]
12092 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12093 does not overflow.
12094
12095 2013-09-11 Will Newton <will.newton@linaro.org>
12096
12097 [BZ #15856]
12098 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12099 does not overflow.
12100
12101 2013-09-11 Will Newton <will.newton@linaro.org>
12102
12103 [BZ #15855]
12104 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12105 does not overflow.
12106
12107 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12108
12109 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12110 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12111 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12112 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12113 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12114
12115 2013-09-10 Allan McRae <allan@archlinux.org>
12116
12117 [BZ #15748]
12118 * manual/arith.texi (Parsing of Floats): Clarify
12119 cross-reference.
12120
12121 [BZ #15849]
12122 * manual/install.texi (Running make install): Mention
12123 --enable-pt-chown.
12124 * INSTALL: Regenerated.
12125
12126 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12127
12128 * csu/init-first.c (_init): Remove the !SHARED condition around
12129 FPU control word initialization.
12130 * elf/dl-support.c (_dl_fpu_control): New variable.
12131 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12132 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12133 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12134 * math/test-fpucw-static.c: New file.
12135 * math/test-fpucw-ieee.c: New file.
12136 * math/test-fpucw-ieee-static.c: New file.
12137 * math/Makefile (tests): Add `test-fpucw-ieee' and
12138 `$(tests-static)'.
12139 (tests-static): New variable.
12140 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12141 dependency to...
12142 [($(build-shared),yes)]
12143 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12144 ... this.
12145 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12146 New dependency.
12147
12148 2013-09-09 Allan McRae <allan@archlinux.org>
12149
12150 [BZ #15939]
12151 * manual/string.texi (Collation Functions): Fix typo in
12152 strcoll example.
12153 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12154
12155 [BZ #15893]
12156 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12157
12158 [BZ #15892]
12159 * libio/memstream.c (open_memstream): Fix memory leak.
12160 * libio/wmemstream.c (open_wmemstream): Likewise.
12161
12162 [BZ #15895]
12163 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12164
12165 2013-09-09 Will Newton <will.newton@linaro.org>
12166
12167 * malloc/Makefile: Add tst-realloc to tests.
12168 * malloc/tst-realloc.c: New file.
12169
12170 2013-09-09 Allan McRae <allan@archlinux.org>
12171
12172 [BZ #15844]
12173 * COPYING: Update from GNU website to fix FSF address.
12174 * COPYING.LIB: Likewise.
12175
12176 2013-09-06 David S. Miller <davem@davemloft.net>
12177
12178 * po/zh_TW.po: Update Chinese (traditional) translation from
12179 translation project.
12180
12181 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12182 Joseph Myers <joseph@codesourcery.com>
12183
12184 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12185 "localeinfo.h".
12186 (obstack_chunk_alloc): New macro.
12187 (obstack_chunk_free): Likewise.
12188 (record_offset): New function.
12189 (init_locale_data): Likewise.
12190 (align_locale_data): Likewise.
12191 (add_locale_empty): Likewise.
12192 (add_locale_raw_data): Likewise.
12193 (add_locale_raw_obstack): Likewise.
12194 (add_locale_string): Likewise.
12195 (add_locale_wstring): Likewise.
12196 (add_locale_uint32): Likewise.
12197 (add_locale_uint32_array): Likewise.
12198 (add_locale_char): Likewise.
12199 (start_locale_structure): Likewise.
12200 (end_locale_structure): Likewise.
12201 (start_locale_prelude): Likewise.
12202 (end_locale_prelude): Likewise.
12203 (write_locale_data): Take locale_file structure rather than an
12204 iovec.
12205 * locale/programs/locfile.h: Include "obstack.h".
12206 (struct locale_file): Change to store locale file contents instead
12207 of header.
12208 (init_locale_data): New prototype.
12209 (align_locale_data): Likewise.
12210 (add_locale_empty): Likewise.
12211 (add_locale_raw_data): Likewise.
12212 (add_locale_raw_obstack): Likewise.
12213 (add_locale_string): Likewise.
12214 (add_locale_wstring): Likewise.
12215 (add_locale_uint32): Likewise.
12216 (add_locale_uint32_array): Likewise.
12217 (add_locale_char): Likewise.
12218 (start_locale_structure): Likewise.
12219 (end_locale_structure): Likewise.
12220 (start_locale_prelude): Likewise.
12221 (end_locale_prelude): Likewise.
12222 (write_locale_data): Update prototype.
12223 * locale/programs/3level.h (struct TABLE): Remove result field.
12224 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12225 Use new locale_file interface.
12226 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12227 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12228 * locale/programs/ld-address.c (address_output): Use new
12229 locale_file interface.
12230 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12231 NO_ADD_LOCALE.
12232 (collate_finish): Don't call collseq_table_finalize.
12233 (collate_output): Use new locale_file interface.
12234 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12235 in file.
12236 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12237 (TABLE): Move defines earlier in file.
12238 (ELEMENT): Likewise.
12239 (DEFAULT): Likewise.
12240 (wctrans_table_add): Move macro and inline function earlier in
12241 file.
12242 (struct wctype_table): Move type earlier in file.
12243 (add_locale_wctype_table): New static prototype.
12244 (struct locale_ctype_t): Use logical types instead of struct iovec
12245 pointers for members.
12246 (ctype_output): Use new locale_file interface.
12247 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12248 new locale_file interface.
12249 (allocate_arrays): Update for use of new locale_file interface.
12250 * locale/programs/ld-identification.c (identification_output): Use
12251 new locale_file interface.
12252 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12253 * locale/programs/ld-messages.c (messages_output): Likewise.
12254 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12255 * locale/programs/ld-name.c (name_output): Likewise.
12256 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12257 * locale/programs/ld-paper.c (paper_output): Likewise.
12258 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12259 * locale/programs/ld-time.c (time_output): Likewise.
12260
12261 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12262
12263 * benchtests/Makefile: Add memrchr benchmark.
12264 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12265 benchmark as memrchr.
12266 * benchtests/bench-memrchr-ifunc.c: New file.
12267 * benchtests/bench-memrchr.c: New file.
12268
12269 2013-09-06 Will Newton <will.newton@linaro.org>
12270
12271 * benchtests/Makefile (string-bench): Add memcpy.
12272
12273 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12274 Cong Wang <amwang@redhat.com>
12275
12276 [BZ #15850]
12277 * sysdeps/unix/sysv/linux/bits/in.h
12278 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12279 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12280 before __USE_KERNEL_IPV6_DEFS uses.
12281 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12282 IPPROTO_BEETPH.
12283 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12284 sockaddr_in6, or ipv6_mreq.
12285
12286 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12287
12288 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12289 memory access for final bytes in some large inputs.
12290 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12291
12292 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12293
12294 * string/test-memrchr.c: New file.
12295 * string/test-memrchr-ifunc.c: New file.
12296 * string/Makefile: Add new memrchr testcase.
12297
12298 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12299
12300 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12301 fanotify_init returns EPERM.
12302
12303 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12304
12305 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12306 errors.
12307 (top level): Treat second token from macro or constant entries for
12308 allowed headers as allowed.
12309 * include/complex.h: Condition internal declarations on
12310 [!_ISOMAC].
12311 * include/fenv.h: Condition include of <stdbool.h> and internal
12312 declarations on [!_ISOMAC].
12313
12314 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12315
12316 [BZ #15923]
12317 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12318
12319 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12320
12321 * configure.in (--enable-versioning): Remove configure option.
12322 (libc_cv_asm_symver_directive): Remove configure test.
12323 (libc_cv_ld_version_script_option): Likewise.
12324 (VERSIONING): Remove variable and AC_SUBST.
12325 (DO_VERSIONING): Remove AC_DEFINE.
12326 * configure: Regenerated.
12327 * config.h.in (DO_VERSIONING): Remove macro.
12328 * Makerules [$(versioning) = yes]: Change conditionals to
12329 [$(build-shared) = yes].
12330 * config.make.in (versioning): Remove variable.
12331 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12332 [$(build-shared) = yes].
12333 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12334 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12335 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12336 [$(build-shared) = yes].
12337 * extra-lib.mk [$(versioning) = yes]: Likewise.
12338 * hurd/Makefile [$(versioning) = yes]: Likewise.
12339 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12340 [SHARED].
12341 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12342 [SHARED].
12343 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12344 [SHARED && !NO_HIDDEN].
12345 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12346 [SHARED].
12347 [SHARED && DO_VERSIONING]: Likewise..
12348 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12349 [$(build-shared) = yes].
12350 * manual/install.texi (--disable-versioning): Remove
12351 documentation.
12352 * INSTALL: Regenerated.
12353 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12354 to [SHARED].
12355 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12356 [$(build-shared) = yes].
12357 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12358 * sysdeps/i386/i686/multiarch/strstr-c.c
12359 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12360 [SHARED && !NO_HIDDEN].
12361 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12362 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12363 * sysdeps/powerpc/powerpc32/dl-machine.c
12364 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12365 * sysdeps/powerpc/powerpc32/sysdep.h
12366 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12367 to [SHARED && PIC && !NO_HIDDEN].
12368 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12369 conditional to [SHARED].
12370
12371 2013-09-04 Will Newton <will.newton@linaro.org>
12372
12373 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12374 * benchtests/bench-string.h: Include bench-timing.h instead
12375 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12376 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12377 call to HP_TIMING_DIFF_INIT.
12378 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12379 instead of hp-timing.h macros.
12380 * benchtests/bench-memchr.c: Likewise.
12381 * benchtests/bench-memcmp.c: Likewise.
12382 * benchtests/bench-memcpy.c: Likewise.
12383 * benchtests/bench-memmem.c: Likewise.
12384 * benchtests/bench-memmove.c: Likewise.
12385 * benchtests/bench-memset.c: Likewise.
12386 * benchtests/bench-rawmemchr.c: Likewise.
12387 * benchtests/bench-strcasecmp.c: Likewise.
12388 * benchtests/bench-strcasestr.c: Likewise.
12389 * benchtests/bench-strcat.c: Likewise.
12390 * benchtests/bench-strchr.c: Likewise.
12391 * benchtests/bench-strcmp.c: Likewise.
12392 * benchtests/bench-strcpy.c: Likewise.
12393 * benchtests/bench-strcpy_chk.c: Likewise.
12394 * benchtests/bench-strlen.c: Likewise.
12395 * benchtests/bench-strncasecmp.c: Likewise.
12396 * benchtests/bench-strncat.c: Likewise.
12397 * benchtests/bench-strncmp.c: Likewise.
12398 * benchtests/bench-strncpy.c: Likewise.
12399 * benchtests/bench-strnlen.c: Likewise.
12400 * benchtests/bench-strpbrk.c: Likewise.
12401 * benchtests/bench-strrchr.c: Likewise.
12402 * benchtests/bench-strspn.c: Likewise.
12403 * benchtests/bench-strstr.c: Likewise.
12404
12405 2013-09-04 Will Newton <will.newton@linaro.org>
12406
12407 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12408
12409 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12410
12411 [BZ #15427]
12412 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12413 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12414 * math/libm-test.inc (lgamma_test_data): Add more tests.
12415 * sysdeps/i386/fpu/libm-test-ulps: Update.
12416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12417
12418 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12419
12420 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12422 Add ifunc.
12423 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12424 Add strcmp-sse2-unaligned
12425 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12426
12427 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12428
12429 * Versions.def (libc): Add GLIBC_2.19.
12430
12431 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12432
12433 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12434 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12435
12436 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12437
12438 [BZ #14155]
12439 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12440 intermediate calculations in recurrence.
12441 (__ieee754_ynf): Likewise.
12442 * math/libm-test.inc (jn_test_data): Do not allow spurious
12443 underflow exception. Add more tests.
12444 (yn_test_data): Add more tests.
12445 * sysdeps/i386/fpu/libm-test-ulps: Update.
12446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12447
12448 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12449
12450 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12451
12452 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12453
12454 * csu/init-first.c: Fix then/than typos.
12455 * locale/programs/ld-collate.c: Likewise.
12456 * locale/programs/linereader.h: Likewise.
12457 * manual/charset.texi: Likewise.
12458 * manual/filesys.texi: Likewise.
12459 * manual/stdio.texi: Likewise.
12460 * manual/string.texi: Likewise.
12461 * stdlib/fmtmsg.c: Likewise.
12462 * sysdeps/i386/stpncpy.S: Likewise.
12463 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12464 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12465 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12466 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12467
12468 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12469
12470 * elf/dl-open.c: Fix typos.
12471 * iconvdata/gbbig5.c: Likewise.
12472 * iconvdata/iso-2022-jp.c: Likewise.
12473 * iconv/gconv_int.h: Likewise.
12474 * iconv/loop.c: Likewise.
12475 * nis/rpcsvc/nis.h: Likewise.
12476 * resolv/ns_name.c: Likewise.
12477 * stdio-common/vfscanf.c: Likewise.
12478 * streams/stropts.h: Likewise.
12479 * sunrpc/rpc_thread.c: Likewise.
12480 * sysdeps/i386/strpbrk.S: Likewise.
12481 * sysdeps/ieee754/k_standard.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12484 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12485 * sysdeps/mach/hurd/profil.c: Likewise.
12486 * sysdeps/s390/dl-procinfo.h: Likewise.
12487 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12488 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12489 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12490 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12491 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12492
12493 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12494
12495 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12496 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12497
12498 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12499
12500 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12501 aix specific files.
12502 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12503 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12504 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12505 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12506 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12507 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12508 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12509 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12510
12511 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12512 Roland McGrath <roland@hack.frob.com>
12513
12514 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12515 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12516
12517 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12518
12519 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12520 __executable_start symbol instead of _start.
12521
12522 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12523
12524 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12525 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12526 Move macros to...
12527 * sysdeps/gnu/ldsodefs.h: ... this new file.
12528
12529 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12530 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12531 instead of ELFOSABI_LINUX.
12532
12533 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12534 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12535 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12536 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12537 Likewise.
12538 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12539 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12540 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12541 Likewise.
12542 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12543 (ibm_extended_long_double): Add ieee_nan member.
12544 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12545 (do_test): New function.
12546
12547 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12548 TEST_TRUNC.
12549 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12550 functions, renamed from truncdfsf_test, trunctfsf_test,
12551 trunctfdf_test.
12552 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12553 functions.
12554 (do_test): Run all these.
12555
12556 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12557
12558 * argp/argp-help.c: Fix typos.
12559 * argp/argp-parse.c: Likewise.
12560 * debug/backtracesyms.c: Likewise.
12561 * elf/elf.h: Likewise.
12562 * malloc/malloc.c: Likewise.
12563 * nis/nis_print.c: Likewise.
12564 * resolv/res_comp.c: Likewise.
12565 * stdlib/stdlib.h: Likewise.
12566 * sunrpc/clnt_tcp.c: Likewise.
12567 * sunrpc/clnt_udp.c: Likewise.
12568 * sunrpc/clnt_unix.c: Likewise.
12569 * sysdeps/unix/bsd/ptsname.c: Likewise.
12570 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12571 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12573 Likewise.
12574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12575 Likewise.
12576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12577 Likewise.
12578 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12579
12580 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12581
12582 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12584
12585 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12586
12587 [BZ #15897]
12588 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12589 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12590 ($(objpfx)bug-dl-leaf): New rule.
12591 ($(objpfx)bug-dl-leaf.so): Likewise.
12592 ($(objpfx)bug-dl-leaf.out): Likewise.
12593 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12594 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12595 * dlfcn/bug-dl-leaf.c: New test.
12596 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12597 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12598 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12599 (dlclose): Likewise.
12600 (dlmopen): Likewise.
12601
12602 2013-08-27 Roland McGrath <roland@hack.frob.com>
12603
12604 * include/netdb.h [!_ISOMAC]:
12605 Don't include <tls.h>.
12606 (h_errno, __libc_h_errno): Move declaration and macros out of
12607 [_LIBC_REENTRANT].
12608
12609 * include/resolv.h [_RESOLV_H_]:
12610 Don't include <tls.h>.
12611 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12612 * resolv/res_libc.c: Don't include <tls.h>.
12613 (_res): Use __attribute__ ((nocommon)) in place of
12614 __attribute__ ((section (".bss"))).
12615
12616 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12617 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12618
12619 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12620
12621 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12622 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12623
12624 * resolv/res_mkquery.c: Include <sys/time.h>.
12625
12626 * inet/ifreq.c: Moved to ...
12627 * sysdeps/unix/ifreq.c: ... here.
12628 * inet/ifreq.c: New file, true stub version.
12629
12630 * socket/sa_len.c: New file.
12631 * socket/Makefile (aux): Add it.
12632 * sysdeps/unix/sysv/linux/Makefile
12633 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12634 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12635 and #include <socket/sa_len.c>.
12636 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12637 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12638
12639 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12640 * bits/socket.h: ... here.
12641
12642 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12643 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12644 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12645
12646 2013-08-27 Andreas Schwab <schwab@suse.de>
12647
12648 [BZ #15736]
12649 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12650 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12651 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12652 * string/test-strcasecmp.c (test_main): Run tests in several
12653 locales.
12654 * string/test-strncasecmp.c (test_main): Likewise.
12655
12656 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12657 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12658 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12660 (__strncasecmp_ssse3) [PIC]: Likewise.
12661
12662 2013-08-26 Roland McGrath <roland@hack.frob.com>
12663
12664 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12665
12666 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12667 instead of explicitly declaring xdecrypt.
12668 * nis/nss_nis/nis-publickey.c: Likewise.
12669
12670 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12671
12672 [BZ #15890]
12673 * nscd/aicache.c: Include res_hconf.h.
12674 (addhstaiX): Initialize res_hconf.
12675
12676 2013-08-26 Andreas Schwab <schwab@suse.de>
12677
12678 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12679 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12680
12681 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12682
12683 * nscd/aicache.c (addhstaiX): Fix indentation.
12684
12685 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12686
12687 * configure.ac: Quote $build_pt_chown test.
12688 * configure: Regenerated.
12689
12690 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12691
12692 [BZ #15532]
12693 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12694 * math/s_cexpf.c (__cexpf): Likewise.
12695 * math/s_cexpl.c (__cexpl): Likewise.
12696 * math/libm-test.inc (cexp_test_data): Correct expected return
12697 value for NaN + i0. Add another test.
12698
12699 2013-08-22 David S. Miller <davem@davemloft.net>
12700
12701 * po/ca.po: Update Catalan translation from translation project.
12702 * po/uk.po: Add Ukrainian translations from translation project.
12703
12704 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12705
12706 [BZ #15797]
12707 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12708 is infinite, not alongside NaN test.
12709 * math/s_fdimf.c (__fdimf): Likewise.
12710 * math/s_fdiml.c (__fdiml): Likewise.
12711 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12712 errno is unchanged.
12713
12714 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12715
12716 * argp/argp-help.c: Fix typos.
12717 * crypt/speeds.c: Likewise.
12718 * csu/check_fds.c: Likewise.
12719 * elf/dl-load.c: Likewise.
12720 * elf/dl-open.c: Likewise.
12721 * elf/reldep3.c: Likewise.
12722 * elf/reldep.c: Likewise.
12723 * elf/sprof.c: Likewise.
12724 * iconv/iconv_charmap.c: Likewise.
12725 * iconv/skeleton.c: Likewise.
12726 * iconv/strtab.c: Likewise.
12727 * io/lockf64.c: Likewise.
12728 * libio/libioP.h: Likewise.
12729 * resolv/gai_notify.c: Likewise.
12730 * resolv/ns_name.c: Likewise.
12731 * resolv/ns_samedomain.c: Likewise.
12732 * resolv/res_send.c: Likewise.
12733 * stdlib/random.c: Likewise.
12734 * sunrpc/rpc/xdr.h: Likewise.
12735 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12736 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12737 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12738 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12739 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12740 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12741 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12742 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12743 * sysdeps/mach/hurd/check_fds.c: Likewise.
12744 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12745 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12746 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12747 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12748 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12749 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12750 * sysdeps/pthread/aio_notify.c: Likewise.
12751 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12752 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12753 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12754 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12755 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12756
12757 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12758
12759 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12760 version if bit_Slow_SSE4_2 is set.
12761 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12762 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12763
12764 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12765
12766 [BZ #15867]
12767 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12768 trampoline stack frame information.
12769 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12770 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12771 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12772 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12773 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12774 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12775 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12776 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12777 sa_flags value.
12778 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12779 interrupting a syscall and set with option SA_SIGINFO.
12780
12781 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12782
12783 [BZ #15531]
12784 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12785 argument is infinite.
12786 * math/s_cprojf.c (__cprojf): Likewise.
12787 * math/s_cprojl.c (__cprojl): Likewise.
12788 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12789 * math/libm-test.inc (cproj_test_data): Add more tests.
12790
12791 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12792
12793 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12794 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12795 size. Use __ffs to determine corresponding shift.
12796
12797 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12798 Roland McGrath <roland@hack.frob.com>
12799
12800 * Makefile (INSTALL): Remove trailing blank lines from output of
12801 makeinfo.
12802
12803 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12804
12805 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12806 Align 32 bit compat elf_greg to 8 bytes.
12807
12808 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12809
12810 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12811
12812 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12813
12814 * string/strcoll_l.c (coll_seq): New structure.
12815 (get_next_seq_cached): New function.
12816 (get_next_seq): New function.
12817 (do_compare): New function.
12818 (STRCOLL): Use GNU style definition. Simplify implementation
12819 by using get_next_seq, get_next_seq_cached and do_compare.
12820
12821 2013-08-16 Florian Weimer <fweimer@redhat.com>
12822
12823 [BZ #14699]
12824 CVE-2013-4237
12825 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12826 member.
12827 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12828 member.
12829 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12830 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12831 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12832 conditional.
12833 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12834 GETDENTS_64BIT_ALIGNED.
12835 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12836 * manual/filesys.texi (Reading/Closing Directory): Document
12837 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12838 strongly.
12839 * manual/conf.texi (Limits for Files): Add portability note to
12840 NAME_MAX, PATH_MAX.
12841 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12842
12843 2013-08-13 Andreas Schwab <schwab@suse.de>
12844
12845 [BZ #15749]
12846 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12847 of fabs.
12848 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12849 LDBL_MAX_EXP >= 16384]: Add tests for it.
12850
12851 2013-08-12 David S. Miller <davem@davemloft.net>
12852
12853 * version.h (RELEASE): Set to "development".
12854 (VERSION): Set to "2.18.90".
12855 * NEWS: Add 2.19 section.
12856
12857 2013-08-03 David S. Miller <davem@davemloft.net>
12858
12859 * po/ko.po: Update Korean translation from translation project.
12860
12861 2013-08-01 David S. Miller <davem@davemloft.net>
12862
12863 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12864 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12865 Bilka.
12866
12867 2013-07-30 David S. Miller <davem@davemloft.net>
12868
12869 * po/fr.po: Update French translation from translation project.
12870
12871 2013-07-28 David S. Miller <davem@davemloft.net>
12872
12873 * po/cs.po: Update Czech translation from translation project.
12874
12875 * po/sv.po: Update Swedish translation from translation project.
12876
12877 2013-07-27 David S. Miller <davem@davemloft.net>
12878
12879 * po/eo.po: Update Esperanto translation from translation project.
12880
12881 * po/vi.po: Update Vietnamese translation from translation project.
12882
12883 * po/de.po: Update German translation from translation project.
12884
12885 2013-07-26 David S. Miller <davem@davemloft.net>
12886
12887 * po/bg.po: Update Bulgarian translation from translation project.
12888
12889 * po/nl.po: Update Dutch translation from translation project.
12890 * po/pl.po: Update Polish translation from translation project.
12891 * po/ru.po: Update Russian translation from translation project.
12892
12893 2013-07-24 David S. Miller <davem@davemloft.net>
12894
12895 * po/libc.pot: Update.
12896
12897 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12898
12899 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12900 variable page size.
12901 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12902 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12903 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12904
12905 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12906
12907 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12908
12909 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12910 Andreas Schwab <schwab@suse.de>
12911 Roland McGrath <roland@hack.frob.com>
12912 Joseph Myers <joseph@codesourcery.com>
12913 Carlos O'Donell <carlos@redhat.com>
12914
12915 [BZ #15755]
12916 * config.h.in: Define HAVE_PT_CHOWN.
12917 * config.make.in (build-pt-chown): New variable.
12918 * configure.in (--enable-pt_chown): New configure option.
12919 * configure: Regenerate.
12920 * login/Makefile: Include Makeconfig. Build pt_chown only if
12921 build-pt-chown is enabled.
12922 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12923 pt_chown to fix pty ownership.
12924 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12925 CLOSE_ALL_FDS.
12926 * manual/install.texi (Configuring and compiling): Mention
12927 --enable-pt_chown. Add @findex for grantpt.
12928 * INSTALL: Regenerate.
12929
12930 2013-07-20 David S. Miller <davem@davemloft.net>
12931
12932 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12933 difference between 32-bit and 64-bit.
12934
12935 2013-07-15 Carlos O'Donell <carlos@redhat.com>
12936
12937 [BZ #15711]
12938 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12939 Avoid system header dependency with -ffreestanding.
12940 ($(objpfx)bits/syscall%d): Likewise.
12941
12942 2013-07-13 David S. Miller <davem@davemloft.net>
12943
12944 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12945 underflows from atanl/atan2l due to bug 15319.
12946 (casinh_test_data): Likewise.
12947
12948 2013-07-07 David S. Miller <davem@davemloft.net>
12949
12950 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12951
12952 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12953
12954 * sysdeps/i386/fpu/libm-test-ulps: Update.
12955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12956
12957 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12958
12959 * configure.in (--enable-lock-elision): Fix message text.
12960 * INSTALL: Regenerate.
12961 * configure: Regenerate.
12962
12963 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12964
12965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12966
12967 2013-07-03 Andreas Jaeger <aj@suse.de>
12968
12969 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12970 define.
12971 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12972 (ptrace_peeksiginfo_args): Add.
12973 (__ptrace_peeksiginfo_flags): Add.
12974 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12975 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12976 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12977
12978 2013-07-03 Allan McRae <allan@archlinux.org>
12979
12980 * sysdeps/i386/fpu/libm-test-ulps: Update.
12981
12982 2013-07-02 David S. Miller <davem@davemloft.net>
12983
12984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12985
12986 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12987
12988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12989
12990 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12991
12992 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12994
12995 2013-07-02 Andi Kleen <ak@linux.intel.com>
12996
12997 * config.h.in (ENABLE_LOCK_ELISION): Add.
12998 * configure.in (--enable-lock-elision): Add option.
12999 * manual/install.texi: Document --enable lock elision.
13000 * configure: Regenerate
13001 * INSTALL: Regenerate.
13002
13003 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13004
13005 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13006 SSE4.2 strcasecmp for libc.a.
13007 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13008
13009 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13010
13011 [BZ #13304]
13012 * soft-fp/op-common.h (_FP_FMA): New macro.
13013 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13014 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13015 (_FP_MUL_MEAT_1_imm): ... here.
13016 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13017 (_FP_MUL_MEAT_1_wide): ... here.
13018 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13019 (_FP_MUL_MEAT_1_hard): ... here.
13020 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13021 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13022 (_FP_MUL_MEAT_2_wide): ... here.
13023 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13024 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13025 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13026 (_FP_MUL_MEAT_2_gmp): ... here.
13027 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13028 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13029 (_FP_MUL_MEAT_4_wide): ... here.
13030 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13031 (_FP_MUL_MEAT_4_gmp): ... here.
13032 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13033 (_FP_WFRACBITS_DW_S): Likewise.
13034 (_FP_WFRACXBITS_DW_S): Likewise.
13035 (_FP_HIGHBIT_DW_S): Likewise.
13036 (FP_FMA_S): Likewise.
13037 (_FP_FRAC_HIGH_DW_S): Likewise.
13038 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13039 (_FP_WFRACBITS_DW_D): Likewise.
13040 (_FP_WFRACXBITS_DW_D): Likewise.
13041 (_FP_HIGHBIT_DW_D): Likewise.
13042 (FP_FMA_D): Likewise.
13043 (_FP_FRAC_HIGH_DW_D): Likewise.
13044 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13045 (_FP_WFRACBITS_DW_E): Likewise.
13046 (_FP_WFRACXBITS_DW_E): Likewise.
13047 (_FP_HIGHBIT_DW_E): Likewise.
13048 (FP_FMA_E): Likewise.
13049 (_FP_FRAC_HIGH_DW_E): Likewise.
13050 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13051 (_FP_WFRACBITS_DW_Q): Likewise.
13052 (_FP_WFRACXBITS_DW_Q): Likewise.
13053 (_FP_HIGHBIT_DW_Q): Likewise.
13054 (FP_FMA_Q): Likewise.
13055 (_FP_FRAC_HIGH_DW_Q): Likewise.
13056 * soft-fp/fmasf4.c: New file.
13057 * soft-fp/fmadf4.c: Likewise.
13058 * soft-fp/fmatf4.c: Likewise.
13059
13060 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13061
13062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13063 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13064 Silvermont.
13065 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13066 macro.
13067 (index_Slow_SSE4_2): Likewise.
13068 (index_Prefer_PMINUB_for_stringop): Likewise.
13069 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13070 bit_Slow_SSE4_2 is set.
13071 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13072 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13073
13074 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13075
13076 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13077 rtld_global._dl_hwcap2.
13078 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13079 POWER8.
13080 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13081 POWER8 feature descriptions defined in _dl_hwcap2.
13082 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13083 string handling for POWER8 feature bits.
13084 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13085 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13086 _dl_powerpc_cap_flags.
13087 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13088 * sysdeps/powerpc/rtld-global-offsets.sym
13089 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13090 _dl_hwcap2 in the rtld_global_ro structure.
13091
13092 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13093
13094 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13095 hardware capabilities in support of AT_HWCAP2.
13096 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13097 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13098 GLRO(dl_hwcap2).
13099 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13100 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13101 explicitly the unknown a_type display mechanism is used.
13102 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13103 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13104 struct member.
13105 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13106 to macro prototype for AT_HWCAP2 support.
13107 * sysdeps/i386/dl-procinfo.h: Likewise.
13108 * sysdeps/s390/dl-procinfo.h: Likewise.
13109 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13110 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13111 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13112 return -1 for unknown a_type display fallback.
13113 * sysdeps/sparc/dl-procinfo.h: Likewise.
13114 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13115 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13116
13117 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13118
13119 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13120 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13121
13122 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13123
13124 [BZ #12492]
13125 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13126 mprotect making __stack_prot writable.
13127
13128 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13129 Joseph Myers <joseph@codesourcery.com>
13130
13131 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13132 as being properly aligned.
13133
13134 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13135
13136 * dlfcn/modstatic5.c: New file.
13137 * dlfcn/tststatic5.c: New file.
13138 * dlfcn/Makefile (tests): Add tststatic5.
13139 (tests-static): Likewise.
13140 (modules-names): Add modstatic5.
13141 (tststatic5-ENV): New variable.
13142 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13143
13144 [BZ #15022]
13145 * elf/dl-support.c (_dl_main_map): New variable.
13146 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13147 (_dl_nns, _dl_load_adds): Set to 1.
13148 (_dl_initial_searchlist): Refer to _dl_main_map.
13149 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13150 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13151 call to _dl_get_origin.
13152 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13153 around call_map.
13154 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13155 * dlfcn/modstatic3.c: New file.
13156 * dlfcn/tststatic3.c: New file.
13157 * dlfcn/tststatic4.c: New file.
13158 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13159 (tests-static): Likewise.
13160 (modules-names): Add modstatic3.
13161 (tststatic3-ENV, tststatic4-ENV): New variables.
13162 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13163 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13164
13165 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13166
13167 * configure.in (CC): Require GCC version 4.4 or later.
13168 * configure: Regenerated.
13169 * manual/install.texi (Tools for Compilation): Update GCC version
13170 requirement.
13171 * INSTALL: Regenerated.
13172
13173 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13174
13175 [BZ #15674]
13176 * string/test-memcmp.c (check2): New.
13177 (main): Call check2.
13178
13179 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13180
13181 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13182
13183 [BZ #15022]
13184 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13185 over to...
13186 (dl_open_worker) [!SHARED]: ... here.
13187
13188 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13189
13190 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13191
13192 2013-06-25 Richard Henderson <rth@redhat.com>
13193
13194 * locale/programs/locarchive.c: Include <libc-internal.h>
13195
13196 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13197
13198 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13199 trailing whitespace removed.
13200
13201 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13202
13203 [BZ #10283]
13204 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13205 * locale/programs/locarchive.c: Include libc-mmap.h.
13206 (prepare_address_space): Take two new outputs (the mmap base and len).
13207 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13208 values.
13209 (create_archive): Declare new mmap base and len values for
13210 prepare_address_space, and store the result in ah.
13211 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13212 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13213 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13214 Declare new mmap base and len values for
13215 prepare_address_space, and store the result in new_ah.
13216 (open_archive): Declare new mmap base and len values for
13217 prepare_address_space, and store the result in ah.
13218 (close_archive): If ah->mmap_base is not NULL, use that and
13219 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13220 * sysdeps/generic/libc-mmap.h: New file.
13221
13222 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13223
13224 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13225 (ALIGN_UP): Likewise.
13226 (PTR_ALIGN_DOWN): Likewise.
13227 (PTR_ALIGN_UP): Likewise.
13228
13229 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13230
13231 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13232 entry mapped to PPC_PLATFORM_POWER8.
13233 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13234 POWER8.
13235 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13236 (_dl_string_platform): Add case for exporting platform position for
13237 POWER8.
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13239 search path to sysdeps/powerpc/powerpc32/power8 directory.
13240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13241 search path to sysdeps/powerpc/powerpc64/power8 directory.
13242 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13243 power7 directories.
13244 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13245 power7 directories.
13246
13247 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13248
13249 * INSTALL: Regenerate.
13250
13251 * nscd/connections.c (nscd_init): Fix comment.
13252
13253 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13254
13255 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13256
13257 [BZ #15667]
13258 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13259 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13260
13261 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13262
13263 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13264 DL_DST_REQ_STATIC.
13265 (DL_DST_REQ_STATIC): Remove macro.
13266
13267 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13268
13269 [BZ #7006]
13270 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13271 with a shift of 0 bits.
13272
13273 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13274
13275 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13276 $(tststatic-ENV).
13277
13278 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13279
13280 [BZ #15655]
13281 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13282
13283 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13284
13285 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13286 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13287 accepts -fno-tree-loop-distribute-patterns.
13288 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13289 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13290 recursive call.
13291 * string/memset.c (memset): Likewise.
13292 * string/test-memmove.c (simple_memmove): Disable loop transformation
13293 to library calls.
13294 * string/test-memset.c (simple_memset): Likewise.
13295 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13296 * benchtests/bench-memset.c (simple_memset): Likewise.
13297 * configure: Regenerated.
13298
13299 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13300
13301 * math/test-misc.c (main): Ignore fesetround failure when failures
13302 of subsequent rounding tests would be ignored.
13303
13304 [BZ #15654]
13305 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13306 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13307 * math/fegetenv.c (__fegetenv): Return 0.
13308 * math/fegetexcept.c (fegetexcept): Return 0.
13309 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13310 FE_TONEAREST.
13311 * math/feholdexcpt.c (feholdexcept): Return 0.
13312 * math/fesetenv.c (__fesetenv): Return 0.
13313 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13314 argument FE_TONEAREST.
13315 * math/feupdateenv.c (__feupdateenv): Return 0.
13316 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13317
13318 2013-06-18 Roland McGrath <roland@hack.frob.com>
13319
13320 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13321 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13322 ($(objpfx)rtld-%.os rules): Use them.
13323
13324 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13325
13326 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13327 fields.
13328
13329 2013-06-17 Roland McGrath <roland@hack.frob.com>
13330
13331 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13332 length of target pattern, then descending length of dependency pattern.
13333 * configure.in (AWK): Require gawk 3.1.2 or newer.
13334 * manual/install.texi (Tools for Compilation): Say that we do.
13335 * configure: Regenerated.
13336
13337 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13338 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13339 * scripts/sysd-rules.awk: ... this new script.
13340 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13341 than a glob-style pattern.
13342
13343 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13344
13345 * math/test-misc.c (main): Do not treat incorrectly rounded
13346 conversions as failure unless ROUNDING_TESTS passes.
13347
13348 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13349
13350 [BZ #15631]
13351 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13352 restore exception state around main square root computation, then
13353 check for inexactness explicitly.
13354
13355 * math/libm-test.inc (fma_test_data): Add another test.
13356
13357 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13358
13359 * manual/threads.texi (Non-POSIX Extensions): New document
13360 node. Document pthread_getattr_default_np and
13361 pthread_setattr_default_np.
13362
13363 * Versions.def (libpthread): Add GLIBC_2.18.
13364 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13366 Likewise.
13367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13368 Likewise.
13369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13370 Likewise.
13371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13372 Likewise.
13373 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13374 Likewise.
13375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13376 Likewise.
13377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13378 Likewise.
13379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13380 Likewise.
13381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13382 Likewise.
13383
13384 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13385
13386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13387 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13388
13389 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13390 H.J. Lu <hjl.tools@gmail.com>
13391
13392 [BZ #15627]
13393 * sysdeps/x86_64/rtld-memset.c: Remove file.
13394 * sysdeps/x86_64/rtld-memset.S: New file.
13395
13396 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13397
13398 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13399 (test_in_one_mode): Take arguments for whether the rounding mode
13400 is supported for each floating-point type.
13401 (do_test): Pass new arguments to test_in_one_mode using
13402 ROUNDING_TESTS.
13403
13404 2013-06-13 Roland McGrath <roland@hack.frob.com>
13405
13406 * posix/tst-waitid.c (do_test): Distinguish different instances of
13407 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13408 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13409 before entering the kernel for waitpid.
13410
13411 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13412
13413 * NEWS: Fix note on clock function precision. Text by Roland
13414 McGrath.
13415
13416 2013-06-13 Roland McGrath <roland@hack.frob.com>
13417
13418 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13419 it into place only when and if the sanity check passes.
13420
13421 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13422
13423 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13424 output for whether conversion result is exact. Take argument
13425 indicating whether type is IBM long double.
13426 (round_for_all): Change need_exact field to ibm_ld.
13427 * stdlib/tst-strtod-round.c (struct exactness): New type.
13428 (struct test): Change bool ld_ok field to struct exactness exact.
13429 (TEST): Update all definitions for change to field.
13430 (tests): Regenerate array contents.
13431 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13432 field value. Check for IBM long double here.
13433 (do_test): Update calls to test_in_one_mode.
13434
13435 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13436
13437 [BZ #12515]
13438 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13439 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13440
13441 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13442
13443 [BZ #15605]
13444 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13445 generated by the compiler on loop optimizations.
13446 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13447 general definitions.
13448
13449 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13450
13451 * math/bug-nextafter.c: Include <math-tests.h>.
13452 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13453 the relevant type.
13454 * math/bug-nexttoward.c: Include <math-tests.h>.
13455 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13456 the relevant type.
13457 * math/test-misc.c: Include <math-tests.h>.
13458 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13459 the relevant type.
13460
13461 2013-06-12 Andreas Jaeger <aj@suse.de>
13462
13463 * po/ia.po: Update Interlingua translation from translation
13464 project.
13465
13466 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13467
13468 * include/fenv.h: Include stdbool.h.
13469 (struct rm_ctx): New structure.
13470 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13471 Define macro.
13472 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13473 (SET_RESTORE_ROUNDF): Likewise.
13474 (SET_RESTORE_ROUNDL): Likewise.
13475 (SET_RESTORE_ROUND_NOEX): Likewise.
13476 (SET_RESTORE_ROUND_NOEXF): Likewise.
13477 (SET_RESTORE_ROUND_NOEXL): Likewise.
13478 (SET_RESTORE_ROUND_53BIT): Likewise.
13479 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13480 (libc_feresetround_noexf_ctx): Likewise.
13481 (libc_feresetround_noexl_ctx): Likewise.
13482 (libc_feholdsetround_53bit_ctx): Likewise.
13483 (libc_feresetround_53bit_ctx): Likewise.
13484 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13485 (libc_feholdexcept_setround_sse_ctx): New function.
13486 (libc_fesetenv_sse_ctx): Likewise.
13487 (libc_feupdateenv_sse_ctx): Likewise.
13488 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13489 (libc_feholdexcept_setround_387_ctx): Likewise.
13490 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13491 (libc_feholdsetround_387_prec_ctx): Likewise.
13492 (libc_feholdsetround_387_ctx): Likewise.
13493 (libc_feholdsetround_387_53bit_ctx): Likewise.
13494 (libc_feholdsetround_sse_ctx): Likewise.
13495 (libc_feresetround_sse_ctx): Likewise.
13496 (libc_feresetround_387_ctx): Likewise.
13497 (libc_feupdateenv_387_ctx): Likewise.
13498 (libc_feholdexcept_setroundf_ctx): Define macro.
13499 (libc_fesetenvf_ctx): Likewise.
13500 (libc_feupdateenvf_ctx): Likewise.
13501 (libc_feholdsetroundf_ctx): Likewise.
13502 (libc_feresetroundf_ctx): Likewise.
13503 (libc_feholdexcept_setround_ctx): Likewise.
13504 (libc_fesetenv_ctx): Likewise.
13505 (libc_feupdateenv_ctx): Likewise.
13506 (libc_feholdsetround_ctx): Likewise.
13507 (libc_feresetround_ctx): Likewise.
13508 (libc_feholdexcept_setroundl_ctx): Likewise.
13509 (libc_feupdateenvl_ctx): Likewise.
13510 (libc_feholdsetroundl_ctx): Likewise.
13511 (libc_feresetroundl_ctx): Likewise.
13512 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13513 (libc_feresetround_53bit_ctx): Likewise.
13514
13515 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13516
13517 * locale/iso-639.def: Convert to UTF-8.
13518
13519 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13520
13521 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13522 (EXCEPTION_TESTS_double): Likewise.
13523 (EXCEPTION_TESTS_long_double): Likewise.
13524 (EXCEPTION_TESTS): Likewise.
13525 * math/libm-test.inc (test_exceptions): Only test exceptions if
13526 EXCEPTION_TESTS (FLOAT).
13527
13528 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13529
13530 * benchtests/Makefile (string-bench): Add strcpy_chk and
13531 stpcpy_chk.
13532 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13533 * benchtests/bench-stpcpy_chk.c: New file.
13534 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13535 * benchtests/bench-strcpy_chk.c: New file.
13536 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13537 code.
13538 (do_test): Likewise.
13539
13540 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13541
13542 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13543 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13544 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13545 with tabs where appropriate.
13546 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13547 dl-procinfo.h.
13548 [PPC_PLATFORM_PPC440]: Likewise.
13549 [PPC_PLATFORM_PPC464]: Likewise.
13550 [PPC_PLATFORM_PPC476]: Likewise.
13551 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13552 ppc464, and ppc476 platform strings merging from ports/
13553 dl-procinfo.h.
13554
13555 2013-06-11 Andreas Schwab <schwab@suse.de>
13556
13557 [BZ #14991]
13558 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13559 (from_ucs4_idx): Regenerate.
13560 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13561 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13562 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13563 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13564 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13565 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13566 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13567 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13568 from FROM_LOOP and TO_LOOP specific macros.
13569 (BODY): Handle combining characters.
13570 * iconvdata/BIG5HKSCS.irreversible: Update.
13571 * iconvdata/BIG5HKSCS.precomposed: New file.
13572 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13573 characters.
13574 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13575
13576 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13577
13578 * include/sys/time.h: Fix indentation and add copyright header.
13579
13580 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13581 (do_test): Likewise.
13582 * string/test-memchr.c (do_one_test): Likewise.
13583 (do_test): Likewise.
13584 * string/test-memcmp.c (do_one_test): Likewise.
13585 (do_test): Likewise.
13586 * string/test-memcpy.c (do_one_test): Likewise.
13587 (do_test): Likewise.
13588 * string/test-memmem.c (do_one_test): Likewise.
13589 (do_test): Likewise.
13590 (do_random_tests): Likewise.
13591 * string/test-memmove.c (do_one_test): Likewise.
13592 (do_test): Likewise.
13593 * string/test-memset.c (do_one_test): Likewise.
13594 (do_test): Likewise.
13595 * string/test-rawmemchr.c (do_one_test): Likewise.
13596 (do_test): Likewise.
13597 * string/test-strcasecmp.c (do_one_test): Likewise.
13598 (do_test): Likewise.
13599 * string/test-strcasestr.c (do_one_test): Likewise.
13600 (do_test): Likewise.
13601 * string/test-strcat.c (do_one_test): Likewise.
13602 (do_test): Likewise.
13603 * string/test-strchr.c (do_one_test): Likewise.
13604 (do_test): Likewise.
13605 * string/test-strcmp.c (do_one_test): Likewise.
13606 (do_test): Likewise.
13607 * string/test-strcpy.c (do_one_test): Likewise.
13608 (do_test): Likewise.
13609 * string/test-string.h: Likewise.
13610 (test_init): Likewise.
13611 * string/test-strlen.c (do_one_test): Likewise.
13612 (do_test): Likewise.
13613 * string/test-strncasecmp.c (do_one_test): Likewise.
13614 (do_test): Likewise.
13615 * string/test-strncat.c (do_one_test): Likewise.
13616 (do_test): Likewise.
13617 * string/test-strncmp.c (do_one_test): Likewise.
13618 (do_test_limit): Likewise.
13619 (do_test): Likewise.
13620 * string/test-strncpy.c (do_one_test): Likewise.
13621 (do_test): Likewise.
13622 * string/test-strnlen.c (do_one_test): Likewise.
13623 (do_test): Likewise.
13624 * string/test-strpbrk.c (do_one_test): Likewise.
13625 (do_test): Likewise.
13626 * string/test-strrchr.c (do_one_test): Likewise.
13627 (do_test): Likewise.
13628 * string/test-strspn.c (do_one_test): Likewise.
13629 (do_test): Likewise.
13630 * string/test-strstr.c (do_one_test): Likewise.
13631 (do_test): Likewise.
13632
13633 * benchtests/Makefile (string-bench): Add string benchmarks.
13634 * benchtests/bench-bcopy-ifunc.c: New file.
13635 * benchtests/bench-bcopy.c: New file.
13636 * benchtests/bench-bzero-ifunc.c: New file.
13637 * benchtests/bench-bzero.c: New file.
13638 * benchtests/bench-memccpy-ifunc.c: New file.
13639 * benchtests/bench-memccpy.c: New file.
13640 * benchtests/bench-memchr-ifunc.c: New file.
13641 * benchtests/bench-memchr.c: New file.
13642 * benchtests/bench-memcmp-ifunc.c: New file.
13643 * benchtests/bench-memcmp.c: New file.
13644 * benchtests/bench-memmem-ifunc.c: New file.
13645 * benchtests/bench-memmem.c: New file.
13646 * benchtests/bench-memmove-ifunc.c: New file.
13647 * benchtests/bench-memmove.c: New file.
13648 * benchtests/bench-mempcpy-ifunc.c: New file.
13649 * benchtests/bench-mempcpy.c: New file.
13650 * benchtests/bench-memset-ifunc.c: New file.
13651 * benchtests/bench-memset.c: New file.
13652 * benchtests/bench-rawmemchr-ifunc.c: New file.
13653 * benchtests/bench-rawmemchr.c: New file.
13654 * benchtests/bench-stpcpy-ifunc.c: New file.
13655 * benchtests/bench-stpcpy.c: New file.
13656 * benchtests/bench-stpncpy-ifunc.c: New file.
13657 * benchtests/bench-stpncpy.c: New file.
13658 * benchtests/bench-strcasecmp-ifunc.c: New file.
13659 * benchtests/bench-strcasecmp.c: New file.
13660 * benchtests/bench-strcasestr-ifunc.c: New file.
13661 * benchtests/bench-strcasestr.c: New file.
13662 * benchtests/bench-strcat-ifunc.c: New file.
13663 * benchtests/bench-strcat.c: New file.
13664 * benchtests/bench-strchr-ifunc.c: New file.
13665 * benchtests/bench-strchr.c: New file.
13666 * benchtests/bench-strchrnul-ifunc.c: New file.
13667 * benchtests/bench-strchrnul.c: New file.
13668 * benchtests/bench-strcmp-ifunc.c: New file.
13669 * benchtests/bench-strcmp.c: New file.
13670 * benchtests/bench-strcpy-ifunc.c: New file.
13671 * benchtests/bench-strcpy.c: New file.
13672 * benchtests/bench-strcspn-ifunc.c: New file.
13673 * benchtests/bench-strcspn.c: New file.
13674 * benchtests/bench-strlen-ifunc.c: New file.
13675 * benchtests/bench-strlen.c: New file.
13676 * benchtests/bench-strncasecmp-ifunc.c: New file.
13677 * benchtests/bench-strncasecmp.c: New file.
13678 * benchtests/bench-strncat-ifunc.c: New file.
13679 * benchtests/bench-strncat.c: New file.
13680 * benchtests/bench-strncmp-ifunc.c: New file.
13681 * benchtests/bench-strncmp.c: New file.
13682 * benchtests/bench-strncpy-ifunc.c: New file.
13683 * benchtests/bench-strncpy.c: New file.
13684 * benchtests/bench-strnlen-ifunc.c: New file.
13685 * benchtests/bench-strnlen.c: New file.
13686 * benchtests/bench-strpbrk-ifunc.c: New file.
13687 * benchtests/bench-strpbrk.c: New file.
13688 * benchtests/bench-strrchr-ifunc.c: New file.
13689 * benchtests/bench-strrchr.c: New file.
13690 * benchtests/bench-strspn-ifunc.c: New file.
13691 * benchtests/bench-strspn.c: New file.
13692 * benchtests/bench-strstr-ifunc.c: New file.
13693 * benchtests/bench-strstr.c: New file.
13694
13695 * benchtests/Makefile: Disable parallel execution of targets.
13696 (string-bench): Add memcpy.
13697 (benchset): New variable to store a list of benchmark sets.
13698 (bench-func): Renamed from bench.
13699 (bench-set): New target.
13700 (bench): Depend on bench-func and bench-set.
13701 * benchtests/README: Add section on benchmark sets.
13702 * benchtests/bench-memcpy-ifunc.c: New file.
13703 * benchtests/bench-memcpy.c: New file.
13704 * benchtests/bench-string.h: New file.
13705
13706 2013-06-11 Andreas Schwab <schwab@suse.de>
13707
13708 [BZ #15577]
13709 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13710 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13711 values in the triple.
13712 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13713 terminator in the group key.
13714
13715 2013-06-11 Andreas Jaeger <aj@suse.de>
13716
13717 * po/zh_TW.po: Update Chinese (traditional) translation from
13718 translation project.
13719
13720 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13721
13722 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13723 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13724 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13725 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13726 (clock_getcpuclockid): Likewise.
13727 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13728 Add weak_alias and libc_hidden_def.
13729 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13730 * rt/clock_gettime.c (clock_gettime): Rename to
13731 __clock_gettime. Add weak_alias and libc_hidden_def.
13732 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13733 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13734 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13735 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13736 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13737 Likewise.
13738 * rt/clock_settime.c (clock_settime): Rename to
13739 __clock_settime. Add weak_alias and libc_hidden_def.
13740 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13741
13742 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13743
13744 * mach/err_boot.sub: Remove trailing whitespace.
13745 * mach/err_ipc.sub: Likewise.
13746 * mach/err_mach.sub: Likewise.
13747
13748 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13749 (ROUNDING_TESTS_double): Likewise.
13750 (ROUNDING_TESTS_long_double): Likewise.
13751 (ROUNDING_TESTS): Likewise.
13752 * math/libm-test.inc: Include <math-tests.h>.
13753 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13754 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13755 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13756 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13757
13758 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13759
13760 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13761 of assigning.
13762
13763 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13764
13765 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13766 otherwise empty TRANS lines.
13767 * sysdeps/gnu/errlist.c: Regenerated.
13768
13769 * catgets/gencat.c (error_print): Use (void) in function
13770 definition.
13771 * crypt/crypt_util.c (__init_des): Likewise.
13772 * crypt/speeds.c (Stop): Likewise.
13773 (main): Likewise.
13774 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13775 * inet/ruserpass.c (token): Likewise.
13776 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13777 * intl/localealias.c (extend_alias_table): Likewise.
13778 * intl/plural-exp.c (init_germanic_plural): Likewise.
13779 * libio/fcloseall.c (__fcloseall): Likewise.
13780 * libio/genops.c (_IO_flush_all): Likewise.
13781 (_IO_flush_all_linebuffered): Likewise.
13782 (_IO_cleanup): Likewise.
13783 (_IO_iter_begin): Likewise.
13784 (_IO_iter_end): Likewise.
13785 (_IO_list_lock): Likewise.
13786 (_IO_list_unlock): Likewise.
13787 (_IO_list_resetlock): Likewise.
13788 * libio/getchar.c (getchar): Likewise.
13789 * libio/getchar_u.c (getchar_unlocked): Likewise.
13790 * libio/getwchar.c (getwchar): Likewise.
13791 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13792 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13793 * login/getpt.c (__getpt): Likewise.
13794 * login/tst-utmp.c (main): Likewise.
13795 * malloc/hooks.c (__malloc_check_init): Likewise.
13796 * malloc/malloc.c (__malloc_stats): Likewise.
13797 * malloc/mtrace.c (tr_break): Likewise.
13798 (mtrace): Likewise.
13799 (muntrace): Likewise.
13800 * misc/fstab.c (endfsent): Likewise.
13801 * misc/getclktck.c (__getclktck): Likewise.
13802 * misc/getdtsz.c (__getdtablesize): Likewise.
13803 * misc/gethostid.c (gethostid): Likewise.
13804 * misc/getpagesize.c (__getpagesize): Likewise.
13805 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13806 (__get_nprocs): Likewise.
13807 (__get_phys_pages): Likewise.
13808 (__get_avphys_pages): Likewise.
13809 * misc/getttyent.c (getttyent): Likewise.
13810 (setttyent): Likewise.
13811 (endttyent): Likewise.
13812 * misc/getusershell.c (getusershell): Likewise.
13813 (endusershell): Likewise.
13814 (setusershell): Likewise.
13815 (initshells): Likewise.
13816 * misc/hsearch.c (__hdestroy): Likewise.
13817 * misc/sync.c (sync): Likewise.
13818 * misc/syslog.c (closelog_internal): Likewise.
13819 (closelog): Likewise.
13820 * misc/ttyslot.c (ttyslot): Likewise.
13821 * misc/vhangup.c (vhangup): Likewise.
13822 * posix/fork.c (__fork): Likewise.
13823 * posix/getegid.c (__getegid): Likewise.
13824 * posix/geteuid.c (__geteuid): Likewise.
13825 * posix/getgid.c (__getgid): Likewise.
13826 * posix/getpid.c (__getpid): Likewise.
13827 * posix/getppid.c (__getppid): Likewise.
13828 * posix/getuid.c (__getuid): Likewise.
13829 * posix/pause.c (pause): Likewise.
13830 * posix/setpgrp.c (setpgrp): Likewise.
13831 * posix/setsid.c (__setsid): Likewise.
13832 * posix/test-vfork.c (noop): Likewise.
13833 * resolv/gethnamaddr.c (_endhtent): Likewise.
13834 (_gethtent): Likewise.
13835 (ht_endhostent): Likewise.
13836 (gethostent): Likewise.
13837 (dns_service): Likewise.
13838 * stdlib/drand48.c (drand48): Likewise.
13839 * stdlib/lrand48.c (lrand48): Likewise.
13840 * stdlib/mrand48.c (mrand48): Likewise.
13841 * stdlib/rand.c (rand): Likewise.
13842 * stdlib/random.c (__random): Likewise.
13843 * stdlib/setenv.c (clearenv): Likewise.
13844 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13845 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13846 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13847 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13848 (__get_nprocs): Likewise.
13849 (__get_phys_pages): Likewise.
13850 (__get_avphys_pages): Likewise.
13851 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13852 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13853 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13854 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13855 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13856 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13857 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13858 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13859 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13860 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13861 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13862 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13863 * sysdeps/posix/clock.c (clock): Likewise.
13864 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13865 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13866 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13867 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13868 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13869 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13870 (__get_nprocs_conf): Likewise.
13871 (__get_phys_pages): Likewise.
13872 (__get_avphys_pages): Likewise.
13873 * time/clock.c (clock): Likewise.
13874 * time/tzset.c (__tzname_max): Likewise.
13875
13876 2013-06-07 Joseph Myers <joseph@codesourcery.com>
13877
13878 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13879 (__bswap_32): Do not use "register".
13880 * crypt/crypt.c (_ufc_doit_r): Likewise.
13881 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13882 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13883 * gmon/gmon.c (__monstartup): Likewise.
13884 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13885 * hurd/hurdmalloc.c (more_memory): Likewise.
13886 (malloc): Likewise.
13887 (free): Likewise.
13888 (realloc): Likewise.
13889 (malloc_fork_prepare): Likewise.
13890 (malloc_fork_parent): Likewise.
13891 (malloc_fork_child): Likewise.
13892 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13893 (_svcauth_des): Likewise.
13894 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13895 * inet/inet_net.c (inet_network): Likewise.
13896 * inet/inet_netof.c (inet_netof): Likewise.
13897 * inet/rcmd.c (__validuser2_sa): Likewise.
13898 * io/fts.c (fts_open): Likewise.
13899 (fts_load): Likewise.
13900 (fts_close): Likewise.
13901 (fts_read): Likewise.
13902 (fts_children): Likewise.
13903 (fts_build): Likewise.
13904 (fts_stat): Likewise.
13905 (fts_sort): Likewise.
13906 (fts_alloc): Likewise.
13907 (fts_lfree): Likewise.
13908 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13909 (_IO_file_xsgetn): Likewise.
13910 (_IO_file_xsgetn_mmap): Likewise.
13911 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13912 (_IO_cookie_write): Likewise.
13913 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13914 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13915 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13916 * malloc/obstack.c (_obstack_begin): Likewise.
13917 (_obstack_begin_1): Likewise.
13918 (_obstack_newchunk): Likewise.
13919 (_obstack_allocated_p): Likewise.
13920 (obstack_free): Likewise.
13921 (_obstack_memory_used): Likewise.
13922 * misc/getttyent.c (getttynam): Likewise.
13923 (getttyent): Likewise.
13924 (skip): Likewise.
13925 (value): Likewise.
13926 * misc/getusershell.c (initshells): Likewise.
13927 * misc/syslog.c (__vsyslog_chk): Likewise.
13928 * misc/ttyslot.c (ttyslot): Likewise.
13929 * nis/nis_hash.c (__nis_hash): Likewise.
13930 * posix/fnmatch_loop.c (FCT): Likewise.
13931 * posix/getconf.c (print_all): Likewise.
13932 (main): Likewise.
13933 * posix/getopt.c (exchange): Likewise.
13934 * posix/glob.c (globfree): Likewise.
13935 (prefix_array): Likewise.
13936 (__glob_pattern_type): Likewise.
13937 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13938 (NS_GET32): Likewise.
13939 (NS_PUT16): Likewise.
13940 (NS_PUT32): Likewise.
13941 * resolv/gethnamaddr.c (getanswer): Likewise.
13942 (gethostbyname2): Likewise.
13943 (gethostbyaddr): Likewise.
13944 (_gethtent): Likewise.
13945 (_gethtbyname2): Likewise.
13946 (_gethtbyaddr): Likewise.
13947 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13948 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13949 * resolv/res_init.c (__res_vinit): Likewise.
13950 (net_mask): Likewise.
13951 * resolv/res_mkquery.c (outchar): Likewise.
13952 (PRINT): Likewise.
13953 * stdio-common/printf_fp.c (outchar): Likewise.
13954 (PRINT): Likewise.
13955 * stdio-common/printf_fphex.c (outchar): Likewise.
13956 (PRINT): Likewise.
13957 * stdio-common/printf_size.c (outchar): Likewise.
13958 (PRINT): Likewise.
13959 * stdio-common/test_rdwr.c (main): Likewise.
13960 * stdio-common/tfformat.c (matches): Likewise.
13961 * stdio-common/vfprintf.c (outchar): Likewise.
13962 (printf_unknown): Likewise.
13963 (buffered_vfprintf): Likewise.
13964 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13965 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13966 (ReadFile): Likewise.
13967 * stdlib/qsort.c (SWAP): Likewise.
13968 (_quicksort): Likewise.
13969 * stdlib/setenv.c (__add_to_environ): Likewise.
13970 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13971 * stdlib/strtol_l.c (__strtol_l): Likewise.
13972 * stdlib/tst-strtod.c (main): Likewise.
13973 * stdlib/tst-strtol.c (main): Likewise.
13974 * stdlib/tst-strtoll.c (main): Likewise.
13975 * string/bits/string2.h (__strcmp_cc): Likewise.
13976 (__strcmp_cg): Likewise.
13977 (__strcspn_c1): Likewise.
13978 (__strcspn_c2): Likewise.
13979 (__strcspn_c3): Likewise.
13980 (__strspn_c1): Likewise.
13981 (__strspn_c2): Likewise.
13982 (__strspn_c3): Likewise.
13983 (__strsep_1c): Likewise.
13984 (__strsep_2c): Likewise.
13985 (__strsep_3c): Likewise.
13986 * string/memccpy.c (__memccpy): Likewise.
13987 * string/stpcpy.c (__stpcpy): Likewise.
13988 * string/strcmp.c (strcmp): Likewise.
13989 * string/strrchr.c (strrchr): Likewise.
13990 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13991 Likewise.
13992 * sysdeps/mach/hurd/getcwd.c
13993 (_hurd_canonicalize_directory_name_internal): Likewise.
13994 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13995 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13996 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13997 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13998 Likewise, in both definitions.
13999 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14000 definitions.
14001 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14002 64] (__bswap_64): Likewise.
14003 * time/test_time.c (main): Likewise.
14004 * time/tzfile.c (__tzfile_read): Likewise.
14005 (__tzfile_compute): Likewise.
14006 * time/tzset.c (__tzset_parse_tz): Likewise.
14007 (tzset_internal): Likewise.
14008 (compute_change): Likewise.
14009 * wcsmbs/wcscat.c (__wcscat): Likewise.
14010 * wcsmbs/wcschr.c (wcschr): Likewise.
14011 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14012 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14013 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14014 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14015 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14016 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14017 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14018 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14019 * wcsmbs/wmemset.c (wmemset): Likewise.
14020
14021 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14022
14023 * scripts/config.guess: Update to version 2013-05-16.
14024 * scripts/config.sub: Update to version 2013-04-24.
14025 * scripts/install-sh: Update to version 2011-11-20.07.
14026 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14027 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14028
14029 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14030
14031 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14032 * elf/sln.c: Likewise.
14033 * hurd/hurd/ioctl.h: Likewise.
14034 * hurd/hurdmalloc.c: Likewise.
14035 * hurd/xattr.c: Likewise.
14036 * include/shlib-compat.h: Likewise.
14037 * inet/ruserpass.c: Likewise.
14038 * libio/iofgets_u.c: Likewise.
14039 * libio/iofgetws_u.c: Likewise.
14040 * locale/programs/ld-identification.c: Likewise.
14041 * locale/programs/ld-time.c: Likewise.
14042 * mach/msg-destroy.c: Likewise.
14043 * nss/nss_files/files-netgrp.c: Likewise.
14044 * resolv/res_data.c: Likewise.
14045 * soft-fp/op-1.h: Likewise.
14046 * soft-fp/op-2.h: Likewise.
14047 * soft-fp/op-4.h: Likewise.
14048 * soft-fp/op-common.h: Likewise.
14049 * stdio-common/printf_fphex.c: Likewise.
14050 * stdlib/strtod_l.c: Likewise.
14051 * sunrpc/rpc/clnt.h: Likewise.
14052 * sysdeps/generic/framestate.c: Likewise.
14053 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14054 * sysdeps/i386/bsd-setjmp.S: Likewise.
14055 * sysdeps/i386/__longjmp.S: Likewise.
14056 * sysdeps/i386/setjmp.S: Likewise.
14057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14058 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14059 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14060 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14061 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14062 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14063 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14064 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14065 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14066 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14067 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14068 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14069 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14070 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14071 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14072 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14073 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14074 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14075 * sysdeps/ieee754/support.c: Likewise.
14076 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14077 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14078 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14079 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14080 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14081 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14082 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14083 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14084 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14085 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14086 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14087 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14088 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14089 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14090 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14091 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14092 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14094
14095 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14096
14097 * posix/transbug.c: Remove executable mode.
14098
14099 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14100
14101 * crypt/speeds.c: Remove trailing whitespace.
14102 * dlfcn/default.c: Likewise.
14103 * elf/ifuncdep2.c: Likewise.
14104 * elf/ifuncmain1.c: Likewise.
14105 * elf/ifuncmain1vis.c: Likewise.
14106 * elf/testobj.h: Likewise.
14107 * elf/tst-stackguard1.c: Likewise.
14108 * gmon/sys/gmon.h: Likewise.
14109 * hurd/hurdmsg.c: Likewise.
14110 * hurd/new-fd.c: Likewise.
14111 * hurd/ports-get.c: Likewise.
14112 * iconvdata/ibm1008_420.c: Likewise.
14113 * inet/tst-getni1.c: Likewise.
14114 * inet/tst-getni2.c: Likewise.
14115 * libio/ioungetc.c: Likewise.
14116 * libio/wfiledoalloc.c: Likewise.
14117 * manual/libm-err-tab.pl: Likewise.
14118 * math/w_dremf.c: Likewise.
14119 * misc/ftruncate.c: Likewise.
14120 * posix/bug-glob2.c: Likewise.
14121 * posix/tst-pcre.c: Likewise.
14122 * posix/wait4.c: Likewise.
14123 * resolv/README: Likewise.
14124 * resolv/res_debug.h: Likewise.
14125 * resolv/tst-inet_ntop.c: Likewise.
14126 * setjmp/bug269-setjmp.c: Likewise.
14127 * soft-fp/extended.h: Likewise.
14128 * soft-fp/op-1.h: Likewise.
14129 * soft-fp/op-2.h: Likewise.
14130 * soft-fp/op-4.h: Likewise.
14131 * soft-fp/op-8.h: Likewise.
14132 * soft-fp/testit.c: Likewise.
14133 * stdio-common/bug16.c: Likewise.
14134 * stdlib/random.c: Likewise.
14135 * sunrpc/rpcsvc/rquota.x: Likewise.
14136 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14137 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14138 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14139 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14140 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14141 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14142 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14143 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14144 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14145 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14146 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14147 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14148 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14149 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14150 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14151 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14152 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14153 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14154 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14155 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14156 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14157 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14158 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14159 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14160 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14161 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14162 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14163 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14164 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14165 * sysdeps/ieee754/s_lib_version.c: Likewise.
14166 * sysdeps/mach/hurd/check_fds.c: Likewise.
14167 * sysdeps/mach/hurd/getsockname.c: Likewise.
14168 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14169 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14170 * sysdeps/powerpc/bits/link.h: Likewise.
14171 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14172 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14173 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14174 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14175 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14176 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14177 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14178 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14179 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14180 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14181 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14182 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14183 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14184 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14185 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14186 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14187 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14188 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14189 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14190 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14191 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14192 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14193 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14194 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14195 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14196 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14197 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14198 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14199 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14200 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14201 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14202 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14203 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14204 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14205 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14206 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14207 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14208 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14209 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14210 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14211 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14212 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14213 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14214 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14215 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14216 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14217 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14218 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14219 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14220 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14221 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14222 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14223 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14224 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14225 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14226 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14227 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14228 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14229 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14230 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14231 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14232 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14233 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14234 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14235 * sysdeps/powerpc/sysdep.h: Likewise.
14236 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14237 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14238 * sysdeps/sh/dl-trampoline.S: Likewise.
14239 * sysdeps/sh/memset.S: Likewise.
14240 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14241 * sysdeps/sh/strlen.S: Likewise.
14242 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14243 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14244 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14245 * sysdeps/sparc/sparc32/rem.S: Likewise.
14246 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14247 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14248 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14249 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14250 * sysdeps/sparc/sparc32/urem.S: Likewise.
14251 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14252 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14253 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14254 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14255 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14256 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14257 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14258 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14259 * sysdeps/unix/bsd/times.c: Likewise.
14260 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14261 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14265 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14266 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14267 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14268 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14269 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14270 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14271 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14272 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14273 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14274 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14275 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14276 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14277 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14278 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14279 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14280 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14281 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14282 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14283 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14284 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14285 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14286 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14287 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14288 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14289 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14290 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14291 * sysdeps/x86_64/strcspn.S: Likewise.
14292
14293 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14294
14295 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14296 generated file. Regenerate properly from gen-translit.pl.
14297 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14298 locale/C-translit.h.
14299
14300 2013-06-05 Andreas Schwab <schwab@suse.de>
14301
14302 [BZ #15100]
14303 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14304 week as 6 instead of -1.
14305 * time/tst-strptime.c (day_tests): Add test case.
14306
14307 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14308
14309 * sysdeps/generic/math_private.h
14310 (libc_feholdexcept_setround_53bit): Replace with
14311 libc_feholdsetround_53bit.
14312 (libc_feupdateenv_53bit): Replace with
14313 libc_feresetround_53bit.
14314 (SET_RESTORE_ROUND_53BIT): Adjust.
14315
14316 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14317
14318 * string/test-strchrnul.c: Add copyright header.
14319
14320 * posix/tst-getaddrinfo4.c: Increase test timeout.
14321
14322 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14323
14324 [BZ #15536]
14325 * math/libm-test.inc (MAX_EXP): Remove
14326 (MIN_EXP): Define.
14327 (ulp): Use MIN_EXP - MANT_DIG.
14328 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14329
14330 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14331
14332 * po/be.po: Revert last change.
14333 * po/zh_CN.po: Likewise.
14334 * po/header.pot: Likewise.
14335
14336 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14337
14338 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14339 link-libc-deps to empty as target-specific variable.
14340 * Makerules (link-libc-args): New variable.
14341 (libc-for-link): Likewise.
14342 (link-libc-deps): Likewise.
14343 (lib%.so): Depend on $(link-libc-deps). Link with
14344 $(link-libc-args).
14345 (build-module): Link with $(link-libc-args).
14346 (build-module-asneeded): Likewise.
14347 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14348 list of objects.
14349 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14350 target-specific variable.
14351 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14352 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14353 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14354 libc.
14355 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14356 libc and ld.so.
14357 ($(objpfx)libpcprofile.so): Likewise.
14358 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14359 libc_nonshared.a.
14360 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14361 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14362 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14363 $(link-libc-deps).
14364 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14365 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14366 * login/Makefile ($(objpfx)libutil.so): Likewise.
14367 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14368 * math/Makefile ($(objpfx)libm.so): Likewise.
14369 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14370 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14371 variable instead of depending directly on libc.
14372 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14373 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14374 $(link-libc-deps).
14375 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14376 libc.
14377 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14378 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14379 ($(objpfx)libanl.so): Likewise.
14380 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14381 ld.so.
14382 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14383 $(link-libc-deps).
14384 * sysdeps/i386/fpu/Makefile: Remove file.
14385 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14386 ($(objpfx)libm.so): Remove dependency on ld.so.
14387
14388 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14389
14390 [BZ # 15553]
14391 * nis/yp_xdr.c (XDRMAXNAME): Define.
14392 (XDRMAXRECORD): Define.
14393 (xdr_domainname): Use XDRMAXNAME.
14394 (xdr_mapname): Likewise.
14395 (xdr_peername): Likewise.
14396 (xdr_keydat): Use XDRMAXRECORD.
14397 (xdr_valdat): Likewise.
14398
14399 2013-05-30 Jeff Law <law@redhat.com>
14400
14401 [BZ #14256]
14402 * manual/errno.texi (ESTALE): Update to account for more than
14403 just NFS file systems.
14404 * sysdeps/gnu/errlist.c: Regenerated.
14405
14406 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14407
14408 [BZ #15465]
14409 * elf/Makefile (tests): Add tst-null-argv.
14410 (modules-names): Add tst-null-argv-lib.
14411 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14412 (tst-null-argv-ENV): Set environment for tst-null-argv.
14413 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14414 (RTLD_PROGNAME): New macro.
14415 * elf/tst-null-argv.c: New test case.
14416 * elf/tst-null-argv-lib.c: Library for test case.
14417 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14418 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14419 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14420 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14421 * elf/dl-init.c (call_init): Likewise.
14422 (_dl_init): Likewise.
14423 * elf/dl-load.c (print_search_path): Likewise.
14424 (_dl_map_object): Likewise.
14425 * elf/dl-lookup.c (do_lookup_x): Likewise.
14426 (add_dependency): Likewise.
14427 (_dl_lookup_symbol_x): Likewise.
14428 (_dl_debug_bindings): Likewise.
14429 * elf/dl-open.c (_dl_show_scope): Likewise.
14430 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14431 * elf/dl-version.c (match_symbol): Likewise.
14432 (_dl_check_map_versions): Likewise.
14433 * elf/rtld.c (dl_main): Likewise.
14434 (print_unresolved): Use RTLD_PROGNAME.
14435 (print_missing_version): Likewise.
14436 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14437 (elf_machine_rela): Likewise.
14438 * sysdeps/powerpc/powerpc32/dl-machine.c
14439 (__process_machine_rela): Likewise.
14440 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14441 Likewise.
14442 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14443 Likewise.
14444 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14445 Likewise.
14446 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14447 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14448 Likewise.
14449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14450 Likewise.
14451 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14452
14453 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14454
14455 * po/be.po: Add descriptive title.
14456 * po/zh_CN.po: Likewise.
14457 * po/header.pot: Likewise.
14458
14459 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14460
14461 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14462 error message.
14463 (enlarge_archive): Likewise.
14464
14465 2013-05-28 Ben North <ben@redfrontdoor.org>
14466
14467 * manual/arith.texi (frexp): It is the magnitude of the return
14468 value which lies in [0.5, 1), not the return value itself.
14469
14470 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14471
14472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14473
14474 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14475
14476 * stdio-common/bug26.c (main): Correct fscanf template.
14477
14478 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14479 declare _dl_skip_args.
14480
14481 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14482 Don't declare.
14483
14484 * manual/platform.texi: Add missing @end deftypefun.
14485
14486 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14487
14488 [BZ #15529]
14489 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14490 bit of mantissa of 2^16382.
14491 * math/libm-test.inc (hypot_test_data): Add more tests.
14492
14493 * math/libm-test.inc: Add drem and pow10 to list of tested
14494 functions.
14495 (pow10_test): New function.
14496 (drem_test): Likewise.
14497 (drem_test_tonearest): Likewise.
14498 (drem_test_towardzero): Likewise.
14499 (drem_test_downward): Likewise.
14500 (drem_test_upward): Likewise.
14501 (main): Call the new functions.
14502
14503 * math/libm-test.inc (finite_test_data): Remove.
14504 (finite_test): Run tests from isfinite_test_data.
14505 (gamma_test_data): Remove.
14506 (gamma_test): Run tests from lgamma_test_data.
14507 * sysdeps/i386/fpu/libm-test-ulps: Update.
14508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14509
14510 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14511
14512 * manual/platform.texi: Add PowerPC PPR function set documentation.
14513 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14514 implementation.
14515
14516 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14517
14518 * math/libm-test.inc (MAX_EXP): Define.
14519 (ULPDIFF): Define.
14520 (ulp): New function.
14521 (check_float_internal): Use ULPDIFF.
14522 (cpow_test): Disable failing test.
14523 (check_ulp): Test ulp() implemetnation.
14524 (main): Call check_ulp before starting tests.
14525
14526 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14527
14528 * math/gen-libm-test.pl (generate_testfile): Do not handle
14529 START_DATA and END_DATA.
14530 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14531 END_DATA.
14532 (acos_tonearest_test_data): Likewise.
14533 (acos_towardzero_test_data): Likewise.
14534 (acos_downward_test_data): Likewise.
14535 (acos_upward_test_data): Likewise.
14536 (acosh_test_data): Likewise.
14537 (asin_test_data): Likewise.
14538 (asin_tonearest_test_data): Likewise.
14539 (asin_towardzero_test_data): Likewise.
14540 (asin_downward_test_data): Likewise.
14541 (asin_upward_test_data): Likewise.
14542 (asinh_test_data): Likewise.
14543 (atan_test_data): Likewise.
14544 (atanh_test_data): Likewise.
14545 (atan2_test_data): Likewise.
14546 (cabs_test_data): Likewise.
14547 (cacos_test_data): Likewise.
14548 (cacosh_test_data): Likewise.
14549 (carg_test_data): Likewise.
14550 (casin_test_data): Likewise.
14551 (casinh_test_data): Likewise.
14552 (catan_test_data): Likewise.
14553 (catanh_test_data): Likewise.
14554 (cbrt_test_data): Likewise.
14555 (ccos_test_data): Likewise.
14556 (ccosh_test_data): Likewise.
14557 (ceil_test_data): Likewise.
14558 (cexp_test_data): Likewise.
14559 (cimag_test_data): Likewise.
14560 (clog_test_data): Likewise.
14561 (clog10_test_data): Likewise.
14562 (conj_test_data): Likewise.
14563 (copysign_test_data): Likewise.
14564 (cos_test_data): Likewise.
14565 (cos_tonearest_test_data): Likewise.
14566 (cos_towardzero_test_data): Likewise.
14567 (cos_downward_test_data): Likewise.
14568 (cos_upward_test_data): Likewise.
14569 (cosh_test_data): Likewise.
14570 (cosh_tonearest_test_data): Likewise.
14571 (cosh_towardzero_test_data): Likewise.
14572 (cosh_downward_test_data): Likewise.
14573 (cosh_upward_test_data): Likewise.
14574 (cpow_test_data): Likewise.
14575 (cproj_test_data): Likewise.
14576 (creal_test_data): Likewise.
14577 (csin_test_data): Likewise.
14578 (csinh_test_data): Likewise.
14579 (csqrt_test_data): Likewise.
14580 (ctan_test_data): Likewise.
14581 (ctan_tonearest_test_data): Likewise.
14582 (ctan_towardzero_test_data): Likewise.
14583 (ctan_downward_test_data): Likewise.
14584 (ctan_upward_test_data): Likewise.
14585 (ctanh_test_data): Likewise.
14586 (ctanh_tonearest_test_data): Likewise.
14587 (ctanh_towardzero_test_data): Likewise.
14588 (ctanh_downward_test_data): Likewise.
14589 (ctanh_upward_test_data): Likewise.
14590 (erf_test_data): Likewise.
14591 (erfc_test_data): Likewise.
14592 (exp_test_data): Likewise.
14593 (exp_tonearest_test_data): Likewise.
14594 (exp_towardzero_test_data): Likewise.
14595 (exp_downward_test_data): Likewise.
14596 (exp_upward_test_data): Likewise.
14597 (exp10_test_data): Likewise.
14598 (exp2_test_data): Likewise.
14599 (expm1_test_data): Likewise.
14600 (fabs_test_data): Likewise.
14601 (fdim_test_data): Likewise.
14602 (finite_test_data): Likewise.
14603 (floor_test_data): Likewise.
14604 (fma_test_data): Likewise.
14605 (fma_towardzero_test_data): Likewise.
14606 (fma_downward_test_data): Likewise.
14607 (fma_upward_test_data): Likewise.
14608 (fmax_test_data): Likewise.
14609 (fmin_test_data): Likewise.
14610 (fmod_test_data): Likewise.
14611 (fpclassify_test_data): Likewise.
14612 (frexp_test_data): Likewise.
14613 (gamma_test_data): Likewise.
14614 (hypot_test_data): Likewise.
14615 (ilogb_test_data): Likewise.
14616 (isfinite_test_data): Likewise.
14617 (isgreater_test_data): Likewise.
14618 (isgreaterequal_test_data): Likewise.
14619 (isinf_test_data): Likewise.
14620 (isless_test_data): Likewise.
14621 (islessequal_test_data): Likewise.
14622 (islessgreater_test_data): Likewise.
14623 (isnan_test_data): Likewise.
14624 (isnormal_test_data): Likewise.
14625 (issignaling_test_data): Likewise.
14626 (isunordered_test_data): Likewise.
14627 (j0_test_data): Likewise.
14628 (j1_test_data): Likewise.
14629 (jn_test_data): Likewise.
14630 (ldexp_test_data): Likewise.
14631 (lgamma_test_data): Likewise.
14632 (lrint_test_data): Likewise.
14633 (lrint_tonearest_test_data): Likewise.
14634 (lrint_towardzero_test_data): Likewise.
14635 (lrint_downward_test_data): Likewise.
14636 (lrint_upward_test_data): Likewise.
14637 (llrint_test_data): Likewise.
14638 (llrint_tonearest_test_data): Likewise.
14639 (llrint_towardzero_test_data): Likewise.
14640 (llrint_downward_test_data): Likewise.
14641 (llrint_upward_test_data): Likewise.
14642 (log_test_data): Likewise.
14643 (log10_test_data): Likewise.
14644 (log1p_test_data): Likewise.
14645 (log2_test_data): Likewise.
14646 (logb_test_data): Likewise.
14647 (logb_downward_test_data): Likewise.
14648 (lround_test_data): Likewise.
14649 (llround_test_data): Likewise.
14650 (modf_test_data): Likewise.
14651 (nearbyint_test_data): Likewise.
14652 (nextafter_test_data): Likewise.
14653 (nexttoward_test_data): Likewise.
14654 (pow_test_data): Likewise.
14655 (pow_tonearest_test_data): Likewise.
14656 (pow_towardzero_test_data): Likewise.
14657 (pow_downward_test_data): Likewise.
14658 (pow_upward_test_data): Likewise.
14659 (remainder_test_data): Likewise.
14660 (remainder_tonearest_test_data): Likewise.
14661 (remainder_towardzero_test_data): Likewise.
14662 (remainder_downward_test_data): Likewise.
14663 (remainder_upward_test_data): Likewise.
14664 (remquo_test_data): Likewise.
14665 (rint_test_data): Likewise.
14666 (rint_tonearest_test_data): Likewise.
14667 (rint_towardzero_test_data): Likewise.
14668 (rint_downward_test_data): Likewise.
14669 (rint_upward_test_data): Likewise.
14670 (round_test_data): Likewise.
14671 (scalb_test_data): Likewise.
14672 (scalbn_test_data): Likewise.
14673 (scalbln_test_data): Likewise.
14674 (signbit_test_data): Likewise.
14675 (sin_test_data): Likewise.
14676 (sin_tonearest_test_data): Likewise.
14677 (sin_towardzero_test_data): Likewise.
14678 (sin_downward_test_data): Likewise.
14679 (sin_upward_test_data): Likewise.
14680 (sincos_test_data): Likewise.
14681 (sinh_test_data): Likewise.
14682 (sinh_tonearest_test_data): Likewise.
14683 (sinh_towardzero_test_data): Likewise.
14684 (sinh_downward_test_data): Likewise.
14685 (sinh_upward_test_data): Likewise.
14686 (sqrt_test_data): Likewise.
14687 (tan_test_data): Likewise.
14688 (tan_tonearest_test_data): Likewise.
14689 (tan_towardzero_test_data): Likewise.
14690 (tan_downward_test_data): Likewise.
14691 (tan_upward_test_data): Likewise.
14692 (tanh_test_data): Likewise.
14693 (tgamma_test_data): Likewise.
14694 (trunc_test_data): Likewise.
14695 (y0_test_data): Likewise.
14696 (y1_test_data): Likewise.
14697 (yn_test_data): Likewise.
14698 (significand_test_data): Likewise.
14699
14700 * math/gen-libm-test.pl (@functions): Remove variable.
14701 (generate_testfile): Don't handle START and END lines.
14702 * math/libm-test.inc (START): New macro.
14703 (END): Likewise.
14704 (END_COMPLEX): Likewise.
14705 (acos_test): Use END macro without arguments.
14706 (acos_test_tonearest): Likewise.
14707 (acos_test_towardzero): Likewise.
14708 (acos_test_downward): Likewise.
14709 (acos_test_upward): Likewise.
14710 (acosh_test): Likewise.
14711 (asin_test): Likewise.
14712 (asin_test_tonearest): Likewise.
14713 (asin_test_towardzero): Likewise.
14714 (asin_test_downward): Likewise.
14715 (asin_test_upward): Likewise.
14716 (asinh_test): Likewise.
14717 (atan_test): Likewise.
14718 (atanh_test): Likewise.
14719 (atan2_test): Likewise.
14720 (cabs_test): Likewise.
14721 (cacos_test): Use END_COMPLEX macro without arguments.
14722 (cacosh_test): Likewise.
14723 (carg_test): Use END macro without arguments.
14724 (casin_test): Use END_COMPLEX macro without arguments.
14725 (casinh_test): Likewise.
14726 (catan_test): Likewise.
14727 (catanh_test): Likewise.
14728 (cbrt_test): Use END macro without arguments.
14729 (ccos_test): Use END_COMPLEX macro without arguments.
14730 (ccosh_test): Likewise.
14731 (ceil_test): Use END macro without arguments.
14732 (cexp_test): Use END_COMPLEX macro without arguments.
14733 (cimag_test): Use END macro without arguments.
14734 (clog_test): Use END_COMPLEX macro without arguments.
14735 (clog10_test): Likewise.
14736 (conj_test): Likewise.
14737 (copysign_test): Use END macro without arguments.
14738 (cos_test): Likewise.
14739 (cos_test_tonearest): Likewise.
14740 (cos_test_towardzero): Likewise.
14741 (cos_test_downward): Likewise.
14742 (cos_test_upward): Likewise.
14743 (cosh_test): Likewise.
14744 (cosh_test_tonearest): Likewise.
14745 (cosh_test_towardzero): Likewise.
14746 (cosh_test_downward): Likewise.
14747 (cosh_test_upward): Likewise.
14748 (cpow_test): Use END_COMPLEX macro without arguments.
14749 (cproj_test): Likewise.
14750 (creal_test): Use END macro without arguments.
14751 (csin_test): Use END_COMPLEX macro without arguments.
14752 (csinh_test): Likewise.
14753 (csqrt_test): Likewise.
14754 (ctan_test): Likewise.
14755 (ctan_test_tonearest): Likewise.
14756 (ctan_test_towardzero): Likewise.
14757 (ctan_test_downward): Likewise.
14758 (ctan_test_upward): Likewise.
14759 (ctanh_test): Likewise.
14760 (ctanh_test_tonearest): Likewise.
14761 (ctanh_test_towardzero): Likewise.
14762 (ctanh_test_downward): Likewise.
14763 (ctanh_test_upward): Likewise.
14764 (erf_test): Use END macro without arguments.
14765 (erfc_test): Likewise.
14766 (exp_test): Likewise.
14767 (exp_test_tonearest): Likewise.
14768 (exp_test_towardzero): Likewise.
14769 (exp_test_downward): Likewise.
14770 (exp_test_upward): Likewise.
14771 (exp10_test): Likewise.
14772 (exp2_test): Likewise.
14773 (expm1_test): Likewise.
14774 (fabs_test): Likewise.
14775 (fdim_test): Likewise.
14776 (finite_test): Likewise.
14777 (floor_test): Likewise.
14778 (fma_test): Likewise.
14779 (fma_test_towardzero): Likewise.
14780 (fma_test_downward): Likewise.
14781 (fma_test_upward): Likewise.
14782 (fmax_test): Likewise.
14783 (fmin_test): Likewise.
14784 (fmod_test): Likewise.
14785 (fpclassify_test): Likewise.
14786 (frexp_test): Likewise.
14787 (gamma_test): Likewise.
14788 (hypot_test): Likewise.
14789 (ilogb_test): Likewise.
14790 (isfinite_test): Likewise.
14791 (isgreater_test): Likewise.
14792 (isgreaterequal_test): Likewise.
14793 (isinf_test): Likewise.
14794 (isless_test): Likewise.
14795 (islessequal_test): Likewise.
14796 (islessgreater_test): Likewise.
14797 (isnan_test): Likewise.
14798 (isnormal_test): Likewise.
14799 (issignaling_test): Likewise.
14800 (isunordered_test): Likewise.
14801 (j0_test): Likewise.
14802 (j1_test): Likewise.
14803 (jn_test): Likewise.
14804 (ldexp_test): Likewise.
14805 (lgamma_test): Likewise.
14806 (lrint_test): Likewise.
14807 (lrint_test_tonearest): Likewise.
14808 (lrint_test_towardzero): Likewise.
14809 (lrint_test_downward): Likewise.
14810 (lrint_test_upward): Likewise.
14811 (llrint_test): Likewise.
14812 (llrint_test_tonearest): Likewise.
14813 (llrint_test_towardzero): Likewise.
14814 (llrint_test_downward): Likewise.
14815 (llrint_test_upward): Likewise.
14816 (log_test): Likewise.
14817 (log10_test): Likewise.
14818 (log1p_test): Likewise.
14819 (log2_test): Likewise.
14820 (logb_test): Likewise.
14821 (logb_test_downward): Likewise.
14822 (lround_test): Likewise.
14823 (llround_test): Likewise.
14824 (modf_test): Likewise.
14825 (nearbyint_test): Likewise.
14826 (nextafter_test): Likewise.
14827 (nexttoward_test): Likewise.
14828 (pow_test): Likewise.
14829 (pow_test_tonearest): Likewise.
14830 (pow_test_towardzero): Likewise.
14831 (pow_test_downward): Likewise.
14832 (pow_test_upward): Likewise.
14833 (remainder_test): Likewise.
14834 (remainder_test_tonearest): Likewise.
14835 (remainder_test_towardzero): Likewise.
14836 (remainder_test_downward): Likewise.
14837 (remainder_test_upward): Likewise.
14838 (remquo_test): Likewise.
14839 (rint_test): Likewise.
14840 (rint_test_tonearest): Likewise.
14841 (rint_test_towardzero): Likewise.
14842 (rint_test_downward): Likewise.
14843 (rint_test_upward): Likewise.
14844 (round_test): Likewise.
14845 (scalb_test): Likewise.
14846 (scalbn_test): Likewise.
14847 (scalbln_test): Likewise.
14848 (signbit_test): Likewise.
14849 (sin_test): Likewise.
14850 (sin_test_tonearest): Likewise.
14851 (sin_test_towardzero): Likewise.
14852 (sin_test_downward): Likewise.
14853 (sin_test_upward): Likewise.
14854 (sincos_test): Likewise.
14855 (sinh_test): Likewise.
14856 (sinh_test_tonearest): Likewise.
14857 (sinh_test_towardzero): Likewise.
14858 (sinh_test_downward): Likewise.
14859 (sinh_test_upward): Likewise.
14860 (sqrt_test): Likewise.
14861 (tan_test): Likewise.
14862 (tan_test_tonearest): Likewise.
14863 (tan_test_towardzero): Likewise.
14864 (tan_test_downward): Likewise.
14865 (tan_test_upward): Likewise.
14866 (tanh_test): Likewise.
14867 (tgamma_test): Likewise.
14868 (trunc_test): Likewise.
14869 (y0_test): Likewise.
14870 (y1_test): Likewise.
14871 (yn_test): Likewise.
14872 (significand_test): Likewise.
14873
14874 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
14875
14876 [BZ #15381]
14877 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14878
14879 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14880
14881 [BZ #14894]
14882 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14883 __ppc_mdoio and __ppc_mdoom.
14884 * manual/platform.texi: Document new functions __ppc_yield,
14885 __ppc_mdoio and __ppc_mdoom.
14886
14887 2013-05-22 Carlos O'Donell <carlos@redhat.com>
14888
14889 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14890 (main): Mention "tls" pseudo-hwcap is legacy.
14891 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14892
14893 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14894
14895 * math/gen-libm-test.pl (parse_args): Output only string of
14896 arguments as text for test name, not full call or descriptions of
14897 tests for extra outputs.
14898 (generate_testfile): Do not pass function name to parse_args.
14899 Generate this_func variable from START.
14900 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14901 field to arg_str.
14902 (struct test_ff_f_data): Likewise.
14903 (test_ff_f_data_nexttoward): Likewise.
14904 (struct test_fi_f_data): Likewise.
14905 (struct test_fl_f_data): Likewise.
14906 (struct test_if_f_data): Likewise.
14907 (struct test_fff_f_data): Likewise.
14908 (struct test_c_f_data): Likewise.
14909 (struct test_f_f1_data): Likewise. Remove field extra_name.
14910 (struct test_fF_f1_data): Likewise.
14911 (struct test_ffI_f1_data): Likewise.
14912 (struct test_c_c_data): Rename test_name field to arg_str.
14913 (struct test_cc_c_data): Likewise.
14914 (struct test_f_i_data): Likewise.
14915 (struct test_ff_i_data): Likewise.
14916 (struct test_f_l_data): Likewise.
14917 (struct test_f_L_data): Likewise.
14918 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14919 and extra2_name.
14920 (COMMON_TEST_SETUP): New macro.
14921 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14922 (COMMON_TEST_CLEANUP): Likewise.
14923 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14924 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14925 macros.
14926 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14927 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14928 macros.
14929 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14930 (RUN_TEST_fff_f): Take argument string. Call new setup and
14931 cleanup macros.
14932 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14933 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14934 macros.
14935 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14936 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14937 macros.
14938 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14939 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14940 cleanup macros.
14941 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14942 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14943 cleanup macros.
14944 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14945 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14946 cleanup macros.
14947 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14948 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14949 macros.
14950 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14951 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14952 macros.
14953 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14954 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14955 macros.
14956 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14957 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14958 cleanup macros.
14959 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14960 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14961 cleanup macros.
14962 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14963 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14964 macros.
14965 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14966 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14967 cleanup macros.
14968 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14969 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14970 macros.
14971 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14972 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14973 macros.
14974 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14975 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14976 cleanup macros.
14977 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14978
14979 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14980
14981 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14982 to _sifields.sigfault.
14983 (si_addr_lsb): Define new macro.
14984 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14985 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14986 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14987
14988 2013-05-03 Carlos O'Donell <carlos at redhat.com>
14989
14990 [BZ #15441]
14991 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14992 returns -1.
14993 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14994 null return -1.
14995 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14996 loading the domain.
14997
14998 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14999
15000 * math/gen-libm-test.pl (parse_args): Do not include expected
15001 result in test name.
15002 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15003 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15004 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15005 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15006 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15008
15009 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15010
15011 * benchtests/Makefile: Sort function entries.
15012
15013 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15014 tanh, asinh, acosh, atanh.
15015 * benchtests/acos-inputs: New file.
15016 * benchtests/acosh-inputs: New file.
15017 * benchtests/asin-inputs: New file.
15018 * benchtests/asinh-inputs: New file.
15019 * benchtests/atanh-inputs: New file.
15020 * benchtests/cosh-inputs: New file.
15021 * benchtests/log-inputs: New file.
15022 * benchtests/sinh-inputs: New file.
15023 * benchtests/tanh-inputs: New file.
15024
15025 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15026
15027 [BZ #15339]
15028 * posix/tst-getaddrinfo4.c: New test.
15029 * posix/Makefile (tests): Add it.
15030
15031 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15032
15033 [BZ #15339]
15034 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15035 when no services were used.
15036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15037 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15038
15039 2013-05-21 Andreas Schwab <schwab@suse.de>
15040
15041 [BZ #15014]
15042 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15043 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15044 successful.
15045 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15046 redundant variable declarations and reallocation of buffer when
15047 parsing as IPv6 address. Always set NSS status when called from
15048 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15049 buffer too small. Correct computation of needed size.
15050 * nss/Makefile (tests): Add test-digits-dots.
15051 * nss/test-digits-dots.c: New test.
15052
15053 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15054
15055 * benchtests/Makefile: Remove instructions for adding
15056 benchmark tests.
15057 * benchtests/README: New file to explain how to execute and
15058 enhance the benchmark tests.
15059
15060 2013-05-21 Andreas Schwab <schwab@suse.de>
15061
15062 [BZ #15493]
15063 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15064 * setjmp/tst-sigsetjmp.c: New test.
15065
15066 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15067
15068 * sysdeps/x86_64/memset.S (memset): New implementation.
15069 (__bzero): Likewise.
15070 (__memset_tail): New function.
15071
15072 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15073
15074 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15075 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15076 __memcpy_sse2_unaligned ifunc selection.
15077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15078 Add memcpy-sse2-unaligned.S.
15079 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15080 Add: __memcpy_sse2_unaligned.
15081
15082 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15083
15084 [BZ #15490]
15085 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15086 math_force_eval before restoring floating-point envrionment.
15087 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15088 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15089 Likewise.
15090 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15091 <math_private.h>.
15092 (__nearbyintl): Use math_force_eval before restoring
15093 floating-point environment.
15094 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15095
15096 * math/gen-libm-test.pl (special_functions): Remove.
15097 (parse_args): Don't handle TEST_extra. Handle functions with no
15098 return value.
15099 * math/libm-test.inc (struct test_sincos_data): Replace with
15100 struct test_fFF_11_data.
15101 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15102 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15103 (sincos_test_data): Change element type to struct
15104 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15105 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15106 RUN_TEST_LOOP_sincos.
15107 * math/README.libm-test: Don't mention special handling of
15108 individual functions.
15109 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15110 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15111 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15112 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15113 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15115
15116 * math/gen-libm-test.pl (get_variable): Remove function.
15117 (parse_args): Don't show pointer parameters to call in test
15118 names. Use "extra output N" in test names for extra outputs
15119 rather than naming variables.
15120
15121 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15122
15123 [BZ #15488]
15124 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15125 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15126 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15127 double tests.
15128 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15129 disable.
15130 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15131 check_long_double.
15132
15133 * math/gen-libm-test.pl (@tests): Remove variable.
15134 ($count): Likewise.
15135 (new_test): Remove function.
15136 (show_exceptions): New function.
15137 (special_functions): Use show_exceptions instead of new_test.
15138 (parse_args): Likewise.
15139 (generate_testfile): Pass only function name in generated call to
15140 print_max_error or print_complex_max_error.
15141 (get_ulps): Do not handle complex tests specially.
15142 (output_test): Rename to ...
15143 (get_all_ulps_for_test): ... this. Return a string rather than
15144 printing to a file. Require ulps to be present.
15145 (output_ulps): Generate arrays rather than #defines.
15146 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15147 (struct ulp_data): New type.
15148 (BUILD_COMPLEX_ULP): Remove macro.
15149 (compare_ulp_data): New function.
15150 (find_ulps): Likewise.
15151 (find_test_ulps): Likewise.
15152 (find_function_ulps): Likewise.
15153 (find_complex_function_ulps): Likewise.
15154 (print_max_error): Determine allowed ulps using
15155 find_function_ulps.
15156 (print_complex_max_error): Determine allowed ulps using
15157 find_complex_function_ulps.
15158 (check_float_internal): Determine max ulps using find_test_ulps.
15159 (check_float): Do not take max_ulp parameter. Update call to
15160 check_float_internal.
15161 (check_complex): Likewise.
15162 (check_int): Do not take max_ulp parameter.
15163 (check_long): Likewise.
15164 (check_bool): Likewise.
15165 (check_longlong): Likewise.
15166 (struct test_f_f_data): Remove max_ulp field.
15167 (struct test_ff_f_data): Likewise.
15168 (struct test_ff_f_data_nexttoward): Likewise.
15169 (struct test_fi_f_data): Likewise.
15170 (struct test_fl_f_data): Likewise.
15171 (struct test_if_f_data): Likewise.
15172 (struct test_fff_f_data): Likewise.
15173 (struct test_c_f_data): Likewise.
15174 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15175 (struct test_fF_f1_data): Likewise.
15176 (struct test_ffI_f1_data): Likewise.
15177 (struct test_c_c_data): Remove max_ulp field.
15178 (struct test_cc_c_data): Likewise.
15179 (struct test_f_i_data): Likewise.
15180 (struct test_ff_i_data): Likewise.
15181 (struct test_f_l_data): Likewise.
15182 (struct test_f_L_data): Likewise.
15183 (struct test_sincos_data): Likewise.
15184 (RUN_TEST_f_f): Do not handle ulps.
15185 (RUN_TEST_LOOP_f_f): Likewise.
15186 (RUN_TEST_2_f): Likewise.
15187 (RUN_TEST_LOOP_2_f): Likewise.
15188 (RUN_TEST_fff_f): Likewise.
15189 (RUN_TEST_LOOP_fff_f): Likewise.
15190 (RUN_TEST_c_f): Likewise.
15191 (RUN_TEST_LOOP_c_f): Likewise.
15192 (RUN_TEST_f_f1): Likewise.
15193 (RUN_TEST_LOOP_f_f1): Likewise.
15194 (RUN_TEST_fF_f1): Likewise.
15195 (RUN_TEST_LOOP_fF_f1): Likewise.
15196 (RUN_TEST_fI_f1): Likewise.
15197 (RUN_TEST_LOOP_fI_f1): Likewise.
15198 (RUN_TEST_ffI_f1): Likewise.
15199 (RUN_TEST_LOOP_ffI_f1): Likewise.
15200 (RUN_TEST_c_c): Likewise.
15201 (RUN_TEST_LOOP_c_c): Likewise.
15202 (RUN_TEST_cc_c): Likewise.
15203 (RUN_TEST_LOOP_cc_c): Likewise.
15204 (RUN_TEST_f_i): Likewise.
15205 (RUN_TEST_LOOP_f_i): Likewise.
15206 (RUN_TEST_f_i_tg): Likewise.
15207 (RUN_TEST_LOOP_f_i_tg): Likewise.
15208 (RUN_TEST_ff_i_tg): Likewise.
15209 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15210 (RUN_TEST_f_b): Likewise.
15211 (RUN_TEST_LOOP_f_b): Likewise.
15212 (RUN_TEST_f_b_tg): Likewise.
15213 (RUN_TEST_LOOP_f_b_tg): Likewise.
15214 (RUN_TEST_f_l): Likewise.
15215 (RUN_TEST_LOOP_f_l): Likewise.
15216 (RUN_TEST_f_L): Likewise.
15217 (RUN_TEST_LOOP_f_L): Likewise.
15218 (RUN_TEST_sincos): Likewise.
15219 (RUN_TEST_LOOP_sincos): Likewise.
15220
15221 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15222
15223 [BZ #15480]
15224 [BZ #15485]
15225 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15226 main case of finite arguments, set rounding mode to FE_TONEAREST
15227 and discard exceptions.
15228 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15229 exceptions.
15230 (remainder_tonearest_test_data): New variable.
15231 (remainder_test_tonearest): New function.
15232 (remainder_towardzero_test_data): New variable.
15233 (remainder_test_towardzero): New function.
15234 (remainder_downward_test_data): New variable.
15235 (remainder_test_downward): New function.
15236 (remainder_upward_test_data): New variable.
15237 (remainder_test_upward): New function.
15238 (main): Call the new test functions.
15239
15240 * math/libm-test.inc (struct test_f_f1_data): Remove field
15241 extra_init.
15242 (struct test_fF_f1_data): Likewise.
15243 (struct test_ffI_f1_data): Likewise.
15244 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15245 based on value of EXTRA_EXPECTED.
15246 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15247 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15248 EXTRA_VAR based on value of EXTRA_EXPECTED.
15249 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15250 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15251 EXTRA_VAR based on value of EXTRA_EXPECTED.
15252 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15253 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15254 EXTRA_VAR based on value of EXTRA_EXPECTED.
15255 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15256 * math/gen-libm-test.pl (parse_args): Don't output initializers
15257 for extra output values.
15258
15259 * math/libm-test.inc (check_int): Expect result to be exactly
15260 equal to expected value and do not handle ulps.
15261 (check_long): Likewise.
15262 (check_longlong): Likewise.
15263
15264 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15265 exceptions.
15266 (cimag_test_data): Likewise.
15267 (conj_test_data): Likewise.
15268 (copysign_test_data): Likewise.
15269 (cproj_test_data): Likewise.
15270 (creal_test_data): Likewise.
15271 (fabs_test_data): Likewise.
15272 (fdim_test_data): Likewise.
15273 (finite_test_data): Likewise.
15274 (floor_test_data): Likewise.
15275 (fmax_test_data): Likewise.
15276 (fmin_test_data): Likewise.
15277 (fmod_test_data): Likewise.
15278 (fpclassify_test_data): Likewise.
15279 (frexp_test_data): Likewise.
15280 (ilogb_test_data): Likewise.
15281 (isfinite_test_data): Likewise.
15282 (isgreater_test_data): Likewise.
15283 (isgreaterequal_test_data): Likewise.
15284 (isinf_test_data): Likewise.
15285 (isless_test_data): Likewise.
15286 (islessequal_test_data): Likewise.
15287 (islessgreater_test_data): Likewise.
15288 (isnan_test_data): Likewise.
15289 (isnormal_test_data): Likewise.
15290 (issignaling_test_data): Likewise.
15291 (isunordered_test_data): Likewise.
15292 (ldexp_test_data): Likewise.
15293 (lrint_test_data): Likewise.
15294 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15295 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15296 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15297 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15298 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15299 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15300 test input.
15301 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15302 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15303 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15304 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15305 that test input.
15306 (lrint_downward_test_data): Test for "inexact" exceptions.
15307 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15308 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15309 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15310 test input.
15311 (lrint_upward_test_data): Test for "inexact" exceptions.
15312 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15313 test input.
15314 (llrint_test_data): Test for "inexact" exceptions.
15315 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15316 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15317 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15318 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15319 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15320 (llrint_downward_test_data): Test for "inexact" exceptions.
15321 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15322 (llrint_upward_test_data): Test for "inexact" exceptions.
15323 (logb_test_data): Likewise.
15324 (logb_downward_test_data): Likewise.
15325 (nextafter_test_data): Likewise.
15326 (nexttoward_test_data): Likewise.
15327 (remainder_test_data): Likewise.
15328 (remquo_test_data): Likewise.
15329 (scalbn_test_data): Likewise.
15330 (scalbln_test_data): Likewise.
15331 (signbit_test_data): Likewise.
15332 (sqrt_test_data): Likewise.
15333 (significand_test_data): Likewise.
15334
15335 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15336
15337 [BZ #15424]
15338 * benchtests/bench-modf.c (struct args): Mark arg0 as
15339 volatile.
15340 * scripts/bench.pl: Mark members of struct args as volatile.
15341
15342 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15343
15344 [BZ # 15497]
15345 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15346 negative infinity on POWER6 or lower.
15347 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15348
15349 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15350
15351 [BZ #15442]
15352 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15353 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15354 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15355 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15356 (_FP_SETQNAN): New macro.
15357 (_FP_SETQNAN_SEMIRAW): Likewise.
15358 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15359 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15360 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15361 (FP_EXTEND): Use _FP_FRAC_SNANP.
15362 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15363 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15364 into account.
15365 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15366 New macro.
15367 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15368 Likewise.
15369
15370 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15371
15372 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15373 with DIVIDE_BY_ZERO_EXCEPTION.
15374 (gamma_test_data): Likewise.
15375 (lgamma_test_data): Likewise.
15376 (log_test_data): Likewise.
15377 (log10_test_data): Likewise.
15378 (log2_test_data): Likewise.
15379 (tgamma_test_data): Likewise.
15380
15381 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15382 (acos_test_tonearest): Likewise.
15383 (acos_test_towardzero): Likewise.
15384 (acos_test_downward): Likewise.
15385 (acos_test_upward): Likewise.
15386 (acosh_test): Likewise.
15387 (asin_test): Likewise.
15388 (asin_test_tonearest): Likewise.
15389 (asin_test_towardzero): Likewise.
15390 (asin_test_downward): Likewise.
15391 (asin_test_upward): Likewise.
15392 (asinh_test): Likewise.
15393 (atan_test): Likewise.
15394 (atanh_test): Likewise.
15395 (atan2_test): Likewise.
15396 (cabs_test): Likewise.
15397 (cacos_test): Likewise.
15398 (cacosh_test): Likewise.
15399 (casin_test): Likewise.
15400 (casinh_test): Likewise.
15401 (catan_test): Likewise.
15402 (catanh_test): Likewise.
15403 (cbrt_test): Likewise.
15404 (ccos_test): Likewise.
15405 (ccosh_test): Likewise.
15406 (cexp_test): Likewise.
15407 (clog_test): Likewise.
15408 (clog10_test): Likewise.
15409 (cos_test): Likewise.
15410 (cos_test_tonearest): Likewise.
15411 (cos_test_towardzero): Likewise.
15412 (cos_test_downward): Likewise.
15413 (cos_test_upward): Likewise.
15414 (cosh_test): Likewise.
15415 (cosh_test_tonearest): Likewise.
15416 (cosh_test_towardzero): Likewise.
15417 (cosh_test_downward): Likewise.
15418 (cosh_test_upward): Likewise.
15419 (cpow_test): Likewise.
15420 (csin_test): Likewise.
15421 (csinh_test): Likewise.
15422 (csqrt_test): Likewise.
15423 (ctan_test): Likewise.
15424 (ctan_test_tonearest): Likewise.
15425 (ctan_test_towardzero): Likewise.
15426 (ctan_test_downward): Likewise.
15427 (ctan_test_upward): Likewise.
15428 (ctanh_test): Likewise.
15429 (ctanh_test_tonearest): Likewise.
15430 (ctanh_test_towardzero): Likewise.
15431 (ctanh_test_downward): Likewise.
15432 (ctanh_test_upward): Likewise.
15433 (erf_test): Likewise.
15434 (erfc_test): Likewise.
15435 (exp_test): Likewise.
15436 (exp_test_tonearest): Likewise.
15437 (exp_test_towardzero): Likewise.
15438 (exp_test_downward): Likewise.
15439 (exp_test_upward): Likewise.
15440 (exp10_test): Likewise.
15441 (exp2_test): Likewise.
15442 (expm1_test): Likewise.
15443 (fmod_test): Likewise.
15444 (gamma_test): Likewise.
15445 (hypot_test): Likewise.
15446 (j0_test): Likewise.
15447 (j1_test): Likewise.
15448 (jn_test): Likewise.
15449 (lgamma_test): Likewise.
15450 (log_test): Likewise.
15451 (log10_test): Likewise.
15452 (log1p_test): Likewise.
15453 (log2_test): Likewise.
15454 (logb_test_downward): Likewise.
15455 (pow_test): Likewise.
15456 (pow_test_tonearest): Likewise.
15457 (pow_test_towardzero): Likewise.
15458 (pow_test_downward): Likewise.
15459 (pow_test_upward): Likewise.
15460 (remainder_test): Likewise.
15461 (remquo_test): Likewise.
15462 (sin_test): Likewise.
15463 (sin_test_tonearest): Likewise.
15464 (sin_test_towardzero): Likewise.
15465 (sin_test_downward): Likewise.
15466 (sin_test_upward): Likewise.
15467 (sincos_test): Likewise.
15468 (sinh_test): Likewise.
15469 (sinh_test_tonearest): Likewise.
15470 (sinh_test_towardzero): Likewise.
15471 (sinh_test_downward): Likewise.
15472 (sinh_test_upward): Likewise.
15473 (sqrt_test): Likewise.
15474 (tan_test): Likewise.
15475 (tan_test_tonearest): Likewise.
15476 (tan_test_towardzero): Likewise.
15477 (tan_test_downward): Likewise.
15478 (tan_test_upward): Likewise.
15479 (tanh_test): Likewise.
15480 (tgamma_test): Likewise.
15481 (y0_test): Likewise.
15482 (y1_test): Likewise.
15483 (yn_test): Likewise.
15484
15485 * math/gen-libm-test.pl (adjust_arg): Remove function.
15486 (special_function): Remove argument $in_func. Only handle
15487 generating output for tables of tests, not inside functions.
15488 (parse_args): Likewise.
15489 (generate_testfile): Remove variable $in_func. Update call to
15490 parse_args.
15491 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15492 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15493 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15494 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15495 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15496 (MAX_VALUE_INIT): Rename macro to max_value.
15497 (MIN_VALUE_INIT): Rename macro to min_value.
15498 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15499 (plus_zero): Remove variable.
15500 (minus_zero): Likewise.
15501 (plus_infty): Likewise.
15502 (minus_infty): Likewise.
15503 (qnan_value): Likewise.
15504 (max_value): Likewise.
15505 (min_value): Likewise.
15506 (min_subnorm_value): Likewise.
15507
15508 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15509
15510 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15511 uint64_t or uint32_t usage.
15512 * crypt/sha256-block.c: Likewise.
15513 * crypt/sha256-crypt.c: Likewise.
15514 * crypt/sha256.c: Likewise.
15515 * crypt/sha512-block.c: Likewise.
15516 * crypt/sha512-crypt.c: Likewise.
15517 * crypt/sha512.c: Likewise.
15518 * debug/backtrace-tst.c: Likewise.
15519 * debug/pcprofiledump.c: Likewise.
15520 * elf/cache.c: Likewise.
15521 * elf/dl-cache.c: Likewise.
15522 * elf/dl-misc.c: Likewise.
15523 * elf/dl-profile.c: Likewise.
15524 * elf/dl-support.c: Likewise.
15525 * elf/ldconfig.c: Likewise.
15526 * elf/sprof.c: Likewise.
15527 * iconv/dummy-repertoire.c: Likewise.
15528 * iconv/iconv_charmap.c: Likewise.
15529 * iconv/skeleton.c: Likewise.
15530 * iconvdata/8bit-generic.c: Likewise.
15531 * iconvdata/cp737.h: Likewise.
15532 * iconvdata/cp775.h: Likewise.
15533 * iconvdata/ibm1008.h: Likewise.
15534 * iconvdata/ibm1025.h: Likewise.
15535 * iconvdata/ibm1046.h: Likewise.
15536 * iconvdata/ibm1097.h: Likewise.
15537 * iconvdata/ibm1112.h: Likewise.
15538 * iconvdata/ibm1122.h: Likewise.
15539 * iconvdata/ibm1123.h: Likewise.
15540 * iconvdata/ibm1124.h: Likewise.
15541 * iconvdata/ibm1129.h: Likewise.
15542 * iconvdata/ibm1130.h: Likewise.
15543 * iconvdata/ibm1132.h: Likewise.
15544 * iconvdata/ibm1133.h: Likewise.
15545 * iconvdata/ibm1137.h: Likewise.
15546 * iconvdata/ibm1140.h: Likewise.
15547 * iconvdata/ibm1141.h: Likewise.
15548 * iconvdata/ibm1142.h: Likewise.
15549 * iconvdata/ibm1143.h: Likewise.
15550 * iconvdata/ibm1144.h: Likewise.
15551 * iconvdata/ibm1145.h: Likewise.
15552 * iconvdata/ibm1146.h: Likewise.
15553 * iconvdata/ibm1147.h: Likewise.
15554 * iconvdata/ibm1148.h: Likewise.
15555 * iconvdata/ibm1149.h: Likewise.
15556 * iconvdata/ibm1153.h: Likewise.
15557 * iconvdata/ibm1154.h: Likewise.
15558 * iconvdata/ibm1155.h: Likewise.
15559 * iconvdata/ibm1156.h: Likewise.
15560 * iconvdata/ibm1157.h: Likewise.
15561 * iconvdata/ibm1158.h: Likewise.
15562 * iconvdata/ibm1160.h: Likewise.
15563 * iconvdata/ibm1161.h: Likewise.
15564 * iconvdata/ibm1162.h: Likewise.
15565 * iconvdata/ibm1163.h: Likewise.
15566 * iconvdata/ibm1164.h: Likewise.
15567 * iconvdata/ibm1166.h: Likewise.
15568 * iconvdata/ibm1167.h: Likewise.
15569 * iconvdata/ibm12712.h: Likewise.
15570 * iconvdata/ibm1390.h: Likewise.
15571 * iconvdata/ibm1399.h: Likewise.
15572 * iconvdata/ibm16804.h: Likewise.
15573 * iconvdata/ibm4517.h: Likewise.
15574 * iconvdata/ibm4899.h: Likewise.
15575 * iconvdata/ibm4909.h: Likewise.
15576 * iconvdata/ibm4971.h: Likewise.
15577 * iconvdata/ibm5347.h: Likewise.
15578 * iconvdata/ibm803.h: Likewise.
15579 * iconvdata/ibm856.h: Likewise.
15580 * iconvdata/ibm901.h: Likewise.
15581 * iconvdata/ibm902.h: Likewise.
15582 * iconvdata/ibm9030.h: Likewise.
15583 * iconvdata/ibm9066.h: Likewise.
15584 * iconvdata/ibm921.h: Likewise.
15585 * iconvdata/ibm922.h: Likewise.
15586 * iconvdata/ibm9448.h: Likewise.
15587 * iconvdata/isiri-3342.h: Likewise.
15588 * iconvdata/jis0201.h: Likewise.
15589 * include/link.h: Likewise.
15590 * include/netdb.h: Likewise.
15591 * inet/check_native.c: Likewise.
15592 * inet/check_pf.c: Likewise.
15593 * inet/getipv4sourcefilter.c: Likewise.
15594 * inet/getnameinfo.c: Likewise.
15595 * inet/getsourcefilter.c: Likewise.
15596 * inet/htonl.c: Likewise.
15597 * inet/setipv4sourcefilter.c: Likewise.
15598 * inet/setsourcefilter.c: Likewise.
15599 * inet/test-inet6_opt.c: Likewise.
15600 * inet/tst-network.c: Likewise.
15601 * locale/C-collate.c: Likewise.
15602 * locale/C-ctype.c: Likewise.
15603 * locale/C-time.c: Likewise.
15604 * locale/C-translit.h: Likewise.
15605 * locale/loadarchive.c: Likewise.
15606 * locale/programs/3level.h: Likewise.
15607 * locale/programs/charmap.c: Likewise.
15608 * locale/programs/charmap.h: Likewise.
15609 * locale/programs/ld-address.c: Likewise.
15610 * locale/programs/ld-collate.c: Likewise.
15611 * locale/programs/ld-ctype.c: Likewise.
15612 * locale/programs/ld-identification.c: Likewise.
15613 * locale/programs/ld-measurement.c: Likewise.
15614 * locale/programs/ld-messages.c: Likewise.
15615 * locale/programs/ld-monetary.c: Likewise.
15616 * locale/programs/ld-name.c: Likewise.
15617 * locale/programs/ld-numeric.c: Likewise.
15618 * locale/programs/ld-paper.c: Likewise.
15619 * locale/programs/ld-telephone.c: Likewise.
15620 * locale/programs/ld-time.c: Likewise.
15621 * locale/programs/linereader.c: Likewise.
15622 * locale/programs/locale.c: Likewise.
15623 * locale/programs/locarchive.c: Likewise.
15624 * locale/programs/locfile.h: Likewise.
15625 * locale/programs/repertoire.c: Likewise.
15626 * locale/programs/simple-hash.c: Likewise.
15627 * locale/programs/simple-hash.h: Likewise.
15628 * malloc/memusage.c: Likewise.
15629 * malloc/memusagestat.c: Likewise.
15630 * nis/nis_defaults.c: Likewise.
15631 * nis/nis_hash.c: Likewise.
15632 * nis/nis_print.c: Likewise.
15633 * nis/nis_xdr.c: Likewise.
15634 * nscd/connections.c: Likewise.
15635 * nscd/hstcache.c: Likewise.
15636 * nscd/nscd_gethst_r.c: Likewise.
15637 * nscd/nscd_getserv_r.c: Likewise.
15638 * nscd/nscd_helper.c: Likewise.
15639 * nscd/servicescache.c: Likewise.
15640 * nss/makedb.c: Likewise.
15641 * nss/nss_db/db-XXX.c: Likewise.
15642 * nss/nss_db/db-initgroups.c: Likewise.
15643 * nss/nss_db/db-netgrp.c: Likewise.
15644 * nss/nss_files/files-network.c: Likewise.
15645 * nss/nss_files/files-parse.c: Likewise.
15646 * posix/bug-regex5.c: Likewise.
15647 * posix/fnmatch_loop.c: Likewise.
15648 * posix/regcomp.c: Likewise.
15649 * posix/regexec.c: Likewise.
15650 * posix/tst-rfc3484-2.c: Likewise.
15651 * posix/tst-rfc3484-3.c: Likewise.
15652 * posix/tst-rfc3484.c: Likewise.
15653 * resolv/nss_dns/dns-canon.c: Likewise.
15654 * resolv/nss_dns/dns-network.c: Likewise.
15655 * resolv/res_init.c: Likewise.
15656 * resolv/res_mkquery.c: Likewise.
15657 * resolv/tst-aton.c: Likewise.
15658 * stdlib/cxa_atexit.c: Likewise.
15659 * stdlib/cxa_finalize.c: Likewise.
15660 * stdlib/gen-fpioconst.c: Likewise.
15661 * stdlib/strtol_l.c: Likewise.
15662 * string/tst-endian.c: Likewise.
15663 * sunrpc/auth_des.c: Likewise.
15664 * sunrpc/clnt_udp.c: Likewise.
15665 * sunrpc/rtime.c: Likewise.
15666 * sunrpc/svcauth_des.c: Likewise.
15667 * sunrpc/xdr.c: Likewise.
15668 * sunrpc/xdr_intXX_t.c: Likewise.
15669 * sunrpc/xdr_rec.c: Likewise.
15670 * sysdeps/generic/ldconfig.h: Likewise.
15671 * sysdeps/generic/ldsodefs.h: Likewise.
15672 * sysdeps/generic/memusage.h: Likewise.
15673 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15674 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15675 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15676 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15677 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15679 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15680 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15681 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15682 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15683 * sysdeps/posix/getaddrinfo.c: Likewise.
15684 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15685 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15686 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15687 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15688 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15689 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15690 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15691 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15692 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15693 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15694 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15695 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15696 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15697 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15698 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15699 * sysdeps/x86_64/dl-tls.h: Likewise.
15700 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15701 * time/alt_digit.c: Likewise.
15702 * time/era.c: Likewise.
15703 * wcsmbs/tst-c16c32-1.c: Likewise.
15704
15705 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15706
15707 * math/libm-test.inc (struct test_sincos_data): New type.
15708 (RUN_TEST_LOOP_sincos): New macro.
15709 (sincos_test_data): New variable.
15710 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15711
15712 2013-05-16 Richard Henderson <rth@redhat.com>
15713
15714 * math/atest-exp2.c (LIMB64): New macro.
15715 (CONSTSZ): New macro.
15716 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15717 (hexdig): Move ...
15718 (print_mpn_fp): ... to function scope.
15719 (read_mpn_hex): Remove.
15720 (get_log2): Remove.
15721 (exp2_mpn): Use mp_log2.
15722 (main): Use mp_exp1.
15723
15724 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15725
15726 * math/libm-test.inc: Remove comment about not testing "inexact"
15727 exceptions.
15728 (INEXACT_EXCEPTION): New macro.
15729 (NO_INEXACT_EXCEPTION): Likewise.
15730 (INVALID_EXCEPTION_OK): Update value.
15731 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15732 (OVERFLOW_EXCEPTION_OK): Likewise.
15733 (UNDERFLOW_EXCEPTION_OK): Likewise.
15734 (IGNORE_ZERO_INF_SIGN): Likewise.
15735 (ERRNO_UNCHANGED): Likewise.
15736 (ERRNO_EDOM): Likewise.
15737 (ERRNO_ERANGE): Likewise.
15738 (test_exceptions): Handle testing "inexact" exceptions.
15739 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15740 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15741 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15742 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15743 INEXACT_EXCEPTION.
15744 (rint_towardzero_test_data): Likewise.
15745 (rint_downward_test_data): Likewise.
15746 (rint_upward_test_data): Likewise.
15747
15748 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15749 with OVERFLOW_EXCEPTION.
15750 (exp10_test_data): Likewise.
15751 (exp2_test_data): Likewise.
15752 (expm1_test_data): Likewise.
15753 (lgamma_test_data): Likewise.
15754 (pow_test_data): Likewise.
15755 (tgamma_test_data): Likewise.
15756 (yn_test_data): Remove duplicate test of overflow.
15757
15758 * math/libm-test.inc (struct test_cc_c_data): New type.
15759 (RUN_TEST_LOOP_cc_c): New macro.
15760 (cpow_test_data): New variable.
15761 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15762
15763 * math/libm-test.inc (struct test_f_L_data): New type.
15764 (RUN_TEST_LOOP_f_L): New macro.
15765 (llrint_test_data): New variable.
15766 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15767 (llrint_tonearest_test_data): New variable.
15768 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15769 (llrint_towardzero_test_data): New variable.
15770 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15771 (llrint_downward_test_data): New variable.
15772 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15773 (llrint_upward_test_data): New variable.
15774 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15775 (llround_test_data): New variable.
15776 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15777
15778 2013-05-13 Peter Collingbourne <pcc@google.com>
15779
15780 * math/atest-exp2.c (get_log2): Remove const attribute.
15781
15782 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15783
15784 * math/libm-test.inc (struct test_f_l_data): New type.
15785 (RUN_TEST_LOOP_f_l): New macro.
15786 (lrint_test_data): New variable.
15787 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15788 (lrint_tonearest_test_data): New variable.
15789 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15790 (lrint_towardzero_test_data): New variable.
15791 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15792 (lrint_downward_test_data): New variable.
15793 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15794 (lrint_upward_test_data): New variable.
15795 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15796 (lround_test_data): New variable.
15797 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15798
15799 2013-05-15 Peter Collingbourne <pcc@google.com>
15800
15801 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15802 (EXTRACT_WORDS64) Use where appropriate.
15803 (INSERT_WORDS64) Likewise.
15804
15805 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15806 constraints with x constraints.
15807 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15808
15809 * malloc/obstack.c (_obstack_compat): Add initializer.
15810
15811 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15812
15813 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15814 si_trapno and add si_addr_lsb to _sifields.sigfault.
15815 (si_trapno): Remove macro.
15816 (si_addr_lsb): Define new macro.
15817 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15818
15819 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15820
15821 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15822 instead of TEST_f_l.
15823 (llrint_test_tonearest): Likewise.
15824 (llrint_test_towardzero): Likewise.
15825 (llrint_test_downward): Likewise.
15826 (llrint_test_upward): Likewise.
15827 (llround_test): Likewise.
15828
15829 * math/libm-test.inc (struct test_f_i_data): Add comment.
15830 (RUN_TEST_LOOP_f_b): New macro.
15831 (RUN_TEST_LOOP_f_b_tg): Likewise.
15832 (finite_test_data): New variable.
15833 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15834 (isfinite_test_data): New variable.
15835 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15836 (isinf_test_data): New variable.
15837 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15838 (isnan_test_data): New variable.
15839 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15840 (isnormal_test_data): New variable.
15841 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15842 (issignaling_test_data): New variable.
15843 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15844 (signbit_test_data): New variable.
15845 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15846
15847 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15848 with INVALID_EXCEPTION.
15849 (acosh_test_data): Likewise.
15850 (asin_test_data): Likewise.
15851 (atanh_test_data): Likewise.
15852 (fmod_test_data): Likewise.
15853 (log_test_data): Likewise.
15854 (log10_test_data): Likewise.
15855 (log2_test_data): Likewise.
15856 (pow_test_data): Likewise.
15857 (sqrt_test_data): Likewise.
15858 (y0_test_data): Likewise.
15859 (y1_test_data): Likewise.
15860 (yn_test_data): Likewise.
15861
15862 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15863 function contents.
15864
15865 * math/libm-test.inc (struct test_ff_i_data): New type.
15866 (RUN_TEST_LOOP_ff_i_tg): New macro.
15867 (isgreater_test_data): New variable.
15868 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15869 (isgreaterequal_test_data): New variable.
15870 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15871 (isless_test_data): New variable.
15872 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15873 (islessequal_test_data): New variable.
15874 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15875 (islessgreater_test_data): New variable.
15876 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15877 (isunordered_test_data): New variable.
15878 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15879
15880 2013-05-14 David S. Miller <davem@davemloft.net>
15881
15882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15883
15884 2013-05-14 Joseph Myers <joseph@codesourcery.com>
15885
15886 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15887
15888 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15889 extra_test to int.
15890 (struct test_f_i_data): Change type of max_ulp to int.
15891
15892 * math/libm-test.inc (test_ffI_f1_data): New type.
15893 (RUN_TEST_LOOP_ffI_f1): New macro.
15894 (remquo_test_data): New variable.
15895 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15896
15897 * setjmp/tst-setjmp-fp.c: New file.
15898 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15899 (link-libm): New variable.
15900 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15901
15902 * math/libm-test.inc (struct test_f_i_data): New type.
15903 (RUN_TEST_LOOP_f_i): New macro.
15904 (RUN_TEST_LOOP_f_i_tg): Likewise.
15905 (fpclassify_test_data): New variable.
15906 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15907 (ilogb_test_data): New variable.
15908 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15909
15910 * math/libm-test.inc (scalbln_test): Correct function name in END
15911 call.
15912
15913 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15914 (RUN_TEST_LOOP_fI_f1): New macro.
15915 (frexp_test_data): New variable.
15916 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15917
15918 * math/libm-test.inc (struct test_fF_f1_data): New type.
15919 (RUN_TEST_LOOP_fF_f1): New macro.
15920 (modf_test_data): New variable.
15921 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15922
15923 * math/libm-test.inc (struct test_f_f1_data): New type.
15924 (RUN_TEST_LOOP_f_f1): New macro.
15925 (gamma_test_data): New variable.
15926 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15927 (lgamma_test_data): New variable.
15928 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15929
15930 2013-05-13 Carlos O'Donell <carlos@redhat.com>
15931
15932 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15933 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15934 (main): Comment "tls" pseudo-hwcap.
15935
15936 2013-05-13 Joseph Myers <joseph@codesourcery.com>
15937
15938 * math/libm-test.inc (struct test_fl_f_data): New type.
15939 (RUN_TEST_LOOP_fl_f): New variable.
15940 (scalbln_test_data): New variable.
15941 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15942
15943 * math/libm-test.inc (struct test_fi_f_data): New type.
15944 (RUN_TEST_LOOP_fi_f): New macro.
15945 (ldexp_test_data): New variable.
15946 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15947 (scalbn_test_data): New variable.
15948 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15949
15950 * math/libm-test.inc (struct test_c_f_data): New type.
15951 (RUN_TEST_LOOP_c_f): New macro.
15952 (cabs_test_data): New variable.
15953 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15954 (carg_test_data): New variable.
15955 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15956 (cimag_test_data): New variable.
15957 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15958 (creal_test_data): New variable.
15959 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15960
15961 * math/libm-test.inc (struct test_if_f_data): New type.
15962 (RUN_TEST_LOOP_if_f): New macro.
15963 (jn_test_data): New variable.
15964 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15965 (yn_test_data): New variable.
15966 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15967
15968 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15969
15970 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15971
15972 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15973 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15974
15975 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15976
15977 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15978 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15979 (bench-deps): Add bench-timing.h.
15980 * benchtests-bench-skeleton.c: Include bench-timing.h.
15981 (main): Use TIMING_* macros instead of clock_gettime.
15982 * benchtests/bench-timing.h: New file.
15983
15984 [BZ #14582]
15985 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15986 Renamed from _LIB_VERSION.
15987 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15988
15989 2013-05-12 Joseph Myers <joseph@codesourcery.com>
15990
15991 * math/libm-test.inc (struct test_fff_f_data): New type.
15992 (RUN_TEST_LOOP_fff_f): New macro.
15993 (fma_test_data): New variable.
15994 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15995 (fma_towardzero_test_data): New variable.
15996 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15997 (fma_downward_test_data): New variable.
15998 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15999 (fma_upward_test_data): New variable.
16000 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16001
16002 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16003 (struct test_c_c_data): New type.
16004 (RUN_TEST_LOOP_c_c): New macro.
16005 (cacos_test_data): New variable.
16006 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16007 (cacosh_test_data): New variable.
16008 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16009 (casin_test_data): New variable.
16010 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16011 (casinh_test_data): New variable.
16012 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16013 (catan_test_data): New variable.
16014 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16015 (catanh_test_data): New variable.
16016 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16017 (ccos_test_data): New variable.
16018 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16019 (ccosh_test_data): New variable.
16020 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16021 (cexp_test_data): New variable.
16022 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16023 (clog_test_data): New variable.
16024 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16025 (clog10_test_data): New variable.
16026 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16027 (conj_test_data): New variable.
16028 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16029 (cproj_test_data): New variable.
16030 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16031 (csin_test_data): New variable.
16032 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16033 (csinh_test_data): New variable.
16034 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16035 (csqrt_test_data): New variable.
16036 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16037 (ctan_test_data): New variable.
16038 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16039 (ctan_tonearest_test_data): New variable.
16040 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16041 (ctan_towardzero_test_data): New variable.
16042 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16043 (ctan_downward_test_data): New variable.
16044 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16045 (ctan_upward_test_data): New variable.
16046 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16047 (ctanh_test_data): New variable.
16048 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16049 (ctanh_tonearest_test_data): New variable.
16050 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16051 (ctanh_towardzero_test_data): New variable.
16052 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16053 (ctanh_downward_test_data): New variable.
16054 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16055 (ctanh_upward_test_data): New variable.
16056 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16057 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16058 of BUILD_COMPLEX.
16059
16060 * math/libm-test.inc (struct test_ff_f_data): New type.
16061 (struct test_ff_f_data_nexttoward): Likewise.
16062 (RUN_TEST_LOOP_2_f): New macro.
16063 (RUN_TEST_LOOP_ff_f): Likewise.
16064 (atan2_test_data): New variable.
16065 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16066 (copysign_test_data): New variable.
16067 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16068 (fdim_test_data): New variable.
16069 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16070 (fmax_test_data): New variable.
16071 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16072 (fmin_test_data): New variable.
16073 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16074 (fmod_test_data): New variable.
16075 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16076 (hypot_test_data): New variable.
16077 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16078 (nextafter_test_data): New variable.
16079 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16080 (nexttoward_test_data): New variable.
16081 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16082 (pow_test_data): New variable.
16083 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16084 (pow_tonearest_test_data): New variable.
16085 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16086 (pow_towardzero_test_data): New variable.
16087 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16088 (pow_downward_test_data): New variable.
16089 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16090 (pow_upward_test_data): New variable.
16091 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16092 (remainder_test_data): New variable.
16093 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16094 (scalb_test_data): New variable.
16095 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16096 * sysdeps/i386/fpu/libm-test-ulps: Update.
16097
16098 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16099
16100 * math/libm-test.inc (fma_test): Use max_value instead of local
16101 variable fltmax.
16102 (nextafter_test): Likewise.
16103
16104 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16105 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16106 (acos_downward_test_data): New variable.
16107 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16108 (acos_upward_test_data): New variable.
16109 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16110 (acosh_test_data): New variable.
16111 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16112 (asin_test_data): New variable.
16113 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16114 (asin_tonearest_test_data): New variable.
16115 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16116 (asin_towardzero_test_data): New variable.
16117 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16118 (asin_downward_test_data): New variable.
16119 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16120 (asin_upward_test_data): New variable.
16121 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16122 (asinh_test_data): New variable.
16123 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16124 (atan_test_data): New variable.
16125 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16126 (atanh_test_data): New variable.
16127 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16128 (cbrt_test_data): New variable.
16129 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16130 (ceil_test_data): New variable.
16131 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16132 (cos_test_data): New variable.
16133 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16134 (cos_tonearest_test_data): New variable.
16135 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16136 (cos_towardzero_test_data): New variable.
16137 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16138 (cos_downward_test_data): New variable.
16139 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16140 (cos_upward_test_data): New variable.
16141 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16142 (cosh_test_data): New variable.
16143 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16144 (cosh_tonearest_test_data): New variable.
16145 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16146 (cosh_towardzero_test_data): New variable.
16147 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16148 (cosh_downward_test_data): New variable.
16149 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16150 (cosh_upward_test_data): New variable.
16151 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16152 (erf_test_data): New variable.
16153 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16154 (erfc_test_data): New variable.
16155 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16156 (exp_test_data): New variable.
16157 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16158 (exp_tonearest_test_data): New variable.
16159 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16160 (exp_towardzero_test_data): New variable.
16161 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16162 (exp_downward_test_data): New variable.
16163 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16164 (exp_upward_test_data): New variable.
16165 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16166 (exp10_test_data): New variable.
16167 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16168 (exp2_test_data): New variable.
16169 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16170 (expm1_test_data): New variable.
16171 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16172 (fabs_test_data): New variable.
16173 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16174 (floor_test_data): New variable.
16175 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16176 (j0_test_data): New variable.
16177 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16178 (j1_test_data): New variable.
16179 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16180 (log_test_data): New variable.
16181 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16182 (log10_test_data): New variable.
16183 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16184 (log1p_test_data): New variable.
16185 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16186 (log2_test_data): New variable.
16187 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16188 (logb_test_data): New variable.
16189 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16190 (logb_downward_test_data): New variable.
16191 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16192 (nearbyint_test_data): New variable.
16193 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16194 (rint_test_data): New variable.
16195 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16196 (rint_tonearest_test_data): New variable.
16197 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16198 (rint_towardzero_test_data): New variable.
16199 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16200 (rint_downward_test_data): New variable.
16201 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16202 (rint_upward_test_data): New variable.
16203 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16204 (round_test_data): New variable.
16205 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16206 (sin_test_data): New variable.
16207 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16208 (sin_tonearest_test_data): New variable.
16209 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16210 (sin_towardzero_test_data): New variable.
16211 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16212 (sin_downward_test_data): New variable.
16213 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16214 (sin_upward_test_data): New variable.
16215 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16216 (sinh_test_data): New variable.
16217 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16218 (sinh_tonearest_test_data): New variable.
16219 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16220 (sinh_towardzero_test_data): New variable.
16221 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16222 (sinh_downward_test_data): New variable.
16223 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16224 (sinh_upward_test_data): New variable.
16225 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16226 (sqrt_test_data): New variable.
16227 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16228 (tan_test_data): New variable.
16229 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16230 (tan_tonearest_test_data): New variable.
16231 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16232 (tan_towardzero_test_data): New variable.
16233 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16234 (tan_downward_test_data): New variable.
16235 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16236 (tan_upward_test_data): New variable.
16237 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16238 (tanh_test_data): New variable.
16239 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16240 (tgamma_test_data): New variable.
16241 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16242 (trunc_test_data): New variable.
16243 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16244 (y0_test_data): New variable.
16245 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16246 (y1_test_data): New variable.
16247 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16248 (significand_test_data): New variable.
16249 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16250
16251 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16252
16253 [BZ #12387]
16254 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16255
16256 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16257
16258 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16259
16260 2013-05-10 Andreas Jaeger <aj@suse.de>
16261
16262 [BZ #15448]
16263 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16264 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16265
16266 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16267
16268 * math/gen-libm-test.pl (adjust_arg): New function.
16269 (special_functions): Handle generating output in both functions
16270 and arrays.
16271 (parse_args): Likewise.
16272 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16273 $in_func argument to parse_args.
16274 * math/libm-test.inc (struct test_f_f_data): New type.
16275 (IF_ROUND_INIT_): New macro.
16276 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16277 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16278 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16279 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16280 (ROUND_RESTORE_): Likewise.
16281 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16282 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16283 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16284 (ROUND_RESTORE_FE_UPWARD): Likewise.
16285 (RUN_TEST_LOOP_f_f): New macro.
16286 (acos_test_data): New variable.
16287 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16288 (acos_tonearest_test_data): New variable.
16289 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16290
16291 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16292
16293 * benchtests/bench-skeleton.c (startup): Fix coding style.
16294
16295 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16296
16297 [BZ #6809]
16298 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16299 negative infinity argument.
16300 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16301 negative infinity argument.
16302 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16303 negative infinity argument.
16304 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16305 domain errors.
16306
16307 2013-05-10 Florian Weimer <fweimer@redhat.com>
16308
16309 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16310 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16311 * iconv/iconv_prog.c (main): Likewise.
16312 * locale/programs/charmap-dir.c (charmap_readdir)
16313 (fopen_uncompressed): Likewise.
16314 * locale/programs/locfile.c (siblings_uncached)
16315 (write_locale_data): Use lstat64 instead of lstat.
16316 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16317 stat.
16318
16319 2013-05-10 Andreas Jaeger <aj@suse.de>
16320
16321 [BZ #15395]
16322 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16323 localization.
16324 Include <locale.h>.
16325
16326 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16327
16328 * elf/dl-close.c (_dl_close_worker): Add comments.
16329
16330 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16331
16332 [BZ #15359]
16333 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16334 high part of pi/2.
16335 (__ieee754_rem_pio2l): Update comments.
16336
16337 [BZ #15429]
16338 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16339 high part of pi/2.
16340 (__ieee754_rem_pio2l): Update comments.
16341
16342 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16343 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16344
16345 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16346 M_PI_4l.
16347
16348 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16349 (M_PI_34_LOG10El): Likewise.
16350 (M_PI2_LOG10El): Likewise.
16351 (M_PI4_LOG10El): Likewise.
16352 (M_PI_LOG10El): Likewise.
16353
16354 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16355
16356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16357
16358 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16359
16360 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16361 (MINUS_ZERO_INIT): Likewise.
16362 (PLUS_INFTY_INIT): Likewise.
16363 (MINUS_INFTY_INIT): Likewise.
16364 (QNAN_VALUE_INIT): Likewise.
16365 (MAX_VALUE_INIT): Likewise.
16366 (MIN_VALUE_INIT): Likewise.
16367 (MIN_SUBNORM_VALUE_INIT): Likewise.
16368 (plus_zero): Initialize with PLUS_ZERO_INIT.
16369 (minus_zero): Initialize with MINUS_ZERO_INIT.
16370 (plus_infty): Initialize with PLUS_INFTY_INIT.
16371 (minus_infty): Initialize with MINUS_INFTY_INIT.
16372 (qnan_value): Initialize with QNAN_VALUE_INIT.
16373 (max_value): Initialize with MAX_VALUE_INIT.
16374 (min_value): Initialize with MIN_VALUE_INIT.
16375 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16376
16377 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16378 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16379 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16380 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16381
16382 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16383 (RUN_TEST_2_f): Likewise.
16384 (RUN_TEST_ff_f): Likewise.
16385 (RUN_TEST_fi_f): Likewise.
16386 (RUN_TEST_fl_f): Likewise.
16387 (RUN_TEST_fff_f): Likewise.
16388 (RUN_TEST_c_f): Likewise.
16389 (RUN_TEST_f_f1): Likewise.
16390 (RUN_TEST_fF_f1): Likewise.
16391 (RUN_TEST_fI_f1): Likewise.
16392 (RUN_TEST_ffI_f1): Likewise.
16393 (RUN_TEST_c_c): Likewise.
16394 (RUN_TEST_cc_c): Likewise.
16395 (RUN_TEST_f_i): Likewise.
16396 (RUN_TEST_f_i_tg): Likewise.
16397 (RUN_TEST_ff_i_tg): Likewise.
16398 (RUN_TEST_f_b): Likewise.
16399 (RUN_TEST_f_b_tg): Likewise.
16400 (RUN_TEST_f_l): Likewise.
16401 (RUN_TEST_f_L): Likewise.
16402 (RUN_TEST_sincos): Likewise.
16403 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16404 whether to show exceptions. Do not include ");\n" in return
16405 value.
16406 (special_functions): Output call to RUN_TEST_sincos instead of
16407 check_float calls. Update calls to new_test.
16408 (parse_args): Output call to single RUN_TEST_* macro instead of
16409 check_* calls and other assignments. Update calls to new_test.
16410
16411 [BZ #2546]
16412 [BZ #2560]
16413 [BZ #5159]
16414 [BZ #15426]
16415 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16416 input to result for tgamma overflow.
16417 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16418 (gamma_coeff): New variable.
16419 (NCOEFF): New macro.
16420 (gamma_positive): New function.
16421 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16422 underflow here. Use gamma_positive instead of exp (lgamma) for
16423 other arguments.
16424 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16425 (gamma_coeff): New variable.
16426 (NCOEFF): New macro.
16427 (gammaf_positive): New function.
16428 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16429 underflow here. Use gamma_positive instead of exp (lgamma) for
16430 other arguments.
16431 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16432 (gamma_coeff): New variable.
16433 (NCOEFF): New macro.
16434 (gammal_positive): New function.
16435 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16436 underflow here. Use gamma_positive instead of exp (lgamma) for
16437 other arguments.
16438 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16439 (gamma_coeff): New variable.
16440 (NCOEFF): New macro.
16441 (gammal_positive): New function.
16442 (__ieee754_gammal_r): Handle positive infinity, overflow and
16443 underflow here. Handle NaN the same as positive infinity. Remove
16444 check x < 0xffffffff for negative integers. Use gamma_positive
16445 instead of exp (lgamma) for other arguments.
16446 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16447 (gamma_coeff): New variable.
16448 (NCOEFF): New macro.
16449 (gammal_positive): New function.
16450 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16451 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16452 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16453 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16454 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16455 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16456 * sysdeps/generic/math_private.h (__gamma_productf): New
16457 prototype.
16458 (__gamma_product): Likewise.
16459 (__gamma_productl): Likewise.
16460 * math/Makefile (libm-calls): Add gamma_product.
16461 * math/libm-test.inc (tgamma_test): Add more tests.
16462 * sysdeps/i386/fpu/libm-test-ulps: Update.
16463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16464
16465 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16466
16467 * benchtests/bench-skeleton.c (main): Preheat CPU.
16468
16469 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16470
16471 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16472
16473 2013-05-07 Roland McGrath <roland@hack.frob.com>
16474
16475 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16476 and _dl_skip_args_internal.
16477
16478 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16479
16480 * manual/message.texi (Message Translation): Talk about users.
16481 Message to key mapping impacts design.
16482
16483 2013-05-06 Roland McGrath <roland@hack.frob.com>
16484
16485 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16486
16487 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16488
16489 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16490 * sysdeps/wordsize-64/glob64.c: ... here.
16491
16492 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16493 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16494 New macros.
16495
16496 * debug/getlogin_r_chk.c: Moved to ...
16497 * login/getlogin_r_chk.c: ... here.
16498 * debug/Makefile (routines): Move getlogin_r_chk to ...
16499 * login/Makefile (routines): ... here.
16500 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16501 * login/Versions (libc: GLIBC_2.4): ... here.
16502
16503 * io/poll.c (__poll): Renamed from poll.
16504 Add libc_hidden_def.
16505 (poll): Define as weak alias.
16506
16507 * debug/ptsname_r_chk.c: Moved to ...
16508 * login/ptsname_r_chk.c: ... here.
16509 * debug/Makefile (routines): Move ptsname_r_chk to ...
16510 * login/Makefile (routines): ... here.
16511 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16512 * login/Versions (libc: GLIBC_2.4): ... here.
16513
16514 * posix/getlogin.c: Moved to ...
16515 * login/getlogin.c: ... here.
16516 * posix/getlogin_r.c: Moved to ...
16517 * login/getlogin_r.c: ... here.
16518 * posix/getlogin_r.c: Moved to ...
16519 * login/getlogin_r.c: ... here.
16520 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16521 * login/Makefile (routines): ... here.
16522 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16523 * login/Versions (libc: GLIBC_2.0): ... here.
16524
16525 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16526 (setrlimit): Define as weak alias.
16527
16528 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16529 Call __ names for open, ftruncate, and close.
16530 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16531 (truncate): Define as weak alias.
16532
16533 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16534
16535 * math/gen-libm-test.pl (parse_args): Initialize x before each
16536 test of frexp, modf and remquo.
16537
16538 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16539 test signgam value.
16540
16541 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16542
16543 [BZ #15418]
16544 [BZ #15419]
16545 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16546 internal tests.
16547 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16548
16549 2013-05-06 Roland McGrath <roland@hack.frob.com>
16550
16551 * elf/dl-writev.h: New file.
16552 * elf/dl-misc.c: Include it.
16553 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16554 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16555
16556 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16557
16558 * math/libm-test.inc (noXFails): Remove variable.
16559 (noXPasses): Likewise.
16560 (BUILD_COMPLEX_INT): Remove macro.
16561 (print_screen): Remove xfail argument.
16562 (print_screen_max_error): Likewise.
16563 (update_stats): Likewise.
16564 (print_max_error): Likewise. Update calls to other affected
16565 functions.
16566 (print_complex_max_error): Likewise.
16567 (test_single_exception): Update calls to print_screen.
16568 (test_single_errno): Likewise.
16569 (check_float_internal): Remove xfail argument. Update calls to
16570 other affected functions.
16571 (check_float): Likewise.
16572 (check_complex): Likewise.
16573 (check_int): Likewise.
16574 (check_long): Likewise.
16575 (check_bool): Likewise.
16576 (check_longlong): Likewise.
16577 (main): Don't print noXFails and noXPasses.
16578 * math/gen-libm-test.pl (top level): Don't mention expected
16579 failure handling in comment.
16580 (new_test): Don't handle expected failures.
16581 (parse_args): Don't mention expected failure handling in comment.
16582 (generate_testfile): Don't handle expected failures.
16583 (parse_ulps): Likewise.
16584 (print_ulps_file): Likewise.
16585 (get_failure): Remove function.
16586 (output_test): Don't handle expected failures.
16587 * make/README.libm-test: Don't mention expected failure handling.
16588
16589 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16590 (minus_zero): Likewise.
16591 (plus_infty): Likewise.
16592 (minus_infty): Likewise.
16593 (qnan_value): Likewise.
16594 (max_value): Likewise.
16595 (min_value): Likewise.
16596 (min_subnorm_value): Likewise.
16597 (initialize): Do not initialize those variables dynamically.
16598
16599 2013-05-03 Roland McGrath <roland@hack.frob.com>
16600
16601 * io/open.c (__open_2): Moved to ...
16602 * io/open_2.c: ... this new file.
16603 * io/open64.c (__open64_2): Moved to ...
16604 * io/open64_2.c: ... this new file.
16605 * io/openat.c (__openat_2): Moved to ...
16606 * io/openat_2.c: ... this new file.
16607 * io/openat64.c (__openat64_2): Moved to ...
16608 * io/openat64_2.c: ... this new file.
16609 * io/Makefile (routines): Add them.
16610 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16611 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16612 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16613 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16614 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16615 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16616 (__openat64): Add hidden_ver.
16617 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16618 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16619
16620 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16621 Separately conditionalize setting of GLRO(dl_sysinfo) so
16622 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16623 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16624
16625 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16626
16627 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16628 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16629 definition.
16630 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16631 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16632 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16633 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16634 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16635
16636 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16637
16638 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16639 test signgam value.
16640
16641 * math/libm-test.inc (hypot_test): Do not use
16642 IGNORE_ZERO_INF_SIGN.
16643
16644 2013-05-03 Andreas Jaeger <aj@suse.de>
16645
16646 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16647 Linux 3.9.
16648 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16649 (PF_MAX): Adjust for VSOCK change.
16650
16651 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16652
16653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16654
16655 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16656
16657 [BZ #15264]
16658 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16659 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16660 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16661
16662 2013-05-02 David S. Miller <davem@davemloft.net>
16663
16664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16665
16666 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16667
16668 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16669
16670 2013-05-01 Roland McGrath <roland@hack.frob.com>
16671
16672 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16673
16674 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16675
16676 [BZ #14952]
16677 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16678 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16679 Use __attribute__ ((__gnu_inline__)).
16680 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16681 Don't use __attribute__ ((__gnu_inline__)).
16682
16683 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16684
16685 [BZ #15423]
16686 * math/s_catan.c (__catan): Handle small real or imaginary part of
16687 input specially to avoid spurious underflow.
16688 * math/s_catanf.c (__catanf): Likewise.
16689 * math/s_catanh.c (__catanh): Likewise.
16690 * math/s_catanhf.c (__catanhf): Likewise.
16691 * math/s_catanhl.c (__catanhl): Likewise.
16692 * math/s_catanl.c (__catanl): Likewise.
16693 * math/libm-test.inc (catan_test): Add more tests.
16694 (catanh_test): Likewise.
16695 * sysdeps/i386/fpu/libm-test-ulps: Update.
16696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16697
16698 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16699
16700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16701
16702 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16703
16704 [BZ #15416]
16705 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16706 accurately for denominator in atan2.
16707 * math/s_catanf.c (__catanf): Likewise.
16708 * math/s_catanh.c (__catanh): Likewise.
16709 * math/s_catanhf.c (__catanhf): Likewise.
16710 * math/s_catanhl.c (__catanhl): Likewise.
16711 * math/s_catanl.c (__catanl): Likewise.
16712 * math/libm-test.inc (catan_test): Add more tests.
16713 (catanh_test): Likewise.
16714 * sysdeps/i386/fpu/libm-test-ulps: Update.
16715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16716
16717 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16718
16719 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16720
16721 * benchtests/Makefile (bench): Remove slow benchmarks.
16722 * benchtests/atan-inputs: Add slow benchmark inputs.
16723 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16724 (BENCH_FUNC): Accept variant offset.
16725 (VARIANT): Define.
16726 * benchtests/bench-skeleton.c (main): Run benchmark for each
16727 variant.
16728 * benchtests/cos-inputs: Add slow benchmark inputs.
16729 * benchtests/exp-inputs: Likewise.
16730 * benchtests/pow-inputs: Likewise.
16731 * benchtests/sin-inputs: Likewise.
16732 * benchtests/slowatan-inputs: Remove.
16733 * benchtests/slowatan.c: Remove.
16734 * benchtests/slowcos-inputs: Remove.
16735 * benchtests/slowcos.c: Remove.
16736 * benchtests/slowexp-inputs: Remove.
16737 * benchtests/slowexp.c: Remove.
16738 * benchtests/slowpow-inputs: Remove.
16739 * benchtests/slowpow.c: Remove.
16740 * benchtests/slowsin-inputs: Remove.
16741 * benchtests/slowsin.c: Remove.
16742 * benchtests/slowtan-inputs: Remove.
16743 * benchtests/slowtan.c: Remove.
16744 * benchtests/tan-inputs: Add slow benchmark inputs.
16745 * scripts/bench.pl: Parse comments and directives.
16746
16747 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16748 in CPPFLAGS.
16749 ($(objpfx)bench-%.c): Remove *-ITER.
16750 * benchtests/bench-modf.c: Remove definition of ITER.
16751 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16752 (main): Loop for DURATION seconds instead of fixed number of
16753 iterations.
16754 * scripts/bench.pl: Don't expect iterations in parameters.
16755
16756 2013-04-29 Roland McGrath <roland@hack.frob.com>
16757
16758 * io/fchdir.c (__fchdir): Renamed from fchdir.
16759 (fchdir): Define as weak alias.
16760
16761 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16762
16763 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16764 (ERRNO_EDOM): Likewise.
16765 (ERRNO_ERANGE): Likewise.
16766 (noErrnoTests): New variable.
16767 (init_max_error): Set errno to 0.
16768 (test_single_errno): New function.
16769 (test_errno): Likewise.
16770 (check_float_internal): Call test_errno. Set errno to 0.
16771 (check_complex): Refer to errno tests in comment.
16772 (check_int): Call test_errno. Set errno to 0.
16773 (check_long): Likewise.
16774 (check_bool): Likewise.
16775 (check_longlong): Likewise.
16776 (cos_test): Use ERRNO_* flags for errno tests instead of
16777 check_int.
16778 (expm1_test): Likewise.
16779 (fmod_test): Likewise.
16780 (ilogb_test): Likewise.
16781 (lgamma_test): Likewise.
16782 (pow_test): Likewise.
16783 (remainder_test): Likewise.
16784 (sin_test): Likewise.
16785 (tan_test): Likewise.
16786 (yn_test): Likewise.
16787 (initialize): Set errno to 0.
16788 (main): Print number of errno tests.
16789 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16790
16791 2013-04-29 Andreas Jaeger <aj@suse.de>
16792
16793 [BZ #15084]
16794 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16795 and RES_USEVC.
16796
16797 [BZ #15085]
16798 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16799 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16800 unimplemented.
16801
16802 [BZ #15380]
16803 * stdlib/random.c (__initstate): Return NULL if
16804 __initstate fails.
16805
16806 [BZ #15086]
16807 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16808 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16809 RES_SNGLKUPREOP.
16810
16811 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16812
16813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16814
16815 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16816
16817 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16818 of individual tests.
16819 (casin_test): Likewise.
16820 (casinh_test): Likewise.
16821
16822 2013-04-27 Joseph Myers <joseph@codesourcery.com>
16823
16824 [BZ #15409]
16825 * math/s_catan.c (__catan): Handle arguments with large real or
16826 imaginary part separately without squaring.
16827 * math/s_catanf.c (__catanf): Likewise.
16828 * math/s_catanh.c (__catanh): Likewise.
16829 * math/s_catanhf.c (__catanhf): Likewise.
16830 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16831 and redefine.
16832 (__catanhl): Handle arguments with large real or imaginary part
16833 separately without squaring.
16834 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16835 and redefine.
16836 (__catanl): Handle arguments with large real or imaginary part
16837 separately without squaring.
16838 * math/libm-test.inc (catan_test): Add more tests.
16839 (catanh_test): Likewise.
16840 * sysdeps/i386/fpu/libm-test-ulps: Update.
16841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16842
16843 2013-04-27 Andreas Jaeger <aj@suse.de>
16844
16845 [BZ #15007]
16846 * stdlib/stdlib.h: Update guards for qecvt.
16847 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16848 <stdlib.h>.
16849
16850 2013-04-27 Allan McRae <allan@archlinux.org>
16851
16852 * sysdeps/i386/fpu/libm-test-ulps: Update.
16853
16854 2013-04-26 Joseph Myers <joseph@codesourcery.com>
16855
16856 [BZ #15406]
16857 * math/s_catan.c: Include <float.h>.
16858 (__catan): Ensure underflow exception occurs for underflowed
16859 result.
16860 * math/s_catanf.c: Include <float.h>.
16861 (__catanf): Ensure underflow exception occurs for underflowed
16862 result.
16863 * math/s_catanh.c: Include <float.h>.
16864 (__catanh): Ensure underflow exception occurs for underflowed
16865 result.
16866 * math/s_catanhf.c: Include <float.h>.
16867 (__catanhf): Ensure underflow exception occurs for underflowed
16868 result.
16869 * math/s_catanhl.c: Include <float.h>.
16870 (__catanhl): Ensure underflow exception occurs for underflowed
16871 result.
16872 * math/s_catanl.c: Include <float.h>.
16873 (__catanl): Ensure underflow exception occurs for underflowed
16874 result.
16875 * math/libm-test.inc (catan_test): Add more tests.
16876 (catanh_test): Likewise.
16877
16878 [BZ #15405]
16879 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16880 underflowed result.
16881 * math/s_ccoshf.c (__ccoshf): Likewise.
16882 * math/s_ccoshl.c (__ccoshl): Likewise.
16883 * math/s_csin.c (__csin): Likewise.
16884 * math/s_csinf.c (__csinf): Likewise.
16885 * math/s_csinh.c (__csinh): Likewise.
16886 * math/s_csinhf.c (__csinhf): Likewise.
16887 * math/s_csinhl.c (__csinhl): Likewise.
16888 * math/s_csinl.c (__csinl): Likewise.
16889 * math/libm-test.inc (ccos_test): Add more tests.
16890 (ccosh_test): Likewise.
16891 (csin_test): Likewise.
16892 (csinh_test): Likewise.
16893
16894 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16895
16896 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16897 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16898 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16899 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16900 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16901 powerpc/power5+/fpu folders.
16902 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16903
16904
16905 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16906
16907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16908
16909 2013-04-25 Joseph Myers <joseph@codesourcery.com>
16910
16911 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16912 additions to variable.
16913 [$(config-machine) = x86_64] (modules-names): Likewise.
16914 ($(objpfx)tst-audit3): Remove dependency.
16915 ($(objpfx)tst-audit3.out): Likewise.
16916 ($(objpfx)tst-audit4): Likewise.
16917 ($(objpfx)tst-audit4.out): Likewise.
16918 ($(objpfx)tst-audit5): Likewise.
16919 ($(objpfx)tst-audit5.out): Likewise.
16920 ($(objpfx)tst-audit6): Likewise.
16921 ($(objpfx)tst-audit6.out): Likewise.
16922 ($(objpfx)tst-audit7): Likewise.
16923 ($(objpfx)tst-audit7.out): Likewise.
16924 (tst-audit3-ENV): Remove variable.
16925 (tst-audit4-ENV): Likewise.
16926 (tst-audit5-ENV): Likewise.
16927 (tst-audit6-ENV): Likewise.
16928 (tst-audit7-ENV): Likewise.
16929 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16930 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16931 addition to variable.
16932 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16933 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16934 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16935 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16936 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16937 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16938 tst-audit3, tst-audit4 and tst-audit5.
16939 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16940 tst-audit6 and tst-audit7.
16941 [$(subdir) = elf] (modules-names): Add audit modules for those
16942 tests.
16943 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16944 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16945 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16946 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16947 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16948 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16949 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16950 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16951 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16952 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16953 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16954 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16955 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16956 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16957 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16958 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16959 Likewise.
16960 [$(subdir) = elf && $(config-cflags-avx) = yes]
16961 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16962 [$(subdir) = elf && $(config-cflags-avx) = yes]
16963 (CFLAGS-tst-auditmod4a.c): Likewise.
16964 [$(subdir) = elf && $(config-cflags-avx) = yes]
16965 (CFLAGS-tst-auditmod4b.c): Likewise.
16966 [$(subdir) = elf && $(config-cflags-avx) = yes]
16967 (CFLAGS-tst-auditmod6b.c): Likewise.
16968 [$(subdir) = elf && $(config-cflags-avx) = yes]
16969 (CFLAGS-tst-auditmod6c.c): Likewise.
16970 [$(subdir) = elf && $(config-cflags-avx) = yes]
16971 (CFLAGS-tst-auditmod7b.c): Likewise.
16972 * elf/tst-audit3.c: Move to ...
16973 * sysdeps/x86_64/tst-audit3.c: ... here.
16974 * elf/tst-audit4.c: Move to ...
16975 * sysdeps/x86_64/tst-audit4.c: ... here.
16976 * elf/tst-audit5.c: Move to ...
16977 * sysdeps/x86_64/tst-audit5.c: ... here.
16978 * elf/tst-audit6.c: Move to ...
16979 * sysdeps/x86_64/tst-audit6.c: ... here.
16980 * elf/tst-audit7.c: Move to ...
16981 * sysdeps/x86_64/tst-audit7.c: ... here.
16982 * elf/tst-auditmod3a.c: Move to ...
16983 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16984 * elf/tst-auditmod3b.c: Move to ...
16985 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16986 * elf/tst-auditmod4a.c: Move to ...
16987 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16988 * elf/tst-auditmod4b.c: Move to ...
16989 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16990 * elf/tst-auditmod5a.c: Move to ...
16991 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16992 * elf/tst-auditmod5b.c: Move to ...
16993 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16994 * elf/tst-auditmod6a.c: Move to ...
16995 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16996 * elf/tst-auditmod6b.c: Move to ...
16997 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16998 * elf/tst-auditmod6c.c: Move to ...
16999 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17000 * elf/tst-auditmod7a.c: Move to ...
17001 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17002 * elf/tst-auditmod7b.c: Move to ...
17003 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17004
17005 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17006
17007 [BZ #15366]
17008 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17009 define unconditionally.
17010 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17011 define unconditionally.
17012 (INT8_C, INT16_C, etc.): Likewise.
17013
17014 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17015
17016 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17017 __ehdr_start with hidden visibility.
17018
17019 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17020
17021 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17022
17023 * math/libm-test.inc (cos_test): Use accurate hex constants.
17024 (sincost_test): Likewise.
17025
17026 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17027
17028 * math/libm-test.inc (catan_test): Add more tests.
17029 (catanh_test): Likewise.
17030
17031 * math/s_catanf.c (__catanf): Use suffixed floating-point
17032 constants.
17033 * math/s_catanhf.c (__catanhf): Likewise.
17034 * math/s_catanhl.c (__catanhl): Likewise.
17035 * math/s_catanl.c (__catanl): Likewise.
17036
17037 [BZ #15394]
17038 * math/s_catan.c (__catan): Calculate imaginary part of result
17039 with log1p not log unless computing log of number close to 0.
17040 * math/s_catanf.c (__catanf): Likewise.
17041 * math/s_catanl.c (__catanl): Likewise.
17042 * math/s_catanh.c (__catanh): Calculate real part of result with
17043 log1p not log unless computing log of number close to 0.
17044 * math/s_catanhf.c (__catanhf): Likewise.
17045 * math/s_catanhl.c (__catanhl): Likewise.
17046 * math/libm-test.inc (catan_test): Add more tests.
17047 (catanh_test): Likewise.
17048 * sysdeps/i386/fpu/libm-test-ulps: Update.
17049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17050
17051 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17052
17053 * benchtests/Makefile: Mention files in which fast and slow
17054 paths of math functions are implemented.
17055
17056 2013-04-23 Roland McGrath <roland@hack.frob.com>
17057
17058 * sysdeps/posix/timespec_get.c: New file.
17059
17060 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17061
17062 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17063 POWER.
17064 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17065 for POWER.
17066 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17067 powerpc/power5/fpu folders.
17068 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17069 * benchtests/Makefile: Add modf testcase.
17070 * benchtests/bench-modf.c: New file: Benchmark test for mo
17071
17072 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17073
17074 [BZ #14888]
17075 * time/Makefile (tests): Add tst-strptime-whitespace.
17076 * time/strptime_l.c (get_number): Use ISSPACE.
17077 (__strptime_internal): Likewise.
17078 * time/tst-strptime-whitespace.c: New test case.
17079
17080 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17081
17082 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17083 member.
17084 (_nss_files_init): Set it here.
17085
17086 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17087
17088 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17089 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17090 unsigned.
17091
17092 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17093
17094 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17095
17096 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17097
17098 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17099 size just once.
17100
17101 2013-04-21 David S. Miller <davem@davemloft.net>
17102
17103 * po/ru.po: Update Russion translation from translation project.
17104
17105 2013-04-17 Adam Conrad <adconrad@0c3.net>
17106
17107 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17108 and setfsgid.
17109
17110 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17111
17112 * configure.in: Remove i386 configure warning. Remove i386 case.
17113 * configure: Regenerate.
17114 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17115 Add example to error message.
17116 * sysdeps/i386/configure: Regenerate.
17117
17118 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17119
17120 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17121 slowtan.
17122 * benchtests/cos-inputs: New file.
17123 * benchtests/slowcos-inputs: New file.
17124 * benchtests/slowcos.c: New file.
17125 * benchtests/slowtan-inputs: New file.
17126 * benchtests/slowtan.c: New file.
17127 * benchtests/tan-inputs: New file.
17128
17129 2013-04-16 Roland McGrath <roland@hack.frob.com>
17130
17131 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17132 considered kosher.
17133
17134 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17135
17136 * benchtests/Makefile: Include cppflags-iterator.mk to add
17137 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17138
17139 * Makefile.in (bench-clean): New target.
17140 * benchtests/Makefile (bench-clean): Likewise.
17141
17142 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17143
17144 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17145
17146 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17147
17148 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17149
17150 2013-04-15 Andreas Schwab <schwab@suse.de>
17151
17152 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17153 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17154 * nscd/pwdcache.c (cache_addpw): Likewise.
17155 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17156 more than recsize.
17157
17158 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17159
17160 * benchtests/Makefile (bench): Write all output to
17161 bench-out.tmp together.
17162
17163 2013-04-15 Andreas Schwab <schwab@suse.de>
17164
17165 * nscd/nscd.c (main): Don't fork again after closing files.
17166
17167 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17168
17169 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17170
17171 * benchtests/Rules (bench-deps): Collect dependencies into a
17172 single variable. Add Makefile to dependencies.
17173 ($(objpfx)bench-%.c): Depend on bench-deps.
17174
17175 2013-04-12 Roland McGrath <roland@hack.frob.com>
17176 Xavier Roche <roche+kml2@exalead.com>
17177
17178 [BZ #15361]
17179 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17180 just that it's a file descriptor.
17181 * manual/llio.texi (Synchronizing AIO Operations): Update description
17182 for EBADF error from aio_fsync.
17183
17184 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17185
17186 * Rules (bench): Move target definition...
17187 * benchtests/Makefile: ... here.
17188
17189 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17190
17191 * math/libm-test.inc (cos_test): Fix PI/2 test.
17192 (sincos_test): Likewise.
17193 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17194 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17195
17196 2013-04-11 Andreas Schwab <schwab@suse.de>
17197
17198 [BZ #13988]
17199 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17200 accept exponent character only when digits were seen.
17201 * stdio-common/Makefile (tests): Add bug26.
17202 * stdio-common/bug26.c: New file.
17203
17204 [BZ #14293]
17205 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17206 non-freeable.
17207
17208 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17209
17210 * Makeconfig (rtld-prefix): Define built linker prefix.
17211 * Rules (run-bench): Use it.
17212 * math/Makefile (run-regen-ulps): Likewise.
17213
17214 * Rules (bench): Remove eval.
17215
17216 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17217 Roland McGrath <roland@hack.frob.com>
17218 Ondrej Bilka <neleai@seznam.cz>
17219
17220 [BZ #15346]
17221 * time/getdate.c: Include ctype.h and alloca.h.
17222 (__getdate_r): Trim leading and trailing spaces of input.
17223 * time/tst-getdate.c (tests): Add tests with leading and
17224 trailing spaces.
17225
17226 2013-04-08 Roland McGrath <roland@hack.frob.com>
17227
17228 [BZ #14280]
17229 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17230 when computing value.
17231
17232 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17233
17234 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17235 Use testrun.sh to run libm tests.
17236
17237 [BZ #15309]
17238 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17239
17240 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17241
17242 [BZ #15264]
17243 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17244
17245 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17246
17247 * Makefile.in (regen-ulps): New target.
17248 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17249 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17250 [ifneq (no,$(PERL)] (regen-ulps): New target.
17251 [ifeq (no,$(PERL)] (regen-ulps): New target.
17252 * math/libm-test.inc (ulps_file_name): Define.
17253 (output_dir): New variable.
17254 (options): Add "output-dir" option.
17255 (parse_opt): Handle 'o' case.
17256 (main): If output_dir is non-NULL use it as a prefix
17257 otherwise use "".
17258 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17259
17260 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17261
17262 [BZ #10060, #10062]
17263 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17264 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17265 fail configure if __sync_val_compare_and_swap is not inlined.
17266 * sysdeps/i386/configure: Regenerate.
17267 * configure.in: Build for i686 when configured for i386.
17268 * configure: Regenerate.
17269 * README: Remove i386 reference.
17270
17271 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17272
17273 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17274 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17275
17276 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17277
17278 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17279 (lmsnanval): New variables.
17280 (F): Add conversion tests.
17281 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17282 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17283
17284 * stdio-common/tstdiomisc.c (F): Properly collect individual
17285 tests' results.
17286
17287 [BZ #14686, #15336]
17288 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17289 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17290 Instead, use input NaN values or generate a qNaN by arithmetic
17291 operation. Also fix bugs to comply with the standard.
17292 * math/libm-test.inc (remainder_test): Add more tests.
17293
17294 [BZ #15335, #15342]
17295 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17296 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17297 input NaN values or generate a qNaN by arithmetic operation.
17298
17299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17300 unreachable code.
17301
17302 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17303 definitions.
17304
17305 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17306
17307 [BZ #14478]
17308 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17309 underflowed result.
17310 * math/s_cexpf.c (__cexpf): Likewise.
17311 * math/s_cexpl.c (__cexpl): Likewise.
17312 * math/libm-test.inc (cexp_test): Add more tests.
17313
17314 2013-04-03 Andreas Schwab <schwab@suse.de>
17315
17316 [BZ #15330]
17317 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17318 order arrays from heap if bigger than alloca cutoff.
17319
17320 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17321
17322 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17323 (SNAN_TESTS_double): Refer to GCC PR56831.
17324 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17325 GCC PR56828.
17326
17327 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17328
17329 * Rules (bench): Move bench.out after the run is complete.
17330
17331 * Rules (bench): Echo currently running benchmark.
17332
17333 * benchtests/Makefile (bench): Add atan and slowatan.
17334 * benchtests/atan-inputs: New file.
17335 * benchtests/slowatan-inputs: New file.
17336 * benchtests/slowatan.c: New file.
17337
17338 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17339 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17340 its value.
17341
17342 [BZ #15305]
17343 * sysdeps/unix/sysv/linux/kernel-features.h
17344 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17345 __ASSUME_XFS_RESTRICTED_CHOWN.
17346 * sysdeps/unix/sysv/linux/pathconf.c
17347 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17348 Save and restore errno.
17349
17350 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17351
17352 [BZ #15327]
17353 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17354 arguments using __kernel_casinh.
17355 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17356 arguments using __kernel_casinhf.
17357 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17358 arguments using __kernel_casinhl.
17359 * math/libm-test.inc (cacosh_test): Add more tests.
17360 * sysdeps/i386/fpu/libm-test-ulps: Update.
17361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17362
17363 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17364
17365 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17367
17368 * bench/Makefile (bench): Add sin and slowsin.
17369 * benchtests/sin-inputs: New file.
17370 * benchtests/slowsin-inputs: New file.
17371 * benchtests/slowsin.c: New file.
17372
17373 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17374 (bench): Add slowexp and slowpow.
17375 (exp-ITER): Increase iterations.
17376 (pow-ITER): Likewise.
17377 * benchtests/exp-inputs: Change input.
17378 * benchtests/pow-inputs: Likewise.
17379 * benchtests/slowexp-inputs: New file.
17380 * benchtests/slowexp.c: New file.
17381 * benchtests/slowpow-inputs: New file.
17382 * benchtests/slowpow.c: New file.
17383
17384 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17385
17386 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17387 instructions.
17388 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17389 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17390 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17391 * benchtests/Makefile: Add rint benchtest.
17392 * benchtests/rint-inputs: Input for rint benchtest.
17393
17394 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17395
17396 * Versions.def (libm): Add GLIBC_2.18.
17397 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17398 hidden libm prototypes.
17399 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17400 * math/Makefile (libm-calls): Add s_issignaling.
17401 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17402 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17403 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17404 declaration.
17405 * math/math.h [__USE_GNU] (issignaling): New macro.
17406 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17407 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17408 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17409 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17410 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17411 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17412 * manual/arith.texi (issignaling): New section.
17413 * manual/libm-err-tab.pl (@all_functions): Update comment.
17414 * math/gen-libm-test.pl (parse_args): Apply special handling for
17415 issignaling.
17416 * math/libm-test.inc (print_float, issignaling_test): New
17417 functions.
17418 (check_float_internal): Add issignaling checks.
17419 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17420 default definition.
17421 * sysdeps/powerpc/math-tests.h: New file.
17422 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17423 tests.
17424 * math/test-snan.c (TEST_FUNC): Likewise.
17425
17426 2013-03-30 David S. Miller <davem@davemloft.net>
17427
17428 * po/de.po: Update from translation team.
17429
17430 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17431
17432 [BZ #10357]
17433 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17434 imaginary part less than 1.0 and real part less than 0.5
17435 specially.
17436 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17437 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17438 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17439 (cacos_test): Add more tests.
17440 (casin_test): Likewise.
17441 (casinh_test): Likewise.
17442 * sysdeps/i386/fpu/libm-test-ulps: Update.
17443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17444
17445 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17446
17447 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17448 ONE with its value.
17449
17450 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17451 (__pow_mp): Replace ONE and MONE with their values.
17452 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17453 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17454 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17455 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17456 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17457 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17458
17459 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17460
17461 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17462 (__pow_mp): Replace ZERO and MZERO with their values.
17463 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17464 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17465 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17466 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17467 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17468 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17469 (__sqr): Likewise.
17470
17471 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17472
17473 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17474
17475 2013-03-28 Roland McGrath <roland@hack.frob.com>
17476
17477 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17478 Declare with __attribute__ ((weak)).
17479 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17480 Call __call_tls_dtors only if it's not NULL.
17481
17482 2013-03-28 Roland McGrath <roland@hack.frob.com>
17483
17484 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17485 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17486 magic __ehdr_start linker symbol if it's defined.
17487 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17488 them up here if it was already done.
17489
17490 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17491 (_dl_aux_init): Use const in cast when setting it.
17492 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17493 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17494 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17495
17496 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17497 Declare them here.
17498 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17499 * csu/libc-tls.c: Nor here.
17500 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17501
17502 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17503 (__libc_message): Never call vsyslog.
17504
17505 2013-03-28 Alan Modra <amodra@gmail.com>
17506
17507 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17508 Define as empty.
17509 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17510 Likewise.
17511
17512 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17513
17514 [BZ #15214]
17515 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17516 underflow.
17517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17518
17519 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17520
17521 [BZ #15304]
17522 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17523 Don't add gid passed as argument.
17524
17525 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17526
17527 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17528
17529 [BZ #15307]
17530 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17531 imaginary part between 1.0 and 1.5 and real part less than 0.5
17532 specially.
17533 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17534 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17535 * math/libm-test.inc (cacos_test): Add more tests.
17536 (casin_test): Likewise.
17537 (casinh_test): Likewise.
17538 * sysdeps/i386/fpu/libm-test-ulps: Update.
17539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17540
17541 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17542
17543 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17544 constants.
17545 (norm): Likewise.
17546 (denorm): Likewise.
17547 (__dbl_mp): Likewise.
17548 (add_magnitudes): Likewise.
17549 (sub_magnitudes): Likewise.
17550 (__add): Likewise.
17551 (__sub): Likewise.
17552 (__mul): Likewise.
17553 (__sqr): Likewise.
17554 (__inv): Likewise.
17555 (__dvd): Likewise.
17556
17557 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17558 commented code.
17559 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17560 (__dubcos): Likewise.
17561 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17562 (__ieee754_acos): Likewise.
17563 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17564 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17565 (__exp1): Likewise.
17566 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17567 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17568 (log1): Likewise.
17569 (my_log2): Likewise.
17570 (checkint): Likewise.
17571 * sysdeps/ieee754/dbl-64/e_remainder.c
17572 (__ieee754_remainder): Likewise.
17573 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17574 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17575 (bsloww): Likewise.
17576 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17577
17578 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17579 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17580 MANTISSA_STORE_T to store computations on mantissa. Use
17581 macros for rounding and division.
17582 (denorm): Likewise.
17583 (__dbl_mp): Likewise.
17584 (add_magnitudes): Likewise.
17585 (sub_magnitudes): Likewise.
17586 (__mul): Likewise.
17587 (__sqr): Likewise.
17588 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17589 powers of two in terms of TWOPOW macro.
17590 (mp_no): Make type of mantissa as MANTISSA_T.
17591 [!RADIXI]: Define RADIXI.
17592 [!TWO52]: Define TWO52.
17593 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17594
17595 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17596
17597 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17598 llroundl symbol when building for PPC32.
17599
17600 2013-03-24 Mark H Weaver <mhw@netris.org>
17601
17602 * manual/arith.texi (Normalization Functions): Fix prototypes for
17603 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17604
17605 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17606
17607 [BZ #13889]
17608 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17609 high value to check if expl overflow.
17610 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17611 to check for underflow and overflow.
17612 * math/libm-test.inc: Add exp test.
17613
17614 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17615
17616 [BZ #11120]
17617 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17618 with NOT_IN_libc.
17619
17620 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17621
17622 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17623 symbol.
17624
17625 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17626
17627 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17628 wrap blocks consisting of several statements.
17629
17630 * sysdeps/generic/math-tests.h: New file.
17631 * sysdeps/i386/fpu/math-tests.h: Likewise.
17632 * math/test-snan.c: Include it.
17633 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17634
17635 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17636
17637 [BZ #15285]
17638 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17639 (__ieee754_j0l): Do not improve calculations using cos of twice
17640 input for inputs above LDBL_MAX / 2.0L.
17641 (__ieee754_y0l): Likewise.
17642 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17643 (__ieee754_j1l): Do not improve calculations using cos of twice
17644 input for inputs above LDBL_MAX / 2.0L.
17645 (__ieee754_y1l): Likewise.
17646 * math/libm-test.inc (j0_test): Add another test.
17647 (j1_test): Likewise.
17648 (y0_test): Likewise.
17649 (y1_test): Likewise.
17650 * sysdeps/i386/fpu/libm-test-ulps: Update.
17651
17652 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17653
17654 * Rules ($(objpfx)bench-%.c): Include code from a C source
17655 file.
17656
17657 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17658
17659 [BZ #15287]
17660 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17661 imaginary part 1.0 and real part less than 0.5 specially.
17662 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17663 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17664 * math/libm-test.inc (cacos_test): Add more tests.
17665 (casin_test): Likewise.
17666 (casinh_test): Likewise.
17667 * sysdeps/i386/fpu/libm-test-ulps: Update.
17668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17669
17670 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17671
17672 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17673 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17674
17675 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17676
17677 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17678 * config.make.in (config-cflags-sse4): Remove variable.
17679 (config-cflags-avx): Likewise.
17680 (config-cflags-sse2avx): Likewise.
17681 (config-cflags-novzeroupper): Likewise.
17682 (config-asflags-i686): Likewise.
17683 (have-mfma4): Likewise.
17684 (have-as-vis3): Likewise.
17685 (MIG): Likewise.
17686 * configure.in (MIG): Do not AC_SUBST.
17687 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17688 (libc_cv_cc_sse4): Do not AC_SUBST.
17689 (libc_cv_cc_avx): Likewise.
17690 (libc_cv_cc_sse2avx): Likewise.
17691 (libc_cv_cc_novzeroupper): Likewise.
17692 (libc_cv_cc_fma4): Likewise.
17693 (libc_cv_as_i686): Likewise.
17694 (libc_cv_sparc_as_vis3): Likewise.
17695 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17696 LIBC_CONFIG_VAR.
17697 (config-asflags-i686): Likewise.
17698 (config-cflags-avx): Likewise.
17699 (config-cflags-sse2avx): Likewise.
17700 (have-mfma4): Likewise.
17701 (config-cflags-novzeroupper): Likewise.
17702 * sysdeps/mach/configure.in (MIG): Likewise.
17703 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17704 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17705 LIBC_CONFIG_VAR.
17706 (config-cflags-avx): Likewise.
17707 (config-cflags-sse2avx): Likewise.
17708 (have-mfma4): Likewise.
17709 (config-cflags-novzeroupper): Likewise.
17710 * configure: Regenerated.
17711 * sysdeps/i386/configure: Likewise.
17712 * sysdeps/mach/configure: Likewise.
17713 * sysdeps/sparc/configure: Likewise.
17714 * sysdeps/x86_64/configure: Likewise.
17715
17716 2013-03-20 Roland McGrath <roland@hack.frob.com>
17717
17718 [BZ #14812]
17719 * locale/programs/localedef.c (options): Put N_ translation marker
17720 on argument names, not just descriptions.
17721
17722 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17723
17724 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17725
17726 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17727
17728 [BZ #14176]
17729 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17730
17731 2013-03-19 Roland McGrath <roland@hack.frob.com>
17732
17733 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17734 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17735 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17736 [!BEFORE_ABORT] (before_abort): New function.
17737 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17738 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17739 (writev_for_fatal): New function.
17740 (WRITEV_FOR_FATAL): New macro; call that.
17741 (backtrace_and_maps): New function.
17742 (BEFORE_ABORT): New macro; call that.
17743 (struct str_list): Type removed.
17744 (__libc_message, __libc_fatal): Functions removed.
17745 Include <sysdeps/posix/libc_fatal.c> instead.
17746
17747 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17748
17749 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17750 constants.
17751 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17752 double constants.
17753
17754 2013-03-19 Andreas Schwab <schwab@suse.de>
17755
17756 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17757 * sysdeps/gnu/configure: Regenerate.
17758
17759 * configure.in: Substitute libc_cv_rtlddir.
17760 * configure: Regenerate.
17761 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17762 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17763 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17764 * elf/Makefile (install-others, CFLAGS-interp.c)
17765 (ldso_install, common-ldd-rewrite): Likewise.
17766 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17767 $(inst_slibdir)/$(rtld-installed-name).
17768 * scripts/rellns-sh: Add -p option.
17769 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17770 for source.
17771
17772 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17773
17774 * manual/nptl.texi: Renamed to ...
17775 * manual/threads.texi: ... this.
17776 * manual/Makefile (chapters): Update.
17777
17778 2013-03-18 Roland McGrath <roland@hack.frob.com>
17779
17780 [BZ #14812]
17781 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17782 on argument names, not just descriptions.
17783 * malloc/memusagestat.c (options): Likewise.
17784 * nss/getent.c (options): Likewise.
17785
17786 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17787
17788 [BZ #14812]
17789 * iconv/iconv_prog.c (options): Put N_ translation marker
17790 on argument names, not just descriptions.
17791 * iconv/iconvconfig.c (options): Likewise.
17792
17793 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17794
17795 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17796 implementation which is faster on all x86_64 architectures.
17797 Tested on AMD, Intel Nehalem, SNB, IVB.
17798 * sysdeps/x86_64/strnlen.S: Likewise.
17799
17800 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17801 Remove all multiarch strlen and strnlen versions.
17802 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17803 Remove strlen and strnlen related parts.
17804
17805 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17806 Inline strlen part.
17807 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17808
17809 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17810 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17811 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17812 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17813 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17814 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17815
17816 2013-03-17 Carlos O'Donell <carlos@redhat.com>
17817
17818 * manual/memory.texi (Malloc Tunable Parameters):
17819 Sort parameters alphabetically. Add comments for missing entries.
17820
17821 2013-03-17 David S. Miller <davem@davemloft.net>
17822
17823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17824
17825 2013-03-16 Joseph Myers <joseph@codesourcery.com>
17826
17827 [BZ #15283]
17828 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17829 for arguments at most half maximum finite value.
17830 * math/libm-test.inc (j0_test): Add more tests.
17831 (j1_test): Likewise.
17832 (y0_test): Likewise.
17833 (y1_test): Likewise.
17834 * sysdeps/i386/fpu/libm-test-ulps: Update.
17835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17836
17837 [BZ #14155]
17838 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17839 1 / x and functions P and Q for arguments above 0x1p256L.
17840 (__ieee754_y0l): Likewise.
17841 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17842 (__ieee754_y1l): Likewise.
17843 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17844 (j1_test): Likewise.
17845 (y0_test): Likewise.
17846 (y1_test): Likewise.
17847
17848 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17849
17850 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17851 variable.
17852
17853 2013-03-15 Roland McGrath <roland@hack.frob.com>
17854
17855 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17856 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17857 zero since it's initialized to EXEC_PAGESIZE.
17858
17859 * sysdeps/unix/sysv/linux/ldsodefs.h
17860 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17861 * sysdeps/generic/ldsodefs.h: ... here.
17862
17863 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17864
17865 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17866
17867 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17868 math/test-snan.c.
17869 * math/test-snan.c: Renamed from
17870 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17871 * math/Makefile (tests): Add test-snan.
17872 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17873 test-powerpc-snan.
17874
17875 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17876 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17877 functions.
17878 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17879 __builtin_nan family of functions.
17880 * math/libm-test.inc (initialize): Initialize qnan_value with
17881 __builtin_nan family of functions.
17882 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17883 Remove variables.
17884 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17885 Remove functions.
17886 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17887 storage class. Initialize qNaN_var and sNaN_var with
17888 __builtin_nan and __builtin_nans families of functions,
17889 respectively.
17890
17891 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17892 (sqrt_test): Remove duplicate test with qNaN input.
17893 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17894 (round_test, signbit_test, significand_test): Note missing +/-Inf
17895 as well as qNaN tests.
17896
17897 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17898 qNaN_var. Fix a few strings, too.
17899 * math/libm-test.inc (nan_value): Rename to qnan_value.
17900 * math/gen-libm-test.pl (%beautify): Adjust to that.
17901 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17902 * math/test-misc.c (main): Likewise.
17903 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17904 to __qnan_bytes, and __qnan_union, respectively.
17905 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17906 Likewise.
17907 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17908 and lqnanval, respectively.
17909 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17910 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17911 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17912 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17913
17914 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17915 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17916 doubles.
17917
17918 * math/test-misc.c (main): Fix copy'n'pastos.
17919 * misc/tst-efgcvt.c (special): Likewise.
17920
17921 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17922 Remove declarations.
17923
17924 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17925
17926 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17927 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17928 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17929 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17930
17931 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17932
17933 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17934 macro to return vdso values correctly in IFUNC implementations.
17935 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17936 Optimization by using IFUNC.
17937
17938 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17939 Richard Henderson <rth@redhat.com>
17940 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17941
17942 * Makefile.in (bench): New target.
17943 * NEWS: Mention the benchmark framework.
17944 * Rules (bench): Likewise.
17945 (binaries-bench): Generate binaries for functions to
17946 benchmark.
17947 * benchtests/Makefile: New makefile for benchmark tests.
17948 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17949 programs.
17950 * benchtests/exp-inputs: New input file for EXP function.
17951 * benchtests/pow-inputs: New input file for POW function.
17952 * scripts/bench.pl: New script to generate source files for
17953 benchmark programs.
17954
17955 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17956
17957 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17958 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17959 computations on mantissa. Use macros for rounding and
17960 division.
17961 (denorm): Likewise.
17962 (__dbl_mp): Likewise.
17963 (add_magnitudes): Likewise.
17964 (sub_magnitudes): Likewise.
17965 (__mul): Likewise.
17966 (__sqr): Likewise.
17967 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17968 powers of two in terms of TWOPOW macro.
17969 (mp_no): Make type of mantissa as MANTISSA_T.
17970 [!RADIXI]: Define RADIXI.
17971 [!TWO52]: Define TWO52.
17972 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17973
17974 * manual/nptl.texi (cindex): Modify threads to pthreads.
17975
17976 2013-03-15 Joseph Myers <joseph@codesourcery.com>
17977
17978 * sysdeps/x86_64/preconfigure: Regenerated.
17979
17980 2013-03-14 Joseph Myers <joseph@codesourcery.com>
17981
17982 [BZ #14155]
17983 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17984 0x1p28 and above.
17985 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17986 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17987 0x1p28 and above.
17988 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17989 * math/libm-test.inc (j0_test): Do not allow one spurious
17990 underflow exception.
17991 (y1_test): Likewise.
17992
17993 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17994
17995 * manual/Makefile (chapters): Add nptl.
17996 * manual/debug.texi (Debugging Support): Add link to Threads
17997 chapter.
17998 * manual/nptl.texi: New file.
17999
18000 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18001
18002 2013-03-14 Petr Baudis <pasky@ucw.cz>
18003
18004 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18005 for non-NULL pointer before the memory validity test. Pointed
18006 out by Holger Brunck <holger.brunck@keymile.com>.
18007
18008 2013-03-13 Andreas Schwab <schwab@suse.de>
18009
18010 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18011 instead of .os.
18012
18013 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18014
18015 * timezone/zic.c: Update from tzcode 2013b.
18016
18017 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18018
18019 * manual/install.texi (Configuring and compiling):
18020 Mention i686 and i586.
18021 * INSTALL: Regenerate.
18022
18023 2013-03-12 Roland McGrath <roland@hack.frob.com>
18024
18025 * sysdeps/init_array/elf-init.c: New file.
18026 * csu/elf-init.c
18027 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18028 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18029
18030 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18031 __gmon_start__ as global, but as static with a .preinit_array pointer.
18032 * sysdeps/init_array/gmon-start.c: New file. Use that.
18033 * sysdeps/init_array/crti.S: New file, empty except for comments.
18034 * sysdeps/init_array/crtn.S: Likewise.
18035
18036 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18037
18038 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18039 definining bcopy.
18040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18041 Remove Prefer_SSE_for_memop.
18042 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18043 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18044 HAS_PREFER_SSE_FOR_MEMOP.
18045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18046 memset-x86-64.
18047 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18048 Remove bzero, memset ifunc support.
18049 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18050 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18051 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18052 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18053
18054 2013-03-11 Andreas Schwab <schwab@suse.de>
18055
18056 [BZ #15234]
18057 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18058 by SHLIB_COMPAT.
18059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18060 (GLIBC_2.16): Remove pthread_atfork.
18061
18062 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18063
18064 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18065 (ptestcases.h): Likewise.
18066
18067 2013-03-08 Roland McGrath <roland@hack.frob.com>
18068
18069 * Makeconfig ($(common-objpfx)config.status): Depend on
18070 sysdeps/*/preconfigure{,.in} too.
18071
18072 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18073
18074 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18075 (__free_hook): Use void * instead of __malloc_ptr_t.
18076 (__malloc_hook): Likewise.
18077 (__realloc_hook): Likewise.
18078 (__memalign_hook): Likewise.
18079 (__after_morecore_hook): Likewise.
18080 * malloc/arena.c (save_malloc_hook): Likewise.
18081 (save_free_hook): Likewise.
18082 * malloc/hooks.c (malloc_hook_ini): Likewise.
18083 (realloc_hook_ini): Likewise.
18084 (memalign_hook_ini): Likewise.
18085 * malloc/malloc.c (malloc_hook_ini): Likewise.
18086 (realloc_hook_ini): Likewise.
18087 (memalign_hook_ini): Likewise.
18088 (__free_hook): Likewise.
18089 (__malloc_hook): Likewise.
18090 (__realloc_hook): Likewise.
18091 (__memalign_hook): Likewise.
18092 (__libc_malloc): Likewise.
18093 (__libc_free): Likewise.
18094 (__libc_realloc): Likewise.
18095 (__libc_memalign): Likewise.
18096 (__libc_valloc): Likewise.
18097 (__libc_pvalloc): Likewise.
18098 (__libc_calloc): Likewise.
18099 (__posix_memalign): Likewise.
18100 * malloc/morecore.c (__sbrk): Likewise.
18101 (__default_morecore): Likewise.
18102
18103 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18104
18105 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18106 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18107 __malloc_ptrdiff_t.
18108
18109 * malloc/malloc.h (__malloc_size_t): Remove macro.
18110 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18111 __malloc_size_t.
18112 (old_memalign_hook): Likewise.
18113 (old_realloc_hook): Likewise.
18114 (struct hdr): Likewise.
18115 (flood): Likewise.
18116 (mallochook): Likewise.
18117 (memalignhook): Likewise.
18118 (reallochook): Likewise.
18119 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18120 (tr_old_realloc_hook): Likewise.
18121 (tr_old_memalign_hook): Likewise.
18122 (tr_mallochook): Likewise.
18123 (tr_reallochook): Likewise.
18124 (tr_memalignhook): Likewise.
18125
18126 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18127
18128 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18129 default_ldbl_pack and using as default implementation.
18130 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18131 implementation.
18132 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18133 redundant definition.
18134 (ldbl_insert_mantissa): Likewise.
18135 (ldbl_canonicalize): Likewise.
18136 (ldbl_nearbyint): Likewise.
18137 (ldbl_pack): Rename to ldbl_pack_ppc.
18138 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18139 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18140 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18141
18142 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18143
18144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18145 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18146 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18147 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18149 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18150 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18151 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18152
18153 2013-03-07 Andreas Jaeger <aj@suse.de>
18154
18155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18156 bits/mman-linux.h.
18157
18158 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18159
18160 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18161 Include mpa.h and declare __MPEXP.
18162 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18163 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18164 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18165 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18166 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18167 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18168 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18169
18170 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18171 (__slowpow): Use long double EXPL and LOGL functions to
18172 compute POW.
18173 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18174 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18175 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18176 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18177 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18178 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18179
18180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18181 intermediate variable to calculate exponent.
18182 (__sqr): Likewise.
18183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18184 Likewise.
18185 (__sqr): Likewise.
18186
18187 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18188 [!NO__SQR]: Define __sqr.
18189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18190 and NO__SQR. Remove all code except __mul and __sqr. Include
18191 sysdeps/ieee754/dbl-64/mpa.c.
18192 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18193
18194 [BZ #12723]
18195 * posix/Makefile (tests): Add tst-pathconf.
18196 * posix/tst-pathconf.c: New test case.
18197 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18198 _PC_PIPE_BUF.
18199 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18200
18201 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18202
18203 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18204
18205 2013-03-06 Andreas Jaeger <aj@suse.de>
18206
18207 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18208 definition via __MAP_ANONYMOUS.
18209
18210 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18211 it's not part of Linux headers.
18212
18213 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18214 (MAP_HUGE_MASK): Define.
18215
18216 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18217 Define.
18218 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18219 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18220 Define.
18221 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18222 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18223 Define.
18224 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18225 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18226 Define.
18227 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18228
18229 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18230 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18231 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18232 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18233 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18234 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18235
18236 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18237 Handle f2fs.
18238
18239 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18240 Handle f2fs and efivarfs.
18241
18242 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18243 f2fs.
18244
18245 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18246 (EFIVARFS_MAGIC): Add.
18247 (F2FS_LINK_MAX): Add.
18248
18249 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18250
18251 * stdio-common/vfprintf.c: Replace __builtin_expect with
18252 __glibc_unlikely.
18253
18254 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18255
18256 [BZ #13550]
18257 * sysdeps/generic/bp-sym.h: Remove file.
18258 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18259 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18260 <bp-sym.h> and <bp-asm.h>.
18261 (__longjmp): Don't use BP_SYM.
18262 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18263 and <bp-asm.h>.
18264 (memcpy): Don't use BP_SYM.
18265 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18266 <bp-sym.h> and <bp-asm.h>.
18267 (memcpy): Don't use BP_SYM.
18268 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18269 <bp-asm.h>.
18270 (memcpy): Don't use BP_SYM.
18271 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18272 <bp-asm.h>.
18273 (memset): Don't use BP_SYM.
18274 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18275 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18276 (__bzero): Don't use BP_SYM.
18277 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18278 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18279 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18280 <bp-sym.h> and <bp-asm.h>.
18281 (memcmp): Don't use BP_SYM. Remove comment about bounded
18282 pointers.
18283 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18284 <bp-sym.h> and <bp-asm.h>.
18285 (memcpy): Don't use BP_SYM.
18286 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18287 <bp-sym.h> and <bp-asm.h>.
18288 (memset): Don't use BP_SYM.
18289 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18290 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18291 (__bzero): Don't use BP_SYM.
18292 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18293 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18294 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18295 <bp-sym.h> and <bp-asm.h>.
18296 (strncmp): Don't use BP_SYM. Remove comment about bounded
18297 pointers.
18298 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18299 <bp-sym.h> and <bp-asm.h>.
18300 (memcpy): Don't use BP_SYM.
18301 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18302 <bp-sym.h> and <bp-asm.h>.
18303 (memset): Don't use BP_SYM.
18304 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18305 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18306 (__bzero): Don't use BP_SYM.
18307 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18308 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18309 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18310 <bp-sym.h> and <bp-asm.h>.
18311 (__memchr): Don't use BP_SYM.
18312 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18313 <bp-sym.h> and <bp-asm.h>.
18314 (memcmp): Don't use BP_SYM. Remove comment about bounded
18315 pointers.
18316 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18317 <bp-sym.h> and <bp-asm.h>.
18318 (memcpy): Don't use BP_SYM.
18319 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18320 <bp-sym.h> and <bp-asm.h>.
18321 (__mempcpy): Don't use BP_SYM.
18322 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18323 <bp-sym.h> and <bp-asm.h>.
18324 (__memrchr): Don't use BP_SYM.
18325 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18326 <bp-sym.h> and <bp-asm.h>.
18327 (memset): Don't use BP_SYM.
18328 (__bzero): Likewise.
18329 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18330 <bp-sym.h> and <bp-asm.h>.
18331 (__rawmemchr): Don't use BP_SYM.
18332 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18333 <bp-sym.h> and <bp-asm.h>.
18334 (__STRCMP): Don't use BP_SYM.
18335 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18336 <bp-sym.h> and <bp-asm.h>.
18337 (strchr): Don't use BP_SYM.
18338 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18339 <bp-sym.h> and <bp-asm.h>.
18340 (__strchrnul): Don't use BP_SYM.
18341 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18342 <bp-sym.h> and <bp-asm.h>.
18343 (strlen): Don't use BP_SYM.
18344 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18345 <bp-sym.h> and <bp-asm.h>.
18346 (strncmp): Don't use BP_SYM. Remove comment about bounded
18347 pointers.
18348 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18349 <bp-sym.h> and <bp-asm.h>.
18350 (__strnlen): Don't use BP_SYM.
18351 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18352 <bp-sym.h> and <bp-asm.h>.
18353 (__GI__setjmp): Don't use BP_SYM.
18354 (_setjmp): Likewise.
18355 (__sigsetjmp): Likewise.
18356 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18357 (L(start_addresses)): Don't use BP_SYM.
18358 (_start): Likewise.
18359 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18360 <bp-asm.h>.
18361 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18362 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18363 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18364 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18365 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18366 <bp-asm.h>.
18367 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18368 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18369 about bounded pointers.
18370 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18371 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18372 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18373 <bp-asm.h>.
18374 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18375 about bounded pointers. Remove GKM FIXME comments.
18376 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18377 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18378 <bp-asm.h>.
18379 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18380 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18381 Remove GKM FIXME comments.
18382 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18383 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18384 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18385 <bp-asm.h>.
18386 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18387 about bounded pointers. Remove GKM FIXME comment.
18388 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18389 and <bp-asm.h>.
18390 (strncmp): Don't use BP_SYM. Remove comment about bounded
18391 pointers.
18392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18393 <bp-sym.h> and <bp-asm.h>.
18394 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18396 <bp-sym.h> and <bp-asm.h>.
18397 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18398 comment.
18399
18400 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18401
18402 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18403 call free(NULL).
18404
18405 2013-03-05 David S. Miller <davem@davemloft.net>
18406
18407 * po/es.po: Update from translation team.
18408
18409 2013-03-05 Andreas Jaeger <aj@suse.de>
18410
18411 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18412 <bits/mman-linux.h>.
18413 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18414 is fine.
18415 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18416 <bits/mman-linux.h> to end of file.
18417 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18418 is fine.
18419 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18420 <bits/mman-linux.h> to end of file.
18421 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18422 is fine.
18423 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18424 <bits/mman-linux.h> to end of file.
18425
18426 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18427 (MCL_CURRENT, MCL_FUTURE): Define here.
18428
18429 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18430
18431 [BZ #15232]
18432 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18433 attribute_hidden.
18434 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18435
18436 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18437
18438 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18439 fourth parameter needed for rt_sigprocmask syscall.
18440 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18441 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18442 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18443 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18444 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18445 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18446
18447 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18448
18449 [BZ #13550]
18450 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18451 comment about bounded pointers.
18452 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18453 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18454
18455 2013-03-04 Andreas Jaeger <aj@suse.de>
18456
18457 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18458 common definitions.
18459
18460 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18461 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18462 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18463 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18464 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18465 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18466
18467 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18468
18469 [BZ #15055]
18470 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18471 __ieee754_sqrl instead of __sqrl.
18472
18473 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18474
18475 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18476 * sysdeps/powerpc/fpu_control.h: ... here.
18477 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18478 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18479 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18480 * sysdeps/powerpc/bits/mathinline.h: ... here.
18481
18482 2013-03-01 Roland McGrath <roland@hack.frob.com>
18483
18484 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18485 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18486 to just [NEED_DL_SYSINFO_DSO].
18487 * elf/dl-support.c: Likewise.
18488 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18489 * elf/rtld.c (dl_main): Likewise.
18490 * elf/setup-vdso.h (setup_vdso): Likewise.
18491 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18492 * sysdeps/unix/sysv/linux/dl-sysdep.c
18493 (_dl_discover_osversion): Likewise.
18494
18495 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18496
18497 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18498 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18499
18500 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18501
18502 * NEWS: Mention libm performance improvements and non-x86 PI
18503 futex support.
18504
18505 * csu/libc-start.c (__pthread_initialize_minimal): Change
18506 function arguments.
18507 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18508
18509 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18510
18511 [BZ #13550]
18512 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18513 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18514 <bp-sym.h> and <bp-asm.h>.
18515 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18516 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18517 and <bp-asm.h>.
18518 (memcpy): Don't use BP_SYM.
18519 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18520 <bp-asm.h>.
18521 (__mpn_add_n): Don't use BP_SYM.
18522 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18523 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18524 and <bp-asm.h>.
18525 (__mpn_addmul_1): Don't use BP_SYM.
18526 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18527 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18528 <bp-sym.h>.
18529 (_setjmp): Don't use BP_SYM.
18530 (__novmx_setjmp): Likewise.
18531 (__GI__setjmp): Likewise.
18532 (__vmx_setjmp): Likewise.
18533 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18534 <bp-sym.h>.
18535 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18536 (__bzero): Don't use BP_SYM.
18537 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18538 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18539 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18540 <bp-sym.h> and <bp-asm.h>.
18541 (memcpy): Don't use BP_SYM.
18542 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18543 <bp-sym.h> and <bp-asm.h>.
18544 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18545 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18546 <bp-sym.h> and <bp-asm.h>.
18547 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18548 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18549 <bp-asm.h>.
18550 (__mpn_lshift): Don't use BP_SYM.
18551 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18552 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18553 <bp-asm.h>.
18554 (memset): Don't use BP_SYM.
18555 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18556 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18557 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18558 <bp-asm.h>.
18559 (__mpn_mul_1): Don't use BP_SYM.
18560 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18561 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18562 <bp-sym.h> and <bp-asm.h>.
18563 (memcmp): Don't use BP_SYM.
18564 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18565 <bp-sym.h> and <bp-asm.h>.
18566 (memcpy): Don't use BP_SYM.
18567 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18568 <bp-sym.h> and <bp-asm.h>.
18569 (memset): Don't use BP_SYM.
18570 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18571 <bp-sym.h> and <bp-asm.h>.
18572 (strncmp): Don't use BP_SYM.
18573 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18574 <bp-sym.h> and <bp-asm.h>.
18575 (memcpy): Don't use BP_SYM.
18576 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18577 <bp-sym.h> and <bp-asm.h>.
18578 (memset): Don't use BP_SYM.
18579 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18580 <bp-sym.h> and <bp-asm.h>.
18581 (__memchr): Don't use BP_SYM.
18582 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18583 <bp-sym.h> and <bp-asm.h>.
18584 (memcmp): Don't use BP_SYM.
18585 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18586 <bp-sym.h> and <bp-asm.h>.
18587 (memcpy): Don't use BP_SYM.
18588 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18589 <bp-sym.h> and <bp-asm.h>.
18590 (__mempcpy): Don't use BP_SYM.
18591 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18592 <bp-sym.h> and <bp-asm.h>.
18593 (__memrchr): Don't use BP_SYM.
18594 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18595 <bp-sym.h> and <bp-asm.h>.
18596 (memset): Don't use BP_SYM.
18597 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18598 <bp-sym.h> and <bp-asm.h>.
18599 (__rawmemchr): Don't use BP_SYM.
18600 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18601 <bp-sym.h> and <bp-asm.h>.
18602 (__STRCMP): Don't use BP_SYM.
18603 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18604 <bp-sym.h> and <bp-asm.h>.
18605 (strchr): Don't use BP_SYM.
18606 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18607 <bp-sym.h> and <bp-asm.h>.
18608 (__strchrnul): Don't use BP_SYM.
18609 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18610 <bp-sym.h> and <bp-asm.h>.
18611 (strlen): Don't use BP_SYM.
18612 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18613 <bp-sym.h> and <bp-asm.h>.
18614 (strncmp): Don't use BP_SYM.
18615 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18616 <bp-sym.h> and <bp-asm.h>.
18617 (__strnlen): Don't use BP_SYM.
18618 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18619 <bp-asm.h>.
18620 (__mpn_rshift): Don't use BP_SYM.
18621 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18622 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18623 <bp-sym.h> and <bp-asm.h>.
18624 (__sigsetjmp): Don't use BP_SYM.
18625 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18626 (L(start_addresses)): Don't use BP_SYM.
18627 (_start): Likewise.
18628 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18629 <bp-asm.h>.
18630 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18631 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18632 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18633 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18634 <bp-asm.h>.
18635 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18636 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18637 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18638 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18639 <bp-asm.h>.
18640 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18641 comments.
18642 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18643 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18644 <bp-asm.h>.
18645 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18646 FIXME comments.
18647 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18648 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18649 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18650 <bp-asm.h>.
18651 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18652 comment.
18653 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18654 and <bp-asm.h>.
18655 (strncmp): Don't use BP_SYM,
18656 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18657 <bp-asm.h>.
18658 (__mpn_sub_n): Don't use BP_SYM.
18659 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18660 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18661 and <bp-asm.h>.
18662 (__mpn_submul_1): Don't use BP_SYM.
18663 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18665 <bp-sym.h> and <bp-asm.h>.
18666 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18668 <bp-sym.h> and <bp-asm.h>.
18669 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18670 comment.
18671
18672 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18673
18674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18675 Use ZK to minimize writes to Z.
18676 (sub_magnitudes): Simplify code a bit.
18677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18678 Use ZK to minimize writes to Z.
18679 (sub_magnitudes): Simplify code a bit.
18680
18681 2013-02-27 Roland McGrath <roland@hack.frob.com>
18682
18683 * csu/gmon-start.c: Add special exception to license text.
18684
18685 2013-02-27 Richard Henderson <rth@redhat.com>
18686
18687 * scripts/config.guess: Update from config.git.
18688 * scripts/config.sub: Likewise.
18689
18690 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18691
18692 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18693
18694 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18695
18696 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18697
18698 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18699
18700 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18701
18702 2013-02-26 Roland McGrath <roland@hack.frob.com>
18703
18704 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18705 [$(build-shared = yes].
18706
18707 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18708
18709 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18710 (__mul): Reduce iterations for calculating mantissa.
18711
18712 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18713 MPTWO.
18714 (__mpranred): Likewise.
18715
18716 [BZ #15160]
18717 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18718 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18719
18720 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18721
18722 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18723 Define __attribute__.
18724
18725 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18726
18727 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18728 unused.
18729 * posix/regex_internal.h (__attribute): Remove.
18730 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18731 (re_string_context_at): Likewise.
18732 (bitset_not): Use __attribute__ and mark function as possibly
18733 unused.
18734 (bitset_merge): Likewise.
18735 (bitset_mask): Likewise.
18736 (re_string_char_size_at): Likewise.
18737 (re_string_wchar_at): Likewise.
18738 (re_string_elem_size_at): Likewise.
18739
18740 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18741
18742 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18743 code.
18744 (cc32): Likewise.
18745
18746 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18747 (__acr): Likewise.
18748 (__cpy): Likewise.
18749 (norm): Likewise.
18750 (denorm): Likewise.
18751 (__dbl_mp): Likewise.
18752 (add_magnitudes): Likewise.
18753 (sub_magnitudes): Likewise.
18754 (__mul): Likewise.
18755 (__inv): Likewise.
18756
18757 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18758 style.
18759
18760 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18761 style.
18762
18763 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18764 code.
18765
18766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18767 up changes with default code.
18768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18769 Likewise.
18770
18771 2013-02-24 Allan McRae <allan@archlinux.org>
18772
18773 * manual/socket.texi (The Internet Namespace): Order menu items
18774 to match that in the file.
18775
18776 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18777 node listing of the info page menu.
18778
18779 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18780
18781 [BZ #13550]
18782 * sysdeps/i386/bp-asm.h: Remove file.
18783 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18784 (PARMS): Do not use macros from bp-asm.h.
18785 (S1): Likewise.
18786 (S2): Likewise.
18787 (SIZE): Likewise.
18788 (__mpn_add_n): Do not use BP_SYM
18789 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18790 "bp-asm.h".
18791 (PARMS): Do not use macros from bp-asm.h.
18792 (S1): Likewise.
18793 (SIZE): Likewise.
18794 (__mpn_addmul_1): Do not use BP_SYM
18795 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18796 "bp-asm.h".
18797 (PARMS): Do not use macros from bp-asm.h.
18798 (SIGMSK): Likewise.
18799 (_setjmp): Likewise. Do not use BP_SYM.
18800 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18801 "bp-asm.h".
18802 (PARMS): Do not use macros from bp-asm.h.
18803 (SIGMSK): Likewise.
18804 (setjmp): Likewise. Do not use BP_SYM.
18805 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18806 "bp-asm.h".
18807 (PARMS): Do not use macros from bp-asm.h.
18808 (__frexp): Do not use BP_SYM.
18809 (frexp): Likewise.
18810 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18811 "bp-asm.h".
18812 (PARMS): Do not use macros from bp-asm.h.
18813 (__frexpf): Do not use BP_SYM.
18814 (frexpf): Likewise.
18815 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18816 "bp-asm.h".
18817 (PARMS): Do not use macros from bp-asm.h.
18818 (__frexpl): Do not use BP_SYM.
18819 (frexpl): Likewise.
18820 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18821 "bp-asm.h".
18822 (PARMS): Do not use macros from bp-asm.h.
18823 (__remquo): Do not use BP_SYM.
18824 (remquo): Likewise.
18825 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18826 "bp-asm.h".
18827 (PARMS): Do not use macros from bp-asm.h.
18828 (__remquof): Do not use BP_SYM.
18829 (remquof): Likewise.
18830 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18831 "bp-asm.h".
18832 (PARMS): Do not use macros from bp-asm.h.
18833 (__remquol): Do not use BP_SYM.
18834 (remquol): Likewise.
18835 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18836 "bp-asm.h".
18837 (PARMS): Do not use macros from bp-asm.h.
18838 (DEST): Likewise.
18839 (SRC): Likewise.
18840 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18841 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18842 "bp-asm.h".
18843 (PARMS): Do not use macros from bp-asm.h.
18844 (strlen): Do not use BP_SYM.
18845 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18846 "bp-asm.h".
18847 (PARMS): Do not use macros from bp-asm.h.
18848 (S1): Likewise.
18849 (S2): Likewise.
18850 (SIZE): Likewise.
18851 (__mpn_add_n): Do not use BP_SYM.
18852 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18853 "bp-asm.h".
18854 (PARMS): Do not use macros from bp-asm.h.
18855 (S1): Likewise.
18856 (SIZE): Likewise.
18857 (__mpn_addmul_1): Do not use BP_SYM.
18858 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18859 weak_alias.
18860 (bzero): Likewise.
18861 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18862 "bp-asm.h".
18863 (PARMS): Do not use macros from bp-asm.h.
18864 (S): Likewise.
18865 (SIZE): Likewise.
18866 (__mpn_lshift): Do not use BP_SYM.
18867 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18868 "bp-asm.h".
18869 (PARMS): Do not use macros from bp-asm.h.
18870 (DEST): Likewise.
18871 (SRC): Likewise.
18872 (LEN): Likewise.
18873 (memcpy): Likewise. Do not use BP_SYM.
18874 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18875 libc_hidden_def and weak_alias.
18876 (mempcpy): Do not use BP_SYM in weak_alias.
18877 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18878 "bp-asm.h".
18879 (PARMS): Do not use macros from bp-asm.h.
18880 (DEST): Likewise.
18881 (LEN): Likewise.
18882 [!BZERO_P] (CHR): Likewise.
18883 (memset): Likewise. Do not use BP_SYM.
18884 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18885 "bp-asm.h".
18886 (PARMS): Do not use macros from bp-asm.h.
18887 (S1): Likewise.
18888 (SIZE): Likewise.
18889 (__mpn_mul_1): Do not use BP_SYM.
18890 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18891 "bp-asm.h".
18892 (PARMS): Do not use macros from bp-asm.h.
18893 (S): Likewise.
18894 (SIZE): Likewise.
18895 (__mpn_rshift): Do not use BP_SYM.
18896 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18897 "bp-asm.h".
18898 (PARMS): Do not use macros from bp-asm.h.
18899 (STR): Likewise.
18900 (CHR): Likewise.
18901 (strchr): Likewise. Do not use BP_SYM.
18902 (index): Do not use BP_SYM in weak_alias.
18903 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18904 "bp-asm.h".
18905 (PARMS): Do not use macros from bp-asm.h.
18906 (DEST): Likewise.
18907 (SRC): Likewise.
18908 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18909 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18910 "bp-asm.h".
18911 (PARMS): Do not use macros from bp-asm.h.
18912 (strlen): Do not use BP_SYM.
18913 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18914 "bp-asm.h".
18915 (PARMS): Do not use macros from bp-asm.h.
18916 (S1): Likewise.
18917 (S2): Likewise.
18918 (SIZE): Likewise.
18919 (__mpn_sub_n): Do not use BP_SYM.
18920 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18921 "bp-asm.h".
18922 (PARMS): Do not use macros from bp-asm.h.
18923 (S1): Likewise.
18924 (SIZE): Likewise.
18925 (__mpn_submul_1): Do not use BP_SYM.
18926 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18927 "bp-asm.h".
18928 (PARMS): Do not use macros from bp-asm.h.
18929 (S1): Likewise.
18930 (S2): Likewise.
18931 (SIZE): Likewise.
18932 (__mpn_add_n): Do not use BP_SYM.
18933 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18934 weak_alias.
18935 (bzero): Likewise.
18936 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18937 "bp-asm.h".
18938 (PARMS): Do not use macros from bp-asm.h.
18939 (BLK2): Likewise.
18940 (LEN): Likewise.
18941 (memcmp): Do not use BP_SYM.
18942 (bcmp): Do not use BP_SYM in weak_alias.
18943 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18944 "bp-asm.h".
18945 (PARMS): Do not use macros from bp-asm.h.
18946 (DEST): Likewise.
18947 (SRC): Likewise.
18948 (LEN): Likewise.
18949 (memcpy): Likewise. Do not use BP_SYM.
18950 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18951 "bp-asm.h".
18952 (PARMS): Do not use macros from bp-asm.h.
18953 (DEST): Likewise.
18954 (SRC): Likewise.
18955 (LEN): Likewise.
18956 (memmove): Likewise. Do not use BP_SYM.
18957 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18958 "bp-asm.h".
18959 (PARMS): Do not use macros from bp-asm.h.
18960 (DEST): Likewise.
18961 (SRC): Likewise.
18962 (LEN): Likewise.
18963 (__mempcpy): Likewise. Do not use BP_SYM.
18964 (mempcpy): Do not use BP_SYM in weak_alias.
18965 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18966 "bp-asm.h".
18967 (PARMS): Do not use macros from bp-asm.h.
18968 (DEST): Likewise.
18969 (LEN): Likewise.
18970 [!BZERO_P] (CHR): Likewise.
18971 (memset): Likewise. Do not use BP_SYM.
18972 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18973 "bp-asm.h".
18974 (PARMS): Do not use macros from bp-asm.h.
18975 (STR2): Likewise.
18976 (strcmp): Do not use BP_SYM.
18977 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18978 "bp-asm.h".
18979 (PARMS): Do not use macros from bp-asm.h.
18980 (STR): Likewise.
18981 (DELIM): Likewise.
18982 [USE_AS_STRTOK_R] (SAVE): Likewise.
18983 (FUNCTION): Likewise. Do not use BP_SYM.
18984 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18985 aliases.
18986 (strtok_r): Likewise.
18987 (__GI___strtok_r): Likewise.
18988 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18989 (PARMS): Do not use macros from bp-asm.h.
18990 (S): Likewise.
18991 (SIZE): Likewise.
18992 (__mpn_lshift): Do not use BP_SYM.
18993 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18994 (PARMS): Do not use macros from bp-asm.h.
18995 (STR): Likewise.
18996 (CHR): Likewise.
18997 (__memchr): Do not use BP_SYM.
18998 (memchr): Do not use BP_SYM in weak_alias.
18999 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19000 (PARMS): Do not use macros from bp-asm.h.
19001 (BLK2): Likewise.
19002 (LEN): Likewise.
19003 (memcmp): Do not use BP_SYM.
19004 (bcmp): Do not use BP_SYM in weak_alias.
19005 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19006 (PARMS): Do not use macros from bp-asm.h.
19007 (S1): Likewise.
19008 (SIZE): Likewise.
19009 (__mpn_mul_1): Do not use BP_SYM.
19010 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19011 "bp-asm.h".
19012 (PARMS): Do not use macros from bp-asm.h.
19013 (STR): Likewise.
19014 (CHR): Likewise.
19015 (__rawmemchr): Do not use BP_SYM.
19016 (rawmemchr): Do not use BP_SYM in weak_alias.
19017 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19018 (PARMS): Do not use macros from bp-asm.h.
19019 (S): Likewise.
19020 (SIZE): Likewise.
19021 (__mpn_rshift): Do not use BP_SYM.
19022 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19023 (PARMS): Do not use macros from bp-asm.h.
19024 (SIGMSK): Likewise.
19025 (__sigsetjmp): Likewise. Do not use BP_SYM.
19026 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19027 (_start): Do not use BP_SYM.
19028 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19029 (PARMS): Do not use macros from bp-asm.h.
19030 (DEST): Likewise.
19031 (SRC): Likewise.
19032 (__stpcpy): Likewise. Do not use BP_SYM.
19033 (stpcpy): Do not use BP_SYM in weak_alias.
19034 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19035 "bp-asm.h".
19036 (PARMS): Do not use macros from bp-asm.h.
19037 (DEST): Likewise.
19038 (SRC): Likewise.
19039 (LEN): Likewise.
19040 (__stpncpy): Likewise. Do not use BP_SYM.
19041 (stpncpy): Do not use BP_SYM in weak_alias.
19042 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19043 (PARMS): Do not use macros from bp-asm.h.
19044 (STR): Likewise.
19045 (CHR): Likewise.
19046 (strchr): Likewise. Do not use BP_SYM.
19047 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19048 "bp-asm.h".
19049 (PARMS): Do not use macros from bp-asm.h.
19050 (STR): Likewise.
19051 (CHR): Likewise.
19052 (__strchrnul): Likewise. Do not use BP_SYM.
19053 (strchrnul): Do not use BP_SYM in weak_alias.
19054 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19055 "bp-asm.h".
19056 (PARMS): Do not use macros from bp-asm.h.
19057 (STOP): Likewise.
19058 (strcspn): Do not use BP_SYM.
19059 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19060 "bp-asm.h".
19061 (PARMS): Do not use macros from bp-asm.h.
19062 (STR): Likewise.
19063 (STOP): Likewise.
19064 (strpbrk): Likewise. Do not use BP_SYM.
19065 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19066 "bp-asm.h".
19067 (PARMS): Do not use macros from bp-asm.h.
19068 (STR): Likewise.
19069 (CHR): Likewise.
19070 (strrchr): Likewise. Do not use BP_SYM.
19071 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19072 (PARMS): Do not use macros from bp-asm.h.
19073 (SKIP): Likewise.
19074 (strspn): Do not use BP_SYM.
19075 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19076 (PARMS): Do not use macros from bp-asm.h.
19077 (STR): Likewise.
19078 (DELIM): Likewise.
19079 (SAVE): Likewise.
19080 (FUNCTION): Likewise. Do not use BP_SYM.
19081 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19082 aliases.
19083 (strtok_r): Likewise.
19084 (__GI___strtok_r): Likewise.
19085 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19086 (PARMS): Do not use macros from bp-asm.h.
19087 (S1): Likewise.
19088 (S2): Likewise.
19089 (SIZE): Likewise.
19090 (__mpn_sub_n): Do not use BP_SYM.
19091 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19092 "bp-asm.h".
19093 (PARMS): Do not use macros from bp-asm.h.
19094 (S1): Likewise.
19095 (SIZE): Likewise.
19096 (__mpn_submul_1): Do not use BP_SYM.
19097 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19098 <bp-sym.h>.
19099 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19100 and <bp-asm.h>.
19101 (PARMS): Do not use macros from bp-asm.h.
19102 (FLAGS): Likewise.
19103 (PTID): Likewise.
19104 (TLS): Likewise.
19105 (CTID): Likewise.
19106 (__clone): Do not use BP_SYM.
19107 (clone): Do not use BP_SYM in weak_alias.
19108 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19109 and <bp-asm.h>.
19110 (PARMS): Do not use macros from bp-asm.h.
19111 (LEN): Likewise.
19112 (__mmap64): Do not use BP_SYM.
19113 (mmap64): Do not use BP_SYM in weak_alias.
19114 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19115 <bp-sym.h> and <bp-asm.h>.
19116 (PARMS): Do not use macros from bp-asm.h.
19117 (__posix_fadvise64_l64): Do not use BP_SYM.
19118 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19119 (PARMS): Do not use macros from bp-asm.h.
19120 (NSOPS): Likewise.
19121 (semtimedop): Do not use BP_SYM.
19122 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19123 and <bp-asm.h>.
19124
19125 2013-02-21 Allan McRae <allan@archlinux.org>
19126
19127 * manual/message.texi (Charset conversion in gettext):
19128 Move @end statement to beginning of line.
19129
19130 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19131
19132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19133 static.
19134 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19135 Likewise.
19136
19137 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19138 (denorm): Likewise.
19139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19140 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19141
19142 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19143
19144 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19145 tail-call to the resolved function if pltexit isn't needed.
19146
19147 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19148
19149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19150 or Y being zero as being unlikely.
19151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19152 Likewise.
19153
19154 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19155
19156 * manual/nss.texi (System Databases and Name Service Switch):
19157 Remove frobnicate @pxref.
19158
19159 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19160
19161 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19162 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19163
19164 2013-02-20 Petr Machata <pmachata@redhat.com>
19165
19166 * elf/elf.h (R_ARM_TARGET1): New macro.
19167 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19168 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19169 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19170 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19171 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19172 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19173 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19174 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19175 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19176 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19177 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19178 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19179 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19180 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19181 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19182 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19183 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19184 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19185 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19186 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19187 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19188 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19189 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19190 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19191 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19192 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19193 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19194 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19195 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19196 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19197 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19198 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19199 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19200 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19201 (R_ARM_THM_GOT_BREL12): Likewise.
19202 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19203 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19204 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19205 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19206 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19207 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19208 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19209 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19210 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19211
19212 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19213
19214 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19215 __attribute_used__ to __attribute__ ((unused)).
19216
19217 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19218
19219 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19220 powerpc mpa.c.
19221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19222 comment formatting.
19223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19224
19225 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19226
19227 [BZ #13550]
19228 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19229 Remove macro.
19230 (ENTER): Remove both macro definitions.
19231 (LEAVE): Likewise.
19232 (CHECK_BOUNDS_LOW): Likewise.
19233 (CHECK_BOUNDS_HIGH): Likewise.
19234 (CHECK_BOUNDS_BOTH): Likewise.
19235 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19236 (RETURN_BOUNDED_POINTER): Likewise.
19237 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19238 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19239 (POP_ERRNO_LOCATION_RETURN): Likewise.
19240 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19241 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19242 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19243 macros.
19244 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19245 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19246 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19247 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19248 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19249 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19250 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19251 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19252 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19253 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19254 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19255 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19256 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19257 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19258 removed macros.
19259 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19260 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19261 macros.
19262 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19263 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19264 * sysdeps/i386/i586/memset.S (memset): Likewise.
19265 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19266 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19267 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19268 macros.
19269 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19270 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19271 Change uses of L(2) to L(out).
19272 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19273 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19274 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19275 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19276 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19277 removed macros.
19278 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19279 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19280 macros.
19281 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19282 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19283 (RETURN): Do not use macro LEAVE.
19284 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19285 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19286 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19287 * sysdeps/i386/i686/memset.S (memset): Likewise.
19288 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19289 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19290 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19291 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19292 Likewise.
19293 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19294 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19295 L(1_2) and L(1_3) into L(1).
19296 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19297 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19298 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19299 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19300 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19301 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19302 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19303 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19304 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19305 macros.
19306 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19307 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19308 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19309 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19310 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19311 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19312 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19313 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19314 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19315 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19316 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19317 * sysdeps/i386/strspn.S (strspn): Likewise.
19318 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19319 conditional code.
19320 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19321 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19322 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19323 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19324 L(1_3) into L(1_1).
19325 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19326 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19327 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19328 macros.
19329 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19330
19331 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19332
19333 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19334 macro.
19335
19336 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19337
19338 * math/atest-exp.c (exp_mpn): Remove ROUND.
19339 * math/atest-exp2.c (exp_mpn): Likewise.
19340 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19341
19342 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19343 * stdlib/tst-tls-atexit-lib.c: Likewise.
19344 * stdlib/tst-tls-atexit.c: Likewise.
19345
19346 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19347
19348 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19349 and __attribute_alloc_size__.
19350
19351 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19352
19353 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19354 __attribute_alloc_size__.
19355 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19356 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19357
19358 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19359
19360 * include/programs/xmalloc.h: New file.
19361 * catgets/gencat.c: Include it.
19362 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19363 * elf/pldd.c: Likewise.
19364 * iconv/iconv_charmap.c: Likewise.
19365 * iconv/iconvconfig.c: Likewise.
19366 * iconv/strtab.c: Likewise.
19367 * locale/programs/locale.c: Likewise.
19368 * locale/programs/localedef.h: Likewise.
19369 * locale/programs/simple-hash.c: Likewise.
19370 * nscd/nscd.h: Likewise.
19371 * nss/makedb.c: Likewise.
19372 * sysdeps/generic/ldconfig.h: Likewise.
19373
19374 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19375
19376 * Versions.def: Add GLIBC_2.18.
19377 * include/link.h (struct link_map): New member l_tls_dtor_count.
19378 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19379 (__call_tls_dtors): Likewise.
19380 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19381 __cxa_thread_atexit_impl.
19382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19383 Likewise.
19384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19385 Likewise.
19386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19387 Likewise.
19388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19389 Likewise.
19390 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19392 Likewise.
19393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19394 Likewise.
19395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19397 Likewise.
19398 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19399 (tests): Add test case tst-tls-atexit.
19400 (modules-names): Add shared library for tst-tls-atexit.
19401 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19402 (GLIBC_PRIVATE): Add __call_tls_dtors.
19403 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19404 for libstdc++.
19405 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19406 * stdlib/tst-tls-atexit.c: New test case.
19407 * stdlib/tst-tls-atexit-lib.c: New test case.
19408
19409 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19410
19411 * elf/Versions (ld): Add _dl_find_dso_for_object.
19412 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19413 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19414 (dl_open_worker): Use _dl_find_dso_for_object.
19415 * elf/dl-sym.c (do_sym): Likewise.
19416 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19417
19418 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19419
19420 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19421 Syntactic changes only.
19422 (_dl_runtime_profile): Do a tail-call to the resolved function.
19423
19424 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19425
19426 [BZ #13550]
19427 * sysdeps/x86_64/bp-asm.h: Remove file.
19428 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19429 <bp-sym.h> and <bp-asm.h>.
19430 (__clone): Do not use BP_SYM.
19431 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19432 <bp-sym.h> and <bp-asm.h>.
19433 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19434 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19435 "bp-asm.h".
19436 (_setjmp): Do not use BP_SYM.
19437 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19438 "bp-asm.h".
19439 (setjmp): Do not use BP_SYM.
19440 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19441 libc_hidden_def.
19442 (mempcpy): Do not use BP_SYM in weak_alias.
19443 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19444 "bp-asm.h".
19445 (strchr): Do not use BP_SYM.
19446 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19447 "bp-asm.h".
19448 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19449 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19450 (_start): Do not use BP_SYM.
19451 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19452 "bp-asm.h".
19453 (strcat): Do not use BP_SYM.
19454 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19455 "bp-asm.h".
19456 (STRCMP): Do not use BP_SYM.
19457 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19458 "bp-asm.h".
19459 (STRCPY): Do not use BP_SYM.
19460 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19461 "bp-asm.h".
19462 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19463 "bp-asm.h".
19464 (FUNCTION): Do not use BP_SYM.
19465 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19466 weak_alias.
19467 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19468
19469 2013-02-17 Andreas Jaeger <aj@suse.de>
19470
19471 * time/Versions: Sort entries.
19472 * string/Versions: Likewise.
19473 * resolv/Versions: Likewise.
19474 * posix/Versions: Likewise.
19475 * iconv/Versions: Likewise.
19476 * elf/Versions: Likewise.
19477 * wcsmbs/Versions: Likewise.
19478
19479 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19480
19481 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19482 loop termination condition.
19483
19484 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19485 variable to calculate EZ.
19486 (__sqr): Likewise.
19487
19488 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19489 the lower precision input.
19490
19491 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19492
19493 [BZ #13550]
19494 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19495 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19496 (run-via-rtld-prefix): Do not handle %-bp tests.
19497 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19498 (all-object-suffixes): Remove .ob.
19499 (bppfx): Remove variable.
19500 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19501 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19502 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19503 [$(build-bounded) = yes] (libtype.ob): Likewise.
19504 * Makerules (elide-routines.ob): Remove variable.
19505 (do-tests-clean): Do not handle *-bp.out.
19506 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19507 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19508 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19509 (tests): Do not include $(tests-bp.out).
19510 (xtests): Do not include $(xtests-bp.out).
19511 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19512 [$(build-bounded) = yes] ($(addprefix
19513 $(objpfx),$(binaries-bounded))): Remove rule.
19514 ($(objpfx)%-bp.out): Remove rule.
19515 * config.make.in (build-bounded): Remove variable.
19516 * crypt/Makefile [$(build-bounded) = yes]
19517 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19518 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19519 append to variable.
19520 [$(build-bounded) = yes] (install-lib): Likewise.
19521 [$(build-bounded) = yes] (generated): Likewise.
19522 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19523 Remove rule.
19524 * intl/Makefile [$(build-bounded) = yes]
19525 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19526 * math/Makefile [$(build-bounded) = yes]
19527 ($(tests:%=$(objpfx)%-bp): Likewise.
19528 * misc/Makefile [$(build-bounded) = yes]
19529 ($(objpfx)tst-tsearch-bp): Likewise.
19530 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19531 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19532 Remove dependency.
19533 * string/Makefile (o-objects.ob): Remove variable.
19534 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19535 (CFLAGS-.ob): Remove variable.
19536 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19537 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19538 both definitions of variable.
19539 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19540 (ASFLAGS-.ob): Remove variable.
19541
19542 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19543
19544 [BZ #13550]
19545 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19546 Remove __BOUNDED_POINTERS__ from condition.
19547 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19548 * string/bits/string2.h [!__NO_STRING_INLINES &&
19549 !__BOUNDED_POINTERS__]: Likewise.
19550 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19551 Likewise.
19552 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19553 Remove conditional code.
19554 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19555 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19556 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19557 condition.
19558
19559 [BZ #13550]
19560 * csu/libc-start.c: Do not include <bp-sym.h>.
19561 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19562 * elf/dl-open.c: Do not include <bp-sym.h>.
19563 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19564 * math/fegetenv.c: Do not include <bp-sym.h>.
19565 (fegetenv): Do not use BP_SYM in versioned symbols.
19566 * nptl/sysdeps/pthread/bits/libc-lockP.h
19567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19568 <bp-sym.h>.
19569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19570 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19572 (__pthread_mutex_destroy): Likewise.
19573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19574 (__pthread_mutex_lock): Likewise.
19575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19576 (__pthread_mutex_trylock): Likewise.
19577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19578 (__pthread_mutex_unlock): Likewise.
19579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19580 (__pthread_mutexattr_init): Likewise.
19581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19582 (__pthread_mutexattr_destroy): Likewise.
19583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19584 (__pthread_mutexattr_settype): Likewise.
19585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19586 (__pthread_rwlock_init): Likewise.
19587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19588 (__pthread_rwlock_destroy): Likewise.
19589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19590 (__pthread_rwlock_rdlock): Likewise.
19591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19592 (__pthread_rwlock_tryrdlock): Likewise.
19593 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19594 (__pthread_rwlock_wrlock): Likewise.
19595 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19596 (__pthread_rwlock_trywrlock): Likewise.
19597 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19598 (__pthread_rwlock_unlock): Likewise.
19599 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19600 (__pthread_key_create): Likewise.
19601 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19602 (__pthread_setspecific): Likewise.
19603 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19604 (__pthread_getspecific): Likewise.
19605 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19606 Likewise.
19607 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19608 (_pthread_cleanup_push_defer): Likewise.
19609 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19610 (_pthread_cleanup_pop_restore): Likewise.
19611 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19612 (pthread_setcancelstate): Likewise.
19613 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19614 <bp-sym.h>.
19615 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19616 (memchr): Do not use BP_SYM in weak_alias.
19617 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19618 (fegetenv): Do not use BP_SYM in versioned symbols.
19619 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19620 (fesetenv): Do not use BP_SYM in versioned symbols.
19621 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19622 (feupdateenv): Do not use BP_SYM in versioned symbols.
19623 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19624 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19625 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19626 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19627 (open64): Do not use BP_SYM in weak_alias.
19628 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19629 (fegetenv): Do not use BP_SYM in versioned symbols.
19630 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19631 (fesetenv): Do not use BP_SYM in versioned symbols.
19632 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19633 (feupdateenv): Do not use BP_SYM in versioned symbols.
19634 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19635 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19636 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19637 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19638 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19639 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19640 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19641 <bp-sym.h>.
19642 (__libc_start_main): Do not use BP_SYM.
19643
19644 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19645
19646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19647 redundant return line.
19648 (norm): Likewise.
19649 (denorm): Likewise.
19650 (dbl_mp): Likewise.
19651 (sub_magnitudes): Likewise.
19652 (__add): Likewise.
19653 (__sub): Likewise.
19654 (__mul): Likewise.
19655 (__inv): Likewise.
19656 (__dvd): Likewise.
19657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19658 (norm): Likewise.
19659 (denorm): Likewise.
19660 (dbl_mp): Likewise.
19661 (sub_magnitudes): Likewise.
19662 (__add): Likewise.
19663 (__sub): Likewise.
19664 (__mul): Likewise.
19665 (__inv): Likewise.
19666 (__dvd): Likewise.
19667
19668 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19669 instead of __mul.
19670 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19671 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19672 (cc32): Likewise.
19673
19674 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19675 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19676 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19677 of __mul for squares.
19678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19679 function
19680 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19681 Likewise.
19682 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19683 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19684
19685 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19686
19687 [BZ #13550]
19688 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19689 code.
19690 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19691 prototype or function definition. Rename ubp_* variables and
19692 parameters. Remove argv definitions conditional on
19693 [__BOUNDED_POINTERS__].
19694 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19695 * elf/dl-runtime.c (_dl_fixup): Likewise.
19696 * include/set-hooks.h (RUN_HOOK): Likewise.
19697 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19698 definition.
19699 * string/strcpy.c (strcpy): Do not use __unbounded.
19700 * sysdeps/generic/frame.h (struct layout): Likewise.
19701 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19702 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19703 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19704 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19705 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19706 (__backtrace): Likewise.
19707 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19708 use __ptrvalue.
19709 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19710 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19711 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19712 Likewise.
19713 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19714 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19715 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19716 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19717 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19718 Do not use __unbounded.
19719 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19720 Rename __unboundedrlimits parameter to rlimits in prototype.
19721 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19722 Do not use __unbounded.
19723 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19724 not use __ptrvalue.
19725 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19726 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19727 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19728 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19729 __ptrvalue or __unbounded.
19730 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19731 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19732 use __unbounded.
19733 (__new_msgctl): Do not use __ptrvalue.
19734 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19735 __unbounded.
19736 (__libc_msgrcv): Do not use __ptrvalue.
19737 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19738 startup_info): Do not use __unbounded.
19739 (__libc_start_main): Likewise. Rename ubp_* variables and
19740 parameters. Remove argv definitions conditional on
19741 [__BOUNDED_POINTERS__].
19742 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19743 __ptrvalue.
19744 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19745 use __unbounded.
19746 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19747 or __ptrvalue.
19748 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19749 use __unbounded.
19750 (__new_shmctl): Do not use __ptrvalue.
19751 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19752 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19753 Likewise.
19754 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19755 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19756 (__libc_sigaction): Likewise.
19757 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19758 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19759 Likewise.
19760 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19761
19762 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19763
19764 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19765
19766 * string/mempcpy.c: Implement by calling memcpy.
19767
19768 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19769
19770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19771
19772 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19773 evaluation.
19774
19775 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19776 values in the mantissa.
19777
19778 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19779 minimize writes to Z.
19780 (sub_magnitudes): Simplify code a bit.
19781
19782 2013-02-12 Roland McGrath <roland@hack.frob.com>
19783
19784 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19785 from the message. The linker prefixes all warnings with that already.
19786
19787 2013-02-12 Andreas Schwab <schwab@suse.de>
19788
19789 [BZ #15078]
19790 * posix/regexec.c (extend_buffers): Add parameter min_len.
19791 (check_matching): Pass minimum needed length.
19792 (clean_state_log_if_needed): Likewise.
19793 (get_subexp): Likewise.
19794 * posix/Makefile (tests): Add bug-regex34.
19795 (bug-regex34-ENV): Define.
19796 * posix/bug-regex34.c: New file.
19797
19798 [BZ #11561]
19799 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19800 elements compare against the byte sequence of it, not its name.
19801 * posix/Makefile (tests): Add bug-regex35.
19802 (bug-regex35-ENV): Define.
19803 * posix/bug-regex35.c: New file.
19804
19805 2013-02-11 Tom de Vries <tom@codesourcery.com>
19806
19807 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19808 comment.
19809 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19810 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19811 (CHECK_EOL): Add undef.
19812
19813 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
19814
19815 * bits/stdlib-bsearch.h: New file.
19816 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19817 * stdlib/stdlib.h: Likewise.
19818
19819 2013-02-11 Roland McGrath <roland@hack.frob.com>
19820
19821 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19822 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19823 declaration.
19824 * manual/search.texi (Array Search Function): Add missing const in
19825 lfind prototype.
19826 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19827 declaration to use rlim_t.
19828 (Basic Scheduling Functions): Remove erroneous const from
19829 sched_getparam prototype. Remove erroneous * from
19830 sched_get_priority_max and sched_get_priority_min prototypes.
19831 (Resource Usage): Fix summary @comment on vtimes to refer to
19832 sys/vtimes.h rather than vtimes.h.
19833 Add missing *s in vtimes prototype.
19834 (Limits on Resources): Fix ulimit prototype to return long int.
19835 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19836 prototypes to use long int rather than double.
19837 (BSD Random): Fix initstate and setstate to use char *, not void *.
19838 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19839 prototype to make second argument 'struct aiocb64 *const[]'.
19840 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19841 (Status of AIO Operations): Remove erroneous const in aio_return and
19842 aio_return64 prototypes.
19843 (Synchronizing I/O): Fix sync prototype to return void.
19844 * manual/startup.texi (Suboptions): Remove an erroneous const in
19845 getsubopt prototype.
19846 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19847 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19848 use size_t rather than int.
19849 (Scanning All Users): Likewise for getpwent_r.
19850 (Setting Groups): Add missing const to setgroups prototype.
19851 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19852 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19853 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19854 'const void *' rather than 'const char *'.
19855 (Host Address Functions): Likewise for inet_ntop.
19856 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19857 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19858 ssize_t for return value.
19859 (Sending Data): Likewise for send, sendto, sendmsg.
19860 (Socket Option Functions): Add a missing const in setsockopt prototype.
19861 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19862 use wchar_t for the argument.
19863 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19864 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19865 take no arguments.
19866 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19867 double/float/long double for second argument.
19868 Fix return types of significand, significandf, significandl.
19869 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19870 argument in fchmod prototype.
19871 (File Owner): Use uid_t and gid_t in fchown prototype.
19872 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19873 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19874 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19875 use 'const struct dirent **' as argument types to CMP function pointer
19876 argument.
19877 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19878 (File Times): Fix summary magic @comment for struct utimbuf and utime
19879 to refer to utime.h, not time.h.
19880 * manual/string.texi (Argz Functions): Add missing const in
19881 argz_extract and argz_next prototypes.
19882 (Finding Tokens in a String): Likewise for basename.
19883 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19884 (Copying and Concatenation): Fix typo in wmemmove prototype.
19885 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19886 (Signal Stack): Remove erroneous const in sigstack prototype.
19887 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19888 prototype.
19889 (Simple Calendar Time): Likewise for stime.
19890 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19891 prototype.
19892 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19893 say sys/sysctl.h instead.
19894 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19895 and vsyslog prototypes.
19896
19897 2013-02-11 Tom de Vries <tom@codesourcery.com>
19898
19899 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19900 Remove.
19901
19902 2013-02-11 Roland McGrath <roland@hack.frob.com>
19903
19904 * misc/sys/mman.h: Fix typo in mremap comment.
19905
19906 2013-02-08 Roland McGrath <roland@hack.frob.com>
19907
19908 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19909 the '\0' terminator.
19910
19911 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19912
19913 [BZ #13550]
19914 * debug/segfault.c: Don't include <bp-checks.h>.
19915 * sysdeps/generic/bp-checks.h: Remove file.
19916 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19917 (__GETDENTS): Don't use CHECK_N.
19918 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19919 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19920 (__getgroups): Don't use CHECK_N.
19921 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19922 (setgroups): Don't use CHECK_N.
19923 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19924 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19925 (__libc_msgrcv): Don't use CHECK_N.
19926 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19927 (__libc_msgsnd): Don't use CHECK_N.
19928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19929 <bp-checks.h>.
19930 (__libc_pread): Don't use CHECK_N.
19931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19932 include <bp-checks.h>.
19933 (__libc_pread64): Don't use CHECK_N.
19934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19935 include <bp-checks.h>.
19936 (__libc_pwrite): Don't use CHECK_N.
19937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19938 include <bp-checks.h>.
19939 (__libc_pwrite64): Don't use CHECK_N.
19940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19941 <bp-checks.h>.
19942 (__libc_pread): Don't use CHECK_N.
19943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19944 include <bp-checks.h>.
19945 (__libc_pread64): Don't use CHECK_N.
19946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19947 include <bp-checks.h>.
19948 (__libc_pwrite): Don't use CHECK_N.
19949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19950 include <bp-checks.h>.
19951 (__libc_pwrite64): Don't use CHECK_N.
19952 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19953 (do_pread): Don't use CHECK_N.
19954 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19955 (do_pread64): Don't use CHECK_N.
19956 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19957 (do_pwrite): Don't use CHECK_N.
19958 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19959 (do_pwrite64): Don't use CHECK_N.
19960 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19961 (__libc_readv): Don't use CHECK_N.
19962 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19963 (semop): Don't use CHECK_N.
19964 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19965 <bp-checks.h>.
19966 (semtimedop): Don't use CHECK_N.
19967 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19968 (__libc_pread): Don't use CHECK_N.
19969 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19970 <bp-checks.h>.
19971 (__libc_pread64): Don't use CHECK_N.
19972 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19973 <bp-checks.h>.
19974 (__libc_pwrite): Don't use CHECK_N.
19975 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19976 <bp-checks.h>.
19977 (__libc_pwrite64): Don't use CHECK_N.
19978 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19979 <bp-checks.h>.
19980 (__libc_msgrcv): Don't use CHECK_N.
19981 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19982 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19983 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19984 (__libc_writev): Don't use CHECK_N.
19985
19986 2013-02-08 Roland McGrath <roland@hack.frob.com>
19987
19988 * string/strcpy.c: Removed unused variable.
19989
19990 * Makeconfig (+sysdep-includes): Define with := rather than =.
19991 Use an existing include/ subdir of each sysdeps dir before it.
19992
19993 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19994
19995 * nscd/connection.c (register_traced_file): Comment function.
19996 [HAVE_INOTIFY] (union __inev): Define.
19997 [HAVE_INOTIFY] (inotify_check_files): New function.
19998 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19999 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20000 clear_db_cache.
20001 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20002
20003 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20004
20005 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20006 loaded if not already and that a failure is permanent.
20007
20008 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20009
20010 [BZ #15006]
20011 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20012 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20013
20014 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20015
20016 [BZ #13550]
20017 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20018 (CHECK_1_NULL_OK): Likewise.
20019 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20020 (__fxstat): Do not use CHECK_1.
20021 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20022 <bp-checks.h>.
20023 (___fxstat64): Do not use CHECK_1.
20024 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20025 <bp-checks.h>.
20026 (__fxstatat): Do not use CHECK_1.
20027 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20028 <bp-checks.h>.
20029 (__fxstatat64): Do not use CHECK_1.
20030 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20031 <bp-checks.h>.
20032 (__fxstat): Do not use CHECK_1.
20033 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20034 <bp-checks.h>.
20035 (__fxstatat): Do not use CHECK_1.
20036 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20037 <bp-checks.h>.
20038 (__getresgid): Do not use CHECK_1.
20039 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20040 <bp-checks.h>.
20041 (__getresuid): Do not use CHECK_1.
20042 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20043 <bp-checks.h>.
20044 (__lxstat): Do not use CHECK_1.
20045 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20046 <bp-checks.h>.
20047 (__old_msgctl): Do not use CHECK_1.
20048 (__new_msgctl): Likewise.
20049 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20050 <bp-checks.h>.
20051 (__new_setrlimit): Do not use CHECK_1.
20052 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20053 <bp-checks.h>.
20054 (__old_shmctl): Do not use CHECK_1.
20055 (__new_shmctl): Likewise.
20056 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20057 <bp-checks.h>.
20058 (__xstat): Do not use CHECK_1.
20059 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20060 (__lxstat): Do not use CHECK_1.
20061 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20062 <bp-checks.h>.
20063 (___lxstat64): Do not use CHECK_1.
20064 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20065 (__old_msgctl): Do not use CHECK_1.
20066 (__new_msgctl): Likewise.
20067 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20068 <bp-checks.h>.
20069 (__gettimeofday): Do not use CHECK_1.
20070 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20071 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20072 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20073 <bp-checks.h>.
20074 (__gettimeofday): Do not use CHECK_1.
20075 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20076 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20077 (__new_shmctl): Do not use CHECK_1.
20078 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20079 <bp-checks.h>.
20080 (do_sigtimedwait): Do not use CHECK_1.
20081 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20082 <bp-checks.h>.
20083 (do_sigwaitinfo): Do not use CHECK_1.
20084 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20085 <bp-checks.h>.
20086 (msgctl): Do not use CHECK_1.
20087 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20088 <bp-checks.h>.
20089 (shmctl): Do not use CHECK_1.
20090 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20091 (ustat): Do not use CHECK_1.
20092 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20093 <bp-checks.h>.
20094 (__fxstat): Do not use CHECK_1.
20095 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20096 <bp-checks.h>.
20097 (__fxstatat): Do not use CHECK_1.
20098 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20099 <bp-checks.h>.
20100 (__lxstat): Do not use CHECK_1.
20101 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20102 <bp-checks.h>.
20103 (__xstat): Do not use CHECK_1.
20104 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20105 (__xstat): Do not use CHECK_1.
20106 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20107 (___xstat64): Do not use CHECK_1.
20108
20109 [BZ #13550]
20110 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20111 definitions.
20112 (CHECK_BOUNDS_HIGH): Likewise.
20113 * string/strcpy.c: Do not include <bp-checks.h>.
20114 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20115
20116 2013-02-07 Roland McGrath <roland@hack.frob.com>
20117
20118 * nscd/nscd-client.h (__nscd_drop_map_ref):
20119 Add __attribute__ ((unused)).
20120 * nis/nss-nisplus.h (niserr2nss): Likewise.
20121
20122 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20123 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20124
20125 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20126 Remove inline keyword.
20127 * include/rounding-mode.h (round_away): Likewise.
20128 * libio/wfileops.c (adjust_wide_data): Likewise.
20129 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20130 (__m128i_strloadu_tolower): Likewise.
20131 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20132 (__m128i_strloadu_tolower): Likewise.
20133 * time/mktime.c (ydhms_diff): Likewise.
20134 * locale/elem-hash.h (elem_hash): Likewise.
20135 * locale/setlocale.c (setdata): Likewise.
20136 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20137 (re_string_wchar_at): Likewise.
20138 (bitset_not, bitset_merge, bitset_mask): Likewise.
20139 [!(__GNUC__ > 3)] (inline): Remove macro.
20140 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20141 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20142 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20143 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20144 * string/memcmp.c (memcmp_bytes): Likewise.
20145 * locale/programs/locarchive.c (compute_hashval): Likewise.
20146 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20147 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20148 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20149 * nss/getent.c (print_rpc, print_protocols): Likewise.
20150 (print_passwd, print_group, print_aliases): Likewise.
20151 * nis/nss-nisplus.h (niserr2nss): Likewise.
20152 * nscd/connections.c (restart_p): Likewise.
20153 Change return type to bool.
20154
20155 2013-02-05 Roland McGrath <roland@hack.frob.com>
20156
20157 * Makeconfig (all-Depend-files): Add existing
20158 $(sorted-subdirs:=/Depend) files.
20159 (all-subdirs): Remove nss.
20160 * sysdeps/unix/inet/Subdirs: Add it here instead.
20161 * hesiod/Depend: New file.
20162
20163 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20164 instead of calling alloca.
20165
20166 * io/lseek.c (__lseek): Rename to __libc_lseek.
20167 Define __lseek as an alias.
20168
20169 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20170
20171 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20172
20173 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20174 else clause and remove check for non-standard endianness.
20175
20176 2013-02-04 David S. Miller <davem@davemloft.net>
20177
20178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20179
20180 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20181
20182 [BZ #13550]
20183 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20184 (__ubp_memchr): Remove prototype.
20185 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20186 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20187 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20188 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20189 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20190 Remove alias.
20191 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20192 (__ubp_memchr): Likewise.
20193 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20194 (__ubp_memchr): Likewise.
20195 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20196 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20197 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20198 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20199 CHECK_STRING.
20200 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20201 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20202 (__getcwd): Do not use CHECK_STRING.
20203 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20204 <bp-checks.h>.
20205 (__real_chown): Do not use CHECK_STRING.
20206 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20207 <bp-checks.h>.
20208 (fchownat): Do not use CHECK_STRING.
20209 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20210 CHECK_STRING.
20211 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20212 <bp-checks.h>.
20213 (__lchown): Do not use CHECK_STRING.
20214 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20215 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20216 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20217 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20219 include <bp-checks.h>.
20220 (truncate64): Do not use CHECK_STRING.
20221 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20222 <bp-checks.h>.
20223 (__real_chown): Do not use CHECK_STRING.
20224 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20225 <bp-checks.h>.
20226 (__lchown): Do not use CHECK_STRING.
20227 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20228 <bp-checks.h>.
20229 (__chown): Do not use CHECK_STRING.
20230 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20231 <bp-checks.h>.
20232 (truncate64): Do not use CHECK_STRING.
20233 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20234 Likewise.
20235 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20236 (__xmknod): Do not use CHECK_STRING.
20237 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20238 <bp-checks.h>.
20239 (__xmknodat): Do not use CHECK_STRING.
20240 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20241 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20242
20243 2013-02-04 Andreas Schwab <schwab@suse.de>
20244
20245 [BZ #14142]
20246 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20247 * include/netdb.h: Likewise for h_errno.
20248 * elf/tst-stackguard1.c: Include <tls.h>.
20249
20250 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20251
20252 * elf/link.h (struct link_map): Extend the l_addr comment.
20253 * include/link.h (struct link_map): Likewise.
20254
20255 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20256
20257 [BZ #13550]
20258 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20259 (BOUNDED_1): Remove macro.
20260 * debug/backtrace.c: Don't include <bp-checks.h>.
20261 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20262 (__backtrace): Likewise.
20263 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20264 <bp-checks.h>.
20265 (__backtrace): Don't use BOUNDED_1.
20266 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20267 <bp-checks.h>.
20268 (__backtrace): Don't use BOUNDED_1.
20269 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20270 (__backtrace): Don't use BOUNDED_1.
20271 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20272 (shmat): Don't use BOUNDED_N.
20273
20274 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20275
20276 [BZ #13550]
20277 * sysdeps/generic/bp-start.h: Remove file.
20278 * csu/libc-start.c: Don't include <bp-start.h>.
20279 (LIBC_START_MAIN): Set up __environ directly instead of using
20280 INIT_ARGV_and_ENVIRON.
20281 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20282 <bp-start.h>.
20283
20284 [BZ #13550]
20285 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20286 definitions.
20287 (CHECK_FCNTL): Likewise.
20288 (CHECK_N_PAGES): Likewise.
20289
20290 [BZ #13550]
20291 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20292 definitions.
20293 (CHECK_SIGSET_NULL_OK): Likewise.
20294 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20295 <bp-checks.h>.
20296 (sigpending): Don't use CHECK_SIGSET.
20297 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20298 <bp-checks.h>.
20299 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20300 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20301 <bp-checks.h>.
20302 (do_sigsuspend): Don't use CHECK_SIGSET.
20303 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20304 use CHECK_SIGSET.
20305 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20306 (do_sigwait): Don't use CHECK_SIGSET.
20307 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20308 use CHECK_SIGSET.
20309 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20310 include <bp-checks.h>.
20311 (sigpending): Don't use CHECK_SIGSET.
20312 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20313 include <bp-checks.h>.
20314 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20315 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20316 <bp-checks.h>.
20317 (sigpending): Don't use CHECK_SIGSET.
20318 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20319 <bp-checks.h>.
20320 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20321
20322 [BZ #13550]
20323 * sysdeps/generic/bp-semctl.h: Remove file.
20324 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20325 <bp-checks.h> and <bp-semctl.h>.
20326 (__old_semctl): Don't use CHECK_SEMCTL.
20327 (__new_semctl): Likewise.
20328 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20329 and <bp-semctl.h>.
20330 (__old_semctl): Don't use CHECK_SEMCTL.
20331 (__new_semctl): Likewise.
20332 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20333 <bp-checks.h> and <bp-semctl.h>.
20334 (__old_semctl): Don't use CHECK_SEMCTL.
20335 (__new_semctl): Likewise.
20336 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20337 <bp-checks.h> and <bp-semctl.h>.
20338 (semctl): Don't use CHECK_SEMCTL.
20339
20340 [BZ #13550]
20341 * Makerules (elide-bp-thunks): Remove variable.
20342 (elide-routines.oS): Don't use $(elide-bp-thunks).
20343 (elide-routines.os): Likewise.
20344 (elide-routines.o): Likewise.
20345 (elide-routines.op): Likewise.
20346 (elide-routines.og): Likewise.
20347 (objects): Don't use $(bp-thunks).
20348 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20349 include.
20350 (common-generated): Do not add s-proto-bp.d.
20351 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20352 (int): Likewise.
20353 (typ): Likewise.
20354 Do not generate makefile rules for bounded-pointer thunks.
20355 * sysdeps/generic/bp-thunks.h: Remove file.
20356 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20357 * sysdeps/unix/s-proto-bp.S: Likewise.
20358
20359 [BZ #15062]
20360 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20361 parts of result separately when argument is not close to line from
20362 -i to i and one part of argument is small.
20363 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20364 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20365 * math/libm-test.inc (cacos_test): Add more tests.
20366 (casin_test): Likewise.
20367 (casinh_test): Likewise.
20368 * sysdeps/i386/fpu/libm-test-ulps: Update.
20369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20370
20371 2013-01-31 David S. Miller <davem@davemloft.net>
20372
20373 * po/de.po: Update from translation team.
20374
20375 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20376
20377 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20378
20379 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20380
20381 * configure.in (_AC_PROG_CC_C89): New definition.
20382 * configure: Regenerate.
20383
20384 * configure.in (AC_PROG_CPP): New definition.
20385 * configure: Regenerate.
20386
20387 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20388
20389 * debug/tst-backtrace.h: New file.
20390 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20391 (ret): Remove variable.
20392 (x): Likewise.
20393 (FAIL): Remove macro.
20394 (NO_INLINE): Likewise.
20395 (fn1): Use match function instead of strstr.
20396 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20397 (ret): Remove variable.
20398 (x): Likewise.
20399 (FAIL): Remove macro.
20400 (NO_INLINE): Likewise.
20401 (fn): Use match function instead of strstr.
20402 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20403 (ret): Remove variable.
20404 (x): Likewise.
20405 (FAIL): Remove macro.
20406 (NO_INLINE): Likewise.
20407 (handle_signal): Use match function instead of strstr.
20408 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20409 (ret): Remove variable.
20410 (x): Likewise.
20411 (FAIL): Remove macro.
20412 (NO_INLINE): Likewise.
20413 (handle_signal): Use match function instead of strstr.
20414
20415 2013-01-23 Roland McGrath <roland@hack.frob.com>
20416
20417 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20418
20419 2013-01-23 David S. Miller <davem@davemloft.net>
20420
20421 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20422 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20423 argument of CAS if possible.
20424 * sysdeps/sparc/sparc64/bits/atomic.h
20425 (__arch_compare_and_exchange_val_32_acq): Likewise.
20426 (__arch_compare_and_exchange_val_64_acq): Likewise.
20427
20428 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20429
20430 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20431 * sysdeps/posix/ulimit.c: ... this.
20432 Include <limits.h>.
20433 * sysdeps/unix/bsd/ulimit.c: Remove file.
20434
20435 2013-01-23 Adam Conrad <adconrad@0c3.net>
20436
20437 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20438 (LDFLAGS-tst-array5): Likewise.
20439
20440 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20441
20442 [BZ #15036]
20443 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20444 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20445 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20446 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20447
20448 2013-01-21 David S. Miller <davem@davemloft.net>
20449
20450 * sysdeps/sparc/backtrace.c: New file.
20451 * sysdeps/sparc/sparc32/backtrace.h: New file.
20452 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20453 * sysdeps/sparc/sparc64/backtrace.h: New file.
20454 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20455 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20456 -funwind-tables.
20457
20458 2013-01-21 Andreas Schwab <schwab@suse.de>
20459
20460 [BZ #15020]
20461 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20462 closed its stdout.
20463
20464 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20465
20466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20467 "mpa2.h".
20468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20469
20470 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20471 Mark Mitchell <mark@codesourcery.com>
20472 Tom de Vries <tom@codesourcery.com>
20473 Paul Pluzhnikov <ppluzhnikov@google.com>
20474
20475 * debug/tst-backtrace2.c: New file.
20476 * debug/tst-backtrace3.c: Likewise.
20477 * debug/tst-backtrace4.c: Likewise.
20478 * debug/tst-backtrace5.c: Likewise.
20479 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20480 (CFLAGS-tst-backtrace3.c): Likewise.
20481 (CFLAGS-tst-backtrace4.c): Likewise.
20482 (CFLAGS-tst-backtrace5.c): Likewise.
20483 (LDFLAGS-tst-backtrace2): Likewise.
20484 (LDFLAGS-tst-backtrace3): Likewise.
20485 (LDFLAGS-tst-backtrace4): Likewise.
20486 (LDFLAGS-tst-backtrace5): Likewise.
20487 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20488 tst-backtrace4 and tst-backtrace5.
20489
20490 2013-01-18 Anton Blanchard <anton@samba.org>
20491 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20492
20493 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20494 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20495 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20496 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20498 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20499 "+r" and remove output regs list as redundant. Add explicit inline
20500 asm to specify register of return val to work around compiler codegen
20501 bug. Remove (int) cast on return value. Add return type parameter to
20502 use in macro so that this macro does not truncate return value for
20503 64-bit values.
20504 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20505 pass to INTERNAL_VSYSCALL_NCS.
20506 (INLINE_VSYSCALL): Add 'long int' as return type to
20507 INTERNAL_VSYSCALL_NCS macro invocation.
20508 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20509 INTERNAL_VSYSCALL_NCS macro invocation.
20510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20511
20512 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20513
20514 [BZ #14496]
20515 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20516 Fix application of SIMD FP exception mask.
20517
20518 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20519 mp_no from a power of two.
20520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20521 __mpexp_twomm1. Use __pow_mp.
20522
20523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20524 multiplication.
20525
20526 2013-01-17 David S. Miller <davem@davemloft.net>
20527
20528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20529
20530 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20531
20532 [BZ #15023]
20533 * include/complex.h: Condition contents on [!_COMPLEX_H].
20534 (__kernel_casinhf): New prototype.
20535 (__kernel_casinh): Likewise.
20536 (__kernel_casinhl): Likewise.
20537 * math/Makefile (libm_calls): Add k_casinh.
20538 * math/k_casinh.c: New file.
20539 * math/k_casinhf.c: Likewise.
20540 * math/k_casinhl.c: Likewise.
20541 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20542 finite nonzero arguments.
20543 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20544 finite nonzero arguments.
20545 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20546 finite nonzero arguments.
20547 * math/s_casinh.c: Do not include <float.h>.
20548 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20549 * math/s_casinhf.c: Do not include <float.h>.
20550 (__casinhf): Move code for finite nonzero arguments to
20551 k_casinhf.c.
20552 * math/s_casinhl.c: Do not include <float.h>.
20553 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20554 redefine.
20555 (__casinhl): Move code for finite nonzero arguments to
20556 k_casinhl.c.
20557 * math/libm-test.inc (cacos_test): Add more tests.
20558 * sysdeps/i386/fpu/libm-test-ulps: Update.
20559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20560
20561 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20562
20563 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20564 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20565 [!HAVE_MREMAP]: Remove [defined linux] case.
20566 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20567
20568 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20569
20570 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20571
20572 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20573
20574 * elf/elf.h (R_386_SIZE32): New relocation.
20575 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20576 R_386_SIZE32.
20577 (elf_machine_rela): Likewise.
20578 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20579 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20580
20581 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20582
20583 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20584 (FP_FAST_FMA): Do not define.
20585 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20586 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20587 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20588 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20589 !_SOFT_FLOAT]: Likewise.
20590 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20591 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20592 value.
20593 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20594 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20595 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20596 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20597 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20598 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20599 file.
20600
20601 2013-01-16 Andreas Schwab <schwab@suse.de>
20602
20603 [BZ #14327]
20604 * include/stdlib.h (__mktemp): Add declaration.
20605 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20606 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20607
20608 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20609
20610 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20611 definitions.
20612 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20613 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20614 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20615 definitions here.
20616 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20617 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20618 definitions.
20619 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20620 and ONE.
20621 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20622 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20623 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20624 definitions.
20625 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20626 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20627 definitions.
20628 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20629
20630 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20631
20632 2013-01-15 David S. Miller <davem@davemloft.net>
20633
20634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20635 trunc{,f} to libm-sysdep_routes.
20636 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20638 file.
20639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20641 file.
20642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20643 file.
20644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20646 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20647 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20648 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20649 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20650 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20651 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20652
20653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20654 nearbyint{,f} to libm-sysdep_routes.
20655 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20657 New file.
20658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20659 file.
20660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20661 New file.
20662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20663 file.
20664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20666 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20667 file.
20668 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20669 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20670 file.
20671 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20672 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20673 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20674
20675 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20676 libc_feholdexcept and libc_fesetenv.
20677
20678 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20679
20680 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20681
20682 2013-01-14 David S. Miller <davem@davemloft.net>
20683
20684 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20685 (SPARC_ASM_VIS2_IFUNC): Likewise.
20686 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20688 use of 'siam' instruction.
20689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20690 Likewise.
20691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20692 Likewise.
20693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20694 Likewise.
20695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20698 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20700 file.
20701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20702 file.
20703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20704 file.
20705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20706 file.
20707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20712 new VIS2 routines.
20713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20716 Likewise.
20717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20718 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20722 routines to libm-sysdep_routines.
20723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20724
20725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20726 fdim/fdimf to libm-sysdep_routines.
20727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20728 file.
20729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20731 file.
20732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20735 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20736 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20737 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20738 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20739
20740 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20741
20742 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20743 to optimize copies.
20744
20745 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20748
20749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20750 local variable MPTWO.
20751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20752 Likewise.
20753
20754 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20755
20756 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20757 GLOB_NOESCAPE.
20758
20759 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20760
20761 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20762
20763 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20764
20765 * manual/pattern.texi (glob_t): Document gl_flags.
20766 (glob64_t): Likewise.
20767
20768 2013-01-11 David S. Miller <davem@davemloft.net>
20769
20770 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20771 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20772 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20773 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20774 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20775 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20776 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20777 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20778 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20779 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20780 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20781 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20782 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20783
20784 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20785 sparc V9 rather than using V8 code.
20786 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20787 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20788
20789 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20790 Move to...
20791 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20792 Here.
20793
20794 2013-01-11 Roland McGrath <roland@hack.frob.com>
20795
20796 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20797 not in the main loop.
20798 * configure: Regenerated.
20799
20800 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20801
20802 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20803 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20804 to just #else.
20805 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20806 [!__GLIBC_HAVE_LONG_LONG] case.
20807 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20808 condition to just #else.
20809 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20810 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20811 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20812 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20813 unconditional.
20814 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20815 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20816 #elif condition to just #else.
20817 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20818 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20819 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20820 #elif condition to just #else.
20821
20822 2013-01-11 Steve Ellcey <sellcey@mips.com>
20823
20824 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20825 (EF_MIPS_ARCH_64): Fix value.
20826 (EF_MIPS_ARCH_32R2): New.
20827 (EF_MIPS_ARCH_64R2): New.
20828
20829 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20830
20831 * Makeconfig (+link-pie-before-libc): New.
20832 (+link-pie-after-libc): Likewise.
20833 (+link-pie-tests): Likewise.
20834 (+link-pie): Rewritten.
20835 (link-before-libc): Remove $(config-LDFLAGS).
20836 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20837 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20838 (config-LDFLAGS): Renamed to ...
20839 (rtld-LDFLAGS): This.
20840 (rtld-tests-LDFLAGS): New macro.
20841 (link-libc-rpath-link): Likewise.
20842 (link-libc-tests-rpath-link): Likewise.
20843 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20844 (link-libc): Prepand $(link-libc-rpath-link).
20845 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20846 (test-program-prefix): New macro.
20847 (test-via-rtld-prefix): Likewise.
20848 (test-program-cmd): Likewise.
20849 (host-test-program-cmd): Likewise.
20850 * Makefile ($(common-objpfx)testrun.sh): Replace
20851 $(run-program-prefix) with $(test-program-prefix).
20852 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20853 $(rtld-LDFLAGS).
20854 ($(common-objpfx)shlib.lds): Likewise.
20855 (build-module-helper): Likewise.
20856 ($(common-objpfx)format.lds): Likewise.
20857 * Rules (binaries-pie-tests): New.
20858 (binaries-pie-notests): Likewise.
20859 (binaries-pie): Rewritten.
20860 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20861 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20862 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20863 (make-test-out): Replace $(host-built-program-cmd) with
20864 $(host-test-program-cmd).
20865 * config.make.in (build-hardcoded-path-in-tests): New variable.
20866 * configure.in (--enable-hardcoded-path-in-tests): New configure
20867 option.
20868 (hardcoded_path_in_tests): New AC_SUBST.
20869 * configure: Regenerated.
20870 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20871 $(built-program-cmd) with $(test-program-cmd).
20872 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20873 (test_program_cmd): This.
20874 * elf/Makefile ($(objpfx)order.out): Run test with
20875 $(test-program-prefix).
20876 ($(objpfx)order2.out): Likewise.
20877 ($(objpfx)tst-initorder.out): Likewise.
20878 ($(objpfx)tst-initorder2.out): Likewise.
20879 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20880 $(test-program-cmd).
20881 ($(objpfx)tst-array1-static.out): Likewise.
20882 ($(objpfx)tst-array2.out): Likewise.
20883 ($(objpfx)tst-array3.out): Likewise.
20884 ($(objpfx)tst-array4.out): Likewise.
20885 ($(objpfx)tst-array5.out): Likewise.
20886 ($(objpfx)tst-array5-static.out): Likewise.
20887 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20888 $(test-program-cmd).
20889 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20890 $(run-program-prefix) with $(test-program-prefix).
20891 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20892 (test_program_prefix): This.
20893 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20894 $(run-program-prefix) with $(test-program-prefix).
20895 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20896 (test_program_prefix): This.
20897 * iconvdata/tst-tables.sh: Likewise.
20898 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20899 $(run-program-prefix) with $(test-program-prefix).
20900 ($(objpfx)tst-translit.out): Likewise.
20901 ($(objpfx)tst-gettext2.out): Likewise.
20902 ($(objpfx)tst-gettext4.out): Likewise.
20903 ($(objpfx)tst-gettext6.out): Likewise.
20904 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20905 (test_program_prefix): This.
20906 * intl/tst-gettext2.sh: Likewise.
20907 * intl/tst-gettext4.sh Likewise.
20908 * intl/tst-gettext6.sh: Likewise.
20909 * intl/tst-translit.sh: Likewise.
20910 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20911 with $(test-program-cmd).
20912 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20913 $(run-program-prefix) with $(test-program-prefix).
20914 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20915 (test_program_prefix): This.
20916 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20917 $(run-program-prefix) with $(test-program-prefix).
20918 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20919 (test_program_prefix): This.
20920 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20921 * posix/Makefile ($(objpfx)globtest.out): Replace
20922 $(run-via-rtld-prefix) and $(test-wrapper) with
20923 $(test-program-prefix) and $(test-via-rtld-prefix).
20924 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20925 $(test-program-prefix).
20926 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20927 $(host-test-program-cmd).
20928 (tst-spawn-ARGS): Likewise.
20929 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20930 $(test-program-prefix).
20931 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20932 (test_via_rtld_prefix): This.
20933 (test_wrapper): Renamed to ...
20934 (test_program_prefix): This.
20935 (run_program_prefix): Replaced by test_program_prefix.
20936 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20937 (test_program_prefix): This.
20938 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20939 with $(host-test-program-cmd).
20940 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20941 $(run-program-prefix) with $(test-program-prefix).
20942 ($(objpfx)tst-printf.out): Likewise.
20943 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20944 $(test-program-cmd).
20945 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20946 (test_program_prefix): This.
20947 * stdio-common/tst-unbputc.sh: Likewise.
20948 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20949 $(run-program-prefix) with $(test-program-prefix).
20950 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20951 (test_program_prefix): This.
20952 * string/Makefile ($(objpfx)tst-svc.out): Replace
20953 $(built-program-cmd) with $(test-program-cmd).
20954
20955 2013-01-11 Andreas Jaeger <aj@suse.de>
20956
20957 [BZ #15003]
20958 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20959 value. Sync with Linux 3.7.
20960
20961 2013-01-10 David S. Miller <davem@davemloft.net>
20962
20963 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20964 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20965 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20966
20967 2013-01-10 Roland McGrath <roland@hack.frob.com>
20968
20969 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20970 never set.
20971 * configure: Regenerated.
20972
20973 2013-01-10 David S. Miller <davem@davemloft.net>
20974
20975 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20976 sparc V9 rather than using V8 code.
20977 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20978 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20979
20980 2013-01-10 Roland McGrath <roland@hack.frob.com>
20981
20982 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20983 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20984 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20985 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20986 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20987 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20988 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20989 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20990 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20991 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20992 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20993 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20994 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20995 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20996 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20997 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20998 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20999 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21000 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21001 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21002 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21003 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21004 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21005 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21006 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21007 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21008 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21009
21010 2013-01-10 David S. Miller <davem@davemloft.net>
21011
21012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21013
21014 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21015
21016 * posix/Makefile (tests-static): New variable.
21017 (tests): Add $(tests-static).
21018 (tst-exec-static-ARGS): New variable.
21019 (tst-spawn-static-ARGS): Likewise.
21020 * posix/tst-exec-static.c: New file.
21021 * posix/tst-spawn-static.c: Likewise.
21022 * posix/tst-exec.c: Support run directly.
21023 * posix/tst-spawn.c: Likewise.
21024
21025 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21026
21027 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21028 long.
21029 * math/bits/mathcalls.h (llrint): Likewise.
21030 (llround): Likewise.
21031 * stdlib/stdlib.h (struct drand48_data): Likewise.
21032 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21033 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21034 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21035 Likewise.
21036 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21037 Likewise.
21038 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21039 (elf_greg_t): Likewise.
21040 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21041 (__jmp_buf): Likewise.
21042 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21043 definitions.
21044 (llrint): Likewise, for all definitions.
21045 (llrintl): Likewise.
21046
21047 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21048 Remove [__GNUC__] condition.
21049 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21050 condition to just [__USE_ISOC99].
21051 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21052
21053 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21054
21055 [BZ #14200]
21056 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21057 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21058 defined.
21059 (_POSIX_V6_ILP32_OFF32): Likewise.
21060 (_XBS5_ILP32_OFF32): Likewise.
21061 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21062 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21063
21064 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21065
21066 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21067
21068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21069 doubles __mpexp_twomm1. Adjust usage.
21070 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21071 Remove.
21072
21073 2013-01-10 Andreas Schwab <schwab@suse.de>
21074
21075 [BZ #14964]
21076 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21077 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21078
21079 2013-01-09 David S. Miller <davem@davemloft.net>
21080
21081 [BZ #15003]
21082 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21083 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21084 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21085 (TCP_FASTOPEN): Define.
21086 (tcp_repair_opt): New structure.
21087 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21088 enum values.
21089 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21090 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21091 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21092 (tcp_cookie_transactions): New structure.
21093
21094 2013-01-09 Anton Blanchard <anton@samba.org>
21095
21096 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21097 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21098 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21099 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21100
21101 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21102
21103 * include/features.h (__USE_ANSI): Remove.
21104
21105 2013-01-09 Roland McGrath <roland@hack.frob.com>
21106
21107 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21108
21109 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21110
21111 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21112
21113 * sysdeps/s390/fpu/libm-test-ulps: Update.
21114
21115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21116
21117 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21118 (__acr): Likewise.
21119 (__cpy): Likewise.
21120 (norm): Likewise.
21121 (denorm): Likewise.
21122 (__mp_dbl): Likewise.
21123 (__dbl_mp): Likewise.
21124 (add_magnitudes): Likewise.
21125 (sub_magnitudes): Likewise.
21126 (__add): Likewise.
21127 (__sub): Likewise.
21128 (__mul): Likewise.
21129 (__inv): Likewise.
21130 (__dvd): Likewise.
21131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21132 (__acr): Likewise.
21133 (__cpy): Likewise.
21134 (norm): Likewise.
21135 (denorm): Likewise.
21136 (__mp_dbl): Likewise.
21137 (__dbl_mp): Likewise.
21138 (add_magnitudes): Likewise.
21139 (sub_magnitudes): Likewise.
21140 (__add): Likewise.
21141 (__sub): Likewise.
21142 (__mul): Likewise.
21143 (__inv): Likewise.
21144 (__dvd): Likewise.
21145 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21146 (__acr): Likewise.
21147 (__cpy): Likewise.
21148 (norm): Likewise.
21149 (denorm): Likewise.
21150 (__mp_dbl): Likewise.
21151 (__dbl_mp): Likewise.
21152 (add_magnitudes): Likewise.
21153 (sub_magnitudes): Likewise.
21154 (__add): Likewise.
21155 (__sub): Likewise.
21156 (__mul): Likewise.
21157 (__inv): Likewise.
21158 (__dvd): Likewise.
21159
21160 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21161
21162 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21163 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21164 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21165 2 && __USE_EXTERN_INLINES]: Likewise.
21166
21167 2013-01-08 Andreas Jaeger <aj@suse.de>
21168
21169 [BZ# 14985]
21170 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21171 Remove.
21172 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21173 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21174
21175 2013-01-07 Anton Blanchard <anton@samba.org>
21176
21177 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21178 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21179 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21180 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21181 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21182 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21183 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21184 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21186 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21187 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21188 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21189 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21190 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21191 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21192 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21193 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21194 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21195 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21196 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21197 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21198 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21199 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21200 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21201 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21202 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21203 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21204 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21205 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21206 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21207 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21209 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21210 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21211 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21212 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21213 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21214 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21215 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21216 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21217 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21218 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21219 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21220
21221 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21222
21223 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21224 (__MALLOC_PMT): Likewise.
21225 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21226 [__GNUC__], only on [_LIBC].
21227 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21228 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21229 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21230 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21231 forward declaration.
21232 (realloc_hook_ini): Likewise.
21233 (memalign_hook_ini): Likewise.
21234 (__libc_memalign): Do not use __MALLOC_PMT in variable
21235 declaration.
21236 (__libc_valloc): Likewise.
21237 (__libc_pvalloc): Likewise.
21238 (__libc_calloc): Likewise.
21239 (__posix_memalign): Likewise.
21240
21241 [BZ #14996]
21242 * math/s_casinh.c: Include <float.h>.
21243 (__casinh): Do not do computation with squaring and square root
21244 for large arguments.
21245 * math/s_casinhf.c: Include <float.h>.
21246 (__casinhf): Do not do computation with squaring and square root
21247 for large arguments.
21248 * math/s_casinhl.c: Include <float.h>.
21249 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21250 (__casinhl): Do not do computation with squaring and square root
21251 for large arguments.
21252 * math/libm-test.inc (casin_test): Add more tests.
21253 (casinh_test): Likewise.
21254 * sysdeps/i386/fpu/libm-test-ulps: Update.
21255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21256
21257 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21258
21259 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21260 (__x86_64_raw_data_cache_size): Likewise.
21261 (__x86_64_data_cache_size_half): Likewise.
21262 (__x86_64_raw_data_cache_size_half): Likewise.
21263 (__x86_64_shared_cache_size): Likewise.
21264 (__x86_64_raw_shared_cache_size): Likewise.
21265 (__x86_64_shared_cache_size_half): Likewise.
21266 (__x86_64_raw_shared_cache_size_half): Likewise.
21267 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21268 to ...
21269 (__x86_data_cache_size): This.
21270 (__x86_64_raw_data_cache_size): Renamed to ...
21271 (__x86_raw_data_cache_size): This.
21272 (__x86_64_data_cache_size_half): Renamed to ...
21273 (__x86_data_cache_size_half): This.
21274 (__x86_64_raw_data_cache_size_half): Renamed to ...
21275 (__x86_raw_data_cache_size_half): This.
21276 (__x86_64_shared_cache_size): Renamed to ...
21277 (__x86_shared_cache_size): This.
21278 (__x86_64_raw_shared_cache_size): Renamed to ...
21279 (__x86_raw_shared_cache_size): This.
21280 (__x86_64_shared_cache_size_half): Renamed to ...
21281 (__x86_shared_cache_size_half): This.
21282 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21283 (__x86_raw_shared_cache_size_half): This.
21284 * sysdeps/x86_64/memcpy.S: Updated.
21285 * sysdeps/x86_64/memset.S: Likewise.
21286 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21287 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21288 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21289
21290 2013-01-04 David S. Miller <davem@davemloft.net>
21291
21292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21293
21294 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21295
21296 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21297 1 to avoid redefinition warning.
21298 (__USE_GNU): Don't define.
21299 (init_signaling_nan): Protoize.
21300
21301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21302
21303 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21304
21305 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21307 (__cpymn): Likewise.
21308 (norm): Remove commented code.
21309 (denorm): Likewise.
21310 (__mp_dbl): Likewise.
21311 (__inv): Likewise.
21312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21313 (__cpymn): Likewise.
21314 (norm): Remove commented code.
21315 (denorm): Likewise.
21316 (__mp_dbl): Likewise.
21317 (__inv): Likewise.
21318
21319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21320 mp_no value for 1.0 and 2.0.
21321 (norm): Use RADIXI instead of radixi.d.
21322 (denorm): Likewise.
21323 (__mul): Use 0.0 instead of zero.d.
21324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21325 mp_no value for 1.0 and 2.0.
21326 (norm): Use RADIXI instead of radixi.d.
21327 (denorm): Likewise.
21328 (__mul): Use 0.0 instead of zero.d.
21329
21330 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21331
21332 [BZ #14994]
21333 * math/s_casinh.c (__casinh): Reduce finite argument to first
21334 quadrant then set signs of results at the end.
21335 * math/s_casinhf.c (__casinhf): Likewise.
21336 * math/s_casinhl.c (__casinhl): Likewise.
21337 * math/libm-test.inc (casin_test): Add more tests.
21338 (casinh_test): Likewise.
21339 * sysdeps/i386/fpu/libm-test-ulps: Update.
21340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21341
21342 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21343
21344 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21345
21346 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21347
21348 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21349 declarations.
21350 (denorm): Likewise.
21351 (__mp_dbl): Likewise.
21352 (__inv): Likewise.
21353
21354 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21355 and adjust the header comment.
21356
21357 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21358 variable name from declaration.
21359
21360 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21361
21362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21363 Initialize COMMON_CPUID_INDEX_7 element.
21364 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21365 (CPUID_RTM): Likewise.
21366 (HAS_RTM): Likewise.
21367 (COMMON_CPUID_INDEX_7): New enum.
21368
21369 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21370
21371 [BZ #14981]
21372 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21373 size is zero, record memory as freed.
21374
21375 2013-01-03 Andreas Jaeger <aj@suse.de>
21376
21377 * po/ia.po: Add new Interlingua translation.
21378
21379 2012-01-03 Allan McRae <allan@archlinux.org>
21380
21381 * locale/programs/localedef.c: Fix description of '--posix' flag.
21382
21383 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21384
21385 * NEWS: Update dates in second copyright notice.
21386 * README: Update copyright dates in example.
21387 * manual/libc.texinfo: Update copyright dates.
21388 * scripts/test-installation.pl: Update copyright date in --version
21389 output.
21390
21391 * hurd/ctty-input.c: Fix copyright notice formatting.
21392 * hurd/ctty-output.c: Likewise.
21393 * hurd/dtable.c: Likewise.
21394 * hurd/hurd-raise.c: Likewise.
21395 * hurd/hurdprio.c: Likewise.
21396 * hurd/msgportdemux.c: Likewise.
21397 * misc/sys/file.h: Likewise.
21398 * misc/sys/ioctl.h: Likewise.
21399 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21400 * sysdeps/mach/hurd/chdir.c: Likewise.
21401 * sysdeps/mach/hurd/fchdir.c: Likewise.
21402 * sysdeps/mach/hurd/rename.c: Likewise.
21403 * sysdeps/mach/hurd/rmdir.c: Likewise.
21404 * sysdeps/mach/hurd/seekdir.c: Likewise.
21405 * sysdeps/mach/hurd/setsid.c: Likewise.
21406 * sysdeps/posix/wait3.c: Likewise.
21407
21408 * All files with FSF copyright notices: Update copyright dates
21409 using scripts/update-copyrights.
21410 * intl/plural.c: Regenerated.
21411 * locale/programs/charmap-kw.h: Likewise.
21412 * locale/programs/locfile-kw.h: Likewise.
21413
21414 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21415
21416 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21417 four values.
21418
21419 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21420 calculation loop and add branch prediction.
21421
21422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21423 check access beyond bounds of m1np.
21424
21425 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21426 MPTWO.
21427 (__inv): Remove local variable MPTWO to use the global
21428 constant.
21429 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21430 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21431 variable MPTWO.
21432 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21433 MP3HALFS static const.
21434
21435 2013-01-01 David S. Miller <davem@davemloft.net>
21436
21437 * po/ca.po: Update from translation team.
21438
21439 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21440
21441 * scripts/update-copyrights: New file.
21442 * Makeconfig: Reformat copyright notice.
21443 * ctype/ctype.h: Likewise.
21444 * debug/swprintf_chk.c: Likewise.
21445 * elf/dl-cache.c: Likewise.
21446 * elf/dl-debug.c: Likewise.
21447 * elf/dl-object.c: Likewise.
21448 * grp/initgroups.c: Likewise.
21449 * hurd/Makefile: Likewise.
21450 * hurd/hurd/signal.h: Likewise.
21451 * hurd/hurdfault.c: Likewise.
21452 * hurd/hurdioctl.c: Likewise.
21453 * hurd/hurdlookup.c: Likewise.
21454 * hurd/intr-msg.c: Likewise.
21455 * iconv/gconv_open.c: Likewise.
21456 * libio/swprintf.c: Likewise.
21457 * locale/lc-ctype.c: Likewise.
21458 * locale/nl_langinfo.c: Likewise.
21459 * mach/Machrules: Likewise.
21460 * mach/Makefile: Likewise.
21461 * malloc/obstack.h: Likewise.
21462 * manual/Makefile: Likewise.
21463 * manual/tsort.awk: Likewise.
21464 * misc/bits/stab.def: Likewise.
21465 * nis/nis_print_group_entry.c: Likewise.
21466 * nis/nis_table.c: Likewise.
21467 * nis/nss_compat/compat-pwd.c: Likewise.
21468 * nis/nss_compat/compat-spwd.c: Likewise.
21469 * po/Makefile: Likewise.
21470 * posix/fnmatch.c: Likewise.
21471 * posix/regex.h: Likewise.
21472 * resolv/Makefile: Likewise.
21473 * resolv/nss_dns/dns-network.c: Likewise.
21474 * resolv/res_hconf.c: Likewise.
21475 * scripts/gen-sorted.awk: Likewise.
21476 * soft-fp/soft-fp.h: Likewise.
21477 * stdio-common/printf.h: Likewise.
21478 * stdlib/monetary.h: Likewise.
21479 * stdlib/random.c: Likewise.
21480 * stdlib/random_r.c: Likewise.
21481 * sysdeps/generic/Makefile: Likewise.
21482 * sysdeps/gnu/Makefile: Likewise.
21483 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21484 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21485 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21486 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21487 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21488 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21489 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21490 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21491 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21493 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21494 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21495 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21496 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21497 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21498 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21499 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21500 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21501 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21502 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21503 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21504 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21505 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21506 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21507 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21508 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21509 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21510 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21511 * sysdeps/mach/hurd/errnos.awk: Likewise.
21512 * sysdeps/mach/hurd/fork.c: Likewise.
21513 * sysdeps/mach/hurd/getcwd.c: Likewise.
21514 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21515 * sysdeps/mach/hurd/mmap.c: Likewise.
21516 * sysdeps/mach/hurd/utimes.c: Likewise.
21517 * sysdeps/mach/hurd/xmknod.c: Likewise.
21518 * sysdeps/posix/profil.c: Likewise.
21519 * sysdeps/posix/readdir_r.c: Likewise.
21520 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21521 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21522 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21523 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21525 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21526 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21527 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21529 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21530 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21531 * sysdeps/pthread/lio_listio.c: Likewise.
21532 * sysdeps/sparc/dl-procinfo.h: Likewise.
21533 * sysdeps/unix/i386/sysdep.S: Likewise.
21534 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21535 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21536 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21537 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21539 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21540 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21541 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21542 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21543 * sysdeps/wordsize-32/divdi3.c: Likewise.
21544 * time/sys/time.h: Likewise.
21545 * wcsmbs/Makefile: Likewise.
21546
21547 2013-01-01 David S. Miller <davem@davemloft.net>
21548
21549 * po/fr.po: Update from translation team.
21550
21551 * catgets/gencat.c: Update copyright year.
21552 * csu/version.c: Likewise.
21553 * debug/catchsegv.sh: Likewise.
21554 * debug/pcprofiledump.c: Likewise.
21555 * debug/xtrace.sh: Likewise.
21556 * elf/ldconfig.c: Likewise.
21557 * elf/ldd.bash.in: Likewise.
21558 * elf/pldd.c: Likewise.
21559 * elf/sotruss.ksh: Likewise.
21560 * elf/sprof.c: Likewise.
21561 * iconv/iconv_prog.c: Likewise.
21562 * iconv/iconvconfig.c: Likewise.
21563 * locale/programs/locale.c: Likewise.
21564 * locale/programs/localedef.c: Likewise.
21565 * login/programs/pt_chown.c: Likewise.
21566 * malloc/memusage.sh: Likewise.
21567 * malloc/memusagestat.c: Likewise.
21568 * malloc/mtrace.pl: Likewise.
21569 * nscd/nscd.c: Likewise.
21570 * nss/getent.c: Likewise.
21571 * nss/makedb.c: Likewise.
21572 * posix/getconf.c: Likewise.
21573
21574 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21575
21576 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21577 numbers.
21578
21579 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21580
21581 * math/bits/mathcalls.h (modf): Use __nonnull.
21582
21583 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21584
21585 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21586 (split): Use macro CN instead of the bare value.
21587 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21588 could be used.
21589 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21590 instead of the bare value.
21591 (power1): Likewise.
21592
21593 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21594
21595 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21596 __ATAN_TWOM.
21597 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21598
21599 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21600 their values.
21601 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21602 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21603 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21604 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21605
21606 2012-12-28 Andreas Jaeger <aj@suse.de>
21607
21608 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21609 values are from Linux 3.7.
21610
21611 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21612 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21613
21614 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21615
21616 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21617 TRUE case.
21618
21619 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21620 (norm): Likewise.
21621 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21622 variables with preprocessor constants.
21623 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21624 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21625 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21626
21627 2012-12-27 Bruno Haible <bruno@clisp.org>
21628
21629 [BZ #14317]
21630 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21631 only if needed.
21632
21633 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21634
21635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21636 and use variable directly.
21637 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21638
21639 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21640 MPONE.
21641 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21642 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21643 variable MPONE.
21644 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21646 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21647 include directive. Remove local variable MPONE.
21648 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21649 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21650 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21651
21652 2012-12-25 David S. Miller <davem@davemloft.net>
21653
21654 * version.h (RELEASE): Set to "development".
21655 (VERSION): Set to "2.17.90".
21656 * NEWS: Add 2.18 section.
21657
21658 2012-12-21 David S. Miller <davem@davemloft.net>
21659
21660 * po/hr.po: Update from translation team.
21661
21662 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21663
21664 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21665
21666 2012-12-19 Steve Ellcey <sellcey@mips.com>
21667
21668 * NEWS: Mention new memcpy for MIPS.
21669
21670 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21671
21672 * manual/contrib.texi (Contributors): Spelling correction.
21673
21674 2012-12-15 David S. Miller <davem@davemloft.net>
21675
21676 * po/ru.po: Update from translation team.
21677
21678 2012-12-13 David S. Miller <davem@davemloft.net>
21679
21680 * NEWS: Mention IFUNC testsuite enhancements.
21681
21682 * po/pl.po: Update from translation team.
21683 * po/bg.po: Likewise.
21684
21685 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21686 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21687
21688 2012-12-11 David S. Miller <davem@davemloft.net>
21689
21690 * po/sv.po: Update from translation team.
21691
21692 * po/vi.po: Update from translation team.
21693
21694 * po/cs.po: Update from translation team.
21695
21696 * po/de.po: Update from translation team.
21697 * po/eo.po: Likewise.
21698 * po/nl.po: Likewise.
21699
21700 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21701
21702 [BZ #14246]
21703 * manual/argp.texi (Argp Helper Functions): Move node to follow
21704 Argp Parsing State.
21705
21706 [BZ #14872]
21707 * manual/conf.texi (Limits on File System Capacity): Mention if
21708 terminating null is included in the max size.
21709
21710 2012-12-10 Andreas Jaeger <aj@suse.de>
21711
21712 * po/cs.po: Update from translation team.
21713
21714 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21715
21716 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21717 void pointer and cast to uintptr_t.
21718 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21719 path.
21720 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21721 * sysdeps/s390/s390-64/memset.S: Likewise.
21722
21723 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21724
21725 [BZ #14833]
21726 * menual/message.texi (Message Translation): Fix typos.
21727 (Helper programs for gettext): Likewise.
21728
21729 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21730
21731 [BZ #14898]
21732 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21733 Change to -1.
21734
21735 2012-12-07 David S. Miller <davem@davemloft.net>
21736
21737 * po/libc.pot: Update.
21738
21739 2012-12-07 Richard Henderson <rth@redhat.com>
21740
21741 [BZ #10114]
21742 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21743 normal/normal case to before the switch.
21744 (_FP_DIV): Likewise.
21745
21746 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21747 Mike Frysinger <vapier@gentoo.org>
21748
21749 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21750 check for __NR_fadvise64_64.
21751
21752 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21753
21754 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21755 0, not just to plain "0" as a statement.
21756 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21757 with cw.
21758
21759 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21760
21761 * NEWS: Use sourceware.org in Bugzilla URL.
21762
21763 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21764
21765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21766 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21767
21768 * stdio-common/tst-put-error.c (do_test): Add newline to the
21769 padded test to ensure flush.
21770
21771 2012-12-05 Jeff Law <law@redhat.com>
21772
21773 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21774
21775 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21776
21777 * README: Don't refer to ports add-on as distributed separately.
21778 Mention AArch64 in list of systems supported in the ports add-on.
21779
21780 * LICENSES: Add more non-FSF copyright and license notices.
21781
21782 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21783 ((unused)).
21784
21785 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21786
21787 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21788 10000 as width of padded output.
21789
21790 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21791
21792 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21793
21794 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21795 variable LX with __attribute__ ((unused)).
21796 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21797 Likewise.
21798 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21799 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21800 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21801 with __attribute__ ((unused)).
21802
21803 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21804
21805 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21806
21807 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21808
21809 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21810 (CFLAGS-nldbl-acos.c): New variable.
21811 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21812 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21813 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21814 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21815 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21816 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21817 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21818 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21819 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21820 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21821 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21822 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21823 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21824 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21825 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21826 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21827 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21828 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21829 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21830 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21831 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21832 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21833 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21834 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21835 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21836 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21837 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21838 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21839 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21840 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21841 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21842 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21843 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21844 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21845 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21846 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21847 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21848 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21849 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21850 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21851 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21852 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21853 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21854 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21855 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21856 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21857 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21858 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21859 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21860 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21861 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21862 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21863 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21864 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21865 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21866 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21867 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21868 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21869 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21870 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21871 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21872 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21873 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21874 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21875 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21876 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21877 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21878 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21879 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21880 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21881 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21882 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21883 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21884 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21885 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21886 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21887 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21888 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21889 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21890 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21891 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21892 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21893 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21894 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21895 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21896 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21897 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21898 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21899 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21900 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21901 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21902 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21903 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21904 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21905 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21906 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21907 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21908
21909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21910 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21911
21912 [BZ #14914]
21913 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21914 whole low double instead of just low 47 bits when splitting values
21915 into two parts.
21916
21917 2012-12-03 Allan McRae <allan@archlinux.org>
21918
21919 * manual/stdio.texi (Predefined Printf Handlers): Remove
21920 @hsep and @vsep usage.
21921
21922 2012-12-03 Mike Frysinger <vapier@gentoo.org>
21923
21924 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21925 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21926
21927 2012-12-03 Jeff Law <law@redhat.com>
21928
21929 * time/sys/time.h (settimeofday): Do not mark TV argument
21930 as __nonnull.
21931
21932 2012-12-01 Mike Frysinger <vapier@gentoo.org>
21933
21934 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21935 when currently writing and seek to current position when not.
21936 * libio/Makefile (tests): Remove bug-fclose1.
21937 * libio/bug-fclose1.c: Delete.
21938
21939 2012-12-01 Joseph Myers <joseph@codesourcery.com>
21940
21941 * manual/arith.texi (feenableexcept): Fix typo.
21942 (fedisableexcept): Likewise.
21943
21944 2012-11-30 Roland McGrath <roland@hack.frob.com>
21945
21946 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21947 second, differently-typed declaration, rather than a cast.
21948
21949 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21950
21951 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21952 * include/rpc/svc.h: ... here.
21953
21954 2012-11-30 Aurelien Jarno <aurel32@debian.org>
21955
21956 [BZ #13013]
21957 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21958 depending n and resplen2 to catch cases where answer
21959 equals answerp2.
21960
21961 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21962
21963 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21964 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21965
21966 2012-11-29 Mike Frysinger <vapier@gentoo.org>
21967
21968 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21969
21970 2012-11-29 Roland McGrath <roland@hack.frob.com>
21971
21972 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21973
21974 2012-11-28 Jeff Law <law@redhat.com>
21975
21976 [BZ #13761]
21977 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21978 dataset_temporary. Track alloca usage into alloca_used.
21979 If dataset is large allocate and release it via malloc/free.
21980
21981 2012-06-04 Florian Weimer <fweimer@redhat.com>
21982
21983 [BZ #14197]
21984 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21985
21986 2012-11-28 David S. Miller <davem@davemloft.net>
21987
21988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21989
21990 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21991
21992 [BZ #14803]
21993 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21994 of pi/2 rounded to nearest to 64 bits.
21995 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21996 nearest to 64 bits.
21997 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21998 bits.
21999
22000 2012-11-28 Jeff Law <law@redhat.com>
22001 Martin Osvald <mosvald@redhat.com>
22002
22003 [BZ #14889]
22004 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22005 * sunrpc/svc.c: Include time.h.
22006 (__svc_accept_failed): New function.
22007 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22008 any reason other than EINTR, call __svc_accept_failed.
22009 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22010 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22011
22012 2012-11-28 Andreas Schwab <schwab@suse.de>
22013
22014 * scripts/abilist.awk: Also handle indirect functions in .opd
22015 section.
22016
22017 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22018
22019 [BZ #13881]
22020 * sysdeps/x86/fpu/powl_helper.c: New file.
22021 * sysdeps/x86/fpu/Makefile: Likewise.
22022 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22023 (p3): New object.
22024 (__ieee754_powl): Use __powl_helper for finite arguments except
22025 integer exponents below 8.
22026 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22027 (p3): New object.
22028 (__ieee754_powl): Use __powl_helper for finite arguments except
22029 integer exponents below 8.
22030 * math/libm-test.inc (pow_test): Add more tests and enable some
22031 previously disabled tests.
22032 * sysdeps/i386/fpu/libm-test-ulps: Update.
22033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22034
22035 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22036 Carlos O'Donell <carlos_odonell@mentor.com>
22037
22038 * nss/makedb.c (is_prime): Assert that input is odd and greater
22039 than 4. Note that fact in a comment too.
22040 (next_prime): Add 4 to input.
22041
22042 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22043
22044 [BZ #11741]
22045 * libio/Makefile (tests): Add test case tst-fwrite-error.
22046 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22047 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22048 * libio/tst-fwrite-error.c: New test case.
22049
22050 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22051
22052 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22053 before casting to void *.
22054 * include/libc-internal.h (__pointer_type): New macro.
22055 (__integer_if_pointer_type_sub): Likewise.
22056 (__integer_if_pointer_type): Likewise.
22057 (cast_to_integer): Likewise.
22058 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22059 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22060 before casting to atomic64_t.
22061 (atomic_exchange_acq): Likewise.
22062 (__arch_exchange_and_add_body): Likewise.
22063 (__arch_add_body): Likewise.
22064 (atomic_add_negative): Likewise.
22065 (atomic_add_zero): Likewise.
22066
22067 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22068
22069 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22070 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22071 (add_fdes): Likewise.
22072 (linear_search_fdes): Likewise.
22073 (binary_search_unencoded_fdes): Likewise.
22074
22075 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22076
22077 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22078
22079 2012-11-24 Adam Conrad <adconrad@0c3.net>
22080
22081 * configure.in: Autodetect C++ header directories.
22082 * configure: Regenerated.
22083
22084 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22085
22086 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22087
22088 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22089
22090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22091
22092 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22093
22094 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22095 LDBL_MANT_DIG == 106]: Disable some tests.
22096 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22097 Likewise.
22098 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22099 Likewise.
22100
22101 [BZ #14871]
22102 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22103 input for small inputs. Return +/- pi/2 for large inputs.
22104 * math/libm-test.inc (atan_test): Add more tests.
22105
22106 * sysdeps/generic/unwind-dw2-fde-glibc.c
22107 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22108 __attribute__ ((unused)).
22109
22110 [BZ #14645]
22111 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22112 x * y if x and y are nonzero and z is zero.
22113
22114 [BZ #14811]
22115 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22116 nonzero exponents with absolute value below 0x1p-117 to +/-
22117 0x1p-117.
22118
22119 [BZ #14869]
22120 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22121 up arguments below 2**-450, not just those below 2**-500.
22122 * math/libm-test.inc (hypot_test): Add another test.
22123
22124 [BZ #14868]
22125 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22126 Return a+b for ratio over 2**120, not 2**60.
22127 * math/libm-test.inc (hypot_test): Add another test.
22128
22129 * math/libm-test.inc (clog_test): Use
22130 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22131 (clog10_test): Likewise.
22132
22133 [BZ #6778]
22134 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22135
22136 2012-11-22 Andreas Schwab <schwab@suse.de>
22137
22138 * sysdeps/i386/fpu/libm-test-ulps: Update.
22139
22140 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22141
22142 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22143 printf output with newline.
22144
22145 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22146
22147 [BZ #14865]
22148 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22149 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22150 -z nodlopen, -z initfirst and -z execstack support.
22151 * configure: Regenerated.
22152
22153 * elf/elf.h (DF_1_NODIRECT): New macro.
22154 (DF_1_IGNMULDEF): Likewise.
22155 (DF_1_NOKSYMS): Likewise.
22156 (DF_1_NOHDR): Likewise.
22157 (DF_1_EDITED): Likewise.
22158 (DF_1_NORELOC): Likewise.
22159 (DF_1_SYMINTPOSE): Likewise.
22160 (DF_1_GLOBAUDIT): Likewise.
22161 (DF_1_SINGLETON): Likewise.
22162 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22163 DT_1_SUPPORTED_MASK bits.
22164 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22165
22166 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22167
22168 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22169
22170 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22171
22172 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22173 macro.
22174
22175 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22176 (sendmmsg): Move declarations...
22177 * socket/sys/socket.h: ... here.
22178 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22179 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22180 include it from...
22181 * socket/recvmmsg.c: ... this new file.
22182 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22183 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22184 definition of __sendmmsg hidden.
22185 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22186 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22187 Move ENOSYS stub into and include it from...
22188 * socket/sendmmsg.c: ... this new file.
22189 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22190 (sysdep_routines): Move recvmmsg and sendmmsg...
22191 * socket/Makefile (routines): ... here.
22192 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22193 (GLIBC_PRIVATE): Add __sendmmsg.
22194 * include/sys/socket.h (__sendmmsg): Add declarations.
22195 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22196 sendmmsg.
22197
22198 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22199
22200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22201 variable I1 with __attribute__ ((unused)).
22202 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22203
22204 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22205
22206 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22207 DUMMY variables with __attribute__ ((unused)).
22208
22209 * bits/byteswap.h: Include <bits/types.h>.
22210 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22211
22212 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22213
22214 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22215 string_t. Do not manually set errno.
22216 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22217 length with __strnlen. Make sure to both set errno and return it on
22218 failure.
22219
22220 2012-11-19 David S. Miller <davem@davemloft.net>
22221
22222 With help from Joseph Myers.
22223 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22224 very large arguments properly.
22225 * math/libm-test.inc (atan_test): New tests.
22226 (atan2_test): New tests.
22227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22229
22230 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22231
22232 [BZ #14856]
22233 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22234 Define to 3.
22235
22236 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22237 [POSIX] (EADDRNOTAVAIL): Likewise.
22238 [POSIX] (EAFNOSUPPORT): Likewise.
22239 [POSIX] (EALREADY): Likewise.
22240 [POSIX] (ECONNABORTED): Likewise.
22241 [POSIX] (ECONNREFUSED): Likewise.
22242 [POSIX] (ECONNRESET): Likewise.
22243 [POSIX] (EDESTADDRREQ): Likewise.
22244 [POSIX] (EDQUOT): Likewise.
22245 [POSIX] (EHOSTUNREACH): Likewise.
22246 [POSIX] (EIDRM): Likewise.
22247 [POSIX] (EISCONN): Likewise.
22248 [POSIX] (ELOOP): Likewise.
22249 [POSIX] (EMULTIHOP): Likewise.
22250 [POSIX] (ENETDOWN): Likewise.
22251 [POSIX] (ENETUNREACH): Likewise.
22252 [POSIX] (ENOBUFS): Likewise.
22253 [POSIX] (ENODATA): Likewise.
22254 [POSIX] (ENOLINK): Likewise.
22255 [POSIX] (ENOMSG): Likewise.
22256 [POSIX] (ENOPROTOOPT): Likewise.
22257 [POSIX] (ENOSR): Likewise.
22258 [POSIX] (ENOSTR): Likewise.
22259 [POSIX] (ENOTCONN): Likewise.
22260 [POSIX] (ENOTSOCK): Likewise.
22261 [POSIX] (EOPNOTSUPP): Likewise.
22262 [POSIX] (EOVERFLOW): Likewise.
22263 [POSIX] (EPROTO): Likewise.
22264 [POSIX] (EPROTONOSUPPORT): Likewise.
22265 [POSIX] (EPROTOTYPE): Likewise.
22266 [POSIX] (ESTALE): Likewise.
22267 [POSIX] (ETIME): Likewise.
22268 [POSIX] (ETXTBSY): Likewise.
22269 [POSIX] (EWOULDBLOCK): Likewise.
22270 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22271 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22272 [POSIX] (SEEK_CUR): Likewise.
22273 [POSIX] (SEEK_END): Likewise.
22274 [POSIX || UNIX98] (mode_t): Do not require.
22275 [POSIX] (off_t): Likewise.
22276 [POSIX] (pid_t): Likewise.
22277 [POSIX] (sys/stat.h): Do not allow header.
22278 [POSIX] (unistd.h): Likewise.
22279 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22280 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22281 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22282 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22283 require.
22284 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22285 sigevent): Specify elements.
22286 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22287 entry.
22288 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22289 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22290
22291 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22292 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22293 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22294 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22295 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22296 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22297 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22298 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22299 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22300 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22301 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22302 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22303 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22304 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22305 Likewise.
22306 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22307 Likewise.
22308 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22309 Likewise.
22310 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22311 Likewise.
22312 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22313 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22314 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22315 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22316 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22317 Specify lower bound on value.
22318 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22319 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22320 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22321 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22322 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22323 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22324 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22325 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22326 value.
22327 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22328 as optional.
22329 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22330 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22331 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22332 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22333 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22334 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22335 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22336 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22337 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22338 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22339 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22340 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22341 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22342 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22343 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22344 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22345 entry.
22346 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22347 optional.
22348 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22349 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22350 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22351 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22352 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22353 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22354 Likewise.
22355 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22356 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22357 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22358 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22359 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22360 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22361 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22362 as optional.
22363 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22364 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22365 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22366 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22367 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22368 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22369 specify as optional.
22370 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22371 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22372 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22373 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22374 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22375 [XPG3] (NL_LANGMAX): Likewise.
22376 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22377 [POSIX || XPG3] (NL_NMAX): Likewise.
22378 [POSIX || XPG3] (NL_SETMAX): Likewise.
22379 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22380 [XPG3] (NZERO): Likewise.
22381 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22382 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22383 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22384 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22385 (REG_ERANGE): Expect.
22386 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22387 optional-constant.
22388 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22389 Use (void) in prototype.
22390 [POSIX] (*_t): Allow.
22391 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22392 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22393 (WRDE_BADVAL): Expect.
22394
22395 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22396 expect.
22397 [XPG3 || XPG4] (O_RSYNC): Likewise.
22398 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22399 Likewise.
22400 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22401 [XPG3 || XPG4] (sigqueue): Likewise.
22402 [XPG3 || XPG4] (sigtimedwait): Likewise.
22403 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22404 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22405 [XPG3 || XPG4] (vsnprintf): Likewise.
22406 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22407 Likewise.
22408 [XPG3 || XPG4] (blksize_t): Likewise.
22409 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22410 Likewise.
22411 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22412 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22413 [XPG3 || XPG4] (struct itimerspec): Likewise.
22414 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22415 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22416 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22417 [XPG3 || XPG4] (clockid_t): Likewise.
22418 [XPG3 || XPG4] (timer_t): Likewise.
22419 [XPG3 || XPG4] (clock_getres): Likewise.
22420 [XPG3 || XPG4] (clock_gettime): Likewise.
22421 [XPG3 || XPG4] (clock_settime): Likewise.
22422 [XPG3 || XPG4] (nanosleep): Likewise.
22423 [XPG3 || XPG4] (timer_create): Likewise.
22424 [XPG3 || XPG4] (timer_delete): Likewise.
22425 [XPG3 || XPG4] (timer_gettime): Likewise.
22426 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22427 [XPG3 || XPG4] (timer_settime): Likewise.
22428 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22429 [XPG3 || XPG4] (getlogin_r): Likewise.
22430 [XPG3 || XPG4] (pread): Likewise.
22431 [XPG3 || XPG4] (pthread_atfork): Likewise.
22432 [XPG3 || XPG4] (pwrite): Likewise.
22433
22434 [BZ #14835]
22435 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22436 <bits/siginfo.h>.
22437
22438 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22439
22440 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22441 finalizing MALLSTREAM.
22442
22443 * sysdeps/mach/hurd/syncfs.c: New file.
22444
22445 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22446
22447 [BZ #14719]
22448 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22449 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22450 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22451 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22452 (_nss_dns_gethostbyname4_r): Likewise.
22453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22454 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22455
22456 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22457
22458 [BZ #13763]
22459 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22460
22461 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22462
22463 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22464 * elf/cache.c (print_entry): Print ",AArch64" for
22465 FLAG_AARCH64_LIB64
22466
22467 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22468 * elf/cache.c (print_entry): Print ",hard-float" for
22469 FLAG_ARM_LIBHF.
22470
22471 2012-11-18 David S. Miller <davem@davemloft.net>
22472
22473 With help from Joseph Myers.
22474 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22475 cutoff to 2**-13.
22476 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22477 cutoff to 2**-25.
22478 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22479 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22480 small.
22481 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22482 * math/libm-test.inc (y0_test): New tests.
22483 (y1_test): New tests.
22484 * sysdeps/i386/fpu/libm-test-ulps: Update.
22485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22487
22488 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22489
22490 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22491 64-bit targets.
22492 * configure: Regenerated.
22493
22494 2012-11-17 David S. Miller <davem@davemloft.net>
22495
22496 [BZ #14811]
22497 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22498 nonzero exponents with absolute value below 0x1p-128 to +/-
22499 0x1p-128.
22500
22501 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22502
22503 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22504
22505 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22506
22507 * posix/getconf-speclist.c: New file.
22508 * posix/posix-envs.def: Likewise.
22509 * posix/confstr.c (START_ENV_GROUP): New macro.
22510 (END_ENV_GROUP): Likewise.
22511 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22512 (KNOWN_PRESENT_ENV_STRING): Likewise.
22513 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22514 (UNKNOWN_ENVIRONMENT): Likewise.
22515 (confstr): Include posix-envs.def instead of handling
22516 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22517 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22518 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22519 (END_ENV_GROUP): Likewise.
22520 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22521 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22522 (UNKNOWN_ENVIRONMENT): Likewise.
22523 (__sysconf): Include posix-envs.def instead of handling associated
22524 cases directly here.
22525 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22526 preprocessing getconf-speclist.c rather than running getconf or
22527 generating empty file.
22528
22529 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22530
22531 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22532
22533 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22534
22535 [BZ #14672]
22536 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22537
22538 2012-11-16 David S. Miller <davem@davemloft.net>
22539
22540 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22541 smaller than LDBL_EPSILON/2.0L, just return xm1.
22542
22543 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22544
22545 * elf/tst-array1.c (init): Set constructor priority to 1000.
22546 (fini): Set destructor priority to 1000.
22547 * elf/tst-array2dep.c: Likewise.
22548
22549 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22550
22551 [BZ #11741]
22552 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22553 (_IO_new_file_xsputn): Also return EOF if none of the input
22554 data was written when overflow failed.
22555 * libio/iopadn.c (_IO_padn): Likewise.
22556 * libio/iowpadn.c (_IO_wpadn): Likewise.
22557 * stdio-common/tst-put-error.c: Add copyright notice.
22558 (do_test): Add case for printing padded string.
22559 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22560 _IO_padn returned error.
22561 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22562 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22563 return EOF.
22564
22565 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22566
22567 * libio/libioP.h: Add comment note that the references to C++
22568 bits are now obsolete.
22569
22570 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22571
22572 * math/libm-test.inc (check_complex): Use asprintf.
22573
22574 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22575
22576 * debug/pcprofiledump.c (print_version): Update copyright year.
22577 * malloc/memusagestat.c (print_version): Likewise.
22578
22579 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22580
22581 [BZ #14831]
22582 * elf/Makefile (tests): Add tst-audit8.
22583 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22584 ($(objpfx)tst-audit8.out): New target.
22585 (tst-audit8-ENV): New variable.
22586 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22587 audit if l_reloc_result is NULL.
22588 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22589 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22590 * elf/tst-audit8.c: New file.
22591
22592 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22593
22594 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22595 * misc/Makefile (CFLAGS-select.c): Define.
22596 * posix/Makefile (CFLAGS-pause.c): Define.
22597
22598 2012-11-13 David S. Miller <davem@davemloft.net>
22599
22600 * crypt/Makefile: Move test targets after toplevel Rules
22601 inclusion. Grab any necessary sysdep routines when linking.
22602 * crypt/md5.c (md5_process_block): Remove define, we will always
22603 name it __md5_process_block.
22604 (md5_finish_ctx): Update md5_process_block call.
22605 (md5_stream): Likewise.
22606 (md5_process_bytes): Likewise.
22607 (md5_process_block): Rename to __md5_process_block and move to ...
22608 * crypt/md5-block.c: ... here.
22609 * crypt/sha256.c (sha256_process_block): Move to ...
22610 * crypt/sha256-block.c: ... here.
22611 * crypt/sha512.c (sha512_process_block): Move to ...
22612 * crypt/sha512-block.c: ... here.
22613 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22614 path.
22615 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22616 * sysdeps/sparc/sparc64/multiarch/Makefile
22617 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22618 crypt subdir.
22619 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22620 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22621 multiarch changes.
22622 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22623 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22624 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22625 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22626 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22627 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22628 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22629 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22630 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22631 file.
22632 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22633 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22634 file.
22635 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22636
22637 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22638
22639 * timezone/tzselect.ksh: Update from tzcode git revision
22640 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22641 * timezone/zdump.c: Likewise.
22642 * timezone/zic.c: Likewise.
22643 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22644 in TZVERSION setting, not $(PKGVERSION).
22645 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22646 REPORT_BUGS_TO settings.
22647
22648 [BZ #14838]
22649 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22650 macro.
22651
22652 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22653
22654 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22655 detection to immediately after _FP_ROUND().
22656 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22657 bits are 0.
22658
22659 2012-11-11 David S. Miller <davem@davemloft.net>
22660
22661 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22662 inttypes.h
22663 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22664 __close rather than their public counterparts.
22665
22666 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22667
22668 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22669 file.
22670 [UNIX98] (sem_timedwait): Do not expect.
22671 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22672 [XPG4 || UNIX98] (sockatmark): Do not expect.
22673 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22674 (clock_getcpuclockid): Do not expect.
22675 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22676 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22677 Do not expect.
22678 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22679 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22680 [UNIX98] (vwscanf): Likewise.
22681 [UNIX98] (vswscanf): Likewise.
22682
22683 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22684
22685 * timezone/version.h: Remove file.
22686 * timezone/README: Do not refer to version.h.
22687 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22688 $(objpfx)version.h.
22689 ($(objpfx)zdump.o): Likewise.
22690 ($(objpfx)version.h): New target.
22691
22692 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22693 2012i.
22694 * timezone/README: Don't mention modification to tzselect.ksh.
22695 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22696 work on unmodified tzselect.ksh. Substitute version numbers in
22697 tzselect.ksh.
22698
22699 * Makefile (format-me): Remove.
22700 (INSTALL): Adjust indentation. Use commands directly instead of
22701 using $(format-me).
22702
22703 * aclocal.m4 (ACX_PKGVERSION): New macro.
22704 (ACX_BUGURL): Likewise.
22705 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22706 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22707 (REPORT_BUGS_TO): Likewise.
22708 * configure: Regenerated.
22709 * config.h.in (PKGVERSION): New macro.
22710 (REPORT_BUGS_TO): Likewise.
22711 * config.make.in (PKGVERSION): New variable.
22712 (PKGVERSION_TEXI): Likewise.
22713 (REPORT_BUGS_TO): Likewise.
22714 (REPORT_BUGS_TEXI): Likewise.
22715 * Makefile (format-me): Use -I$(common-objpfx)manual.
22716 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22717 ($(common-objpfx)manual/%): New target.
22718 (manual/%): Remove target.
22719 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22720 (print_version): Use PKGVERSION.
22721 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22722 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22723 and REPORT_BUGS_TO.
22724 ($(objpfx)xtrace): Likewise.
22725 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22726 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22727 (print_version): Use PKGVERSION.
22728 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22729 (do_version): Use PKGVERSION.
22730 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22731 REPORT_BUGS_TO.
22732 (common-ldd-rewrite): Likewise.
22733 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22734 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22735 (print_version): Use PKGVERSION.
22736 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22737 * elf/pldd.c (argp_program_bug_address): Remove variable.
22738 (more_help): New function.
22739 (argp): Use more_help.
22740 (print_version): Use PKGVERSION.
22741 * elf/sln.c (main): Use PKGVERSION.
22742 (usage): Use REPORT_BUGS_TO.
22743 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22744 (top level): Use PKGVERSION.
22745 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22746 (print_version): Use PKGVERSION.
22747 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22748 (print_version): Use PKGVERSION.
22749 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22750 (print_version): Use PKGVERSION.
22751 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22752 (print_version): Use PKGVERSION.
22753 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22754 (print_version): Use PKGVERSION.
22755 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22756 (print_version): Use PKGVERSION.
22757 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22758 and BUGURL.
22759 ($(objpfx)memusage): Likewise.
22760 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22761 (do_version): Use PKGVERSION.
22762 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22763 (print_version): Use PKGVERSION.
22764 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22765 ($PKGVERSION): New variable.
22766 ($REPORT_BUGS_TO): Likewise.
22767 (usage): Use $REPORT_BUGS_TO.
22768 (top level): Use $PKGVERSION.
22769 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22770 ($(objpfx)pkgvers.texi): New rule.
22771 ($(objpfx)stamp-pkgvers): Likewise.
22772 * manual/install.texi: Include pkgvers.texi.
22773 (--with-pkgversion): Document new configure option.
22774 (--with-bugurl): Likewise.
22775 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22776 than necessarily for this particular distribution. Use
22777 REPORT_BUGS_TO for where to report bugs.
22778 * INSTALL: Regenerated.
22779 * manual/libc.texinfo: Include pkgvers.texi.
22780 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22781 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22782 (print_version): Use PKGVERSION.
22783 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22784 (print_version): Use PKGVERSION.
22785 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22786 (print_version): Use PKGVERSION.
22787 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22788 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22789 macro.
22790 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22791 (print_version): Use PKGVERSION.
22792 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22793 (print_version): Use PKGVERSION.
22794 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22795 and PKGVERSION.
22796
22797 * timezone/checktab.awk: Update from tzcode 2012i.
22798 * timezone/ialloc.c: Likewise.
22799 * timezone/private.h: Likewise.
22800 * timezone/scheck.c: Likewise.
22801 * timezone/tzfile.h: Likewise.
22802 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22803 (TZVERSION): Hardcode tzcode version number.
22804 * timezone/zdump.c: Update from tzcode 2012i.
22805 * timezone/zic.c: Likewise.
22806 * timezone/version.h: New file.
22807 * timezone/README: Describe version.h. Update upstream location.
22808
22809 [BZ #14824]
22810 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22811 (mktemp): Enable declaration.
22812 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22813 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22814 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22815 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22816 Likewise.
22817 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22818 Likewise.
22819 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22820 Likewise.
22821 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22822 Likewise.
22823 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22824 Likewise.
22825 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22826 Likewise.
22827
22828 [BZ #14821]
22829 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22830 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22831 for copies of such integer values.
22832 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22833 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22834
22835 2012-11-09 Andreas Jaeger <aj@suse.de>
22836
22837 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22838 definitions and declarations that are provided by
22839 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22840
22841 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22842
22843 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22844 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22845 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22846 definition.
22847
22848 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22849
22850 * elf/elf.h: Update comment before AArch64 relocations.
22851
22852 2012-11-07 David S. Miller <davem@davemloft.net>
22853
22854 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22855 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22856 (__start_context): Declare.
22857 (__makecontext_ret): Delete.
22858 (__makecontext): Hook up __start_context instead of
22859 __makecontext_ret.
22860 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22861 (sysdep_routines): Add __start_context when in stdlib.
22862
22863 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22864
22865 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22866 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22867 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22868 hardcoded "nm".
22869 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22870 (READELF): New variable. Use it instead of hardcoded "readelf".
22871
22872 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22873
22874 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22875 * sysdeps/x86/Makefile: Here.
22876 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22877 * sysdeps/x86/tst-xmmymm.sh: This.
22878
22879 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22880
22881 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22882 expectations.
22883 [UNIX98] (pthread_barrier_t): Do not expect.
22884 [UNIX98] (pthread_barrierattr_t): Likewise.
22885 [UNIX98] (pthread_spinlock_t): Likewise.
22886 [UNIX98] (pthread_barrier_destroy): Likewise.
22887 [UNIX98] (pthread_barrier_init): Likewise.
22888 [UNIX98] (pthread_barrier_wait): Likewise.
22889 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22890 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22891 [UNIX98] (pthread_barrierattr_init): Likewise.
22892 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22893 [UNIX98] (pthread_getcpuclockid): Likewise.
22894 [UNIX98] (pthread_mutex_timedlock): Likewise.
22895 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22896 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22897 [UNIX98] (pthread_sigmask): Likewise.
22898 [UNIX98] (pthread_spin_destroy): Likewise.
22899 [UNIX98] (pthread_spin_init): Likewise.
22900 [UNIX98] (pthread_spin_lock): Likewise.
22901 [UNIX98] (pthread_spin_trylock): Likewise.
22902 [UNIX98] (pthread_spin_unlock): Likewise.
22903 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22904 Do not expect.
22905 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22906 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22907 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22908 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22909 [XPG3 || XPG4] (pthread_key_t): Likewise.
22910 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22911 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22912 [XPG3 || XPG4] (pthread_once_t): Likewise.
22913 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22914 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22915 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22916 [XPG3 || XPG4] (pthread_t): Likewise.
22917
22918 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22919 not expect.
22920 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22921
22922 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22923 Change function return type to int.
22924
22925 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22926 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22927 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22928 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22929 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22930 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22931 [!POSIX] (posix_madvise): Likewise.
22932 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22933 && !UNIX98].
22934 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22935 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22936 (mode_t): Likewise.
22937 (posix_mem_offset): Likewise.
22938 (posix_typed_mem_get_info): Likewise.
22939 (posix_typed_mem_open): Likewise.
22940
22941 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22942 Change condition to [XOPEN2K8].
22943
22944 * conform/conformtest.pl: Preprocess allow-header data with -x c
22945 instead of from stdin.
22946 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22947 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22948 [C99-based standards] (cerfc): Likewise.
22949 [C99-based standards] (cexp2): Likewise.
22950 [C99-based standards] (cexpm1): Likewise.
22951 [C99-based standards] (clog10): Likewise.
22952 [C99-based standards] (clog1p): Likewise.
22953 [C99-based standards] (clog2): Likewise.
22954 [C99-based standards] (clgamma): Likewise.
22955 [C99-based standards] (ctgamma): Likewise.
22956 [C99-based standards] (cerff): Likewise.
22957 [C99-based standards] (cerfcf): Likewise.
22958 [C99-based standards] (cexp2f): Likewise.
22959 [C99-based standards] (cexpm1f): Likewise.
22960 [C99-based standards] (clog10f): Likewise.
22961 [C99-based standards] (clog1pf): Likewise.
22962 [C99-based standards] (clog2f): Likewise.
22963 [C99-based standards] (clgammaf): Likewise.
22964 [C99-based standards] (ctgammaf): Likewise.
22965 [C99-based standards] (cerfl): Likewise.
22966 [C99-based standards] (cerfcl): Likewise.
22967 [C99-based standards] (cexp2l): Likewise.
22968 [C99-based standards] (cexpm1l): Likewise.
22969 [C99-based standards] (clog10l): Likewise.
22970 [C99-based standards] (clog1pl): Likewise.
22971 [C99-based standards] (clog2l): Likewise.
22972 [C99-based standards] (clgammal): Likewise.
22973 [C99-based standards] (ctgammal): Likewise.
22974 * conform/data/inttypes.h-data [C99-based standards]: Include
22975 stdint.h-data. Remove all expectations for stdint.h contents.
22976 [C99-based standards] (PRI*): Do not allow.
22977 [C99-based standards] (SCN*): Likewise.
22978 [C99-based standards] (*_t): Likewise.
22979 [C99-based-standards] (PRId8): Expect macro.
22980 [C99-based-standards] (PRIi8): Likewise.
22981 [C99-based-standards] (PRIo8): Likewise.
22982 [C99-based-standards] (PRIu8): Likewise.
22983 [C99-based-standards] (PRIx8): Likewise.
22984 [C99-based-standards] (PRIX8): Likewise.
22985 [C99-based-standards] (SCNd8): Likewise.
22986 [C99-based-standards] (SCNi8): Likewise.
22987 [C99-based-standards] (SCNo8): Likewise.
22988 [C99-based-standards] (SCNu8): Likewise.
22989 [C99-based-standards] (SCNx8): Likewise.
22990 [C99-based-standards] (PRIdLEAST8): Likewise.
22991 [C99-based-standards] (PRIiLEAST8): Likewise.
22992 [C99-based-standards] (PRIoLEAST8): Likewise.
22993 [C99-based-standards] (PRIuLEAST8): Likewise.
22994 [C99-based-standards] (PRIxLEAST8): Likewise.
22995 [C99-based-standards] (PRIXLEAST8): Likewise.
22996 [C99-based-standards] (SCNdLEAST8): Likewise.
22997 [C99-based-standards] (SCNiLEAST8): Likewise.
22998 [C99-based-standards] (SCNoLEAST8): Likewise.
22999 [C99-based-standards] (SCNuLEAST8): Likewise.
23000 [C99-based-standards] (SCNxLEAST8): Likewise.
23001 [C99-based-standards] (PRIdFAST8): Likewise.
23002 [C99-based-standards] (PRIiFAST8): Likewise.
23003 [C99-based-standards] (PRIoFAST8): Likewise.
23004 [C99-based-standards] (PRIuFAST8): Likewise.
23005 [C99-based-standards] (PRIxFAST8): Likewise.
23006 [C99-based-standards] (PRIXFAST8): Likewise.
23007 [C99-based-standards] (SCNdFAST8): Likewise.
23008 [C99-based-standards] (SCNiFAST8): Likewise.
23009 [C99-based-standards] (SCNoFAST8): Likewise.
23010 [C99-based-standards] (SCNuFAST8): Likewise.
23011 [C99-based-standards] (SCNxFAST8): Likewise.
23012 [C99-based-standards] (PRId16): Likewise.
23013 [C99-based-standards] (PRIi16): Likewise.
23014 [C99-based-standards] (PRIo16): Likewise.
23015 [C99-based-standards] (PRIu16): Likewise.
23016 [C99-based-standards] (PRIx16): Likewise.
23017 [C99-based-standards] (PRIX16): Likewise.
23018 [C99-based-standards] (SCNd16): Likewise.
23019 [C99-based-standards] (SCNi16): Likewise.
23020 [C99-based-standards] (SCNo16): Likewise.
23021 [C99-based-standards] (SCNu16): Likewise.
23022 [C99-based-standards] (SCNx16): Likewise.
23023 [C99-based-standards] (PRIdLEAST16): Likewise.
23024 [C99-based-standards] (PRIiLEAST16): Likewise.
23025 [C99-based-standards] (PRIoLEAST16): Likewise.
23026 [C99-based-standards] (PRIuLEAST16): Likewise.
23027 [C99-based-standards] (PRIxLEAST16): Likewise.
23028 [C99-based-standards] (PRIXLEAST16): Likewise.
23029 [C99-based-standards] (SCNdLEAST16): Likewise.
23030 [C99-based-standards] (SCNiLEAST16): Likewise.
23031 [C99-based-standards] (SCNoLEAST16): Likewise.
23032 [C99-based-standards] (SCNuLEAST16): Likewise.
23033 [C99-based-standards] (SCNxLEAST16): Likewise.
23034 [C99-based-standards] (PRIdFAST16): Likewise.
23035 [C99-based-standards] (PRIiFAST16): Likewise.
23036 [C99-based-standards] (PRIoFAST16): Likewise.
23037 [C99-based-standards] (PRIuFAST16): Likewise.
23038 [C99-based-standards] (PRIxFAST16): Likewise.
23039 [C99-based-standards] (PRIXFAST16): Likewise.
23040 [C99-based-standards] (SCNdFAST16): Likewise.
23041 [C99-based-standards] (SCNiFAST16): Likewise.
23042 [C99-based-standards] (SCNoFAST16): Likewise.
23043 [C99-based-standards] (SCNuFAST16): Likewise.
23044 [C99-based-standards] (SCNxFAST16): Likewise.
23045 [C99-based-standards] (PRId32): Likewise.
23046 [C99-based-standards] (PRIi32): Likewise.
23047 [C99-based-standards] (PRIo32): Likewise.
23048 [C99-based-standards] (PRIu32): Likewise.
23049 [C99-based-standards] (PRIx32): Likewise.
23050 [C99-based-standards] (PRIX32): Likewise.
23051 [C99-based-standards] (SCNd32): Likewise.
23052 [C99-based-standards] (SCNi32): Likewise.
23053 [C99-based-standards] (SCNo32): Likewise.
23054 [C99-based-standards] (SCNu32): Likewise.
23055 [C99-based-standards] (SCNx32): Likewise.
23056 [C99-based-standards] (PRIdLEAST32): Likewise.
23057 [C99-based-standards] (PRIiLEAST32): Likewise.
23058 [C99-based-standards] (PRIoLEAST32): Likewise.
23059 [C99-based-standards] (PRIuLEAST32): Likewise.
23060 [C99-based-standards] (PRIxLEAST32): Likewise.
23061 [C99-based-standards] (PRIXLEAST32): Likewise.
23062 [C99-based-standards] (SCNdLEAST32): Likewise.
23063 [C99-based-standards] (SCNiLEAST32): Likewise.
23064 [C99-based-standards] (SCNoLEAST32): Likewise.
23065 [C99-based-standards] (SCNuLEAST32): Likewise.
23066 [C99-based-standards] (SCNxLEAST32): Likewise.
23067 [C99-based-standards] (PRIdFAST32): Likewise.
23068 [C99-based-standards] (PRIiFAST32): Likewise.
23069 [C99-based-standards] (PRIoFAST32): Likewise.
23070 [C99-based-standards] (PRIuFAST32): Likewise.
23071 [C99-based-standards] (PRIxFAST32): Likewise.
23072 [C99-based-standards] (PRIXFAST32): Likewise.
23073 [C99-based-standards] (SCNdFAST32): Likewise.
23074 [C99-based-standards] (SCNiFAST32): Likewise.
23075 [C99-based-standards] (SCNoFAST32): Likewise.
23076 [C99-based-standards] (SCNuFAST32): Likewise.
23077 [C99-based-standards] (SCNxFAST32): Likewise.
23078 [C99-based-standards] (PRId64): Likewise.
23079 [C99-based-standards] (PRIi64): Likewise.
23080 [C99-based-standards] (PRIo64): Likewise.
23081 [C99-based-standards] (PRIu64): Likewise.
23082 [C99-based-standards] (PRIx64): Likewise.
23083 [C99-based-standards] (PRIX64): Likewise.
23084 [C99-based-standards] (SCNd64): Likewise.
23085 [C99-based-standards] (SCNi64): Likewise.
23086 [C99-based-standards] (SCNo64): Likewise.
23087 [C99-based-standards] (SCNu64): Likewise.
23088 [C99-based-standards] (SCNx64): Likewise.
23089 [C99-based-standards] (PRIdLEAST64): Likewise.
23090 [C99-based-standards] (PRIiLEAST64): Likewise.
23091 [C99-based-standards] (PRIoLEAST64): Likewise.
23092 [C99-based-standards] (PRIuLEAST64): Likewise.
23093 [C99-based-standards] (PRIxLEAST64): Likewise.
23094 [C99-based-standards] (PRIXLEAST64): Likewise.
23095 [C99-based-standards] (SCNdLEAST64): Likewise.
23096 [C99-based-standards] (SCNiLEAST64): Likewise.
23097 [C99-based-standards] (SCNoLEAST64): Likewise.
23098 [C99-based-standards] (SCNuLEAST64): Likewise.
23099 [C99-based-standards] (SCNxLEAST64): Likewise.
23100 [C99-based-standards] (PRIdFAST64): Likewise.
23101 [C99-based-standards] (PRIiFAST64): Likewise.
23102 [C99-based-standards] (PRIoFAST64): Likewise.
23103 [C99-based-standards] (PRIuFAST64): Likewise.
23104 [C99-based-standards] (PRIxFAST64): Likewise.
23105 [C99-based-standards] (PRIXFAST64): Likewise.
23106 [C99-based-standards] (SCNdFAST64): Likewise.
23107 [C99-based-standards] (SCNiFAST64): Likewise.
23108 [C99-based-standards] (SCNoFAST64): Likewise.
23109 [C99-based-standards] (SCNuFAST64): Likewise.
23110 [C99-based-standards] (SCNxFAST64): Likewise.
23111 [C99-based-standards] (PRIdMAX): Likewise.
23112 [C99-based-standards] (PRIiMAX): Likewise.
23113 [C99-based-standards] (PRIoMAX): Likewise.
23114 [C99-based-standards] (PRIuMAX): Likewise.
23115 [C99-based-standards] (PRIxMAX): Likewise.
23116 [C99-based-standards] (PRIXMAX): Likewise.
23117 [C99-based-standards] (SCNdMAX): Likewise.
23118 [C99-based-standards] (SCNiMAX): Likewise.
23119 [C99-based-standards] (SCNoMAX): Likewise.
23120 [C99-based-standards] (SCNuMAX): Likewise.
23121 [C99-based-standards] (SCNxMAX): Likewise.
23122 [C99-based-standards] (PRIdPTR): Likewise.
23123 [C99-based-standards] (PRIiPTR): Likewise.
23124 [C99-based-standards] (PRIoPTR): Likewise.
23125 [C99-based-standards] (PRIuPTR): Likewise.
23126 [C99-based-standards] (PRIxPTR): Likewise.
23127 [C99-based-standards] (PRIXPTR): Likewise.
23128 [C99-based-standards] (SCNdPTR): Likewise.
23129 [C99-based-standards] (SCNiPTR): Likewise.
23130 [C99-based-standards] (SCNoPTR): Likewise.
23131 [C99-based-standards] (SCNuPTR): Likewise.
23132 [C99-based-standards] (SCNxPTR): Likewise.
23133 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23134 allow.
23135 * conform/data/stdint.h-data: Update comments to clarify
23136 requirements.
23137 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23138 type.
23139 [C99-based standards] (INT8_MAX): Likewise.
23140 [C99-based standards] (INT16_MIN): Likewise.
23141 [C99-based standards] (INT16_MAX): Likewise.
23142 [C99-based standards] (INT32_MIN): Likewise.
23143 [C99-based standards] (INT32_MAX): Likewise.
23144 [C99-based standards] (INT64_MIN): Likewise.
23145 [C99-based standards] (INT64_MAX): Likewise.
23146 [C99-based standards] (UINT8_MAX): Likewise.
23147 [C99-based standards] (UINT16_MAX): Likewise.
23148 [C99-based standards] (UINT32_MAX): Likewise.
23149 [C99-based standards] (UINT64_MAX): Likewise.
23150 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23151 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23152 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23153 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23154 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23155 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23156 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23157 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23158 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23159 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23160 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23161 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23162 [C99-based standards] (INT_FAST8_MIN): Likewise.
23163 [C99-based standards] (INT_FAST8_MAX): Likewise.
23164 [C99-based standards] (INT_FAST16_MIN): Likewise.
23165 [C99-based standards] (INT_FAST16_MAX): Likewise.
23166 [C99-based standards] (INT_FAST32_MIN): Likewise.
23167 [C99-based standards] (INT_FAST32_MAX): Likewise.
23168 [C99-based standards] (INT_FAST64_MIN): Likewise.
23169 [C99-based standards] (INT_FAST64_MAX): Likewise.
23170 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23171 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23172 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23173 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23174 [C99-based standards] (INTPTR_MIN): Likewise.
23175 [C99-based standards] (INTPTR_MAX): Likewise.
23176 [C99-based standards] (UINTPTR_MAX): Likewise.
23177 [C99-based standards] (INTMAX_MIN): Likewise.
23178 [C99-based standards] (INTMAX_MAX): Likewise.
23179 [C99-based standards] (UINTMAX_MAX): Likewise.
23180 [C99-based standards] (PTRDIFF_MIN): Likewise.
23181 [C99-based standards] (PTRDIFF_MAX): Likewise.
23182 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23183 [C99-based standards] (SIZE_MAX): Likewise.
23184 [C99-based standards] (WCHAR_MAX): Likewise.
23185 [C99-based standards] (WINT_MAX): Likewise.
23186 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23187 constraint on value.
23188 [C99-based standards] (WCHAR_MIN): Likewise.
23189 [C99-based standards] (WINT_MIN): Likewise.
23190 [C99-based standards] (*_t): Allow.
23191 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23192 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23193 Include math.h-data and complex.h-data. Remove all expectations
23194 of math.h and complex.h contents.
23195 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23196 at end of line.
23197 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23198 (struct tm): Expect tag.
23199 [C99-based-standards] (wcstof): Expect function.
23200 [C99-based-standards] (wcstold): Likewise.
23201 [C99-based-standards] (wcstoll): Likewise.
23202 [C99-based-standards] (wcstoull): Likewise.
23203 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23204 macro-int-constant. Specify type.
23205 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23206 constraint on value.
23207 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23208 Specify type.
23209 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23210 Specify value.
23211 [ISO C standards]: Do not allow headers.
23212 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23213 wcs[abcdefghijklmnopqrstuvwxyz]*.
23214 [ISO C standards] (*_t): Do not allow.
23215 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23216 Expect function.
23217 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23218 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23219 Specify type.
23220 [ISO C standards]: Do not allow headers.
23221 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23222 is[abcdefghijklmnopqrstuvwxyz]*.
23223 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23224 to[abcdefghijklmnopqrstuvwxyz]*.
23225 [ISO C standards] (*_t): Do not allow.
23226 * conform/data/stdalign.h-data: New file.
23227 * conform/data/stdbool.h-data: Likewise.
23228 * conform/data/stdnoreturn.h-data: Likewise.
23229
23230 2012-11-07 Roland McGrath <roland@hack.frob.com>
23231
23232 [BZ #14815]
23233 * manual/filesys.texi (Directory Entries): Typo fix.
23234 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23235
23236 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23237
23238 * elf/elf.h (EM_AARCH64): New macro.
23239 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23240 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23241 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23242 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23243 (R_AARCH64_TLSDESC): Likewise.
23244 (NT_ARM_TLS): Likewise.
23245 (NT_ARM_HW_BREAK): Likewise.
23246 (NT_ARM_HW_WATCH): Likewise.
23247
23248 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23249
23250 [BZ #14811]
23251 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23252 (__ieee754_powl): Saturate nonzero exponents with absolute value
23253 below 0x1p-79 to +/- 0x1p-79.
23254 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23255 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23256 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23257 nonzero exponents with absolute value below 0x1p-32 to +/-
23258 0x1p-32.
23259 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23260 (__ieee754_powl): Saturate nonzero exponents with absolute value
23261 below 0x1p-79 to +/- 0x1p-79.
23262 * math/libm-test.inc (pow_test): Add more tests.
23263
23264 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23265
23266 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23267 _dl_s390_cap_flags with kernel. Increase string length.
23268 (_dl_s390_platforms): Add z196 and zEC12.
23269
23270 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23271
23272 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23273 Change XOPEN21K to XOPEN2K.
23274
23275 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23276
23277 * string/memmove.c: Use memcpy when possible.
23278
23279 2012-11-06 Andreas Jaeger <aj@suse.de>
23280
23281 * po/eo.po: Update from translation team.
23282
23283 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23284
23285 [BZ #14793]
23286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23287 exponent and small x and y exponents, scale x or y up. Increase
23288 by 2 the exponent used in scaling up.
23289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23290 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23291 * math/libm-test.inc (fma_test): Add more tests.
23292 (fma_test_towardzero): Likewise.
23293 (fma_test_downward): Likewise.
23294 (fma_test_upward): Likewise.
23295
23296 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23297
23298 [BZ #14805]
23299 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23300 fenv_t *.
23301
23302 [BZ #14801]
23303 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23304 namespace for names of struct fields.
23305 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23306 fenv_t fields.
23307 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23308 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23309
23310 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23311
23312 [BZ #3665]
23313 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23314
23315 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23316
23317 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23318 PTR_DEMANGLE.
23319
23320 [BZ #5246]
23321 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23322 PTR_DEMANGLE.
23323
23324 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23325
23326 [BZ #14797]
23327 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23328 definitely overflow as x * y not x * y + z.
23329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23331 * math/libm-test.inc (fma_test): Add more tests.
23332 (fma_test_towardzero): Likewise.
23333 (fma_test_downward): Likewise.
23334 (fma_test_upward): Likewise.
23335
23336 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23337
23338 [BZ #157]
23339
23340 * include/stub-tag.h: Remove file.
23341 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23342 '#include' of it.
23343 * manual/maint.texi (Porting): Don't reference it.
23344 * Makerules ($(objpfx)stubs): Likewise.
23345 * dirent/closedir.c: Don't include <stub-tag.h>.
23346 * dirent/dirfd.c: Likewise.
23347 * dirent/fdopendir.c: Likewise.
23348 * dirent/getdents.c: Likewise.
23349 * dirent/getdents64.c: Likewise.
23350 * dirent/opendir.c: Likewise.
23351 * dirent/readdir.c: Likewise.
23352 * dirent/readdir64.c: Likewise.
23353 * dirent/readdir64_r.c: Likewise.
23354 * dirent/readdir_r.c: Likewise.
23355 * dirent/rewinddir.c: Likewise.
23356 * dirent/seekdir.c: Likewise.
23357 * dirent/telldir.c: Likewise.
23358 * gmon/profil.c: Likewise.
23359 * grp/setgroups.c: Likewise.
23360 * inet/if_index.c: Likewise.
23361 * io/access.c: Likewise.
23362 * io/chdir.c: Likewise.
23363 * io/chmod.c: Likewise.
23364 * io/chown.c: Likewise.
23365 * io/close.c: Likewise.
23366 * io/dup.c: Likewise.
23367 * io/dup2.c: Likewise.
23368 * io/dup3.c: Likewise.
23369 * io/euidaccess.c: Likewise.
23370 * io/faccessat.c: Likewise.
23371 * io/fchdir.c: Likewise.
23372 * io/fchmod.c: Likewise.
23373 * io/fchmodat.c: Likewise.
23374 * io/fchown.c: Likewise.
23375 * io/fchownat.c: Likewise.
23376 * io/fcntl.c: Likewise.
23377 * io/flock.c: Likewise.
23378 * io/fstatfs.c: Likewise.
23379 * io/fstatfs64.c: Likewise.
23380 * io/fstatvfs.c: Likewise.
23381 * io/fstatvfs64.c: Likewise.
23382 * io/futimens.c: Likewise.
23383 * io/fxstat.c: Likewise.
23384 * io/fxstat64.c: Likewise.
23385 * io/fxstatat.c: Likewise.
23386 * io/fxstatat64.c: Likewise.
23387 * io/getcwd.c: Likewise.
23388 * io/isatty.c: Likewise.
23389 * io/lchmod.c: Likewise.
23390 * io/lchown.c: Likewise.
23391 * io/link.c: Likewise.
23392 * io/linkat.c: Likewise.
23393 * io/lseek.c: Likewise.
23394 * io/lseek64.c: Likewise.
23395 * io/lxstat64.c: Likewise.
23396 * io/mkdir.c: Likewise.
23397 * io/mkdirat.c: Likewise.
23398 * io/mkfifo.c: Likewise.
23399 * io/mkfifoat.c: Likewise.
23400 * io/open.c: Likewise.
23401 * io/open64.c: Likewise.
23402 * io/openat.c: Likewise.
23403 * io/openat64.c: Likewise.
23404 * io/pipe.c: Likewise.
23405 * io/pipe2.c: Likewise.
23406 * io/poll.c: Likewise.
23407 * io/posix_fadvise.c: Likewise.
23408 * io/posix_fadvise64.c: Likewise.
23409 * io/posix_fallocate.c: Likewise.
23410 * io/posix_fallocate64.c: Likewise.
23411 * io/read.c: Likewise.
23412 * io/readlink.c: Likewise.
23413 * io/readlinkat.c: Likewise.
23414 * io/rmdir.c: Likewise.
23415 * io/sendfile.c: Likewise.
23416 * io/sendfile64.c: Likewise.
23417 * io/statfs.c: Likewise.
23418 * io/statfs64.c: Likewise.
23419 * io/statvfs.c: Likewise.
23420 * io/statvfs64.c: Likewise.
23421 * io/symlink.c: Likewise.
23422 * io/symlinkat.c: Likewise.
23423 * io/ttyname.c: Likewise.
23424 * io/ttyname_r.c: Likewise.
23425 * io/umask.c: Likewise.
23426 * io/unlink.c: Likewise.
23427 * io/unlinkat.c: Likewise.
23428 * io/utime.c: Likewise.
23429 * io/utimensat.c: Likewise.
23430 * io/write.c: Likewise.
23431 * io/xmknod.c: Likewise.
23432 * io/xmknodat.c: Likewise.
23433 * io/xstat.c: Likewise.
23434 * io/xstat64.c: Likewise.
23435 * login/getpt.c: Likewise.
23436 * login/grantpt.c: Likewise.
23437 * login/unlockpt.c: Likewise.
23438 * math/e_acoshl.c: Likewise.
23439 * math/e_acosl.c: Likewise.
23440 * math/e_asinl.c: Likewise.
23441 * math/e_atan2l.c: Likewise.
23442 * math/e_atanhl.c: Likewise.
23443 * math/e_coshl.c: Likewise.
23444 * math/e_expl.c: Likewise.
23445 * math/e_fmodl.c: Likewise.
23446 * math/e_gammal_r.c: Likewise.
23447 * math/e_hypotl.c: Likewise.
23448 * math/e_j0l.c: Likewise.
23449 * math/e_j1l.c: Likewise.
23450 * math/e_jnl.c: Likewise.
23451 * math/e_lgammal_r.c: Likewise.
23452 * math/e_log10l.c: Likewise.
23453 * math/e_log2l.c: Likewise.
23454 * math/e_logl.c: Likewise.
23455 * math/e_powl.c: Likewise.
23456 * math/e_rem_pio2l.c: Likewise.
23457 * math/e_sinhl.c: Likewise.
23458 * math/e_sqrtl.c: Likewise.
23459 * math/fclrexcpt.c: Likewise.
23460 * math/fedisblxcpt.c: Likewise.
23461 * math/feenablxcpt.c: Likewise.
23462 * math/fegetenv.c: Likewise.
23463 * math/fegetexcept.c: Likewise.
23464 * math/fegetround.c: Likewise.
23465 * math/feholdexcpt.c: Likewise.
23466 * math/fesetenv.c: Likewise.
23467 * math/fesetround.c: Likewise.
23468 * math/feupdateenv.c: Likewise.
23469 * math/fgetexcptflg.c: Likewise.
23470 * math/fraiseexcpt.c: Likewise.
23471 * math/fsetexcptflg.c: Likewise.
23472 * math/ftestexcept.c: Likewise.
23473 * math/k_cosl.c: Likewise.
23474 * math/k_rem_pio2l.c: Likewise.
23475 * math/k_sinl.c: Likewise.
23476 * math/k_tanl.c: Likewise.
23477 * math/s_asinhl.c: Likewise.
23478 * math/s_atanl.c: Likewise.
23479 * math/s_cbrtl.c: Likewise.
23480 * math/s_erfl.c: Likewise.
23481 * math/s_expm1l.c: Likewise.
23482 * math/s_log1pl.c: Likewise.
23483 * math/s_tanhl.c: Likewise.
23484 * misc/acct.c: Likewise.
23485 * misc/brk.c: Likewise.
23486 * misc/chflags.c: Likewise.
23487 * misc/chroot.c: Likewise.
23488 * misc/fchflags.c: Likewise.
23489 * misc/fgetxattr.c: Likewise.
23490 * misc/flistxattr.c: Likewise.
23491 * misc/fremovexattr.c: Likewise.
23492 * misc/fsetxattr.c: Likewise.
23493 * misc/fsync.c: Likewise.
23494 * misc/ftruncate.c: Likewise.
23495 * misc/futimes.c: Likewise.
23496 * misc/futimesat.c: Likewise.
23497 * misc/getdomain.c: Likewise.
23498 * misc/getdtsz.c: Likewise.
23499 * misc/gethostid.c: Likewise.
23500 * misc/gethostname.c: Likewise.
23501 * misc/getloadavg.c: Likewise.
23502 * misc/getpagesize.c: Likewise.
23503 * misc/getsysstats.c: Likewise.
23504 * misc/getxattr.c: Likewise.
23505 * misc/gtty.c: Likewise.
23506 * misc/ioctl.c: Likewise.
23507 * misc/lgetxattr.c: Likewise.
23508 * misc/listxattr.c: Likewise.
23509 * misc/llistxattr.c: Likewise.
23510 * misc/lremovexattr.c: Likewise.
23511 * misc/lsetxattr.c: Likewise.
23512 * misc/lutimes.c: Likewise.
23513 * misc/madvise.c: Likewise.
23514 * misc/mincore.c: Likewise.
23515 * misc/mlock.c: Likewise.
23516 * misc/mlockall.c: Likewise.
23517 * misc/mmap.c: Likewise.
23518 * misc/mprotect.c: Likewise.
23519 * misc/msync.c: Likewise.
23520 * misc/munlock.c: Likewise.
23521 * misc/munlockall.c: Likewise.
23522 * misc/munmap.c: Likewise.
23523 * misc/preadv.c: Likewise.
23524 * misc/preadv64.c: Likewise.
23525 * misc/ptrace.c: Likewise.
23526 * misc/pwritev.c: Likewise.
23527 * misc/pwritev64.c: Likewise.
23528 * misc/readv.c: Likewise.
23529 * misc/reboot.c: Likewise.
23530 * misc/remap_file_pages.c: Likewise.
23531 * misc/removexattr.c: Likewise.
23532 * misc/revoke.c: Likewise.
23533 * misc/select.c: Likewise.
23534 * misc/setdomain.c: Likewise.
23535 * misc/setegid.c: Likewise.
23536 * misc/seteuid.c: Likewise.
23537 * misc/sethostid.c: Likewise.
23538 * misc/sethostname.c: Likewise.
23539 * misc/setregid.c: Likewise.
23540 * misc/setreuid.c: Likewise.
23541 * misc/setxattr.c: Likewise.
23542 * misc/sstk.c: Likewise.
23543 * misc/stty.c: Likewise.
23544 * misc/swapoff.c: Likewise.
23545 * misc/swapon.c: Likewise.
23546 * misc/sync.c: Likewise.
23547 * misc/syncfs.c: Likewise.
23548 * misc/syscall.c: Likewise.
23549 * misc/truncate.c: Likewise.
23550 * misc/ualarm.c: Likewise.
23551 * misc/usleep.c: Likewise.
23552 * misc/ustat.c: Likewise.
23553 * misc/utimes.c: Likewise.
23554 * misc/vhangup.c: Likewise.
23555 * misc/writev.c: Likewise.
23556 * posix/_exit.c: Likewise.
23557 * posix/alarm.c: Likewise.
23558 * posix/execve.c: Likewise.
23559 * posix/fexecve.c: Likewise.
23560 * posix/fork.c: Likewise.
23561 * posix/fpathconf.c: Likewise.
23562 * posix/getaddrinfo.c: Likewise.
23563 * posix/getegid.c: Likewise.
23564 * posix/geteuid.c: Likewise.
23565 * posix/getgid.c: Likewise.
23566 * posix/getgroups.c: Likewise.
23567 * posix/getlogin.c: Likewise.
23568 * posix/getlogin_r.c: Likewise.
23569 * posix/getpgid.c: Likewise.
23570 * posix/getpid.c: Likewise.
23571 * posix/getppid.c: Likewise.
23572 * posix/getresgid.c: Likewise.
23573 * posix/getresuid.c: Likewise.
23574 * posix/getsid.c: Likewise.
23575 * posix/getuid.c: Likewise.
23576 * posix/glob64.c: Likewise.
23577 * posix/nanosleep.c: Likewise.
23578 * posix/pathconf.c: Likewise.
23579 * posix/pause.c: Likewise.
23580 * posix/posix_madvise.c: Likewise.
23581 * posix/pread.c: Likewise.
23582 * posix/pread64.c: Likewise.
23583 * posix/pwrite.c: Likewise.
23584 * posix/pwrite64.c: Likewise.
23585 * posix/sched_getaffinity.c: Likewise.
23586 * posix/sched_getp.c: Likewise.
23587 * posix/sched_gets.c: Likewise.
23588 * posix/sched_primax.c: Likewise.
23589 * posix/sched_primin.c: Likewise.
23590 * posix/sched_rr_gi.c: Likewise.
23591 * posix/sched_setaffinity.c: Likewise.
23592 * posix/sched_setp.c: Likewise.
23593 * posix/sched_sets.c: Likewise.
23594 * posix/sched_yield.c: Likewise.
23595 * posix/setgid.c: Likewise.
23596 * posix/setlogin.c: Likewise.
23597 * posix/setpgid.c: Likewise.
23598 * posix/setresgid.c: Likewise.
23599 * posix/setresuid.c: Likewise.
23600 * posix/setsid.c: Likewise.
23601 * posix/setuid.c: Likewise.
23602 * posix/sleep.c: Likewise.
23603 * posix/spawni.c: Likewise.
23604 * posix/sysconf.c: Likewise.
23605 * posix/times.c: Likewise.
23606 * posix/wait.c: Likewise.
23607 * posix/wait3.c: Likewise.
23608 * posix/wait4.c: Likewise.
23609 * posix/waitpid.c: Likewise.
23610 * resolv/gai_sigqueue.c: Likewise.
23611 * resource/getpriority.c: Likewise.
23612 * resource/getrlimit.c: Likewise.
23613 * resource/getrusage.c: Likewise.
23614 * resource/nice.c: Likewise.
23615 * resource/setpriority.c: Likewise.
23616 * resource/setrlimit.c: Likewise.
23617 * resource/ulimit.c: Likewise.
23618 * rt/aio_cancel.c: Likewise.
23619 * rt/aio_fsync.c: Likewise.
23620 * rt/aio_read.c: Likewise.
23621 * rt/aio_sigqueue.c: Likewise.
23622 * rt/aio_suspend.c: Likewise.
23623 * rt/aio_write.c: Likewise.
23624 * rt/clock_getres.c: Likewise.
23625 * rt/clock_gettime.c: Likewise.
23626 * rt/clock_nanosleep.c: Likewise.
23627 * rt/clock_settime.c: Likewise.
23628 * rt/lio_listio.c: Likewise.
23629 * rt/mq_close.c: Likewise.
23630 * rt/mq_getattr.c: Likewise.
23631 * rt/mq_notify.c: Likewise.
23632 * rt/mq_open.c: Likewise.
23633 * rt/mq_receive.c: Likewise.
23634 * rt/mq_send.c: Likewise.
23635 * rt/mq_setattr.c: Likewise.
23636 * rt/mq_timedreceive.c: Likewise.
23637 * rt/mq_timedsend.c: Likewise.
23638 * rt/mq_unlink.c: Likewise.
23639 * rt/shm_open.c: Likewise.
23640 * rt/shm_unlink.c: Likewise.
23641 * rt/timer_create.c: Likewise.
23642 * rt/timer_delete.c: Likewise.
23643 * rt/timer_getoverr.c: Likewise.
23644 * rt/timer_gettime.c: Likewise.
23645 * rt/timer_settime.c: Likewise.
23646 * setjmp/__longjmp.c: Likewise.
23647 * setjmp/setjmp.c: Likewise.
23648 * signal/kill.c: Likewise.
23649 * signal/killpg.c: Likewise.
23650 * signal/raise.c: Likewise.
23651 * signal/sigaction.c: Likewise.
23652 * signal/sigaltstack.c: Likewise.
23653 * signal/sigblock.c: Likewise.
23654 * signal/sigignore.c: Likewise.
23655 * signal/sigintr.c: Likewise.
23656 * signal/signal.c: Likewise.
23657 * signal/sigpause.c: Likewise.
23658 * signal/sigpending.c: Likewise.
23659 * signal/sigqueue.c: Likewise.
23660 * signal/sigreturn.c: Likewise.
23661 * signal/sigset.c: Likewise.
23662 * signal/sigsetmask.c: Likewise.
23663 * signal/sigstack.c: Likewise.
23664 * signal/sigsuspend.c: Likewise.
23665 * signal/sigtimedwait.c: Likewise.
23666 * signal/sigvec.c: Likewise.
23667 * signal/sigwait.c: Likewise.
23668 * signal/sigwaitinfo.c: Likewise.
23669 * signal/sysv_signal.c: Likewise.
23670 * socket/accept.c: Likewise.
23671 * socket/accept4.c: Likewise.
23672 * socket/bind.c: Likewise.
23673 * socket/connect.c: Likewise.
23674 * socket/getpeername.c: Likewise.
23675 * socket/getsockname.c: Likewise.
23676 * socket/getsockopt.c: Likewise.
23677 * socket/isfdtype.c: Likewise.
23678 * socket/listen.c: Likewise.
23679 * socket/recv.c: Likewise.
23680 * socket/recvfrom.c: Likewise.
23681 * socket/recvmsg.c: Likewise.
23682 * socket/send.c: Likewise.
23683 * socket/sendmsg.c: Likewise.
23684 * socket/sendto.c: Likewise.
23685 * socket/setsockopt.c: Likewise.
23686 * socket/shutdown.c: Likewise.
23687 * socket/sockatmark.c: Likewise.
23688 * socket/socket.c: Likewise.
23689 * socket/socketpair.c: Likewise.
23690 * stdio-common/ctermid.c: Likewise.
23691 * stdio-common/cuserid.c: Likewise.
23692 * stdio-common/remove.c: Likewise.
23693 * stdio-common/rename.c: Likewise.
23694 * stdio-common/renameat.c: Likewise.
23695 * stdio-common/tempname.c: Likewise.
23696 * stdlib/getcontext.c: Likewise.
23697 * stdlib/makecontext.c: Likewise.
23698 * stdlib/setcontext.c: Likewise.
23699 * stdlib/swapcontext.c: Likewise.
23700 * stdlib/system.c: Likewise.
23701 * streams/fattach.c: Likewise.
23702 * streams/fdetach.c: Likewise.
23703 * streams/getmsg.c: Likewise.
23704 * streams/getpmsg.c: Likewise.
23705 * streams/putmsg.c: Likewise.
23706 * streams/putpmsg.c: Likewise.
23707 * sysdeps/unix/bsd/getpt.c: Likewise.
23708 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23709 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23710 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23712 Likewise.
23713 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23714 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23715 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23716 * sysvipc/msgctl.c: Likewise.
23717 * sysvipc/msgget.c: Likewise.
23718 * sysvipc/msgrcv.c: Likewise.
23719 * sysvipc/msgsnd.c: Likewise.
23720 * sysvipc/semctl.c: Likewise.
23721 * sysvipc/semget.c: Likewise.
23722 * sysvipc/semop.c: Likewise.
23723 * sysvipc/semtimedop.c: Likewise.
23724 * sysvipc/shmat.c: Likewise.
23725 * sysvipc/shmctl.c: Likewise.
23726 * sysvipc/shmdt.c: Likewise.
23727 * sysvipc/shmget.c: Likewise.
23728 * termios/tcdrain.c: Likewise.
23729 * termios/tcflow.c: Likewise.
23730 * termios/tcflush.c: Likewise.
23731 * termios/tcgetattr.c: Likewise.
23732 * termios/tcgetpgrp.c: Likewise.
23733 * termios/tcsendbrk.c: Likewise.
23734 * termios/tcsetattr.c: Likewise.
23735 * termios/tcsetpgrp.c: Likewise.
23736 * time/adjtime.c: Likewise.
23737 * time/clock.c: Likewise.
23738 * time/getitimer.c: Likewise.
23739 * time/gettimeofday.c: Likewise.
23740 * time/setitimer.c: Likewise.
23741 * time/settimeofday.c: Likewise.
23742 * time/stime.c: Likewise.
23743 * time/time.c: Likewise.
23744
23745 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23746
23747 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23748 /usr/old/bin.
23749
23750 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23751 instead of spaces.
23752 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23753
23754 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23755
23756 [BZ #14796]
23757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23758 FE_TONEAREST before applying Dekker multiplication and Knuth
23759 addition. Clear inexact exceptions and check for exact zero
23760 results afterwards.
23761 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23762 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23763 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23764 * math/libm-test.inc (fma_test): Add more tests.
23765 (fma_test_towardzero): Likewise.
23766 (fma_test_downward): Likewise.
23767 (fma_test_upward): Likewise.
23768 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23769 function.
23770 (libc_fesetround): New macro.
23771 (libc_fesetroundf): Likewise.
23772 (libc_fesetroundl): Likewise.
23773 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23774 function.
23775 (libc_fesetround_387): Likewise.
23776 (libc_fesetroundf): New macro.
23777 (libc_fesetround): Likewise.
23778 (libc_fesetroundl): Likewise.
23779 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23780 function.
23781 (libc_fesetroundf): New macro.
23782 (libc_fesetround): Likewise.
23783 (libc_fesetroundl): Likewise.
23784 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23785 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23786 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23787 libm_hidden_ver.
23788 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23789 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23790 libm_hidden_def.
23791 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23792 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23793 libm_hidden_ver.
23794 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23795 libm_hidden_def.
23796
23797 [BZ #3439]
23798 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23799 integer constant usable in #if and use that to give value to enum
23800 constant.
23801 (FE_DIVBYZERO): Likewise.
23802 (FE_UNDERFLOW): Likewise.
23803 (FE_OVERFLOW): Likewise.
23804 (FE_INVALID): Likewise.
23805 (FE_INVALID_SNAN): Likewise.
23806 (FE_INVALID_ISI): Likewise.
23807 (FE_INVALID_IDI): Likewise.
23808 (FE_INVALID_ZDZ): Likewise.
23809 (FE_INVALID_IMZ): Likewise.
23810 (FE_INVALID_COMPARE): Likewise.
23811 (FE_INVALID_SOFTWARE): Likewise.
23812 (FE_INVALID_SQRT): Likewise.
23813 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23814 (FE_TONEAREST): Likewise.
23815 (FE_TOWARDZERO): Likewise.
23816 (FE_UPWARD): Likewise.
23817 (FE_DOWNWARD): Likewise.
23818 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23819 (FE_DIVBYZERO): Likewise.
23820 (FE_OVERFLOW): Likewise.
23821 (FE_UNDERFLOW): Likewise.
23822 (FE_INEXACT): Likewise.
23823 (FE_TONEAREST): Likewise.
23824 (FE_DOWNWARD): Likewise.
23825 (FE_UPWARD): Likewise.
23826 (FE_TOWARDZERO): Likewise.
23827 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23828 (FE_UNDERFLOW): Likewise.
23829 (FE_OVERFLOW): Likewise.
23830 (FE_DIVBYZERO): Likewise.
23831 (FE_INVALID): Likewise.
23832 (FE_TONEAREST): Likewise.
23833 (FE_TOWARDZERO): Likewise.
23834 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23835 (FE_OVERFLOW): Likewise.
23836 (FE_UNDERFLOW): Likewise.
23837 (FE_DIVBYZERO): Likewise.
23838 (FE_INEXACT): Likewise.
23839 (FE_TONEAREST): Likewise.
23840 (FE_TOWARDZERO): Likewise.
23841 (FE_UPWARD): Likewise.
23842 (FE_DOWNWARD): Likewise.
23843 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23844 (FE_DIVBYZERO): Likewise.
23845 (FE_OVERFLOW): Likewise.
23846 (FE_UNDERFLOW): Likewise.
23847 (FE_INEXACT): Likewise.
23848 (FE_TONEAREST): Likewise.
23849 (FE_DOWNWARD): Likewise.
23850 (FE_UPWARD): Likewise.
23851 (FE_TOWARDZERO): Likewise.
23852
23853 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23854
23855 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23856
23857 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23858
23859 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23860 commands. Quote $PWD.
23861 (blacklist_exports): Don't use remove_newlines. Replace "declare
23862 -x" by "export".
23863 (remove_newlines): Remove.
23864
23865 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23866
23867 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23868 * stdlib/stdlib.h (atof): Moved to ...
23869 * include/bits/stdlib-float.h: Here. New file.
23870 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23871 * stdlib/bits/stdlib-float.h: New file.
23872 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23873 -mno-sse -mno-mmx.
23874 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23875 <xmmintrin.h>.
23876
23877 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23878
23879 * conform/conformtest.pl (@headers): Add fenv.h.
23880 * conform/data/fenv.h-data: New file.
23881 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23882 include of <math/fenv.h>.
23883
23884 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23885 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23886 && !UNIX98]. Enables tests for XOPEN2K8.
23887 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23888 POSIX2008]: Likewise.
23889
23890 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23891 (struct rusage): Do not expect type or its members.
23892
23893 [BZ #3439]
23894 * math/math.h (FP_NAN): Define macro to integer constant usable in
23895 #if and use that to give value to enum constant.
23896 (FP_INFINITE): Likewise.
23897 (FP_ZERO): Likewise.
23898 (FP_SUBNORMAL): Likewise.
23899 (FP_NORMAL): Likewise.
23900
23901 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23902
23903 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23904 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23905 arguments.
23906
23907 2012-11-02 Roland McGrath <roland@hack.frob.com>
23908
23909 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23910 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23911 autoconf-time if not.
23912 * configure.in: Remove AC_PREREQ.
23913
23914 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23915
23916 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23917 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23918 of the internal implementation.
23919
23920 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23921
23922 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23923 except include of <misc/sys/syslog.h>.
23924
23925 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23926
23927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23928 function returns with a NULL context exit with zero.
23929
23930 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23931
23932 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23933
23934 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23935
23936 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23937 (run_program_cmd): This.
23938 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23939 (tst_langinfo): New variable. Use it.
23940
23941 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23942
23943 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23944 floating point opcodes.
23945
23946 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23947
23948 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23949 variable.
23950
23951 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23952
23953 * sysdeps/mach/hurd/powerpc: Remove directory.
23954 * sysdeps/mach/powerpc: Likewise.
23955
23956 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23957
23958 * scripts/check-local-headers.sh: Ignore c++ headers.
23959
23960 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23961
23962 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23963 __libc_cleanup_region_start argument.
23964
23965 2012-11-01 Joseph Myers <joseph@codesourcery.com>
23966
23967 [BZ #14784]
23968 [BZ #14785]
23969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23970 x * y using scaling, not as x * y + z.
23971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23972 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23973 * math/libm-test.inc (fma_test): Add more tests.
23974 (fma_test_towardzero): Likewise.
23975 (fma_test_downward): Likewise.
23976 (fma_test_upward): Likewise.
23977
23978 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23979
23980 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23981
23982 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23983
23984 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23985 New variable.
23986
23987 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23988
23989 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23990
23991 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23992
23993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23994 Fix sort order.
23995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23996 Likewise.
23997
23998 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23999
24000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24001 Fix the order of the list for glibc 2.17.
24002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24003 Likewise.
24004
24005 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24006
24007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24008
24009 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24010
24011 [BZ #14610]
24012 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24013 for low part of x being zero before using __atanl (y).
24014 * math/libm-test.inc (atan2_test): Add another test.
24015
24016 * manual/install.texi (Configuring and compiling): Document
24017 general use of test-wrapper and test-wrapper-env.
24018 * INSTALL: Regenerated.
24019
24020 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24021 (__fma): Do not extract and scale down low bits on after-rounding
24022 systems when result rounded to normal precision would have normal
24023 exponent.
24024 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24025 (__fmal): Do not extract and scale down low bits on after-rounding
24026 systems when result rounded to normal precision would have normal
24027 exponent.
24028 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24029 (__fmal): Do not extract and scale down low bits on after-rounding
24030 systems when result rounded to normal precision would have normal
24031 exponent.
24032 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24033 macro.
24034 (fma_test): Add more tests.
24035 (fma_test_towardzero): Likewise.
24036 (fma_test_downward): Likewise.
24037 (fma_test_upward): Likewise.
24038
24039 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24040
24041 * sysdeps/i386/tininess.h: Renamed to ...
24042 * sysdeps/x86/tininess.h: This.
24043 * sysdeps/x86_64/tininess.h: Removed.
24044
24045 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24046
24047 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24048 input. Use $(build-program-cmd).
24049 ($(objpfx)tst-array1-static.out): Likewise.
24050 ($(objpfx)tst-array2.out): Likewise.
24051 ($(objpfx)tst-array3.out): Likewise.
24052 ($(objpfx)tst-array4.out): Likewise.
24053 ($(objpfx)tst-array5.out): Likewise.
24054 ($(objpfx)tst-array5-static.out): Likewise.
24055
24056 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24057
24058 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24059 if defined.
24060
24061 * nss/nsswitch.h (nss_interface_function): Provide new
24062 macro for use with NSS functions.
24063 * grp/initgroups.c: Use new macro.
24064 * nss/getXXbyYY.c: Likewise.
24065 * nss/getXXbyYY_r.c: Likewise.
24066 * nss/getXXent.c: Likewise.
24067 * nss/getXXent_r.c: Likewise.
24068 * sysdeps/posix/getaddrinfo.c: Likewise.
24069
24070 2012-10-30 Andreas Jaeger <aj@suse.de>
24071
24072 * po/ru.po: Update Russion translation from translation project.
24073
24074 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24075
24076 [BZ #14152]
24077 [BZ #14783]
24078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24079 result and shift together with sticky bit instead of replicating
24080 round-to-nearest rounding.
24081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24082 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24083 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24084 missing underflow exceptions.
24085 (fma_test_towardzero): Add more tests.
24086 (fma_test_downward): Likewise.
24087 (fma_test_upward): Likewise.
24088
24089 [BZ #14047]
24090 * sysdeps/generic/tininess.h: New file.
24091 * sysdeps/i386/tininess.h: Likewise.
24092 * sysdeps/sh/tininess.h: Likewise.
24093 * sysdeps/x86_64/tininess.h: Likewise.
24094 * stdlib/tst-strtod-underflow.c: Likewise.
24095 * stdlib/tst-tininess.c: Likewise.
24096 * stdlib/strtod_l.c: Include <tininess.h>.
24097 (round_and_return): Do not set errno for exact underflow cases.
24098 Force an underflow exception when setting errno for underflow.
24099 Determine underflow based on rounding to normal precision if
24100 TININESS_AFTER_ROUNDING.
24101 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24102 ERANGE for exact underflow cases.
24103 * stdlib/Makefile (tests): Add tst-tininess and
24104 tst-strtod-underflow.
24105 ($(objpfx)tst-tininess): Use $(link-libm).
24106 ($(objpfx)tst-strtod-underflow): Likewise.
24107
24108 2012-10-30 Andreas Jaeger <aj@suse.de>
24109
24110 [BZ#14767]
24111 * elf/Makefile (tests): Remove conditional for have-initfini-array
24112 since this is now always required and the variable does not exist
24113 anymore.
24114 (tests-static): Likewise.
24115 (modules-names): Likewise.
24116
24117 * po/eo.po: Add Esperanto translation from translation project.
24118
24119 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24120 merged with constructor/destructor.
24121 (init_array): Likewise.
24122 * elf/tst-array2dep.c (fini_array): Likewise.
24123 (init_array): Likewise.
24124
24125 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24126
24127 * manual/message.texi: Delete @cartouche tags.
24128
24129 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24130
24131 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24132 EOPNOTSUPP.
24133 * sysdeps/mach/hurd/fsync.c: Likewise.
24134
24135 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24136 [_POSIX_REALTIME_SIGNALS]: Change condition to
24137 [_POSIX_REALTIME_SIGNALS > 0].
24138
24139 2012-10-27 Andreas Jaeger <aj@suse.de>
24140
24141 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24142 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24143 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24144 [__WORDSIZE != 64]: Likewise.
24145
24146 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24147
24148 * iconvdata/tst-table.sh: Remove ${SHELL}.
24149 * iconvdata/tst-tables.sh: Likewise.
24150
24151 2012-10-25 David S. Miller <davem@davemloft.net>
24152
24153 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24154 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24155 of strtoull.
24156
24157 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24158 ifunc-impl-list.c
24159 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24160 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24161 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24162 file.
24163
24164 2012-10-25 Roland McGrath <roland@hack.frob.com>
24165
24166 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24167 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24168 __getdirentries.
24169
24170 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24171 Jim Blandy <jimb@codesourcery.com>
24172
24173 * scripts/cross-test-ssh.sh: New file.
24174 * manual/install.texi (Configuring and compiling): Document use of
24175 cross-test-ssh.sh.
24176 * INSTALL: Regenerated.
24177
24178 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24179
24180 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24181 EOPNOTSUPP.
24182
24183 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24184
24185 * Makeconfig (run-program-prefix): Fix comment.
24186
24187 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24188 Jim Blandy <jimb@codesourcery.com>
24189
24190 * Makeconfig (test-wrapper): New variable,
24191 (test-wrapper-env): Likewise.
24192 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24193 (run-built-tests): Define to yes.
24194 (run-program-prefix): Use $(test-wrapper).
24195 (built-program-cmd): Likewise.
24196 * Rules (make-test-out): Use $(test-wrapper-env) and
24197 $(host-built-program-cmd).
24198 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24199 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24200 tst-pathopt.sh.
24201 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24202 $(test-wrapper-env) to tst-rtld-load-self.sh.
24203 ($(objpfx)order2.out): Use $(test-wrapper).
24204 ($(objpfx)tst-initorder.out): Likewise.
24205 ($(objpfx)tst-initorder2.out): Likewise.
24206 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24207 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24208 (test_wrapper_env): New variable. Use it to run ld.so.
24209 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24210 Use it to run ld.so.
24211 (test_wrapper_env): Likewise.
24212 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24213 $(test-wrapper) to run-iconv-test.sh.
24214 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24215 (ICONV): Use $test_wrapper.
24216 * posix/Makefile ($(objpfx)globtest.out): Pass
24217 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24218 globtest.sh, not $(run-program-prefix).
24219 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24220 (test_wrapper): Likewise.
24221 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24222 set together with run_via_rtld_prefix.
24223 (run_program_prefix): Define in terms of test_wrapper and
24224 run_via_rtld_prefix.
24225
24226 2012-10-24 Roland McGrath <roland@hack.frob.com>
24227
24228 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24229 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24230 Targets removed.
24231
24232 [BZ #14743]
24233 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24234 Declare __clock_getres, __clock_gettime, __clock_settime,
24235 __clock_nanosleep, and __clock_getcpuclockid.
24236 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24237 Remove librt_hidden_def (clock_gettime).
24238 * sysdeps/unix/clock_gettime.c: Likewise.
24239 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24240 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24241 * rt/clock_getres.c: Define __clock_getres as an alias.
24242 * sysdeps/posix/clock_getres.c: Likewise.
24243 * rt/clock_settime.c: Define __clock_settime as an alias.
24244 * sysdeps/unix/clock_settime.c: Likewise.
24245 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24246 * sysdeps/unix/clock_nanosleep.c: Likewise.
24247 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24248 * rt/clock-compat.c: New file.
24249 * rt/Makefile (librt-routines): Add clock-compat and move
24250 $(clock-routines) to ...
24251 (routines): ... here, new variable.
24252 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24253 Don't add get_clockfreq here.
24254 * rt/Versions (libc: GLIBC_2.17): New version set.
24255 Add clock_* symbols here.
24256 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24257 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24258 (GLIBC_2.17): Add clock_* symbols.
24259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24261 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24263 Likewise.
24264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24265 Likewise.
24266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24270 * NEWS: Mention the move.
24271
24272 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24273 Use __open, __read, __close rather than their public counterparts.
24274 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24275 (__get_clockfreq_via_cpuinfo): Likewise.
24276 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24277 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24278
24279 * config.h.in (HAVE_IFUNC): New #undef.
24280 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24281 was successful.
24282 * configure: Regenerated.
24283
24284 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24285
24286 * configure.in: Move READELF check to start of file.
24287 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24288 libc_cv_asm_gnu_indirect_function in the process.
24289 * configure: Regenerated.
24290
24291 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24292
24293 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24294 send the output to /dev/null.
24295 (libc_cv_cc_with_libunwind): Likewise.
24296 (libc_cv_as_noexecstack): Likewise.
24297 * configure: Regenerate.
24298
24299 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24300
24301 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24302
24303 * posix/globtest.sh (TMPDIR): Do not set.
24304 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24305 (testout): Likewise.
24306
24307 2012-10-24 Andreas Jaeger <aj@suse.de>
24308
24309 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24310 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24311 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24312 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24313 posix_fadvise64, posix_fallocate64.
24314
24315 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24316 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24317 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24318 Likewise.
24319 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24320 Likewise.
24321 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24322
24323 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24324 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24325 <bits/fcntl-linux.h>.
24326 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24327
24328 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24329 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24330 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24331 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24332 [__WORDSIZE != 64]: Likewise.
24333
24334 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24335
24336 * Makeconfig (run-built-tests): New variable.
24337 * Rules [$(cross-compiling) = yes]: Change condition to
24338 [$(run-built-tests) = no].
24339 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24340 to [$(run-built-tests) = yes].
24341 * elf/Makefile [$(cross-compiling) = no]: Likewise
24342 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24343 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24344 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24345 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24346 * io/Makefile [$(cross-compiling) = no]: Likewise.
24347 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24348 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24349 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24350 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24351 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24352 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24353 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24354 * string/Makefile [$(cross-compiling) = no]: Likewise.
24355
24356 * posix/Makefile ($(objpfx)globtest.out): Pass
24357 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24358 $(rtld-installed-name).
24359 * posix/globtest.sh (elf_objpfx): Remove variable.
24360 (rtld_installed_name): Likewise.
24361 (library_path): Likewise.
24362 (run_program_prefix): New variable. Use for running globtest
24363 binary.
24364
24365 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24366 Joseph Myers <joseph@codesourcery.com>
24367
24368 * Makeconfig (host-built-program-cmd): New variable.
24369 * elf/Makefile (tst-stackguard1-ARGS): Use
24370 $(host-built-program-cmd).
24371 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24372 (tst-spawn-ARGS): Likewise.
24373 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24374
24375 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24376 Jim Blandy <jimb@codesourcery.com>
24377
24378 * Makeconfig (run-via-rtld-prefix): New variable.
24379 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24380 (built-program-cmd): Likewise.
24381
24382 2012-10-22 Andreas Jaeger <aj@suse.de>
24383
24384 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24385 __O_RSYNC if it exists, otherwise to O_SYNC.
24386
24387 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24388 Joseph Myers <joseph@codesourcery.com>
24389
24390 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24391 /dev/null.
24392 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24393 from /dev/null
24394 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24395 /dev/null.
24396
24397 2012-10-22 Andreas Jaeger <aj@suse.de>
24398
24399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24400 Define always.
24401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24402
24403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24404 bits/fcntl-linux.h.
24405
24406 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24407 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24408
24409 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24410 to __O_LARGEFILE.
24411 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24412 to __O_LARGEFILE.
24413
24414 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24415 Joseph Myers <joseph@codesourcery.com>
24416
24417 * config.make.in (NM): New variable.
24418
24419 2012-10-21 Andreas Jaeger <aj@suse.de>
24420
24421 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24422 definitions and declarations that are provided by
24423 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24424
24425 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24426
24427 [BZ #14683]
24428 * elf/Makefile (tests-static): Add tst-leaks1-static.
24429 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24430 ($(objpfx)tst-leaks1-static): New rule.
24431 ($(objpfx)tst-leaks1-static-mem): Likewise.
24432 (tst-leaks1-static-ENV): New macro.
24433 * elf/dl-open.c (dl_open_worker): Check the main application
24434 only if SHARED is defined.
24435 * elf/tst-leaks1-static.c: New file.
24436
24437 2012-10-20 Andreas Jaeger <aj@suse.de>
24438
24439 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24440 generic values for Linux.
24441 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24442 and declarations that are provided by <bits/fcntl-linux.h> and
24443 include <bits/fcntl-linux.h>.
24444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24445 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24446
24447 2012-10-20 Roland McGrath <roland@hack.frob.com>
24448
24449 * io/fcntl.h: Move include of <bits/types.h> to the top and
24450 include it unconditionally.
24451
24452 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24453
24454 * wcsmbs/Makefile (tests-ifunc): New variable.
24455 (tests): Add $(tests-ifunc).
24456 * wcsmbs/test-wcschr-ifunc.c: New file.
24457 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24458 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24459 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24460 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24461 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24462
24463 * string/Makefile (tests-ifunc): New variable.
24464 (tests): Add $(tests-ifunc).
24465 * string/test-memccpy.c (TEST_NAME): New macro.
24466 * string/test-memchr.c (TEST_NAME): Likewise.
24467 * string/test-memcmp.c (TEST_NAME): Likewise.
24468 * string/test-memcpy.c (TEST_NAME): Likewise.
24469 * string/test-memmem.c (TEST_NAME): Likewise.
24470 * string/test-memmove.c (TEST_NAME): Likewise.
24471 * string/test-memset.c (TEST_NAME): Likewise.
24472 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24473 * string/test-stpcpy.c (TEST_NAME): Likewise.
24474 * string/test-stpncpy.c (TEST_NAME): Likewise.
24475 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24476 * string/test-strcasestr.c (TEST_NAME): Likewise.
24477 * string/test-strcat.c (TEST_NAME): Likewise.
24478 * string/test-strchr.c (TEST_NAME): Likewise.
24479 * string/test-strcmp.c(TEST_NAME): Likewise.
24480 * string/test-strcpy.c (TEST_NAME): Likewise.
24481 * string/test-strcspn.c (TEST_NAME): Likewise.
24482 * string/test-strlen.c (TEST_NAME): Likewise.
24483 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24484 * string/test-strncmp.c (TEST_NAME): Likewise.
24485 * string/test-strncpy.c (TEST_NAME): Likewise.
24486 * string/test-strnlen.c (TEST_NAME): Likewise.
24487 * string/test-strpbrk.c (TEST_NAME): Likewise.
24488 * string/test-strrchr.c (TEST_NAME): Likewise.
24489 * string/test-strspn.c (TEST_NAME): Likewise.
24490 * string/test-strstr.c (TEST_NAME): Likewise.
24491 * string/test-bcopy-ifunc.c: New file.
24492 * string/test-bzero-ifunc.c: Likewise.
24493 * string/test-memccpy-ifunc.c: Likewise.
24494 * string/test-memchr-ifunc.c: Likewise.
24495 * string/test-memcmp-ifunc.c: Likewise.
24496 * string/test-memcpy-ifunc.c: Likewise.
24497 * string/test-memmem-ifunc.c: Likewise.
24498 * string/test-memmove-ifunc.c: Likewise.
24499 * string/test-mempcpy-ifunc.c: Likewise.
24500 * string/test-memset-ifunc.c: Likewise.
24501 * string/test-rawmemchr-ifunc.c: Likewise.
24502 * string/test-stpcpy-ifunc.c: Likewise.
24503 * string/test-stpncpy-ifunc.c: Likewise.
24504 * string/test-strcasecmp-ifunc.c: Likewise.
24505 * string/test-strcasestr-ifunc.c: Likewise.
24506 * string/test-strcat-ifunc.c: Likewise.
24507 * string/test-strchr-ifunc.c: Likewise.
24508 * string/test-strchrnul-ifunc.c: Likewise.
24509 * string/test-strcmp-ifunc.c: Likewise.
24510 * string/test-strcpy-ifunc.c: Likewise.
24511 * string/test-strcspn-ifunc.c: Likewise.
24512 * string/test-strlen-ifunc.c: Likewise.
24513 * string/test-strncasecmp-ifunc.c: Likewise.
24514 * string/test-strncat-ifunc.c: Likewise.
24515 * string/test-strncmp-ifunc.c: Likewise.
24516 * string/test-strncpy-ifunc.c: Likewise.
24517 * string/test-strnlen-ifunc.c: Likewise.
24518 * string/test-strpbrk-ifunc.c: Likewise.
24519 * string/test-strrchr-ifunc.c: Likewise.
24520 * string/test-strspn-ifunc.c: Likewise.
24521 * string/test-strstr-ifunc.c: Likewise.
24522
24523 * debug/Makefile (tests-ifunc): New variable.
24524 (tests): Add $(tests-ifunc).
24525 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24526 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24527 * debug/test-stpcpy_chk-ifunc.c: New file.
24528 * debug/test-strcpy_chk-ifunc.c: Likewise.
24529
24530 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24531
24532 [BZ #13601]
24533 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24534 header is not read in.
24535
24536 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24537
24538 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24539 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24540 directly. Pass built executable to script as
24541 $(built-program-cmd).
24542 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24543 $testprogram without using LD_LIBRARY_PATH and $ldso.
24544
24545 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24546 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24547 $(rtld-installed-name).
24548 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24549 (rtld_installed_name): Likewise.
24550 (library_path): Likewise.
24551 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24552 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24553 $(run-program-prefix) to tst-tables.sh.
24554 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24555 it to run tst-table-from and tst-table-to.
24556 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24557 Pass it to tst-table.sh.
24558 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24559 $(run-program-prefix) to tst-gettext.sh.
24560 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24561 tst-translit.sh.
24562 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24563 tst-gettext2.sh.
24564 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24565 to run tst-gettext.
24566 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24567 to run tst-gettext2.
24568 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24569 to run tst-translit.
24570 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24571 $(run-program-prefix) to tst-mtrace.sh.
24572 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24573 to run tst-mtrace.
24574 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24575 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24576 $(rtld-installed-name).
24577 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24578 (rtld_installed_name): Likewise.
24579 (run_program_prefix): New variable. Use it to run wordexp-test.
24580
24581 * Makeconfig (ARCH): Remove all definitions.
24582 (machine): Likewise.
24583 [ARCH]: Remove conditional code.
24584 [!objdir]: Give error.
24585 [!objdir] (objpfx): Remove.
24586 [!objdir] (common-objpfx): Likewise.
24587 [!objdir] (common-objdir): Likewise.
24588 * configure.in (config_makefile): Remove. Hardcode Makefile in
24589 AC_CONFIG_FILES call.
24590 * configure: Regenerated.
24591
24592 [BZ #13888]
24593 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24594 or TMPDIR.
24595 (testout): Likewise.
24596
24597 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24598 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24599 $(rtld-installed-name).
24600 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24601 (rtld_installed_name): Likwise.
24602 (runit): Remove function.
24603 (run_getconf): New variable, Use it for running getconf binary.
24604
24605 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24606
24607 [BZ #14716]
24608 * string/test-memmem.c (check_result): New function.
24609 (do_one_test): Use it.
24610 (check1): New function.
24611 (test_main): Use it.
24612
24613 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24614
24615 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24616
24617 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24618
24619 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24620 (_G_LSEEK64): Likewise.
24621 (_G_MMAP64): Likewise.
24622 (_G_FSTAT64): Likewise.
24623 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24624 (_G_LSEEK64): Likewise.
24625 (_G_MMAP64): Likewise.
24626 (_G_FSTAT64): Likewise.
24627 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24628 unconditional. Call __mmap64 directly.
24629 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24630 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24631 __lseek64 directly.
24632 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24633 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24634 __mmap64 directly.
24635 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24636 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24637 __lseek64 directly.
24638 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24639 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24640 __lseek64 directly.
24641 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24642 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24643 __lseek64 directly.
24644 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24645 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24646 __fxstat64 directly.
24647 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24648 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24649 unconditional.
24650 (freopen64) [!_G_OPEN64]: Remove conditional code.
24651 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24652 unconditional.
24653 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24654 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24655 unconditional.
24656 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24657 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24658 unconditional.
24659 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24660 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24661 unconditional.
24662 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24663 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24664 unconditional.
24665 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24666 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24667 unconditional.
24668 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24669 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24670 unconditional.
24671 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24672
24673 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24674
24675 [BZ #12140]
24676 * manual/memory.texi (Malloc Tunable Parameters): Add note
24677 about free list pointers overwriting some perturb bytes.
24678 Wording suggested by Roland McGrath.
24679
24680 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24681
24682 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24683 (lgamma_test): Likewise.
24684 (tgamma_test): Likewise.
24685
24686 2012-10-16 Florian Weimer <fweimer@redhat.com>
24687
24688 [BZ #14700]
24689 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24690 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24691
24692 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24693
24694 * NEWS: Mention BZ #14716.
24695 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24696 when removing AVAILABLE1_USES_J macro.
24697
24698 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24699
24700 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24701 (__bswap_64): __uint64_t for unsigned 64-bit int.
24702
24703 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24704
24705 * include/string.h (memmem): Declare libc hidden alias.
24706 * string/memmem.c (memmem): Define libc hidden alias.
24707 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24708 __read, __close instead of open, read, close.
24709
24710 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24711
24712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24713 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24714 global and hidden.
24715 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24716 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24717 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24718 Likewise.
24719 (__rawmemchr_sse2): Likewise.
24720 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24721 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24722 (__strchr_sse2): Likewise.
24723 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24724 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24725 (__strcasecmp_sse2): Likewise.
24726 (__strncasecmp_sse2): Likewise.
24727 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24728 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24729 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24730 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24731 (__strrchr_sse2): Likewise.
24732 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24733 ifunc-impl-list.c.
24734 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24735 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24736 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24737 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24738 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24739 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24740 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24741 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24742 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24743 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24744 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24745 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24746 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24747 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24748 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24749 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24750 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24751 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24752 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24753 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24754 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24755 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24756 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24757 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24758 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24759 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24760 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24761 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24762 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24763 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24764
24765 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24766 global and hidden.
24767 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24768 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24769 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24770 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24771 Likewise.
24772 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24773 Likewise.
24774 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24775 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24776 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24777 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24778 ifunc-impl-list.c.
24779 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24780 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24781 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24782 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24783 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24784 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24785 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24786 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24787 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24788 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24789 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24790 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24791 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24792 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24793 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24794 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24795 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24796 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24797 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24798 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24799 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24800 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24801 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24802 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24803 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24804 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24805 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24806 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24807 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24808 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24809 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24810 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24811 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24812 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24813 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24814 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24815 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24816 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24817 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24818 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24819 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24820
24821 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24822 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24823 * include/ifunc-impl-list.h: New file.
24824 * misc/ifunc-impl-list.c: Likewise.
24825 * misc/Makefile (routines): Add ifunc-impl-list.
24826 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24827 * string/test-string.h: Include <ifunc-impl-list.h>.
24828 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24829 TEST_NAME]: New variables.
24830 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24831 are defined.
24832 (test_init): Call __libc_ifunc_impl_list to initialize
24833 func_list if TEST_IFUNC and TEST_NAME are defined.
24834
24835 * string/Makefile (strop-tests): Add bcopy and bzero.
24836 * string/test-bcopy.c: New file.
24837 * string/test-bzero.c: Likewise.
24838 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24839 defined.
24840 * string/test-memset.c: Support bzero test if TEST_BZERO is
24841 defined.
24842 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24843 __libc_memmove.
24844 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24845 __libc_memset.
24846 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24847 of memset.
24848
24849 2012-10-10 Joseph Myers <joseph@codesourcery.com>
24850
24851 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24852 * configure: Regenerated.
24853
24854 * Makeconfig (+link-static-before-libc): Don't include
24855 $(link-static-libc).
24856
24857 * libio/libio.h (_IO_pos_t): Remove.
24858
24859 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24860
24861 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24862 McGrath.
24863
24864 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24865
24866 * crypt/crypt-entry.c: Include fips-private.h.
24867 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24868 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24869 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24870 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24871
24872 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24873
24874 * crypt/crypt-private.h: Include stdbool.h.
24875 (_ufc_setup_salt_r): Return bool.
24876 * crypt/crypt-entry.c: Include errno.h.
24877 (__crypt_r): Return NULL with EINVAL for bad salt.
24878 * crypt/crypt_util.c (bad_for_salt): New.
24879 (_ufc_setup_salt_r): Check that salt is long enough and within
24880 the specified alphabet.
24881 * crypt/badsalttest.c: New file.
24882 * crypt/Makefile (tests): Add it.
24883 ($(objpfx)badsalttest): New.
24884
24885 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24886
24887 * NEWS: Add entry for BZ #14602.
24888
24889 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24890
24891 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24892 type-generic.
24893 * math/libm-test.inc: Update comment listing what functions and
24894 macros are tested.
24895 (isgreater_test): New function.
24896 (isgreaterequal_test): Likewise.
24897 (isless_test): Likewise.
24898 (islessequal_test): Likewise.
24899 (islessgreater_test): Likewise.
24900 (isunordered_test): Likewise.
24901 (main): Call the new functions.
24902
24903 2012-10-09 Roland McGrath <roland@hack.frob.com>
24904
24905 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24906 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24907 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24908 * sysdeps/i386/configure: Regenerated.
24909 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24910 * sysdeps/mach/configure: Regenerated.
24911 * sysdeps/mach/hurd/configure: Regenerated.
24912 * sysdeps/powerpc/configure: Regenerated.
24913 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24914 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24915 * sysdeps/s390/s390-32/configure: Regenerated.
24916 * sysdeps/s390/s390-64/configure: Regenerated.
24917 * sysdeps/sh/configure: Regenerated.
24918 * sysdeps/sparc/configure: Regenerated.
24919 * sysdeps/unix/sysv/linux/configure: Regenerated.
24920 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24921 * sysdeps/x86_64/configure: Regenerated.
24922
24923 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24924 defined. Don't check if MAP is NULL.
24925
24926 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24927
24928 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24929 (_G_stat64): Likewise.
24930 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24931 (_G_stat64): Likewise.
24932 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24933 instead of struct _G_stat64.
24934 * libio/fileops.c (mmap_remap_check): Likewise.
24935 (decide_maybe_mmap): Likewise.
24936 (_IO_new_file_seekoff): Likewise.
24937 (_IO_file_stat): Likewise.
24938 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24939 _G_off64_t.
24940 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24941 instead of struct _G_stat64.
24942 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24943
24944 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24945
24946 [BZ #14602]
24947 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24948 Replace with ...
24949 (CHECK_EOL): New macro.
24950 (two_way_short_needle): Check beginning of haystack for EOL. Use
24951 CHECK_EOL.
24952 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24953 Replace with CHECK_EOL.
24954 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24955 Replace with CHECK_EOL.
24956
24957 2012-10-08 Joseph Myers <joseph@codesourcery.com>
24958
24959 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24960 type-generic.
24961 * math/libm-test.inc: Update comment listing what functions and
24962 macros are tested.
24963 (finite_test): New function.
24964 (isinf_test): Likewise.
24965 (isnan_test): Likewise.
24966 (fpclassify_test): Test subnormal input.
24967 (isfinite_test): Likewise.
24968 (isnormal_test): Likewise.
24969 (main): Call the new functions.
24970
24971 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24972
24973 [BZ #14660]
24974 * Makerules (%.dynsym): Force C locale when running
24975 $(OBJDUMP) --dynamic-syms.
24976
24977 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24978
24979 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24980 <stdint.h>.
24981
24982 2012-10-06 David S. Miller <davem@davemloft.net>
24983
24984 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24985 upper 32-bits of the length value in %o2 since we use branch-on-register
24986 tests which consider the entire 64-bit register.
24987
24988 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24989
24990 * string/test-strstr.c (check2): Add a test for page boundary.
24991
24992 2012-10-05 David S. Miller <davem@davemloft.net>
24993
24994 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24995 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24996 file.
24997 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24998 sysdep_routines.
24999 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25000 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25001 and bzero when HWCAP_SPARC_CRYPTO is present.
25002
25003 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25004
25005 [BZ #14602]
25006 * string/test-strstr.c (check2): New function.
25007 (test_main): Call check2.
25008
25009 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25010 and bug-strchr1.
25011 * string/bug-strcasestr1.c (do_test): Moved to ...
25012 * string/test-strcasestr.c (check1): Here. New function.
25013 (do_one_test): Break out result checking code into ...
25014 (check_result): This. New function.
25015 (do_one_test): Call check_result.
25016 (test_main): Call check1.
25017 * string/bug-strchr1.c (do_test): Moved to ...
25018 * string/test-strchr.c (check1): Here. New function.
25019 (do_one_test): Break out result checking code into ...
25020 (check_result): This. New function.
25021 (do_one_test): Call check_result.
25022 (test_main): Call check1.
25023 * string/bug-strstr1.c (main): Moved to ...
25024 * string/test-strstr.c (check1): Here. New function.
25025 (do_one_test): Break out result checking code into ...
25026 (check_result): This. New function.
25027 (do_one_test): Call check_result.
25028 (test_main): Call check1.
25029 * string/bug-strcasestr1.c: Removed.
25030 * string/bug-strchr1.c: Likewise.
25031 * string/bug-strstr1.c: Likewise.
25032
25033 * elf/Makefile (dl-routines): Add hwcaps.
25034 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25035 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25036 (_dl_important_hwcaps): Moved to ...
25037 * elf/dl-hwcaps.c: Here. New file.
25038 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25039
25040 [BZ #14557]
25041 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25042 if IS_IN_rtld isn't defined.
25043
25044 * elf/dl-support.c (_dl_sysinfo_map): New.
25045 Include "get-dynamic-info.h" and "setup-vdso.h".
25046 (_dl_non_dynamic_init): Call setup_vdso.
25047 * elf/dynamic-link.h: Don't include <assert.h>.
25048 (elf_get_dynamic_info): Moved to ...
25049 * elf/get-dynamic-info.h: Here. New file.
25050 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25051 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25052 * elf/setup-vdso.h: Here. New file.
25053 * elf/rtld.c: Include "setup-vdso.h".
25054 (dl_main): Call setup_vdso.
25055
25056 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25057
25058 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25059 creal in comment listing functions tested. List finite, isinf,
25060 isnan, isless, islessequal, isgreater, isgreaterequal,
25061 islessgreater, isunordered, lgamma_r and pow10 as functions and
25062 macros not tested. Mention which functions not tested are aliases
25063 for other functions. Fix typo. Note that signs of NaNs are not
25064 tested.
25065
25066 * scripts/config.guess: Update from config.git.
25067 * scripts/config.sub: Likewise.
25068
25069 2012-10-04 Roland McGrath <roland@hack.frob.com>
25070
25071 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25072 * misc/madvise.c (madvise): Renamed to __madvise.
25073 Make madvise a weak alias.
25074 * include/sys/mman.h: Declare __madvise.
25075 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25076 * sysdeps/unix/syscalls.list
25077 (madvise): Make __madvise the strong name, and madvise a weak alias.
25078 * sysdeps/unix/sysv/linux/syscalls.list
25079 (madvise, mmap): Remove redundant entries.
25080 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25081 * malloc/malloc.c (mtrim): Likewise.
25082 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25083
25084 2012-10-03 Roland McGrath <roland@hack.frob.com>
25085
25086 * sysdeps/mach/hurd/dl-cache.c: File removed.
25087 * config.h.in (USE_LDCONFIG): New #undef.
25088 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25089 * configure: Regenerated.
25090 * elf/Makefile (dl-routines): Add dl-cache only under
25091 [$(use-ldconfig) = yes].
25092 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25093 cache on [USE_LDCONFIG].
25094 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25095 [USE_LDCONFIG].
25096 * elf/rtld.c (dl_main): Likewise.
25097
25098 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25099
25100 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25101 _SC_LEVEL4_CACHE_LINESIZE.
25102
25103 2012-10-03 Roland McGrath <roland@hack.frob.com>
25104
25105 * sysdeps/unix/bsd/confstr.h: File removed.
25106
25107 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25108
25109 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25110 sys/sdt-config.h.
25111
25112 2012-10-02 Roland McGrath <roland@hack.frob.com>
25113
25114 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25115 Make 'mapoff' field ElfW(Off) rather than off_t.
25116
25117 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25118
25119 * nscd/Makefile: Remove nscd-cflags and all its users.
25120 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25121 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25122
25123 [BZ #10631]
25124 * malloc.c (malloc_printerr): Clarify error message.
25125
25126 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25127
25128 [BZ #14648]
25129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25130 Set bit_FMA_Usable if FMA is supported.
25131 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25132 macro.
25133 (bit_FMA4_Usable): Updated.
25134 (index_FMA_Usable): New macro.
25135 (CPUID_FMA): Likewise
25136 (HAS_FMA): Defined with bit_FMA_Usable.
25137
25138 2012-10-01 Roland McGrath <roland@hack.frob.com>
25139
25140 * bits/types.h (__swblk_t): Type removed.
25141 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25142 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25144 (__SWBLK_T_TYPE): Likewise.
25145 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25146 (__SWBLK_T_TYPE): Likewise.
25147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25148 (__SWBLK_T_TYPE): Likewise.
25149 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25150 (__SWBLK_T_TYPE): Likewise.
25151
25152 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25153 Honza Horak <hhorak@redhat.com>
25154
25155 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25156 (xdr_mapname): Use YPMAXMAP as maxsize.
25157 (xdr_peername): Use YPMAXPEER as maxsize.
25158 (xdr_keydat): Use YPAXRECORD as maxsize.
25159 (xdr_valdat): Use YPMAXRECORD as maxsize.
25160
25161 2012-10-01 Roland McGrath <roland@hack.frob.com>
25162
25163 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25164
25165 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25166 * csu/init-first.c: ... here.
25167 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25168 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25169 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25170 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25171 * sysdeps/i386/init-first.c: File removed.
25172 * sysdeps/sh/init-first.c: File removed.
25173
25174 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25175
25176 [BZ #14645]
25177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25178 if x * y might underflow to zero and z is zero.
25179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25180 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25181 * math/libm-test.inc (min_subnorm_value): New variable.
25182 (fma_test): Add more tests.
25183 (fma_test_towardzero): Likewise.
25184 (fma_test_downward): Likewise
25185 (fma_test_upward): Likewise.
25186 (initialize): Set min_subnorm_value.
25187
25188 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25189
25190 [BZ #14638]
25191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25192 0 + 0.
25193 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25194 mode for addition resulting in exact zero.
25195 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25197 exact 0 + 0.
25198 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25200 * math/libm-test.inc (fma_test): Add more tests.
25201 (fma_test_towardzero): New function.
25202 (fma_test_downward): Likewise.
25203 (fma_test_upward): Likewise.
25204 (main): Call the new functions.
25205
25206 2012-09-28 David S. Miller <davem@davemloft.net>
25207
25208 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25209
25210 2012-09-28 Roland McGrath <roland@hack.frob.com>
25211
25212 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25213 instead of SIGALRM.
25214
25215 * sysdeps/gnu/_G_config.h: Moved to ...
25216 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25217 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25218 * sysdeps/generic/_G_config.h: ... here.
25219
25220 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25221
25222 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25223
25224 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25225 Conditionalize target on [libnss_test1.so-version].
25226
25227 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25228
25229 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25230 (elfobjdir): Move out of conditionals.
25231
25232 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25233 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25234 (__nss_lookup_function): Conditionalize label remove_from_tree on
25235 [!DO_STATIC_NSS || SHARED], matching its only use.
25236
25237 2012-09-28 David S. Miller <davem@davemloft.net>
25238
25239 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25240 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25241 file.
25242 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25243 sysdep_routines.
25244 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25246 when HWCAP_SPARC_CRYPTO is present.
25247
25248 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25249
25250 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25251
25252 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25253
25254 [BZ #6530]
25255 * stdio-common/vfprintf.c (process_string_arg): Revert
25256 2000-07-22 change.
25257
25258 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25259
25260 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25261 for testcase.
25262 * stdio-common/tst-sprintf.c: Include <locale.h>
25263 (main): Test sprintf's handling of incomplete multibyte
25264 characters.
25265
25266 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25267
25268 * elf/dl-runtime.c (VERSYMIDX): Removed.
25269 * elf/dl-version.c (VERSYMIDX): Likewise.
25270 * elf/do-rel.h (VERSYMIDX): Likewise.
25271 (VALIDX): Likewise.
25272 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25273 * elf/rtld.c (VALIDX): Likewise.
25274 (ADDRIDX): Likewise.
25275 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25276 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25277 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25278 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25279 (VALIDX): Likewise.
25280 (ADDRIDX): Likewise.
25281
25282 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25283
25284 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25285
25286 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25287
25288 [BZ #11438]
25289 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25290 to global scope.
25291 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25292 addresses are in the same scope as 192.0.2/24.
25293 * posix/gai.conf: Document new scope table defaults.
25294
25295 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25296
25297 [BZ #5298]
25298 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25299 for ftell. Compute offsets from write pointers instead.
25300 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25301
25302 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25303
25304 [BZ #14543]
25305 * libio/Makefile (tests): New test case tst-fseek.
25306 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25307 combination works in wide mode.
25308 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25309 state when the external buffer state changes.
25310
25311 2012-09-27 David S. Miller <davem@davemloft.net>
25312
25313 [BZ #14376]
25314 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25315 pass reloc->r_addend in as the 'high' argument to
25316 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25317
25318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25319
25320 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25321
25322 * rt/tst-aio2.c: Include <pthread.h>.
25323 * rt/tst-aio3.c: Likewise.
25324
25325 2012-09-27 Steve Ellcey <sellcey@mips.com>
25326
25327 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25328
25329 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25330
25331 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25332 contents on [SHARED].
25333
25334 2012-09-26 Marek Polacek <polacek@redhat.com>
25335
25336 [BZ #14530]
25337 [BZ #13741]
25338 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25339 for C++ and GCC <4.3 as well as for non GCC compilers.
25340
25341 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25342
25343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25344
25345 2012-09-25 Roland McGrath <roland@hack.frob.com>
25346
25347 * Makefile.in (all, install): Declare with .PHONY.
25348 Reported by Michael Hope <michael.hope@linaro.org>.
25349
25350 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25351
25352 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25353 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25354 system header.
25355 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25356 Likewise.
25357 (sydep_routines): Add the new and the internal functions.
25358 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25359 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25361 (GLIBC_2.17): Add the new function.
25362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25363 (GLIBC_2.17): Likewise.
25364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25365 (GLIBC_2.17): Likewise.
25366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25367 (GLIBC_2.17): Likewise.
25368 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25369
25370 2012-09-25 Alan Modra <amodra@gmail.com>
25371
25372 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25373 Add release barrier before setting once_control to say
25374 initialisation is done. Add hints on lwarx. Use macro in
25375 place of isync.
25376 (clear_once_control): Add release barrier.
25377
25378 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25379
25380 [BZ #13629]
25381 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25382 specially.
25383 * math/s_clog10.c (__clog10): Likewise.
25384 * math/s_clog10f.c (__clog10f): Likewise.
25385 * math/s_clog10l.c (__clog10l): Likewise.
25386 * math/s_clogf.c (__clogf): Likewise.
25387 * math/s_clogl.c (__clogl): Likewise.
25388 * math/Makefile (libm-calls): Add x2y2m1.
25389 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25390 (__x2y2m1): Likewise.
25391 (__x2y2m1l): Likewise.
25392 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25393 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25394 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25395 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25396 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25397 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25398 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25399 * sysdeps/i386/fpu/libm-test-ulps: Update.
25400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25401
25402 [BZ #14621]
25403 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25404 int as type of variable DEPTH.
25405 (glob): Use size_t instead of int as type of variables NEWCOUNT
25406 and OLD_PATHC.
25407
25408 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25409
25410 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25411 Add s_sincosf-sse2.
25412 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25413 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25414 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25415 macros for using routine as __sincosf_ia32.
25416 Use macro for function declaration and weak_alias.
25417 * sysdeps/i386/fpu/libm-test-ulps: Update.
25418
25419 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25421
25422 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25423 subnormal argument.
25424 * math/s_cexpf.c (__cexpf): Likewise.
25425 * math/s_csinf.c (__csinf): Likewise.
25426 * math/s_csinhf.c (__csinhf): Likewise.
25427 * math/s_ctanf.c (__ctanf): Likewise.
25428 * math/s_ctanhf.c (__ctanhf): Likewise.
25429 * math/s_ccosh.c (__ccoshf): Likewise.
25430 * math/s_cexp.c (__cexpl): Likewise.
25431 * math/s_csin.c (__csin): Likewise.
25432 * math/s_csinh.c (__csinh): Likewise.
25433 * math/s_ctan.c (__ctan): Likewise.
25434 * math/s_ctanh.c (ctanh): Likewise.
25435 * math/s_ccoshl.c (__ccoshl): Likewise.
25436 * math/s_cexpl.c (__cexpl): Likewise.
25437 * math/s_csinl.c (__csinl): Likewise.
25438 * math/s_csinhl.c (__csinhl): Likewise.
25439 * math/s_ctanl.c (__ctanl): Likewise.
25440 * math/s_ctanhl.c (__ctanhl): Likewise.
25441
25442 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25443
25444 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25445 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25446 (_IO_off_t): Define to __off_t, not _G_off_t.
25447 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25448 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25449 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25450 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25451 type of __dummy and __dummy2 fields.
25452 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25453 (_G_ssize_t): Likewise.
25454 (_G_off_t): Likewise.
25455 (_G_pid_t): Likewise.
25456 (_G_uid_t): Likewise.
25457 (_G_wchar_t): Likewise.
25458 (_G_wint_t): Likewise.
25459 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25460 (_G_ssize_t): Likewise.
25461 (_G_off_t): Likewise.
25462 (_G_pid_t): Likewise.
25463 (_G_uid_t): Likewise.
25464 (_G_wchar_t): Likewise.
25465 (_G_wint_t): Likewise.
25466 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25467 (_G_ssize_t): Likewise.
25468 (_G_off_t): Likewise.
25469 (_G_pid_t): Likewise.
25470 (_G_uid_t): Likewise.
25471 (_G_wchar_t): Likewise.
25472 (_G_wint_t): Likewise.
25473
25474 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25475
25476 * malloc/arena.c: Include malloc-sysdep.h.
25477 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25478 is sufficient to shrink the heap or an unmap is needed.
25479 * sysdeps/generic/malloc-sysdep.h: New file. Define
25480 new function check_may_shrink_heap.
25481 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25482 new function check_may_shrink_heap.
25483
25484 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25485
25486 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25487 comments.
25488
25489 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25490
25491 * catgets/test-gencat.sh: Add "set -e".
25492 * elf/tst-pathopt.sh: Likewise.
25493 * grp/tst_fgetgrent.sh: Likewise.
25494 * iconvdata/run-iconv-test.sh: Likewise.
25495 * intl/tst-gettext.sh: Likewise.
25496 * intl/tst-gettext2.sh: Likewise.
25497 * intl/tst-gettext4.sh: Likewise.
25498 * intl/tst-gettext6.sh: Likewise.
25499 * intl/tst-translit.sh: Likewise.
25500 * io/ftwtest-sh: Likewise.
25501 * libio/test-freopen.sh: Likewise.
25502 * malloc/tst-mtrace.sh: Likewise.
25503 * posix/globtest.sh: Likewise.
25504 * posix/tst-getconf.sh: Likewise.
25505 * posix/wordexp-tst.sh: Likewise.
25506 * stdio-common/tst-printf.sh: Likewise.
25507 * stdio-common/tst-unbputc.sh: Likewise.
25508 * stdlib/tst-fmtmsg.sh: Likewise.
25509 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25510 * catgets/Makefile: Do not specify -e option when running
25511 testsuite shell scripts.
25512 * elf/Makefile: Likewise.
25513 * grp/Makefile: Likewise.
25514 * iconvdata/Makefile: Likewise.
25515 * intl/Makefile: Likewise.
25516 * io/Makefile: Likewise.
25517 * libio/Makefile: Likewise.
25518 * malloc/Makefile: Likewise.
25519 * posix/Makefile: Likewise.
25520 * stdio-common/Makefile: Likewise.
25521 * stdlib/Makefile: Likewise.
25522 * sysdeps/x86_64/Makefile: Likewise.
25523
25524 * io/ftwtest-sh: Add copyright header.
25525 * posix/globtest.sh: Likewise.
25526 * posix/tst-getconf.sh: Likewise.
25527 * posix/wordexp-tst.sh: Likewise.
25528 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25529
25530 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25531
25532 [BZ #13679]
25533 * Makeconfig (+link): Defined as $(+link-static) if
25534 $(build-shared) isn't yes.
25535 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25536 isn't yes.
25537 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25538
25539 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25540
25541 [BZ #14562]
25542 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25543 new chunk size with MALLOC_ALIGN_MASK.
25544
25545 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25546
25547 [BZ #5044]
25548 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25549 <rounding-mode.h>.
25550 (__printf_fphex): Determine rounding using get_rounding_mode and
25551 round_away.
25552 * stdio-common/tst-printf-round.c (struct hex_test): New
25553 structure.
25554 (hex_tests): New variable.
25555 (test_hex_in_one_mode): New function.
25556 (do_test): Also run tests for hex float output.
25557
25558 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25559
25560 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25561 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25562 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25563 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25564 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25565 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25566 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25567 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25568
25569 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25570
25571 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25572 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25573 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25574 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25575
25576 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25577
25578 [BZ #14579]
25579 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25580 mode only.
25581 * elf/tst-rtld-load-self.sh: New test.
25582 * elf/Makefile: Run it.
25583
25584 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25585
25586 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25587 (tst-writev-ENV): Remove.
25588 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25589
25590 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25591
25592 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25593
25594 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25595
25596 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25597 unconditional.
25598 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25599 Likewise.
25600 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25601 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25602 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25603 Likewise.
25604
25605 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25606
25607 [BZ #14587]
25608 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25609 * config.make.in (have-cpp-asm-debuginfo): Removed.
25610 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25611 * configure: Regenerated.
25612
25613 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25614
25615 [BZ #5044]
25616 * stdio-common/printf_fp.c: Include <stdbool.h> and
25617 <rounding-mode.h>.
25618 (___printf_fp): Determine rounding using get_rounding_mode and
25619 round_away.
25620 * stdio-common/tst-printf-round.c: New file.
25621 * stdio-common/Makefile (tests): Add tst-printf-round.
25622 (link-libm): New variable.
25623 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25624
25625 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25626
25627 [BZ #14576]
25628 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25629 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25630 Likewise.
25631 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25632 Likewise.
25633
25634 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25635
25636 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25637 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25638 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25639 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25640
25641 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25642
25643 [BZ #14518]
25644 * include/rounding-mode.h: New file.
25645 * sysdeps/generic/get-rounding-mode.h: Likewise.
25646 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25647 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25648 (MAX_VALUE): New macro.
25649 (MIN_VALUE): Likewise.
25650 (overflow_value): New function.
25651 (underflow_value): Likewise.
25652 (round_and_return): Use overflow_value and underflow_value to
25653 determine return values in overflow and underflow cases. Use
25654 round_away to determine rounding depending on rounding mode.
25655 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25656 determine return values in overflow and underflow cases.
25657 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25658 (struct test_results): New structure.
25659 (struct test): Use struct test_results to store expected results
25660 for all rounding modes.
25661 (TEST): Include expected results for all rounding modes.
25662 (test_in_one_mode): New function.
25663 (do_test): Use test_in_one_mode to compute and check results.
25664 Check results for all rounding modes.
25665 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25666 $(link-libm).
25667
25668 2012-12-09 Allan McRae <allan@archlinux.org>
25669
25670 * sysdeps/i386/fpu/libm-test-ulps: Update
25671
25672 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25673
25674 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25675 (_G_int32_t): Likewise.
25676 (_G_uint16_t): Likewise.
25677 (_G_uint32_t): Likewise.
25678 (_G_HAVE_BOOL): Likewise.
25679 (_G_HAVE_ATEXIT): Likewise.
25680 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25681 (_G_HAVE_IO_FILE_OPEN): Likewise.
25682 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25683 (_G_int32_t): Likewise.
25684 (_G_uint16_t): Likewise.
25685 (_G_uint32_t): Likewise.
25686 (_G_HAVE_BOOL): Likewise.
25687 (_G_HAVE_ATEXIT): Likewise.
25688 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25689 (_G_HAVE_IO_FILE_OPEN): Likewise.
25690 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25691 (_G_int32_t): Likewise.
25692 (_G_uint16_t): Likewise.
25693 (_G_uint32_t): Likewise.
25694 (_G_HAVE_BOOL): Likewise.
25695 (_G_HAVE_ATEXIT): Likewise.
25696 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25697 (_G_HAVE_IO_FILE_OPEN): Likewise.
25698
25699 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25700
25701 * csu/libc-tls.c: Update copyright years.
25702
25703 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25704
25705 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25706 [!_G_USING_THUNKS]: Remove conditional code.
25707 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25708 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25709
25710 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25711 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25712 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25713 (_G_VTABLE_LABEL_PREFIX): Likewise.
25714 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25715 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25716 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25717 (_G_VTABLE_LABEL_PREFIX): Likewise.
25718 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25719 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25720 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25721 (_G_VTABLE_LABEL_PREFIX): Likewise.
25722 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25723
25724 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25725
25726 * libio/Makefile: Include ../Makeconfig before tests.
25727 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25728 only if $(build-shared) is yes.
25729
25730 * iconv/gconv_db.c: Update copyright years.
25731
25732 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25733
25734 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25735 unwind info if defined PIC. Fix special cases description.
25736 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25737
25738 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25739 DP_HI_MASK entry.
25740 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25741
25742 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25743
25744 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25745
25746 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25747 is NULL.
25748
25749 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25750 (LDLIBS-tst-chk4): This.
25751 (LDFLAGS-tst-chk5): Renamed to ...
25752 (LDLIBS-tst-chk5): This.
25753 (LDFLAGS-tst-chk6): Renamed to ...
25754 (LDLIBS-tst-chk6): This.
25755 (LDFLAGS-tst-lfschk4): Renamed to ...
25756 (LDLIBS-tst-lfschk4): This.
25757 (LDFLAGS-tst-lfschk5): Renamed to ...
25758 (LDLIBS-tst-lfschk5): This.
25759 (LDFLAGS-tst-lfschk6): Renamed to ...
25760 (LDLIBS-tst-lfschk6): This.
25761
25762 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25763 on $(common-objpfx)soversions.mk.
25764
25765 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25766
25767 [BZ #10014]
25768 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25769 example host name.
25770
25771 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25772
25773 * malloc/arena.c (arena_get_retry): New function that gets
25774 another arena for the caller to try its request on.
25775 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25776 current arena cannot fulfill the request.
25777 (__libc_memalign): Likewise.
25778 (__libc_memalign): Likewise.
25779 (__libc_pvalloc): Likewise.
25780 (__libc_calloc): Likewise.
25781
25782 2012-09-05 John Tobey <john.tobey@gmail.com>
25783
25784 [BZ #13542]
25785 * manual/arith.texi (Operations on Complex): Fix description
25786 of carg branch cut.
25787
25788 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25789
25790 [BZ #10014]
25791 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25792 host name.
25793
25794 [BZ #10038]
25795 * manual/memory.texi (Memory): Make order of menu items match
25796 order of sections.
25797
25798 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25799
25800 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25801 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25802 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25803
25804 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25805
25806 * csu/libc-tls.c (static_dtv): Renamed to ...
25807 (_dl_static_dtv): This. Make it global.
25808 (_dl_initial_dtv): Removed.
25809 (__libc_setup_tls): Updated.
25810 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25811 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25812 DL_INITIAL_DTV.
25813
25814 2012-09-06 Petr Machata <pmachata@redhat.com>
25815
25816 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25817 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25818 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25819 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25820
25821 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25822
25823 [BZ #14545]
25824 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25825 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25826 freeing dtv[-1].
25827
25828 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25829
25830 [BZ #14544]
25831 * Makeconfig (link-static-before-libc): Replace $(+prector)
25832 with $(+prectorT).
25833 (link-static-after-libc): Replace $(+postctor) with
25834 $(+postctorT).
25835 (link-bounded): Replace $(+prector)/$(+postctor) with
25836 $(+prectorT)/$(+postctorT).
25837 (+prectorT): New macro.
25838 (+postctorT): Likewise.
25839
25840 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25841
25842 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25843 (round_str): Handle values above the maximum for IBM long double
25844 as inexact.
25845 * stdlib/tst-strtod-round.c (tests): Regenerated.
25846
25847 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25848
25849 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25850 assembler flag.
25851 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25852 zarch_nohighgprs around the zarch optimized routines.
25853 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25854 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25855 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25856 for zarch.
25857
25858 2012-09-05 David S. Miller <davem@davemloft.net>
25859
25860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25861
25862 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25863 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25864 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25865 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25866 entries.
25867
25868 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25869
25870 * malloc/arena.c: Fold copyright years.
25871 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25872
25873 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25874
25875 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25876
25877 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25878
25879 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25880
25881 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25882
25883 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25884 change internal state upon failure.
25885
25886 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25887
25888 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25889 * malloc/memusage.c (mmap): Likewise.
25890 (mmap64, mremap): Likewise. Adjust name in comment.
25891
25892 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25893
25894 * libio/fileops.c: Fix typos in comments.
25895 * libio/oldfileops.c: Likewise.
25896 * libio/wfileops.c: Likewise.
25897
25898 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25899
25900 [BZ #1349]
25901 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25902 (tst-malloc-usable-ENV): Set environment for test case.
25903 * malloc/hooks.c (malloc_check_get_size): New function to get
25904 requested size.
25905 * malloc/malloc.c (musable): Use malloc_check_get_size.
25906 * malloc/tst-malloc-usable.c: New test case.
25907
25908 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25909
25910 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25911
25912 2012-09-05 Allan McRae <allan@archlinux.org>
25913
25914 [BZ #13966]
25915 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25916 determine header location.
25917 * configure: Regenerated.
25918
25919 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25920
25921 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25922 float format.
25923 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25924 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25925 format.
25926 (test): Regenerate.
25927
25928 2012-09-04 David S. Miller <davem@davemloft.net>
25929
25930 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25931 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25932 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25933
25934 2012-09-04 Florian Weimer <fweimer@redhat.com>
25935
25936 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25937 failures.
25938
25939 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25940
25941 2012-09-04 Joseph Myers <joseph@codesourcery.com>
25942
25943 [BZ #9914]
25944 * libio/iogetdelim.c: Include <limits.h>.
25945 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25946 + len + 1 would overflow.
25947
25948 2012-09-03 Andreas Jaeger <aj@suse.de>
25949
25950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25951 * sysdeps/i386/fpu/libm-test-ulps: Update.
25952
25953 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25954
25955 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25956 Add s_sinf-sse2, s_conf-sse2.
25957
25958 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25959 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25960 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25961 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25962
25963 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25964 for using routine as __sinf_ia32.
25965 Use macro for function declaration and weak_alias.
25966 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25967 for using routine as __cosf_ia32.
25968 Use macro for function declaration and weak_alias.
25969
25970 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25971 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25972
25973 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25974 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25976
25977 * math/libm-test.inc (cos_test): Add more test cases.
25978 (sin_test): Likewise.
25979 (sincos_test): Likewise.
25980
25981 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25982
25983 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25984 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25985 hidden.
25986 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25987
25988 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25989
25990 [BZ #14538]
25991 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25992 first element of the GOT.
25993 (elf_machine_load_address): Return the difference between
25994 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25995
25996 2012-09-01 Allan McRae <allan@archlinux.org>
25997
25998 [BZ #13412]
25999 * configure.in (AWK): Require gawk version 3.0 or later.
26000 * configure: Regenerated.
26001
26002 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26003
26004 * sysdeps/unix/sysv/linux/kernel-features.h
26005 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26006 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26007 [__NR_clock_getres]: Make code unconditional.
26008 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26009 (clock_getcpuclockid): Remove code left unreachable by removal of
26010 conditionals.
26011 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26012 code unconditional.
26013 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26014 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26015 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26016 Make code unconditional.
26017 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26018 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26019 * sysdeps/unix/sysv/linux/clock_settime.c
26020 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26021 conditional code.
26022 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26023 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26024
26025 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26026
26027 [BZ #14476]
26028 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26029 scripts/test-installation.pl.
26030
26031 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26032 and $ld_so_version if it is set.
26033
26034 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26035
26036 [BZ #14516]
26037 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26038 failure if reading from procfs failed.
26039 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26040
26041 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26042
26043 * sysdeps/unix/sysv/linux/kernel-features.h
26044 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26045 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26046 Remove conditional code.
26047 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26048 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26049 Remove conditional code.
26050 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26051 * sysdeps/unix/sysv/linux/i386/fxstat.c
26052 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26053 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26054 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26055 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26056 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26057 * sysdeps/unix/sysv/linux/i386/lxstat.c
26058 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26059 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26060 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26061 Remove conditional code.
26062 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26063 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26064 Remove conditional code.
26065 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26066 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26067 <kernel-features.h>.
26068 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26069 Remove.
26070 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26071 Remove conditional code.
26072 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26073 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26074 Remove conditional.
26075
26076 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26077
26078 [BZ #5400]
26079 * NEWS: Add fixed bug number.
26080
26081 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26082
26083 [BZ #14519]
26084 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26085 underflowing exponent in case of negative sign.
26086 * stdlib/tst-strtod-round-data: Add more tests.
26087 * stdlib/tst-strtod-round.c (tests): Regenerated.
26088
26089 [BZ #3479]
26090 * stdlib/strtod_l.c (NDIG): Remove.
26091 (HEXNDIG): Likewise.
26092 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26093 smallest representable value.
26094 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26095 lie within an exact representation of 1/2 ulp of the result.
26096 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26097 unconditionally.
26098 (TENS_P9_IDX): Define unconditionally.
26099 (TENS_P9_SIZE): Likewise.
26100 (TENS_P10_IDX): Likewise.
26101 (TENS_P10_SIZE): Likewise.
26102 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26103 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26104 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26105 entries for 10^2^13 and 10^2^14.
26106 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26107 (TENS_P13_IDX): Define.
26108 (TENS_P13_SIZE): Likewise.
26109 (TENS_P14_IDX): Likewise.
26110 (TENS_P14_SIZE): Likewise.
26111 (_fpioconst_pow10): Change array size to
26112 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26113 unconditional.
26114 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26115 1024]: Add entries for 10^2^13 and 10^2^14.
26116 [LAST_POW10 > _LAST_POW10]: Remove #error.
26117 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26118 (_fpioconst_pow10): Change array size to
26119 FPIOCONST_POW10_ARRAY_SIZE.
26120 * stdlib/gen-fpioconst.c: New file.
26121 * stdlib/gen-tst-strtod-round.c: Likewise.
26122 * stdlib/tst-strtod-round-data: Likewise.
26123 * stdlib/tst-strtod-round.c: Likewise.
26124 * stdlib/Makefile (tests): Add tst-strtod-round.
26125
26126 [BZ #14459]
26127 * stdlib/strtod_l.c: Include <stdint.h>.
26128 (NDEBUG): Do not define.
26129 (round_and_return): Change EXPONENT parameter to type intmax_t.
26130 Rearrange calculations to avoid internal overflow possibilities.
26131 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26132 Rearrange calculations to avoid internal overflow possibilities.
26133 Assert that number fits inside MPNSIZE limbs.
26134 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26135 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26136 calculations and add assertions to avoid internal overflow
26137 possibilities. Add casts to avoid signed/unsigned operations.
26138 * stdlib/tst-strtod-overflow.c: New file.
26139 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26140
26141 2012-08-25 Marek Polacek <polacek@redhat.com>
26142
26143 * time/time.h: Fix some typos in comments.
26144
26145 2012-08-23 Roland McGrath <roland@hack.frob.com>
26146
26147 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26148 * posix/tst-rfc3484-2.c: Likewise.
26149 * posix/tst-rfc3484-3.c: Likewise.
26150
26151 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26152
26153 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26154 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26155
26156 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26157
26158 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26159 #include of fxstatat64.c.
26160
26161 2012-08-22 Roland McGrath <roland@hack.frob.com>
26162
26163 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26164 * shadow/getspent_r.c: Likewise.
26165 * shadow/getspnam.c: Likewise.
26166 * shadow/getspnam_r.c: Likewise.
26167 * gshadow/getsgent.c: Likewise.
26168 * gshadow/getsgent_r.c: Likewise.
26169 * gshadow/getsgnam.c: Likewise.
26170 * gshadow/getsgnam_r.c: Likewise.
26171 * inet/getnetbyad.c: Likewise.
26172 * inet/getnetbyad_r.c: Likewise.
26173 * inet/getnetbynm.c: Likewise.
26174 * inet/getnetbynm_r.c: Likewise.
26175 * inet/getnetent.c: Likewise.
26176 * inet/getnetent_r.c: Likewise.
26177 * inet/getproto.c: Likewise.
26178 * inet/getproto_r.c: Likewise.
26179 * inet/getprtent.c: Likewise.
26180 * inet/getprtent_r.c: Likewise.
26181 * inet/getprtname.c: Likewise.
26182 * inet/getprtname_r.c: Likewise.
26183 * inet/getrpcbyname.c: Likewise.
26184 * inet/getrpcbyname_r.c: Likewise.
26185 * inet/getrpcbynumber.c: Likewise.
26186 * inet/getrpcbynumber_r.c: Likewise.
26187 * inet/getrpcent.c: Likewise.
26188 * inet/getrpcent_r.c: Likewise.
26189 * inet/getaliasent.c: Likewise.
26190 * inet/getaliasent_r.c: Likewise.
26191 * inet/getaliasname.c: Likewise.
26192 * inet/getaliasname_r.c: Likewise.
26193 * nscd/getgrgid_r.c: Likewise.
26194 * nscd/getgrnam_r.c: Likewise.
26195 * nscd/gethstbyad_r.c: Likewise.
26196 * nscd/gethstbynm3_r.c: Likewise.
26197 * nscd/getpwnam_r.c: Likewise.
26198 * nscd/getpwuid_r.c: Likewise.
26199 * nscd/getsrvbynm_r.c: Likewise.
26200 * nscd/getsrvbypt_r.c: Likewise.
26201 * nscd/gai.c: Likewise.
26202
26203 * configure.in (build_nscd): New substituted variable, set
26204 by --disable-build-nscd and defaults to $use_nscd.
26205 * configure: Regenerated.
26206 * config.make.in (build-nscd): New substituted variable.
26207 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26208 Change conditional to require [$(build-nscd) = yes] as well.
26209 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26210
26211 [BZ# 13696]
26212 * configure.in (use_nscd): New substituted variable, set by
26213 --disable-nscd. If enabled, define USE_NSCD.
26214 * configure: Regenerated.
26215 * config.h.in: Add USE_NSCD.
26216 * config.make.in (use-nscd): New substituted variable.
26217 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26218 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26219 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26220 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26221 (CFLAGS-getgrnam_r.c): Likewise.
26222 (CFLAGS-initgroups.c): Likewise.
26223 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26224 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26225 Variables removed.
26226 * inet/getnetgrent_r.c
26227 (nscd_setnetgrent): New function, broken out of ...
26228 (setnetgrent): ... here. Call it.
26229 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26230 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26231 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26232 * nscd/Makefile (routines, aux): Move definitions after include of
26233 Makeconfig. Conditionalize on [$(use-nscd) != no].
26234 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26235 Conditionalize on [USE_NSCD].
26236 (is_nscd, nscd_init_cb): Likewise.
26237 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26238 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26239 * nss/nss_db/db-init.c: Likewise.
26240 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26241 [USE_NSCD].
26242 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26243 (make_request): Use it.
26244 (cache_valid_p): New function.
26245 (__check_pf): Use it.
26246 * NEWS: Add item for --disable-nscd.
26247
26248 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26249
26250 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26251 to support sed >= 4.2.1-20-ga9bf076.
26252 * configure: Regenerated.
26253
26254 2012-08-22 Roland McGrath <roland@hack.frob.com>
26255
26256 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26257 Conditionalize whole body on [IREL].
26258
26259 2012-08-22 Jeff Law <law@redhat.com>
26260
26261 [BZ #14505]
26262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26263 if the family is PF_UNSPEC.
26264
26265 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26266
26267 * Makerules (lib-version): Rename from V.
26268 (install-lib-nosubdir): Change V to lib-version.
26269
26270 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26271
26272 [BZ #14252]
26273 * powerpc32/power6/wcschr.c: New file.
26274 * powerpc32/power6/wcscpy.c: New file.
26275 * powerpc32/power6/wcsrchr.c: New file.
26276 * powerpc64/power6/wcschr.c: New file.
26277 * powerpc64/power6/wcscpy.c: New file.
26278 * powerpc64/power6/wcsrchr.c: New file.
26279
26280 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26281
26282 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26283 (two_way_short_needle): Use it.
26284 * string/strstr.c (AVAILABLE1_USES_J): Define.
26285 * string/strcasestr.c: Likewise.
26286
26287 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26288 array references.
26289 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26290
26291 [BZ #11607]
26292 * NEWS: Add an entry.
26293 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26294 define their defaults.
26295 (two_way_short_needle): Detect end-of-string on-the-fly.
26296 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26297 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26298 * string/bug-strcasestr1.c: New test.
26299 * string/Makefile: Run it.
26300
26301 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26302
26303 [BZ #11607]
26304 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26305 the first character.
26306
26307 2012-08-21 Roland McGrath <roland@hack.frob.com>
26308
26309 * csu/elf-init.c (__libc_csu_irel): Function removed.
26310 * csu/libc-start.c (apply_irel): New function.
26311 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26312
26313 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26314
26315 * sysdeps/unix/sysv/linux/kernel-features.h
26316 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26317 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26318 <kernel-features.h>.
26319 [__NR_fadvise64_64]: Make code unconditional.
26320 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26321 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26322 !__NR_fadvise64_64)]: Likewise.
26323 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26324 !__NR_fadvise64_64))]: Likewise.
26325 [__NR_fadvise64]: Make code unconditional.
26326 [!__NR_fadvise64]: Remove conditional code.
26327 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26328 <kernel-features.h>.
26329 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26330 unconditional.
26331 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26332 conditional code.
26333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26334 not include <kernel-features.h>.
26335 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26336 unconditional.
26337 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26338 conditional code.
26339 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26340 include <kernel-features.h>.
26341 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26342 unconditional.
26343 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26344 conditional code.
26345
26346 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26347
26348 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26349 slight instruction rearrangements per scrollpipe analysis.
26350 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26351
26352 2012-08-20 Roland McGrath <roland@hack.frob.com>
26353
26354 * manual/syslog.texi (syslog; vsyslog, closelog):
26355 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26356 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26357
26358 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26359 DSOCAPS to match condition on defining it.
26360
26361 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26362
26363 * sysdeps/unix/sysv/linux/kernel-features.h
26364 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26366 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26367 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26369 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26370 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26372 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26373 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26374
26375 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26376 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26377
26378 * sysdeps/unix/sysv/linux/kernel-features.h
26379 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26380 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26381 unconditional.
26382 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26383 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26384 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26385 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26386 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26387 Make code unconditional.
26388 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26389 (__mmap64) [!__NR_mmap2]: Likewise.
26390 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26391 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26392 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26393 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26394 [__NR_mmap2]: Make code unconditional.
26395 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26396 (__mmap64) [!__NR_mmap2]: Likewise.
26397
26398 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26399
26400 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26401
26402 2012-08-18 Andreas Jaeger <aj@suse.de>
26403
26404 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26405
26406 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26407
26408 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26409 * include/unistd.h (__have_sock_cloexec): Likewise.
26410 (__have_pipe2): Likewise.
26411 (__have_dup3): Likewise.
26412
26413 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26414
26415 [BZ #9685]
26416 * include/unistd.h (__have_pipe2): Change define into an extern int.
26417 (__have_dup3): Likewise.
26418 * socket/have_sock_cloexec.c: Include fcntl.h.
26419 (__have_pipe2): New variable.
26420 (__have_dup3): Likewise.
26421
26422 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26423
26424 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26425
26426 2012-08-17 Marek Polacek <polacek@redhat.com>
26427
26428 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26429 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26430
26431 2012-08-17 Roland McGrath <roland@hack.frob.com>
26432
26433 * configure.in: Add AC_SUBST for sysheaders.
26434 * configure: Regenerated.
26435 * config.make.in (sysheaders): New substituted variable.
26436
26437 * sysdeps/unix/mkfifo.c: Moved ...
26438 * sysdeps/posix/mkfifo.c: ... here.
26439 * sysdeps/unix/mkfifoat.c: Moved ...
26440 * sysdeps/posix/mkfifoat.c: ... here.
26441
26442 * sysdeps/unix/utime.c: Moved ...
26443 * sysdeps/posix/utime.c: ... here.
26444
26445 * sysdeps/unix/time.c: Moved ...
26446 * sysdeps/posix/time.c: ... here.
26447 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26448 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26449
26450 * sysdeps/unix/nice.c: Moved ...
26451 * sysdeps/posix/nice.c: ... here.
26452
26453 * sysdeps/unix/alarm.c: Moved ...
26454 * sysdeps/posix/alarm.c: ... here.
26455
26456 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26457
26458 2012-08-17 Jeff Law <law@redhat.com>
26459
26460 * intl/Makefile (codeset_mo): New variable.
26461 ($(codeset_mo)): New target.
26462 (tst-codeset.out): Depend on that. Remove explicit rule.
26463 (tst-gettext3.out, tst-gettext5.out): Likewise.
26464 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26465 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26466 * intl/tst-codeset.sh: Remove.
26467 * intl/tst-gettext3.sh: Likewise.
26468 * intl/tst-gettext5.sh: Likewise.
26469
26470 2012-08-17 Roland McGrath <roland@hack.frob.com>
26471
26472 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26473 * sysdeps/unix/syscalls.list: ... here.
26474
26475 * sysdeps/posix/getaddrinfo.c
26476 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26477 (gaiconf_init, gaiconf_reload): Use them.
26478 [!_STATBUF_ST_NSEC]
26479 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26480 Define using time_t rather than struct timespec.
26481
26482 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26483 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26484 Macros removed.
26485 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26486 [!NO_THREADS].
26487 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26488 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26489 Likewise.
26490
26491 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26492 __libc_cleanup_push argument.
26493
26494 * bits/param.h: New file.
26495 * misc/sys/param.h: New file.
26496 * include/sys/param.h: New file.
26497 * misc/Makefile (headers): Add bits/param.h.
26498 * sysdeps/generic/sys/param.h: File removed.
26499 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26500 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26501 * sysdeps/mach/hurd/bits/param.h: New file.
26502 * sysdeps/mach/hurd/sys/param.h: File removed.
26503
26504 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26505 last change.
26506
26507 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26508 [_IO_MTSAFE_IO].
26509 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26510 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26511 New macros.
26512
26513 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26514 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26515 rather than -D_IO_MTSAFE_IO conditionally.
26516 * stdio-common/Makefile (CPPFLAGS): Likewise.
26517 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26518 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26519 Use $(libio-mtsafe).
26520 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26521 of -D_IO_MTSAFE_IO.
26522 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26523 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26524 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26525 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26526 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26527 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26528 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26529 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26530 (CFLAGS-fread_u_chk.c): Likewise.
26531 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26532 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26533 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26534 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26535 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26536 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26537 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26538 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26539 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26540
26541 * libio/Makefile: Test [$(libc-reentrant) = yes]
26542 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26543
26544 * Makeconfig
26545 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26546 * sysdeps/pthread/configure: File removed.
26547 * sysdeps/pthread/Makeconfig: New file.
26548 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26549 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26550
26551 2012-08-16 Gary Benson <gbenson@redhat.com>
26552
26553 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26554 unmapping the first object in a namespace.
26555
26556 2012-08-16 Roland McGrath <roland@hack.frob.com>
26557
26558 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26559 (__internal_setnetgrent): ... this. Add internal_function to
26560 definition. Add libc_hidden_def.
26561 (setnetgrent): Update caller.
26562 (internal_endnetgrent): Renamed to ...
26563 (__internal_endnetgrent): ... this. Add internal_function to
26564 definition. Add libc_hidden_def.
26565 (endnetgrent): Update caller.
26566 (internal_getnetgrent_r): Renamed to ...
26567 (__internal_getnetgrent_r): ... this. Add internal_function to
26568 definition. Add libc_hidden_def.
26569 (__getnetgrent_r): Update caller.
26570 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26571
26572 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26573
26574 * stdlib/longlong.h: Update from GCC.
26575
26576 2012-08-16 Roland McGrath <roland@hack.frob.com>
26577
26578 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26579 on _QL, which is set by umul_ppmm but never used.
26580 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26581 variables, which are set by GMP macros but never used.
26582 * stdio-common/_itowa.c (_itowa): Likewise.
26583 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26584 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26585
26586 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26587
26588 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26589 struct La_sh_regs is not constant.
26590 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26591 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26592 and struct La_sparc64_regs are not constant.
26593
26594 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26595
26596 * sysdeps/unix/sysv/linux/kernel-features.h
26597 (__ASSUME_POSIX_TIMERS): Remove.
26598 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26599 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26600 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26601 Make code unconditional.
26602 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26603 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26604 Make code unconditional.
26605 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26606 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26607 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26608 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26609 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26610 Make code unconditional.
26611 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26612 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26613 (__libc_missing_posix_timers): Remove.
26614
26615 2012-08-15 Roland McGrath <roland@hack.frob.com>
26616
26617 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26618 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26619
26620 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26621
26622 * elf/dl-sym.c: Include <stdlib.h>.
26623
26624 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26625 constants, which avoids warnings in 32-bit builds.
26626
26627 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26628 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26629
26630 * misc/lseek.c: File moved to ...
26631 * io/lseek.c: ... here.
26632
26633 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26634
26635 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26636 shifting LEN more than 31 bits at once.
26637
26638 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26639
26640 [BZ #14195]
26641 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26642 segmentation fault for a case of two empty input strings.
26643 * string/test-strncasecmp.c (check1): Renamed to...
26644 (bz12205): ...this.
26645 (bz14195): Add new testcase for two empty input strings and N > 0.
26646 (test_main): Call new testcase, adapt for renamed function.
26647
26648 2012-08-15 Andreas Jaeger <aj@suse.de>
26649
26650 [BZ #14090]
26651 * crypt/md5test2.c: New test, based on test supplied by Serge
26652 Belyshev <belyshev@depni.sinp.msu.ru>.
26653 * crypt/Makefile (xtests): Add md5test-giant..
26654 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26655
26656 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26657
26658 [BZ #14090]
26659 * crypt/md5.c (md5_process_block): Don't assume the buffer
26660 length is less than 2**32.
26661 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26662 length is less than 2**64.
26663
26664 2012-08-15 Roland McGrath <roland@hack.frob.com>
26665
26666 * string/str-two-way.h: Include <sys/param.h>.
26667 (MAX): Macro removed.
26668
26669 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26670 Move #define and #undef of memmove to just before and after
26671 including <string.h>.
26672
26673 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26674 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26675 and after including <string.h>. Move declarations of
26676 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26677 to before #include "string/memmove.c".
26678
26679 * include/dirent.h: Declare __getdirentries.
26680
26681 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26682 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26683
26684 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26685
26686 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26687 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26688 * sysdeps/i386/configure: Regenerated.
26689 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26690 STABS_CURRENT_FILE, and STABS_FUN.
26691 (END): Remove call to STABS_FUN_END.
26692 (STABS_CURRENT_FILE1): Delete.
26693 (STABS_CURRENT_FILE): Likewise.
26694 (STABS_FUN): Likewise.
26695 (STABS_FUN_END): Likewise.
26696 (STABS_FUN2): Likewise.
26697 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26698 * sysdeps/x86_64/configure: Regenerated.
26699
26700 2012-08-14 Roland McGrath <roland@hack.frob.com>
26701
26702 * elf/dl-open.c: Include <atomic.h>.
26703 * elf/dl-lookup.c: Likewise.
26704
26705 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26706
26707 * sysdeps/unix/sysv/linux/kernel-features.h
26708 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26709 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26710 unconditionally.
26711 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26712 unconditionally.
26713 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26714 condition on __ASSUME_CLONE_THREAD_FLAGS.
26715
26716 2012-08-14 Andreas Jaeger <aj@suse.de>
26717
26718 * sysdeps/i386/fpu/libm-test-ulps: Update.
26719
26720 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26721
26722 * include/atomic.h (atomic_exchange_and_add): Split into ...
26723 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26724 New atomic macros.
26725
26726 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26727
26728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26729
26730 2012-08-13 Jeff Law <law@redhat.com>
26731
26732 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26733 null byte in the output string.
26734
26735 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26736
26737 * sysdeps/unix/sysv/linux/kernel-features.h
26738 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26739 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26740 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26741 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26742 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26743 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26744 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26745
26746 2012-08-09 Jeff Law <law@redhat.com>
26747
26748 [BZ #13939]
26749 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26750 When avoid_arena is set, don't retry in the that arena. Pick the
26751 next one, whatever it might be.
26752 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26753 (arena_lock): Pass in new parameter to arena_get2.
26754 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26755 arena_get2.
26756 (__libc_malloc): Unify retrying after main arena failure with
26757 __libc_memalign version.
26758 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26759
26760 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26761
26762 [BZ #14166]
26763 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26764 to __redirect_strstr.
26765 (__strstr_sse42): Use typeof __redirect_strstr.
26766 (__strstr_ia32): Likewise.
26767 (__libc_strstr): New prototype.
26768 (strstr): Renamed to ...
26769 (__libc_strstr): This.
26770 (strstr): New strong alias of __libc_strstr.
26771 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26772 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26773 __redirect_time.
26774 Include <time.h>.
26775 (__libc_time): New prototype.
26776 (time_ifunc): Replace time with __libc_time.
26777 (time): New strong alias and hidden definition of __libc_time.
26778 (__GI_time): Remove strong alias.
26779 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26780 Include <stddef.h>.
26781 (memmove): Redefined to __redirect_memmove.
26782 (__memmove_sse2): Use typeof __redirect_memmove.
26783 (__memmove_ssse3): Likewise.
26784 (__memmove_ssse3_back): Likewise.
26785 (__libc_memmove): New prototype.
26786 (memmove): Renamed to ...
26787 (__libc_memmove): This.
26788 (memmove): New strong alias of __libc_memmove.
26789
26790 2012-08-08 Mark Salter <msalter@redhat.com>
26791
26792 * elf/elf.h
26793 (R_MN10300_TLS_GD): Define.
26794 (R_MN10300_TLS_LD): Likewise.
26795 (R_MN10300_TLS_LDO): Likewise.
26796 (R_MN10300_TLS_GOTIE): Likewise.
26797 (R_MN10300_TLS_IE): Likewise.
26798 (R_MN10300_TLS_LE): Likewise.
26799 (R_MN10300_TLS_DTPMOD): Likewise.
26800 (R_MN10300_TLS_DTPOFF): Likewise.
26801 (R_MN10300_TLS_TPOFF): Likewise.
26802 (R_MN10300_SYM_DIFF): Likewise.
26803 (R_MN10300_ALIGN): Likewise.
26804 (R_MN10300_NUM): Update.
26805
26806 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26807
26808 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26809 Remove.
26810
26811 2012-08-08 Roland McGrath <roland@hack.frob.com>
26812
26813 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26814
26815 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26816 sysdeps/unix -> sysdeps/posix move.
26817 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26818
26819 2012-08-07 Allan McRae <allan@archlinux.org>
26820
26821 [BZ #14303]
26822 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26823 (SUNOS_CPP): Likewise.
26824 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26825 not found.
26826 (open_input): Call CPP using execvp.
26827
26828 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26829
26830 * sysdeps/unix/sysv/linux/kernel-features.h
26831 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26832 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26833 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26834 (__ASSUME_WAITID_SYSCALL): Likewise.
26835 * sysdeps/unix/sysv/linux/dl-execstack.c
26836 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26837 code unconditional.
26838 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26839 conditional code.
26840 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26841 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26842 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26843 code.
26844 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26845 unconditional.
26846 [__ASSUME_WAITID_SYSCALL]: Likewise.
26847 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26848
26849 2012-08-07 Roland McGrath <roland@hack.frob.com>
26850
26851 * sysdeps/unix/closedir.c: Renamed to ...
26852 * sysdeps/posix/closedir.c: ... here.
26853 * sysdeps/unix/dirfd.c: Renamed to ...
26854 * sysdeps/posix/dirfd.c: ... here.
26855 * sysdeps/unix/dirstream.h: Renamed to ...
26856 * sysdeps/posix/dirstream.h: ... here.
26857 * sysdeps/unix/fdopendir.c: Renamed to ...
26858 * sysdeps/posix/fdopendir.c: ... here.
26859 * sysdeps/unix/opendir.c: Renamed to ...
26860 * sysdeps/posix/opendir.c: ... here.
26861 * sysdeps/unix/readdir.c: Renamed to ...
26862 * sysdeps/posix/readdir.c: ... here.
26863 * sysdeps/unix/readdir_r.c: Renamed to ...
26864 * sysdeps/posix/readdir_r.c: ... here.
26865 * sysdeps/unix/rewinddir.c: Renamed to ...
26866 * sysdeps/posix/rewinddir.c: ... here.
26867 * sysdeps/unix/seekdir.c: Renamed to ...
26868 * sysdeps/posix/seekdir.c: ... here.
26869 * sysdeps/unix/telldir.c: Renamed to ...
26870 * sysdeps/posix/telldir.c: ... here.
26871 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26872 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26873 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26874 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26875
26876 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26877 * bits/fcntl.h: ... here.
26878
26879 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26880 not 0.
26881 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26882 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26883 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26884 (struct flock): Move l_start, l_len to the beginning.
26885 Use __pid_t for l_pid.
26886 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26887 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26888 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26889 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26890 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26891 [__USE_LARGEFILE64] (struct flock64): New type.
26892 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26893
26894 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26895 * bits/dirent.h: ... here.
26896
26897 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26898 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26899
26900 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26901
26902 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26903 Change from 2.6.0 to 2.6.16.
26904 * sysdeps/unix/sysv/linux/configure: Regenerated.
26905 * sysdeps/unix/sysv/linux/kernel-features.h
26906 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26907 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26908 version.
26909 (__ASSUME_UTIMES): Likewise.
26910 (__ASSUME_CLONE_STOPPED): Remove.
26911 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26912 architectures, not kernel version.
26913 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26914 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26915 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26916 (__ASSUME_WAITID_SYSCALL): Likewise.
26917 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26918 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26919 * README: State 2.6.16 as minimum Linux kernel version. Do not
26920 refer to older versions.
26921
26922 2012-08-06 Roland McGrath <roland@hack.frob.com>
26923
26924 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26925 Define alphasort64 as an alias.
26926 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26927 Define versionsort64 as an alias.
26928 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26929 Define scandir64 as an alias.
26930 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26931 Define scandirat64 as an alias.
26932 * dirent/alphasort64.c (alphasort64):
26933 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26934 * dirent/versionsort64.c: Likewise.
26935 * dirent/scandir64.c: Likewise.
26936 * dirent/scandirat64.c: Likewise.
26937 * sysdeps/wordsize-64/alphasort.c: File removed.
26938 * sysdeps/wordsize-64/alphasort64.c: File removed.
26939 * sysdeps/wordsize-64/scandir.c: File removed.
26940 * sysdeps/wordsize-64/scandir64.c: File removed.
26941 * sysdeps/wordsize-64/scandirat.c: File removed.
26942 * sysdeps/wordsize-64/scandirat64.c: File removed.
26943 * sysdeps/wordsize-64/versionsort.c: File removed.
26944 * sysdeps/wordsize-64/versionsort64.c: File removed.
26945 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26946 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26947 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26948 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26949 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26950 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26951 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26952 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26953
26954 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26955 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26956 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26957 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26958 [defined __arch64__ || defined __sparcv9]
26959 (__INO_T_MATCHES_INO64_T): New macro.
26960 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26961 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26962 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26963 * sysdeps/unix/sysv/linux/bits/dirent.h
26964 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26965 (_DIRENT_MATCHES_DIRENT64): New macro.
26966
26967 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26968 Define lockf64 as an alias.
26969 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26970 Define fseeko64 as an alias.
26971 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26972 Define ftello64 as an alias.
26973 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26974 Define _IO_fgetpos64 and fgetpos64 as aliases.
26975 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26976 Define _IO_fsetpos64 and fsetpos64 as aliases.
26977 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26978 Conditionalize body on this.
26979 * libio/fseeko64.c: Likewise.
26980 * libio/ftello64.c: Likewise.
26981 * libio/iofgetpos64.c: Likewise.
26982 * libio/iofsetpos64.c: Likewise.
26983 * sysdeps/wordsize-64/lockf.c: File removed.
26984 * sysdeps/wordsize-64/lockf64.c: File removed.
26985 * sysdeps/wordsize-64/fseeko.c: File removed.
26986 * sysdeps/wordsize-64/fseeko64.c: File removed.
26987 * sysdeps/wordsize-64/ftello.c: File removed.
26988 * sysdeps/wordsize-64/ftello64.c: File removed.
26989 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26990 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26991 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26992 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26993 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26994 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26995 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26996 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26997 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26998 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26999 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27000 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27001 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27002 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27003
27004 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27006 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27007 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27008 [defined __arch64__ || defined __sparcv9]
27009 (__OFF_T_MATCHES_OFF64_T): New macro.
27010 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27011 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27013 (__OFF_T_MATCHES_OFF64_T): New macro.
27014
27015 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27016
27017 * stdlib/secure-getenv.c (__secure_getenv): Replace
27018 GLIBC_2_16 with GLIBC_2_17.
27019
27020 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27021
27022 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27023 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27024
27025 2012-08-03 David S. Miller <davem@davemloft.net>
27026
27027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27028
27029 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27030
27031 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27032 Remove.
27033 (__ASSUME_CORRECT_SI_PID): Likewise.
27034 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27035 (__ASSUME_TMPFS_NAME): Likewise.
27036 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27037 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27038 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27039 (HAVE_AUX_SECURE): Make definition unconditional.
27040 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27041 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27042
27043 2012-08-03 Roland McGrath <roland@hack.frob.com>
27044
27045 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27046 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27047 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27048 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27049 __eloop_threshold instead of SYMLOOP_MAX.
27050
27051 * sysdeps/generic/eloop-threshold.h: New file.
27052 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27053 of MAXSYMLINKS.
27054 * elf/chroot_canon.c (chroot_canon): Likewise.
27055
27056 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27057
27058 [BZ #13717]
27059 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27060 Change to 2.6.0 everywhere.
27061 * sysdeps/unix/sysv/linux/configure: Regenerated.
27062 * sysdeps/unix/sysv/linux/kernel-features.h
27063 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27064 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27065 kernel versions.
27066 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27067 (__ASSUME_FUTEX_REQUEUE): Remove.
27068 (__ASSUME_STATFS64): Define unconditionally.
27069 (__ASSUME_AT_SECURE): Likewise.
27070 (__ASSUME_CORRECT_SI_PID): Likewise.
27071 (__ASSUME_TGKILL): Define without depending on kernel version for
27072 i386.
27073 (__ASSUME_UTIMES): Likewise.
27074 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27075 kernel version.
27076 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27077 (__ASSUME_TMPFS_NAME): Likewise.
27078 * README: Update reference to Linux kernel versions.
27079
27080 2012-08-02 Marek Polacek <polacek@redhat.com>
27081
27082 [BZ# 14150]
27083 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27084 libc_cv_asm_type_prefix with %.
27085 * configure: Regenerated.
27086 * include/libc-symbols.h: Remove comment about
27087 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27088 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27089 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27090 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27091 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27092 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27093 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27094 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27095 * elf/tst-unique2mod1.c: Likewise.
27096 * elf/tst-unique1mod2.c: Likewise.
27097 * elf/tst-unique1mod1.c: Likewise.
27098 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27099 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27100 Replace ASM_TYPE_DIRECTIVE with .type.
27101 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27102 * sysdeps/i386/sysdep.h: Likewise.
27103 * sysdeps/x86_64/sysdep.h: Likewise.
27104 * sysdeps/sh/sysdep.h: Likewise.
27105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27106 Do not define ASM_TYPE_DIRECTIVE.
27107 * sysdeps/powerpc/sysdep.h: Likewise.
27108 * sysdeps/powerpc/powerpc32/sysdep.h:
27109 Replace ASM_TYPE_DIRECTIVE with .type.
27110 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27111 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27112 * sysdeps/i386/fpu/e_powf.S: Likewise.
27113 * sysdeps/i386/fpu/e_expl.S: Likewise.
27114 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27115 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27116 * sysdeps/i386/fpu/e_pow.S: Likewise.
27117 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27118 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27119 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27120 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27121 * sysdeps/i386/fpu/e_log2.S: Likewise.
27122 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27123 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27124 * sysdeps/i386/fpu/e_powl.S: Likewise.
27125 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27126 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27127 * sysdeps/i386/fpu/e_logl.S: Likewise.
27128 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27129 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27130 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27131 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27132 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27133 * sysdeps/i386/fpu/e_log.S: Likewise.
27134 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27135 * sysdeps/i386/fpu/e_logf.S: Likewise.
27136 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27137 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27138 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27139 * sysdeps/i386/fpu/e_log10.S: Likewise.
27140 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27141 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27142 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27143 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27144 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27145 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27146 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27147 * sysdeps/i386/i686/strtok.S: Likewise.
27148 * sysdeps/i386/i386-mcount.S: Likewise.
27149 * sysdeps/i386/strtok.S: Likewise.
27150 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27151 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27152 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27153 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27154 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27155 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27156 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27157 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27158 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27159 * sysdeps/x86_64/_mcount.S: Likewise.
27160 * sysdeps/x86_64/strtok.S: Likewise.
27161 * sysdeps/sh/_mcount.S: Likewise.
27162
27163 2012-08-01 Roland McGrath <roland@hack.frob.com>
27164
27165 * libio/iofopen.c: Include <fcntl.h>.
27166 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27167 (_IO_fopen64, fopen64): Define as aliases.
27168 * libio/iofopen64.c: Include <fcntl.h>.
27169 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27170 Conditionalize body on this.
27171 * sysdeps/wordsize-64/iofopen.c: File removed.
27172 * sysdeps/wordsize-64/iofopen64.c: File removed.
27173
27174 2012-08-01 Marek Polacek <polacek@redhat.com>
27175
27176 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27177 Use dlfcn directly instead of a variable.
27178 (binfmt-subdir): Do not define.
27179 (dlfcn): Likewise.
27180
27181 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27182
27183 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27184 Remove all definitions.
27185 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27186 <kernel-features.h>.
27187 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27188 (miss_F_GETOWN_EX): Remove all definitions.
27189 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27190 macro definition.
27191 [!__ASSUME_FCNTL64]: Remove conditional code.
27192 [__ASSUME_FCNTL64]: Make code unconditional.
27193 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27194 <kernel-features.h>.
27195 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27196 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27197 (lockf64) [__NR_fcntl64]: Make code unconditional.
27198 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27199
27200 * sysdeps/unix/sysv/linux/kernel-features.h
27201 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27202 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27203 Make code unconditional.
27204 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27205 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27207 [__NR_vfork]: Make code unconditional.
27208 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27209 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27211 [__NR_vfork]: Make code unconditional.
27212 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27213 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27214
27215 2012-08-01 Roland McGrath <roland@hack.frob.com>
27216
27217 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27218 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27219
27220 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27221 Define mkstemp64 as an alias.
27222 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27223 Define mkstemps64 as an alias.
27224 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27225 Define mkostemp64 as an alias.
27226 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27227 Define mkostemps64 as an alias.
27228 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27229 Conditionalize body on this.
27230 * misc/mkostemp64.c: Likewise.
27231 * misc/mkostemps64.c: Likewise.
27232 * misc/mkstemps64.c: Likewise.
27233 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27234 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27235 * sysdeps/wordsize-64/mkostemp.c: File removed.
27236 * sysdeps/wordsize-64/mkstemp.c: File removed.
27237 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27238 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27239 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27240 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27241
27242 [BZ #14138]
27243 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27244 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27245 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27246 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27247
27248 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27249 compat_symbol macros from <shlib-compat.h> rather than the underlying
27250 default_symbol_version and symbol_version macros, so that DEFAULT
27251 lines in shlib-versions are respected.
27252 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27253
27254 2012-08-01 Florian Weimer <fweimer@redhat.com>
27255
27256 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27257 Declare with warn_unused_result.
27258 (setgid, setregid, setegid, setresgid): Likewise.
27259 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27260 Likewise.
27261 * WUR-REPORT: Remove set*id functions.
27262
27263 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27264
27265 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27266
27267 2012-07-31 Roland McGrath <roland@hack.frob.com>
27268
27269 [BZ #10191]
27270 * include/sys/socket.h (__libc_accept, __libc_accept4):
27271 Add attribute_hidden.
27272 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27273
27274 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27275 use of PTR_MANGLE.
27276 * inet/getnetgrent_r.c (setup): Likewise.
27277
27278 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27279
27280 2012-07-31 David S. Miller <davem@davemloft.net>
27281
27282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27283
27284 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27285
27286 [BZ #13629]
27287 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27288 value between 1.0 and 2.0 and smaller part has absolute value less
27289 than 1.0.
27290 * math/s_clog10.c (__clog10): Likewise.
27291 * math/s_clog10f.c (__clog10f): Likewise.
27292 * math/s_clog10l.c (__clog10l): Likewise.
27293 * math/s_clogf.c (__clogf): Likewise.
27294 * math/s_clogl.c (__clogl): Likewise.
27295 * math/libm-test.inc (clog_test): Add more tests.
27296 (clog10_test): Likewise.
27297 * sysdeps/i386/fpu/libm-test-ulps: Update.
27298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27299
27300 2012-07-31 Florian Weimer <fweimer@redhat.com>
27301
27302 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27303 Exit with zero in case no suitable GID is found, and write a
27304 message to standard error.
27305
27306 2012-07-30 Roland McGrath <roland@hack.frob.com>
27307
27308 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27309 rather than to 1.
27310 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27311 (MAXPATHLEN): Removed.
27312 (NOGROUP, NODEV): New macros.
27313 (setbit, clrbit, isset, isclr): New macros.
27314 (howmany, roundup, powerof2): New macros.
27315 (DEV_BSIZE): New macro.
27316
27317 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27318 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27319
27320 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27321 definition on [!__NO_LONG_DOUBLE_MATH].
27322
27323 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27324 PTR_MANGLE and PTR_DEMANGLE.
27325
27326 * socket/accept4.c (accept4): Rename to __libc_accept4.
27327 Define accept4 as a weak alias.
27328
27329 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27330 on [_DIRENT_HAVE_D_TYPE].
27331 * io/ftw.c (ftw_dir): Likewise.
27332
27333 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27334
27335 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27336
27337 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27338 Use the BSD numbers rather than the arbitrary ones we had.
27339 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27340 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27341 (SIGXCPU, SIGXFSZ): New macros.
27342 (_NSIG): Now 32.
27343
27344 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27345 initializer on [_LIBC_REENTRANT].
27346
27347 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27348 definitions inside [_POSIX_MAPPED_FILES].
27349
27350 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27351
27352 * dirent/opendir.c: Include <fcntl.h>.
27353
27354 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27355 (__libc_getspecific): Likewise.
27356 (__libc_key_create): Likewise.
27357
27358 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27359 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27360 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27361 (tmpfile64): Define as alias.
27362 * sysdeps/wordsize-64/tmpfile.c: File removed.
27363 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27364 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27365 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27366
27367 * stdio-common/vfscanf.c: Include <stdbool.h>.
27368 * nss/makedb.c: Likewise.
27369 * stdio-common/_i18n_number.h: Likewise.
27370 * argp/argp-help.c: Likewise.
27371 * posix/wordexp.c: Likewise.
27372 * sysdeps/posix/spawni.c: Likewise.
27373 * nss/nss_files/files-initgroups.c: Likewise.
27374 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27375 * nss/nss_files/files-initgroups.c: Likewise.
27376 * nss/nss_db/db-netgrp.c: Likewise.
27377 * nss/nss_db/db-initgroups.c: Likewise.
27378 * io/fchmodat.c: Include <sys/stat.h>.
27379
27380 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27381 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27382
27383 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27384 [HAVE_MMAP].
27385
27386 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27387 Add multiple inclusion protection.
27388
27389 2012-07-27 David S. Miller <davem@davemloft.net>
27390
27391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27392
27393 2012-07-27 Gary Benson <gbenson@redhat.com>
27394
27395 [BZ #14298]
27396 * elf/rtld.c: Include <stap-probe.h>.
27397 (dl_main): Added static probes "init_start" and "init_complete".
27398 * elf/dl-load.c: Include <stap-probe.h>.
27399 (lose): Take new parameter "nsid".
27400 Added static probe "map_failed".
27401 (_dl_map_object_from_fd): Pass namespace id to lose.
27402 Added static probe "map_start".
27403 (open_verify): Pass namespace id to lose.
27404 * elf/dl-open.c: Include <stap-probe.h>.
27405 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27406 and "reloc_complete".
27407 * elf/dl-close.c: Include <stap-probe.h>.
27408 (_dl_close_worker): Added static probes "unmap_start" and
27409 "unmap_complete".
27410 * elf/rtld-debugger-interface.txt: New file documenting the above.
27411
27412 2012-07-26 Roland McGrath <roland@hack.frob.com>
27413
27414 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27415 rather than a string variable.
27416 * sunrpc/rpc_main.c (h_output): Likewise.
27417 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27418
27419 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27420
27421 * inet/check_native.c: New file.
27422
27423 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27424
27425 [BZ #13629]
27426 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27427 if larger part has absolute value 1.0.
27428 * math/s_clog10.c (__clog10): Likewise.
27429 * math/s_clog10f.c (__clog10f): Likewise.
27430 * math/s_clog10l.c (__clog10l): Likewise.
27431 * math/s_clogf.c (__clogf): Likewise.
27432 * math/s_clogl.c (__clogl): Likewise.
27433 * math/libm-test.inc (clog_test): Add more tests.
27434 (clog10_test): Likewise.
27435 * sysdeps/i386/fpu/libm-test-ulps: Update.
27436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27437
27438 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27439 (pltexit): Likewise.
27440 (La_regs): Likewise.
27441 (La_retval): Likewise.
27442 (int_retval): Likewise.
27443 Update #error for removed macros to refer only to definitions in
27444 tst-audit.h.
27445 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27446 macro.
27447 (pltexit): Likewise.
27448 (La_regs): Likewise.
27449 (La_retval): Likewise.
27450 (int_retval): Likewise.
27451 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27452 macro.
27453 (pltexit): Likewise.
27454 (La_regs): Likewise.
27455 (La_retval): Likewise.
27456 (int_retval): Likewise.
27457 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27458 macro.
27459 (pltexit): Likewise.
27460 (La_regs): Likewise.
27461 (La_retval): Likewise.
27462 (int_retval): Likewise.
27463 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27464 macro.
27465 (pltexit): Likewise.
27466 (La_regs): Likewise.
27467 (La_retval): Likewise.
27468 (int_retval): Likewise.
27469 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27470 macro.
27471 (pltexit): Likewise.
27472 (La_regs): Likewise.
27473 (La_retval): Likewise.
27474 (int_retval): Likewise.
27475 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27476 macro.
27477 (pltexit): Likewise.
27478 (La_regs): Likewise.
27479 (La_retval): Likewise.
27480 (int_retval): Likewise.
27481 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27482 macro definitions in tst-audit.h.
27483 * sysdeps/i386/tst-audit.h: New file.
27484 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27485 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27486 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27487 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27488 * sysdeps/sh/tst-audit.h: Likewise.
27489 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27490 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27491 * sysdeps/x86_64/tst-audit.h: Likewise.
27492
27493 2012-07-26 Andreas Jaeger <aj@suse.de>
27494
27495 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27496 ptrace.
27497
27498 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27499 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27500 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27501 PTRACE_O_MASK.
27502 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27503 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27504 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27505
27506 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27507 value.
27508
27509 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27510 _sigsys.
27511 (si_call_addr, si_syscall, si_arch): Define new macro.
27512 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27513 _sigsys.
27514 (si_call_addr, si_syscall, si_arch): Define new marcro.
27515 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27516 _sigsys.
27517 (si_call_addr, si_syscall, si_arch): Define new macro.
27518 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27519 _sigsys.
27520 (si_call_addr, si_syscall, si_arch): Define new macro.
27521
27522 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27523
27524 [BZ #13717]
27525 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27526 Change to 2.4.21 where previously 2.4.1.
27527 * sysdeps/unix/sysv/linux/configure: Regenerated.
27528 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27529 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27530 Linux kernel version.
27531 (__ASSUME_STD_AUXV): Remove.
27532 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27533 kernel version.
27534 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27535 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27536 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27537 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27538 (__ASSUME_NETLINK_SUPPORT): Likewise.
27539 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27540 (__no_netlink_support): Remove conditional definition.
27541 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27542 Remove.
27543 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27544 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27545 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27546 (if_nameindex_ioctl): Remove.
27547 (if_nameindex_netlink): Do not handle __no_netlink_support.
27548 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27549 code.
27550 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27551 Remove conditional code.
27552 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27553 code.
27554 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27555 unconditional.
27556 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27557 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27558 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27559 Remove.
27560 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27561 [!__ASSUME_STD_AUXV]: Remove conditional code.
27562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27563 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27564 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27566 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27567 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27568 code.
27569 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27571 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27572 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27573 conditional code.
27574 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27576 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27577 code.
27578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27579 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27580 conditional code.
27581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27582 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27583 code unconditional.
27584 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27585 conditional code.
27586 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27587 unconditional.
27588 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27589 conditional code.
27590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27591 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27592 unconditional.
27593 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27594 conditional code.
27595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27596 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27597 code unconditional.
27598 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27599 conditional code.
27600 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27601 unconditional.
27602 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27603 conditional code.
27604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27605 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27606 code unconditional.
27607 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27608 conditional code.
27609 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27610 unconditional.
27611 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27612 conditional code.
27613
27614 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27615
27616 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27617 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27618 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27619 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27620 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27621 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27622 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27623 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27624 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27625 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27626 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27627 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27628 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27629 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27630 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27631 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27632 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27633 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27634 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27636 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27637 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27638 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27639
27640 2012-07-25 Florian Weimer <fweimer@redhat.com>
27641
27642 * Versions.def: Add GLIBC_2.17.
27643 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27644 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27645 Introduce __libc_secure_getenv.
27646 * stdlib/Versions (2.17): Add secure_getenv
27647 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27648 * stdlib/secure-getenv.c: Rename __secure_getenv to
27649 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27650 symbol __secure_getenv for GLIBC_2.0.
27651 * stdlib/tst-secure-getenv.c: New.
27652 * stdlib/Makefile (tests): Add testcase.
27653 * manual/startup.texi (Environment Access): Document
27654 secure_getenv.
27655 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27656 __libc_secure_getenv.
27657 * inet/ruserpass.c (ruserpass): Likewise.
27658 * malloc/mtrace.c (mtrace): Likewise.
27659 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27660 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27661 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27662 * sysdeps/posix/tempname.c: Likewise. Evaluate
27663 HAVE_SECURE_GETENV.
27664 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27665 __secure_getenv to __libc_secure_getenv.
27666 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27668 Likewise.
27669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27670 Likewise.
27671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27673 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27678
27679 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27680
27681 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27682 (struct La_i86_retval): Likewise.
27683 (struct La_x86_64_regs): Likewise.
27684 (struct La_x86_64_retval): Likewise.
27685 (struct La_x32_regs): Likewise.
27686 (struct La_x32_retval): Likewise.
27687 (struct La_ppc32_regs): Likewise.
27688 (struct La_ppc32_retval): Likewise.
27689 (struct La_ppc64_regs): Likewise.
27690 (struct La_ppc64_retval): Likewise.
27691 (struct La_sh_regs): Likewise.
27692 (struct La_sh_retval): Likewise.
27693 (struct La_s390_32_regs): Likewise.
27694 (struct La_s390_32_retval): Likewise.
27695 (struct La_s390_64_regs): Likewise.
27696 (struct La_s390_64_retval): Likewise.
27697 (struct La_sparc32_regs): Likewise.
27698 (struct La_sparc32_retval): Likewise.
27699 (struct La_sparc64_regs): Likewise.
27700 (struct La_sparc64_retval): Likewise.
27701 (struct audit_ifaces): Remove architecture-specific pltenter and
27702 pltexit members.
27703 * sysdeps/i386/ldsodefs.h: New file.
27704 * sysdeps/powerpc/ldsodefs.h: Likewise.
27705 * sysdeps/s390/ldsodefs.h: Likewise.
27706 * sysdeps/sh/ldsodefs.h: Likewise.
27707 * sysdeps/sparc/ldsodefs.h: Likewise.
27708 * sysdeps/x86_64/ldsodefs.h: Likewise.
27709
27710 2012-07-25 Marek Polacek <polacek@redhat.com>
27711
27712 [BZ #6808]
27713 * math/libm-test.inc (yn_test): Add another test.
27714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27715 to ERANGE when the result is +-Inf.
27716 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27717 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27718 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27719 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27720
27721 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27722
27723 * conform/data/time.h-data (NULL): Use macro-constant. Require
27724 equal to 0.
27725 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27726 clock_t.
27727 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27728
27729 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27730
27731 * configure.in <sysdeps resolving>: Correct printing
27732 Implies_before.
27733 * configure: Regenerate.
27734
27735 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27736
27737 * math/w_ilogb.c: Include <limits.h>.
27738 * math/w_ilogbl.c: Likewise.
27739
27740 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27741
27742 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27743 va_copy. Document allowing for unavailable va_copy only as
27744 pre-C99 compatibility.
27745 * manual/string.texi (Copying and Concatenation): Use va_copy
27746 instead of __va_copy in concat example.
27747
27748 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27749
27750 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27751 (__sendto): Use create_address_port. Initialize APORT and deallocate
27752 it if not null.
27753
27754 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27755 with O_NOLINK passed to __file_name_lookup.
27756
27757 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27758 with O_NOLINK passed to __file_name_lookup.
27759
27760 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27761 negative N or less than NGIDS.
27762
27763 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27764 type to string_t. Set ERANGE as errno and return it if NAME is not big
27765 enough. Use memcpy instead of strncpy.
27766
27767 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27768
27769 * elf/Makefile (check-data): Remove.
27770 (localplt.data): New vpath directive.
27771 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27772 instead of $(check-data).
27773 * scripts/data/localplt-generic.data: Move to ...
27774 * sysdeps/generic/localplt.data: ... here.
27775 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27776 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27777 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27779 ... here.
27780 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27782 ... here.
27783 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27785 ... here.
27786 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27788 ... here.
27789 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27791 ... here.
27792 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27794 ... here.
27795
27796 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27797
27798 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27799 PPC32 and PPC64 files.
27800 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27801 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27802
27803 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27804
27805 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27806 __makecontext_ret to ...
27807 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27808 ... here and call exit if uc_link is NULL. New file.
27809 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27810 __makecontext_ret.S.
27811 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27812 __makecontext_ret to ...
27813 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27814 ... here and call exit if uc_link is NULL. New file.
27815 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27816 __makecontext_ret.S.
27817
27818 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27819
27820 * elf/elf.h (R_390_IRELATIVE): New definition.
27821 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27822 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27823 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27824 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27825 (elf_machine_lazy_rel): Likewise.
27826 * sysdeps/s390/dl-irel.h: New file.
27827 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27828 * sysdeps/s390/s390-64/memset.S: New asm code.
27829 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27830 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27831 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27832 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27833 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27834 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27835 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27836 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27837 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27838 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27839 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27840 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27841 * sysdeps/s390/s390-32/memset.S: New asm code.
27842 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27843
27844 2012-07-17 Marek Polacek <polacek@redhat.com>
27845
27846 [BZ #14349]
27847 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27848 * sysdeps/s390/s390-64/configure.in: Likewise.
27849 * sysdeps/sparc/configure.in: Likewise.
27850 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27851 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27852 * sysdeps/i386/configure.in: Likewise.
27853 * sysdeps/x86_64/configure.in: Likewise.
27854 * sysdeps/sh/configure.in: Likewise.
27855 * sysdeps/s390/s390-32/configure: Regenerated.
27856 * sysdeps/s390/s390-64/configure: Likewise.
27857 * sysdeps/x86_64/configure: Likewise.
27858 * sysdeps/sh/configure: Likewise.
27859 * sysdeps/powerpc/powerpc64/configure: Likewise.
27860 * sysdeps/powerpc/powerpc32/configure: Likewise.
27861 * sysdeps/sparc/configure: Likwise.
27862 * sysdeps/i386/configure: Likewise.
27863
27864 * elf/dl-open.c: Comment fixes.
27865
27866 2012-07-17 Joseph Myers <joseph@codesourcery.com>
27867
27868 * Makefile [CXX] (check-data): Remove.
27869 [CXX] (c++-types.data): New vpath directive.
27870 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27871 vpath. Do not allow for C++ type data being missing.
27872 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27873 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27874 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27875 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27876 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27877 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27878 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27880 ... here.
27881 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27883 ... here.
27884 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27886 ... here.
27887 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27889 ... here.
27890 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27892 ... here.
27893 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27895 ... here.
27896 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27898 ... here.
27899 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27901
27902 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27903 definitions to architecture-specific files.
27904 (TLS_IE): Likewise.
27905 (TLS_LD): Likewise.
27906 (TLS_GD): Likewise.
27907 * sysdeps/i386/tls-macros.h: New file.
27908 * sysdeps/powerpc/tls-macros.h: Likewise.
27909 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27910 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27911 * sysdeps/sh/tls-macros.h: Likewise.
27912 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27913 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27914 * sysdeps/x86_64/tls-macros.h: Likewise.
27915
27916 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27917
27918 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27919 zero value for regular exit case.
27920
27921 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27922 (__start_context): Preserve zero value for regular exit case.
27923
27924 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27925 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27926
27927 * manual/setjmp.texi (setcontext): Clarify normal process
27928 termination when uc_link is the null pointer.
27929 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27930 exit call.
27931
27932 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27933
27934 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27935 preprocessor. Test for each exception mask separately.
27936
27937 2012-07-16 Andreas Jaeger <aj@suse.de>
27938
27939 * po/ru.po: Update from translation team.
27940
27941 2012-07-15 Joseph Myers <joseph@codesourcery.com>
27942
27943 * conform/data/string.h-data (NULL): Use macro-constant. Require
27944 equal to 0.
27945 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27946 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27947 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27948 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27949 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27950
27951 2012-07-13 Andreas Jaeger <aj@suse.de>
27952
27953 * po/fr.po: Update from translation team.
27954
27955 2012-07-12 Marek Polacek <polacek@redhat.com>
27956
27957 [BZ #14173]
27958 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27959 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27960 loop condition.
27961
27962 2012-07-12 Joseph Myers <joseph@codesourcery.com>
27963
27964 [BZ #13717]
27965 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27966 Change to 2.4.1 where previously 2.4.0.
27967 * sysdeps/unix/sysv/linux/configure: Regenerated.
27968 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27969 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27970 version.
27971 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27972 (__ASSUME_AT_CLKTCK): Remove.
27973 (__ASSUME_AT_PAGESIZE): Likewise.
27974 (__ASSUME_AT_XID): Likewise.
27975 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27976 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27977 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27978 unconditionally.
27979 (HAVE_AUX_PAGESIZE): Likewise.
27980 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27981 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27982 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27983
27984 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27985
27986 [BZ #14307]
27987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27988 the temporary buffer used to invoke __gethostbyname2_r,
27989 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27990 host_data / struct gaih_addrtuple.
27991 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27992 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27993 header file nss/nsswitch.h.
27994 * nss/nsswitch.h (global scope): Add definition of implementation
27995 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27996 resolv/nss_dns/dns-host.c).
27997
27998 2012-07-11 Andreas Jaeger <aj@suse.de>
27999
28000 * po/fr.po: Update from translation team.
28001
28002 * po/sv.po: Update from translation team
28003 * po/fr.po: Another update from translation team.
28004
28005 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28006
28007 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28008 for subnormals or multiply small sinh result by itself.
28009 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28011
28012 2012-07-11 David S. Miller <davem@davemloft.net>
28013
28014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28015
28016 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28017
28018 [BZ #14347]
28019 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28020 (INTERNAL_MARK): Shift it here.
28021
28022 2012-07-10 Marek Polacek <polacek@redhat.com>
28023
28024 [BZ #14151]
28025 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28026 libc_cv_asm_global_directive with .globl.
28027 * configure: Regenerated.
28028 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28029 with .globl.
28030 * sysdeps/i386/configure: Regenerated.
28031 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28032 with .globl.
28033 * sysdeps/x86_64/configure: Regenerated.
28034 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28035 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28036 * elf/tst-unique2mod2.c: Likewise.
28037 * elf/tst-unique2mod1.c: Likewise.
28038 * elf/tst-unique1mod2.c: Likewise.
28039 * elf/tst-unique1mod1.c: Likewise.
28040 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28041 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28042 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28043 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28044 * sysdeps/mach/sysdep.h: Likewise.
28045 * sysdeps/i386/sysdep.h: Likewise.
28046 * sysdeps/i386/i386-mcount.S: Likewise.
28047 * sysdeps/x86_64/_mcount.S: Likewise.
28048 * sysdeps/x86_64/sysdep.h: Likewise.
28049 * sysdeps/sh/_mcount.S: Likewise.
28050 * sysdeps/sh/sysdep.h: Likewise.
28051 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28052 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28053 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28054 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28055 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28056 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28057 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28058 * locale/localeinfo.h: Likewise.
28059 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28060 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28061
28062 2012-07-09 Roland McGrath <roland@hack.frob.com>
28063
28064 [BZ #14336]
28065 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28066 system".
28067 * manual/message.texi (The Uniforum approach): Likewise.
28068 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28069 (glibc iconv Implementation): Likewise.
28070
28071 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28072
28073 [BZ #14337]
28074 * math/s_clog.c (__clog): Avoid scaling a value down where that
28075 could result in underflow.
28076 * math/s_clog10.c (__clog10): Likewise.
28077 * math/s_clog10f.c (__clog10f): Likewise.
28078 * math/s_clog10l.c (__clog10l): Likewise.
28079 * math/s_clogf.c (__clogf): Likewise.
28080 * math/s_clogl.c (__clogl): Likewise.
28081 * math/libm-test.inc (clog_test): Add more tests.
28082 (clog10_test): Likewise.
28083 * sysdeps/i386/fpu/libm-test-ulps: Update.
28084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28085
28086 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28087
28088 [BZ #14283]
28089 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28090 by 7 not 8 to examine high bit of fractional part.
28091
28092 [BZ #14042]
28093 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28094 for call to __mcount_internal.
28095 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28096 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28097 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28098
28099 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28100
28101 [BZ #14154]
28102 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28103 approximation for values within 0x1p-13f of an odd multiple of
28104 pi/4.
28105 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28106 exception. Add more tests.
28107 * sysdeps/i386/fpu/libm-test-ulps: Update.
28108
28109 [BZ #6778]
28110 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28111 inputs and return -1 for them. Do not check for +Inf in case not
28112 reachable for +Inf.
28113 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28114 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28115 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28116 and return -1 for them. Do not check for +Inf in case not
28117 reachable for +Inf.
28118 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28119 define.
28120 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28121 and return -1 for them. Do not check for +Inf in case not
28122 reachable for +Inf.
28123 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28124 spurious underflow.
28125 * sysdeps/i386/fpu/libm-test-ulps: Update.
28126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28127
28128 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28129
28130 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28131
28132 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28133
28134 [BZ #14157]
28135 [BZ #14331]
28136 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28137 could result in spurious underflow. Scale down values above
28138 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28139 * math/s_csqrtf.c (__csqrtf): Likewise.
28140 * math/s_csqrtl.c (__csqrtl): Likewise.
28141 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28142 spurious underflow.
28143 * sysdeps/i386/fpu/libm-test-ulps: Update.
28144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28145
28146 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28147
28148 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28149 xopen-msg.sed.
28150 * catgets/xopen-msg.awk: New file.
28151 * catgets/xopen-msg.sed: Removed.
28152
28153 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28154 po2text.sed.
28155 * intl/po2test.awk: New file.
28156 * intl/po2test.sed: Removed.
28157
28158 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28159
28160 [BZ #14328]
28161 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28162 or multiply small sinh result by itself.
28163 * math/s_ctanf.c (__ctanf): Likewise.
28164 * math/s_ctanh.c (__ctanh): Likewise.
28165 * math/s_ctanhf.c (__ctanhf): Likewise.
28166 * math/s_ctanhl.c (__ctanhl): Likewise.
28167 * math/s_ctanl.c (__ctanl): Likewise.
28168 * math/libm-test.inc (ctan_test_tonearest): New function.
28169 (ctan_test_towardzero): Likewise.
28170 (ctan_test_downward): Likewise.
28171 (ctan_test_upward): Likewise.
28172 (ctanh_test_tonearest): Likewise.
28173 (ctanh_test_towardzero): Likewise.
28174 (ctanh_test_downward): Likewise.
28175 (ctanh_test_upward): Likewise.
28176 (main): Call these new functions.
28177 * sysdeps/i386/fpu/libm-test-ulps: Update.
28178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28179
28180 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28181
28182 * .gitignore: Delete /ports entry.
28183
28184 2012-07-03 Andreas Jaeger <aj@suse.de>
28185
28186 * po/bg.po: Update from translation team.
28187 * po/cs.po: Likewise.
28188 * po/de.po: Likewise.
28189 * po/hr.po: Likewise.
28190 * po/nl.pl: Likewise.
28191 * po/pl.po: Likewise.
28192 * po/vi.po: Likewise.
28193
28194 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28195
28196 * Makeconfig [!+link] (+link-before-libc): New variable.
28197 [!+link] (+link-after-libc): Likewise.
28198 [!+link] (+link-tests): Likewise.
28199 [!+link] (+link): Define in terms of $(+link-before-libc) and
28200 $(+link-after-libc).
28201 [!+link-static] (+link-static-before-libc): New variable.
28202 [!+link-static] (+link-static-after-libc): Likewise.
28203 [!+link-static] (+link-static-tests): Likewise.
28204 [!+link-static] (+link-static): Define in terms of
28205 $(+link-static-before-libc) and $(+link-static-after-libc).
28206 [build-shared] (link-libc-before-gnulib): New variable.
28207 [build-shared] (link-libc-tests): Likewise.
28208 [build-shared] (link-libc): Define in terms of
28209 $(link-libc-before-gnulib).
28210 [!build-shared] (link-libc-tests): New variable.
28211 (link-libc-static-tests): New variable.
28212 [!gnulib] (gnulib-arch): New variable.
28213 [!gnulib] (gnulib-tests): Likewise.
28214 [!gnulib] (static-gnulib-arch): Likewise.
28215 [!gnulib] (static-gnulib-tests): Likewise.
28216 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28217 Define with "=" instead of ":=".
28218 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28219 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28220 * Rules (binaries-all-notests): New variable.
28221 (binaries-all-tests): Likewise.
28222 (binaries-static-notests): Likewise.
28223 (binaries-static-tests): Likewise.
28224 (binaries-all): Define using $(binaries-all-notests) and
28225 $(binaries-all-tests).
28226 (binaries-static): Define using $(binaries-static-notests) and
28227 $(binaries-static-tests).
28228 (binaries-shared-tests): New variable.
28229 (binaries-shared-notests): Likewise.
28230 (binaries-shared): Remove variable.
28231 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28232 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28233 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28234 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28235 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28236 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28237 * elf/Makefile (sln-modules): New variable.
28238 (extra-objs): Add $(sln-modules:=.o).
28239 (ldconfig-modules): Add static-stubs.
28240 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28241 * elf/static-stubs.c: New file.
28242
28243 [BZ #14283]
28244 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28245 by 7 not 8 to examine high bit of fractional part. Use volatile
28246 variables when splitting into final array of floats if
28247 __FLT_EVAL_METHOD__ != 0.
28248 * math/libm-test.inc (cos_test): Add another test.
28249 (sin_test): Likewise.
28250 * sysdeps/i386/fpu/libm-test-ulps: Update.
28251
28252 [BZ #14273]
28253 * math/libm-test.inc (cosh_test): Add more tests.
28254
28255 * version.h (RELEASE): Set to "development".
28256 (VERSION): Set to "2.16.90".
28257
28258 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28259
28260 * NEWS: Update copyright. Remove last-updated date.
28261 Mention math library bug fixes and timezone data changes.
28262 * README: Mention GNU/Hurd, x32, and HPPA support status.
28263
28264 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28265
28266 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28267
28268 2012-06-27 Andreas Jaeger <aj@suse.de>
28269
28270 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28271
28272 2012-06-25 Andreas Jaeger <aj@suse.de>
28273
28274 * sysdeps/s390/fpu/libm-test-ulps: Update.
28275
28276 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28277 Thomas Schwinge <thomas@codesourcery.com>
28278
28279 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28280 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28281 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28282 fanotify_mark.
28283
28284 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28285
28286 * sysdeps/mach/start.c: Remove file.
28287 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28288 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28289 * sysdeps/sh/init-first.c: Likewise.
28290
28291 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28292 registers for frame unwinding purposes, add CFI directives.
28293 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28294 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28295 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28296 Likewise.
28297
28298 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28299 __fortify_fail returning.
28300 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28301
28302 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28303 sysdeps/sh/____longjmp_chk.S.
28304 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28305 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28306 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28307 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28308
28309 * sysdeps/sh/abort-instr.h: New file.
28310 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28311 process in case exit returns.
28312
28313 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28314 initialize the GOT register before use.
28315
28316 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28317 calculation of ARGC > 4.
28318
28319 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28320 meaningful names to some local labels.
28321
28322 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28323 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28324
28325 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28326 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28327 (__arch_compare_and_exchange_val_16_acq): Likewise.
28328 (__arch_compare_and_exchange_val_32_acq): Likewise.
28329 (atomic_exchange_and_add): Fix gUSA sequence.
28330 (atomic_add): Likewise.
28331 (atomic_add_negative): Likewise.
28332 (atomic_add_zero): Likewise.
28333 (atomic_bit_test_set): Likewise.
28334
28335 2012-06-22 Andreas Schwab <schwab@redhat.com>
28336
28337 [BZ #13579]
28338 * include/link.h (struct link_map): Add l_free_initfini.
28339 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28340 l_initfini.
28341 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28342 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28343 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28344 set.
28345
28346 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28347
28348 * configure.in: Use AC_LANG_SOURCE.
28349 * configure: Regenerate.
28350
28351 2012-06-22 Roland McGrath <roland@hack.frob.com>
28352
28353 * configure.in (libc_cv_localstatedir): New substituted variable.
28354 * configure: Regenerated.
28355 * config.make.in (localstatedir): New variable, substituted from
28356 libc_cv_localstatedir.
28357 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28358 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28359 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28360 * sysdeps/gnu/configure: Regenerated.
28361
28362 2012-06-21 Jeff Law <law@redhat.com>
28363
28364 [BZ #14277]
28365 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28366 free. Simplify list management for _LIBC case.
28367
28368 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28369
28370 [BZ #14273]
28371 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28372 Clear sign bit of 64-bit integer value before comparing against
28373 overflow value.
28374
28375 * sysdeps/mach/configure: Regenerated.
28376
28377 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28378
28379 [BZ #14278]
28380 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28381
28382 2012-06-21 Jeff Law <law@redhat.com>
28383
28384 [BZ #13882]
28385 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28386 uint16_t for elements in the "seen" array to avoid char overflows.
28387 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28388 * elf/dl-open.c (dl_open_worker): Likewise.
28389
28390 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28391
28392 * scripts/list-sources.sh: Scan PORTS for translations.
28393 * po/libc.pot: Regenerated.
28394
28395 2012-06-21 Andreas Jaeger <aj@suse.de>
28396
28397 [BZ #12194]
28398 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28399 warning.
28400 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28401 * bits/byteswap-16.h (__bswap_16): Likewise.
28402 * bits/byteswap.h (__bswap_constant_16): Likewise.
28403
28404 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28405
28406 [BZ #14117]
28407 * sysdeps/i386/fpu_control.h: Removed.
28408 * sysdeps/x86_64/fpu_control.h: Moved to ...
28409 * sysdeps/x86/fpu_control.h: Here.
28410
28411 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28412 (_FPU_SETCW): Likewise.
28413
28414 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28415
28416 [BZ #14117]
28417 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28418 * sysdeps/x86/fpu/bits/mathinline.h: This.
28419 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28420
28421 [BZ #14050]
28422 [BZ #14117]
28423 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28424 functions if __x86_64__ is defined.
28425
28426 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28427
28428 * string/endian.h: Add !__ASSEMBLER__ condition for including
28429 conversion interfaces.
28430
28431 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28432
28433 [BZ #14241]
28434 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28435 of ABS(x) in calculating zero to negative powers other than odd
28436 integers.
28437 * math/libm-test.inc (pow_test): Add more tests.
28438
28439 2012-06-15 Andreas Jaeger <aj@suse.de>
28440
28441 * manual/contrib.texi (Contributors): Update entry of Liubov
28442 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28443 Machado Filho.
28444
28445 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28446
28447 * string/string.h: Add __wur to GNU version of strerror_r.
28448
28449 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28450
28451 [BZ #14229]
28452 * string/Makefile (tests): Add tst-strtok_r.
28453 * string/tst-strtok_r.c: New file.
28454 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28455 RAX_LP/RDX_LP on SAVE_PTR.
28456
28457 2012-06-14 Roland McGrath <roland@hack.frob.com>
28458
28459 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28460
28461 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28462
28463 * libm_test.inc (csqrt_test): Allow more spurious underflow
28464 exceptions.
28465 (j0_test): Likewise.
28466 (j1_test): Likewise.
28467 (y0_test): Likewise.
28468 (y1_test): Likewise.
28469
28470 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28471
28472 * po/Makefile (libc.pot): Use UTF-8 charset.
28473
28474 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28475
28476 [BZ #14210]
28477 Suppress sign-conversion warning from FD_SET.
28478 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28479 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28480 not unsigned long int.
28481 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28482
28483 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28484
28485 [BZ #14050]
28486 [BZ #14117]
28487 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28488 __extern_always_inline instead of __extern_inline.
28489 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28490 (__signbit): Likewise.
28491 (__signbitl): Support C++ namespace.
28492 (lrintf): New inline function.
28493 (lrint): Likewise.
28494 (llrintf): Likewise.
28495 (llrint): Likewise.
28496 (fmaxf): Likewise.
28497 (fmax): Likewise.
28498 (fminf): Likewise.
28499 (fmin): Likewise.
28500 (rint): Likewise.
28501 (rintf): Likewise.
28502 (ceil): Likewise.
28503 (ceilf): Likewise.
28504 (floor): Likewise.
28505 (floorf): Likewise.
28506 (nearbyint): Likewise.
28507 (nearbyintf): Likewise.
28508
28509 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28510
28511 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28512 non-default versions.
28513
28514 2012-06-11 Roland McGrath <roland@hack.frob.com>
28515
28516 [BZ #14218]
28517 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28518
28519 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28520
28521 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28522 (FE_UPWARD, FE_DOWNWARD): Don't define.
28523 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28524 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28525
28526 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28527 reading it.
28528 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28529 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28530
28531 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28532
28533 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28534 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28535 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28536 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28537
28538 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28539
28540 [BZ #14117]
28541 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28542 * sysdeps/i386/fpu/Implies: New file.
28543 * sysdeps/x86_64/fpu/Implies: Likewise.
28544 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28545 * sysdeps/x86/fpu/bits/fenv.h: This.
28546
28547 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28548 __SSE_MATH__.
28549
28550 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28551
28552 [BZ #14134]
28553 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28554 character 0xffff that matches the last element of the
28555 conversion table.
28556
28557 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28558
28559 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28560 fmodl commit.
28561
28562 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28563
28564 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28565 values higher than 25.6283.
28566
28567 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28568
28569 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28570 subnormal exponent extraction and add some __builtin_expect.
28571 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28572 Fix for subnormal mantissa calculation.
28573
28574 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28575
28576 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28577 cpu2 is -1 and errno is not ENOSYS.
28578
28579 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28580
28581 [BZ #14117]
28582 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28583 * sysdeps/x86/bits/string.h: This.
28584 * sysdeps/x86_64/bits/string.h: Removed.
28585
28586 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28587 if not compiling for x86-64, but compiling for >= i486.
28588
28589 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28590 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28591
28592 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28593 New macro from Linux kernel 3.4.0.
28594 (FP_XSTATE_MAGIC2): Likewise.
28595 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28596 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28597 (struct _fpx_sw_bytes): New struct.
28598 (struct _xsave_hdr): Likewise.
28599 (struct _ymmh_state): Likewise.
28600 (struct _xstate): Likewise.
28601
28602 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28603 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28604 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28605 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28606 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28607 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28608
28609 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28610 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28611 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28612 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28613 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28614 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28615
28616 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28617
28618 [BZ #13743]
28619 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28620 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28621 (sysdep_headers): Include sys/platform/ppc.h.
28622 * sysdeps/powerpc/test-gettimebase.c: Test for
28623 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28624 * manual/Makefile (appendices): Include platform.texi.
28625 * manual/contrib.texi (Contributors): Update @node pointers.
28626 * manual/maint.texi (Maintenance): Likewise.
28627 (Platform): New node.
28628 * manual/platform.texi: New file. Document the new features.
28629
28630 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28631 Jakub Jelinek <jakub@redhat.com>
28632
28633 [BZ #14188]
28634 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28635 where __builtin_expect is unavailable.
28636
28637 2012-06-03 David S. Miller <davem@davemloft.net>
28638
28639 * stdlib/longlong.h: Updated from GCC.
28640
28641 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28642
28643 [BZ #14042]
28644 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28645 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28646 __mcount_internal.
28647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28648 (GLIBC_2.16): Likewise.
28649
28650 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28651
28652 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28653
28654 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28655
28656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28657 (default-abi): New variable.
28658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28659 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28660 variable.
28661 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28662 Likewise.
28663 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28664 Likewise.
28665 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28666 Likewise.
28667
28668 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28669 definition. Document in comment.
28670
28671 2012-06-01 David S. Miller <davem@davemloft.net>
28672
28673 * stdlib/longlong.h: Updated from GCC.
28674
28675 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28676
28677 [BZ #14117]
28678 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28679 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28680 sys/debugreg.h sys/io.h here.
28681 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28682 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28683 sys/io.h.
28684 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28685 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28686 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28687 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28688 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28689 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28690
28691 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28692 Define only if __x86_64__ is defined.
28693
28694 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28695
28696 [BZ #14048]
28697 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28698 Use int64_t for variable i.
28699 * math/libm-test.inc (fmod_test): Add more tests.
28700
28701 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28702 z computation is not scheduled after fetestexcept.
28703 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28704 Use math_force_eval instead of asm to ensure calculation scheduled
28705 before exception test.
28706 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28707 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28708
28709 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28710
28711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28712 computation is not scheduled after fetestexcept.
28713
28714 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28715
28716 [BZ #14117]
28717 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28718 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28719
28720 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28721
28722 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28723 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28724
28725 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28726
28727 [BZ #14117]
28728 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28729 <bits/wordsize.h>.
28730 (__WCHAR_MIN): Support __WORDSIZE == 64.
28731 (__WCHAR_MAX): Likewise.
28732
28733 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28734 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28735
28736 [BZ #14183]
28737 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28738 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28739
28740 [BZ #14117]
28741 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28742 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28743
28744 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28745 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28746
28747 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28748 Defined to 1 if __x86_64__ isn't defined.
28749 (_STAT_VER_LINUX_OLD): New.
28750 (st_atime): Remove duplicate.
28751 (st_mtime): Likewise.
28752 (st_ctime): Likewise.
28753
28754 2012-05-31 David S. Miller <davem@davemloft.net>
28755
28756 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28757 entries.
28758
28759 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28760
28761 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28762 gen-libm-test.pl.
28763
28764 [BZ #14132]
28765 * elf/dl-reloc.c: Include <_itoa.h>.
28766 (_dl_reloc_bad_type): Remove use of INTUSE.
28767 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28768 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28769 * stdio-common/psiginfo.c (psiginfo): Likewise.
28770 * stdio-common/psignal.c (psignal): Likewise.
28771 * string/strsignal.c (strsignal): Likewise.
28772 * include/signal.h (_sys_siglist): Declare hidden proto.
28773 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28774 INTVARDEF with libc_hidden_data_def.
28775 * stdio-common/itoa-udigits.c: Likewise.
28776 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28777 (_itoa_lower_digits_internal): Remove declaration.
28778 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28779 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28780 (_sys_sigabbrev_internal): Remove aliases.
28781 (_sys_siglist): Define hidden alias.
28782
28783 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28784
28785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28786 bits/sysctl.h.
28787
28788 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28789
28790 [BZ #14117]
28791 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28792 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28793
28794 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28795 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28796 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28797 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28798 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28799 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28800
28801 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28802 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28803 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28804
28805 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28806 with __addr.
28807 (insw): Likewise.
28808 (insl): Likewise.
28809 (outsb): Likewise.
28810 (outsw): Likewise.
28811 (outsl): Likewise.
28812
28813 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28814 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28815 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28816
28817 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28818 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28819 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28820 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28821 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28822 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28823
28824 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28825 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28826
28827 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28828 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28829
28830 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28831 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28832 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28833
28834 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28835 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28836 to ...
28837 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28838
28839 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28840 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28841 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28842
28843 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28844 for x86-64.
28845 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28846
28847 2012-05-31 Joseph Myers <joseph@codesourcery.com>
28848
28849 * math/math.h (M_El): Use two more decimal places.
28850 (M_LOG2El): Likewise.
28851 (M_LOG10El): Likewise.
28852 (M_LN2l): Likewise.
28853 (M_LN10l): Likewise.
28854 (M_PIl): Likewise.
28855 (M_PI_2l): Likewise.
28856 (M_PI_4l): Likewise.
28857 (M_1_PIl): Likewise.
28858 (M_2_PIl): Likewise.
28859 (M_2_SQRTPIl): Likewise.
28860 (M_SQRT2l): Likewise.
28861 (M_SQRT1_2l): Likewise.
28862
28863 2012-05-31 David S. Miller <davem@davemloft.net>
28864
28865 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28866 values between float registers.
28867 * sysdeps/sparc/sparc64/memset.S: Likewise.
28868 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28869
28870 2012-05-31 Mike Frysinger <vapier@gentoo.org>
28871
28872 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28873 -D_FORTIFY_SOURCE=1.
28874 (CPPFLAGS-tst-longjmp_chk.c): Define.
28875 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28876 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28877 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28878 CFLAGS-tst-wchar-h.c.
28879
28880 2012-05-31 Marek Polacek <polacek@redhat.com>
28881
28882 [BZ #14132]
28883 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28884 __endmntent_internal): Remove declaration.
28885 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28886 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28887 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28888
28889 2012-05-30 David S. Miller <davem@davemloft.net>
28890
28891 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28892 (___Q_simulate_exceptions): Use real FP ops rather than writing
28893 into the %fsr.
28894 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28895 Likewise.
28896
28897 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28898
28899 [BZ #14117]
28900 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28901 * sysdeps/x86/bits/xtitypes.h: This.
28902
28903 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28904 * sysdeps/x86/bits/wordsize.h: This.
28905
28906 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28907 * sysdeps/x86/bits/huge_vall.h: This.
28908
28909 * sysdeps/i386/bits/select.h: Removed.
28910 * sysdeps/x86_64/bits/select.h: Renamed to ...
28911 * sysdeps/x86/bits/select.h: This.
28912
28913 * sysdeps/i386/bits/setjmp.h: Removed.
28914 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28915 * sysdeps/x86/bits/setjmp.h: This.
28916
28917 * sysdeps/i386/bits/mathdef.h: Removed.
28918 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28919 * sysdeps/x86/bits/mathdef.h: This.
28920
28921 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28922
28923 [BZ #14132]
28924 * include/sys/socket.h (__connect_internal)
28925 (__libc_sa_len_internal): Remove declaration.
28926 (__connect, __libc_sa_len): Declare hidden_proto.
28927 (SA_LEN): Remove use of INTUSE.
28928 * socket/connect.c: Add libc_hidden_def.
28929 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28930 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28931 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28932 alias.
28933 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28934 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28935 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28936 of adding _internal alias.
28937
28938 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28939
28940 [BZ #14117]
28941 * sysdeps/i386/bits/link.h: Removed.
28942 * sysdeps/i386/bits/linkmap.h: Likewise.
28943 * sysdeps/x86_64/bits/link.h: Renamed to ...
28944 * sysdeps/x86/bits/link.h: This.
28945 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28946 * sysdeps/x86/bits/linkmap.h: This.
28947
28948 * sysdeps/i386/bits/endian.h: Removed.
28949 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28950 * sysdeps/x86/bits/endian.h: This.
28951
28952 * sysdeps/i386/bits/byteswap.h: Removed.
28953 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28954 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28955 * sysdeps/x86/bits/byteswap.h: This.
28956 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28957 * sysdeps/x86/bits/byteswap-16.h: This.
28958 * sysdeps/i386/Implies: Add x86.
28959 * sysdeps/x86_64/Implies: Likewise.
28960
28961 2012-05-30 David S. Miller <davem@davemloft.net>
28962
28963 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28964 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28965 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28966 (FP_TRAPPING_EXCEPTIONS): Define.
28967 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28968 (FP_TRAPPING_EXCEPTIONS): Define.
28969 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28970 subnormals only when inexact has been signalled or underflow
28971 exceptions are enabled.
28972 (_FP_PACK_CANONICAL): Likewise.
28973
28974 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28975
28976 [BZ #14183]
28977 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28978 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28979
28980 2012-05-30 Richard Henderson <rth@twiddle.net>
28981
28982 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28983 with #ifndef NOT_IN_libc.
28984
28985 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28986 marked to avoid plt entry.
28987
28988 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28989
28990 [BZ #14112]
28991 * Makeconfig (default-abi): New macro.
28992 (abi-includes): Likewise.
28993 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28994 $(abi-$(default-abi)-lib-soname) for soname if defined.
28995 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28996 abi-variants.
28997 * Makefile (installed-stubs): Likewise.
28998 * include/stubs-biarch.h: Removed.
28999 * scripts/lib-names.awk: Only handle one library at a time.
29000 * scripts/soversions.awk: Remove WORDSIZE support.
29001 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29002 entries.
29003 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29004 Removed.
29005 (syscall-list-default-condition): Likewise.
29006 (syscall-list-default-condition): Likewise.
29007 (syscall-list-includes): Likewise.
29008 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29009 syscall-list-* with abi-*. Handle undefined abi-variants.
29010 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29011 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29012 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29013 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29014 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29015 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29016 Removed.
29017 (syscall-list-32-options): Likewise.
29018 (syscall-list-32-condition): Likewise.
29019 (syscall-list-64-options): Likewise.
29020 (syscall-list-64-condition): Likewise.
29021 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29022 macro.
29023 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29024 Renamed to ...
29025 (abi-*): This.
29026 (abi-64-ld-soname): New macro.
29027 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29028 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29029 Renamed to ...
29030 (abi-*): This.
29031 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29032 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29033
29034 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29035
29036 * sysdeps/unix/sysv/linux/kernel-features.h
29037 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29038 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29039 include <kernel-features.h>.
29040 [!__NR_ftruncate64]: Remove conditional code.
29041 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29042 [__NR_ftruncate64]: Make code unconditional.
29043 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29044 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29045 include <kernel-features.h>.
29046 [!__NR_ftruncate64]: Remove conditional code.
29047 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29048 [__NR_ftruncate64]: Make code unconditional.
29049 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29051 include <kernel-features.h>.
29052 [!__NR_ftruncate64]: Remove conditional code.
29053 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29054 [__NR_ftruncate64]: Make code unconditional.
29055 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29057 include <kernel-features.h>.
29058 [!__NR_ftruncate64]: Remove conditional code.
29059 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29060 [__NR_ftruncate64]: Make code unconditional.
29061 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29062
29063 * configure.in (libc_cv_fpie): Weaken to a compile test using
29064 LIBC_TRY_CC_OPTION.
29065 * configure: Regenerated.
29066
29067 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29068
29069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29073 Refreshed.
29074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29080 Refreshed.
29081
29082 2012-05-27 David S. Miller <davem@davemloft.net>
29083
29084 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29085 (___Q_zero): New.
29086 (__Q_simulate_exceptions): Return void. Change to simulate
29087 exceptions by writing into the %fsr.
29088 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29089 (__Qp_handle_exceptions): Likewise.
29090 (numbers): Delete.
29091 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29092 __Qp_handle_exceptions.
29093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29094 __Qp_handle_exceptions.
29095 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29096 as unused and give dummy FP_RND_NEAREST initializer.
29097 (FP_INHIBIT_RESULTS): Define.
29098 (___Q_simulate_exceptions): Update declaration.
29099 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29100 formatting.
29101 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29102 as unused and give dummy FP_RND_NEAREST initializer.
29103 (__Qp_handle_exceptions): Update declaration.
29104 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29105 formatting.
29106
29107 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29108
29109 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29110 the temporary FPU control word.
29111 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29112 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29113 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29114 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29115 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29116 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29117 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29118 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29119 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29120 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29121 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29122
29123 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29124
29125 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29126 fields.
29127
29128 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29129
29130 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29131 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29132 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29133 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29134 Likewise.
29135 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29136 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29137 Likewise.
29138
29139 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29140
29141 * po/h.po: Update from translation team.
29142
29143 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29144
29145 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29146
29147 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29148 handling of denormals.
29149 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29150 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29151 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29152 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29155 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29156 Likewise.
29157
29158 2012-05-26 Marek Polacek <polacek@redhat.com>
29159
29160 [BZ #14152]
29161 * math/libm-test.inc (fma_test): Don't always expect underflow
29162 exception.
29163
29164 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29165
29166 [BZ #12416]
29167 * elf/tst-execstack.c: Include stackinfo.h.
29168 (do_test): Adjust test case to ensure that pthread_getattr_np
29169 behaviour remains the same after marking stack executable.
29170
29171 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29172
29173 * sysdeps/unix/sysv/linux/kernel-features.h
29174 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29175 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29176 kernel-features.h.
29177 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29178 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29179 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29180 kernel-features.h.
29181 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29182 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29183
29184 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29185
29186 * configure.in: Define the default includes to being none.
29187 * configure: Regenerated.
29188
29189 2012-05-25 Roland McGrath <roland@hack.frob.com>
29190
29191 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29192 * sysdeps/x86_64/setjmp.S: Likewise.
29193 * sysdeps/i386/bsd-setjmp.S: Likewise.
29194 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29195 * sysdeps/i386/setjmp.S: Likewise.
29196 * sysdeps/i386/__longjmp.S: Likewise.
29197 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29198 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29199
29200 * include/stap-probe.h: New file.
29201 * configure.in: Handle --enable-systemtap.
29202 * configure: Regenerated.
29203 * config.h.in (USE_STAP_PROBE): New #undef.
29204 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29205 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29206 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29207
29208 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29209
29210 [BZ #13717]
29211 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29212 to 2.4.0 where earlier.
29213 * sysdeps/unix/sysv/linux/configure: Regenerated.
29214 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29215 <kernel-features.h>.
29216 [__ASSUME_32BITUIDS]: Make code unconditional.
29217 [!__ASSUME_32BITUIDS]: Remove conditional code.
29218 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29219 <kernel-features.h>.
29220 [__ASSUME_32BITUIDS]: Make code unconditional.
29221 [!__ASSUME_32BITUIDS]: Remove conditional code.
29222 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29223 [__ASSUME_32BITUIDS]: Make code unconditional.
29224 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29225 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29226 <kernel-features.h>.
29227 [__ASSUME_32BITUIDS]: Make code unconditional.
29228 [!__ASSUME_32BITUIDS]: Remove conditional code.
29229 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29230 <kernel-features.h>.
29231 [__ASSUME_32BITUIDS]: Make code unconditional.
29232 [!__ASSUME_32BITUIDS]: Remove conditional code.
29233 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29234 <kernel-features.h>.
29235 [__ASSUME_32BITUIDS]: Make code unconditional.
29236 [!__ASSUME_32BITUIDS]: Remove conditional code.
29237 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29238 <kernel-features.h>.
29239 [__ASSUME_32BITUIDS]: Make code unconditional.
29240 [!__ASSUME_32BITUIDS]: Remove conditional code.
29241 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29242 <kernel-features.h>.
29243 [__ASSUME_32BITUIDS]: Make code unconditional.
29244 [!__ASSUME_32BITUIDS]: Remove conditional code.
29245 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29246 <kernel-features.h>.
29247 [__ASSUME_32BITUIDS]: Make code unconditional.
29248 [!__ASSUME_32BITUIDS]: Remove conditional code.
29249 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29250 <kernel-features.h>.
29251 [__ASSUME_32BITUIDS]: Make code unconditional.
29252 [!__ASSUME_32BITUIDS]: Remove conditional code.
29253 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29254 <kernel-features.h>.
29255 [__ASSUME_32BITUIDS]: Make code unconditional.
29256 [!__ASSUME_32BITUIDS]: Remove conditional code.
29257 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29258 <kernel-features.h>.
29259 [__ASSUME_32BITUIDS]: Make code unconditional.
29260 [!__ASSUME_32BITUIDS]: Remove conditional code.
29261 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29262 <kernel-features.h>.
29263 [__ASSUME_32BITUIDS]: Make code unconditional.
29264 [!__ASSUME_32BITUIDS]: Remove conditional code.
29265 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29266 <kernel-features.h>.
29267 [__NR_setresgid] (__setresgid): Do not declare.
29268 [__ASSUME_32BITUIDS]: Make code unconditional.
29269 [!__ASSUME_32BITUIDS]: Remove conditional code.
29270 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29271 <kernel-features.h>.
29272 [__NR_setresuid] (__setresuid): Do not declare.
29273 [__ASSUME_32BITUIDS]: Make code unconditional.
29274 [!__ASSUME_32BITUIDS]: Remove conditional code.
29275 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29276 <kernel-features.h>.
29277 [__ASSUME_32BITUIDS]: Make code unconditional.
29278 [!__ASSUME_32BITUIDS]: Remove conditional code.
29279 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29280 <kernel-features.h>.
29281 [__ASSUME_32BITUIDS]: Make code unconditional.
29282 [!__ASSUME_32BITUIDS]: Remove conditional code.
29283 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29284 <kernel-features.h>.
29285 [__ASSUME_32BITUIDS]: Make code unconditional.
29286 [!__ASSUME_32BITUIDS]: Remove conditional code.
29287 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29288 <kernel-features.h>.
29289 [__ASSUME_32BITUIDS]: Make code unconditional.
29290 [!__ASSUME_32BITUIDS]: Remove conditional code.
29291 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29292 <kernel-features.h>.
29293 [__ASSUME_32BITUIDS]: Make code unconditional.
29294 [!__ASSUME_32BITUIDS]: Remove conditional code.
29295 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29296 <kernel-features.h>.
29297 [__ASSUME_32BITUIDS]: Make code unconditional.
29298 [!__ASSUME_32BITUIDS]: Remove conditional code.
29299 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29300 <kernel-features.h>.
29301 [__ASSUME_32BITUIDS]: Make code unconditional.
29302 [!__ASSUME_32BITUIDS]: Remove conditional code.
29303 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29304 <kernel-features.h>.
29305 [__ASSUME_32BITUIDS]: Make code unconditional.
29306 [!__ASSUME_32BITUIDS]: Remove conditional code.
29307 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29308 <kernel-features.h>.
29309 [__ASSUME_32BITUIDS]: Make code unconditional.
29310 [!__ASSUME_32BITUIDS]: Remove conditional code.
29311 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29312 <kernel-features.h>.
29313 [__ASSUME_32BITUIDS]: Make code unconditional.
29314 [!__ASSUME_32BITUIDS]: Remove conditional code.
29315 * sysdeps/unix/sysv/linux/kernel-features.h
29316 (__ASSUME_SETRESUID_SYSCALL): Remove.
29317 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29318 (__ASSUME_32BITUIDS): Likewise.
29319 (__ASSUME_LDT_WORKS): Likewise.
29320 (__ASSUME_O_DIRECTORY): Likewise.
29321 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29322 architecture but not kernel version.
29323 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29324 (__ASSUME_MMAP2_SYSCALL): Likewise.
29325 (__ASSUME_STAT64_SYSCALL): Likewise.
29326 (__ASSUME_IPC64): Likewise.
29327 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29328 <kernel-features.h>.
29329 [__ASSUME_32BITUIDS]: Make code unconditional.
29330 [!__ASSUME_32BITUIDS]: Remove conditional code.
29331 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29332 <kernel-features.h>.
29333 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29334 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29335 132096]: Remove conditional code.
29336 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29337 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29338 <kernel-features.h>.
29339 [__ASSUME_32BITUIDS]: Make code unconditional.
29340 [!__ASSUME_32BITUIDS]: Remove conditional code.
29341 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29342 <kernel-features.h>.
29343 [__ASSUME_32BITUIDS]: Make code unconditional.
29344 [!__ASSUME_32BITUIDS]: Remove conditional code.
29345 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29346 <kernel-features.h>.
29347 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29348 unconditional.
29349 (__setresgid): Do not declare.
29350 [__ASSUME_32BITUIDS]: Make code unconditional.
29351 [!__ASSUME_32BITUIDS]: Remove conditional code.
29352 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29353 <kernel-features.h>.
29354 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29355 unconditional.
29356 (__setresuid): Do not declare.
29357 [__ASSUME_32BITUIDS]: Make code unconditional.
29358 [!__ASSUME_32BITUIDS]: Remove conditional code.
29359 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29360 <kernel-features.h>.
29361 [__ASSUME_32BITUIDS]: Make code unconditional.
29362 [!__ASSUME_32BITUIDS]: Remove conditional code.
29363 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29364 <kernel-features.h>.
29365 [__ASSUME_32BITUIDS]: Make code unconditional.
29366 [!__ASSUME_32BITUIDS]: Remove conditional code.
29367
29368 2012-05-25 Richard Henderson <rth@twiddle.net>
29369
29370 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29371 dl_hwcap to ifunc resolver.
29372 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29373 elf_ifunc_invoke.
29374 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29375 dl_hwcap to ifunc resolver.
29376 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29377
29378 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29379
29380 [BZ #14153]
29381 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29382 for |x| <= 2**-26, not 2**-57.
29383 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29384 exception.
29385
29386 2012-05-24 Jeff Law <law@redhat.com>
29387
29388 * stdio-common/Makefile (tests): Add bug25.
29389 * stdio-common/bug25.c: New test.
29390
29391 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29392
29393 [BZ #13576]
29394 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29395 multiple of MALLOC_ALIGNMENT in size.
29396 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29397
29398 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29399
29400 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29401 Require >= 256.
29402 (FILENAME_MAX): Use macro-int-constant.
29403 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29404 (_IOFBF): Use macro-int-constant.
29405 (_IOLBF): Likewise.
29406 (_IONBF): Likewise.
29407 (SEEK_CUR): Likewise.
29408 (SEEK_END): Likewise.
29409 (SEEK_SET): Likewise.
29410 (TMP_MAX): Likewise.
29411 (EOF): Use macro-int-constant. Require < 0.
29412 (NULL): Use macro-constant. Require == 0.
29413 (stdin): Require type to be FILE *.
29414 (stdout): Likewise.
29415 (stderr): Likewise.
29416 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29417 macro-int-constant.
29418 (EXIT_SUCCESS): Likewise.
29419 (NULL): Use macro-constant. Require == 0.
29420 (RAND_MAX): Use macro-int-constant.
29421 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29422 [C99-based standards] (strtof): Require function.
29423 [C99-based standards] (strtold): Likewise.
29424 [C99-based standards] (strtoll): Likewise.
29425 [C99-based standards] (strtoull): Likewise.
29426 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29427 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29428 [ISO || ISO99 || ISO11] (math.h): Likewise.
29429 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29430 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29431 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29432
29433 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29434
29435 [BZ #14132]
29436 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29437 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29438 * intl/dgettext.c (DCGETTEXT): Likewise.
29439 * intl/gettext.c (DCGETTEXT): Likewise.
29440 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29441 * posix/regex_internal.h (gettext): Likewise.
29442 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29443 Remove declaration.
29444 * include/argz.h (__argz_count_internal)
29445 (__argz_stringify_internal): Remove declaration.
29446 (__argz_count, __argz_stringify): Declare hidden proto.
29447 * intl/dcgettext.c: Remove use of INTDEF.
29448 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29449 * string/argz-stringify.c: Likewise.
29450 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29451 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29452 Declare hidden proto.
29453 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29454 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29455 Declare hidden proto.
29456 * include/stdio.h (__asprintf_internal): Don't declare.
29457 (__asprintf): Don't define as macro. Declare hidden proto.
29458 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29459 (__fsetlocking): Declare hidden proto.
29460 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29461 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29462 hidden proto.
29463 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29464 (_IO_setlinebuf): Remove use of INTUSE.
29465 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29466 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29467 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29468 Remove declaration.
29469 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29470 (_IO_do_flush): Remove use of INTUSE.
29471 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29472 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29473 (_IO_adjust_column, _IO_least_wmarker)
29474 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29475 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29476 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29477 (_IO_default_doallocate, _IO_wdefault_doallocate)
29478 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29479 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29480 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29481 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29482 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29483 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29484 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29485 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29486 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29487 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29488 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29489 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29490 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29491 proto.
29492 (_IO_flush_all_internal, _IO_adjust_column_internal)
29493 (_IO_default_uflow_internal, _IO_default_finish_internal)
29494 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29495 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29496 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29497 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29498 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29499 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29500 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29501 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29502 (_IO_file_close_internal, _IO_file_close_it_internal)
29503 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29504 (_IO_file_init_internal, _IO_file_attach_internal)
29505 (_IO_file_fopen_internal, _IO_file_read_internal)
29506 (_IO_file_sync_internal, _IO_file_seek_internal)
29507 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29508 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29509 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29510 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29511 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29512 (_IO_list_all_internal, _IO_link_in_internal)
29513 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29514 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29515 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29516 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29517 (_IO_do_write_internal, _IO_padn_internal)
29518 (_IO_getline_info_internal, _IO_getline_internal)
29519 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29520 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29521 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29522 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29523 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29524 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29525 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29526 with libc_hidden_ver, remove use of INTUSE.
29527 * libio/genops.c: Likewise.
29528 * libio/freopen.c: Likewise.
29529 * libio/freopen64.c: Likewise.
29530 * libio/iofclose.c: Likewise.
29531 * libio/iofdopen.c: Likewise.
29532 * libio/iofflush.c: Likewise.
29533 * libio/iofflush_u.c: Likewise.
29534 * libio/iofgets.c: Likewise.
29535 * libio/iofgets_u.c: Likewise.
29536 * libio/iofopen.c: Likewise.
29537 * libio/iofopncook.c: Likewise.
29538 * libio/iofread.c: Likewise.
29539 * libio/iofread_u.c: Likewise.
29540 * libio/ioftell.c: Likewise.
29541 * libio/iofwrite.c: Likewise.
29542 * libio/iogetline.c: Likewise.
29543 * libio/iogets.c: Likewise.
29544 * libio/iogetwline.c: Likewise.
29545 * libio/iopadn.c: Likewise.
29546 * libio/iopopen.c: Likewise.
29547 * libio/ioseekoff.c: Likewise.
29548 * libio/ioseekpos.c: Likewise.
29549 * libio/iosetbuffer.c: Likewise.
29550 * libio/iosetvbuf.c: Likewise.
29551 * libio/ioungetc.c: Likewise.
29552 * libio/ioungetwc.c: Likewise.
29553 * libio/iovdprintf.c: Likewise.
29554 * libio/iovsprintf.c: Likewise.
29555 * libio/iovsscanf.c: Likewise.
29556 * libio/memstream.c: Likewise.
29557 * libio/obprintf.c: Likewise.
29558 * libio/oldfileops.c: Likewise.
29559 * libio/oldiofclose.c: Likewise.
29560 * libio/oldiofdopen.c: Likewise.
29561 * libio/oldiofopen.c: Likewise.
29562 * libio/oldiopopen.c: Likewise.
29563 * libio/oldstdfiles.c: Likewise.
29564 * libio/putc.c: Likewise.
29565 * libio/setbuf.c: Likewise.
29566 * libio/setlinebuf.c: Likewise.
29567 * libio/stdfiles.c: Likewise.
29568 * libio/strops.c: Likewise.
29569 * libio/vasprintf.c: Likewise.
29570 * libio/vscanf.c: Likewise.
29571 * libio/vsnprintf.c: Likewise.
29572 * libio/vswprintf.c: Likewise.
29573 * libio/wfiledoalloc.c: Likewise.
29574 * libio/wfileops.c: Likewise.
29575 * libio/wgenops.c: Likewise.
29576 * libio/wmemstream.c: Likewise.
29577 * libio/wstrops.c: Likewise.
29578 * libio/__fpurge.c: Likewise.
29579 * libio/__fsetlocking.c: Likewise.
29580 * assert/assert.c: Likewise.
29581 * debug/fgets_chk.c: Likewise.
29582 * debug/fgets_u_chk.c: Likewise.
29583 * debug/fread_chk.c: Likewise.
29584 * debug/fread_u_chk.c: Likewise.
29585 * debug/gets_chk.c: Likewise.
29586 * debug/obprintf_chk.c: Likewise.
29587 * debug/vasprintf_chk.c: Likewise.
29588 * debug/vdprintf_chk.c: Likewise.
29589 * debug/vsnprintf_chk.c: Likewise.
29590 * debug/vsprintf_chk.c: Likewise.
29591 * malloc/mtrace.c: Likewise.
29592 * misc/error.c: Likewise.
29593 * misc/syslog.c: Likewise.
29594 * stdio-common/asprintf.c: Likewise.
29595 * stdio-common/fxprintf.c: Likewise.
29596 * stdio-common/getw.c: Likewise.
29597 * stdio-common/isoc99_fscanf.c: Likewise.
29598 * stdio-common/isoc99_scanf.c: Likewise.
29599 * stdio-common/isoc99_vfscanf.c: Likewise.
29600 * stdio-common/isoc99_vscanf.c: Likewise.
29601 * stdio-common/isoc99_vsscanf.c: Likewise.
29602 * stdio-common/printf-prs.c: Likewise.
29603 * stdio-common/printf_fp.c: Likewise.
29604 * stdio-common/printf_fphex.c: Likewise.
29605 * stdio-common/printf_size.c: Likewise.
29606 * stdio-common/putw.c: Likewise.
29607 * stdio-common/scanf.c: Likewise.
29608 * stdio-common/sprintf.c: Likewise.
29609 * stdio-common/tmpfile.c: Likewise.
29610 * stdio-common/vfprintf.c: Likewise.
29611 * stdio-common/vfscanf.c: Likewise.
29612 * stdlib/strfmon_l.c: Likewise.
29613 * sunrpc/openchild.c: Likewise.
29614 * sunrpc/xdr_stdio.c: Likewise.
29615 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29616 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29617
29618 2012-05-24 Roland McGrath <roland@hack.frob.com>
29619
29620 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29621
29622 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29623 in the third column, to generate for the shared library an IFUNC
29624 that uses _dl_vdso_vsym.
29625 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29626 * Makeconfig (object-suffixes-noshared): New variable.
29627
29628 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29629 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29630 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29631 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29632
29633 [BZ #14132]
29634 * include/sys/time.h (__gettimeofday): Remove macro.
29635 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29636 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29637 Remove INTDEF.
29638 (__gettimeofday): Add libc_hidden_def.
29639 (gettimeofday): Add libc_hidden_weak.
29640 * sysdeps/mach/gettimeofday.c: Likewise.
29641 * sysdeps/posix/gettimeofday.c: Likewise.
29642 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29643 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29644 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29645 (__gettimeofday_internal): Remove strong_alias.
29646 (__gettimeofday): Add libc_hidden_def.
29647 (gettimeofday): Add libc_hidden_weak.
29648 * sysdeps/unix/syscalls.list (gettimeofday):
29649 Remove __gettimeofday_internal alias.
29650
29651 2012-05-24 Daniel Jacobowitz <drow@false.org>
29652 H.J. Lu <hongjiu.lu@intel.com>
29653
29654 [BZ #12495]
29655 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29656 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29657 (largebin_index_32_big): New.
29658 (largebin_index): Use it for 16-byte alignment.
29659 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29660 correction with front_misalign.
29661
29662 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29663
29664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29666 Likewise.
29667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29668 Likewise.
29669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29670 Likewise.
29671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29672 Likewise.
29673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29674 Likewise.
29675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29676 Likewise.
29677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29678 Likewise.
29679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29680 Likewise.
29681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29682 Likewise.
29683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29684 Likewise.
29685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29686 Likewise.
29687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29688 Likewise.
29689
29690 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29691 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29692
29693 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29694
29695 [BZ #10846]
29696 [BZ #14036]
29697 * math/libm-test.inc (exp_test): Add test from bug 14036.
29698 (pow_test): Add test from bug 10846.
29699
29700 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29701 and other flags.
29702 (special_function): Do not include flags in test name.
29703 (parse_args): Likewise.
29704 * sysdeps/i386/fpu/libm-test-ulps: Update.
29705 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29706 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29707 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29709
29710 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29711 exceptions.
29712 * math/libm-test.inc ("Philosophy"): Update comment about
29713 exception testing.
29714 (UNDERFLOW_EXCEPTION): New macro.
29715 (UNDERFLOW_EXCEPTION_OK): Likewise.
29716 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29717 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29718 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29719 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29720 (INVALID_EXCEPTION_OK): Update value.
29721 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29722 (OVERFLOW_EXCEPTION_OK): Likewise.
29723 (IGNORE_ZERO_INF_SIGN): Likewise.
29724 (test_exceptions): Handle underflow exceptions.
29725 (acos_test): Update for underflow exception expectations.
29726 (cexp_test): Likewise.
29727 (clog_test): Likewise.
29728 (clog10_test): Likewise.
29729 (csqrt_test): Likewise.
29730 (ctan_test): Likewise.
29731 (ctanh_test): Likewise.
29732 (exp_test): Likewise.
29733 (exp10_test): Likewise.
29734 (exp2_test): Likewise.
29735 (expm1_test): Likewise.
29736 (fma_test): Likewise.
29737 (j0_test): Likewise.
29738 (jn_test): Likewise.
29739 (nexttoward_test): Likewise.
29740 (pow_test): Likewise.
29741 (scalbn_test): Likewise.
29742 (scalbln_test): Likewise.
29743 (tan_test): Likewise.
29744 (y1_test): Likewise.
29745 * sysdeps/i386/fpu/libm-test-ulps: Update.
29746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29747
29748 2012-05-23 David S. Miller <davem@davemloft.net>
29749
29750 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29751 (__libc_sigaction): Remove unused local variables.
29752
29753 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29754
29755 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29756
29757 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29758
29759 mktime: avoid signed integer overflow
29760 * time/mktime.c (__mktime_internal): Do not mishandle the case
29761 where diff == INT_MIN.
29762
29763 mktime: simplify computation of average
29764 * time/mktime.c (ranged_convert): Use new time_t_avg function
29765 instead of rolling our own (probably-slower) code.
29766
29767 mktime: do not assume signed right shift propagates sign bit
29768 * time/mktime.c (isdst_differ): New static function.
29769 (__mktime_internal): No need to normalize tm_isdst now.
29770 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29771 tm_isdst values.
29772
29773 mktime: merge another wrapv change from gnulib
29774 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29775 from some compilers.
29776
29777 mktime: remove incorrect attempt at unusual arithmetics
29778 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29779 The code didn't really work on such machines anyway.
29780 (TYPE_MINIMUM): Assume two's complement.
29781 (twos_complement_arithmetic): Verify that long_int and time_t
29782 are two's complement (or unsigned, in the latter case).
29783
29784 mktime: check signed shifts on long_int and time_t, too
29785 * time/mktime.c (SHR): Check that shifts work as desired
29786 on the types long_int and time_t too, as SHR is used on
29787 such types.
29788
29789 mktime: do not assume 'long' is wide enough
29790 * time/mktime.c (verify): Move decl up.
29791 (long_int): New type.
29792 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29793 to remove assumption in the code that 'long' is wide enough to
29794 store year values. This assumption is not true on x32 and on
29795 some non-glibc platforms.
29796
29797 mktime: merge wrapv change from gnulib
29798 * time/mktime.c (WRAPV): New macro.
29799 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29800 (guess_time_tm, __mktime_internal): Do not assume that signed
29801 integer overflow wraps around; modern compilers generate code
29802 where this assumption is no longer valid.
29803
29804 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29805
29806 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29807 Replace "jmp L(pseudo_end)" with "ret".
29808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29809 Likewise.
29810
29811 2012-05-23 Andreas Jaeger <aj@suse.de>
29812
29813 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29814 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29815
29816 2012-05-23 Andreas Jaeger <aj@suse.de>
29817 Maximilian Attems <max@stro.at>
29818
29819 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29820 New macros.
29821
29822 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29823
29824 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29825 code so that pseudo_end is just ret and the stack pointer is
29826 correct also for static library in error case.
29827
29828 2012-05-23 Joseph Myers <joseph@codesourcery.com>
29829
29830 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29831 move to syscalls.list.
29832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29836
29837 * manual/install.texi (Running make install): Do not mention Linux
29838 kernel version for which pt_chown is not needed.
29839 (Linux): Do not mention problems with nscd with 2.0 kernels.
29840 * INSTALL: Regenerated.
29841
29842 2012-05-23 Andreas Jaeger <aj@suse.de>
29843
29844 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29845 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29846 macro.
29847 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29848 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29849 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29850 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29851 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29852 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29853 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29854 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29855 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29856 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29857 * sysdeps/unix/sysv/linux/bits/in.h
29858 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29859
29860 2012-05-22 Roland McGrath <roland@hack.frob.com>
29861
29862 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29863 (PREPARE_VERSION): Just use assert instead, it will be elided
29864 under [NDEBUG] anyway.
29865
29866 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29867
29868 * sysdeps/unix/sysv/linux/Makefile: Include
29869 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29870 (sysdep_routines): Remove sysctl.
29871 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29872 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29873 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29874 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29875 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29876
29877 2012-05-22 Andreas Jaeger <aj@suse.de>
29878
29879 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29880 that pseudo_end is just ret and the stack pointer is correct also
29881 for static library in error case.
29882
29883 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29884
29885 [BZ #14122]
29886 * nss/nsswitch.c (defconfig_entries): New variable.
29887 (__nss_database_lookup): Don't leak defconfig entries.
29888 (nss_parse_service_list): Don't leak on error paths.
29889 (free_database_entries): New function.
29890 (free_defconfig): New function.
29891 (free_mem): Move common code to free_database_entries.
29892
29893 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29894
29895 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29896 Add arch_prctl.
29897 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29898
29899 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29900 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29902 New macro.
29903 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29904 (INTERNAL_SYSCALL_TYPES): Likewise.
29905 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29906 (LOAD_REGS_TYPES_[1-6]): Likewise.
29907 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29908 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29909
29910 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29911
29912 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29913 copysignl for GLIBC_2_0.
29914 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29915 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29916 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29917 logbl for GLIBC_2_0.
29918 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29919 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29920
29921 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29922
29923 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29924 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29925
29926 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29927 Use "neg %eax".
29928
29929 * time/mktime.c: Update copyright years.
29930
29931 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29932
29933 mktime: merge comment-quoting-style change from gnulib
29934 * time/mktime.c: Quote 'like this' in comments.
29935 The GNU coding standards suggest that we no longer quote `like this',
29936 as "`" and "'" are typically rendered asymmetrically nowadays.
29937 The typical gnulib style is to quote 'like this' when quoting
29938 code, and "like this" when quoting English.
29939
29940 * time/mktime.c (compile-command): Add "-I.".
29941
29942 mktime: merge mktime-internal.h change from gnulib
29943 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29944
29945 mktime: merge time_r change from gnulib
29946 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29947
29948 mktime: merge DEBUG change from gnulib
29949 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29950 case system <time.h> has a #define.
29951
29952 mktime: merge <sys/types.h> change from gnulib
29953 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29954 since <time.t> is now guaranteed to define time_t.
29955
29956 mktime: merge HAVE_CONFIG_H change from gnulib
29957 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29958
29959 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29960
29961 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29962 Use "neg %eax".
29963
29964 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29965 __rlim_t cast.
29966 (struct rusage): Use anonymous union to pad each field to
29967 __syscall_slong_t.
29968
29969 2012-05-21 David S. Miller <davem@davemloft.net>
29970
29971 * Makefules (o-iterator): Remove .s cases.
29972 (compile-command.s): Delete.
29973 (COMPILE.s): Delete.
29974 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29975
29976 2012-05-21 Joseph Myers <joseph@codesourcery.com>
29977
29978 * configure.in (libc_cv_predef_stack_protector): Only consider
29979 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29980 * configure: Regenerated.
29981
29982 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29983
29984 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29985 New macro. Use R*LP on int and pointer.
29986 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29987 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29988 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29989 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29990
29991 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29992 [__WORDSIZE_TIME64_COMPAT32] instead of
29993 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29994 (struct utmp): Likewise.
29995 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29996 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29997 Renamed to ...
29998 (__WORDSIZE_TIME64_COMPAT32): This.
29999 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30000 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30001 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30002 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30003 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30004 (__WORDSIZE_TIME64_COMPAT32): New macro.
30005
30006 2012-05-21 Andreas Jaeger <aj@suse.de>
30007
30008 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30009 only if [SHARED]. Add prototype for __wcschr_ia32.
30010
30011 2012-05-21 Roland McGrath <roland@hack.frob.com>
30012
30013 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30014 of %rbp unmolested in the jmp_buf while mangling the low bits.
30015 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30016 unmolested high bits of %rbp while demangling the low bits.
30017 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30018
30019 2012-05-21 Andreas Jaeger <aj@suse.de>
30020
30021 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30022 * sunrpc/svc_simple.c: Use it for registerrpc.
30023 * sunrpc/xcrypt.c: Use it for passwd2des.
30024
30025 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30026
30027 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30028
30029 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30030 Don't define if [__SYSCALL_WORDSIZE != 32].
30031 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30032 New macro.
30033
30034 2012-05-21 Bruno Haible <bruno@clisp.org>
30035 Andreas Jaeger <aj@suse.de>
30036
30037 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30038 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30039 inptr and inend for must_buffer_ch.
30040 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30041 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30042 * stdio-common/Makefile (tests): Remove bug15.
30043 (bug15-ENV): Remove macro.
30044 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30045 anymore.
30046
30047 2012-05-19 Andreas Jaeger <aj@suse.de>
30048 Roland McGrath <roland@hack.frob.com>
30049
30050 * manual/contrib.texi: Completely rewritten. It contains now an
30051 alphabetical list of contributors and their contributions.
30052
30053 2012-05-21 Richard Henderson <rth@twiddle.net>
30054
30055 * misc/getauxval.c (__getauxval): Use unsigned long int.
30056 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30057 (getauxval): Use unsigned long int.
30058
30059 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30060
30061 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30062
30063 2012-05-21 Roland McGrath <roland@hack.frob.com>
30064
30065 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30066 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30067 __alignof__ (long double).
30068
30069 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30070
30071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30072
30073 2012-05-20 Richard Henderson <rth@twiddle.net>
30074
30075 * misc/getauxval.c: New file.
30076 * misc/sys/auxv.h: New file.
30077 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30078 (routines): Add getauxval.
30079 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30080 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30081 * elf/dl-sysdep.c (_dl_auxv): Remove.
30082 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30083 * elf/dl-support.c (_dl_auxv): New variable.
30084 (_dl_aux_init): Initialize it.
30085 * manual/startup.texi (Auxiliary Vector): New node.
30086 * sysdeps/generic/bits/hwcap.h: New file.
30087 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30088 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30089 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30090 * sysdeps/sparc/sysdep.h: ... here. Include it.
30091 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30092 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30094 Update.
30095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30098 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30103
30104 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30105
30106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30107
30108 2012-05-19 David S. Miller <davem@davemloft.net>
30109
30110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30111
30112 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30113
30114 [BZ #14123]
30115 * math/s_ccosh.c: Include <float.h>
30116 (__ccosh): Avoid internal overflow calculating sinh and cosh
30117 values before multiplying by sin and cos values.
30118 * math/s_ccoshf.c: Likewise.
30119 * math/s_ccoshl.c: Likewise.
30120 * math/s_csin.c: Likewise.
30121 * math/s_csinf.c: Likewise.
30122 * math/s_csinl.c: Likewise.
30123 * math/s_csinh.c: Likewise.
30124 * math/s_csinhf.c: Likewise.
30125 * math/s_csinhl.c: Likewise.
30126 * math/libm-test.inc (ccos_test): Add more tests.
30127 (ccosh_test): Likewise.
30128 (csin_test): Likewise.
30129 (csinh_test): Likewise.
30130 * sysdeps/i386/fpu/libm-test-ulps: Update.
30131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30132
30133 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30134
30135 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30136 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30137
30138 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30139
30140 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30141
30142 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30143 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30144 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30145 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30146 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30147 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30148 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30149 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30150 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30151 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30152 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30153 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30154 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30155 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30156 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30157 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30158 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30159 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30160 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30161 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30162 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30163 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30164 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30165 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30166 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30167 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30168 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30169 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30170 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30171 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30172 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30173
30174 2012-05-18 Andreas Jaeger <aj@suse.de>
30175
30176 * csu/.gitignore: Delete.
30177
30178 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30179
30180 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30181 (timex): Use __syscall_slong_t.
30182
30183 2012-05-18 Andreas Jaeger <aj@suse.de>
30184 Carlos O'Donell <carlos_odonell@mentor.com>
30185
30186 * manual/install.texi (Configuring and compiling): Update
30187 description about files modified in the source directory.
30188 * INSTALL: Regenerated.
30189
30190 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30191
30192 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30193 value. Use "or" to set return value to -1.
30194 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30195 negate return value.
30196
30197 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30198
30199 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30200 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30201 failure if the compiler has Graphite support disabled.
30202 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30203 Likewise.
30204 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30205 (CFLAGS-memmove.c): Likewise.
30206 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30207 Likewise.
30208
30209 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30210
30211 * sysdeps/x86_64/x32/_itoa.h: New file.
30212
30213 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30214 getdents system call only if kernel and user dirents have the
30215 same d_ino and d_off.
30216
30217 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30218 LLONG_MAX != LONG_MAX.
30219 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30220 (_fitoa_word): Likewise.
30221
30222 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30223 years.
30224 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30225 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30226 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30227
30228 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30229 include <bits/wordsize.h>. Check __x86_64__ instead of
30230 __WORDSIZE.
30231 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30232 if __x86_64__ is defined. Use anonymous union on fpstate.
30233
30234 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30235 anonymous union.
30236
30237 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30238
30239 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30240 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30241 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30242 Refer to _rtld_local_ro instead of _rtld_global_ro.
30243 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30244 Likewise.
30245 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30246 Likewise.
30247 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30248 Likewise.
30249 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30250 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30251 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30252
30253 * sysdeps/powerpc/powerpc32/dl-machine.c
30254 (__elf_machine_runtime_setup) [PROF]: Don't reference
30255 _dl_prof_resolve.
30256
30257 2012-05-18 Andreas Jaeger <aj@suse.de>
30258
30259 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30260 function only available for GCCs before 3.4 since GCC 3.4
30261 introduced a builtin.
30262 (lrint): Likewise.
30263 (llrintf): Likewise.
30264 (llrint): Likewise.
30265 (fmaxf): Likewise.
30266 (fmax): Likewise.
30267 (fminf): Likewise.
30268 (fmin): Likewise.
30269 (rint): Likewise.
30270 (rintf): Likewise.
30271 (nearbyint): Likewise.
30272 (nearbyintf): Likewise.
30273 (ceil): Likewise.
30274 (ceilf): Likewise.
30275 (floor): Likewise.
30276 (floorf): Likewise.
30277
30278 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30279
30280 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30281 on both fields and cast pointer to __syscall_ulong_t.
30282
30283 * bits/types.h (__fsword_t): New type.
30284 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30285 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30286 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30287 (__FSWORD_T_TYPE): Likewise.
30288 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30289 (__FSWORD_T_TYPE): Likewise.
30290 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30291 (__FSWORD_T_TYPE): Likewise.
30292 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30293 (__FSWORD_T_TYPE): Likewise.
30294 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30295 __SWORD_TYPE with __fsword_t.
30296 (statfs64): Likewise.
30297
30298 2012-05-17 David S. Miller <davem@davemloft.net>
30299
30300 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30301
30302 2012-05-17 Andreas Jaeger <aj@suse.de>
30303
30304 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30305 warning.
30306
30307 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30308
30309 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30310
30311 2012-05-17 Andreas Jaeger <aj@suse.de>
30312
30313 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30314 when it is used.
30315
30316 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30317
30318 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30319
30320 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30321
30322 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30323 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30324
30325 2012-05-17 Andreas Jaeger <aj@suse.de>
30326 Carlos O'Donell <carlos_odonell@mentor.com>
30327
30328 [BZ #14059]
30329 * sysdeps/x86_64/multiarch/init-arch.h
30330 (bit_YMM_Usable): Rename to...
30331 (bit_AVX_Usable): ... this.
30332 (bit_FMA4_Usable): New macro.
30333 (bit_XMM_state): New macro.
30334 (bit_YMM_state): New macro.
30335 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30336 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30337 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30338 (CPUID_OSXSAVE): New macro.
30339 (CPUID_AVX): New macro.
30340 (CPUID_FMA4): New macro.
30341 (index_YMM_Usable): Rename to...
30342 (index_AVX_Usable): ... this.
30343 (HAS_AVX): Use HAS_ARCH_FEATURE.
30344 (HAS_FMA4): Likewise.
30345 (HAS_YMM_USABLE): Remove.
30346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30347 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30348 are present.
30349 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30350 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30351 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30352 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30353 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30354
30355 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30356
30357 * math/libm-test.c: Support platforms without multiple rounding modes.
30358 * math/bug-nextafter.c: Support platforms without FP exceptions.
30359 * math/bug-nexttoward.c: Likewise.
30360 * math/test-fenv.c: Likewise.
30361 * math/test-misc.c: Likewise.
30362 * stdlib/bug-getcontext.c: Likewise.
30363
30364 2012-05-17 Andreas Jaeger <aj@suse.de>
30365
30366 * manual/examples/search.c (critter_cmp): Change signature to
30367 avoid warnings.
30368 * manual/string.texi (Collation Functions): Likewise.
30369
30370 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30371
30372 * bits/types.h: Fold copyright years.
30373 * bits/typesizes.h: Likewise.
30374 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30375 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30376 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30377 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30378 * time/time.h: Likewise.
30379
30380 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30381
30382 [BZ #208]
30383 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30384 in instead of returning them. Return void.
30385 (__libc_mallinfo): Accumulate over all arenas.
30386 (__malloc_stats): Adjust for change in int_mallinfo interface.
30387
30388 2012-05-16 Roland McGrath <roland@hack.frob.com>
30389
30390 [BZ #10375]
30391 * configure.in (NM): Add AC_CHECK_TOOL for it.
30392 (libc_extra_cflags): New substituted variable.
30393 Check for -fstack-protector being used implicitly.
30394 * configure: Regenerated.
30395 * config.make.in (config-extra-cflags): New variable,
30396 gets @libc_extra_cflags@.
30397 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30398
30399 [BZ #10375]
30400 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30401 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30402 * configure: Regenerated.
30403 * config.make.in (CPPUNDEFS): New substituted variable.
30404 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30405 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30406 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30407
30408 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30409
30410 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30411 (mq_attr): Use __syscall_slong_t.
30412
30413 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30414
30415 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30416 Check __x86_64__ instead of __WORDSIZE.
30417 (_STAT_VER_LINUX): Likewise.
30418 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30419 __syscall_ulong_t and __syscall_slong_t.
30420 (stat64): Likewise.
30421
30422 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30423
30424 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30425
30426 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30427
30428 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30429
30430 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30431
30432 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30433 __syscall_ulong_t.
30434
30435 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30436 include <bits/wordsize.h>. Check __x86_64__ instead of
30437 __WORDSIZE.
30438 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30439 defined.
30440 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30441
30442 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30443 include <bits/wordsize.h>. Check __x86_64__ instead of
30444 __WORDSIZE.
30445 (user_regs_struct): Use "__extension__ unsigned long long"
30446 instead of "unsigned long" if __x86_64__ is defined.
30447 (user): Likewise. Pad after pointer field if __ILP32__ is
30448 defined.
30449
30450 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30451
30452 * configure.in (makeinfo): Require version 4.5 or later. Allow
30453 versions 5 to 9.
30454 * configure: Regenerated.
30455 * manual/install.texi (texinfo): Increase version requirement to
30456 4.5 or later.
30457 * INSTALL: Regenerated.
30458
30459 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30460
30461 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30462
30463 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30464
30465 * sysdeps/x86_64/x32/ffs.c: New file.
30466
30467 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30468 __syscall_ulong_t.
30469 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30470 defined. Use __syscall_ulong_t.
30471 (shminfo): Use __syscall_ulong_t.
30472 (shm_info): Likewise.
30473
30474 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30475 __syscall_ulong_t.
30476
30477 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30478 <bits/wordsize.h>.
30479 (msgqnum_t): Use __syscall_ulong_t.
30480 (msglen_t): Likewise.
30481 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30482 __syscall_ulong_t.
30483
30484 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30485 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30486
30487 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30488
30489 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30490 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30491
30492 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30493 __syscall_slong_t.
30494
30495 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30496 include <bits/wordsize.h>. Check __x86_64__ instead of
30497 __WORDSIZE.
30498
30499 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30500 "unsigned long long int" if __x86_64__ is defined.
30501 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30502
30503 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30504 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30505 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30506
30507 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30508 <stdint.h>.
30509 (GET_PC): Cast to uintptr_t first.
30510 (GET_FRAME): Likewise.
30511 (GET_STACK): Likewise.
30512
30513 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30514 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30515 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30516 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30517 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30518 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30519 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30520 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30521 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30522 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30523 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30524 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30525 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30526 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30527 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30528 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30529 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30530 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30531 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30532 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30533 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30534 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30535 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30536 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30537 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30538 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30539 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30540 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30541 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30542
30543 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30544
30545 * Makerules (+depfiles): Also collect depfiles from .oS in
30546 $(extra-objs).
30547 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30548 .oS, $(libnldbl-routines)).
30549
30550 * Makerules (native-compile-mkdep-flags): Define.
30551 * sunrpc/Makefile (extra-objs): Add $(addprefix
30552 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30553 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30554 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30555 calling $(make-target-directory).
30556
30557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30558
30559 * bits/types.h (__snseconds_t): Removed.
30560 * time/time.h (struct timespec): Replace __snseconds_t with
30561 __syscall_slong_t.
30562 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30563 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30564 Likewise.
30565 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30566 (__SNSECONDS_T_TYPE): Likewise.
30567 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30568 (__SNSECONDS_T_TYPE): Likewise.
30569 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30570 (__SNSECONDS_T_TYPE): Likewise.
30571
30572 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30573
30574 * sysdeps/mach/hurd/bits/typesizes.h
30575 (__SYSCALL_SLONG_TYPE): New macro.
30576 (__SYSCALL_ULONG_TYPE): Likewise.
30577
30578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30579
30580 * bits/types.h (__syscall_slong_t): New type.
30581 (__syscall_ulong_t): Likewise.
30582
30583 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30584 (__SYSCALL_ULONG_TYPE): Likewise.
30585 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30586 (__SYSCALL_SLONG_TYPE): Likewise.
30587 (__SYSCALL_ULONG_TYPE): Likewise.
30588 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30589 (__SYSCALL_SLONG_TYPE): Likewise.
30590 (__SYSCALL_ULONG_TYPE): Likewise.
30591 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30592 (__SYSCALL_SLONG_TYPE): Likewise.
30593 (__SYSCALL_ULONG_TYPE): Likewise.
30594
30595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30596
30597 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30598 Add sigaltstack-offsets.sym.
30599 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30600 <sigaltstack-offsets.h>.
30601 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30602 longjmp_msg pointer.
30603 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30604 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30605 signal stack.
30606 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30607
30608 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30609
30610 * elf/stackguard-macros.h: Remove file.
30611 * sysdeps/generic/stackguard-macros.h: New file.
30612 * sysdeps/i386/stackguard-macros.h: Likewise.
30613 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30614 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30615 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30616 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30617 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30618 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30619 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30620 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30621 <elf/stackguard-macros.h>.
30622
30623 [BZ #14109]
30624 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30625 __aligned__ in attribute.
30626 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30627 (gregset_t): Likewise.
30628
30629 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30630
30631 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30632 * sysdeps/x86_64/64/Implies-after: Here. New file.
30633 * sysdeps/x86_64/x32/Implies-after: New file.
30634
30635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30636
30637 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30638 and access return value for _dl_profile_fixup. Use R10_LP to
30639 load frame size.
30640
30641 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30642
30643 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30644
30645 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30646
30647 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30648 * sysdeps/x86_64/x32/sysdep.h: New file.
30649
30650 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30651
30652 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30653 * sysdeps/x86_64/setjmp.S: Likewise.
30654
30655 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30656
30657 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30658 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30659 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30660 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30661 remove unused global constant.
30662
30663 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30664
30665 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30666 include of <not-cancel.h>.
30667
30668 2012-05-15 Roland McGrath <roland@hack.frob.com>
30669
30670 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30671
30672 2012-05-15 Jeff Law <law@redhat.com>
30673 Andreas Jaeger <aj@suse.de>
30674
30675 [BZ #13594]
30676 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30677 out from...
30678 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30679 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30680 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30681 code changing __hst_map_handle.map.
30682
30683 2012-05-15 Roland McGrath <roland@hack.frob.com>
30684
30685 * configure.in (sysnames): Look for Implies-before and Implies-after
30686 files.
30687 * configure: Regenerated.
30688
30689 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30690
30691 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30692 8-byte data alignment with LP_SIZE alignment.
30693
30694 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30695
30696 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30697 into R10_LP.
30698
30699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30700
30701 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30702
30703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30704
30705 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30706 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30707 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30708 Likewise.
30709 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30710
30711 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30712
30713 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30714 (stackinfo_sub_sp): Likewise.
30715
30716 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30717
30718 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30719 RAX_LP.
30720
30721 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30722
30723 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30724 into R*_LP.
30725
30726 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30727
30728 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30729 sizes into R*_LP.
30730
30731 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30732
30733 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30734
30735 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30736
30737 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30738 into R11_LP and load __x86_64_shared_cache_size_half into
30739 R8_LP.
30740
30741 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30742
30743 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30744 R8_LP.
30745
30746 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30747
30748 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30749 logb for POWER7.
30750 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30751 logbf for POWER7.
30752 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30753 logbl for POWER7.
30754 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30755 powerpc32/power7/fpu/s_logb.c via #include.
30756 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30757 powerpc32/power7/fpu/s_logbf.c via #include.
30758 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30759 powerpc32/power7/fpu/s_logbl.c via #include.
30760
30761 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30762
30763 * README.libm: Remove file.
30764
30765 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30766
30767 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30768 count for x32. Use R*_LP and omit operand-size suffix.
30769
30770 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30771
30772 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30773 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30774 * sysdeps/x86_64/x32/shlib-versions: New file.
30775
30776 2012-05-14 Roland McGrath <roland@hack.frob.com>
30777
30778 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30779 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30780 Use _dl_fatal_printf instead.
30781
30782 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30783
30784 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30785 set if not set by the user. Do not allow for being unset.
30786 * sysdeps/unix/sysv/linux/configure: Regenerated.
30787
30788 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30789
30790 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30791 the `q' suffix from lea and replace .quad with ASM_ADDR.
30792
30793 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30794
30795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30796 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30797 instead of $17.
30798 (PTR_DEMANGLE): Likewise.
30799
30800 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30801
30802 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30803 (LP_OP): Likewise.
30804 (ASM_ADDR): Likewise.
30805 (RAX_LP): Likewise.
30806 (RBP_LP): Likewise.
30807 (RBX_LP): Likewise.
30808 (RCX_LP): Likewise.
30809 (RDI_LP): Likewise.
30810 (RSI_LP): Likewise.
30811 (RSP_LP): Likewise.
30812 (R8_LP): Likewise.
30813 (R9_LP): Likewise.
30814 (R10_LP): Likewise.
30815 (R10_LP): Likewise.
30816 (R11_LP): Likewise.
30817 (R12_LP): Likewise.
30818 (R13_LP): Likewise.
30819 (R14_LP): Likewise.
30820 (R15_LP): Likewise.
30821
30822 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30823
30824 * sysdeps/x86_64/x32/dl-machine.h: New file.
30825
30826 2012-05-14 Andreas Jaeger <aj@suse.de>
30827
30828 * manual/Makefile (subdir): Remove export of subdir.
30829 (all): Remove target.
30830 (.PHONY): Remove all from list.
30831 (mkinstalldirs): Remove.
30832 (.PHONY): Remove installdirs from list.
30833 ($(inst_infodir)/libc.info): Use make-target-directory.
30834 (installdirs): Remove.
30835 (subdir_%): Remove.
30836 (glibc-targets): Remove.
30837 (lib): Remove.
30838 (stubs): Remove.
30839 ($(objpfx)stubs ../po/manual.pot): Remove.
30840 ($(objpfx)stamp%): Remove.
30841 (make-target-directory): Remove.
30842 (subdir_install): Remove.
30843 (routines): Remove.
30844 (aux): Remove.
30845 (sources): Remove.
30846 (objects): Remove.
30847 (headers): Remove.
30848
30849 [BZ #13750]
30850 * manual/.gitignore: Remove, it's not needed anymore.
30851 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30852 all files in it.
30853 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30854 directory.
30855 (texis): Renamed to $(objpfx)texis.
30856 (texis-path): New, contains path to generated files.
30857 (chapters.%): Use texis-path for complete path, add extra argument
30858 libc-texinfo.sh.
30859 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30860 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30861 (summary,texi, stamp-summary): Use complete path of
30862 files. Generate files in build dir.
30863 (dir-add.texi): Build in build dir.
30864 (libm-err.texi,stamp-libm-err): Likewise.
30865 (version.texi, stamp-version): Likewise.
30866 (.%c.texi): Likewise.
30867 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30868 (mostlyclean): Remove target.
30869 (realclean): Remove target.
30870 (generated): Add new variable with contents from mostlyclean and
30871 realclean, remove entries duplicated in common-mostlyclean, add
30872 stamp-libm-err and stamp-version.
30873 (generated-dirs): Add libc directory.
30874 ($(inst_infodir)/libc.info): Install files from build dir.
30875
30876 * manual/install.texi (Configuring and compiling): Adjust since
30877 the info files are not part of the tar ball anymore.
30878
30879 2012-05-14 Andreas Jaeger <aj@suse.de>
30880
30881 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30882 variable.
30883
30884 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30885
30886 [BZ #13717]
30887 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30888 to 2.2.0 where earlier.
30889 * sysdeps/unix/sysv/linux/configure: Regenerated.
30890 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30891 Remove conditional code.
30892 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30893 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30894 Remove conditional code.
30895 [!__NR_lchown]: Likewise.
30896 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30897 [__NR_lchown]: Likewise.
30898 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30899 comment referencing __ASSUME_LCHOWN_SYSCALL.
30900 * sysdeps/unix/sysv/linux/i386/sigaction.c
30901 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30902 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30903 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30904 Remove conditional code.
30905 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30906 (__protocol_available): Remove #if 0 code.
30907 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30908 conditional code.
30909 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30910 * sysdeps/unix/sysv/linux/kernel-features.h
30911 (__ASSUME_GETCWD_SYSCALL): Don't define.
30912 (__ASSUME_REALTIME_SIGNALS): Likewise.
30913 (__ASSUME_PREAD_SYSCALL): Likewise.
30914 (__ASSUME_PWRITE_SYSCALL): Likewise.
30915 (__ASSUME_POLL_SYSCALL): Likewise.
30916 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30917 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30918 non-SPARC.
30919 (__ASSUME_SIOCGIFNAME): Don't define.
30920 (__ASSUME_MSG_NOSIGNAL): Likewise.
30921 (__ASSUME_SENDFILE): Define unconditionally.
30922 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30923 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30924 conditional code.
30925 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30926 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30927 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30928 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30929 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30930 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30931 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30933 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30936 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30937 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30939 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30942 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30943 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30945 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30946 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30948 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30949 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30951 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30952 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30954 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30955 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30956 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30957 Remove conditional code.
30958 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30959 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30960 Remove conditional code.
30961 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30962 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30963 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30964 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30965 Remove conditional code.
30966 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30967 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30968 Remove conditional code.
30969 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30970 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30971 Remove conditional code.
30972 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30973 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30974 Remove conditional code.
30975 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30976 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30977 Remove conditional code.
30978 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30979 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30980 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30981 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30982 * sysdeps/unix/sysv/linux/sigaction.c
30983 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30984 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30985 * sysdeps/unix/sysv/linux/sigpending.c
30986 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30987 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30988 * sysdeps/unix/sysv/linux/sigprocmask.c
30989 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30990 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30991 * sysdeps/unix/sysv/linux/sigsuspend.c
30992 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30993 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30994 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30995 (__libc_missing_rt_sigs): Remove.
30996 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30997 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30998 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30999 Remove conditional code.
31000 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31001 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31002 return 1.
31003 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31004 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31005 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31006 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31007
31008 2012-05-14 Andreas Jaeger <aj@suse.de>
31009
31010 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31011 it's not used in glibc.
31012 (__coshm1): Likewise.
31013 (__acosh1p): Likewise.
31014 (__sgn): Likewise.
31015
31016 * manual/string.texi (Copying and Concatenation): Add missing
31017 variable in concat example.
31018 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31019
31020 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31021
31022 [BZ #14103]
31023 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31024 __builtin_clzl with __builtin_clzll.
31025
31026 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31027
31028 [BZ #14104]
31029 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31030 libc_freeres_ptr.
31031
31032 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31033
31034 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31035 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31036 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31037 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31038
31039 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31040
31041 * NEWS: Update ia64 info.
31042
31043 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31044
31045 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31046 used as bcopy.
31047
31048 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31049
31050 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31051 * sysdeps/unix/syscalls.list (dup3): Likewise.
31052 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31053 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31054
31055 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31056
31057 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31058 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31059
31060 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31061
31062 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31063 thread pointer.
31064 (TLS_IE): Use mov/add instead of movq/addq to load thread
31065 pointer.
31066 (TLS_GD_PREFIX): New.
31067 (TLS_GD): Use it.
31068
31069 2012-05-11 David S. Miller <davem@davemloft.net>
31070
31071 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31072 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31073 (_FPU_SETCW): Likewise.
31074
31075 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31076
31077 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31078 is 32-byte aligned.
31079
31080 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31081
31082 [BZ #11837]
31083 * iconvdata/gb18030.c: Update tables.
31084 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31085 characters specially.
31086 (BODY for TO_LOOP): Add encoding of missing ranges.
31087
31088 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31089
31090 [BZ #13673]
31091 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31092 * sysdeps/mach/hurd/dup3.c: Likewise.
31093 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31094 * sysdeps/powerpc/memmove.c:: Likewise.
31095
31096 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31097
31098 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31099 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31100
31101 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31102
31103 * elf/elf.h (R_X86_64_RELATIVE64): New.
31104 (R_X86_64_NUM): Updated.
31105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31106 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31107 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31108 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31109 tst-quad1pie tst-quad2pie
31110 (modules-names): Add tst-quadmod1 tst-quadmod2.
31111 ($(objpfx)tst-quad1): New dependency.
31112 ($(objpfx)tst-quad2): Likewise.
31113 ($(objpfx)tst-quad1pie): Likewise.
31114 ($(objpfx)tst-quad2pie): Likewise.
31115 * sysdeps/x86_64/tst-quad1.c: New file.
31116 * sysdeps/x86_64/tst-quad1pie.c: New file.
31117 * sysdeps/x86_64/tst-quad2.c: Likewise.
31118 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31119 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31120 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31121 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31122 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31123
31124 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31125
31126 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31127 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31128 * streams/stropts.h (t_scalar_t): Define type.
31129
31130 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31131 (_PATH_PRESERVE): Set to "/var/lib".
31132 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31133
31134 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31135 instead of int.
31136
31137 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31138 if __dir_mkfile succeeded.
31139
31140 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31141 checking for _hurd_dtablesize. Unlock it right after having
31142 finished _hurd_dtable allocation.
31143
31144 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31145
31146 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31147 * sysdeps/mach/hurd/configure: Regenerated.
31148 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31149 special-casing to...
31150 * sysdeps/gnu/configure.in: ... this new file.
31151 * sysdeps/unix/sysv/linux/configure: Regenerated.
31152 * sysdeps/gnu/configure: New generated file.
31153
31154 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31155 for Linux: use nsec instead of usec, as well as:
31156 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31157 members of type struct timespec.
31158 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31159 New macros.
31160 (struct stat64): Likewise.
31161 (_STATBUF_ST_NSEC): New macro.
31162 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31163
31164 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31165 __strtoul_internal rather than strtoul.
31166
31167 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31168
31169 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31170 and reject them.
31171
31172 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31173
31174 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31175 which preserves existing values.
31176 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31177
31178 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31179
31180 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31181 TIMEOUT values. Return EINVAL for NFDS values either negative or
31182 greater than FD_SETSIZE.
31183
31184 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31185
31186 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31187 allocated, call __vm_protect to finish enabling the existing space, and
31188 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31189 allocate the remainder.
31190
31191 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31192
31193 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31194 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31195
31196 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31197
31198 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31199 sysdeps/mach/hurd/readlink.c.
31200
31201 * posix/tst-sysconf.c (posix_options): Only use
31202 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31203 _POSIX_SYNCHRONIZED_IO when they are defined
31204 * sysdeps/mach/hurd/bits/posix_opt.h:
31205 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31206 (_XOPEN_REALTIME): Undefine macro.
31207 (_XOPEN_REALTIME_THREADS): Undefine macro.
31208 (_XOPEN_SHM): Undefine macro.
31209 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31210 macro to -1.
31211 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31212 macro to -1.
31213 (_POSIX_ASYNC_IO): Undefine macro.
31214 (_POSIX_PRIORITIZED_IO): Undefine macro.
31215 (_POSIX_SPIN_LOCKS): Define macro to -1.
31216
31217 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31218 SA_NODEFER, SA_RESETHAND.
31219 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31220 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31221 F_DUPFD_CLOEXEC.
31222
31223 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31224
31225 * elf/Makefile (pldd-modules): Define unconditionally.
31226
31227 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31228
31229 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31230
31231 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31232
31233 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31234 Return ENOENT when name is empty.
31235 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31236
31237 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31238
31239 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31240
31241 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31242
31243 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31244
31245 Fix mlock in all cases except non-readable pages.
31246 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31247 instead of VM_PROT_ALL as parameter to __vm_wire function.
31248
31249 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31250 (__mkdir): When path is `/', just fail with EEXIST.
31251 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31252
31253 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31254
31255 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31256 <sys/uio.h> (for writev).
31257 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31258 and <sys/param.h> (for MIN).
31259
31260 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31261
31262 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31263 REQUESTED_TIME. Properly set the remaining time and return EINTR
31264 if interrupted.
31265
31266 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31267
31268 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31269 Depend on against $(link-rpcuserlibs).
31270
31271 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31272
31273 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31274 (__libc_stack_end): Do not use attribute_relro.
31275 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31276 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31277 to libthread-provided value.
31278 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31279 attribute_relro.
31280
31281 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31282
31283 [BZ #3748]
31284 * bits/libc-lock.h (__libc_once_get): New macro.
31285 * sysdeps/mach/bits/libc-lock.h: Likewise.
31286 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31287 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31288 instead of using implementation details.
31289
31290 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31291 * libio/freopen.c: Likewise.
31292 * libio/freopen64.c: Likewise.
31293 * misc/syslog.c: Likewise.
31294 * nscd/connections.c: Likewise.
31295 * nscd/netgroupcache.c: Likewise.
31296 * sysdeps/posix/getcwd.c: Likewise.
31297
31298 2012-05-10 Roland McGrath <roland@hack.frob.com>
31299
31300 * math/w_ilogbf.c: Add #include <limits.h>.
31301
31302 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31303
31304 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31305 path instead of returning without unlocking.
31306
31307 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31308 immediate-write ioctls.
31309 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31310
31311 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31312
31313 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31314 __builtin_frame_address instead of making assumptions about the
31315 location of the return address relative to DATA. Force early load of
31316 the return address.
31317 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31318 __builtin_frame_address.
31319
31320 dup3 for GNU Hurd.
31321 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31322 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31323 implement dup3 and do some further code clean-ups.
31324 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31325 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31326
31327 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31328
31329 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31330
31331 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31332 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31333 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31334 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31335 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31336 d->port.lock.
31337
31338 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31339 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31340 when handler == SIG_ERR, not when handler != SIG_ERR.
31341
31342 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31343
31344 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31345 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31346 definitions.
31347
31348 accept4 for GNU Hurd.
31349 * include/sys/socket.h (__libc_accept4): New prototype.
31350 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31351 to implement __libc_accept4.
31352 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31353 __libc_accept4.
31354 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31355
31356 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31357 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31358 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31359 signal-defines.sym.
31360
31361 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31362
31363 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31364
31365 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31366
31367 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31368 assertion on O_CLOEXEC flag.
31369 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31370 * hurd/intern-fd.c: Likewise.
31371 * hurd/port2fd.c: Likewise.
31372
31373 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31374
31375 [BZ #3906]
31376 * bits/in.h (IPV6_PKTINFO): Define new macro.
31377 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31378
31379 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31380
31381 [BZ #13954]
31382 [BZ #13955]
31383 [BZ #13956]
31384 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31385 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31386 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31387 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31388 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31389 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31390 * math/libm-test.inc (logb_test) : Additional logb tests.
31391
31392 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31393 Andreas Jaeger <aj@suse.de>
31394
31395 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31396 * configure: Regenerated.
31397 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31398 * config.make.in (link-obsolete-rpc): New substituted variable.
31399 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31400 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31401 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31402 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31403 so that libc.a contains the symbols.
31404 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31405 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31406 * sunrpc/auth_none.c: Likewise.
31407 * sunrpc/auth_unix.c: Likewise.
31408 * sunrpc/authdes_prot.c: Likewise.
31409 * sunrpc/authuxprot.c: Likewise.
31410 * sunrpc/clnt_gen.c: Likewise.
31411 * sunrpc/clnt_perr.c: Likewise.
31412 * sunrpc/clnt_raw.c: Likewise.
31413 * sunrpc/clnt_simp.c: Likewise.
31414 * sunrpc/clnt_tcp.c: Likewise.
31415 * sunrpc/clnt_udp.c: Likewise.
31416 * sunrpc/clnt_unix.c: Likewise.
31417 * sunrpc/des_crypt.c: Likewise.
31418 * sunrpc/des_soft.c: Likewise.
31419 * sunrpc/get_myaddr.c: Likewise.
31420 * sunrpc/key_call.c: Likewise.
31421 * sunrpc/key_prot.c: Likewise.
31422 * sunrpc/netname.c: Likewise.
31423 * sunrpc/pm_getmaps.c: Likewise.
31424 * sunrpc/pm_getport.c: Likewise.
31425 * sunrpc/pmap_clnt.c: Likewise.
31426 * sunrpc/pmap_prot.c: Likewise.
31427 * sunrpc/pmap_prot2.c: Likewise.
31428 * sunrpc/pmap_rmt.c: Likewise.
31429 * sunrpc/publickey.c: Likewise.
31430 * sunrpc/rpc_cmsg.c: Likewise.
31431 * sunrpc/rpc_common.c: Likewise.
31432 * sunrpc/rpc_dtable.c: Likewise.
31433 * sunrpc/rpc_prot.c: Likewise.
31434 * sunrpc/rpc_thread.c: Likewise.
31435 * sunrpc/rtime.c: Likewise.
31436 * sunrpc/svc.c: Likewise.
31437 * sunrpc/svc_auth.c: Likewise.
31438 * sunrpc/svc_raw.c: Likewise.
31439 * sunrpc/svc_run.c: Likewise.
31440 * sunrpc/svc_tcp.c: Likewise.
31441 * sunrpc/svc_udp.c: Likewise.
31442 * sunrpc/svc_unix.c: Likewise.
31443 * sunrpc/svcauth_des.c: Likewise.
31444 * sunrpc/xcrypt.c: Likewise.
31445 * sunrpc/xdr.c: Likewise.
31446 * sunrpc/xdr_array.c: Likewise.
31447 * sunrpc/xdr_float.c: Likewise.
31448 * sunrpc/xdr_intXX_t.c: Likewise.
31449 * sunrpc/xdr_mem.c: Likewise.
31450 * sunrpc/xdr_rec.c: Likewise.
31451 * sunrpc/xdr_ref.c: Likewise.
31452 * sunrpc/xdr_sizeof.c: Likewise.
31453 * sunrpc/xdr_stdio.c: Likewise.
31454
31455 2012-05-10 Roland McGrath <roland@hack.frob.com>
31456
31457 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31458 change. Update copyright years.
31459
31460 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31461
31462 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31463
31464 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31465 Joseph Myers <joseph@codesourcery.com>
31466 Paul Pluzhnikov <ppluzhnikov@google.com>
31467
31468 [BZ #14012]
31469 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31470 requiring rpcgen.
31471 [cross-compiling] (extra-libs): Likewise.
31472 [cross-compiling] (extra-libs-others): Likewise.
31473 [cross-compiling] (librpcsvc-routines): Likewise.
31474 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31475 [cross-compiling] (omit-deps): Likewise.
31476 (sunrpc-CPPFLAGS): New variable.
31477 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31478 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31479 (cross-rpcgen-objs): New variable.
31480 (extra-objs): Append $(cross-rpcgen-objs).
31481 ($(cross-rpcgen-objs)): New rule.
31482 ($(objpfx)cross-rpcgen): Likewise.
31483 (rpcgen-cmd): Define to use $(built-program-file). Expand
31484 comment.
31485 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31486 ($(objpfx)x%.stmp): Likewise.
31487 * sunrpc/proto.h [IS_IN_build] (_): Define.
31488 [IS_IN_build] (_libc_intl_domainname): Likewise.
31489
31490 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31491
31492 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31493 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31494 and R_X86_64_TPOFF64.
31495
31496 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31497
31498 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31499 sysdeps/unix/sysv/syscalls.list.
31500 (stime): Likewise.
31501 (utime): Likewise.
31502 * sysdeps/unix/sysv/syscalls.list: Remove file.
31503
31504 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31505
31506 [BZ #3440]
31507 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31508 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31509 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31510 (__LC_IDENTIFICATION): Make these macros useful in #if
31511 expressions, as required by C99.
31512
31513 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31514
31515 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31516 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31517 after this.
31518
31519 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31520
31521 * stdlib/longlong.h: Updated from GCC.
31522
31523 2012-05-09 Andreas Jaeger <aj@suse.de>
31524
31525 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31526 default is first entry.
31527 (run_mode): Set type.
31528 (main): Remove informal message about syslog.
31529 (options): Fix typo.
31530
31531 [BZ #14053]
31532 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31533 to asm.
31534 (lrint): Likewise.
31535 (llrintf): Likewise.
31536 (llrint): Likewise.
31537 (rint): Likewise.
31538 (rintf): Likewise.
31539 (nearbyint): Likewise.
31540 (nearbyintf): Likewise.
31541
31542 2012-05-09 Andreas Jaeger <aj@suse.de>
31543 Pedro Alves <palves@redhat.com>
31544
31545 * nscd/nscd.c (run_mode): Use enum.
31546 (main): Cleanup coding style issue.
31547
31548 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31549 Andreas Jaeger <aj@suse.de>
31550
31551 * nscd/nscd.c (go_background): Replaced with...
31552 (run_mode): ... this.
31553 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31554 (options): Add -F --foreground.
31555 (main): Implement it.
31556 (parse_opt): Parse it.
31557
31558 2012-05-09 Andreas Jaeger <aj@suse.de>
31559
31560 [BZ #14083]
31561 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31562 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31563 -Wconversion warning.
31564 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31565 Likewise.
31566
31567 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31568
31569 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31570 == 0.
31571 (LC_ALL): Use macro-int-constant.
31572 (LC_COLLATE): Likewise.
31573 (LC_CTYPE): Likewise.
31574 (LC_MESSAGES): Likewise.
31575 (LC_MONETARY): Likewise.
31576 (LC_NUMERIC): Likewise.
31577 (LC_TIME): Likewise.
31578 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31579 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31580 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31581 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31582 Specify type.
31583 [C99-based standards] (float_t): Expect type.
31584 [C99-based standards] (double_t): Expect type.
31585 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31586 type.
31587 [C99-based standards] (HUGE_VALL): Likewise.
31588 [C99-based standards] (INFINITY): Likewise.
31589 [C99-based standards] (NAN): Likewise.
31590 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31591 [C99-based standards] (FP_NAN): Likewise.
31592 [C99-based standards] (FP_NORMAL): Likewise.
31593 [C99-based standards] (FP_SUBNORMAL): Likewise.
31594 [C99-based standards] (FP_ZERO): Likewise.
31595 [C99-based standards] (FP_FAST_FMA): Use
31596 optional-macro-int-constant. Specify type. Require == 1.
31597 [C99-based standards] (FP_FAST_FMAF): Likewise.
31598 [C99-based standards] (FP_FAST_FMAL): Likewise.
31599 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31600 [C99-based standards] (FP_ILOGBNAN): Likewise.
31601 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31602 Specify type.
31603 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31604 [C99-based standards] (math_errhandling): Specify type.
31605 [ISO99 || ISO11] (signgam): Do not allow.
31606 [non-C99-based standards] (copysignf): Do not allow.
31607 [non-C99-based standards] (exp2f): Likewise.
31608 [non-C99-based standards] (log2f): Likewise.
31609 [non-C99-based standards] (modff): Allow.
31610 [non-C99-based standards] (erff): Do not allow.
31611 [non-C99-based standards] (erfcf): Likewise.
31612 [non-C99-based standards] (gammaf): Likewise.
31613 [non-C99-based standards] (hypotf): Likewise.
31614 [non-C99-based standards] (j0f): Likewise.
31615 [non-C99-based standards] (j1f): Likewise.
31616 [non-C99-based standards] (jnf): Likewise.
31617 [non-C99-based standards] (lgammaf): Likewise.
31618 [non-C99-based standards] (tgammaf): Likewise.
31619 [non-C99-based standards] (y0f): Likewise.
31620 [non-C99-based standards] (y1f): Likewise.
31621 [non-C99-based standards] (ynf): Likewise.
31622 [non-C99-based standards] (isnanf): Likewise.
31623 [non-C99-based standards] (acoshf): Likewise.
31624 [non-C99-based standards] (asinhf): Likewise.
31625 [non-C99-based standards] (atanhf): Likewise.
31626 [non-C99-based standards] (cbrtf): Likewise.
31627 [non-C99-based standards] (expm1f): Likewise.
31628 [non-C99-based standards] (ilogbf): Likewise.
31629 [non-C99-based standards] (log1pf): Likewise.
31630 [non-C99-based standards] (logbf): Likewise.
31631 [non-C99-based standards] (nextafterf): Likewise.
31632 [non-C99-based standards] (remainderf): Likewise.
31633 [non-C99-based standards] (rintf): Likewise.
31634 [non-C99-based standards] (scalbf): Likewise.
31635 [non-C99-based standards] (copysignl): Likewise.
31636 [non-C99-based standards] (exp2l): Likewise.
31637 [non-C99-based standards] (log2l): Likewise.
31638 [non-C99-based standards] (modfl): Allow.
31639 [non-C99-based standards] (erfl): Do not allow.
31640 [non-C99-based standards] (erfcl): Likewise.
31641 [non-C99-based standards] (gammal): Likewise.
31642 [non-C99-based standards] (hypotl): Likewise.
31643 [non-C99-based standards] (j0l): Likewise.
31644 [non-C99-based standards] (j1l): Likewise.
31645 [non-C99-based standards] (jnl): Likewise.
31646 [non-C99-based standards] (lgammal): Likewise.
31647 [non-C99-based standards] (tgammal): Likewise.
31648 [non-C99-based standards] (y0l): Likewise.
31649 [non-C99-based standards] (y1l): Likewise.
31650 [non-C99-based standards] (ynl): Likewise.
31651 [non-C99-based standards] (isnanl): Likewise.
31652 [non-C99-based standards] (acoshl): Likewise.
31653 [non-C99-based standards] (asinhl): Likewise.
31654 [non-C99-based standards] (atanhl): Likewise.
31655 [non-C99-based standards] (cbrtl): Likewise.
31656 [non-C99-based standards] (expm1l): Likewise.
31657 [non-C99-based standards] (ilogbl): Likewise.
31658 [non-C99-based standards] (log1pl): Likewise.
31659 [non-C99-based standards] (logbl): Likewise.
31660 [non-C99-based standards] (nextafterl): Likewise.
31661 [non-C99-based standards] (remainderl): Likewise.
31662 [non-C99-based standards] (rintl): Likewise.
31663 [non-C99-based standards] (scalbl): Likewise.
31664 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31665 [non-C99-based standards] (FP_*): Do not allow.
31666 [C99-based standards] (FP_*): Change to
31667 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31668 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31669 allow.
31670 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31671 (SIG_ERR): Likewise.
31672 [X/Open-based standards] (SIG_HOLD): Likewise.
31673 (SIG_IGN): Likewise.
31674 (SIGABRT): Use macro-int-constant. Specify type. Require
31675 positive value.
31676 (SIGFPE): Likewise.
31677 (SIGILL): Likewise.
31678 (SIGINT): Likewise.
31679 (SIGSEGV): Likewise.
31680 (SIGTER): Likewise.
31681 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31682 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31683 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31684 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31685 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31686 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31687 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31688 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31689 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31690 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31691 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31692 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31693 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31694 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31695 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31696 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31697 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31698 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31699 [X/Open-based standards] (SIGTRAP): Likewise.
31700 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31701 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31702 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31703 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31704 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31705 allow.
31706
31707 2012-05-08 Ian Wienand <ianw@vmware.com>
31708
31709 [BZ #14080]
31710 * time/tzset.c (__tzset_parse_tz): Update default rules for
31711 daylight time changes in the Energy Policy Act of 2005.
31712
31713 2012-05-09 Andreas Jaeger <aj@suse.de>
31714
31715 [BZ #13983]
31716 * elf/ldconfig.c (parse_conf): Change string to make clear that
31717 ldconfig only issued a warning if ld.so.conf does not exist.
31718
31719 2012-05-08 David S. Miller <davem@davemloft.net>
31720
31721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31722 movxtod instead of popping the value on the stack.
31723
31724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31725
31726 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31727
31728 * config.h.in: Add HAVE_ARM_PCS_VFP.
31729
31730 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31731
31732 [BZ #13979]
31733 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31734 checking but the checks are disabled for any reason.
31735
31736 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31737
31738 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31739 and ELF64_R_TYPE with ELFW(R_TYPE).
31740
31741 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31742
31743 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31744 (ulimit): Likewise.
31745
31746 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31747 (settimeofday): Likewise.
31748
31749 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31750
31751 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31752 a struct th_u2 inside the union, and move tu_block/tu_code into
31753 a new th_u3 union of tu_block/tu_code inside of that. Move
31754 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31755 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31756 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31757 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31758 (th_stuff): Change to th_u1.tu_stuff.
31759 (th_data): Define.
31760 (th_msg): Change to th_u1.th_u2.tu_data.
31761
31762 2012-05-07 David S. Miller <davem@davemloft.net>
31763
31764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31765
31766 [BZ #14074]
31767 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31768 (SETUP_PIC_REG): Use it.
31769 (SETUP_PIC_REG_LEAF): Use it.
31770
31771 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31772
31773 [BZ #13885]
31774 [BZ #13923]
31775 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31776 USE_AS_EXPM1L.
31777 (EXPL_FINITE): Likewise.
31778 (FLDLOG): Likewise.
31779 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31780 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31781 e_expl.S.
31782 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31783 USE_AS_EXPM1L.
31784 (EXPL_FINITE): Likewise.
31785 (FLDLOG): Likewise.
31786 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31787 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31788 e_expl.S.
31789 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31790 test of -max_value argument for long double.
31791 * sysdeps/i386/fpu/libm-test-ulps: Update.
31792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31793
31794 2012-05-06 David S. Miller <davem@davemloft.net>
31795
31796 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31797 quad soft-float symbols whose references which are compiler
31798 generated.
31799 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31800
31801 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31802
31803 [BZ #13884]
31804 [BZ #13914]
31805 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31806 USE_AS_EXP10L.
31807 (EXPL_FINITE): Likewise.
31808 (FLDLOG): Likewise.
31809 (c0): Likewise.
31810 (c1): Likewise.
31811 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31812 Adjust comments for base varying.
31813 (__expl_finite): Change alias to EXPL_FINITE.
31814 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31815 e_expl.S.
31816 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31817 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31818 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31819 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31820 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31821 USE_AS_EXP10L.
31822 (EXPL_FINITE): Likewise.
31823 (FLDLOG): Likewise.
31824 (c0): Likewise.
31825 (c1): Likewise.
31826 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31827 Adjust comments for base varying.
31828 (__expl_finite): Change alias to EXPL_FINITE.
31829 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31830 tests for bugs.
31831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31832
31833 [BZ #14064]
31834 * math/libm-test.inc (check_float_internal): Correct ulp
31835 calculation for subnormal expected results.
31836
31837 2012-05-06 Andreas Jaeger <aj@suse.de>
31838
31839 * Makeconfig (+math-flags): New, set to -frounding-math.
31840 (+cflags): Add +math-flags so that all of glibc gets compiled with
31841 it.
31842
31843 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31844
31845 2012-05-05 Joseph Myers <joseph@codesourcery.com>
31846
31847 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31848 Disable one test.
31849
31850 [BZ #13787]
31851 [BZ #13922]
31852 [BZ #14036]
31853 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31854 (__ieee754_expl): Allow for and saturate large arguments.
31855 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31856 (u_threshold): Likewise.
31857 (__exp): Call __ieee754_exp before checking for overflow and
31858 underflow.
31859 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31860 (u_threshold): Likewise.
31861 (__expf): Call __ieee754_expf before checking for overflow and
31862 underflow.
31863 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31864 (u_threshold): Likewise.
31865 (__expl): Call __ieee754_expl before checking for overflow and
31866 underflow.
31867 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31868 (__ieee754_expl): Allow for and saturate large arguments.
31869 * math/libm-test.inc (exp_test): Add another test. Do not allow
31870 missing overflow exception on overflow.
31871 (expm1_test): Do not allow missing overflow exception on overflow.
31872
31873 * sysdeps/i386/fpu/e_expl.c: Move to ...
31874 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31875 rather than using inline asm.
31876 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31877 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31878 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31879
31880 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31881 (nice): Likewise.
31882 (poll): Likewise.
31883 (signal): Likewise.
31884 (time): Likewise.
31885 (times): Likewise.
31886
31887 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31888
31889 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31890 sysdeps/unix/common/syscalls.list.
31891 (fchmod): Likewise.
31892 (fchown): Likewise.
31893 (ftruncate): Likewise.
31894 (getrusage): Likewise.
31895 (gettimeofday): Likewise.
31896 (setpgid): Likewise.
31897 (setregid): Likewise.
31898 (setreuid): Likewise.
31899 (sigaction): Likewise.
31900 (truncate): Likewise.
31901 (vhangup): Likewise.
31902 * sysdeps/unix/common/syscalls.list: Remove file.
31903 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31904 * sysdeps/unix/sysv/linux/Implies: Likewise.
31905
31906 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31907
31908 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31910 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31911 Moved to ...
31912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31913 Here.
31914 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31915 to ...
31916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31917 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31918 to ...
31919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31920 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31921 to ...
31922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31923 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31924 to ...
31925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31926 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31927 to ...
31928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31929 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31930 to ...
31931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31932 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31933 to ...
31934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31935 Here.
31936 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31937 to ...
31938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31939 Here.
31940 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31941 to ...
31942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31943 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31944 Moved to ...
31945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31946 Here.
31947 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31948 to ...
31949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31950
31951 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31952
31953 * sysdeps/unix/common/bits/dirent.h: Remove file.
31954 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31955
31956 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31957 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31958 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31959 * sysdeps/unix/bsd/isatty.c: Likewise.
31960 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31961 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31962 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31963
31964 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31965
31966 [BZ #13563]
31967 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31968 long double comparison inaccuracies.
31969 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31971
31972 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31973
31974 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31975 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31976
31977 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31978
31979 [BZ #14049]
31980 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31981 nonzero digits before rounding a hex value.
31982 * stdlib/tst-strtod.c (tests): Add another test.
31983
31984 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31985
31986 * sysdeps/s390/fpu/libm-test-ulps: Update.
31987
31988 2012-05-03 Andreas Jaeger <aj@suse.de>
31989
31990 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31991 does not get optimized out.
31992 (malloc_opt_barrier): New.
31993
31994 2012-05-03 Andreas Jaeger <aj@suse.de>
31995 Roland McGrath <roland@hack.frob.com>
31996
31997 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31998 intermediate file deletion.
31999 (generated): Add .symlist files.
32000
32001 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32002
32003 [BZ #13775]
32004 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32005 Redirect under this condition.
32006 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32007 [__USE_GNU] (__dprintf_chk): Not under this condition.
32008 [__USE_GNU] (__vdprintf_chk): Likewise.
32009 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32010 under this condition.
32011 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32012 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32013 [__USE_XOPEN2K8] (vdprintf): Likewise.
32014 [__USE_GNU] (__dprintf_chk): Not under this condition.
32015 [__USE_GNU] (__vdprintf_chk): Likewise.
32016 [__USE_GNU] (dprintf): Likewise.
32017 [__USE_GNU] (vdprintf): Likewise.
32018
32019 2012-05-03 Roland McGrath <roland@hack.frob.com>
32020
32021 * elf/Makefile (common-generated): Set this instead of generated for
32022 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32023 $(all-built-dso)-derived lists.
32024
32025 2012-05-03 Andreas Jaeger <aj@suse.de>
32026
32027 * sysdeps/i386/fpu/libm-test-ulps: Update.
32028
32029 * FAQ: Removed.
32030 * FAQ.in: Likewise.
32031 * scripts/gen-FAQ.pl: Likewise.
32032 * manual/install.texi (Installation): Point to online location of
32033 FAQ.
32034 * Makefile (files-for-dist): Remove FAQ.
32035 (FAQ): Remove.
32036
32037 2012-05-02 Allan McRae <allan@archlinux.org>
32038
32039 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32040 (LDFLAGS-reldepmod5.so): Likewise.
32041 (LDFLAGS-reldep6mod1.so): Likewise.
32042 (LDFLAGS-reldep6mod4.so): Likewise.
32043 (LDFLAGS-reldep8mod3.so): Likewise.
32044 (LDFLAGS-unload4mod1.so): Likewise.
32045 (LDFLAGS-unload4mod2.so): Likewise.
32046 (LDFLAGS-tst-initorder): Likewise.
32047 (LDFLAGS-tst-initordera2.so): Likewise.
32048 (LDFLAGS-tst-initordera3.so): Likewise.
32049 (LDFLAGS-tst-initordera4.so): Likewise.
32050 (LDFLAGS-tst-initorderb2.so): Likewise.
32051 (LDFLAGS-noload): Likewise.
32052 (LDFLAGS-next): Likewise.
32053 (LDFLAGS-order2mod1.so): Likewise.
32054 (LDFLAGS-order2mod2.so): Likewise.
32055 (LDFLAGS-tst-initorder2): Likewise.
32056 (LDFLAGS-tst-initorder2a.so): Likewise.
32057 (LDFLAGS-tst-initorder2b.so): Likewise.
32058 (LDFLAGS-tst-initorder2c.so): Likewise.
32059 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32060
32061 2012-05-02 David S. Miller <davem@davemloft.net>
32062
32063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32064
32065 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32066
32067 [BZ #14055]
32068 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32069
32070 2012-05-02 Andreas Jaeger <aj@suse.de>
32071
32072 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32073 since we manipulate rounding mode.
32074 (CPPFLAGS-test-idouble.c): Likewise.
32075 (CPPFLAGS-test-ifloat.c): Likewise.
32076 (CFLAGS-test-ldouble.c): Likewise.
32077 (CFLAGS-test-double.c): Likewise.
32078 (CFLAGS-test-float.c): Likewise.
32079 (CFLAGS-test-misc.c): Likewise.
32080 (CFLAGS-test-test-fenv.c): Likewise.
32081
32082 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32083
32084 [BZ #2550]
32085 [BZ #2570]
32086 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32087 comparisons to determine direction to adjust input.
32088
32089 2012-05-01 Roland McGrath <roland@hack.frob.com>
32090
32091 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32092 output to the target.
32093
32094 * scripts/localplt.awk: New file.
32095 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32096 (check-localplt-CFLAGS): Variable removed.
32097 ($(all-built-dso:=.jmprel)): New static pattern rule.
32098 (generated): Add those targets.
32099 (localplt-built-dso): New variable.
32100 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32101
32102 * elf/check-localplt.c: File removed.
32103
32104 * scripts/check-execstack.awk: New file.
32105 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32106 (check-execstack-CFLAGS): Variable removed.
32107 ($(objpfx)check-execstack.h): Target removed.
32108 ($(objpfx)execstack-default): New target.
32109 (generated): Add that instead of check-execstack.h.
32110 ($(all-built-dso:=.phdr)): New static pattern rule.
32111 (generated): Add those targets.
32112 * elf/check-execstack.c: File removed.
32113
32114 * scripts/check-textrel.awk: New file.
32115 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32116 (check-textrel-CFLAGS): Variable removed.
32117 (all-built-dso): Use := to define.o
32118 ($(all-built-dso:=.dyn)): New static pattern rule.
32119 (generated): Add those targets.
32120 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32121 * config.make.in (READELF): New substituted variable.
32122 * elf/check-textrel.c: File removed.
32123
32124 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32125
32126 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32127 allow.
32128 * conform/data/ctype.h-data [C99-based standards] (isblank):
32129 Expect function.
32130 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32131 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32132 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32133 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32134 Specify type. Require positive value.
32135 (EILSEQ): Likewise.
32136 (ERANGE): Likewise.
32137 [ISO || POSIX] (EILSEQ): Do not expect.
32138 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32139 Specify type. Require positive value.
32140 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32141 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32142 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32143 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32144 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32145 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32146 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32147 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32148 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32149 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32150 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32151 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32152 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32153 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32154 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32155 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32156 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32157 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32158 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32159 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32160 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32161 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32162 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32163 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32164 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32165 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32166 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32167 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32168 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32169 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32170 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32171 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32172 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32173 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32174 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32175 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32176 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32177 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32178 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32179 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32180 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32181 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32182 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32183 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32184 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32185 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32186 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32187 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32188 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32189 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32190 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32191 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32192 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32193 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32194 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32195 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32196 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32197 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32198 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32199 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32200 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32201 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32202 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32203 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32204 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32205 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32206 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32207 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32208 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32209 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32210 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32211 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32212 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32213 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32214 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32215 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32216 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32217 Require >= 2.
32218 (FLT_ROUNDS): Expect as macro, not constant.
32219 (FLT_MANT_DIG): Use macro-int-constant.
32220 (DBL_MANT_DIG): Likewise.
32221 (LDBL_MANT_DIG): Likewise.
32222 (FLT_DIG): Likewise.
32223 (DBL_DIG): Likewise.
32224 (LDBL_DIG): Likewise.
32225 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32226 (DBL_MIN_EXP): Likewise.
32227 (LDBL_MIN_EXP): Likewise.
32228 (FLT_MAX_EXP): Use macro-int-constant.
32229 (DBL_MAX_EXP): Likewise.
32230 (LDBL_MAX_EXP): Likewise.
32231 (FLT_MAX_10_EXP): Likewise.
32232 (DBL_MAX_10_EXP): Likewise.
32233 (LDBL_MAX_10_EXP): Likewise.
32234 (FLT_MAX): Use macro-constant.
32235 (DBL_MAX): Likewise.
32236 (LDBL_MAX): Likewise.
32237 (FLT_EPSILON): Use macro-constant. Give upper bound.
32238 (DBL_EPSILON): Likewise.
32239 (LDBL_EPSILON): Likewise.
32240 (FLT_MIN): Likewise.
32241 (DBL_MIN): Likewise.
32242 (LDBL_MIN): Likewise.
32243 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32244 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32245 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32246 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32247 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32248 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32249 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32250 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32251 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32252 [ISO11] (FLT_TRUE_MIN): Likewise.
32253 [ISO11] (LDBL_TRUE_MIN): Likewise.
32254 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32255 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32256 (SCHAR_MIN): Use macro-int-constant. Specify type.
32257 (SCHAR_MAX): Likewise.
32258 (UCHAR_MAX): Likewise.
32259 (CHAR_MIN): Likewise.
32260 (CHAR_MAX): Likewise.
32261 (MB_LEN_MAX): Use macro-int-constant.
32262 (SHRT_MIN): Use macro-int-constant. Specify type.
32263 (SHRT_MAX): Likewise.
32264 (USHRT_MAX): Likewise.
32265 (INT_MAX): Likewise.
32266 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32267 bound negative.
32268 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32269 bound with "U".
32270 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32271 bound with "L".
32272 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32273 bound negative. Suffix upper bound with "L".
32274 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32275 bound with "UL".
32276 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32277 Specify type.
32278 [C99-based standards] (LLONG_MAX): Likewise.
32279 [C99-based standards] (ULLONG_MAX): Likewise.
32280 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32281 == 0.
32282 [ISO11] (max_align_t): Require type.
32283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32284
32285 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32286 from $CFLAGS, without defining away __attribute__ calls.
32287 (checknamespace): Use $CFLAGS_namespace.
32288
32289 * conform/conformtest.pl (@keywords): Only include C99 keywords
32290 for standards based on C99 or C11.
32291
32292 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32293 Disable tests.
32294 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32295 UNIX98]: Likewise.
32296
32297 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32298 usability of symbols in #if.
32299
32300 * conform/conformtest.pl: If macro or constant types start
32301 "promoted:", expect the symbol to be of the following type
32302 promoted by the integer promotions.
32303
32304 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32305 in one place. Also handle "macro-constant".
32306
32307 * conform/conformtest.pl: Only accept expected macro values with
32308 "==". Parse all "macro" lines in one place.
32309 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32310
32311 * conform/conformtest.pl: Handle braced types on "constant" lines
32312 instead of handling "typed-constant".
32313 * conform/data/signal.h-data: Use "constant" instead of
32314 "typed-constant".
32315
32316 * conform/conformtest.pl: Handle "optional-" at start of lines in
32317 one place rather than duplicating several cases. Handle each
32318 format of "macro" line with initial "optional-".
32319
32320 * conform/conformtest.pl: Only accept expected constant or
32321 optional-constant values with "==". Parse all "constant" lines in
32322 one place. Parse all "optional-constant" lines in one place.
32323 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32324 * conform/data/fmtmsg.h-data: Likewise.
32325 * conform/data/netinet/in.h-data: Likewise.
32326 * conform/data/tar.h-data: Likewise.
32327 * conform/data/limits.h-data: Use "==" form on "constant" and
32328 "optional-constant" lines.
32329
32330 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32331 Use -std=c99 for XOPEN2K.
32332 (@knownproblems): Remove.
32333 (newtoken): Don't check %isknown.
32334
32335 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32336 Do not expect macro.
32337 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32338 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32339 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32340 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32341 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32342 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32343 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32344 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32345 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32346 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32347 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32348 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32349 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32350 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32351 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32352 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32353 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32354 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32355 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32356 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32357 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32358 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32359 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32360 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32361 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32362 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32363 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32364 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32365 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32366 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32367 [XPG3] (acosh): Likewise.
32368 [XPG3] (asinh): Likewise.
32369 [XPG3] (atanh): Likewise.
32370 [XPG3] (cbrt): Likewise.
32371 [XPG3] (expm1): Likewise.
32372 [XPG3] (ilogb): Likewise.
32373 [XPG3] (log1p): Likewise.
32374 [XPG3] (logb): Likewise.
32375 [XPG3] (nextafter): Likewise.
32376 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32377 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32378 [XPG3] (remainder): Likewise.
32379 [XPG3] (rint): Likewise.
32380 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32381 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32382 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32383 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32384 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32385 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32386 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32387 [UNIX98 || XOPEN2K] (scalb): Expect.
32388 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32389 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32390 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32391 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32392 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32393 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32394 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32395 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32396 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32397 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32398 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32399 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32400 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32401 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32402 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32403 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32404 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32405 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32406 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32407 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32408 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32409 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32410 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32411 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32412 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32413 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32414 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32415 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32416 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32417 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32418 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32419 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32420 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32421 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32422 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32423 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32424 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32425 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32426 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32427 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32428 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32429 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32430 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32431 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32432 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32433 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32434 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32435 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32436 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32437 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32438 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32439 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32440 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32441 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32442 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32443 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32444 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32445 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32446 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32447 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32448 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32449 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32450 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32451 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32452 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32453 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32454 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32455 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32456 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32457 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32458 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32459 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32460 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32461 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32462 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32463 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32464 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32465 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32466 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32467 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32468 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32469 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32470 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32471 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32472 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32473 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32474 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32475 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32476 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32477 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32478 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32479 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32480 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32481 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32482 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32483 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32484 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32485 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32486 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32487 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32488 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32489 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32490 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32491 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32492 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32493 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32494 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32495 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32496 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32497 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32498 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32499 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32500 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32501 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32502 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32503 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32504 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32505 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32506 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32507 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32508 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32509 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32510 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32511 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32512 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32513 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32514 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32515 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32516 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32517 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32518 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32519 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32520 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32521 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32522 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32523 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32524 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32525
32526 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32527 _XOPEN_SOURCE_EXTENDED for XPG4.
32528
32529 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32530
32531 * Makeconfig (localtime): Remove variable.
32532 (inst_localtime-file): Likewise.
32533
32534 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32535
32536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32537 Update.
32538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32539 Update.
32540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32541 Update.
32542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32543 Update.
32544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32545 Update.
32546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32547 Update.
32548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32549 Update.
32550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32551 Update.
32552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32553 Update.
32554
32555 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32556
32557 [BZ #2550]
32558 [BZ #2570]
32559 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32560 comparisons to determine direction to adjust input.
32561 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32562 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32563 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32564 Likewise.
32565 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32566 Likewise.
32567 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32568 Likewise.
32569 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32570 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32571 Likewise.
32572 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32573 Likewise.
32574 * math/libm-test.inc (nexttoward_test): Add more tests.
32575
32576 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32577
32578 [BZ #14040]
32579 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32580 in version GLIBC_2.1, not GLIBC_2.0.
32581 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32582 Likewise.
32583
32584 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32585
32586 [BZ #13942]
32587 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32588 (1 - x) * (1 + x).
32589 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32590 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32591 * math/libm-test.inc (acos_test): Add more tests.
32592 (asin_test): Likewise.
32593 * sysdeps/i386/fpu/libm-test-ulps: Update.
32594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32595
32596 [BZ #14034]
32597 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32598 of square root.
32599 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32600 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32601 * math/libm-test.inc (acos_test_tonearest): New function.
32602 (acos_test_towardzero): Likewise.
32603 (acos_test_downward): Likewise.
32604 (acos_test_upward): Likewise.
32605 (asin_test_tonearest): Likewise.
32606 (asin_test_towardzero): Likewise.
32607 (asin_test_downward): Likewise.
32608 (asin_test_upward): Likewise.
32609 (main): Call the new functions.
32610 * sysdeps/i386/fpu/libm-test-ulps: Update.
32611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32612
32613 [BZ #13884]
32614 [BZ #13924]
32615 * math/e_exp10.c: Include <float.h>.
32616 (__ieee754_exp10): Handle underflow here rather than multiplying
32617 large negative argument by M_LN10.
32618 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32619 of __ieee754_expf.
32620 * math/e_exp10l.c: Include <float.h>.
32621 (__ieee754_exp10l): Handle underflow here rather than multiplying
32622 large negative argument by M_LN10l.
32623 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32624 spurious overflow exception on underflow.
32625
32626 2012-04-29 Marek Polacek <polacek@redhat.com>
32627
32628 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32629 (__fortify_function): New macro.
32630 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32631 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32632 __extern_always_inline.
32633 * libio/bits/stdio2.h: Likewise.
32634 * libio/bits/stdio.h: Likewise.
32635 * string/string.h: Likewise.
32636 * string/bits/string3.h: Likewise.
32637 * include/stdio.h: Likewise.
32638 * stdlib/bits/stdlib.h: Likewise.
32639 * stdlib/stdlib.h: Likewise.
32640 * rt/bits/mqueue2.h: Likewise.
32641 * rt/mqueue.h: Likewise.
32642 * posix/bits/unistd.h: Likewise.
32643 * posix/unistd.h: Likewise.
32644 * io/bits/poll2.h: Likewise.
32645 * io/bits/fcntl2.h: Likewise.
32646 * io/fcntl.h: Likewise.
32647 * io/sys/poll.h: Likewise.
32648 * misc/bits/syslog.h: Likewise.
32649 * misc/bits/syslog-ldbl.h: Likewise.
32650 * misc/sys/syslog.h: Likewise.
32651 * socket/bits/socket2.h: Likewise.
32652 * socket/sys/socket.h: Likewise.
32653 * debug/tst-chk1.c: Likewise.
32654 * wcsmbs/bits/wchar2.h: Likewise.
32655 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32656 * wcsmbs/wchar.h: Likewise.
32657
32658 2012-04-29 Andreas Jaeger <aj@suse.de>
32659
32660 * Makerules (tests): Remove enable-check-abi protection.
32661 (check-abi-warn): Remove.
32662 (check-abi-%): Remove check-abi-warn usage.
32663
32664 * configure.in: Remove check-abi configure option.
32665 * configure: Regenerated.
32666 * config.make.in (enable-check-abi): Remove.
32667
32668 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32669
32670 [BZ #14033]
32671 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32672 double functions to double *_finite functions.
32673
32674 [BZ #13941]
32675 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32676 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32677 LDBL_MIN_EXP.
32678 * stdio-common/Makefile (tests): Add tst-sprintf3.
32679 * stdio-common/tst-sprintf3.c: New file.
32680
32681 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32682 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32683
32684 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32685
32686 * conform/conformtest.pl: Remove duplicate typed-constant
32687 handling.
32688
32689 2012-04-28 David S. Miller <davem@davemloft.net>
32690
32691 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32692 (check-abi-%): Remove AWK script prerequisite and explicit
32693 abilist directory.
32694 (check-abi): Rewrite to just diff the symlist with the abilist.
32695 (config-tls, config-abi-config): Delete, no longer used.
32696 (update-abi-%): Remove AWK script and explicit abilist directory.
32697 (update-abi): Rewrite to simply compare and conditionally copy the
32698 symlist and the sysdep abilist file. Remove update-abi-config
32699 checks.
32700 * abilist/ld.abilist: Remove.
32701 * abilist/libBrokenLocale.abilist: Remove.
32702 * abilist/libanl.abilist: Remove.
32703 * abilist/libcrypt.abilist: Remove.
32704 * abilist/libdl.abilist: Remove.
32705 * abilist/librt.abilist: Remove.
32706 * abilist/libthread_db.abilist: Remove.
32707 * abilist/libutil.abilist: Remove.
32708 * scripts/extract-abilist.awk: Remove.
32709 * scripts/merge-abilist.awk: Remove.
32710 * sysdeps/generic/libcidn.abilist: New file.
32711 * sysdeps/generic/libnss_compat.abilist: New file.
32712 * sysdeps/generic/libnss_db.abilist: New file.
32713 * sysdeps/generic/libnss_dns.abilist: New file.
32714 * sysdeps/generic/libnss_files.abilist: New file.
32715 * sysdeps/generic/libnss_hesiod.abilist: New file.
32716 * sysdeps/generic/libnss_nis.abilist: New file.
32717 * sysdeps/generic/libnss_nisplus.abilist: New file.
32718 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32719 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32720 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32721 file.
32722 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32723 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32724 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32725 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32726 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32727 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32728 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32729 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32730 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32731 file.
32732 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32733 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32734 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32735 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32736 file.
32737 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32738 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32739 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32740 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32741 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32742 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32743 file.
32744 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32745 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32746 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32747 file.
32748 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32750 New file.
32751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32752 New file.
32753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32754 New file.
32755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32756 New file.
32757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32758 New file.
32759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32760 New file.
32761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32762 New file.
32763 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32764 New file.
32765 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32766 New file.
32767 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32768 New file.
32769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32770 New file.
32771 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32772 New file.
32773 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32774 New file.
32775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32776 file.
32777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32778 New file.
32779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32780 New file.
32781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32782 file.
32783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32784 New file.
32785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32786 New file.
32787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32788 file.
32789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32790 New file.
32791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32792 New file.
32793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32794 New file.
32795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32796 New file.
32797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32798 New file.
32799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32800 New file.
32801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32803 file.
32804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32805 New file.
32806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32807 file.
32808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32809 file.
32810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32811 file.
32812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32813 file.
32814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32815 file.
32816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32817 New file.
32818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32819 file.
32820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32821 file.
32822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32823 New file.
32824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32825 file.
32826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32828 file.
32829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32830 New file.
32831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32832 file.
32833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32834 file.
32835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32836 file.
32837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32838 file.
32839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32840 file.
32841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32842 New file.
32843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32844 file.
32845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32846 file.
32847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32848 New file.
32849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32850 file.
32851 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32852 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32853 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32854 file.
32855 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32856 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32857 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32858 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32859 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32860 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32861 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32862 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32863 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32864 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32867 file.
32868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32869 New file.
32870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32871 file.
32872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32873 file.
32874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32875 file.
32876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32877 file.
32878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32879 file.
32880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32881 New file.
32882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32883 New file.
32884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32885 file.
32886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32887 New file.
32888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32889 file.
32890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32892 file.
32893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32894 New file.
32895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32896 file.
32897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32898 file.
32899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32900 file.
32901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32902 file.
32903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32904 file.
32905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32906 New file.
32907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32908 New file.
32909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32910 file.
32911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32912 New file.
32913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32914 file.
32915
32916 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32917
32918 * conform/conformtest.pl: Fix typo in handling typed-constant from
32919 allow-header.
32920
32921 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32922
32923 * README: Cut down references to pre-2.6 Linux kernels and
32924 Linuxthreads. Update lists of configurations in libc and ports
32925 and sort alphabetically. Say "or newer" with Linux kernel version
32926 requirements.
32927
32928 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32929
32930 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32931
32932 [BZ #887]
32933 * math/libm-test.inc (logb_test_downward): New test to expose
32934 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32935 rounding mode.
32936
32937 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32938
32939 [BZ #14027]
32940 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32941 to be done.
32942 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32943 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32944
32945 2012-04-26 Joseph Myers <joseph@codesourcery.com>
32946
32947 * sysdeps/unix/i386/brk.S: Remove file.
32948 * sysdeps/unix/i386/dl-brk.S: Likewise.
32949 * sysdeps/unix/i386/pipe.S: Likewise.
32950 * sysdeps/unix/i386/sigreturn.S: Likewise.
32951 * sysdeps/unix/i386/syscall.S: Likewise.
32952 * sysdeps/unix/i386/vfork.S: Likewise.
32953 * sysdeps/unix/i386/wait.S: Likewise.
32954
32955 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32956 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32957
32958 * configure.in (arm*-none*): Do not allow without
32959 --enable-hacker-mode.
32960 (netbsd*): Remove case setting base_os.
32961 (386bsd*): Likewise.
32962 (freebsd*): Likewise.
32963 (bsdi*): Likewise.
32964 (osf*): Likewise.
32965 (sunos*): Likewise.
32966 (ultrix*): Likewise.
32967 (newsos*): Likewise.
32968 (dynix*): Likewise.
32969 (*bsd*): Likewise.
32970 (sysv*): Likewise.
32971 (isc*): Likewise.
32972 (esix*): Likewise.
32973 (sco*): Likewise.
32974 (minix*): Likewise.
32975 (irix4*): Likewise.
32976 (irix6*): Likewise.
32977 (solaris[2-9]*): Likewise.
32978 (none): Likewise.
32979 * configure: Regenerated.
32980
32981 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32982
32983 [BZ #11521]
32984 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32985 overflow or cancellation in calculating denominator.
32986 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32987 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32988 down expression to avoid unexpected rounding in newer GCCs.
32989 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32990
32991 2012-04-26 David S. Miller <davem@davemloft.net>
32992
32993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32994 long-double compat symbols.
32995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33008
33009 2012-04-25 David S. Miller <davem@davemloft.net>
33010
33011 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33012 HWCAP_* values only after the memory barriers have been defined.
33013 (atomic_full_barrier): Define.
33014 (atomic_read_barrier): Define.
33015 (atomic_write_barrier): Define.
33016
33017 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33018
33019 * shlib-versions: Add libgcc_s version information.
33020 * sysdeps/generic/libgcc_s.h: Remove.
33021 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33022 libgcc_s.h.
33023 * sysdeps/gnu/unwind-resume.c: Likewise.
33024 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33025
33026 2012-04-25 David S. Miller <davem@davemloft.net>
33027
33028 * sysdeps/unix/sparc/brk.S: Delete.
33029 * sysdeps/unix/sparc/dl-brk.S: Delete.
33030 * sysdeps/unix/sparc/pipe.S: Delete.
33031 * sysdeps/unix/sparc/sysdep.S: Delete.
33032 * sysdeps/unix/sparc/sysdep.h: Delete.
33033 * sysdeps/unix/sparc/vfork.S: Delete.
33034 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33035 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33036 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33037 (ret_ERRVAL, r0, r1, MOVE): Define.
33038 (JUMPTARGET): Remove.
33039 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33040 sysdeps/unix/sparc/sysdep.h
33041 (ENTRY, END): Remove.
33042 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33043
33044 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33045
33046 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33047 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33048 -DIS_IN_build.
33049
33050 * timezone/README: Update upstream location and email address for
33051 tzcode and tzdata.
33052 * timezone/zdump.c: Update from tzcode 2012b.
33053 * timezone/zic.c: Likewise.
33054
33055 * configure.in (libc_cv_as_needed): Remove test.
33056 * configure: Regenerated.
33057 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33058 conditional definition.
33059 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33060 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33061 * config.make.in (have-as-needed): Remove variable.
33062
33063 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33064 Paul Pluzhnikov <ppluzhnikov@google.com>
33065
33066 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33067 strings correctly.
33068
33069 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33070
33071 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33072 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33073 * sysdeps/sh/strlen.S: Likewise.
33074
33075 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33076
33077 * sysdeps/unix/fork.S: Remove file.
33078 * sysdeps/unix/i386/fork.S: Likewise.
33079 * sysdeps/unix/sparc/fork.S: Likewise.
33080
33081 * sysdeps/unix/system.c: Remove file.
33082 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33083
33084 * sysdeps/unix/getegid.S: Remove file.
33085 * sysdeps/unix/geteuid.S: Likewise.
33086
33087 2012-04-24 Roland McGrath <roland@hack.frob.com>
33088
33089 * scripts/check-localplt.awk: New file.
33090 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33091 of diff.
33092 * scripts/data/localplt-generic.data: Add a comment.
33093
33094 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33095 NODE when __dir_mkfile failed.
33096 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33097 Reported by Ludovic Courtès <ludo@gnu.org>.
33098
33099 2012-04-24 Andreas Jaeger <aj@suse.de>
33100
33101 * Makerules (common-clean): Also remove gen-as-const-headers
33102 files.
33103
33104 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33105
33106 * Makerules (native-compile): Do not change working directory for
33107 build. Use $(OUTPUT_OPTION) in command.
33108 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33109
33110 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33111
33112 [BZ #13886]
33113 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33114 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33115 * math/libm-test.inc (floor_test): Add more tests.
33116 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33117
33118 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33119
33120 * sysdeps/unix/getdents.c: Remove file.
33121 * sysdeps/unix/sysv/getdents.c: Likewise.
33122 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33123
33124 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33125 sysdeps/unix/mman/syscalls.list.
33126 (mmap): Likewise.
33127 (mprotect): Likewise.
33128 (msync): Likewise.
33129 (munmap): Likewise.
33130 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33131 * sysdeps/unix/mman/syscalls.list: Remove.
33132 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33133
33134 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33135 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33136 * configure: Regenerated.
33137 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33138 $(libgcc_s_suffix).
33139 * config.make.in (libgcc_s_suffix): Remove variable.
33140
33141 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33142
33143 * sysdeps/unix/sysv/gethostname.c: Move to ...
33144 * sysdeps/posix/gethostname.c: ... here.
33145
33146 * sysdeps/unix/execve.S: Remove file.
33147
33148 * sysdeps/unix/_exit.S: Remove file.
33149
33150 2012-04-23 Andreas Jaeger <aj@suse.de>
33151
33152 [BZ #13739]
33153 * manual/Makefile: Remove make dist support, there's no
33154 need for a stand-alone documentation tar ball.
33155 (TEXI2DVI): Define always, it's not in Makeconfig.
33156 (dist): Removed.
33157 (tar-it): Removed.
33158 (edition): Removed.
33159 (glibc-doc-$(edition).tar): Removed
33160 (%.Z): Removed.
33161 (%.gz): Removed.
33162 (%.uu): Removed.
33163 (ETAGS): Remove, it's in Makeconfig.
33164 (move-if-change): Remove, it's in Makeconfig.
33165
33166 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33167
33168 [BZ #13970]
33169 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33170 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33171 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33172 (strtod_l, strtof_l, strtold_l): Remove __wur.
33173 It is not necessarily an error to ignore strtol's return value.
33174 One can reliably look at the stored endptr to decide whether
33175 the number had valid syntax.
33176
33177 2012-04-21 Andreas Jaeger <aj@suse.de>
33178
33179 [BZ #13739]
33180 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33181
33182 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33183
33184 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33185 * sysdeps/unix/sysv/Versions: Remove file.
33186
33187 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33188
33189 [BZ #13927]
33190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33191
33192 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33193
33194 [BZ #7064]
33195 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33196 version from __vm86.
33197
33198 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33199
33200 * sysdeps/unix/common/lxstat.c: Remove file.
33201 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33202
33203 * sysdeps/unix/sysv/Makefile: Remove file.
33204
33205 * sysdeps/unix/sysv/direct.h: Remove file.
33206
33207 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33208 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33209 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33210 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33211 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33212 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33213 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33214
33215 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33216
33217 * sysdeps/unix/xmknod.c: Remove file.
33218 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33219
33220 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33221
33222 * sysdeps/unix/sysv/i386/time.S: Remove file.
33223
33224 * sysdeps/unix/fxstat.c: Remove file.
33225 * sysdeps/unix/xstat.c: Likewise.
33226 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33227
33228 * sysdeps/unix/sysv/sigaction.c: Remove file.
33229
33230 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33231 (sysdep_headers): Remove variable.
33232 [termio.h not in sysdep_headers] (generated): Likewise.
33233 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33234 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33235 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33236 * sysdeps/unix/sysv/tcflow.c: Likewise.
33237 * sysdeps/unix/sysv/tcflush.c: Likewise.
33238 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33239 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33240 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33241 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33242 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33243
33244 * sysdeps/unix/siglist.c: Remove file.
33245
33246 * sysdeps/unix/getppid.S: Remove file.
33247
33248 * sysdeps/unix/mkdir.c: Remove file.
33249 * sysdeps/unix/rmdir.c: Likewise.
33250
33251 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33252
33253 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33254 ERR_MAX value.
33255 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33256 errlist-compat value.
33257
33258 2012-04-18 David S. Miller <davem@davemloft.net>
33259
33260 * sysdeps/generic/memcopy.h (reg_char): Delete.
33261 * debug/strcat_chk.c: Use char, not reg_char.
33262 * debug/strcpy_chk.c: Likewise.
33263 * debug/strncat_chk.c: Likewise.
33264 * debug/strncpy_chk.c: Likewise.
33265 * string/memchr.c: Likewise.
33266 * string/memrchr.c: Likewise.
33267 * string/rawmemchr.c: Likewise.
33268 * string/strcat.c: Likewise.
33269 * string/strchr.c: Likewise.
33270 * string/strchrnul.c: Likewise.
33271 * string/strcmp.c: Likewise.
33272 * string/strcpy.c: Likewise.
33273 * string/strncat.c: Likewise.
33274 * string/strncmp.c: Likewise.
33275 * string/strncpy.c: Likewise.
33276
33277 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33278
33279 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33280 __builtin_memcopy is called when src and dest ranges are known to not
33281 overlap.
33282
33283 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33284
33285 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33286 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33287 fwd_align_merge macro call.
33288 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33289 bwd_align_merge macro call.
33290 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33291
33292 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33293
33294 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33295 bwd_align_merge macros.
33296 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33297 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33298 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33299
33300 2012-04-18 David S. Miller <davem@davemloft.net>
33301
33302 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33303
33304 2012-04-18 Andreas Jaeger <aj@suse.de>
33305
33306 [BZ# 6794]
33307 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33308 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33309 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33310
33311 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33312 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33313 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33314
33315 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33316 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33317 Adjust for changed ldbl-128 files.
33318
33319 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33320 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33321 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33322
33323 2012-04-17 David S. Miller <davem@davemloft.net>
33324
33325 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33326
33327 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33328
33329 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33330 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33331 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33332 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33333 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33334 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33335
33336 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33337
33338 [BZ #6794]
33339 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33340 * math/libm-test.inc: Add ilogb errno and exception tests.
33341 * math/w_ilogb.c: New file: ilogb wrapper.
33342 * math/w_ilogbf.c: New file: ilogbf wrapper.
33343 * math/w_ilogbl.c: New file: ilogbl wrapper.
33344 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33345 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33346 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33347 exception being thrown with 0.0 as argument.
33348 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33349 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33350 exception being thrown with 0.0 as argument.
33351 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33352 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33353 exception being thrown with 0.0 as argument.
33354 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33355 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33356 exception being thrown with 0.0 as argument.
33357 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33358 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33359 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33360 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33361 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33362 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33363 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33364 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33365 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33366
33367 2012-04-17 Petr Baudis <pasky@ucw.cz>
33368
33369 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33370 with altivec.
33371
33372 2012-04-16 Marek Polacek <polacek@redhat.com>
33373
33374 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33375
33376 2012-04-16 Marek Polacek <polacek@redhat.com>
33377
33378 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33379 operands of fdivp instruction.
33380
33381 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33382
33383 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33384 * elf/tst-auditmod3b.c: Likewise.
33385 * elf/tst-auditmod4b.c: Likewise.
33386 * elf/tst-auditmod5b.c: Likewise.
33387 * elf/tst-auditmod6b.c: Likewise.
33388 * elf/tst-auditmod6c.c: Likewise.
33389 * elf/tst-auditmod7b.c: Likewise.
33390 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33391 * sysdeps/x86_64/preconfigure.in: Likewise.
33392 * sysdeps/x86_64/preconfigure: Regenerated.
33393
33394 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33395
33396 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33397 __ILP32__.
33398
33399 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33400
33401 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33402 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33403
33404 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33405
33406 [BZ #13973]
33407 * locale/iso-639.def: Fix gl language name. Spotted by
33408 Yaron Shahrabani.
33409
33410 2012-04-12 Roland McGrath <roland@hack.frob.com>
33411
33412 [BZ #2074]
33413 * libio/libio.h (__io_write_fn): Update comment.
33414
33415 2012-04-12 Petr Baudis <pasky@ucw.cz>
33416
33417 [BZ #2074]
33418 * stdio.texi (Hook Functions): The user provided writer function
33419 is not allowed to return -1.
33420
33421 2012-04-11 David S. Miller <davem@davemloft.net>
33422
33423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33424
33425 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33426
33427 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33428 Add a leading slash to rtkaio.
33429
33430 2012-04-11 Jim Meyering <meyering@redhat.com>
33431
33432 [BZ #11959]
33433 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33434 It is not necessarily an error to ignore fwrite's return
33435 value. One can reliably use ferror to test for errors after
33436 the fact.
33437
33438 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33439
33440 * bits/types.h (__snseconds_t): New type.
33441 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33442
33443 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33444 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33445 (__SNSECONDS_T_TYPE): Likewise.
33446 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33447 (__SNSECONDS_T_TYPE): Likewise.
33448 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33449 (__SNSECONDS_T_TYPE): Likewise.
33450
33451 2012-04-10 Andreas Jaeger <aj@suse.de>
33452
33453 [BZ #2636]
33454 * manual/time.texi (Processor Time): Return type of times is
33455 elapsed real time since an arbitrary point in the past.
33456 (CPU Time): Move CLK_TCK from here...
33457 (Processor Time): ...to here. Correct description.
33458 * manual/conf.texi (Constants for Sysconf): Correct description of
33459 _SC_CLK_TCK.
33460
33461 2012-04-10 David S. Miller <davem@davemloft.net>
33462
33463 [BZ #13967]
33464 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33465 where the is a gap between DT_REL(A) and DT_JMPREL.
33466
33467 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33468
33469 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33470 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33471 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33472
33473 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33474
33475 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33476 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33477 (dl_main): Handle --inhibit-cache.
33478 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33479 _dl_inhibit_cache.
33480 * elf/dl-load.c (_dl_map_object): Use it.
33481 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33482
33483 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33484
33485 [BZ #13872]
33486 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33487 (__ieee754_powl): Saturate large exponents rather than testing for
33488 overflow of y*log2(x).
33489 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33490 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33491 exceptions.
33492
33493 [BZ #11521]
33494 * math/s_ctan.c: Include <float.h>.
33495 (__ctan): Avoid internal overflow or cancellation in calculating
33496 denominator.
33497 * math/s_ctanf.c: Likewise.
33498 * math/s_ctanl.c: Likewise.
33499 * math/s_ctanh.c: Likewise.
33500 * math/s_ctanhf.c: Likewise.
33501 * math/s_ctanhl.c: Likewise.
33502 * math/libm-test.inc (ctan_test): Add more tests.
33503 (ctanh_test): Likewise.
33504 * sysdeps/i386/fpu/libm-test-ulps: Update.
33505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33506
33507 2012-04-09 Andreas Jaeger <aj@suse.de>
33508
33509 [BZ #6894]
33510 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33511 is an optional BSD extension.
33512
33513 [BZ #10254]
33514 * manual/stdio.texi (Opening Streams): Document additional fopen
33515 parameters.
33516
33517 2012-04-09 Roland McGrath <roland@hack.frob.com>
33518
33519 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33520 %eax without telling the compiler.
33521
33522 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33523
33524 [BZ # 13963]
33525 * manual/install.texi: Use sourceware.org.
33526
33527 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33528
33529 [BZ #13873]
33530 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33531 (__ieee754_pow): Generate overflow and underflow using huge*huge
33532 and tiny*tiny rather than just returning constant infinity or zero
33533 for large exponents.
33534 * math/libm-test.inc (pow_test): Require overflow exceptions for
33535 applicable cases of large exponents.
33536
33537 [BZ #706]
33538 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33539 (__ieee754_pow): Use iterative multiplication algorithm only for
33540 integer exponents with absolute value below 1024. Check for odd
33541 integer exponents when using algorithm for real exponents.
33542 * math/libm-test.inc (pow_test): Add more tests.
33543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33544
33545 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33546
33547 [BZ #13705]
33548 * math/libm-test.inc (exp_test): Do not allow overflow exception
33549 on underflow test.
33550
33551 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33552
33553 [BZ #13705]
33554 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33555 instead of __kernel_standard_f.
33556
33557 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33558
33559 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33560 * sysdeps/x86_64/memset_chk.S: Likewise.
33561
33562 2012-04-08 Andreas Jaeger <aj@suse.de>
33563
33564 [BZ #10153]
33565 * manual/startup.texi (Environment Access): Describe return value
33566 for putenv and setenv.
33567
33568 [BZ #6895]
33569 * manual/filesys.texi (Directory Entries): Add description for
33570 DT_LNK.
33571
33572 [BZ #6890]
33573 * manual/filesys.texi (Directory Entries): Clarify that it's file
33574 system not operating system in the description of DT_UNKNOWN.
33575
33576 [BZ #6578]
33577 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33578
33579 2012-04-08 Stephen Compall <s11@member.fsf.org>
33580
33581 [BZ #6649]
33582 * manual/llio.texi (Opening and Closing Files): Add cross
33583 reference to explain mode argument.
33584
33585 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33586
33587 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33588 * sysdeps/x86_64/memset_chk.S: Likewise.
33589
33590 2012-04-07 David S. Miller <davem@davemloft.net>
33591
33592 * elf/elf.h (R_SPARC_WDISP10): Define.
33593 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33594 R_SPARC_SIZE32.
33595 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33596 R_SPARC_SIZE64 and R_SPARC_H34.
33597
33598 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33599
33600 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33601 conditions and remove no longer applicable assertion.
33602
33603 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33604
33605 * bits/byteswap.h: Include <features.h>.
33606 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33607 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33608
33609 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33610
33611 * bits/byteswap.h (__bswap_16): Removed.
33612 Include <bits/byteswap-16.h> to get __bswap_16.
33613 * sysdeps/i386/bits/byteswap.h: Likewise.
33614 * sysdeps/s390/bits/byteswap.h: Likewise.
33615 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33616 * bits/byteswap-16.h: New file.
33617 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33618 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33619 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33620 * string/Makefile (headers): Add bits/byteswap-16.h.
33621
33622 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33623
33624 [BZ #13895]
33625 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33626 extra indirection.
33627 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33628 * nss/tst-nss-static.c: New.
33629
33630 2012-04-06 Robert Millan <rmh@gnu.org>
33631
33632 [BZ #6486]
33633 * manual/llio.texi (File Position Primitive): lseek
33634 refers to WHENCE when it really means OFFSET.
33635
33636 2012-04-06 Andreas Jaeger <aj@suse.de>
33637
33638 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33639 strncmp declarations.
33640
33641 * abilist/libc.abilist: Add __poll and __ppoll.
33642
33643 2012-04-05 David S. Miller <davem@davemloft.net>
33644
33645 * scripts/check-local-headers.sh: Accept a host triplet in the
33646 path matched by the exclude regexp.
33647
33648 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33649 definition.
33650 * sysdeps/powerpc/powerpc32/dl-machine.h
33651 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33652 * sysdeps/s390/s390-32/dl-machine.h
33653 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33654 * sysdeps/sparc/sparc32/dl-machine.h
33655 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33656 * sysdeps/sparc/sparc64/dl-machine.h
33657 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33658
33659 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33660 lazy binding.
33661 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33662 undefined symbol errors.
33663
33664 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33665 DT_NEEDED entries.
33666
33667 2012-04-05 Michael Matz <matz@suse.de>
33668
33669 [BZ #13592]
33670 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33671
33672 2012-04-05 Andreas Jaeger <aj@suse.de>
33673
33674 [BZ #13908]
33675 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33676 comment.
33677
33678 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33679
33680 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33681 which ROUND is no valid rounding mode.
33682
33683 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33684
33685 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33686 read again.
33687 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33688
33689 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33690
33691 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33692 an exception using FPU order intentionally.
33693
33694 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33695
33696 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33697 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33698 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33699 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33700
33701 2012-04-05 Simon Josefsson <simon@josefsson.org>
33702
33703 [BZ #12340]
33704 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33705 EINVAL when BUFLEN is too smal.
33706
33707 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33708
33709 [BZ #13553]
33710 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33711 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33712
33713 2012-04-03 Andreas Jaeger <aj@suse.de>
33714
33715 [BZ #13938]
33716 * manual/setjmp.texi (System V contexts): Fix sentence.
33717
33718 [BZ #13926]
33719 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33720 New macro for this case.
33721 [!__GNUC__] (__bswap_64): New inline function for this case.
33722 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33723 * bits/byteswap.h: Likewise.
33724 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33725 ull, guard with __GLIBC_HAVE_LONG_LONG.
33726
33727 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33728 __GLIBC_HAVE_LONG_LONG.
33729
33730 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33731 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33732
33733 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33734
33735 [BZ #13691]
33736 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33737 inptr and inend, rather than using last_ch.
33738
33739 2012-04-02 David S. Miller <davem@davemloft.net>
33740
33741 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33742 * stdio-common/printf-parse.h (read_int): Change return type to
33743 'int', return -1 on INT_MAX overflow.
33744 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33745 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33746 overflows INT_MAX. Check for overflow of in-format-string precision
33747 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33748 SIZE_MAX not INT_MAX for integer overflow test.
33749 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33750 skip the construct in the format string but do not record anything.
33751 * stdio-common/bug22.c: Adjust to test both width/prevision
33752 INT_MAX overflow as well as total length INT_MAX overflow. Check
33753 explicitly for proper errno values.
33754
33755 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33756
33757 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33758 CHAR_MAX.
33759 * string/test-strcmp.c [! WIDE]: Likewise.
33760 * time/tst-mktime2.c: Likewise for INT_MAX.
33761 * string/test-string.h: #include <sys/param.h> for MIN.
33762
33763 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33764 * sysdeps/i386/init-first.c (init): Likewise.
33765 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33766 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33767 * sysdeps/sh/init-first.c (init): Likewise.
33768
33769 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33770
33771 * po/ru.po: Update from translation team.
33772 * po/vi.po: Likewise.
33773
33774 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33775
33776 * resolv/nss_dns/dns-host.c: Merge copyright years.
33777
33778 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33779
33780 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33781 Optimize memcpy with prefetch if
33782 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33783 src, dst pointers have unequal 16 byte alignments.
33784
33785 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33786
33787 [BZ #13928]
33788 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33789 from a CNAME entry and return the minimum ttl for the query.
33790 (gaih_getanswer_slice): Likewise.
33791
33792 2012-03-30 Jeff Law <law@redhat.com>
33793
33794 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33795 due to long keys.
33796 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33797 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33798
33799 * resolv/nss_dns/dns-host.c: Update copyright year.
33800
33801 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33802
33803 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33804 requests to save a system call. Fix check that all bytes are sent.
33805
33806 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33807 comments for sendmmsg.
33808
33809 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33810
33811 [BZ #13691]
33812 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33813 with only 1 character between 0x0041 and 0x01b0.
33814 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33815 * wcsmbs/tst-mbsnrtowcs.c: New file.
33816
33817 2012-03-29 David S. Miller <davem@davemloft.net>
33818
33819 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33820 small copies by hand.
33821
33822 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33823
33824 [BZ #13761]
33825 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33826 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33827 group memberships.
33828
33829 2012-03-28 David S. Miller <davem@davemloft.net>
33830
33831 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33832 that branches into memcpy.
33833 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33834 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33835 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33836 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33837 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33838 bits.
33839 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33840 implementation too.
33841 * sysdeps/sparc/mempcpy.S: New file.
33842
33843 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33844 the IFUNC routine in the libc case.
33845 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33846
33847 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33848 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33849 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33850 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33851 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33852 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33853 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33854 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33855
33856 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33857 loop to 256 bytes instead of 64 bytes and fix test signedness.
33858
33859 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33860 * sysdeps/sparc/sparc32/Makefile: rather than here...
33861 * sysdeps/sparc/sparc64/Makefile: and here.
33862
33863 2012-03-28 Ulrich Drepper <drepper@gmail.com>
33864
33865 * malloc/mallocbug.c: Avoid warnings about unused variables.
33866
33867 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33868
33869 [BZ #13760]
33870 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33871 in the right place. Discard and retry query if response is
33872 larger than input buffer size.
33873
33874 2012-03-28 Joseph Myers <joseph@codesourcery.com>
33875
33876 [BZ #369]
33877 [BZ #2678]
33878 [BZ #3866]
33879 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33880 x for large integer exponent.
33881 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33882 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33883 sign of result as needed afterwards.
33884 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33885 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33886 result for underflowing pow the same as for overflow.
33887 (__kernel_standard_l): Handle powl overflow and underflow here
33888 rather than calling __kernel_standard.
33889 * math/libm-test.inc (pow_test): Add more tests.
33890
33891 [BZ #3868]
33892 [BZ #13879]
33893 [BZ #13910]
33894 [BZ #13911]
33895 [BZ #13912]
33896 [BZ #13913]
33897 [BZ #13915]
33898 [BZ #13916]
33899 [BZ #13917]
33900 [BZ #13918]
33901 [BZ #13919]
33902 [BZ #13920]
33903 [BZ #13921]
33904 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33905 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33906 (__kernel_standard_l): New function.
33907 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33908 __kernel_standard.
33909 * math/w_acosl.c (__acosl): Likewise.
33910 * math/w_asinl.c (__asinl): Likewise.
33911 * math/w_atan2l.c (__atan2l): Likewise.
33912 * math/w_atanhl.c (__atanhl): Likewise.
33913 * math/w_coshl.c (__coshl): Likewise.
33914 * math/w_exp10l.c (__exp10l): Likewise.
33915 * math/w_exp2l.c (__exp2l): Likewise.
33916 * math/w_fmodl.c (__fmodl): Likewise.
33917 * math/w_hypotl.c (__hypotl): Likewise.
33918 * math/w_j0l.c (__j0l, __y0l): Likewise.
33919 * math/w_j1l.c (__j1l, __y1l): Likewise.
33920 * math/w_jnl.c (__jnl, __ynl): Likewise.
33921 * math/w_lgammal.c (__lgammal): Likewise.
33922 * math/w_log10l.c (__log10l): Likewise.
33923 * math/w_log2l.c (__log2l): Likewise.
33924 * math/w_logl.c (__logl): Likewise.
33925 * math/w_powl.c (__powl): Likewise.
33926 * math/w_remainderl.c (__remainderl): Likewise.
33927 * math/w_scalbl.c (sysv_scalbl): Likewise.
33928 * math/w_sinhl.c (__sinhl): Likewise.
33929 * math/w_sqrtl.c (__sqrtl): Likewise.
33930 * math/w_tgammal.c (__tgammal): Likewise.
33931 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33932 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33933 * math/libm-test.inc (acos_test): Add more tests.
33934 (acosh_test): Likewise.
33935 (asin_test): Likewise.
33936 (atanh_test): Likewise.
33937 (exp_test): Likewise.
33938 (exp10_test): Likewise.
33939 (exp2_test): Likewise.
33940 (expm1_test): Likewise.
33941 (lgamma_test): Likewise.
33942 (log_test): Likewise.
33943 (log10_test): Likewise.
33944 (log1p_test): Likewise.
33945 (log2_test): Likewise.
33946 (pow_test): Do not allow some spurious overflow exceptions.
33947 (sqrt_test): Add more tests.
33948 (tgamma_test): Likewise.
33949 (y0_test): Likewise.
33950 (y1_test): Likewise.
33951 (yn_test): Likewise.
33952
33953 2012-03-27 Anton Blanchard <anton@samba.org>
33954
33955 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33956 MAP_HUGETLB.
33957 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33958 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33959 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33960
33961 2012-03-27 David S. Miller <davem@davemloft.net>
33962
33963 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33964
33965 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33966 have-as-vis3 check.
33967
33968 2012-03-27 Andreas Jaeger <aj@suse.de>
33969
33970 * sysdeps/x86_64/elf/configure.in: Moved to ...
33971 * sysdeps/x86_64/configure.in: ... here.
33972 * sysdeps/x86_64/elf/start.S: Moved to ...
33973 * sysdeps/x86_64/start.S: ... here.
33974 * sysdeps/x86_64/elf/configure: Delete.
33975
33976 * sysdeps/x86_64/configure.in: Merge contents from
33977 sysdeps/i386/configure.in (without i686 check).
33978
33979 * sysdeps/i386/elf/Versions: Merge into ...
33980 * sysdeps/i386/Versions: ... this.
33981 * sysdeps/i386/elf/Versions: Delete file.
33982 * sysdeps/i386/elf/start.S: Moved to ...
33983 * sysdeps/i386/start.S: ...here.
33984 * sysdeps/i386/elf/configure.in: Merge into...
33985 * sysdeps/i386/configure.in: ...here.
33986 * sysdeps/i386/elf/configure.in: Delete file.
33987 * sysdeps/i386/elf/configure: Delete file.
33988
33989 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33990 * debug/backtracesyms.c: ... here.
33991 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33992 * debug/backtracesymsfd.c: ... here.
33993 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33994 * sysdeps/generic/ifunc-sel.h: ... here.
33995
33996 * sysdeps/unix/i386/start.c: Delete file.
33997 * sysdeps/unix/sparc/start.c: Delete file.
33998 * sysdeps/unix/start.c: Delete file.
33999
34000 * sysdeps/sh/elf/configure.in: Moved to ...
34001 * sysdeps/sh/configure.in: ... here.
34002 * sysdeps/sh/elf/start.S: Moved to ...
34003 * sysdeps/sh/start.S: ... here.
34004 * sysdeps/sh/elf/configure: Delete file.
34005
34006 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34007 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34008 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34009 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34010 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34011 * sysdeps/powerpc/powerpc64/start.S: here.
34012 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34013 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34014 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34015 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34016 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34017
34018 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34019 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34020 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34021 * sysdeps/powerpc/powerpc32/start.S: ... here.
34022 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34023 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34024 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34025
34026 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34027 * sysdeps/powerpc/ifunc-sel.h: ... here.
34028 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34029 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34030
34031 * sysdeps/sparc/elf/configure.in: Moved to ...
34032 * sysdeps/sparc/configure.in: ... here.
34033 * sysdeps/sparc/elf/configure: Delete file.
34034 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34035 * sysdeps/sparc/sparc32/start.S: ... here.
34036 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34037 * sysdeps/sparc/sparc64/start.S: ... here.
34038 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34039 * sysdeps/sparc/sparc32/Makefile: ... this.
34040 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34041 * sysdeps/sparc/sparc64/Makefile: ... this.
34042
34043 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34044 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34045 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34046 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34047 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34048 * sysdeps/s390/s390-32/setjmp.S: ... here.
34049 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34050 * sysdeps/s390/s390-32/configure.in: ... here.
34051 * sysdeps/s390/s390-32/elf/configure: Delete file.
34052 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34053 * sysdeps/s390/s390-32/start.S: ... here.
34054
34055 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34056 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34057 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34058 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34059 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34060 * sysdeps/s390/s390-64/setjmp.S: ... here.
34061 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34062 * sysdeps/s390/s390-64/configure.in: ... here
34063 * sysdeps/s390/s390-64/elf/configure: Delete file.
34064 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34065 * sysdeps/s390/s390-64/start.S: ... here.
34066 * sysdeps/s390/s390-64/elf/configure: Delete.
34067
34068 * configure.in: Remove support for elf directories in sysdeps.
34069
34070 * configure: Regenerated.
34071 * sysdeps/i386/configure: Regenerated.
34072 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34073 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34074 * sysdeps/s390/s390-32/configure: Regenerated.
34075 * sysdeps/s390/s390-64/configure: Regenerated.
34076 * sysdeps/sh/configure: Regenerated.
34077 * sysdeps/sparc/configure: Regenerated.
34078 * sysdeps/x86_64/configure: Regenerated.
34079
34080 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34081
34082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34083
34084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34085 denormal result into account.
34086
34087 2012-03-25 Roland McGrath <roland@hack.frob.com>
34088
34089 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34090 Reported by Allan McRae <allan@archlinux.org>.
34091
34092 2012-03-23 Jeff Law <law@redhat.com>
34093
34094 * nss/getnssent.c (__nss_getent): Fix typo.
34095
34096 2012-03-23 David S. Miller <davem@davemloft.net>
34097
34098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34099
34100 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34101
34102 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34103 to pad to uint64_t for each field.
34104 (dl_tls_index): Replace unsigned long with uint64_t.
34105
34106 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34107 Paul Pluzhnikov <ppluzhnikov@google.com>
34108
34109 [BZ #6528]
34110 * grp/Makefile (otherlibs): Don't set it.
34111 * inet/Makefile (otherlibs): Likewise.
34112 * login/Makefile (otherlibs): Likewise.
34113 * nscd/Makefile (otherlibs): Likewise.
34114 * posix/Makefile (otherlibs): Likewise.
34115 * pwd/Makefile (otherlibs): Likewise.
34116 * rt/Makefile (otherlibs): Likewise.
34117 * sunrpc/Makefile (otherlibs): Likewise.
34118 * nss/Makefile (otherlibs): Likewise.
34119 Add libnss_files to routines and static-only-routines.
34120 ($(objpfx)getent): Remove rule.
34121 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34122 static-only-routines.
34123
34124 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34125
34126 [BZ #13892]
34127 * math/s_cexp.c: Include <float.h>.
34128 (__cexp): Handle exp result overflowing not necessarily
34129 overflowing both real and imaginary parts of result.
34130 * math/s_cexpf.c: Likewise.
34131 * math/s_cexpl.c: Likewise.
34132 * math/libm-test.inc (cexp_test): Add more tests.
34133 * sysdeps/i386/fpu/libm-test-ulps: Update.
34134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34135
34136 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34137
34138 * include/link.h (ELFW): New macro.
34139 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34140 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34141
34142 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34143
34144 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34145 with uint64_t.
34146
34147 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34148
34149 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34150 declaration.
34151 (struct La_x32_retval): Likewise.
34152
34153 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34154
34155 * sysdeps/x86_64/preconfigure.in: New file.
34156 * sysdeps/x86_64/preconfigure: New generated file.
34157
34158 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34159
34160 [BZ #13824]
34161 * math/e_exp2l.c: Include <float.h>.
34162 (__ieee754_exp2l): Handle overflow and underflow cases
34163 separately. Only pass fractional part of argument to
34164 __ieee754_expl.
34165 * math/libm-test.inc (exp2_test): Add more tests.
34166
34167 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34168 negating x to take absolute value.
34169 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34170 Likewise.
34171 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34172 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34173 Likewise.
34174 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34175 computing low part if x was negated.
34176 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34177
34178 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34179
34180 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34181 la_x32_gnu_pltexit.
34182 (pltexit): Cast int_retval to ptrdiff_t.
34183 * elf/tst-auditmod3b.c: Likewise.
34184 * elf/tst-auditmod4b.c: Likewise.
34185 * elf/tst-auditmod5b.c: Likewise.
34186 * elf/tst-auditmod6b.c: Likewise.
34187 * elf/tst-auditmod6c.c: Likewise.
34188 * elf/tst-auditmod7b.c: Likewise.
34189
34190 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34191 and x32_gnu_pltexit.
34192
34193 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34194 __ELF_NATIVE_CLASS.
34195 (La_x32_regs): New macro.
34196 (La_x32_retval): Likewise.
34197 (la_x32_gnu_pltenter): New function prototype.
34198 (la_x32_gnu_pltexit): Likewise.
34199
34200 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34201
34202 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34203 exponent.
34204
34205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34206
34207 * configure.in (libc_cv_cc_nofma): Check for option to disable
34208 generation of FMA instructions.
34209 * configure: Regenerate.
34210 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34211 * sysdeps/ieee754/dbl-64/Makefile: New file.
34212 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34213 Remove brandred-fma4.
34214 (CFLAGS-brandred-fma4.c): Remove.
34215 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34216 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34217 define.
34218 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34219 define.
34220
34221 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34222
34223 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34224 LLONG_MAX != LONG_MAX.
34225 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34226 (_fitoa_word): Likewise.
34227 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34228 LLONG_MAX != LONG_MAX.
34229 * stdio-common/_itowa.h: Include <_itoa.h>.
34230 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34231 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34232 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34233 only if not defined.
34234 (_ITOA_WORD_TYPE): Likewise.
34235 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34236 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34237
34238 2012-03-21 David S. Miller <davem@davemloft.net>
34239
34240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34241
34242 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34243
34244 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34245 of x86_64 when setting libc_cv_slibdir, libdir and
34246 libc_cv_localedir.
34247 * sysdeps/unix/sysv/linux/configure: Regenerated.
34248
34249 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34250
34251 * manual/lang.texi (Old Varargs): Remove section.
34252 (How Variadic): Update menu.
34253 (va_start): Do not mention varargs.h.
34254
34255 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34256 Joseph Myers <joseph@codesourcery.com>
34257
34258 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34259 link test.
34260 * configure: Regenerated.
34261
34262 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34263
34264 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34265 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34266 conformtest.pl
34267
34268 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34269
34270 * NOTES: Remove.
34271 * Makefile (files-for-dist): Remove NOTES.
34272 (NOTES): Remove rule.
34273 * README: Don't refer to NOTES.
34274 * manual/creature.texi: Don't include macros.texi.
34275 * manual/intro.texi (creature.texi): Remove comment referring to
34276 NOTES.
34277
34278 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34279 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34280 * configure: Regenerated.
34281 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34282 LIBC_TRY_CC_OPTION.
34283 (libc_cv_as_i686): Likewise.
34284 (libc_cv_cc_avx): Likewise.
34285 (libc_cv_cc_sse2avx): Likewise.
34286 (libc_cv_cc_fma4): Likewise.
34287 (libc_cv_cc_novzeroupper): Likewise.
34288 * sysdeps/i386/configure: Regenerated.
34289
34290 [BZ #13883]
34291 * sysdeps/i386/fpu/s_cexp.S: Remove.
34292 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34293 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34294 * math/libm-test.inc (cexp_test): Add more tests.
34295 * sysdeps/i386/fpu/libm-test-ulps: Update.
34296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34297
34298 2012-03-21 Allan McRae <allan@archlinux.org>
34299
34300 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34301
34302 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34303
34304 [BZ #13871]
34305 * math/w_exp2.c: Do not include <float.h>.
34306 (o_threshold, u_threshold): Remove.
34307 (__exp2): Calculate result before checking finiteness and calling
34308 __kernel_standard.
34309 * math/w_exp2f.c: Likewise.
34310 * math/w_exp2l.c: Likewise.
34311 * math/libm-test.inc (exp2_test): Require overflow exception for
34312 1e6 input.
34313
34314 [BZ #3866]
34315 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34316 range of signed 64-bit integers before using fistpll. Remove
34317 checks for whether integers fit in mantissa bits.
34318 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34319 the range of signed 32-bit integers before using fistpl. Remove
34320 checks for whether integers fit in mantissa bits.
34321 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34322 (__ieee754_powl): Test for y outside the range of signed 64-bit
34323 integers before using fistpll. Reduce 64-bit values to 63-bit
34324 ones as needed.
34325 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34326 divide-by-zero is raised for zero to large negative powers.
34327 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34328 (__ieee754_powl): Test for y outside the range of signed 64-bit
34329 integers before using fistpll. Reduce 64-bit values to 63-bit
34330 ones as needed.
34331 * math/libm-test.inc (pow_test): Add more tests.
34332
34333 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34334
34335 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34336 <stdio-common/_itoa.h>.
34337 * debug/segfault.c: Likewise.
34338 * elf/dl-cache.c: Likewise.
34339 * elf/dl-minimal.c: Likewise.
34340 * elf/dl-misc.c: Likewise.
34341 * elf/dl-sysdep.c: Likewise.
34342 * elf/dl-version.c: Likewise.
34343 * elf/rtld.c: Likewise.
34344 * hurd/hurdsock.c: Likewise.
34345 * hurd/lookup-retry.c: Likewise.
34346 * malloc/malloc.c: Likewise.
34347 * malloc/mtrace.c: Likewise.
34348 * nscd/nscd_getgr_r.c: Likewise.
34349 * nscd/nscd_getpw_r.c: Likewise.
34350 * nscd/nscd_getserv_r.c: Likewise.
34351 * posix/getopt_init.c: Likewise.
34352 * posix/wordexp.c: Likewise.
34353 * stdio-common/_itoa.c: Likewise.
34354 * stdio-common/printf_fphex.c: Likewise.
34355 * stdio-common/vfprintf.c: Likewise.
34356 * string/_strerror.c: Likewise.
34357 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34358 * sysdeps/i386/i686/hp-timing.h: Likewise.
34359 * sysdeps/mach/_strerror.c: Likewise.
34360 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34361 * sysdeps/mach/hurd/sethostid.c: Likewise.
34362 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34363 * sysdeps/mach/xpg-strerror.c: Likewise.
34364 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34365 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34366 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34367 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34368 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34369 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34370 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34371 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34372 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34373 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34374 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34375 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34376 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34377 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34378 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34379 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34380 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34381 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34382 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34383 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34384 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34385
34386 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34387
34388 * stdio-common/_itoa.h: Moved to ...
34389 * sysdeps/generic/_itoa.h: Here.
34390
34391 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34392
34393 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34394 instead of "_itoa.h" and "_itowa.h".
34395 * stdio-common/vfprintf.: Likewise.
34396
34397 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34398
34399 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34400 <bits/wordsize.h>.
34401 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34402 (__signbit): Likwise.
34403 (llrintf): Likwise.
34404 (llrint): Likwise.
34405
34406 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34407
34408 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34409 __WORDSIZE != 64.
34410
34411 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34412
34413 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34414 OVERFLOW_EXCEPTION_OK.
34415 * math/libm-test.inc ("Philosophy"): Update comment about
34416 exception testing.
34417 (OVERFLOW_EXCEPTION): Define.
34418 (OVERFLOW_EXCEPTION_OK): Likewise.
34419 (INVALID_EXCEPTION_OK): Renumber.
34420 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34421 (IGNORE_ZERO_INF_SIGN): Likewise.
34422 (test_exceptions): Handle FE_OVERFLOW.
34423 (exp10_test): Expect overflow exceptions.
34424 (exp2_test): Likewise.
34425 (expm1_test): Likewise.
34426 (nextafter_test): Likewise.
34427 (pow_test): Likewise.
34428 (scalbn_test): Likewise.
34429 (scalbln_test): Likewise.
34430
34431 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34432
34433 * sysdeps/x86_64/bits/atomic.h
34434 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34435 64bit integer.
34436 (atomic_exchange_acq): Likewise.
34437 (__arch_exchange_and_add_body): Likewise.
34438 (__arch_add_body): Likewise.
34439 (atomic_add_negative): Likewise.
34440 (atomic_add_zero): Likewise.
34441
34442 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34443
34444 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34445 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34446
34447 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34448
34449 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34450 Check __x86_64__ instead of __WORDSIZE.
34451
34452 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34453
34454 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34455
34456 2012-03-19 David S. Miller <davem@davemloft.net>
34457
34458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34459
34460 * sysdeps/sparc/fpu/fenv_private.h: New file.
34461 * sysdeps/sparc/fpu/math_private.h: Use it.
34462 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34463 Remove.
34464 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34465 (libc_feholdexcept_setroundl): Remove.
34466 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34467 Remove.
34468 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34469 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34470
34471 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34472
34473 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34474 int64_t instead of long int.
34475 (INSERT_WORDS64): Likwise.
34476
34477 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34478
34479 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34480 _Unwind_GetCFA return to _Unwind_Ptr first.
34481
34482 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34483
34484 [BZ #13629]
34485 * math/s_clog.c: Include <float.h>.
34486 (__clog): Scale large or subnormal inputs.
34487 * math/s_clogf.c: Likewise.
34488 * math/s_clogl.c: Likewise.
34489 * math/s_clog10.c: Include <float.h>.
34490 (M_LOG10_2): Define.
34491 (__clog10): Scale large or subnormal inputs.
34492 * math/s_clog10f.c: Likewise.
34493 * math/s_clog10l.c: Likewise.
34494 * math/libm-test.inc (clog_test): Add more tests.
34495 (clog10_test): Likewise.
34496 * sysdeps/i386/fpu/libm-test-ulps: Update.
34497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34498
34499 [BZ #11451]
34500 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34501 x and y.
34502 * math/libm-test.inc (atan2_test): Add another test.
34503
34504 * Makerules (common-objdir-compile): Remove.
34505 * sysdeps/unix/Makefile (config-generated): Do not add
34506 $(unix-generated) to variable.
34507 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34508 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34509 Remove rule.
34510 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34511 Likewise.
34512 [generic bits/local_lim.h] (before-compile): Do not append to
34513 variable.
34514 [generic bits/local_lim.h] (common-generated): Likewise.
34515 [generic sys/param.h] (before-compile): Do not append to variable.
34516 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34517 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34518 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34519 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34520 include.
34521 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34522 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34523 [generic sys/param.h] ($(addprefix
34524 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34525 [generic sys/param.h] (common-generated): Do not append to
34526 variable.
34527 [generic sys/param.h] (sysdep_headers): Likewise.
34528 [generic bits/errno.h] (before-compile): Do not append to
34529 variable.
34530 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34531 rule.
34532 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34533 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34534 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34535 [generic bits/errno.h] (common-generated): Do not append to
34536 variable.
34537 [generic bits/ioctls.h] (before-compile): Do not append to
34538 variable.
34539 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34540 rule.
34541 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34542 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34543 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34544 rule.
34545 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34546 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34547 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34548 [generic bits/ioctls.h] (common-generated): Do not append to
34549 variable.
34550 [generic sys/syscall.h] (syscall.h): Remove variable.
34551 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34552 rule.
34553 [generic sys/syscall.h] (before-compile): Do not append to
34554 variable.
34555 [generic sys/syscall.h] (common-generated): Likewise.
34556 * sysdeps/unix/errnos-tmpl.c: Remove file.
34557 * sysdeps/unix/errnos.awk: Likewise.
34558 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34559 * sysdeps/unix/ioctls.awk: Likewise.
34560 * sysdeps/unix/mk-local_lim.c: Likewise.
34561 * sysdeps/unix/snarf-ioctls: Likewise.
34562
34563 2012-03-19 Richard Henderson <rth@twiddle.net>
34564
34565 * sysdeps/i386/fpu/fenv_private.h: New file.
34566 * sysdeps/i386/fpu/math_private.h: Use it.
34567 (math_opt_barrier, math_force_eval): Remove.
34568 (libc_feholdexcept_setround_53bit): Remove.
34569 (libc_feupdateenv_53bit): Remove.
34570 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34571 (math_opt_barrier, math_force_eval): Remove.
34572 (libc_feholdexcept): Remove.
34573 (libc_feholdexcept_setround): Remove.
34574 (libc_fetestexcept, libc_fesetenv): Remove.
34575 (libc_feupdateenv_test): Remove.
34576 (libc_feupdateenv, libc_feholdsetround): Remove.
34577 (libc_feresetround): Remove.
34578
34579 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34580 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34581
34582 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34583 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34584 (libc_feupdateenv_testl): New.
34585 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34586 (libc_feupdateenv_testf): New.
34587 (libc_feupdateenv): Use libc_feupdateenv_test.
34588 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34589 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34590
34591 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34592 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34593 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34594 (libc_feresetround_noex): New.
34595 (libc_feresetround_noexf): New.
34596 (libc_feresetround_noexl): New.
34597 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34598 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34599 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34600 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34601 SET_RESTORE_ROUND.
34602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34603 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34604 (__cos): Likewise.
34605 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34606 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34607 SET_RESTORE_ROUND_NOEX.
34608 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34609 SET_RESTORE_ROUND_NOEXF.
34610 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34611 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34612 (libc_feholdsetroundf): New.
34613 (libc_feresetround, libc_feresetroundf): New.
34614
34615 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34616 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34617 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34618
34619 * sysdeps/generic/math_private.h: Include <fenv.h>.
34620 (default_libc_feholdexcept): New.
34621 (default_libc_feholdexcept_setround): New.
34622 (default_libc_fesetenv, default_libc_feupdateenv): New.
34623 (libc_feholdexcept): Only define if undefined.
34624 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34625 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34626 (libc_feholdexcept_setroundl): Likewise.
34627 (libc_feholdexcept_setround_53bit): Likewise.
34628 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34629 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34630 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34631 (libc_feupdateenv_53bit): Likewise.
34632 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34633 (libc_feholdexcept): Convert from macro to inline function.
34634 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34635 (libc_fesetenv, libc_feupdateenv): Likewise.
34636
34637 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34638 not previously defined.
34639 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34640 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34641 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34642 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34643 * sysdeps/ieee754/flt-32/math_private.h: New file.
34644 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34645 math_private.h below SET_FLOAT_WORD.
34646 (__isnan, __isinf_ns, __finite): Remove.
34647 (__isnanf, __isinf_nsf, __finitef): Remove.
34648
34649 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34650
34651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34652
34653 2012-03-17 David S. Miller <davem@davemloft.net>
34654
34655 [BZ #6471]
34656 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34657 for 2.16.
34658
34659 2012-03-16 David S. Miller <davem@davemloft.net>
34660
34661 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34662 warnings.
34663
34664 [BZ #6471]
34665 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34666 properly.
34667 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34668 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34669 sysdep_routines when subdir is sysvipc.
34670 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34671 __getshmlba helper.
34672
34673 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34674
34675 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34676
34677 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34678 [__LP64__].
34679
34680 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34681
34682 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34683 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34684 (__lround): Renamed to ...
34685 (__llround): This. Replace long int with long long int.
34686 Define lround functions as aliases of llround functions.
34687 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34688
34689 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34690
34691 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34692 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34693 adresses to uintptr_t. Replace "long int" and "unsigned long
34694 int" with "greg_t" on va_arg.
34695
34696 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34697
34698 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34699 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34700
34701 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34702 Move e_machine check before EI_CLASS check. Handle x32
34703 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34704 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34705 SKIP_EM_IA_64 and include
34706 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34707
34708 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34709 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34710 (add_system_dir): New macro.
34711
34712 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34713 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34714
34715 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34716
34717 [BZ #2551]
34718 [BZ #2552]
34719 [BZ #2553]
34720 [BZ #2554]
34721 [BZ #2562]
34722 [BZ #2563]
34723 [BZ #2565]
34724 [BZ #2566]
34725 [BZ #2576]
34726 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34727 (y0): Likewise.
34728 * math/w_j0f.c (j0f): Likewise.
34729 (y0f): Likewise.
34730 * math/w_j0l.c (__j0l): Likewise.
34731 (__y0l): Likewise.
34732 * math/w_j1.c (j1): Likewise.
34733 (y1): Likewise.
34734 * math/w_j1f.c (j1f): Likewise.
34735 (y1f): Likewise.
34736 * math/w_j1l.c (__j1l): Likewise.
34737 (__y1l): Likewise.
34738 * math/w_jn.c (jn): Likewise.
34739 (yn): Likewise.
34740 * math/w_jnf.c (jnf): Likewise.
34741 (ynf): Likewise.
34742 * math/w_jnl.c (__jnl): Likewise.
34743 (__ynl): Likewise.
34744 * math/libm-test.inc (j0_test): Add more tests.
34745 (j1_test): Likewise.
34746 (jn_test): Likewise. Add trailing semicolon to existing test.
34747 (y0_test): Likewise.
34748 (y1_test): Likewise.
34749 * sysdeps/i386/fpu/libm-test-ulps: Update.
34750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34751
34752 [BZ #13851]
34753 [BZ #13854]
34754 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34755 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34756 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34757 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34758 (__tanl): Set errno for infinite argument.
34759 * sysdeps/i386/fpu/mptan.c: Remove.
34760 * sysdeps/i386/fpu/s_tan.S: Likewise.
34761 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34762 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34763 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34764 * math/libm-test.inc (tan_test): Add more tests and enable more
34765 tests for double and long double.
34766 * sysdeps/i386/fpu/libm-test-ulps: Update.
34767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34768
34769 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34770
34771 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34772 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34773
34774 2012-03-16 Roland McGrath <roland@hack.frob.com>
34775
34776 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34777 * configure.in: Use it for both main tree and add-ons.
34778 * configure: Regenerated.
34779
34780 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34781
34782 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34783
34784 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34785
34786 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34787 in comment.
34788
34789 [BZ #13851]
34790 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34791 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34792 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34793 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34794 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34795 infinite argument.
34796 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34797 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34798 != 0 for prec == 2.
34799 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34800 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34801 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34802 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34803 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34804 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34805 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34806 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34807 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34808 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34809 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34810 * math/libm-test.inc (cos_test): Add more tests and enable more
34811 tests for long double.
34812 (sin_test): Likewise.
34813 (sincos_test): Likewise.
34814 * sysdeps/i386/fpu/libm-test-ulps: Update.
34815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34816
34817 2012-03-16 David S. Miller <davem@davemloft.net>
34818
34819 * sysdeps/sparc/fpu/math_private.h: New file.
34820
34821 2012-03-15 David S. Miller <davem@davemloft.net>
34822
34823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34824 file.
34825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34827 file.
34828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34833 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34834 sysdep routines.
34835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34836
34837 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34838 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34839
34840 * sysdeps/sparc/sparc-ifunc.h: New file.
34841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34842 sparc-ifunc.h
34843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34845 Likewise.
34846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34847 Likewise.
34848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34852 Likewise.
34853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34858 Likewise.
34859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34860 Likewise.
34861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34867 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34868 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34879 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34880 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34881 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34882 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34883 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34884 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34885
34886 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34887
34888 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34889 scaling.
34890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34891
34892 2012-03-15 Andreas Jaeger <aj@suse.de>
34893
34894 [BZ #13852]
34895 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34896 ieee754/flt-32 implementation for sin, cos and sincos.
34897 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34898 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34899 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34900 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34901 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34902 ieee754/flt-32 implementation for tan.
34903
34904 * math/libm-test.inc (cos_test): Enable some large input tests for
34905 float as well
34906 (sin_test): Likewise.
34907 (sincos_test): Likewise.
34908 (tan_test): Add tests for large input.
34909
34910 * sysdeps/i386/fpu/libm-test-ulps: Update.
34911
34912 2012-03-15 Andreas Jaeger <aj@suse.de>
34913
34914 [BZ #13658]
34915 * math/libm-test.inc (cos_test): Add more test cases.
34916 (sin_test): Likewise.
34917 (sincos_test): Likewise.
34918
34919 2012-03-15 Andreas Jaeger <aj@suse.de>
34920
34921 [BZ #13837]
34922 * math/libm-test.inc (cos_test): Add a test case for large input
34923 value.
34924 (sin_test): Likewise.
34925 (sincos_test): Likewise.
34926
34927 2012-03-15 Andreas Jaeger <aj@suse.de>
34928 Joseph Myers <joseph@codesourcery.com>
34929
34930 [BZ #13658]
34931 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34932 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34933 * sysdeps/i386/fpu/branred.c: Likewise.
34934 * sysdeps/i386/fpu/dosincos.c: Likewise.
34935 * sysdeps/i386/fpu/mpa.c: Likewise.
34936 * sysdeps/i386/fpu/s_cos.S: Likewise.
34937 * sysdeps/i386/fpu/s_sin.S: Likewise.
34938 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34939 * sysdeps/i386/fpu/sincos32.c: Likewise.
34940
34941 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34942 Define.
34943 (libc_feupdateenv_53bit): Define.
34944 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34945 Define.
34946 (libc_feupdateenv_53bit): Define.
34947
34948 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34949 53 bit (without extend i386 double precision).
34950
34951 * math/libm-test.inc (sincos_test): Add tests for large input.
34952 (sin): Likewise.
34953 (cos): Likewise.
34954
34955 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34956
34957 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34958
34959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34960
34961 2012-03-15 David S. Miller <davem@davemloft.net>
34962
34963 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34964 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34965 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34966 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34974 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34975 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34976 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34979 file.
34980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34982 file.
34983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34985 file.
34986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34988 file.
34989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34991 fmin/fmax sysdep routines.
34992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34993
34994 2012-03-14 David S. Miller <davem@davemloft.net>
34995
34996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34998 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34999 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35000 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35001 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35002 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35003 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35007 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35014 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35016 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35017 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35018 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35019 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35020 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35021 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35022 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35023 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35024 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35025 routines.
35026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35027 file.
35028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35030 file.
35031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35033 file.
35034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35036 file.
35037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35039 file.
35040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35042 file.
35043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35044 file.
35045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35046 file.
35047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35048 file.
35049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35050 New file.
35051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35052 file.
35053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35054 file.
35055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35057 file.
35058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35060 file.
35061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35063 file.
35064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35066 VIS3 routines.
35067
35068 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35069 New file.
35070
35071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35072
35073 * sysdeps/sparc/configure.in: New file.
35074 * sysdeps/sparc/configure: Generate.
35075 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35076 * configure: Regenerate.
35077 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35078 * config.make.in (have-as-vis3): New.
35079 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35080 available use -Av9d instead of -Av9a.
35081 * sysdeps/sparc/sparc64/Makefile: Likewise.
35082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35084 New file.
35085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35086 file.
35087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35088 New file.
35089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35090 file.
35091 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35092 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35093 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35094 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35095 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35096
35097 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35098 fzeros/fnegs to load 0x80000000 into a float register instead of
35099 using the stack.
35100 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35101
35102 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35103
35104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35105 bits/syscall.h.
35106 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35107 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35108 ($(inst_includedir)/bits/syscall.h): Remove rule.
35109 ($(objpfx)bits/syscall.d): Include instead of
35110 $(objpfx)syscall-list.d.
35111 (generated): Change syscall-list.h and syscall-list.d to
35112 bits/syscall.h and bits/syscall.d.
35113
35114 2012-03-14 Roland McGrath <roland@hack.frob.com>
35115
35116 [BZ #13846]
35117 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35118
35119 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35120
35121 [BZ #13841]
35122 * math/s_csqrt.c: Include <float.h>.
35123 (__csqrt): Scale large or subnormal inputs.
35124 * math/s_csqrtf.c: Likewise.
35125 * math/s_csqrtl.c: Likewise.
35126 * math/libm-test.inc (csqrt_test): Add more tests.
35127 * sysdeps/i386/fpu/libm-test-ulps: Update.
35128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35129
35130 [BZ #13840]
35131 * math/libm-test.inc (hypot_test): Add more tests.
35132
35133 2012-03-13 David S. Miller <davem@davemloft.net>
35134
35135 [BZ #13840]
35136 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35137 double-precision for the calculation instead of scaling.
35138
35139 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35140
35141 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35142 manipulate bits before adding and subtracting TWO52[sx].
35143 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35144 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35145 Likewise.
35146 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35147
35148 2012-03-13 David S. Miller <davem@davemloft.net>
35149
35150 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35151 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35152 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35153 rtld-global-offsets.h
35154 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35155
35156 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35157 large parameters.
35158
35159 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35160
35161 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35162 'err' in the ifdef scope in which it is actually used.
35163
35164 * nss/nss_db/db-init.c: Include string.h
35165
35166 2012-03-12 David S. Miller <davem@davemloft.net>
35167
35168 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35169 masking out of the most significant byte of random value used.
35170 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35171 Fix coding style in previous change.
35172
35173 * sysdeps/unix/sysv/linux/kernel-features.h
35174 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35175 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35176 expression.
35177 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35178 later.
35179
35180 2012-03-11 David S. Miller <davem@davemloft.net>
35181
35182 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35183 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35184 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35185 for 'resultvar' otherwise things get truncated on 64-bit.
35186
35187 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35188 Fix masking out of the most significant byte of random value used.
35189
35190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35191
35192 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35193
35194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35195
35196 2012-03-09 David S. Miller <davem@davemloft.net>
35197
35198 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35199 variables with appropriate CPP guards.
35200 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35201 from the frame pointer, not the stack pointer. Correct layout
35202 comments. Fix test on resulting framesize and the management of
35203 the outregs buffer for pltexit. Preserve floating point return
35204 values across _dl_call_pltexit call.
35205 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35206 framesize and the management of the outregs buffer for pltexit.
35207 Preserve floating point return values across _dl_call_pltexit
35208 call.
35209 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35210 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35211 (la_sparc64_gnu_pltexit): New functions.
35212 (print_exit): Fix format string for return register value.
35213
35214 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35215
35216 * sunrpc/Makefile (others): Add rpcgen.
35217 ($(objpfx)rpcgen): Remove special build rule and dependency on
35218 libc.
35219 * sunrpc/rpcgen.c: New file.
35220
35221 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35222
35223 [BZ #13673]
35224 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35225 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35226 * sysdeps/i386/crti.S: Likewise.
35227 * sysdeps/i386/crtn.S: Likewise.
35228 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35229 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35230 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35231 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35232 * sysdeps/sh/crti.S: Likewise.
35233 * sysdeps/sh/crtn.S: Likewise.
35234 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35235
35236 [BZ #13673]
35237 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35238 with URL.
35239 * locale/programs/locfile-kw.gperf: Likewise.
35240 * locale/programs/charmap-kw.h: Regenerated.
35241 * locale/programs/locfile-kw.h: Likewise.
35242
35243 [BZ #13673]
35244 * intl/plural.y: Replace FSF snail mail address with URL.
35245 * intl/plural.c: Regenerated.
35246
35247 2012-03-09 Richard Henderson <rth@twiddle.net>
35248
35249 * include/math_private.h: Remove file.
35250 * math/math_private.h: Move file ...
35251 * sysdeps/generic/math_private.h: ... here.
35252
35253 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35254 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35255 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35256
35257 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35258 and <math_private.h>.
35259 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35260 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35261 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35262 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35263 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35264 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35265 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35266 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35267 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35268 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35269 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35270 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35271 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35272 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35273 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35274 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35275 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35276 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35277 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35278 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35279 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35280 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35281 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35282 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35283 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35284 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35285 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35286 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35288 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35289 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35290 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35291 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35292 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35293 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35294 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35295 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35296 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35297 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35298 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35299 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35300 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35301 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35302 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35303 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35304 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35305 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35306 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35307 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35308 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35309 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35310 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35311 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35312 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35313 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35314 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35315 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35316 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35317 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35318 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35319 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35320 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35321 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35322 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35323 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35324 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35325 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35326 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35327 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35328 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35329 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35330 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35331 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35332 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35333 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35334 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35335 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35336 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35337 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35338 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35339 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35340 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35341 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35342 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35343 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35344 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35345 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35346 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35347 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35348 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35349 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35350 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35351 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35352 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35353 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35354 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35355 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35356 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35357 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35358 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35359 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35360 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35361 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35362 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35363 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35364 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35365 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35366 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35367 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35368 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35369 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35370 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35371 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35372 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35373 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35374 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35375 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35376 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35377 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35378 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35379 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35380 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35381 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35382 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35383 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35384 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35385 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35386 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35387 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35388 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35389 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35390 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35391 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35392 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35393 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35394 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35395 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35396 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35397 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35398 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35399 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35400 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35401 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35402 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35403 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35404 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35405 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35406 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35407 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35408 * sysdeps/ieee754/k_standard.c: Likewise.
35409 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35410 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35411 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35412 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35413 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35414 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35415 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35416 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35417 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35418 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35419 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35420 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35421 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35422 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35423 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35424 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35425 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35426 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35427 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35428 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35429 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35430 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35431 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35432 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35433 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35434 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35435 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35436 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35437 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35438 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35439 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35440 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35441 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35442 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35443 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35444 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35445 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35446 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35447 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35448 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35449 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35450 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35451 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35452 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35453 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35454 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35455 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35456 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35457 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35458 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35459 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35460 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35461 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35462 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35463 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35464 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35465 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35466 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35467 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35468 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35469 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35470 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35471 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35472 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35473 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35474 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35475 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35476 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35477 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35478 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35479 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35480 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35481 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35482 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35483 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35484 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35485 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35486 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35487 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35488 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35489 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35490 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35491 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35492 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35493 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35494 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35495 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35496 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35497 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35498 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35499 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35500 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35501 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35502 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35503 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35504 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35505 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35506 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35507 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35508 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35509 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35510 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35511 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35512 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35513 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35514 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35515 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35516 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35517 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35518 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35519 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35520 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35521 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35522 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35523 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35524 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35525 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35526 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35527 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35528 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35529 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35530 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35531 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35532 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35533 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35534 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35535 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35536 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35537 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35538 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35539 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35540 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35541 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35542 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35543 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35544 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35545 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35546 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35547 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35548 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35549 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35550 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35551 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35552 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35553 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35554 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35555 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35556 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35557 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35558 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35559 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35560 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35561 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35562 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35563 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35564 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35565 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35566 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35567 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35568 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35569 * sysdeps/ieee754/s_lib_version.c: Likewise.
35570 * sysdeps/ieee754/s_matherr.c: Likewise.
35571 * sysdeps/ieee754/s_signgam.c: Likewise.
35572 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35573 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35574 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35575 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35576 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35577 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35578 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35579 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35580 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35581 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35582 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35583 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35584 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35585 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35586 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35587 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35588 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35589 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35590 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35591 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35592 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35593
35594 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35595
35596 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35597 * sunrpc/rpc_main.c: Likewise.
35598 * sunrpc/rpc_svcout.c: Likewise.
35599
35600 2012-03-09 David S. Miller <davem@davemloft.net>
35601
35602 * include/math_private.h: New file.
35603
35604 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35605
35606 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35607 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35608 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35609 from <bits/socket_type.h>.
35610 (enum __socket_type): Don't define here.
35611 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35613 bits/socket_type.h.
35614
35615 [BZ #13566]
35616 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35617 checking __USE_GNU.
35618
35619 * Makerules ($(inst_includedir)/%.h): New rule.
35620 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35621 (install-others): Remove variable setting.
35622 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35623
35624 2012-03-08 Richard Henderson <rth@twiddle.net>
35625
35626 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35627 from macro to inline function; merge with the
35628 !__LIBC_INTERNAL_MATH_INLINES version.
35629 (__ieee754_sqrtf): Likewise.
35630
35631 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35632 to inline function.
35633 (__rintf, __floor, __floorf): Likewise.
35634
35635 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35636 macro to inline function.
35637 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35638
35639 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35640 not <math/math_private.h>.
35641
35642 2012-03-08 David S. Miller <davem@davemloft.net>
35643
35644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35645 copyright year.
35646 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35647
35648 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35649
35650 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35651 normalization.
35652 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35653 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35654
35655 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35656
35657 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35658 be defined individually, they must be defined as a block. Define
35659 S for printing a string instead of hidint the different by using a
35660 macro for adding the 'l'.
35661 * stdio-common/tst-fphex-wide.c: Adjust.
35662
35663 2012-03-07 Marek Polacek <polacek@redhat.com>
35664
35665 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35666
35667 2012-03-08 Marek Polacek <polacek@redhat.com>
35668
35669 [BZ #13806]
35670 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35671 * stdio-common/tst-fphex.c: Define a few macros to make the
35672 test reusable. Use them.
35673 * stdio-common/tst-fphex-wide.c: New file.
35674
35675 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35676
35677 [BZ #6911]
35678 * manual/macros.texi (gnusystems): New macro.
35679 (nongnusystems): Likewise.
35680 (gnulinuxhurdsystems): Likewise.
35681 (gnuhurdsystems): Likewise..
35682 (gnulinuxsystems): Likewise.
35683 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35684 variants of the GNU system, not "GNU system".
35685 * manual/conf.texi: Likewise.
35686 * manual/errno.texi: Likewise. Update example of errno macro
35687 expansion.
35688 * manual/filesys.texi: Likewise.
35689 (getumask): Document as specific to GNU/Hurd.
35690 * manual/install.texi: Likewise. Reword some references to
35691 GNU/Linux.
35692 * manual/intro.texi: Likewise.
35693 * manual/io.texi: Likewise.
35694 (File Name Portability): Detail which constraints are inapplicable
35695 to all GNU systems and which are only inapplicable to GNU/Hurd.
35696 * manual/job.texi: Likewise.
35697 * manual/llio.texi: Likewise.
35698 (O_NOCTTY): Document as present on GNU/Linux.
35699 * manual/maint.texi: Likewise.
35700 * manual/memory.texi: Likewise.
35701 * manual/pattern.texi: Likewise.
35702 * manual/pipe.texi: Likewise.
35703 * manual/process.texi: Likewise.
35704 * manual/resource.texi: Likewise.
35705 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35706 child on GNU/Hurd.
35707 * manual/setjmp.texi: Likewise.
35708 * manual/signal.texi: Likewise.
35709 * manual/startup.texi: Likewise.
35710 * manual/stdio.texi: Likewise.
35711 * manual/terminal.texi: Likewise.
35712 (ONLCR): Document as POSIX.
35713 (OXTABS): Document availability on GNU/Linux as XTABS.
35714 (ONOEOT): Document availability separately from other bits.
35715 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35716 * manual/time.texi: Likewise.
35717 * manual/users.texi: Likewise.
35718 * INSTALL: Regenerated.
35719 * sysdeps/gnu/errlist.c: Regenerated.
35720
35721 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35722 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35723 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35724 puts.
35725 * configure: Regenerated.
35726
35727 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35728
35729 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35730 default includes instead of AC_HEADER_CHECK.
35731 * sysdeps/i386/configure: Regenerated.
35732
35733 [BZ #10716]
35734 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35735 * math/s_cacoshf.c (__cacoshf): Likewise.
35736 * math/s_cacoshl.c (__cacoshl): Likewise.
35737 * math/s_casinh.c (__casinh): Set signs of result from argument.
35738 * math/s_casinhf.c (__casinhf): Likewise.
35739 * math/s_casinhl.c (__casinhl): Likewise.
35740 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35741 (casinh_test): Add more tests.
35742 * sysdeps/i386/fpu/libm-test-ulps: Update.
35743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35744
35745 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35746
35747 * po/zh_TW.po: Update from translation team.
35748
35749 * login/Makefile (distribute): Remove variable.
35750 * catgets/Makefile: Likewise.
35751 * mach/Makefile: Likewise.
35752 * malloc/Makefile: Likewise.
35753 * misc/Makefile: Likewise.
35754 * iconv/Makefile: Likewise.
35755 * nscd/Makefile: Likewise.
35756 * hurd/Makefile: Likewise.
35757 * manual/Makefile: Likewise.
35758 * locale/Makefile: Likewise.
35759 * intl/Makefile: Likewise.
35760 * conform/Makefile: Likewise.
35761 * nss/Makefile: Likewise.
35762 * time/Makefile: Likewise.
35763 * soft-fp/Makefile: Likewise.
35764 * dirent/Makefile: Likewise.
35765 * gmon/Makefile: Likewise.
35766 * po/Makefile: Likewise.
35767 * rt/Makefile: Likewise.
35768 * socket/Makefile: Likewise.
35769 * math/Makefile: Likewise.
35770 * signal/Makefile: Likewise.
35771 * debug/Makefile: Likewise.
35772 * elf/Makefile: Likewise.
35773 * timezone/Makefile: Likewise.
35774 * stdlib/Makefile: Likewise.
35775 * iconvdata/Makefile: Likewise.
35776 * sunrpc/Makefile: Likewise.
35777 * io/Makefile: Likewise.
35778 * argp/Makefile: Likewise.
35779 * inet/Makefile: Likewise.
35780 * hesiod/Makefile: Likewise.
35781 * grp/Makefile: Likewise.
35782 * csu/Makefile: Likewise.
35783 * wctype/Makefile: Likewise.
35784 * crypt/Makefile: Likewise.
35785 * libio/Makefile: Likewise.
35786 * string/Makefile: Likewise.
35787 * nis/Makefile: Likewise.
35788 * resolv/Makefile: Likewise.
35789 * stdio-common/Makefile: Likewise.
35790 * wcsmbs/Makefile: Likewise.
35791 * dlfcn/Makefile: Likewise.
35792 * posix/Makefile: Likewise.
35793
35794 [BZ #6959]
35795 * timezone/Makefile: Don't install timezone files, just the programs
35796 and scripts.
35797
35798 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35799
35800 * nss/databases.def: Add missing gshadow entry.
35801
35802 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35803
35804 2012-03-06 Marek Polacek <polacek@redhat.com>
35805
35806 [BZ #13726]
35807 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35808 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35809 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35810 * stdio-common/tst-long-dbl-fphex.c: New file.
35811
35812 2012-03-06 David S. Miller <davem@davemloft.net>
35813
35814 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35815 (set_obp_int): New function.
35816 (get_obp_int): New function.
35817 (__get_clockfreq_via_dev_openprom): Likewise.
35818 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35819 Avoid unused variable warnings on 'val' and use builtin_expect.
35820 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35821 __builtin_expect.
35822 (INLINE_CLONE_SYSCALL): Likewise.
35823
35824 2012-03-05 David S. Miller <davem@davemloft.net>
35825
35826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35827
35828 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35829
35830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35831
35832 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35833 only for |x| >= 40.
35834 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35835
35836 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35837
35838 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35839 Replace gettimeofday with __vdso_gettimeofday.
35840
35841 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35842 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35843 __vdso_clock_gettime and __vdso_getcpu.
35844
35845 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35846 time with __vdso_time.
35847
35848 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35849
35850 * manual/lang.texi (size_t): Note types to which size_t may be
35851 equivalent with the GNU C Library, but do not describe when
35852 differences between them are significant.
35853
35854 2012-03-05 Andreas Jaeger <aj@suse.de>
35855
35856 * sysdeps/i386/fpu/libm-test-ulps: Update.
35857
35858 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35859
35860 [BZ #3976]
35861 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35862 (__ieee754_pow): Save and restore rounding mode and use
35863 round-to-nearest for main computations.
35864 * math/libm-test.inc (pow_test_tonearest): New function.
35865 (pow_test_towardzero): Likewise.
35866 (pow_test_downward): Likewise.
35867 (pow_test_upward): Likewise.
35868 (main): Call the new functions.
35869 * sysdeps/i386/fpu/libm-test-ulps: Update.
35870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35871
35872 [BZ #3976]
35873 * math/libm-test.inc (cosh_test_tonearest): New function.
35874 (cosh_test_towardzero): Likewise.
35875 (cosh_test_downward): Likewise.
35876 (cosh_test_upward): Likewise.
35877 (sinh_test_tonearest): Likewise.
35878 (sinh_test_towardzero): Likewise.
35879 (sinh_test_downward): Likewise.
35880 (sinh_test_upward): Likewise.
35881 (main): Call the new functions.
35882 * sysdeps/i386/fpu/libm-test-ulps: Update.
35883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35884
35885 2012-03-05 Tom de Vries <tom@codesourcery.com>
35886
35887 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35888 default stack guard is set in last bytes.
35889 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35890
35891 2012-03-05 Kees Cook <keescook@chromium.org>
35892
35893 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35894
35895 [BZ #13656]
35896 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35897 possibly allocate from heap instead of stack.
35898 * stdio-common/bug-vfprintf-nargs.c: New file.
35899 * stdio-common/Makefile (tests): Add nargs overflow test.
35900
35901 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35902
35903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35904
35905 2012-03-03 Marek Polacek <polacek@redhat.com>
35906
35907 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35908 * math/math_private.h: Likewise.
35909 * stdlib/tst-strtod.c: Likewise.
35910 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35911 * sysdeps/x86_64/bits/atomic.h: Likewise.
35912
35913 2012-03-02 David S. Miller <davem@davemloft.net>
35914
35915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35919 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35920 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35921 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35922 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35923
35924 2012-03-02 Roland McGrath <roland@hack.frob.com>
35925
35926 [BZ #13792]
35927 * manual/examples/README: New file, says the example source files
35928 can be used under GPL>=2.
35929 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35930 line containing just "*/".
35931 * manual/examples/add.c: Add copyright header (GPL>=2).
35932 * manual/examples/argp-ex1.c: Likewise.
35933 * manual/examples/argp-ex2.c: Likewise.
35934 * manual/examples/argp-ex3.c: Likewise.
35935 * manual/examples/argp-ex4.c: Likewise.
35936 * manual/examples/atexit.c: Likewise.
35937 * manual/examples/db.c: Likewise.
35938 * manual/examples/dir.c: Likewise.
35939 * manual/examples/dir2.c: Likewise.
35940 * manual/examples/execinfo.c: Likewise.
35941 * manual/examples/filecli.c: Likewise.
35942 * manual/examples/filesrv.c: Likewise.
35943 * manual/examples/fmtmsgexpl.c: Likewise.
35944 * manual/examples/genpass.c: Likewise.
35945 * manual/examples/inetcli.c: Likewise.
35946 * manual/examples/inetsrv.c: Likewise.
35947 * manual/examples/isockad.c: Likewise.
35948 * manual/examples/longopt.c: Likewise.
35949 * manual/examples/memopen.c: Likewise.
35950 * manual/examples/memstrm.c: Likewise.
35951 * manual/examples/mkfsock.c: Likewise.
35952 * manual/examples/mkisock.c: Likewise.
35953 * manual/examples/mygetpass.c: Likewise.
35954 * manual/examples/pipe.c: Likewise.
35955 * manual/examples/popen.c: Likewise.
35956 * manual/examples/rprintf.c: Likewise.
35957 * manual/examples/search.c: Likewise.
35958 * manual/examples/select.c: Likewise.
35959 * manual/examples/setjmp.c: Likewise.
35960 * manual/examples/sigh1.c: Likewise.
35961 * manual/examples/sigusr.c: Likewise.
35962 * manual/examples/stpcpy.c: Likewise.
35963 * manual/examples/strdupa.c: Likewise.
35964 * manual/examples/strftim.c: Likewise.
35965 * manual/examples/strncat.c: Likewise.
35966 * manual/examples/subopt.c: Likewise.
35967 * manual/examples/swapcontext.c: Likewise.
35968 * manual/examples/termios.c: Likewise.
35969 * manual/examples/testopt.c: Likewise.
35970 * manual/examples/testpass.c: Likewise.
35971 * manual/examples/timeval_subtract.c: Likewise.
35972
35973 [BZ #13792]
35974 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35975 function to ...
35976 * manual/timeval_subtract.c.texi: ... here, new file.
35977
35978 2012-03-02 David S. Miller <davem@davemloft.net>
35979
35980 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35981
35982 2012-03-02 Joseph Myers <joseph@codesourcery.com>
35983
35984 [BZ #3976]
35985 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35986 (__sin): Save and restore rounding mode and use round-to-nearest
35987 for all computations.
35988 (__cos): Save and restore rounding mode and use round-to-nearest
35989 for all computations.
35990 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35991 <fenv.h>.
35992 (tan): Save and restore rounding mode and use round-to-nearest for
35993 all computations.
35994 * math/libm-test.inc (cos_test_tonearest): New function.
35995 (cos_test_towardzero): Likewise.
35996 (cos_test_downward): Likewise.
35997 (cos_test_upward): Likewise.
35998 (sin_test_tonearest): Likewise.
35999 (sin_test_towardzero): Likewise.
36000 (sin_test_downward): Likewise.
36001 (sin_test_upward): Likewise.
36002 (tan_test_tonearest): Likewise.
36003 (tan_test_towardzero): Likewise.
36004 (tan_test_downward): Likewise.
36005 (tan_test_upward): Likewise.
36006 (main): Call the new functions.
36007 * sysdeps/i386/fpu/libm-test-ulps: Update.
36008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36009
36010 [BZ #10135]
36011 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36012 small n, then large n, before computing and testing k+n.
36013 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36014 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36015 Likewise.
36016 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36017 Likewise.
36018 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36019 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36020 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36021 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36022 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36023 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36024 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36025 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36026 * math/libm-test.inc (scalbn_test): Add more tests.
36027 (scalbln_test): Likewise.
36028
36029 * manual/filesys.texi (mode_t): Describe constraints on size and
36030 signedness, not exact equivalence to a particular type.
36031 (ino_t): Likewise.
36032 (ino64_t): Likewise.
36033 (dev_t): Likewise.
36034 (nlink_t): Likewise.
36035 (blkcnt_t): Likewise.
36036 (blkcnt64_t): Likewise.
36037 * manual/llio.texi (off_t): Likewise.
36038
36039 [BZ #3976]
36040 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36041 (__ieee754_exp): Save and restore rounding mode and use
36042 round-to-nearest for all computations.
36043 * math/libm-test.inc (exp_test_tonearest): New function.
36044 (exp_test_towardzero): Likewise.
36045 (exp_test_downward): Likewise.
36046 (exp_test_upward): Likewise.
36047 (main): Call the new functions.
36048 * sysdeps/i386/fpu/libm-test-ulps: Update.
36049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36050
36051 2012-03-01 Chris Demetriou <cgd@google.com>
36052
36053 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36054 have predictable order.
36055
36056 2012-03-01 David S. Miller <davem@davemloft.net>
36057
36058 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36059
36060 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36061 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36062 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36063 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36064
36065 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36066 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36067 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36069 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36070 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36071 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36072 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36073 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36074
36075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36076
36077 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36078 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36079 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36080
36081 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36082 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36083 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36084 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36085 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36086 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36087 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36088 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36089 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36090 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36091 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36092 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36093 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36094 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36095 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36096 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36097 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36098 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36099 * sysdeps/sparc/elf/configure: Regenerated.
36100
36101 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36102
36103 * configure.in (AS, LD): Require binutils 2.20 or later.
36104 * configure: Regenerated.
36105 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36106 as required minimum version.
36107 * INSTALL: Regenerated.
36108
36109 [BZ #2541]
36110 [BZ #4108]
36111 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36112 before squaring exponent.
36113 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36114 bottom long double and 27 bits of top long double before squaring
36115 exponent.
36116 * math/libm-test.inc (erfc_test): Add more tests.
36117 * sysdeps/i386/fpu/libm-test-ulps: Update.
36118 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36120
36121 2012-03-01 Kai Tietz <ktietz@redhat.com>
36122
36123 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36124 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36125 containing bit-fields.
36126 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36127 * soft-fp/single.h (_FP_UNION_S): Likewise.
36128 * soft-fp/double.h (_FP_UNION_D): Likewise.
36129
36130 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36131
36132 [BZ #13786]
36133 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36134 not include ../strcmp.S.
36135 [USE_AS_STRNCASECMP_L]: Likewise.
36136 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36137 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36138 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36139 (__strncasecmp_l_ia32): Define as alias to
36140 __strncasecmp_l_nonascii.
36141
36142 [BZ #5794]
36143 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36144 * sysdeps/i386/fpu/libm-test-ulps: Update.
36145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36146
36147 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36149
36150 2012-02-29 Jeff Law <law@redhat.com>
36151
36152 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36153 out of bounds read.
36154
36155 2012-02-29 Marek Polacek <polacek@redhat.com>
36156
36157 [BZ #13706]
36158 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36159 * elf/Makefile: Add rules to run tst-unused-dep.out.
36160
36161 2012-02-28 David S. Miller <davem@davemloft.net>
36162
36163 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36164 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36165 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36166 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36167 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36168 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36169
36170 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36171
36172 * math/libm-test.inc (llround_test): Move one test from
36173 lround_test. Use TEST_f_L in moved test.
36174 (lround_test): Move misplaced test to llround_test. Add testcase
36175 from bug 2561.
36176
36177 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36178
36179 * sysdeps/x86_64/fpu/e_expf.S: New file.
36180 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36181
36182 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36183
36184 [BZ #13637]
36185 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36186 of remain_len that may cause incomplete multi-byte character and
36187 false match.
36188 * posix/bug-regex33.c: New file.
36189 * posix/Makefile (tests): Add bug-regex33.
36190
36191 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36192
36193 * manual/macros.texi: New file.
36194 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36195 * manual/libc.texinfo: Include macros.texi.
36196 * manual/creatute.texi: Likewise.
36197 * manual/install.texi: Likewise.
36198 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36199 @glibcadj{} in references to the GNU C Library.
36200 * manual/charset.texi: Likewise.
36201 * manual/conf.texi: Likewise.
36202 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36203 when not using those macros.
36204 * manual/creature.texi: Likewise.
36205 * manual/crypt.texi: Likewise.
36206 * manual/errno.texi: Likewise.
36207 * manual/filesys.texi: Likewise.
36208 * manual/header.texi: Likewise.
36209 * manual/install.texi: Likewise.
36210 * manual/intro.texi: Likewise.
36211 * manual/io.texi: Likewise.
36212 * manual/job.texi: Likewise.
36213 * manual/lang.texi: Likewise.
36214 * manual/libc.texiinfo: Likewise.
36215 * manual/llio.texi: Likewise.
36216 * manual/locale.texi: Likewise.
36217 * manual/maint.texi: Likewise.
36218 * manual/math.texi: Likewise.
36219 * manual/memory.texi: Likewise.
36220 * manual/message.texi: Likewise.
36221 * manual/nss.texi: Likewise.
36222 * manual/pattern.texi: Likewise.
36223 * manual/process.texi: Likewise.
36224 * manual/resource.texi: Likewise.
36225 * manual/search.texi: Likewise.
36226 * manual/setjmp.texi: Likewise.
36227 * manual/signal.texi: Likewise.
36228 * manual/socket.texi: Likewise.
36229 * manual/startup.texi: Likewise.
36230 * manual/stdio.texi: Likewise.
36231 * manual/string.texi: Likewise.
36232 * manual/sysinfo.texi: Likewise.
36233 * manual/syslog.texi: Likewise.
36234 * manual/terminal.texi: Likewise.
36235 * manual/time.texi: Likewise.
36236 * manual/users.texi: Likewise.
36237 * INSTALL: Regenerated.
36238 * NOTES: Regenerated.
36239 * sysdeps/gnu/errlist.c: Regenerated.
36240
36241 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36242
36243 * include/dirent.h: Include <dirstream.h> before
36244 <dirent/dirent.h>.
36245
36246 2012-02-28 David S. Miller <davem@davemloft.net>
36247
36248 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36249 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36250 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36251 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36252
36253 2012-02-27 David S. Miller <davem@davemloft.net>
36254
36255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36257 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36258 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36259
36260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36261 frame pointer instead of stack pointer relative arg slot.
36262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36263 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36264 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36265
36266 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36267
36268 [BZ #3992]
36269 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36270
36271 2012-02-27 David S. Miller <davem@davemloft.net>
36272
36273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36277 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36278 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36279 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36280 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36281
36282 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36283
36284 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36285 later. Allow versions 5-9.
36286 * configure: Regenerated.
36287 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36288 required minimum version and 4.6 as recommended version. Do not
36289 mention bugs in GCC 2.7 and 2.8.
36290 * INSTALL: Regenerated.
36291
36292 2012-02-27 David S. Miller <davem@davemloft.net>
36293
36294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36298 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36299 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36300 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36301 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36302
36303 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36304 manipulate bits before adding and subtracting TWO112[sx].
36305 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36306
36307 2012-02-27 Roland McGrath <roland@hack.frob.com>
36308
36309 [BZ #13775]
36310 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36311 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36312 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36313 being in POSIX, because they are in 1003.1-2008.
36314
36315 * rt/tst-aio.c: Include <fcntl.h>.
36316 * rt/tst-aio7.c: Likewise.
36317 * rt/tst-aio64.c: Likewise.
36318
36319 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36320
36321 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36322
36323 * manual/install.texi (--with-headers): Describe headers as
36324 interface headers, not private headers.
36325 (Specific advice for GNU/Linux systems): Describe use of headers
36326 from "make headers_install", not private headers from older
36327 kernels.
36328 * INSTALL: Regenerated.
36329 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36330 Change to 2.6.19.
36331 * sysdeps/unix/sysv/linux/configure: Regenerated.
36332
36333 * manual/llio.texi (fclean): Remove documentation.
36334
36335 * manual/Makefile (libc-texi-generated): New variable. Include
36336 version.texi.
36337 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36338 $(libc-texi-generated), not duplicated list of files.
36339 (version.texi, stamp-version): New rules.
36340 (realclean): Remove $(libc-texi-generated), not individual files
36341 from that list. Do not remove dir-add.texinfo.
36342 * manual/libc.texinfo: Comment out uses of edition numbers and
36343 references to printed manual. Remove last-updated dates.
36344 (EDITION): Comment out.
36345 (ISBN): Likewise.
36346 (VERSION, UPDATED): Remove.
36347 (version.texi): Include.
36348
36349 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36350
36351 * sysdeps/posix/spawni.c: Include <signal.h>.
36352 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36353 * sysdeps/pthread/aio_fsync.c: Likewise.
36354
36355 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36356
36357 * conform/Makefile (tests): Run only when not cross-compiling and
36358 when fast-check is not defined.
36359
36360 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36361 * conform/data/limits.h-data: Fixes for POSIX2008.
36362 * conform/run-conformtest.sh: Run all tests.
36363 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36364 headers.
36365 * include/bits/dlfcn.h: Likewise.
36366 * include/langinfo.h: Likewise.
36367 * include/monetary.h: Likewise.
36368 * include/sys/poll.h: Likewise.
36369
36370 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36371 for __USE_GNU.
36372 * posix/spawn.h: Define __need_sigset_t.
36373 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36374 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36375 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36376 to get sigevent_t only.
36377 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36378 only for __USE_GNU.
36379 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36380 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36381 process_vm_writev only for __USE_GNU.
36382 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36383
36384 * conform/Makefile: For now ignore errors from run-conformtest.
36385 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36386 POSIX to avoid namespace pollution. Don't prepend headers.
36387 * conform/data/aio.h-data: Fixes for POSIX testing.
36388 * conform/data/fcntl.h-data: Likewise.
36389 * conform/data/glob.h-data: Likewise.
36390 * conform/data/grp.h-data: Likewise.
36391 * conform/data/pthread.h-data: Likewise.
36392 * conform/data/pwd.h-data: Likewise.
36393 * conform/data/signal.h-data: Likewise.
36394 * conform/data/spawn.h-data: Likewise.
36395 * conform/data/stdio.h-data: Likewise.
36396 * conform/data/stdlib.h-data: Likewise.
36397 * conform/data/stropts.h-data: Likewise.
36398 * conform/data/sys/mman.h-data: Likewise.
36399 * conform/data/sys/stat.h-data: Likewise.
36400 * conform/data/sys/types.h-data: Likewise.
36401 * conform/data/sys/wait.h-data: Likewise.
36402 * conform/data/time.h-data: Likewise.
36403 * conform/data/unistd.h-data: Likewise.
36404 * conform/data/utime.h-data: Likewise.
36405
36406 * io/sys/stat.h: fchmod was always in POSIX.
36407 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36408 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36409 * rt/aio.h: Define __need_timespec before including <time.h>.
36410 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36411 struct. Add forward declaration of pthread_attr_t and use it in
36412 sigevent.
36413 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36414 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36415 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36416 always remove CLK_TCK definition.
36417
36418 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36419
36420 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36421
36422 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36423
36424 * conform/run-conformtest.sh: New file.
36425 * conform/Makefile: Run run-conformtest for tests.
36426 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36427 support.
36428
36429 * conform/data/uchar.h-data: New file.
36430 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36431 * conform/data/arpa/inet.h-data: Likewise.
36432 * conform/data/assert.h-data: Likewise.
36433 * conform/data/complex.h-data: Likewise.
36434 * conform/data/cpio.h-data: Likewise.
36435 * conform/data/ctype.h-data: Likewise.
36436 * conform/data/dirent.h-data: Likewise.
36437 * conform/data/dlfcn.h-data: Likewise.
36438 * conform/data/errno.h-data: Likewise.
36439 * conform/data/fcntl.h-data: Likewise.
36440 * conform/data/float.h-data: Likewise.
36441 * conform/data/fmtmsg.h-data: Likewise.
36442 * conform/data/fnmatch.h-data: Likewise.
36443 * conform/data/ftw.h-data: Likewise.
36444 * conform/data/glob.h-data: Likewise.
36445 * conform/data/grp.h-data: Likewise.
36446 * conform/data/iconv.h-data: Likewise.
36447 * conform/data/inttypes.h-data: Likewise.
36448 * conform/data/langinfo.h-data: Likewise.
36449 * conform/data/libgen.h-data: Likewise.
36450 * conform/data/limits.h-data: Likewise.
36451 * conform/data/locale.h-data: Likewise.
36452 * conform/data/math.h-data: Likewise.
36453 * conform/data/monetary.h-data: Likewise.
36454 * conform/data/mqueue.h-data: Likewise.
36455 * conform/data/ndbm.h-data: Likewise.
36456 * conform/data/net/if.h-data: Likewise.
36457 * conform/data/netdb.h-data: Likewise.
36458 * conform/data/netinet/in.h-data: Likewise.
36459 * conform/data/nl_types.h-data: Likewise.
36460 * conform/data/poll.h-data: Likewise.
36461 * conform/data/pthread.h-data: Likewise.
36462 * conform/data/pwd.h-data: Likewise.
36463 * conform/data/regex.h-data: Likewise.
36464 * conform/data/sched.h-data: Likewise.
36465 * conform/data/search.h-data: Likewise.
36466 * conform/data/semaphore.h-data: Likewise.
36467 * conform/data/setjmp.h-data: Likewise.
36468 * conform/data/signal.h-data: Likewise.
36469 * conform/data/spawn.h-data: Likewise.
36470 * conform/data/stdarg.h-data: Likewise.
36471 * conform/data/stdio.h-data: Likewise.
36472 * conform/data/stdlib.h-data: Likewise.
36473 * conform/data/string.h-data: Likewise.
36474 * conform/data/strings.h-data: Likewise.
36475 * conform/data/stropts.h-data: Likewise.
36476 * conform/data/sys/ipc.h-data: Likewise.
36477 * conform/data/sys/mman.h-data: Likewise.
36478 * conform/data/sys/msg.h-data: Likewise.
36479 * conform/data/sys/resource.h-data: Likewise.
36480 * conform/data/sys/select.h-data: Likewise.
36481 * conform/data/sys/sem.h-data: Likewise.
36482 * conform/data/sys/shm.h-data: Likewise.
36483 * conform/data/sys/socket.h-data: Likewise.
36484 * conform/data/sys/stat.h-data: Likewise.
36485 * conform/data/sys/statvfs.h-data: Likewise.
36486 * conform/data/sys/time.h-data: Likewise.
36487 * conform/data/sys/timeb.h-data: Likewise.
36488 * conform/data/sys/times.h-data: Likewise.
36489 * conform/data/sys/types.h-data: Likewise.
36490 * conform/data/sys/uio.h-data: Likewise.
36491 * conform/data/sys/un.h-data: Likewise.
36492 * conform/data/sys/utsname.h-data: Likewise.
36493 * conform/data/sys/wait.h-data: Likewise.
36494 * conform/data/syslog.h-data: Likewise.
36495 * conform/data/tar.h-data: Likewise.
36496 * conform/data/termios.h-data: Likewise.
36497 * conform/data/utime.h-data: Likewise.
36498 * conform/data/utmpx.h-data: Likewise.
36499 * conform/data/varargs.h-data: Likewise.
36500 * conform/data/wchar.h-data: Likewise.
36501 * conform/data/wctype.h-data: Likewise.
36502 * conform/data/wordexp.h-data: Likewise.
36503
36504 * include/stropts.h: New file.
36505 * include/uchar.h: New file.
36506 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36507 * include/assert.h: Likewise.
36508 * include/ctype.h: Likewise.
36509 * include/dirent.h: Likewise.
36510 * include/dlfcn.h: Likewise.
36511 * include/fcntl.h: Likewise.
36512 * include/fnmatch.h: Likewise.
36513 * include/glob.h: Likewise.
36514 * include/grp.h: Likewise.
36515 * include/libio.h: Likewise.
36516 * include/locale.h: Likewise.
36517 * include/math.h: Likewise.
36518 * include/net/if.h: Likewise.
36519 * include/netdb.h: Likewise.
36520 * include/netinet/in.h: Likewise.
36521 * include/pthread.h: Likewise.
36522 * include/pwd.h: Likewise.
36523 * include/regex.h: Likewise.
36524 * include/sched.h: Likewise.
36525 * include/search.h: Likewise.
36526 * include/setjmp.h: Likewise.
36527 * include/signal.h: Likewise.
36528 * include/stdio.h: Likewise.
36529 * include/stdlib.h: Likewise.
36530 * include/string.h: Likewise.
36531 * include/sys/cdefs.h: Likewise.
36532 * include/sys/mman.h: Likewise.
36533 * include/sys/msg.h: Likewise.
36534 * include/sys/resource.h: Likewise.
36535 * include/sys/select.h: Likewise.
36536 * include/sys/socket.h: Likewise.
36537 * include/sys/stat.h: Likewise.
36538 * include/sys/statvfs.h: Likewise.
36539 * include/sys/time.h: Likewise.
36540 * include/sys/times.h: Likewise.
36541 * include/sys/uio.h: Likewise.
36542 * include/sys/utsname.h: Likewise.
36543 * include/sys/wait.h: Likewise.
36544 * include/termios.h: Likewise.
36545 * include/time.h: Likewise.
36546 * include/ulimit.h: Likewise.
36547 * include/unistd.h: Likewise.
36548 * include/utime.h: Likewise.
36549 * include/wchar.h: Likewise.
36550 * include/wctype.h: Likewise.
36551 * include/wordexp.h: Likewise.
36552
36553 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36554
36555 * time/time.h: TIME_UTC must be a macro.
36556 Make timespec_get available for ISO C11 only as well.
36557
36558 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36559
36560 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36561 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36562
36563 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36564
36565 * configure.in: Use -o not -a in test for unsupported multi-arch.
36566
36567 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36568
36569 * manual/texinfo.tex: Update to version 2012-01-19.16.
36570
36571 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36572
36573 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36574
36575 2012-02-24 Roland McGrath <roland@hack.frob.com>
36576
36577 [BZ #13738]
36578 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36579 * manual/fdl-1.3.texi: New file.
36580 * manual/fdl-1.1.texi: File removed.
36581
36582 [BZ #13738]
36583 * manual/libc.texinfo (FDL_VERSION): New @set.
36584 Use it for mention of FDL in cover text.
36585 (Documentation License): Use it in @include file name.
36586
36587 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36588 Roland McGrath <roland@hack.frob.com>
36589
36590 [BZ #5461]
36591 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36592 (not LONG_LONG_MAX and LONG_LONG_MIN.
36593 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36594 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36595 name.
36596 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36597
36598 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36599
36600 [BZ #2547]
36601 [BZ #11365]
36602 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36603 manipulate bits before adding and subtracting TWO23[sx].
36604 * math/libm-test.inc (nearbyint_test): Add more tests.
36605
36606 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36607
36608 [BZ #2548]
36609 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36610 bits before adding and subtracting TWO23[sx].
36611 * math/libm-test.inc (rint_test): Add more tests.
36612 (rint_test_tonearest): Likewise.
36613 (rint_test_towardzero): Likewise.
36614 (rint_test_downward): Likewise.
36615 (rint_test_upward: Likewise.
36616
36617 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36618
36619 [BZ #10110]
36620 * include/stdc-predef.h: New file. Extracted from features.h.
36621 * include/features.h: Include stdc-predef.h.
36622 * Makefile (headers): Add stdc-predef.h.
36623 * CONFORMANCE (Compiler limitations): Update.
36624
36625 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36626
36627 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36628
36629 2012-02-21 David S. Miller <davem@davemloft.net>
36630
36631 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36632 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36633
36634 2012-02-20 David S. Miller <davem@davemloft.net>
36635
36636 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36637 using a normal save/restore sequence, rather than allocating a
36638 dummy stack frame just to store a frame pointer and restore.
36639 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36640
36641 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36642
36643 * manual/install.texi: Fix stray word in line-wrapped comment.
36644
36645 2012-02-20 David S. Miller <davem@davemloft.net>
36646
36647 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36648 both binutils and gcc support GOTDATA.
36649
36650 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36651 "rd %pc" in the PIC register setup sequences.
36652
36653 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36654 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36655 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36656 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36657 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36658 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36659 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36660 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36662 (SYSCALL_ERROR_HANDLER): Likewise.
36663 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36664 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36665 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36666 (SYSCALL_ERROR_HANDLER): Likewise.
36667
36668 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36669 (HAVE_GCC_GOTDATA): New.
36670 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36671 relocation support in both binutils and gcc.
36672 * sysdeps/sparc/elf/configure: Regenerate.
36673
36674 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36675 * sysdeps/sparc/sparc32/elf/configure: Delete.
36676 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36677 * sysdeps/sparc/sparc64/elf/configure: Delete.
36678 * sysdeps/sparc/elf/configure.in: New file.
36679 * sysdeps/sparc/elf/configure: Generate.
36680
36681 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36682 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36683 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36684 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36685 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36686
36687 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36688
36689 * manual/install.texi: Do not mention specific glibc version
36690 numbers.
36691 * manual/libc.texinfo (VERSION, UPDATED): Update.
36692 (@copying): Use @copyright{} and range of years.
36693
36694 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36695
36696 [BZ #13695]
36697 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36698 [crti.S not in sysdirs] (generated): Do not append.
36699 [crti.S not in sysdirs] (omit-deps): Likewise.
36700 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36701 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36702 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36703 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36704 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36705 Likewise.
36706 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36707 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36708 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36709 * csu/defs.awk: Remove file.
36710 * sysdeps/generic/initfini.c: Likewise.
36711 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36712 variable.
36713 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36714 Likewise.
36715
36716 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36717
36718 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36719 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36720 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36721 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36722 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36723 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36724 <bits/epoll.h>.
36725 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36726 (__EPOLL_PACKED): Define to empty if not defined by
36727 <bits/epoll.h>.
36728 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36730 bits/epoll.h.
36731
36732 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36733
36734 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36735 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36736 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36737 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36738 <bits/timerfd.h>.
36739 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36741 bits/timerfd.h.
36742
36743 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36744
36745 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36746 in C locale.
36747 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36748 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36749 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36751
36752 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36753
36754 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36755 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36756
36757 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36758
36759 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36760 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36761 defined.
36762 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36763 Likewise.
36764 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36765 entry for 2.16.
36766
36767 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36768
36769 * math/w_acos.c: Use non-signaling floating-point comparisons.
36770 * math/w_acosf.c: Likewise.
36771 * math/w_acosh.c: Likewise.
36772 * math/w_acoshf.c: Likewise.
36773 * math/w_acoshl.c: Likewise.
36774 * math/w_acosl.c: Likewise.
36775 * math/w_asin.c: Likewise.
36776 * math/w_asinf.c: Likewise.
36777 * math/w_asinl.c: Likewise.
36778 * math/w_atanh.c: Likewise.
36779 * math/w_atanhf.c: Likewise.
36780 * math/w_atanhl.c: Likewise.
36781 * math/w_exp2.c: Likewise.
36782 * math/w_exp2f.c: Likewise.
36783 * math/w_exp2l.c: Likewise.
36784 * math/w_j0.c: Likewise.
36785 * math/w_j0f.c: Likewise.
36786 * math/w_j0l.c: Likewise.
36787 * math/w_j1.c: Likewise.
36788 * math/w_j1f.c: Likewise.
36789 * math/w_j1l.c: Likewise.
36790 * math/w_jn.c: Likewise.
36791 * math/w_jnf.c: Likewise.
36792 * math/w_log.c: Likewise.
36793 * math/w_log10.c: Likewise.
36794 * math/w_log10f.c: Likewise.
36795 * math/w_log10l.c: Likewise.
36796 * math/w_log2.c: Likewise.
36797 * math/w_log2f.c: Likewise.
36798 * math/w_log2l.c: Likewise.
36799 * math/w_logf.c: Likewise.
36800 * math/w_logl.c: Likewise.
36801 * math/w_sqrt.c: Likewise.
36802 * math/w_sqrtf.c: Likewise.
36803 * math/w_sqrtl.c: Likewise.
36804 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36806 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36807 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36808 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36809
36810 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36811
36812 [BZ #9739]
36813 * manual/string.texi (strnlen): Use correct parameter name in
36814 equivalent expression.
36815
36816 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36817
36818 [BZ #11174]
36819 * manual/users.texi (seteuid): Consistently use neweuid for
36820 argument name.
36821
36822 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36823
36824 [BZ #13704]
36825 * manual/nss.texi (Services in the NSS configuration): Correct
36826 list of services in example configuration file.
36827
36828 2012-02-19 Nick Bowler <nbowler@draconx.ca>
36829
36830 [BZ #11322]
36831 * manual/arith.texi: Remove statements about negative zero
36832 behaving identically to zero.
36833
36834 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36835
36836 [BZ #5993]
36837 * manual/install.texi: Do not document upgrading from libc5.
36838
36839 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36840
36841 [BZ #4596]
36842 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36843
36844 2012-02-18 David S. Miller <davem@davemloft.net>
36845
36846 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36847 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36848 %o7 across the call.
36849 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36850 instead.
36851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36852 SETUP_PIC_REG_LEAF.
36853 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36854 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36855 * sysdeps/sparc/crtn.S: Likewise.
36856
36857 2012-02-17 Ulrich Drepper <drepper@gmail.com>
36858
36859 * aout/Makefile: Remove.
36860
36861 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36862
36863 [BZ #13058]
36864 * manual/examples/argp-ex1.c (main): Format definition in GNU
36865 style.
36866 * manual/examples/argp-ex2.c (main): Likewise.
36867 * manual/examples/argp-ex3.c (main): Likewise.
36868 * manual/examples/argp-ex4.c (main): Likewise.
36869 * manual/examples/longopt.c (main): Use new-style prototype
36870 definition.
36871 * manual/examples/strncat.c (main): Specify return type and use
36872 (void) for arguments.
36873 * manual/examples/subopt.c (main): Use char **argv argument.
36874
36875 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36876
36877 [BZ #5077]
36878 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36879 rounding modes.
36880
36881 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36882
36883 [BZ #6907]
36884 * manual/string.texi (strchr): Change when strchrnul is
36885 recommended.
36886
36887 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36888
36889 [BZ #174]
36890 * manual/locale.texi (setlocale): Document LOCPATH.
36891
36892 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36893
36894 [BZ #10210]
36895 * manual/process.texi (execle): Move @dots{} before last argument.
36896
36897 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
36898
36899 [BZ #12047]
36900 * manual/charset.texi (Generic Charset Conversion): Fix typo
36901 (LC_TYPE -> LC_CTYPE).
36902
36903 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36904
36905 [BZ #5805]
36906 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36907 (scalbnf): Likewise.
36908 (scalbnl): Likewise.
36909 (scalbln): Likewise.
36910 (scalblnf): Likewise.
36911 (scalblnl): Likewise.
36912 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36913 (vwarnx): Likewise.
36914 (verr): Likewise.
36915 (verrx): Likewise.
36916 * manual/filesys.texi (telldir): Use braces around return type.
36917 * manual/llio.texi (mmap): Add space after comma.
36918 (mmap64): Likewise.
36919 * manual/math.texi (jn): Use @var{} on parameter names.
36920 (jnf): Likewise.
36921 (jnl): Likewise.
36922 (yn): Likewise.
36923 (ynf): Likewise.
36924 (ynl): Likewise.
36925 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36926 line.
36927 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36928 "...".
36929 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36930 (sched_get_priority_max): Likewise.
36931 * manual/signal.texi (sigvec): Add space after comma.
36932 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36933 names.
36934 (if_indextoname): Likewise.
36935 (if_freenameindex): Likewise.
36936 (sendto): Use ',' instead of '.' in prototype.
36937 * manual/startup.texi (syscall): Use @dots{} instead of literal
36938 "...".
36939 * manual/stdio.texi (__fpending): Separate initial words of
36940 paragraph from @deftypefun line.
36941 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36942 "...".
36943 (vsyslog): Use @var{} on parameter names.
36944 * manual/terminal.texi (stty): Use @var{} on parameter names.
36945 * manual/users.texi (getutmp): Use @var{} on parameter names.
36946 (getutmpx): Likewise.
36947
36948 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36949
36950 [BZ #6884]
36951 * manual/stdio.texi (fopen): Fix typos in description of
36952 ",ccs=STRING".
36953
36954 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36955
36956 [BZ #4026]
36957 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36958 get clock_id definition.
36959
36960 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
36961
36962 [BZ #4822]
36963 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36964 (madvise): Cast every argument to void on its own.
36965
36966 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36967
36968 [BZ #9902]
36969 * manual/startup.texi (Exit Status): Fix typo.
36970
36971 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36972
36973 [BZ #10140]
36974 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36975 * manual/examples/argp-ex2.c: Likewise.
36976 * manual/examples/argp-ex3.c: Likewise.
36977
36978 2012-02-16 Richard Henderson <rth@redhat.com>
36979
36980 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36981 * sysdeps/s390/s390-32/initfini.c: Remove.
36982 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36983 * sysdeps/s390/s390-64/initfini.c: Remove.
36984
36985 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36986
36987 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36988 compiler output for sysdeps/generic/initfini.c.
36989 * sysdeps/sh/elf/initfini.c: Remove file.
36990
36991 2012-02-16 David S. Miller <davem@davemloft.net>
36992
36993 [BZ #11494]
36994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36995
36996 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36997 * sysdeps/sparc/crti.S: New file.
36998 * sysdeps/sparc/crtn.S: New file.
36999 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37000 * sysdeps/sparc/sparc64/Makefile: Likewise.
37001
37002 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37003
37004 [BZ #3335]
37005 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37006
37007 2012-02-15 Roland McGrath <roland@hack.frob.com>
37008
37009 [BZ #4822]
37010 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37011
37012 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37013 (write, read, close): Likewise.
37014 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37015
37016 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37017
37018 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37019 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37020 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37021 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37022 <bits/signalfd.h>.
37023 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37025 bits/signalfd.h.
37026
37027 2012-02-14 Marek Polacek <polacek@redhat.com>
37028
37029 * sysdeps/x86_64/crti.S: New file.
37030 * sysdeps/x86_64/crtn.S: New file.
37031 * sysdeps/x86_64/elf/initfini.c: Remove file.
37032
37033 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37034
37035 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37036 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37037 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37038 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37039 <bits/inotify.h>.
37040 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37042 bits/inotify.h.
37043
37044 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37045
37046 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37047 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37048 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37049 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37050 <bits/eventfd.h>.
37051 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37053 bits/eventfd.h.
37054
37055 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37056
37057 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37058 __feraiseexcept instead of feraiseexcept.
37059
37060 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37061 nanosleep invocations.
37062 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37063 strings, and add error checking for a nanosleep invocations.
37064
37065 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37066
37067 Replace FSF snail mail address with URLs, as per GNU coding standards.
37068 Most of the snail mail addresses were wrong anyway, and omitting
37069 them makes the source code easier to maintain. Almost all of the
37070 changes are to license notices and to locale LC_IDENTIFICATION
37071 addresses, except for this one:
37072 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37073 not its snail mail address.
37074
37075 2012-02-09 Richard Henderson <rth@twiddle.net>
37076
37077 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37078 of kernel-features.h.
37079
37080 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37081
37082 2012-02-08 Marek Polacek <polacek@redhat.com>
37083
37084 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37085 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37086 * sysdeps/gnu/_G_config.h: Likewise.
37087 * sysdeps/generic/_G_config.h: Likewise.
37088
37089 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37090
37091 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37092 tests.
37093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37094
37095 * sysdeps/powerpc/powerpc32/crti.S: New file.
37096 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37097 * sysdeps/powerpc/powerpc64/crti.S: New file.
37098 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37099
37100 * Makeconfig (have-initfini): Don't set.
37101 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37102 * configure.in (nopic_initfini): Don't substitute.
37103 * config.h.in (HAVE_INITFINI): Don't #undef.
37104 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37105 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37106
37107 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37108
37109 Support crti.S and crtn.S provided directly by architectures.
37110 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37111 [crti.S in sysdirs] (omit-deps): Likewise.
37112 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37113 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37114 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37115 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37116 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37117 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37118 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37119 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37120 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37121 compiler output for sysdeps/generic/initfini.c.
37122 * sysdeps/i386/elf/Makefile: Remove file.
37123 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37124
37125 2012-02-07 Marek Polacek <polacek@redhat.com>
37126
37127 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37128 * sysdeps/gnu/_G_config.h: Likewise.
37129 * sysdeps/mach/hurd/_G_config.h: Likewise.
37130
37131 2012-02-07 Marek Polacek <polacek@redhat.com>
37132
37133 * math/Makefile (tests): Add tst-CMPLX2.
37134 * math/tst-CMPLX2.c: New file.
37135
37136 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37137
37138 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37139
37140 * math/libm-test.inc (jn_test): Add missing L suffix.
37141
37142 2012-02-06 Marek Polacek <polacek@redhat.com>
37143
37144 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37145 * sysdeps/i386/fpu/e_powf.S: Likewise.
37146 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37147 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37148 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37149 * sysdeps/i386/fpu/e_pow.S: Likewise.
37150 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37151 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37152 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37153 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37154 * sysdeps/i386/fpu/e_log2.S: Likewise.
37155 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37156 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37157 * sysdeps/i386/fpu/e_powl.S: Likewise.
37158 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37159 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37160 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37161 * sysdeps/i386/fpu/e_logl.S: Likewise.
37162 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37163 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37164 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37165 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37166 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37167 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37168 * sysdeps/i386/fpu/e_log.S: Likewise.
37169 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37170 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37171 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37172 * sysdeps/i386/fpu/e_logf.S: Likewise.
37173 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37174 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37175 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37176 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37177 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37178 * sysdeps/i386/fpu/e_log10.S: Likewise.
37179 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37180 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37181 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37182 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37183 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37184 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37185 * sysdeps/i386/asm-syntax.h: Likewise.
37186 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37187 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37188 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37189 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37190 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37191 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37192 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37193 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37194 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37195 * sysdeps/powerpc/sysdep.h: Likewise.
37196 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37197 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37198
37199 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37200
37201 [BZ #411]
37202 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37203
37204 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37205
37206 * sysdeps/i386/sysdep.h: Include <features.h>.
37207 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37208 version.
37209
37210 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37211
37212 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37213 Define.
37214 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37215 LOAD_PIC_REG_STR.
37216
37217 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37218
37219 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37220 (SETUP_PIC_REG): Use GET_PC_THUNK.
37221 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37222 macro.
37223
37224 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37225
37226 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37227 for non-PIC compilation.
37228 (SETUP_PIC_REG): Add .p2align directive.
37229 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37230 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37231 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37232 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37233 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37234 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37235 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37236 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37237 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37238 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37239 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37240 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37241 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37242 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37243 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37244 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37245 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37246 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37247 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37248 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37249 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37250 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37251 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37252 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37253 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37254 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37255 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37256 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37257 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37258 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37259 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37260 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37261 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37262 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37263 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37264 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37265 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37266 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37267 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37268 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37269 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37270
37271 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37272
37273 * math/tst-CMPLX.c: Include <stdio.h>.
37274
37275 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37276
37277 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37278 float.
37279 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37280 * sysdeps/sparc/bits/mathdef.h: Likewise.
37281
37282 2012-01-31 Marek Polacek <polacek@redhat.com>
37283
37284 * libio/libio.h: Don't define _PARAMS.
37285 * locale/programs/config.h: Don't define PARAMS.
37286 * stdlib/strtol_l.c: Likewise.
37287 (__strtol_l): Remove PARAMS from the prototype.
37288
37289 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37290
37291 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37292 names. Just use the correct names. Remove unnecessary wrapper
37293 functions.
37294 * malloc/arena.c: Likewise.
37295 * malloc/hooks.c: Likewise.
37296
37297 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37298 ARENA_TEST says not to. Simplify test for creation of a new arena.
37299 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37300
37301 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37302
37303 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37304 into tail calls.
37305 (update_get_addr): New function.
37306 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37307 GET_ADDR_MODULE parameter.
37308
37309 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37310
37311 * crypt/cert.c: Remove __STDC__ conditionals.
37312 * crypt/crypt-entry.c: Likewise.
37313 * crypt/crypt_util.c: Likewise.
37314 * libio/filedoalloc.c: Likewise.
37315 * libio/fileops.c: Likewise.
37316 * libio/genops.c: Likewise.
37317 * libio/iofclose.c: Likewise.
37318 * libio/iofdopen.c: Likewise.
37319 * libio/iofopen.c: Likewise.
37320 * libio/iofopen64.c: Likewise.
37321 * libio/iogetdelim.c: Likewise.
37322 * libio/iopopen.c: Likewise.
37323 * libio/obprintf.c: Likewise.
37324 * libio/oldfileops.c: Likewise.
37325 * libio/oldiofclose.c: Likewise.
37326 * libio/oldiofdopen.c: Likewise.
37327 * libio/oldiofopen.c: Likewise.
37328 * libio/oldiopopen.c: Likewise.
37329 * libio/wfiledoalloc.c: Likewise.
37330 * libio/wgenops.c: Likewise.
37331 * locale/programs/xmalloc.c: Likewise.
37332 * misc/syslog.c: Likewise.
37333 * stdio-common/xbug.c: Likewise.
37334 * string/memchr.c: Likewise.
37335 * string/memcmp.c: Likewise.
37336 * string/memrchr.c: Likewise.
37337 * string/rawmemchr.c: Likewise.
37338 * sysdeps/posix/getcwd.c: Likewise.
37339 * time/strftime_l.c: Likewise.
37340
37341 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37342
37343 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37344 * config.make.in (config-cflags-sse2avx): Define.
37345 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37346 Fix typo.
37347
37348 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37349
37350 * scripts/config.guess: Update from upstream config git repository.
37351 * scripts/config.sub: Likewise.
37352
37353 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37354
37355 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37356 (EM_NUM): Update.
37357 (R_TILEPRO_*, R_TILEGX_*): New macros.
37358
37359 * scripts/firstversions.awk: Fix bug in version range handling.
37360
37361 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37362
37363 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37364
37365 * include/sys/epoll.h: New file.
37366 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37367 libc_hidden_def.
37368
37369 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37370
37371 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37372 Avoid unnecessary __WORDSIZE == 64 test.
37373 (fmaxf): Use VEX format if possible.
37374 (fmax): Likewise.
37375 (fminf): Likewise.
37376 (fmin): Likewise.
37377
37378 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37379 * math/math_private.h: Remove libc_fegetround* and
37380 libc_fesetround*.
37381 * sysdeps/i386/configure.in: Check for -msse2avx.
37382 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37383 also if SSE2AVX is defined.
37384 Remove libc_fegetround* and libc_fesetround*.
37385 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37386 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37387 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37388 of HAS_YMM_USABLE.
37389 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37390 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37391 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37392 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37393 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37394
37395 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37396
37397 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37398
37399 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37400 size is not set.
37401 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37402
37403 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37404
37405 [BZ #13618]
37406 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37407 relocation.
37408 * Makeconfig (libm): Define.
37409 * elf/Makefile: Add rules to build and run tst-relsort1.
37410 * elf/tst-relsort1.c: New file.
37411 * elf/tst-relsort1mod1.c: New file.
37412 * elf/tst-relsort1mod2.c: New file.
37413
37414 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37415
37416 * math/s_ldexp.c: Remove __STDC__ conditionals.
37417 * math/s_ldexpf.c: Likewise.
37418 * math/s_ldexpl.c: Likewise.
37419 * math/s_nextafter.c: Likewise.
37420 * math/s_nexttowardf.c: Likewise.
37421 * math/s_significand.c: Likewise.
37422 * math/s_significandf.c: Likewise.
37423 * math/s_significandl.c: Likewise.
37424 * math/w_jnl.c: Likewise.
37425 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37426 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37427 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37428 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37429 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37430 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37431 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37432 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37433 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37434 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37435 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37436 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37437 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37438 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37439 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37440 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37441 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37442 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37443 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37444 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37445 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37446 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37447 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37448 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37449 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37450 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37451 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37452 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37453 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37454 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37455 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37456 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37457 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37458 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37459 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37460 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37461 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37462 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37463 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37464 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37465 * sysdeps/ieee754/k_standard.c: Likewise.
37466 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37467 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37468 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37469 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37470 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37471 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37472 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37473 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37474 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37475 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37476 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37477 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37478 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37479 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37480 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37481 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37482 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37483 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37484 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37485 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37486 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37487 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37488 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37489 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37490 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37491 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37492 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37493 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37494 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37495 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37496 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37497 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37498 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37499 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37500 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37501 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37502 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37503 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37504 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37505 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37506 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37507 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37508 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37509 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37510 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37511 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37512 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37513 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37514 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37515 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37516 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37517 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37518 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37519 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37520 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37521 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37522 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37523 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37524 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37525 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37526 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37527 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37528 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37529 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37530 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37531 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37532 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37533 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37534 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37535 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37536 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37537 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37538 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37539 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37540 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37541 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37542 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37543 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37544 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37545 * sysdeps/ieee754/s_matherr.c: Likewise.
37546 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37547 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37548 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37549 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37550
37551 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37552
37553 * crypt/md5.h: Remove __STDC__ conditionals.
37554 * libio/libioP.h: Likewise.
37555 * locale/programs/config.h: Likewise.
37556 * sysdeps/generic/sysdep.h: Likewise.
37557 * sysdeps/i386/asm-syntax.h: Likewise.
37558 * sysdeps/s390/asm-syntax.h: Likewise.
37559 * sysdeps/unix/sysdep.h: Likewise.
37560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37562
37563 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37564
37565 * libio/libio.h: Remove __STDC__ conditionals.
37566 * malloc/obstack.h: Likewise.
37567 * math/complex.h: Likewise.
37568 * math/math.h: Likewise.
37569 * sysdeps/generic/_G_config.h: Likewise.
37570 * sysdeps/gnu/_G_config.h: Likewise.
37571 * sysdeps/mach/hurd/_G_config.h: Likewise.
37572 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37573 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37574 * sysdeps/sparc/bits/mathdef.h: Likewise.
37575
37576 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37577
37578 [BZ #13583]
37579 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37580 Clean up HAS_* macros.
37581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37582 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37583 possible.
37584 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37585 HAS_AVX.
37586 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37587 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37588 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37589 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37590 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37591
37592 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37593
37594 * elf/tst-unique3.cc (gets): Remove declaration.
37595 * elf/tst-unique3lib.cc (gets): Likewise.
37596 * elf/tst-unique3lib2.cc (gets): Likewise.
37597 * elf/tst-unique4.cc (gets): Likewise.
37598
37599 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37600
37601 * include/stdio.h: Add C++ protection. Add gets declarations and
37602 definitions.
37603 * debug/tst-chk1.c: Don't declare gets here.
37604 * stdio-common/tst-gets.c: Likewise.
37605
37606 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37607
37608 * posix/glob: Remove directory.
37609
37610 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37611
37612 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37613
37614 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37615
37616 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37617 of the non-standard EPFNOSUPPORT.
37618
37619 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37620
37621 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37622 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37623 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37624
37625 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37626
37627 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37628
37629 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37630
37631 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37632 transient errors.
37633 * nscd/grpcache.c (cache_addgr): Likewise.
37634 * nscd/hstcache.c (cache_addhst): Likewise.
37635 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37636 * nscd/pwdcache.c (cache_addpw): Likewise.
37637 * nscd/servicescache.c (cache_addserv): Likewise.
37638
37639 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37640
37641 * malloc/malloc.c: Various cleanups.
37642 * malloc/hooks.c: Likewise.
37643
37644 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37645 * stdlib/bug-fmtmsg1.c: New file.
37646
37647 * stdlib/fmtmsg.c (init): Add missing unlock.
37648 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37649
37650 2012-01-12 Marek Polacek <polacek@redhat.com>
37651
37652 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37653 and _GNU_SOURCE.
37654
37655 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37656
37657 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37658 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37659 macro to ensure uniqueness of label name.
37660 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37661 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37662
37663 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37664
37665 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37666
37667 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37668 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37669 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37670 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37671
37672 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37673
37674 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37675
37676 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37677 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37678 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37679
37680 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37681
37682 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37683 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37684 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37686
37687 * math/bits/math-finite.h: Add ldexp support.
37688
37689 2012-01-10 Marek Polacek <polacek@redhat.com>
37690
37691 * locale/programs/localedef.h (show_archive_content): Add noreturn
37692 attribute.
37693
37694 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37695
37696 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37697
37698 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37699
37700 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37701
37702 * io/Makefile (headers): Add bits/poll2.h.
37703
37704 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37705
37706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37707 typo #include statement.
37708
37709 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37710
37711 * include/sys/cdefs.h: Define __attribute_alloc_size.
37712 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37713 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37714 * elf/pldd.c: Likewise.
37715 * iconv/iconv_charmap.c: Likewise.
37716 * iconv/iconvconfig.c: Likewise.
37717 * iconv/strtab.c: Likewise.
37718 * locale/programs/locale.c: Likewise.
37719 * locale/programs/localedef.h: Likewise.
37720 * locale/programs/simple-hash.c: Likewise.
37721 * nscd/nscd.h: Likewise.
37722 * nss/makedb.c: Likewise.
37723 * sysdeps/generic/ldconfig.h: Likewise.
37724 * locale/programs/localedef.c: Remove xmalloc prototype.
37725 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37726
37727 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37728
37729 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37730 appropriate.
37731
37732 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37733
37734 * math/Makefile (tests): Add tst-CMPLX.
37735 * math/tst-CMPLX.c: New file.
37736
37737 * math/complex.h (CMPLXL): Fix typo.
37738
37739 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37740 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37741 GLIBC_2.16.
37742 * debug/tst-chk1.c: Add poll and ppoll tests.
37743 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37744 * include/sys/poll.h: Add hidden proto for ppoll.
37745 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37746 * sysdeps/mach/hurd/ppoll.c: Likewise.
37747 * io/ppoll.c: Likewise.
37748 * debug/poll_chk.c: New file.
37749 * debug/ppoll_chk.c: New file.
37750 * include/bits/poll2.h: New file.
37751 * io/bits/poll2.h: New file.
37752
37753 [BZ #1350]
37754 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37755
37756 * configure.in: static is always set to yes. Remove.
37757 * config.make.in: Don't set build-static.
37758 * Makeconfig: Remove use of build-static.
37759 * dlfcn/Makefile: Likewise.
37760 * elf/Makefile: Likewise.
37761 * math/Makefile: Likewise.
37762 * misc/Makefile: Likewise.
37763 * nptl/Makefile: Likewise.
37764 * sysdeps/mach/hurd/Makefile: Likewise.
37765
37766 * configure.in: PWD_P is not used anymore.
37767 * config.make.in: Remove PWD_P entry.
37768
37769 * configure.in: Remove last remnants of RANLIB.
37770 No need to check for signed size_t anymore.
37771 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37772 and IA-64.
37773 Remove __builtin_expect test because we require at least gcc 3.4.
37774 * aclocal.m4: Likewise.
37775
37776 * wcsmbs/mbrtoc16.c: Implement using towc function.
37777 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37778 * wcsmbs/wcsmbsload.c: Likewise.
37779 * iconv/gconv_simple.c: Likewise.
37780 * iconv/gconv_int.h: Likewise.
37781 * iconv/gconv_builtin.h: Likewise.
37782 * iconv/iconv_prog.c: Remove CHAR16 handling.
37783
37784 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37785
37786 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37787
37788 * configure.in: Remove --with-elf and --enable-bounded options.
37789 Dont set base_machine for ia64. More non-ELF conditions removed.
37790 Remove testing and setting of leading underscore information.
37791 * config.make.in (build-bounded): Set to no.
37792 * config.h.in: Remove NO_UNDERSCORES entry.
37793 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37794 them.
37795 * csu/start.c: Remove !NO_UNDERSCORE code.
37796 * locale/localeinfo.h: Likewise.
37797 * sysdeps/generic/machine-gmon.h: Likewise.
37798 * sysdeps/generic/sysdep.h: Likewise.
37799 * sysdeps/i386/sysdep.h: Likewise.
37800 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37801 * sysdeps/mach/sysdep.h: Likewise.
37802 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37803 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37804 * sysdeps/sh/sysdep.h: Likewise.
37805 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37806 * sysdeps/unix/i386/sysdep.S: Likewise.
37807 * sysdeps/unix/sparc/start.c: Likewise.
37808 * sysdeps/unix/sparc/sysdep.S: Likewise.
37809 * sysdeps/unix/sparc/sysdep.h: Likewise.
37810 * sysdeps/unix/start.c: Likewise.
37811 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37812 * sysdeps/x86_64/sysdep.h: Likewise.
37813
37814 2012-01-07 Ulrich Drepper <drepper@gmail.com>
37815
37816 [BZ #13553]
37817 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37818 for non-gcc.
37819 * argp/argp-fmtstream.h: Use const instead __const.
37820 * argp/argp.h: Likewise.
37821 * assert/assert.h: Likewise.
37822 * bits/fenv.h: Likewise.
37823 * bits/sched.h: Likewise.
37824 * bits/sigset.h: Likewise.
37825 * bits/sigthread.h: Likewise.
37826 * catgets/nl_types.h: Likewise.
37827 * conform/data/pthread.h-data: Likewise.
37828 * crypt/crypt-private.h: Likewise.
37829 * crypt/crypt.h: Likewise.
37830 * crypt/crypt_util.c: Likewise.
37831 * ctype/ctype.h: Likewise.
37832 * debug/execinfo.h: Likewise.
37833 * debug/mbsnrtowcs_chk.c: Likewise.
37834 * debug/mbsrtowcs_chk.c: Likewise.
37835 * debug/wcsnrtombs_chk.c: Likewise.
37836 * debug/wcsrtombs_chk.c: Likewise.
37837 * debug/wcstombs_chk.c: Likewise.
37838 * dirent/dirent.h: Likewise.
37839 * dlfcn/dlfcn.h: Likewise.
37840 * elf/neededtest4.c: Likewise.
37841 * grp/grp.h: Likewise.
37842 * gshadow/gshadow.h: Likewise.
37843 * iconv/gconv.h: Likewise.
37844 * iconv/gconv_int.h: Likewise.
37845 * iconv/gconv_simple.c: Likewise.
37846 * iconv/iconv.h: Likewise.
37847 * iconv/loop.c: Likewise.
37848 * iconv/skeleton.c: Likewise.
37849 * include/aio.h: Likewise.
37850 * include/aliases.h: Likewise.
37851 * include/argz.h: Likewise.
37852 * include/arpa/inet.h: Likewise.
37853 * include/assert.h: Likewise.
37854 * include/dirent.h: Likewise.
37855 * include/dlfcn.h: Likewise.
37856 * include/execinfo.h: Likewise.
37857 * include/fcntl.h: Likewise.
37858 * include/fenv.h: Likewise.
37859 * include/glob.h: Likewise.
37860 * include/grp.h: Likewise.
37861 * include/libintl.h: Likewise.
37862 * include/mntent.h: Likewise.
37863 * include/netdb.h: Likewise.
37864 * include/pwd.h: Likewise.
37865 * include/rpc/netdb.h: Likewise.
37866 * include/sched.h: Likewise.
37867 * include/search.h: Likewise.
37868 * include/shadow.h: Likewise.
37869 * include/signal.h: Likewise.
37870 * include/stdio.h: Likewise.
37871 * include/stdlib.h: Likewise.
37872 * include/string.h: Likewise.
37873 * include/sys/socket.h: Likewise.
37874 * include/sys/stat.h: Likewise.
37875 * include/sys/statfs.h: Likewise.
37876 * include/sys/statvfs.h: Likewise.
37877 * include/sys/syslog.h: Likewise.
37878 * include/sys/time.h: Likewise.
37879 * include/sys/uio.h: Likewise.
37880 * include/time.h: Likewise.
37881 * include/unistd.h: Likewise.
37882 * include/utmp.h: Likewise.
37883 * include/wchar.h: Likewise.
37884 * include/wctype.h: Likewise.
37885 * inet/aliases.h: Likewise.
37886 * inet/arpa/inet.h: Likewise.
37887 * inet/netinet/ether.h: Likewise.
37888 * inet/netinet/in.h: Likewise.
37889 * intl/libintl.h: Likewise.
37890 * io/bits/fcntl2.h: Likewise.
37891 * io/fcntl.h: Likewise.
37892 * io/ftw.h: Likewise.
37893 * io/sys/poll.h: Likewise.
37894 * io/sys/stat.h: Likewise.
37895 * io/sys/statfs.h: Likewise.
37896 * io/sys/statvfs.h: Likewise.
37897 * io/utime.h: Likewise.
37898 * libio/bits/stdio.h: Likewise.
37899 * libio/bits/stdio2.h: Likewise.
37900 * libio/libio.h: Likewise.
37901 * libio/libioP.h: Likewise.
37902 * libio/stdio.h: Likewise.
37903 * locale/lc-ctype.c: Likewise.
37904 * locale/locale.h: Likewise.
37905 * login/utmp.h: Likewise.
37906 * malloc/arena.c: Likewise.
37907 * malloc/malloc.c: Likewise.
37908 * malloc/malloc.h: Likewise.
37909 * malloc/mcheck.c: Likewise.
37910 * malloc/mtrace.c: Likewise.
37911 * math/bits/mathcalls.h: Likewise.
37912 * math/fenv.h: Likewise.
37913 * math/math_private.h: Likewise.
37914 * misc/bits/error.h: Likewise.
37915 * misc/bits/syslog.h: Likewise.
37916 * misc/err.h: Likewise.
37917 * misc/error.h: Likewise.
37918 * misc/fstab.h: Likewise.
37919 * misc/mntent.h: Likewise.
37920 * misc/regexp.h: Likewise.
37921 * misc/search.h: Likewise.
37922 * misc/sgtty.h: Likewise.
37923 * misc/sys/mman.h: Likewise.
37924 * misc/sys/syslog.h: Likewise.
37925 * misc/sys/uio.h: Likewise.
37926 * misc/sys/xattr.h: Likewise.
37927 * misc/ttyent.h: Likewise.
37928 * nis/rpcsvc/ypclnt.h: Likewise.
37929 * nss/nss.h: Likewise.
37930 * posix/bits/unistd.h: Likewise.
37931 * posix/fnmatch.h: Likewise.
37932 * posix/glob.h: Likewise.
37933 * posix/sched.h: Likewise.
37934 * posix/spawn.h: Likewise.
37935 * posix/sys/wait.h: Likewise.
37936 * posix/unistd.h: Likewise.
37937 * posix/wordexp.h: Likewise.
37938 * pwd/pwd.h: Likewise.
37939 * resolv/netdb.h: Likewise.
37940 * resource/sys/resource.h: Likewise.
37941 * rt/aio.h: Likewise.
37942 * rt/bits/mqueue2.h: Likewise.
37943 * rt/mqueue.h: Likewise.
37944 * shadow/shadow.h: Likewise.
37945 * signal/signal.h: Likewise.
37946 * socket/send.c: Likewise.
37947 * socket/sendto.c: Likewise.
37948 * socket/sys/socket.h: Likewise.
37949 * stdio-common/printf.h: Likewise.
37950 * stdlib/bits/stdlib.h: Likewise.
37951 * stdlib/fmtmsg.h: Likewise.
37952 * stdlib/monetary.h: Likewise.
37953 * stdlib/stdlib.h: Likewise.
37954 * stdlib/ucontext.h: Likewise.
37955 * streams/stropts.h: Likewise.
37956 * string/argz.h: Likewise.
37957 * string/bits/string2.h: Likewise.
37958 * string/string.h: Likewise.
37959 * string/strings.h: Likewise.
37960 * sunrpc/rpc/auth.h: Likewise.
37961 * sunrpc/rpc/auth_des.h: Likewise.
37962 * sunrpc/rpc/clnt.h: Likewise.
37963 * sunrpc/rpc/netdb.h: Likewise.
37964 * sunrpc/rpc/pmap_clnt.h: Likewise.
37965 * sunrpc/rpc/xdr.h: Likewise.
37966 * sysdeps/generic/inttypes.h: Likewise.
37967 * sysdeps/generic/net/if.h: Likewise.
37968 * sysdeps/generic/sys/swap.h: Likewise.
37969 * sysdeps/gnu/net/if.h: Likewise.
37970 * sysdeps/gnu/utmpx.h: Likewise.
37971 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37972 * sysdeps/i386/i486/bits/string.h: Likewise.
37973 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37974 * sysdeps/s390/bits/string.h: Likewise.
37975 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37976 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37977 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37978 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37979 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37980 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37981 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37982 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37983 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37984 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37985 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37986 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37987 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37988 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37989 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37990 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37991 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37993 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37994 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37995 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37996 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37997 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37998 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37999 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38000 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38001 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38002 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38003 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38004 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38005 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38006 * sysvipc/sys/ipc.h: Likewise.
38007 * sysvipc/sys/msg.h: Likewise.
38008 * sysvipc/sys/sem.h: Likewise.
38009 * sysvipc/sys/shm.h: Likewise.
38010 * termios/termios.h: Likewise.
38011 * time/sys/time.h: Likewise.
38012 * time/time.h: Likewise.
38013 * wcsmbs/bits/wchar2.h: Likewise.
38014 * wcsmbs/uchar.h: Likewise.
38015 * wcsmbs/wchar.h: Likewise.
38016 * wctype/wctype.h: Likewise.
38017
38018 [BZ #13551]
38019 * Makeconfig: Remove all but ELF support including AIX support.
38020 * Makerules: Likewise.
38021 * config.h.in: Likewise.
38022 * config.make.in: Likewise.
38023 * configure: Likewise.
38024 * configure.in: Likewise.
38025 * csu/Makefile: Likewise.
38026 * csu/version.c: Likewise.
38027 * debug/Makefile: Likewise.
38028 * dlfcn/Makefile: Likewise.
38029 * elf/Makefile: Likewise.
38030 * extra-lib.mk: Likewise.
38031 * iconv/Makefile: Likewise.
38032 * include/libc-symbols.h: Likewise.
38033 * include/shlib-compat.h: Likewise.
38034 * resolv/Makefile: Likewise.
38035 * resolv/res_libc.c: Likewise.
38036 * rt/Makefile: Likewise.
38037 * sysdeps/i386/asm-syntax.h: Likewise.
38038 * sysdeps/i386/sysdep.h: Likewise.
38039 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38040 * sysdeps/mach/sysdep.h: Likewise.
38041 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38042 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38043 * sysdeps/s390/asm-syntax.h: Likewise.
38044 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38045 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38046 * sysdeps/sh/sysdep.h: Likewise.
38047 * sysdeps/unix/sparc/sysdep.h: Likewise.
38048 * sysdeps/wordsize-32/divdi3.c: Likewise.
38049 * sysdeps/x86_64/sysdep.h: Likewise.
38050
38051 * argp/Versions: Remove _argp_unlock_xxx.
38052
38053 [BZ #13559]
38054 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38055 * abilist/libBrokenLocale.abilist: Likewise.
38056 * abilist/libanl.abilist: Likewise.
38057 * abilist/libc.abilist: Likewise.
38058 * abilist/libcrypt.abilist: Likewise.
38059 * abilist/libdl.abilist: Likewise.
38060 * abilist/libm.abilist: Likewise.
38061 * abilist/libnsl.abilist: Likewise.
38062 * abilist/libpthread.abilist: Likewise.
38063 * abilist/libresolv.abilist: Likewise.
38064 * abilist/librt.abilist: Likewise.
38065 * abilist/libthread_db.abilist: Likewise.
38066 * abilist/libutil.abilist: Likewise.
38067 * abilist/libnss_db.abilist: New file.
38068
38069 * scripts/abilist.awk: Add support for indirect functions.
38070
38071 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38072
38073 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38074
38075 * shlib-versions: Remove entries for ports architectures.
38076
38077 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38078 files in ports.
38079 * elf/stackguard-macros.h: Remove support for IA-64.
38080 * elf/tst-auditmod1.c: Likewise.
38081 * sysdeps/generic/ldsodefs.h: Likewise.
38082
38083 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38084 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38085 configure files.
38086
38087 [BZ #13552]
38088 * configure.in: Remove --enable-omitfp support.
38089 * FAQ.in: Adjust.
38090 * config.make.in: Likewise.
38091 * Makeconfig: Likewise.
38092 * manual/install.texi: Likewise.
38093
38094 In case anyone cares, the IA-64 architecture could move to ports.
38095 * sysdeps/ia64/*: Removed.
38096 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38097 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38098
38099 [BZ #13555]
38100 * configure.in: Remove entries for unsupported architectures.
38101
38102 [BZ #13533]
38103 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38104 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38105 routines.
38106 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38107 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38108 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38109 fall back to using wcrtomb.
38110 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38111 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38112 renaming.
38113 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38114 * wcsmbs/tst-c16c32-1.c: New file.
38115
38116 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38117 local variable.
38118
38119 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38120
38121 * elf/tst-unique3.cc: Add explicit declaration of gets.
38122 * elf/tst-unique3lib.cc: Likewise.
38123 * elf/tst-unique3lib2.cc: Likewise.
38124 * elf/tst-unique4.cc: Likewise.
38125
38126 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38127
38128 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38129
38130 [BZ #13566]
38131 * assert/assert.h (static_assert): Don't define for C++.
38132 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38133 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38134
38135 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38136
38137 * iconv/loop.c (single loop): Fix assertion in storing of
38138 remaining bytes.
38139
38140 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38141
38142 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38143
38144 * posix/getconf.c: Update copyright year.
38145 * nss/getent.c: Likewise.
38146 * nss/makedb.c: Likewise.
38147 * iconv/iconvconfig.c: Likewise.
38148 * iconv/iconv_prog.c: Likewise.
38149 * elf/ldconfig.c: Likewise.
38150 * elf/pldd.c: Likewise.
38151 * elf/sotruss.ksh: Likewise.
38152 * catgets/gencat.c: Likewise.
38153 * csu/version.c: Likewise.
38154 * elf/ldd.bash.in: Likewise.
38155 * elf/sprof.c (print_version): Likewise.
38156 * locale/programs/locale.c: Likewise.
38157 * locale/programs/localedef.c: Likewise.
38158 * login/programs/pt_chown.c: Likewise.
38159 * nscd/nscd.c (print_version): Likewise.
38160 * debug/xtrace.sh: Likewise.
38161 * malloc/memusage.sh: Likewise.
38162 * malloc/mtrace.pl: Likewise.
38163 * debug/catchsegv.sh: Likewise.
38164
38165 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38166
38167 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38168 pure attribute.
38169
38170 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38171
38172 [BZ #13533]
38173 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38174 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38175 transformations.
38176 * iconv/gconv_int.h: Likewise.
38177 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38178 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38179 from libc for GLIBC_2.16.
38180 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38181 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38182 * wcsmbs/uchar.h: Really define mbstate_t.
38183 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38184 * wcsmbs/c16rtomb.c: New file.
38185 * wcsmbs/mbrtoc16.c: New file.
38186 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38187 for C/POSIX locale.
38188 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38189 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38190
38191 * wcsmbs/wchar.h: Add missing __restrict.
38192
38193 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38194
38195 [BZ #13532]
38196 * time/Makefile (routines): Add timespec_get.
38197 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38198 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38199 timespec for ISO C11.
38200 * time/timespec_get.c: New file.
38201 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38202 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38203
38204 [BZ #13531]
38205 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38206 * stdlib/stdlib.h: Declare aligned_alloc.
38207 * Versions.def: Add GLIBC_2.16 for libc.
38208 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38209
38210 [BZ 13527]
38211 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38212 ISO C11.
38213
38214 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38215 code.
38216
38217 [BZ #13528]
38218 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38219
38220 [BZ #13529]
38221 * assert/assert.h (static_assert): Define.
38222
38223 * version.h: Update for 2.16 development version.
38224
38225 [BZ #13526]
38226 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38227 _ISOC11_SOURCE.
38228
38229 * version.h (RELEASE): Bump for 2.15 release.
38230 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38231
38232 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38233 Patch by Marek Polacek <mpolacek@redhat.com>.
38234
38235 * bits/byteswap.h: Protect long long constants with __extension__.
38236 * sysdeps/i386/bits/byteswap.h: Likewise.
38237 * sysdeps/ia64/bits/byteswap.h: Likewise.
38238 * sysdeps/s390/bits/byteswap.h: Likewise.
38239 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38240
38241 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38242
38243 [BZ #13540]
38244 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38245 destination buffer.
38246 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38247
38248 2011-12-23 Marek Polacek <polacek@redhat.com>
38249
38250 * elf/dl-addr.c (determine_info): Add inline keyword.
38251 * elf/tst-auditmod4b.c (check_avx): Likewise.
38252 * elf/tst-auditmod6b.c (check_avx): Likewise.
38253 * elf/tst-auditmod6c.c (check_avx): Likewise.
38254 * elf/tst-auditmod7b.c (check_avx): Likewise.
38255
38256 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38257
38258 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38259 !__SSE_MATH__.
38260
38261 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38262
38263 [BZ #13540]
38264 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38265 processing for last bytes.
38266
38267 2011-08-06 Bruno Haible <bruno@clisp.org>
38268
38269 [BZ #13061]
38270 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38271 U+0385, not to U+1FEE.
38272
38273 [BZ #13062]
38274 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38275 entry for U+00A5 U+0301.
38276
38277 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38278
38279 [BZ #13166]
38280 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38281 buffer for the output is too small.
38282
38283 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38284 optimization.
38285
38286 [BZ #13185]
38287 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38288 SSE flags if possible.
38289
38290 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38291
38292 [BZ #13540]
38293 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38294 processing for last bytes.
38295
38296 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38297
38298 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38299 (syscall-list-default-options, syscall-list-default-condition)
38300 (syscall-list-includes): Define.
38301 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38302 list of ABIs and options and #if conditions for each ABI. Do not
38303 handle common syscalls between ABIs specially.
38304 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38305 Remove.
38306 (syscall-list-variants, syscall-list-32bit-options)
38307 (syscall-list-32bit-condition, syscall-list-64bit-options)
38308 (syscall-list-64bit-condition): Define.
38309 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38310 (syscall-list-variants, syscall-list-32bit-options)
38311 (syscall-list-32bit-condition, syscall-list-64bit-options)
38312 (syscall-list-64bit-condition): Define.
38313 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38314 Remove.
38315 (syscall-list-variants, syscall-list-32bit-options)
38316 (syscall-list-32bit-condition, syscall-list-64bit-options)
38317 (syscall-list-64bit-condition): Define.
38318 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38319 Remove.
38320 (syscall-list-variants, syscall-list-32bit-options)
38321 (syscall-list-32bit-condition, syscall-list-64bit-options)
38322 (syscall-list-64bit-condition): Define.
38323
38324 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38325
38326 * locale/iso-639.def: Add brx entry.
38327
38328 [BZ #13328]
38329 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38330 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38331
38332 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38333 __feraiseexcept_renamed.
38334
38335 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38336
38337 [BZ #13538]
38338 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38339 EPOLLET with unsigned values.
38340 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38341 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38342
38343 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38344 to large cancellation.
38345 * math/s_cacoshf.c: Likewise.
38346 * math/s_cacoshl.c: Likewise.
38347
38348 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38349
38350 [BZ #13305]
38351 [BZ #12786]
38352 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38353 * math/s_cacoshf.c: Likewise.
38354 * math/s_cacoshl.c: Likewise.
38355
38356 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38357
38358 [BZ #13439]
38359 * iconv/gconv.h: Define __GCONV_SWAP.
38360 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38361 * iconvdata/utf-16.c: Likewise.
38362 * iconvdata/utf-32.c: Likewise.
38363
38364 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38365
38366 [BZ #13524]
38367 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38368 numerator after shifting it by one limb.
38369
38370 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38371
38372 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38373 under [__USE_EXTERN_INLINES].
38374
38375 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38376
38377 [BZ #13446]
38378 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38379
38380 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38381
38382 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38383 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38384 optimized code.
38385 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38386 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38387 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38388 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38389 for strncasecmp/strncasecmp_l compilation.
38390 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38391 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38392
38393 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38394
38395 [BZ #13484]
38396 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38397 of __asm__.
38398
38399 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38400
38401 [BZ #13506]
38402 * time/tzfile.c (__tzfile_read): Check values from file header.
38403
38404 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38405
38406 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38407 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38408 * powerpc/powerpc32/dl-start.S: Likewise.
38409 * powerpc/powerpc32/elf/start.S: Likewise.
38410 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38411 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38412 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38413 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38414 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38415 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38416 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38417 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38418 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38419 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38420 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38421 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38422 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38423 * powerpc/powerpc32/memset.S: Likewise.
38424 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38425 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38426 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38427 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38428 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38429 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38430 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38431 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38432 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38433 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38434 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38435 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38436 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38437
38438 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38439
38440 * math/libm-test.inc: Added more nearbyint tests.
38441 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38442 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38443 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38444 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38445
38446 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38447
38448 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38449 FD_CLOEXEC.
38450
38451 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38452
38453 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38454 Add wcscpy-ssse3 wcscpy-c.
38455 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38456 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38457 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38458 * sysdeps/x86_64/wcschr.S: New file.
38459 * sysdeps/x86_64/wcsrchr.S: New file.
38460 * string/test-strcmp.c: Remove checking of wcscmp function for
38461 wrong alignments.
38462 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38463 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38464 wcsrchr-sse2 wcsrchr-c.
38465 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38466 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38467 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38468 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38469 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38470 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38471 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38472 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38473 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38474 * wcsmbc/wcschr.c (WCSCHR): New macro.
38475
38476 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38477
38478 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38479 * wcsmbs/test-wcsrchr.c: New file.
38480 * string/test-strrchr.c: Add wcsrchr support.
38481 (WIDE): New macro.
38482 * wcsmbs/test-wcscpy.c: New file.
38483 * string/test-strcpy.c: Add wcscpy support.
38484 (WIDE): New macro.
38485
38486 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38487
38488 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38489 the inner loop.
38490
38491 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38492
38493 [BZ #13472]
38494 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38495
38496 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38497
38498 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38499 Minor optimizations.
38500
38501 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38502 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38503 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38504
38505 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38506
38507 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38508 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38509 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38510 for gcc to avoid warnings.
38511 * inet/Makefile (tests): Add tst-checks.
38512 * inet/tst-checks.c: New file.
38513
38514 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38515 warning.
38516
38517 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38518 __wmemcmp_sse2.
38519
38520 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38521 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38522
38523 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38524
38525 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38526
38527 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38528 problem.
38529
38530 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38531
38532 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38533
38534 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38535 conditional on GCC version.
38536 (__arch_compare_and_exchange_val_8_acq)
38537 (__arch_compare_and_exchange_val_16_acq)
38538 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38539 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38540 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38541
38542 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38543
38544 * sysdeps/sh/backtrace.c: New file.
38545
38546 2011-12-02 Andreas Schwab <schwab@redhat.com>
38547
38548 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38549 parenthesis.
38550
38551 2011-12-01 Andreas Schwab <schwab@redhat.com>
38552
38553 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38554 falling back to utime.
38555
38556 2011-11-30 Andreas Schwab <schwab@redhat.com>
38557
38558 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38559 expectations for float.
38560
38561 2011-11-29 Andreas Schwab <schwab@redhat.com>
38562
38563 * locale/weight.h (findidx): Add parameter len.
38564 * locale/weightwc.h (findidx): Likewise.
38565 * posix/fnmatch_loop.c (FCT): Adjust caller.
38566 * posix/regcomp.c (build_equiv_class): Likewise.
38567 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38568 * posix/regexec.c (check_node_accept_bytes): Likewise.
38569 * string/strcoll_l.c (STRCOLL): Likewise.
38570 * string/strxfrm_l.c (STRXFRM): Likewise.
38571
38572 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38573
38574 * Makefile.in: Remove CVSOPT handling.
38575 * configure.in: Remove use of AC_REVISION.
38576 * iconvdata/Makefile (distribute): No need to filter out CVS.
38577 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38578 handling.
38579
38580 2011-11-16 Andreas Schwab <schwab@redhat.com>
38581
38582 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38583 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38584 [USE_AS_STRNCASECMP_L]: Likewise.
38585 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38586 NO_TLS_DIRECT_SEG_REFS.
38587 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38588 Fix argument offsets for non-PIC.
38589 [USE_AS_STRNCASECMP_L]: Likewise.
38590 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38591 NO_TLS_DIRECT_SEG_REFS.
38592
38593 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38594
38595 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38596 O_CLOEXEC.
38597 * locale/loadlocale.c (_nl_load_locale): Likewise.
38598
38599 2011-11-15 Andreas Schwab <schwab@redhat.com>
38600
38601 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38602 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38603 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38604 (SYSCALL_GETTIME): Set errno on error.
38605
38606 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38607 count references to noai6ai_cached.
38608
38609 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38610
38611 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38612
38613 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38614 FD_CLOEXEC for /proc/self/maps.
38615
38616 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38617 FD_CLOEXEC for /proc/meminfo.
38618
38619 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38620 gai.conf.
38621
38622 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38623 FD_CLOEXEC for given file.
38624
38625 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38626
38627 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38628 FD_CLOEXEC for /etc/hosts.
38629 (_gethtent): Likewise.
38630
38631 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38632
38633 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38634 cancellation and set FD_CLOEXEC for /etc/netgroup.
38635
38636 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38637 reading /etc/publickey.
38638
38639 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38640 allow cancellation when reading /etc/group.
38641
38642 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38643 cancellation.
38644 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38645
38646 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38647 when using data file.
38648
38649 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38650
38651 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38652 (write_nis_obj): Use "c" and "e" in fopen.
38653
38654 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38655
38656 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38657
38658 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38659
38660 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38661
38662 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38663 locale.alias.
38664
38665 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38666
38667 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38668
38669 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38670
38671 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38672 file parsing and set FD_CLOEXEC.
38673
38674 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38675
38676 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38677
38678 2011-11-14 Andreas Schwab <schwab@redhat.com>
38679
38680 * malloc/arena.c (arena_get2): Don't call reused_arena when
38681 _int_new_arena failed.
38682
38683 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38684
38685 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38686 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38687 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38688 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38689 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38690 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38691 to compile strcasecmp and strncasecmp.
38692 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38693 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38694
38695 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38696
38697 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38698
38699 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38700 locale-defines.sym to gen-as-const-headers.
38701 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38702 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38703 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38704 to compile strcasecmp and strncasecmp.
38705 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38706 strcasecmp_l and strncasecmp_l.
38707 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38708 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38709 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38710 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38711 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38712 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38713 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38714 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38715 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38716 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38717 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38718
38719 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38720
38721 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38722 result of SYSDEP_GETTIME_CPU to retval.
38723 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38724 parameter list to macro. Remove trailing semicolon. Adjust users.
38725
38726 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38727 variable.
38728
38729 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38730 mantissa words.
38731 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38732
38733 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38734 from unused variable.
38735
38736 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38737 DWARF definitions.
38738 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38739 for assembling.
38740
38741 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38742 over namespaces.
38743
38744 * sunrpc/rpc_prot.c (rejected): Fix case value.
38745
38746 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38747 unsigned long long int to avoid warnings in shift.
38748
38749 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38750 of use of trans.
38751 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38752 variable tmp.
38753
38754 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38755 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38756 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38757
38758 * nis/nis_table.c (nis_list): Use variable of correct type for
38759 result of __follow_path call.
38760
38761 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38762
38763 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38764 of math functions ceil, trunc, floor, round, and sqrt, when
38765 avaliable on the platform.
38766 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38767 name clash.
38768 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38769 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38770 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38771
38772 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38773
38774 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38775 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38776
38777 2011-11-11 Roland McGrath <roland@hack.frob.com>
38778
38779 * include/unistd.h: Fix __readlink return type.
38780 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38781
38782 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38783
38784 * stdlib/ucontext.h: Undo last change for makecontext.
38785
38786 2011-11-11 Andreas Schwab <schwab@redhat.com>
38787
38788 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38789
38790 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38791 * setjmp/setjmp.h: Mark functions as non-leaf.
38792 * setjmp/bits/setjmp2.h: Likewise.
38793 * stdlib/ucontext.h: Likewise.
38794
38795 2011-11-10 Andreas Schwab <schwab@redhat.com>
38796
38797 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38798 (reused_arena): Don't check arena limit.
38799 (arena_get2): Atomically check arena limit.
38800
38801 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38802
38803 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38804 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38805
38806 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38807 instructions.
38808
38809 2011-11-07 Andreas Schwab <schwab@redhat.com>
38810
38811 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38812 handler when locking.
38813
38814 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38815 Fix size of allocated buffer.
38816
38817 2011-11-04 Andreas Schwab <schwab@redhat.com>
38818
38819 [BZ #10103]
38820 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38821 declarations for long double functions.
38822 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38823
38824 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38825
38826 2011-11-03 Andreas Schwab <schwab@redhat.com>
38827
38828 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38829 installed.
38830
38831 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38832 is disabled.
38833
38834 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38835
38836 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38837
38838 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38839
38840 * include/alloca.h (stackinfo_alloca_round): Define.
38841 (extend_alloca): Use it.
38842 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38843 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38844 here.
38845
38846 * scripts/check-local-headers.sh: Ignore libaudit.h.
38847
38848 * nscd/Makefile (extra-objs): Make recursively expanded.
38849
38850 2011-11-01 Ulrich Drepper <drepper@gmail.com>
38851
38852 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38853 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38854
38855 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38856 * posix/tst-rfc3484-2.c: Likewise.
38857 * posix/tst-rfc3484-3.c: Likewise.
38858
38859 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38860 process_vm_writev.
38861 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38862 process_vm_writev.
38863 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38864 process_vm_writev from libc using GLIBC_2.15 version.
38865
38866 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38867
38868 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38869
38870 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38871 stack usage.
38872
38873 2011-10-31 Ulrich Drepper <drepper@gmail.com>
38874
38875 [BZ #13367]
38876 * nss/getent.c (initgroups_keys): Show error message in case no group
38877 names are given.
38878
38879 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38880 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38881 __bump_nl_timestamp.
38882 * nscd/connections (nscd_init): When host database is served open
38883 netlink socket and request notification about configuration changes.
38884 (main_loop_poll): Track netlink file descriptor and bump timestamp
38885 in case data becomes available.
38886 (main_loop_epoll): Likewise.
38887 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38888 (database_pers_head): Add extra_data fileds.
38889 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38890 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38891 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38892 Adjust caller.
38893 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38894 in6ai data, call __free_in6ai.
38895 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38896 Add -DHAVE_NETLINK.
38897 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38898 interface information. Reuse previous data if netlink timestamp
38899 is not changed.
38900 (__bump_nl_timestamp): New function.
38901 (__free_in6ai): New function.
38902
38903 2011-10-30 Ulrich Drepper <drepper@gmail.com>
38904
38905 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38906 close_not_cancel_no_status here.
38907 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38908
38909 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38910
38911 [BZ #13276]
38912 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38913 return value.
38914
38915 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38916 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38917 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38918
38919 2011-07-03 Andreas Jaeger <aj@suse.de>
38920
38921 [BZ #10709]
38922 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38923 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38924 * math/libm-test.inc (sin_test): Add test case.
38925
38926 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38927
38928 [BZ #13337]
38929 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38930 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38931
38932 * elf/chroot_canon.c (chroot_canon): Cleanups.
38933
38934 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38935
38936 [BZ #13335]
38937 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38938 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38939
38940 * string/test-strchr.c: Make usable for strchrnul testing.
38941 * string/test-strchrnul.c: New file.
38942 * string/Makefile (strop-tests): Add strchrnul.
38943
38944 * po/it.po: Update from translation team.
38945 * po/es.po: Likewise.
38946
38947 2011-10-28 Ulrich Drepper <drepper@gmail.com>
38948
38949 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38950 the three constants needed as parameters. Drop the others.
38951 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38952 __m128i_strloadu_tolower.
38953 Create and initialize variable zero and use it in all the places
38954 where _mm_setzero_si128 was used.
38955
38956 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38957 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38958 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38959 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38960 anymore.
38961 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38962 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38963 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38964 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38965 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38966 __mpranred, __mptan.
38967 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38968 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38969 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38970 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38971 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38972 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38973 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38974 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38975 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38976
38977 2011-10-28 Andreas Schwab <schwab@redhat.com>
38978
38979 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38980 redefine if SHARED.
38981 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38982
38983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38984 wide char related routines to wcsmbs subdir.
38985
38986 2011-10-27 Andreas Schwab <schwab@redhat.com>
38987
38988 [BZ #13344]
38989 * misc/sys/cdefs.h (__THROWNL): Define.
38990 * posix/unistd.h: Use __THREADNL instead of __THREAD
38991 for memory synchronization functions.
38992
38993 2011-10-26 Roland McGrath <roland@hack.frob.com>
38994
38995 [BZ #13349]
38996 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38997 doesn't exist.
38998 * manual/stdio.texi (Obstack Streams): Node removed.
38999
39000 2011-10-26 Andreas Schwab <schwab@redhat.com>
39001
39002 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39003 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39004 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39005
39006 * math/math_private.h (math_force_eval): Allow non-addressable
39007 arguments.
39008 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39009
39010 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39011
39012 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39013 file is not needed.
39014
39015 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39016 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39017 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39018 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39019 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39020 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39021 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39022 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39023 Add AVX variants.
39024 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39025 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39026 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39027 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39028 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39029 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39030 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39031 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39032 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39033 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39034 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39035 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39036 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39037 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39038 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39039 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39040 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39041 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39042 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39043
39044 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39045 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39046
39047 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39048 place. Use VEX encoding when compiling for AVX.
39049
39050 2011-10-25 Andreas Schwab <schwab@redhat.com>
39051
39052 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39053 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39054
39055 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39056
39057 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39058
39059 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39060 useless if() expression.
39061 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39062 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39063 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39064 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39065 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39066 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39067 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39068 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39069 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39070 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39071 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39072 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39073 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39074 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39075 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39076 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39077 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39078 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39079 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39080
39081 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39082
39083 2011-10-25 Andreas Schwab <schwab@redhat.com>
39084
39085 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39086 condition.
39087 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39088
39089 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39090
39091 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39092 .text section. Avoid duplicate constants.
39093 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39094 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39095 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39096 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39097 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39098 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39099 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39100 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39101 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39102 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39103 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39104 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39105 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39106 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39107 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39108 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39109 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39110 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39111 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39112 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39113 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39114 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39115 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39116 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39117 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39118 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39119 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39120 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39121 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39122 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39123 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39124 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39125 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39126 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39127 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39128 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39129 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39130 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39131 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39132 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39133 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39134 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39135 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39136 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39137 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39138
39139 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39140
39141 * sysdeps/x86_64/dla.h: Move to ...
39142 * sysdeps/x86_64/fpu/dla.h: ...here.
39143 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39144 situations. Use __builtin_fma only for gcc 4.6 and up.
39145
39146 * config.make.in: Add have-mfma4 entry.
39147 * configure.in: Substitute libc_cv_cc_fma4.
39148 * math/Makefile (dbl-only-routines): Add sincostab.
39149 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39150 Use __sincostab not sincos.
39151 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39152 name is a macro.
39153 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39156 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39157 using __copysign.
39158 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39159 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39160 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39161 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39162 and __inv.
39163 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39164 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39165 __copysign.
39166 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39167 define aliases when function name is a macro.
39168 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39169 sysdeps/ieee754/dbl-64/sincos.tbl.
39170 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39171 fma4-enabled routines.
39172 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39173 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39174 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39175 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39176 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39177 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39178 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39179 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39180 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39181 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39182 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39183 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39184 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39185 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39186 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39187 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39188 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39189 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39190 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39191 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39192 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39193 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39194 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39195 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39196 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39197 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39198 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39199 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39200 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39201 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39202
39203 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39204 rename.
39205 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39206 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39207 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39208 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39209 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39211 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39212 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39213
39214 2011-10-24 Andreas Schwab <schwab@redhat.com>
39215
39216 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39217
39218 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39219
39220 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39221
39222 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39223 prediction.
39224 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39225
39226 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39227 Remove unused variable magic_bits.
39228 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39229
39230 * string/strnlen.c: Define and use STRNLEN macro.
39231 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39232 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39233 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39234 * wcsmbs/wcslen.c: Define and use WCSLEN.
39235 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39236 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39237 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39238 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39239 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39240 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39241 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39242
39243 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39244
39245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39246 strnlen-sse2-no-bsf.
39247 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39248 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39249 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39250 Add strnlen support.
39251 (USE_AS_STRNLEN): New macro.
39252 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39253 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39254 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39255 * sysdeps/x86_64/wcslen.S: New file.
39256
39257 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39258
39259 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39260 XMM-moves are used for copying on small sizes.
39261
39262 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39263
39264 * wcsmbs/Makefile (strop-tests): Add wcschr.
39265 * wcsmbs/test-wcschr.c: New file.
39266 * string/test-strchr.c: Update.
39267 Add wcschr support.
39268 (WIDE): New macro.
39269
39270 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39271
39272 * wcsmbs/Makefile (strop-tests): Add wcslen.
39273 * wcsmbs/test-wcslen.c: New file.
39274 * string/test-strlen.c: Update.
39275 Add wcslen support.
39276 (WIDE): New macro.
39277
39278 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39279
39280 * po/it.po: Update from translation team.
39281
39282 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39283
39284 * sysdeps/x86_64/wcscmp.S: Update.
39285 Fix wrong comparison semantics.
39286 wcscmp shall use signed comparison not unsigned.
39287 Don't use substraction to avoid overflow bug.
39288 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39289 * wcsmbc/wcscmp.c: Likewise.
39290 * string/test-strcmp.c: Likewise.
39291 Add new tests to check cases with negative values.
39292
39293 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39294
39295 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39296 * sysdeps/x86_64/dla.h: ...here. New file.
39297 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39300 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39302 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39303 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39304 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39306
39307 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39308
39309 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39310 __ynl_finite aliases.
39311
39312 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39313
39314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39315
39316 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39317 define DLA_FMA.
39318 [DLA_FMA] (EMULV): Use DLA_FMA.
39319 [DLA_FMA] (MUL12): Use EMULV.
39320 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39321 that are not needed.
39322 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39324 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39325 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39326 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39327 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39328 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39329
39330 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39331
39332 * math/s_nan.c: Undef __nan.
39333 * math/s_nanf.c: Undef __nanf.
39334 * math/s_nanl.c: Undef __nanl.
39335 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39336 "math_private.h".
39337
39338 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39339
39340 * math/s_catan.c: Add branch predictions.
39341 * math/s_catanf.c: Likewise.
39342 * math/s_catanh.c: Likewise.
39343 * math/s_catanhf.c: Likewise.
39344 * math/s_catanhl.c: Likewise.
39345 * math/s_catanl.c: Likewise.
39346 * math/s_cexp.c: Likewise.
39347 * math/s_cexpf.c: Likewise.
39348 * math/s_cexpl.c: Likewise.
39349 * math/s_clog.c: Likewise.
39350 * math/s_clog10.c: Likewise.
39351 * math/s_clog10f.c: Likewise.
39352 * math/s_clog10l.c: Likewise.
39353 * math/s_clogf.c: Likewise.
39354 * math/s_clogl.c: Likewise.
39355 * math/s_csqrt.c: Likewise.
39356 * math/s_csqrtf.c: Likewise.
39357 * math/s_csqrtl.c: Likewise.
39358 * math/s_ctanf.c: Likewise.
39359 * math/s_ctanh.c: Likewise.
39360 * math/s_ctanhf.c: Likewise.
39361 * math/s_ctanhl.c: Likewise.
39362 * math/s_ctanl.c: Likewise.
39363
39364 * math/math_private.h: Define __nan, __nanf, __nanl.
39365 * math/s_cacosh.c: Include <math_private.h>.
39366 * math/s_cacoshl.c: Likewise.
39367 * math/s_casinh.c: Likewise.
39368 * math/s_casinhf.c: Likewise.
39369 * math/s_casinhl.c: Likewise.
39370 * math/s_ccos.c: Rely entire on ccosh.
39371 * math/s_ccosf.c: Rely entire on ccoshf.
39372 * math/s_ccosl.c: Rely entirely on ccoshl.
39373 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39374 Remove tests for FE_INVALID.
39375 * math/s_ccoshf.c: Likewise.
39376 * math/s_ccoshl.c: Likewise.
39377 * math/s_csin.c: Likewise.
39378 * math/s_csinf.c: Likewise.
39379 * math/s_csinh.c Likewise.
39380 * math/s_csinhf.c: Likewise.
39381 * math/s_csinhl.c: Likewise.
39382 * math/s_csinl.c: Likewise.
39383 * math/s_ctan.c: Likewise.
39384 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39385 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39386 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39387
39388 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39389
39390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39391 compilation problems.
39392
39393 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39394 __builtin_expect.
39395
39396 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39397
39398 * sysdeps/i386/configure.in: Test for -mfma4 option.
39399 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39400 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39401 COMMON_CPUID_INDEX_80000001.
39402 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39403 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39404 use it if FMA3 is not supported.
39405 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39406
39407 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39408 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39409
39410 2011-10-20 Andreas Schwab <schwab@redhat.com>
39411
39412 [BZ #12892]
39413 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39414 it would create a cycle with a link time dependency.
39415
39416 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39417
39418 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39419 instruction.
39420 * string/Makefile (strop-tests): Add rawmemchr.
39421 * string/test-rawmemchr.c: New file.
39422
39423 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39424 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39425 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39426 when compiling str{,n}casecmp and when AVX is available. Hook up
39427 new optimized code in initializers.
39428
39429 2011-10-19 Andreas Schwab <schwab@redhat.com>
39430
39431 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39432 __feraiseexcept instead of feraiseexcept.
39433
39434 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39435
39436 * math/math_private.h: Define defaults for libc_fetestexcept and
39437 libc_feupdateenv.
39438 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39439 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39440 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39441 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39442 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39443 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39444 libc_fetestexcept and libc_feupdateenv.
39445
39446 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39447 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39448 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39449 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39450 libc_feholdexcept_setround.
39451
39452 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39453 Add s_nearbyint-c and s_nearbyintf-c.
39454 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39455 nearbyintf inlines.
39456 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39457 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39458 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39459 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39460
39461 * math/math_private.h: Define defaults for libc_fegetround,
39462 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39463 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39464 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39465 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39466 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39467 standard functions.
39468 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39469 Remove comments and hacks for old compiler versions.
39470 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39471 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39472 libc_feholdexceptl.
39473
39474 2011-10-18 Andreas Schwab <schwab@redhat.com>
39475
39476 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39477 (__feraiseexcept_renamed): Add __NTH.
39478 (feraiseexcept): Add __NTH. Rename local variables to fix
39479 namespace violations.
39480
39481 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39482
39483 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39484
39485 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39486
39487 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39488 recently added interfaces.
39489 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39490
39491 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39492 about macro parameter expansion.
39493
39494 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39495 __NO_MATH_INLINES is defined. Cleanups.
39496
39497 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39498 and __floorf is target has SSE4.1.
39499 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39500 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39501 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39502 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39503
39504 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39505 name.
39506 (floorf): Likewise.
39507
39508 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39509
39510 2011-10-17 Andreas Schwab <schwab@redhat.com>
39511
39512 * misc/sys/cdefs.h: Fix last change.
39513
39514 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39515 database lookup.
39516
39517 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39518
39519 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39520
39521 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39522 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39523 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39524 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39525 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39526 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39527 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39528 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39529 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39530 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39531 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39532 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39533 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39534 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39535 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39536 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39537 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39538 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39539 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39540 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39541 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39542 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39543
39544 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39545 ceil, ceilf, floor, floorf.
39546
39547 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39548 Perform IRELATIVE relocations last.
39549
39550 * elf/do-rel.h: Add another parameter nrelative, replacing the
39551 local variable with the same name. Change name of the function
39552 to end in Rel or Rela (uppercase).
39553 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39554 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39555 elf_dynamic_do_##reloc function.
39556
39557 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39558
39559 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39560 is sufficient, at least on modern CPUs.
39561
39562 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39563
39564 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39565 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39566
39567 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39568 __expl_finite.
39569 * math/bits/math-finite.h: Add entries for exp.
39570 * math/e_expl.c: Add __*_finite alias.
39571 * sysdeps/i386/fpu/e_exp.S: Likewise.
39572 * sysdeps/i386/fpu/e_expf.S: Likewise.
39573 * sysdeps/i386/fpu/e_expl.c: Likewise.
39574 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39575 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39576 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39577 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39578 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39579 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39580 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39581
39582 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39583 is sufficient, at least on modern CPUs.
39584
39585 * ctype/ctype-info.c (__ctype_init): Define.
39586 * include/ctype.h (__ctype_init): Declare.
39587 (__ctype_b_loc): The variable is always initialized.
39588 (__ctype_toupper_loc): Likewise.
39589 (__ctype_tolower_loc): Likewise.
39590 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39591 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39592
39593 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39594
39595 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39596
39597 * configure.in: Also look in $cxxmachine/include for C++ system
39598 headers.
39599
39600 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39601
39602 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39603 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39604 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39605 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39606 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39607 (USE_AS_WMEMCMP): New macro.
39608 Fixing indents.
39609 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39610 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39611 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39612 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39613 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39614 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39615 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39616 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39617 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39618 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39619 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39620 (USE_AS_WMEMCMP): New macro.
39621 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39622 * sysdeps/string/test-memcmp.c: Update.
39623 Fix simple_wmemcmp.
39624 Add new tests.
39625 * wcsmbs/wmemcmp.c: Update.
39626 (WMEMCMP): New macro.
39627 Fix overflow bug.
39628
39629 2011-10-12 Andreas Jaeger <aj@suse.de>
39630
39631 [BZ #13268]
39632 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39633
39634 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39635
39636 * libio/iofwide.c (do_length): Avoid warning.
39637
39638 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39639
39640 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39641
39642 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39643
39644 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39645 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39646 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39647 * sysdeps/i386/i686/fpu/e_log.S: New file.
39648 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39649 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39650
39651 * ctype/ctype.h: Add support for inlined isXXX functions when
39652 compiling C++ code.
39653
39654 2011-10-14 Andreas Schwab <schwab@redhat.com>
39655
39656 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39657
39658 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39659
39660 2011-10-13 Roland McGrath <roland@hack.frob.com>
39661
39662 [BZ #13291]
39663 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39664
39665 2011-10-13 Andreas Schwab <schwab@redhat.com>
39666
39667 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39668 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39669 feraiseexcept.
39670
39671 * sysdeps/x86_64/memrchr.S: Check for zero size.
39672
39673 * string/stratcliff.c: Add memrchr tests.
39674
39675 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39676
39677 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39678 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39679 rawmemchr-sse2 rawmemchr-sse2-bsf.
39680 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39681 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39682 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39683 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39684 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39685 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39686 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39687 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39688 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39689 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39690 * string/memrchr.c (MEMRCHR): New macro.
39691
39692 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39693
39694 Add integration with gcc's -ffinite-math-only and optimize wrapper
39695 functions in libm.
39696 * Versions.def: Define GLIBC_2.15 version for libm.
39697 * math/Makefile (headers): Add bits/math-finite.h.
39698 * math/bits/math-finite.h: New file.
39699 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39700 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39701 * math/e_acoshl.c: Add __*_finite alias.
39702 * math/e_acosl.c: Likewise.
39703 * math/e_asinl.c: Likewise.
39704 * math/e_atan2l.c: Likewise.
39705 * math/e_atanhl.c: Likewise.
39706 * math/e_coshl.c: Likewise.
39707 * math/e_exp10.c: Likewise.
39708 * math/e_exp10f.c: Likewise.
39709 * math/e_exp10l.c: Likewise.
39710 * math/e_exp2l.c: Likewise.
39711 * math/e_fmodl.c: Likewise.
39712 * math/e_gammal_r.c: Likewise.
39713 * math/e_hypotl.c: Likewise.
39714 * math/e_j0l.c: Likewise.
39715 * math/e_j1l.c: Likewise.
39716 * math/e_jnl.c: Likewise.
39717 * math/e_lgammal_r.c: Likewise.
39718 * math/e_log10l.c: Likewise.
39719 * math/e_log2l.c: Likewise.
39720 * math/e_logl.c: Likewise.
39721 * math/e_powl.c: Likewise.
39722 * math/e_sinhl.c: Likewise.
39723 * math/e_sqrtl.c: Likewise.
39724 * math/e_scalb.c: Completely rewritten and optimized.
39725 * math/e_scalbf.c: Likewise.
39726 * math/e_scalbl.c: Likewise.
39727 * math/w_acos.c: Likewise.
39728 * math/w_acosf.c: Likewise.
39729 * math/w_acosl.c: Likewise.
39730 * math/w_acosh.c: Likewise.
39731 * math/w_acoshf.c: Likewise.
39732 * math/w_acoshl.c: Likewise.
39733 * math/w_asin.c: Likewise.
39734 * math/w_asinf.c: Likewise.
39735 * math/w_asinl.c: Likewise.
39736 * math/w_atan2.c: Likewise.
39737 * math/w_atan2f.c: Likewise.
39738 * math/w_atan2l.c: Likewise.
39739 * math/w_atanh.c: Likewise.
39740 * math/w_atanhf.c: Likewise.
39741 * math/w_atanhl.c: Likewise.
39742 * math/w_exp10.c: Likewise.
39743 * math/w_exp10f.c: Likewise.
39744 * math/w_exp10l.c: Likewise.
39745 * math/w_fmod.c: Likewise.
39746 * math/w_fmodf.c: Likewise.
39747 * math/w_fmodl.c: Likewise.
39748 * math/w_j0.c: Likewise.
39749 * math/w_j0f.c: Likewise.
39750 * math/w_j0l.c: Likewise.
39751 * math/w_j1.c: Likewise.
39752 * math/w_j1f.c: Likewise.
39753 * math/w_j1l.c: Likewise.
39754 * math/w_jn.c: Likewise.
39755 * math/w_jnf.c: Likewise.
39756 * math/w_log.c: Likewise.
39757 * math/w_logf.c: Likewise.
39758 * math/w_logl.c: Likewise.
39759 * math/w_log10.c: Likewise.
39760 * math/w_log10f.c: Likewise.
39761 * math/w_log10l.c: Likewise.
39762 * math/w_log2.c: Likewise.
39763 * math/w_log2f.c: Likewise.
39764 * math/w_log2l.c: Likewise.
39765 * math/w_pow.c: Likewise.
39766 * math/w_powf.c: Likewise.
39767 * math/w_powl.c: Likewise.
39768 * math/w_remainder.c: Likewise.
39769 * math/w_remainderf.c: Likewise.
39770 * math/w_remainderl.c: Likewise.
39771 * math/w_scalb.c: Likewise.
39772 * math/w_scalbf.c: Likewise.
39773 * math/w_scalbl.c: Likewise.
39774 * math/w_sqrt.c: Likewise.
39775 * math/w_sqrtf.c: Likewise.
39776 * math/w_sqrtl.c: Likewise.
39777 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39778 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39779 used.
39780 * math/math_private.h: Declare __kernel_standard_f.
39781 * math/w_cosh.c: Remove cruft and optimize a bit.
39782 * math/w_coshf.c: Likewise.
39783 * math/w_coshl.c: Likewise.
39784 * math/w_exp2.c: Likewise.
39785 * math/w_exp2f.c: Likewise.
39786 * math/w_exp2l.c: Likewise.
39787 * math/w_hypot.c: Likewise.
39788 * math/w_hypotf.c: Likewise.
39789 * math/w_hypotl.c: Likewise.
39790 * math/w_lgamma.c: Likewise.
39791 * math/w_lgamma_r.c: Likewise.
39792 * math/w_lgammaf.c: Likewise.
39793 * math/w_lgammaf_r.c: Likewise.
39794 * math/w_lgammal.c: Likewise.
39795 * math/w_lgammal_r.c: Likewise.
39796 * math/w_sinh.c: Likewise.
39797 * math/w_sinhf.c: Likewise.
39798 * math/w_sinhl.c: Likewise.
39799 * math/w_tgamma.c: Likewise.
39800 * math/w_tgammaf.c: Likewise.
39801 * math/w_tgammal.c: Likewise.
39802 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39803 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39804 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39805 Minor optimizations. Pretty printing. Remove cruft.
39806 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39807 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39808 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39809 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39810 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39811 * sysdeps/i386/fpu/e_asin.S: Likewise.
39812 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39813 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39814 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39815 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39816 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39817 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39818 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39819 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39820 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39821 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39822 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39823 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39824 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39825 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39826 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39827 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39828 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39829 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39830 * sysdeps/i386/fpu/e_log.S: Likewise.
39831 * sysdeps/i386/fpu/e_log10.S: Likewise.
39832 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39833 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39834 * sysdeps/i386/fpu/e_log2.S: Likewise.
39835 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39836 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39837 * sysdeps/i386/fpu/e_logf.S: Likewise.
39838 * sysdeps/i386/fpu/e_logl.S: Likewise.
39839 * sysdeps/i386/fpu/e_pow.S: Likewise.
39840 * sysdeps/i386/fpu/e_powf.S: Likewise.
39841 * sysdeps/i386/fpu/e_powl.S: Likewise.
39842 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39843 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39844 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39845 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39846 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39847 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39848 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39849 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39850 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39851 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39852 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39854 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39855 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39856 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39857 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39858 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39859 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39860 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39861 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39862 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39863 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39864 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39865 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39866 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39867 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39868 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39869 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39870 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39871 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39872 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39873 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39874 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39875 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39876 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39877 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39878 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39879 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39880 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39881 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39882 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39883 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39884 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39885 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39886 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39887 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39888 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39889 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39890 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39891 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39892 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39893 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39894 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39895 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39896 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39897 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39898 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39899 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39900 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39901 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39902 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39903 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39904 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39905 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39906 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39907 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39908 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39909 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39910 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39911 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39912 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39913 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39914 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39915 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39916 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39917 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39918 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39919 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39920 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39921 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39922 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39923 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39924 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39925 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39926 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39927 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39928 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39929 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39930 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39931 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39932 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39933 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39934 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39935 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39936 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39937 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39938 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39939 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39940 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39941 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39942 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39943 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39944 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39945 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39946 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39947 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39948 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39949 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39950 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39951 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39952 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39953 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39954 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39955 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39956 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39957 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39958 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39959 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39960 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39961 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39962 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39963 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39964 (__isnanf): Likewise.
39965 (__isinf_ns): Likewise.
39966 (__isinf_nsf): Likewise.
39967 (__finite): Likewise.
39968 (__finitef): Likewise.
39969 (__ieee754_sqrt): Define as macro.
39970 (__ieee754_sqrtf): Define as macro.
39971 (__ieee754_sqrtl): Define as macro.
39972 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39973 inlined copy.
39974 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39975 __FINITE_MATH_ONLY__ consistent.
39976 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39977
39978 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39979
39980 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39981 of rawmemchr.
39982
39983 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39984
39985 2011-10-09 Ulrich Drepper <drepper@gmail.com>
39986
39987 * po/ja.po: Update from translation team.
39988
39989 2011-10-08 Roland McGrath <roland@hack.frob.com>
39990
39991 * locale/programs/locarchive.c (prepare_address_space): New function.
39992 (create_archive, enlarge_archive, open_archive): Use it.
39993
39994 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39995 inside [SHARED], where it is used.
39996
39997 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39998
39999 * nss/getent.c (netgroup_keys): Remove unused variable.
40000 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40001
40002 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40003
40004 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40005 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40006 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40007 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40008 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40009 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40010 * math/Makefile (libm-calls): Add s_isinf_ns.
40011 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40012 * math/multc3.c: Likewise.
40013 * math/s_casin.c: Likewise.
40014 * math/s_casinf.c: Likewise.
40015 * math/s_casinl.c: Likewise.
40016 * math/s_ccos.c: Likewise.
40017 * math/s_ccosf.c: Likewise.
40018 * math/s_ccosl.c: Likewise.
40019 * math/s_ctan.c: Likewise.
40020 * math/s_ctanf.c: Likewise.
40021 * math/s_ctanh.c: Likewise.
40022 * math/s_ctanhf.c: Likewise.
40023 * math/s_ctanhl.c: Likewise.
40024 * math/s_ctanl.c: Likewise.
40025 * math/w_fmod.c: Likewise.
40026 * math/w_fmodf.c: Likewise.
40027 * math/w_fmodl.c: Likewise.
40028 * math/w_remainder.c: Likewise.
40029 * math/w_remainderf.c: Likewise.
40030 * math/w_remainderl.c: Likewise.
40031 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40032 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40033 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40034 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40035 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40036 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40037 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40038 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40039
40040 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40041 of the number.
40042 * stdio-common/printf_fphex.c: Likewise.
40043 * stdio-common/printf_size.c: Likewise.
40044
40045 * math/e_exp10.c: Include math_private.h using <...> not "...".
40046 * math/e_exp10f.c: Likewise.
40047 * math/e_exp10l.c: Likewise.
40048 * math/e_exp2l.c: Likewise.
40049 * math/e_j0l.c: Likewise.
40050 * math/e_j1l.c: Likewise.
40051 * math/e_jnl.c: Likewise.
40052 * math/e_lgammal_r.c: Likewise.
40053 * math/e_rem_pio2l.c: Likewise.
40054 * math/e_scalb.c: Likewise.
40055 * math/e_scalbf.c: Likewise.
40056 * math/e_scalbl.c: Likewise.
40057 * math/k_cosl.c: Likewise.
40058 * math/k_sinl.c: Likewise.
40059 * math/k_tanl.c: Likewise.
40060 * math/s_cacoshf.c: Likewise.
40061 * math/s_catan.c: Likewise.
40062 * math/s_catanf.c: Likewise.
40063 * math/s_catanh.c: Likewise.
40064 * math/s_catanhf.c: Likewise.
40065 * math/s_catanhl.c: Likewise.
40066 * math/s_catanl.c: Likewise.
40067 * math/s_ccosh.c: Likewise.
40068 * math/s_ccoshf.c: Likewise.
40069 * math/s_ccoshl.c: Likewise.
40070 * math/s_cexp.c: Likewise.
40071 * math/s_cexpf.c: Likewise.
40072 * math/s_cexpl.c: Likewise.
40073 * math/s_clog.c: Likewise.
40074 * math/s_clog10.c: Likewise.
40075 * math/s_clog10f.c: Likewise.
40076 * math/s_clog10l.c: Likewise.
40077 * math/s_clogf.c: Likewise.
40078 * math/s_clogl.c: Likewise.
40079 * math/s_csin.c: Likewise.
40080 * math/s_csinf.c: Likewise.
40081 * math/s_csinh.c: Likewise.
40082 * math/s_csinhf.c: Likewise.
40083 * math/s_csinhl.c: Likewise.
40084 * math/s_csinl.c: Likewise.
40085 * math/s_csqrt.c: Likewise.
40086 * math/s_csqrtf.c: Likewise.
40087 * math/s_csqrtl.c: Likewise.
40088 * math/s_ctan.c: Likewise.
40089 * math/s_ctanf.c: Likewise.
40090 * math/s_ctanh.c: Likewise.
40091 * math/s_ctanhf.c: Likewise.
40092 * math/s_ctanhl.c: Likewise.
40093 * math/s_ctanl.c: Likewise.
40094 * math/s_ldexp.c: Likewise.
40095 * math/s_ldexpf.c: Likewise.
40096 * math/s_ldexpl.c: Likewise.
40097 * math/s_significand.c: Likewise.
40098 * math/s_significandf.c: Likewise.
40099 * math/s_significandl.c: Likewise.
40100 * math/w_acos.c: Likewise.
40101 * math/w_acosf.c: Likewise.
40102 * math/w_acosh.c: Likewise.
40103 * math/w_acoshf.c: Likewise.
40104 * math/w_acoshl.c: Likewise.
40105 * math/w_acosl.c: Likewise.
40106 * math/w_asin.c: Likewise.
40107 * math/w_asinf.c: Likewise.
40108 * math/w_asinl.c: Likewise.
40109 * math/w_atan2.c: Likewise.
40110 * math/w_atan2f.c: Likewise.
40111 * math/w_atan2l.c: Likewise.
40112 * math/w_atanh.c: Likewise.
40113 * math/w_atanhf.c: Likewise.
40114 * math/w_atanhl.c: Likewise.
40115 * math/w_cosh.c: Likewise.
40116 * math/w_coshf.c: Likewise.
40117 * math/w_coshl.c: Likewise.
40118 * math/w_dremf.c: Likewise.
40119 * math/w_exp10.c: Likewise.
40120 * math/w_exp10f.c: Likewise.
40121 * math/w_exp10l.c: Likewise.
40122 * math/w_exp2.c: Likewise.
40123 * math/w_exp2f.c: Likewise.
40124 * math/w_fmod.c: Likewise.
40125 * math/w_fmodf.c: Likewise.
40126 * math/w_fmodl.c: Likewise.
40127 * math/w_hypot.c: Likewise.
40128 * math/w_hypotf.c: Likewise.
40129 * math/w_hypotl.c: Likewise.
40130 * math/w_j0.c: Likewise.
40131 * math/w_j0f.c: Likewise.
40132 * math/w_j0l.c: Likewise.
40133 * math/w_j1.c: Likewise.
40134 * math/w_j1f.c: Likewise.
40135 * math/w_j1l.c: Likewise.
40136 * math/w_jn.c: Likewise.
40137 * math/w_jnf.c: Likewise.
40138 * math/w_jnl.c: Likewise.
40139 * math/w_lgamma.c: Likewise.
40140 * math/w_lgamma_r.c: Likewise.
40141 * math/w_lgammaf.c: Likewise.
40142 * math/w_lgammaf_r.c: Likewise.
40143 * math/w_lgammal.c: Likewise.
40144 * math/w_lgammal_r.c: Likewise.
40145 * math/w_log.c: Likewise.
40146 * math/w_log10.c: Likewise.
40147 * math/w_log10f.c: Likewise.
40148 * math/w_log10l.c: Likewise.
40149 * math/w_log2.c: Likewise.
40150 * math/w_log2f.c: Likewise.
40151 * math/w_log2l.c: Likewise.
40152 * math/w_logf.c: Likewise.
40153 * math/w_logl.c: Likewise.
40154 * math/w_pow.c: Likewise.
40155 * math/w_powf.c: Likewise.
40156 * math/w_powl.c: Likewise.
40157 * math/w_remainder.c: Likewise.
40158 * math/w_remainderf.c: Likewise.
40159 * math/w_remainderl.c: Likewise.
40160 * math/w_scalb.c: Likewise.
40161 * math/w_scalbf.c: Likewise.
40162 * math/w_scalbl.c: Likewise.
40163 * math/w_sinh.c: Likewise.
40164 * math/w_sinhf.c: Likewise.
40165 * math/w_sinhl.c: Likewise.
40166 * math/w_sqrt.c: Likewise.
40167 * math/w_sqrtf.c: Likewise.
40168 * math/w_sqrtl.c: Likewise.
40169 * math/w_tgamma.c: Likewise.
40170 * math/w_tgammaf.c: Likewise.
40171 * math/w_tgammal.c: Likewise.
40172
40173 * po/ja.po: Update from translation team.
40174
40175 2011-09-29 Andreas Jaeger <aj@suse.de>
40176
40177 [BZ #13179]
40178 * sunrpc/netname.c (netname2host): Fix logic.
40179
40180 [BZ #6779]
40181 [BZ #6783]
40182 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40183 correctly.
40184 * math/w_remainder.c (__remainder): Likewise.
40185 * math/w_remainderf.c (__remainderf): Likewise.
40186 * math/libm-test.inc (remainder_test): Add test cases.
40187
40188 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40189
40190 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40191 sdiv_qrnnd.
40192
40193 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40194
40195 * string/test-memcmp.c: Avoid unncessary #defines.
40196 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40197
40198 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40199
40200 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40201 Use new sse2 version for core i3 - i7 as it's faster
40202 than sse42 version.
40203 (bit_Prefer_PMINUB_for_stringop): New.
40204 * sysdeps/x86_64/rawmemchr.S: Update.
40205 Replace with faster SSE2 version.
40206 * sysdeps/x86_64/memrchr.S: New file.
40207 * sysdeps/x86_64/memchr.S: Update.
40208 Replace with faster SSE2 version.
40209
40210 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40211
40212 * elf/dl-load.c (lose): Add cast to avoid warning.
40213
40214 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40215
40216 * po/ca.po: Update from translation team.
40217
40218 * inet/getnetgrent_r.c: Hook up nscd.
40219 * nscd/Makefile (routines): Add nscd_netgroup.
40220 (nscd-modules): Add netgroupcache.
40221 (CFLAGS-netgroupcache.c): Define.
40222 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40223 (cache_search): Add const to second parameter.
40224 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40225 INNETGR.
40226 (dbs): Add netgrdb entry.
40227 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40228 (verify_persistent_db): Handle netgrdb.
40229 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40230 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40231 GETFDNETGR.
40232 (netgroup_response_header): Define.
40233 (innetgroup_response_header): Define.
40234 (datahead): Add netgroup_response_header and innetgroup_response_header
40235 elements.
40236 * nscd/nscd.conf: Add entries for netgroup cache.
40237 * nscd/nscd.h (dbtype): Add netgrdb.
40238 (_PATH_NSCD_NETGROUP_DB): Define.
40239 (netgroup_iov_disabled): Declare.
40240 (xmalloc, xcalloc, xrealloc): Move declarations here.
40241 (cache_search): Adjust prototype.
40242 Add netgroup-related prototypes.
40243 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40244 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40245 (__nscd_innetgr): Declare.
40246 * nscd/selinux.c (perms): Use access_vector_t as element type and
40247 add netgroup-related initializers.
40248 * nscd/netgroupcache.c: New file.
40249 * nscd/nscd_netgroup.c: New file.
40250 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40251 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40252 For four parameters use innetgr.
40253 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40254 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40255 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40256 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40257
40258 * nscd/connections.c (register_traced_file): Don't register file
40259 for disabled databases.
40260
40261 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40262
40263 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40264
40265 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40266 from tree and freeing node.
40267
40268 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40269
40270 * nss/nsswitch.c (__nss_database_lookup): Handle
40271 nss_parse_service_list out of memory case.
40272
40273 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40274
40275 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40276 out of memory case.
40277
40278 2011-10-04 Andreas Schwab <schwab@redhat.com>
40279
40280 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40281 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40282 pass it down.
40283 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40284 elf_machine_rela, elf_machine_lazy_rel.
40285 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40286 (ELF_DYNAMIC_DO_REL): Likewise.
40287 (ELF_DYNAMIC_DO_RELA): Likewise.
40288 (ELF_DYNAMIC_RELOCATE): Likewise.
40289 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40290 to ELF_DYNAMIC_DO_REL.
40291 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40292 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40293 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40294 elf_machine_rela.
40295 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40296 skip_ifunc, don't call ifunc function if non-zero.
40297 (elf_machine_rela): Likewise.
40298 (elf_machine_lazy_rel): Likewise.
40299 (elf_machine_lazy_rela): Likewise.
40300 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40301 (elf_machine_lazy_rel): Likewise.
40302 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40303 Likewise.
40304 (elf_machine_lazy_rel): Likewise.
40305 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40306 Likewise.
40307 (elf_machine_lazy_rel): Likewise.
40308 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40309 (elf_machine_lazy_rel): Likewise.
40310 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40311 (elf_machine_lazy_rel): Likewise.
40312 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40313 (elf_machine_lazy_rel): Likewise.
40314 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40315 (elf_machine_lazy_rel): Likewise.
40316 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40317 (elf_machine_lazy_rel): Likewise.
40318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40319 (elf_machine_lazy_rel): Likewise.
40320
40321 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40322
40323 * nss/nss_files/files-init.c (_nss_files_init): Use static
40324 initialization for all the *_traced_file variables.
40325
40326 2011-09-28 Andreas Schwab <schwab@redhat.com>
40327
40328 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40329
40330 2011-09-27 Roland McGrath <roland@hack.frob.com>
40331
40332 [BZ #13226]
40333 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40334
40335 2011-09-27 Andreas Schwab <schwab@redhat.com>
40336
40337 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40338 Reread the line before reparsing it.
40339
40340 2011-09-26 Andreas Schwab <schwab@redhat.com>
40341
40342 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40343
40344 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40345 Maxim Kuvyrkov <maxim@codesourcery.com>
40346 Joseph Myers <joseph@codesourcery.com>
40347
40348 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40349 if needed for __stack_chk_guard.
40350
40351 2011-09-19 Roland McGrath <roland@hack.frob.com>
40352
40353 * sysdeps/posix/spawni.c (script_execute): Always define it.
40354 It will be optimized away if unused.
40355 (maybe_script_execute): New function.
40356 (__spawni): Call it.
40357
40358 * Makerules: Don't include tls.make.
40359 (config-tls): Always set to thread.
40360 * tls.make.c: File removed.
40361
40362 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40363
40364 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40365 * config.make.in (CPPFLAGS-config): New substituted variable.
40366
40367 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40368
40369 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40370
40371 [BZ #13192]
40372 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40373 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40374
40375 2011-09-15 Roland McGrath <roland@hack.frob.com>
40376
40377 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40378 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40379 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40380 (CALL_FAIL): Likewise.
40381 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40382 (CALL_FAIL): Macro removed.
40383 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40384
40385 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40386
40387 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40388 for __FINITE_MATH_ONLY__ == 1.
40389
40390 2011-09-15 Andreas Schwab <schwab@redhat.com>
40391
40392 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40393 __ieee754_sqrt instead of sqrt.
40394 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40395 __ieee754_sqrtf instead of sqrtf.
40396 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40397 __floorf instead of floorf.
40398 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40399 __floorf, __truncf instead of floorf, truncf.
40400
40401 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40402
40403 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40404
40405 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40406 __extern_always_inline.
40407 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40408 32-bit.
40409
40410 2011-09-14 Andreas Schwab <schwab@redhat.com>
40411
40412 * elf/rtld.c (dl_main): Also relocate in dependency order when
40413 doing symbol dependency testing.
40414
40415 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40416
40417 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40418 Always define `refsym'.
40419
40420 2011-09-13 Andreas Schwab <schwab@redhat.com>
40421
40422 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40423 (__FD_ELT): Renamed from __FDELT.
40424 * misc/bits/select2.h (__FD_ELT): Likewise.
40425 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40426 __FD_MASK instead of __FDELT, __FDMASK.
40427 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40428 Likewise.
40429 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40430 Likewise.
40431
40432 * elf/Makefile (gen-ldd): Fix pattern.
40433
40434 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40435 (init_tls): Likewise.
40436
40437 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40438
40439 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40440
40441 2011-09-12 Andreas Schwab <schwab@redhat.com>
40442
40443 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40444 `struct cmsghdr *' instead of `void *'.
40445 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40446 Likewise.
40447
40448 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40449
40450 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40451 if non-absolute.
40452 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40453 ldd_rewrite_script.
40454
40455 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40456
40457 * configure.in: Remove --with-tls option.
40458 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40459 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40460 out in case it is missing.
40461 * sysdeps/ia64/elf/configure.in: Likewise.
40462 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40463 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40464 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40465 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40466 * sysdeps/sh/elf/configure.in: Likewise.
40467 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40468 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40469 * sysdeps/x86_64/elf/configure.in: Likewise.
40470 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40471 * sysdeps/mach/hurd/tls.h: Likewise.
40472
40473 [BZ #13067]
40474 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40475
40476 [BZ #13090]
40477 * configure.in: Fix use of AC_INIT.
40478
40479 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40480
40481 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40482
40483 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40484 __set_errno.
40485 * malloc/hooks.c: Likewise.
40486
40487 [BZ #11929]
40488 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40489 variables statically.
40490 (narenas): Initialize.
40491 (list_lock): Initialize.
40492 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40493 initializtion of main_arena and list_lock. Small cleanups.
40494 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40495 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40496 Add initializers to main_arena and mp_.
40497 (malloc_state): Remove pagesize member. Change all users to use
40498 GLRO(dl_pagesize).
40499
40500 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40501 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40502 is always initialized.
40503
40504 * malloc/malloc.c: Removed unused configurations and dead code.
40505 * malloc/arena.c: Likewise.
40506 * malloc/hooks.c: Likewise.
40507 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40508
40509 * include/tls.h: Removed. USE___THREAD must always be defined.
40510 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40511 * elf/dl-libc.c: Likewise.
40512 * elf/dl-tsd.c: Likewise.
40513 * include/errno.h: Likewise.
40514 * include/netdb.h: Likewise.
40515 * include/resolv.h: Likewise.
40516 * inet/herrno-loc.c: Likewise.
40517 * inet/herrno.c: Likewise.
40518 * malloc/arena.c: Likewise.
40519 * malloc/hooks.c: Likewise.
40520 * malloc/malloc.c: Likewise.
40521 * resolv/res-state.c: Likewise.
40522 * resolv/res_libc.c: Likewise.
40523 * sysdeps/i386/dl-machine.h: Likewise.
40524 * sysdeps/ia64/dl-machine.h: Likewise.
40525 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40526 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40527 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40528 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40529 * sysdeps/sh/dl-machine.h: Likewise.
40530 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40531 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40532 * sysdeps/unix/i386/sysdep.S: Likewise.
40533 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40534 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40535 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40536 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40537 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40538 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40539 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40540 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40542 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40543 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40544 * sysdeps/x86_64/dl-machine.h: Likewise.
40545 * tls.make.c: Likewise.
40546
40547 * configure.in: Remove --with-__thread option. Make tests for
40548 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40549 tls_model attribute fail if no support is available. Remove
40550 USE_IN_LIBIO.
40551 * Makeconfig: Adjust for dropped configure option. All features are
40552 now mandatory.
40553 * Makerules: Likewise.
40554 * Versions.def: Likewise.
40555 * argp/argp-fmtstream.c: Likewise.
40556 * argp/argp-fmtstream.h: Likewise.
40557 * argp/argp-help.c: Likewise.
40558 * assert/assert.c: Likewise.
40559 * config.h.in: Likewise.
40560 * config.make.in: Likewise.
40561 * configure: Likewise.
40562 * configure.in: Likewise.
40563 * csu/Versions: Likewise.
40564 * csu/init.c: Likewise.
40565 * elf/tst-audit2.c: Likewise.
40566 * elf/tst-tls10.c: Likewise.
40567 * elf/tst-tls10.h: Likewise.
40568 * elf/tst-tls11.c: Likewise.
40569 * elf/tst-tls12.c: Likewise.
40570 * elf/tst-tls14.c: Likewise.
40571 * elf/tst-tlsmod11.c: Likewise.
40572 * elf/tst-tlsmod12.c: Likewise.
40573 * elf/tst-tlsmod13.c: Likewise.
40574 * elf/tst-tlsmod13a.c: Likewise.
40575 * elf/tst-tlsmod14a.c: Likewise.
40576 * elf/tst-tlsmod15b.c: Likewise.
40577 * elf/tst-tlsmod16a.c: Likewise.
40578 * elf/tst-tlsmod16b.c: Likewise.
40579 * elf/tst-tlsmod7.c: Likewise.
40580 * elf/tst-tlsmod8.c: Likewise.
40581 * elf/tst-tlsmod9.c: Likewise.
40582 * gmon/gmon.c: Likewise.
40583 * grp/fgetgrent_r.c: Likewise.
40584 * grp/putgrent.c: Likewise.
40585 * hurd/fopenport.c: Likewise.
40586 * include/libc-symbols.h: Likewise.
40587 * include/tls.h: Likewise.
40588 * intl/gettextP.h: Likewise.
40589 * intl/loadinfo.h: Likewise.
40590 * locale/global-locale.c: Likewise.
40591 * locale/localeinfo.h: Likewise.
40592 * mach/devstream.c: Likewise.
40593 * malloc/arena.c: Likewise.
40594 * malloc/set-freeres.c: Likewise.
40595 * misc/err.c: Likewise.
40596 * misc/getttyent.c: Likewise.
40597 * misc/mntent_r.c: Likewise.
40598 * posix/getopt.c: Likewise.
40599 * posix/wordexp.c: Likewise.
40600 * pwd/fgetpwent_r.c: Likewise.
40601 * resolv/Versions: Likewise.
40602 * resolv/res_hconf.c: Likewise.
40603 * shadow/fgetspent_r.c: Likewise.
40604 * shadow/putspent.c: Likewise.
40605 * stdio-common/printf_fphex.c: Likewise.
40606 * stdio-common/tmpfile.c: Likewise.
40607 * stdlib/abort.c: Likewise.
40608 * stdlib/fmtmsg.c: Likewise.
40609 * sunrpc/auth_unix.c: Likewise.
40610 * sunrpc/clnt_perr.c: Likewise.
40611 * sunrpc/clnt_tcp.c: Likewise.
40612 * sunrpc/clnt_udp.c: Likewise.
40613 * sunrpc/clnt_unix.c: Likewise.
40614 * sunrpc/openchild.c: Likewise.
40615 * sunrpc/svc_simple.c: Likewise.
40616 * sunrpc/svc_tcp.c: Likewise.
40617 * sunrpc/svc_udp.c: Likewise.
40618 * sunrpc/svc_unix.c: Likewise.
40619 * sunrpc/xdr.c: Likewise.
40620 * sunrpc/xdr_array.c: Likewise.
40621 * sunrpc/xdr_rec.c: Likewise.
40622 * sunrpc/xdr_ref.c: Likewise.
40623 * sunrpc/xdr_stdio.c: Likewise.
40624
40625 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40626
40627 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40628
40629 2011-07-03 Andreas Jaeger <aj@suse.de>
40630
40631 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40632 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40633 regenerate with gen-libm-tests.pl.
40634
40635 2010-05-12 Petr Baudis <pasky@suse.cz>
40636
40637 [BZ #11589]
40638 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40639 around j0() zero points by switching to j1().
40640 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40641 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40643 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40644
40645 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40646
40647 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40648 instead of 0.
40649 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40650 instead of 0.
40651 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40652 Patch in part by Pavel Roskin <proski@gnu.org>.
40653
40654 [BZ #13138]
40655 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40656 realloc.
40657 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40658 Free memory block if necessary.
40659
40660 [BZ #12847]
40661 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40662 be NULL. Don't lock in this case.
40663
40664 2011-09-09 Roland McGrath <roland@hack.frob.com>
40665
40666 * elf/elf.h (ELFOSABI_GNU): New macro.
40667 (ELFOSABI_LINUX): Define to that.
40668
40669 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40670
40671 * string/strncat.c (strncat): Undef the symbol in case it has been
40672 defined in bits/string.h.
40673
40674 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40675
40676 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40677
40678 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40679 link map.
40680
40681 2011-08-17 Andreas Jaeger <aj@suse.de>
40682
40683 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40684
40685 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40686 Ian Lance Taylor <iant@google.com>
40687
40688 * math/libm-test.inc (lround_test): New testcase.
40689 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40690
40691 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40692
40693 * Makefile: Remove support for automatic cvs check-ins.
40694 * Makerules: Likewise.
40695 * config.make.in: Likewise.
40696 * configure.in: Likewise.
40697 * intl/Makefile: Likewise.
40698 * locale/Makefile: Likewise.
40699 * po/Makefile: Likewise.
40700 * posix/Makefile: Likewise.
40701 * sysdeps/gnu/Makefile: Likewise.
40702 * sysdeps/mach/hurd/Makefile: Likewise.
40703 * sysdeps/sparc/sparc32/Makefile: Likewise.
40704
40705 [BZ #13118]
40706 * posix/Makefile (bug-regex32-ENV): Define.
40707 Patch by John Stanley <jpsinthemix@verizon.net>.
40708
40709 * misc/Makefile (headers): Add bits/select2.h.
40710 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40711 * misc/bits/select2.h: New file.
40712 * include/bits/select2.h: New file.
40713 * debug/Makefile (routines): Add fdelt_chk.
40714 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40715 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40716 FD_ISSET.
40717 * debug/fdelt_chk.c: New file.
40718
40719 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40720 * wcsmbs/test-wmemcmp.c: Likewise.
40721 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40722 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40723
40724 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40725
40726 * string/Makefile (strop-tests): Add memcmp.
40727 * string/test-wmemcmp.c: New file.
40728 * string/test-memcmp.c: Add wmemcmp support.
40729
40730 2011-09-08 Roland McGrath <roland@hack.frob.com>
40731
40732 [BZ #13153]
40733 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40734 2011-07-19 change.
40735
40736 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40737 garbage value in a __mach_port_mod_refs call in the cases of the
40738 task-self and thread-self ports.
40739
40740 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40741
40742 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40743
40744 2011-09-08 Andreas Schwab <schwab@redhat.com>
40745
40746 * elf/dl-load.c (lose): Check for non-null L.
40747
40748 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40749
40750 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40751
40752 * elf/dl-libc.c (dlerror_run): Pass back error code from
40753 dl_catch_error.
40754
40755 [BZ #13123]
40756 * elf/dl-load.c (lose): Free l_origin if it is valid.
40757
40758 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40759 names.
40760 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40761 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40762 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40763 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40764 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40765 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40766
40767 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40768
40769 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40770 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40771 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40772 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40773 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40774 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40775 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40776 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40777 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40778 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40779
40780 2011-08-15 Alan Modra <amodra@gmail.com>
40781
40782 [BZ #13092]
40783 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40784 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40785 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40786 ppc_mcount to static-only-routines.
40787 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40788 __mcount_internal.
40789 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40790 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40791
40792 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40793
40794 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40795 for finite and infinity parameters.
40796
40797 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40798
40799 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40800 and add nop instructions for throughput optimization.
40801 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40802
40803 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40804
40805 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40806 aligned copy for power7 with vector-scalar instructions.
40807 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40808
40809 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40810
40811 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40812 AVX check.
40813
40814 2011-09-07 Andreas Schwab <schwab@redhat.com>
40815
40816 [BZ #13144]
40817 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40818 last change.
40819
40820 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40821
40822 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40823 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40824 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40825 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40826 clock_gettime.
40827
40828 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40829
40830 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40831 Forgot to demangle the pointer.
40832
40833 * sysdeps/i386/sysdep.h: Define atom_text_section.
40834 * sysdeps/x86_64/sysdep.h: Likewise.
40835 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40836 section with atom_text_section.
40837 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40838 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40839 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40840 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40841 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40842
40843 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40844 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40845 already be defined. Change to take two parameters and don't assign
40846 result to variable. Adjust all users.
40847 Define INTERNAL_GETTIME if not already defined.
40848 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40849 call.
40850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40851 HAVE_CLOCK_GETTIME_VSYSCALL.
40852 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40853
40854 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40855 gettimeofday vsyscall, just use time.
40856
40857 2011-09-06 Andreas Schwab <schwab@redhat.com>
40858
40859 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40860 <errno.h>.
40861
40862 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40863
40864 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40865 syscall on x86-64.
40866 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40867 syscall.
40868 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40869 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40870 syscall if possible.
40871
40872 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40873
40874 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40875 e_ident. Don't pass to find_mapsXX.
40876 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40877
40878 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40879
40880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40881 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40882 * sysdeps/x86_64/multiarch/strchr.S: Update.
40883 Check bit_slow_BSF bit.
40884 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40885 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40886 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40887
40888 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40889
40890 [BZ #13134]
40891 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40892 before glibc 2.15.
40893 (tryshell): Define.
40894 (__spawni): Change last parameter to be flag. Test
40895 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40896 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40897 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40898 * posix/spawni.c: Likewise.
40899 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40900 * posix/spawnp.c: Likewise. Change normal version to use
40901 SPAWN_XFLAGS_USE_PATH.
40902 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40903 SPAWN_XFLAGS_TRY_SHELL.
40904
40905 [BZ #13150]
40906 * posix/glob.h: Remove gcc 1.x support.
40907
40908 [BZ #13068]
40909 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40910
40911 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40912
40913 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40914 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40915 strrchr-sse2-bsf
40916 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40917 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40918 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40919 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40920 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40921 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40922
40923 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40924
40925 * sysdeps/x86_64/wcscmp.S: New file.
40926
40927 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40928 wcscmp-c wcscmp-sse2
40929 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40930 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40931 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40932 * wcsmbs/wcscmp.c: Allow renaming.
40933
40934 2011-09-05 David S. Miller <davem@davemloft.net>
40935
40936 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40937 stack slot, rather than the struct return pointer slot.
40938 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40939 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40941 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40942
40943 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40944
40945 * po/ja.po: Update from translation team.
40946
40947 [BZ #13144]
40948 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40949 kernel in 64-bit binaries.
40950
40951 2011-09-01 David S. Miller <davem@davemloft.net>
40952
40953 * elf/elf.h (HWCAP_SPARC_*): Move to..
40954 * sysdeps/sparc/sysdep.h: this new file and add new values.
40955 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40956 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40957 _DL_HWCAP_COUNT to 24.
40958 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40959 entries.
40960 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40961 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40962 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40963 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40964 instead of magic constants.
40965 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40966
40967 2011-08-31 David S. Miller <davem@davemloft.net>
40968
40969 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40970 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40971 Reimplement to do errno handling inline.
40972 (SYSCALL_ERROR_HANDLER): New macro.
40973 (__SYSCALL_STRING): Do not do errno handling in asm.
40974 (__CLONE_SYSCALL_STRING): Delete.
40975 (__INTERNAL_SYSCALL_STRING): Delete.
40976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40977 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40978 (PSEUDO): Reimplement to do errno handling inline.
40979 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40980 (SYSCALL_ERROR_HANDLER): New macro.
40981 (__SYSCALL_STRING): Do not do errno handling in asm.
40982 (__CLONE_SYSCALL_STRING): Delete.
40983 (__INTERNAL_SYSCALL_STRING): Delete.
40984 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40985 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40986 i386.
40987 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40988 (inline_syscall*): Add 'err' argument.
40989 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40990 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40991 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40992 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40993
40994 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40995 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40996
40997 2011-08-30 Andreas Schwab <schwab@redhat.com>
40998
40999 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41000
41001 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41002
41003 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41004 directive.
41005
41006 2011-08-24 David S. Miller <davem@davemloft.net>
41007
41008 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41009
41010 2011-08-24 Andreas Schwab <schwab@redhat.com>
41011
41012 * elf/Makefile: Add rules to build and run unload8 test.
41013 * elf/unload8.c: New file.
41014 * elf/unload8mod1.c: New file.
41015 * elf/unload8mod1x.c: New file.
41016 * elf/unload8mod2.c: New file.
41017 * elf/unload8mod3.c: New file.
41018
41019 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41020 it wasn't used.
41021
41022 2011-08-23 David S. Miller <davem@davemloft.net>
41023
41024 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41025 subtract stack bias.
41026 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41027 %sp not %fp in calculations.
41028 (_JMPBUF_UNWINDS_ADJ): Likewise.
41029
41030 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41031 (aio_suspend): Call it to force an exception region around the
41032 AIO_MISC_WAIT() invocation.
41033
41034 2011-08-23 Andreas Schwab <schwab@redhat.com>
41035
41036 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41037 backslash.
41038
41039 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41040
41041 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41042 protection macro.
41043 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41044 and <dl-machine.h>.
41045 (Elf64_FuncDesc): Remove.
41046
41047 2011-08-22 David S. Miller <davem@davemloft.net>
41048
41049 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41050 sigaltstack check, add missing cfi directives.
41051 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41052 missing cfi directives, and sigaltstack handling.
41053
41054 2011-08-16 Andreas Schwab <schwab@redhat.com>
41055
41056 [BZ #11724]
41057 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41058 object is seen twice.
41059 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41060
41061 * elf/Makefile (distribute): Add tst-initorder2.c.
41062 (tests): Add tst-initorder2.
41063 (modules-names): Add tst-initorder2a tst-initorder2b
41064 tst-initorder2c tst-initorder2d. Add rules to build them.
41065 ($(objpfx)tst-initorder2.out): New rule.
41066 * elf/tst-initorder2.c: New file.
41067 * elf/tst-initorder2.exp: New file.
41068
41069 2011-08-22 Andreas Schwab <schwab@redhat.com>
41070
41071 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41072
41073 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41074 dependencies back to end of function.
41075
41076 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41077 $(elfobjdir)/ld.so.
41078
41079 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41080
41081 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41082 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41083 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41084 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41085 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41086 of __vdso_gettimeofday.
41087 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41088 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41089 attribute_hidden.
41090 (_libc_vdso_platform_setup): Remove initialization of
41091 __vdso_gettimeofday and __vdso_time.
41092
41093 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41094
41095 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41096 and fgetc_unlocked.
41097 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41098 getc_unlocked.
41099
41100 * elf/dl-open.c (add_to_global): Report additions to the global scope
41101 for LD_DEBUG=scopes.
41102 (dl_open_worker): Also print scope of newly loaded dependencies.
41103 (_dl_show_scope): Indicate if there is no scope.
41104
41105 [BZ #13114]
41106 * stdio-common/Makefile (tests): Add bug24.
41107 * stdio-common/bug24.c: New file.
41108
41109 2011-08-19 Andreas Jaeger <aj@suse.de>
41110
41111 [BZ #13114]
41112 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41113 non-existant file when using close-on-exec mode.
41114
41115 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41116
41117 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41118 the very first instruction.
41119
41120 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41121 the CFI state in the end.
41122 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41123 inclusion of dl-trampoline.h.
41124 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41125
41126 2011-08-19 Andreas Schwab <schwab@redhat.com>
41127
41128 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41129 expectations for long double.
41130
41131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41132 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41133
41134 2011-08-14 David S. Miller <davem@davemloft.net>
41135
41136 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41137 artificual limit depends upon the system page size.
41138
41139 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41140
41141 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41142 * resolv/Makefile: Define CFLAGS-libresolv.
41143
41144 2011-08-17 Andreas Schwab <schwab@redhat.com>
41145
41146 * nss/makedb.c (compute_tables): Make variables used in nested
41147 function static.
41148
41149 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41150
41151 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41152 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41153 if buffer was too small.
41154
41155 * elf/pldd.c (main): Attach to all threads in the process.
41156 Rewrite /proc handling to use *at functions.
41157
41158 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41159
41160 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41161 specifies first scope to show.
41162 (dl_open_worker): Update callers. Move printing scope of new
41163 object to before the relocation.
41164 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41165 * sysdeps/generic/ldsodefs.h: Update declaration.
41166
41167 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41168 string for the scope number.
41169
41170 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41171
41172 * nscd/servicescache.c (cache_addserv): Make sure written is always
41173 initialized.
41174
41175 2011-08-14 Roland McGrath <roland@hack.frob.com>
41176
41177 * sysdeps/i386/i486/bits/atomic.h
41178 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41179 statement expression, so as to suppress "set but not used" warning.
41180 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41181
41182 * string/strncat.c (STRNCAT): Use prototype definition.
41183
41184 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41185 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41186 -Iprograms here.
41187 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41188 (localedef-modules): Add localedef.
41189 (locale-modules): Add locale.
41190
41191 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41192 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41193 to avoid a warning.
41194
41195 2011-08-14 David S. Miller <davem@davemloft.net>
41196
41197 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41198 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41199
41200 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41201
41202 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41203 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41204 * elf/rtld.c (dl_main): Set l_name of vDSO.
41205 Call _dl_show_scope when DL_DEBUG_SCOPES.
41206 (process_dl_debug): Recognize scopes flag and also set it for all.
41207 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41208 Declare _dl_show_scope.
41209
41210 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41211 (do_dlopen): Pass caller_dlopen to dl_open.
41212 (__libc_dlopen_mode): Initialize caller_dlopen.
41213
41214 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41215 of libc. Make tolower call locale-independent. Optimize a bit by
41216 using isdigit instead of isalnum.
41217 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41218
41219 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41220
41221 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41222 was a dependency or dynamically loaded.
41223
41224 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41225
41226 * intl/l10nflist.c: Allow architecture-specific pop function.
41227 * sysdeps/x86_64/l10nflist.c: New file.
41228
41229 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41230 classification.
41231
41232 2011-08-10 Andreas Schwab <schwab@redhat.com>
41233
41234 * include/dirent.h: Add libc_hidden_proto for scandirat and
41235 scandirat64. Don't declare __scandirat64.
41236 * dirent/scandirat.c: Add libc_hidden_def.
41237 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41238 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41239
41240 2011-08-10 David S. Miller <davem@davemloft.net>
41241
41242 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41243 enum.
41244 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41245 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41246 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41247
41248 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41249
41250 * Versions.def [libc]: Add GLIBC_2.15.
41251 * dirent/Makefile (routines): Add scandirat and scandirat64.
41252 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41253 GLIBC_2.15.
41254 * dirent/dirent.h: Declare scandirat and scandirat64.
41255 * dirent/scandirat.c: New file.
41256 * dirent/scandirat64.c: New file.
41257 * sysdeps/wordsize-64/scandirat.c: New file.
41258 * sysdeps/wordsize-64/scandirat64.c: New file.
41259 * dirent/opendir.c: Define opendirat.
41260 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41261 using scandirat.
41262 * dirent/scandir64.c: Adjust for scandir.c change.
41263 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41264 __scandirat64, and __scandir_cancel_handler.
41265 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41266 additional parameter and use openat instead of open (outside of ld.so).
41267 Add new __opendir as wrapper around __opendirat.
41268 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41269 here without requiring old scandirat implementation.
41270
41271 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41272
41273 * dirent/scandir.c (cancel_handler): Renamed to
41274 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41275 defined. Adjust users.
41276 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41277 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41278
41279 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41280
41281 * string/test-string.h (IMPL): Use __STRING to expand name and then
41282 stringify it.
41283
41284 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41285 of cleanups.
41286
41287 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41288
41289 * string/Makefile: Update.
41290 (strop-tests): Append strncat.
41291 * string/test-wcscmp.c: New file.
41292 New comprehensive test for wcscmp.
41293 * string/test-strcmp.c: Update.
41294 (WIDE): New define.
41295
41296 2011-07-22 Andreas Schwab <schwab@redhat.com>
41297
41298 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41299 line.
41300
41301 2011-07-26 Andreas Schwab <schwab@redhat.com>
41302
41303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41304 encoding to ACE if AI_IDN.
41305
41306 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41307
41308 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41309 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41310
41311 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41312
41313 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41314 Fix overflow bug in strncat.
41315 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41316
41317 * string/test-strncat.c: Update.
41318 Add new tests for checking overflow bugs.
41319
41320 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41321
41322 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41323 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41324 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41325 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41326 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41327 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41328 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41329 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41330 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41331
41332 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41333 (USE_AS_STRCAT): Define.
41334 Add strcat and strncat support.
41335 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41336
41337 2011-07-25 Andreas Schwab <schwab@redhat.com>
41338
41339 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41340 __n bigger than INT_MAX+1.
41341 (__strncmp_g): Likewise.
41342
41343 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41344
41345 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41346 * libio/stido.h: Likewise.
41347
41348 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41349 (AF_NFC): Define.
41350 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41351 (AF_NFC): Define.
41352
41353 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41354 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41355 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41356 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41357 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41358
41359 [BZ #13021]
41360 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41361 installed.
41362
41363 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41364 typo.
41365 (_dl_x86_64_save_sse): Likewise.
41366
41367 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41368
41369 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41370 OSXSAVE.
41371 (_dl_x86_64_save_sse): Likewise.
41372
41373 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41374
41375 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41376
41377 2011-07-21 Andreas Schwab <schwab@redhat.com>
41378
41379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41380 change.
41381 (_dl_x86_64_save_sse): Use correct AVX check.
41382
41383 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41384
41385 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41386 bug in strncpy/strncat.
41387 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41388
41389 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41390
41391 * string/tester.c (test_strcat): Add tests for different alignments
41392 of source and destination.
41393 (test_strncat): Likewise.
41394
41395 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41396
41397 [BZ #12852]
41398 * posix/glob.c (glob): Check passed in values before using them in
41399 expressions to avoid some overflows.
41400 (glob_in_dir): Likewise.
41401
41402 [BZ #13007]
41403 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41404 check for AVX enablement so that we don't crash with old kernels and
41405 new hardware.
41406 * elf/tst-audit4.c: Add same checks here.
41407 * elf/tst-audit6.c: Likewise.
41408
41409 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41410
41411 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41412
41413 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41414
41415 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41416
41417 * po/cs.po: Update from translation team.
41418 * po/bg.po: Likewise.
41419
41420 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41421
41422 * misc/sys/cdefs.h: Add support for const attribute.
41423 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41424 to gnu_dev_{major,minor,makedev} functions.
41425
41426 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41427
41428 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41429
41430 2011-07-20 Andreas Schwab <schwab@redhat.com>
41431
41432 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41433 strlen results.
41434
41435 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41436
41437 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41438 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41439 register in order to avoid conflicts with the soft frame pointer
41440 being held in r11 when necessary.
41441 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41442 (INTERNAL_VSYSCALL_NCS): Likewise.
41443
41444 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41445
41446 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41447 * elf/dl-fini.c (_dl_fini): Adjust caller.
41448 * elf/dl-close.c (_dl_close_worker): Likewise.
41449 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41450
41451 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41452
41453 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41454 "aux_cache->nlibs < 0".
41455
41456 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41457 in the reload-count case.
41458
41459 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41460
41461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41462 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41463 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41464 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41465 * sysdeps/x86_64/multiarch/strcat.S: New file.
41466 * sysdeps/x86_64/multiarch/strncat.S: New file.
41467 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41468 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41469 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41470 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41471 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41472 (USE_AS_STRCAT): Define.
41473 Add strcat and strncat support.
41474 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41475 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41476 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41477 * string/strncat.c: Update.
41478 (USE_AS_STRNCAT): Define.
41479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41480 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41481 and i7.
41482 * sysdeps/x86_64/multiarch/init-arch.h
41483 (bit_Prefer_PMINUB_for_stringop): New.
41484 (index_Prefer_PMINUB_for_stringop): Likewise.
41485 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41486 bit_Prefer_PMINUB_for_stringop.
41487
41488 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41489
41490 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41491 buffer64.
41492 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41493 of casting of buffer.
41494 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41495 buffer32 and buffer64.
41496 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41497 writes instead of casting of buffer.
41498 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41499 buffer32.
41500 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41501 casting of buffer.
41502
41503 2011-07-19 Andreas Schwab <schwab@redhat.com>
41504
41505 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41506
41507 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41508
41509 * nscd/nscd.c (termination_handler): Don't do anything for a database
41510 if it has not yet been initialized.
41511
41512 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41513
41514 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41515
41516 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41517
41518 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41519
41520 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41521
41522 * po/nl.po: Update from translation team.
41523 * po/sv.po: Likewise.
41524
41525 2011-07-16 Roland McGrath <roland@hack.frob.com>
41526
41527 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41528 now disallowed by GCC.
41529
41530 * configure.in (use-default-link): Default to yes if a test -shared
41531 link meets our qualifications.
41532 * configure: Regenerated.
41533
41534 * config.make.in (output-format): New variable.
41535 * configure.in: Check for ld --print-output-format support.
41536 * configure: Regenerated.
41537 * Makerules ($(common-objpfx)format.lds)
41538 [$(output-format) != unknown]: Just use $(output-format),
41539 instead of the linker-script munging.
41540
41541 2011-07-14 Roland McGrath <roland@hack.frob.com>
41542
41543 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41544 of $(common-objpfx)shlib.lds.
41545 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41546
41547 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41548 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41549
41550 * configure.in (-z relro check): Adjust test code to add a large
41551 writable data section after it.
41552 * configure: Regenerated.
41553
41554 2011-07-11 Roland McGrath <roland@hack.frob.com>
41555
41556 * configure.in (-z relro check): Fix test code to make the variable
41557 truly const.
41558 * configure: Regenerated.
41559
41560 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41561
41562 * nscd/nscd.h (struct traced_file): Define.
41563 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41564 elements. Add traced_files.
41565 (inotify_fd): Declare.
41566 (register_traced_file): Declare.
41567 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41568 (inotify_fd): Export.
41569 (resolv_conf_descr): Remove.
41570 (nscd_init): Move inotify descriptor creation to main.
41571 Don't register files for notification here.
41572 (register_traced_file): New function.
41573 (invalidate_cache): Don't use reset_res to determine whether to call
41574 res_init, go through the list of registered files.
41575 (main_loop_poll): The inotify descriptors are now stored in the
41576 structures for the traced files.
41577 (main_loop_epoll): Likewise
41578 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41579 to __nss_disable_nscd.
41580 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41581 for a database anymore. Check the records for all the registered
41582 files instead.
41583 * nss/Makefile (libnss_files-routines): Add files-init.
41584 (libnss_db-routines): Add db-init.
41585 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41586 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41587 * nss/nss_db/db-init.c: New file.
41588 * nss/nss_files/files-init.c: New file.
41589 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41590 __nss_lookup_function.
41591 (__nss_lookup_function): Call nss_load_library.
41592 (nss_load_all_libraries): New function.
41593 (__nss_disable_nscd): Take parameter with callback function for files
41594 to register. Set is_nscd. Load all the DSOs for the NSS modules
41595 used for the cached services.
41596 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41597 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41598 options for features to all the files in nscd.
41599
41600 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41601
41602 2011-07-10 Roland McGrath <roland@hack.frob.com>
41603
41604 * csu/elf-init.c (__libc_csu_init): Comment typo.
41605
41606 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41607
41608 * po/pl.po: Update from translation team.
41609 * po/ja.po: Likewise.
41610 * po/ru.po: Likewise.
41611 * po/ko.po: Likewise.
41612 * po/fr.po: Likewise.
41613
41614 2011-07-09 Roland McGrath <roland@hack.frob.com>
41615
41616 * configure.in (.ctors/.dtors header and trailer check):
41617 Use an empirical test on a built program.
41618 * configure: Regenerated.
41619
41620 * configure.in (-z relro check): Use an empirical test on a built DSO.
41621 Detect, but do not require, on ia64.
41622 * configure: Regenerated.
41623
41624 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41625 Update tests that use readelf to use $READELF instead.
41626 * configure: Regenerated.
41627
41628 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41629
41630 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41631 if the result is not used.
41632
41633 2011-07-05 Andreas Jaeger <aj@suse.de>
41634
41635 [BZ#9696]
41636 * stdlib/tst-strtod.c: Add testcase.
41637
41638 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41639
41640 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41641 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41642 The latter has a higher limit. Take additional parameter to pass to
41643 the new function.
41644 (__pathconf): Pass file to __statfs_link_max.
41645 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41646 __statfs_link_max.
41647 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41648 __statfs_link_max.
41649
41650 [BZ #12868]
41651 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41652 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41653 Handle Lustre.
41654 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41655 (__statfs_filesize_max): Likewise.
41656 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41657
41658 2011-07-05 Andreas Jaeger <aj@suse.de>
41659
41660 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41661
41662 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41663
41664 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41665 `status' variable.
41666 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41667 Likewise.
41668
41669 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41670
41671 * Makefile (strop-tests): Add strncat.
41672 * string/test-strncat.c: New file.
41673
41674 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41675
41676 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41677
41678 2011-06-21 Andreas Jaeger <aj@suse.de>
41679
41680 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41681 Copy rule from iconvdata/Makefile.
41682
41683 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41684
41685 [BZ #12922]
41686 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41687 but no long options are defined, just return 'W'.
41688
41689 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41690
41691 [BZ #9696]
41692 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41693
41694 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41695
41696 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41697 netgroups to read.
41698 (innetgr): Likewise.
41699
41700 2011-07-05 Roland McGrath <roland@hack.frob.com>
41701
41702 * config.make.in (install_root): Default to $(DESTDIR).
41703
41704 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41705
41706 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41707
41708 2011-07-02 Roland McGrath <roland@hack.frob.com>
41709
41710 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41711
41712 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41713 containing directory rather than embedding absolute directory names.
41714
41715 * scripts/check-local-headers.sh: Rewritten using awk.
41716 Match by word, not by line. Print error messages for matches.
41717 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41718
41719 * Makerules [shlib-lds-flags empty]:
41720 ($(common-objpfx)libc_pic.opts): New target.
41721 ($(common-objpfx)libc_pic.os.clean): New target.
41722 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41723
41724 * config.make.in (OBJCOPY): New variable.
41725 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41726 * configure: Regenerated.
41727
41728 * config.make.in (use-default-link): New variable.
41729 * configure.in (use_default_link): Grok --with-default-link to set it.
41730 * configure: Regenerated.
41731 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41732 (shlib-lds, shlib-lds-flags): Define to empty.
41733
41734 * Makerules (shlib-lds): New variable.
41735 (shlib-lds-flags): New variable.
41736 (build-shlib, build-moduile, build-module-asneeded): Use it.
41737 ($(common-objpfx)libc.so): Use $(shlib-lds).
41738 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41739 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41740
41741 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41742 DT_FLAGS/DT_FLAGS_1 with zero flags.
41743
41744 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41745 linker script munging.
41746
41747 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41748
41749 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41750 as 128-bit value.
41751 * crypt/sha512.c (sha512_process_block): Perform total addition using
41752 128-bit if possible.
41753 (__sha512_finish_ctx): Likewise.
41754 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41755 as 64-bit value.
41756 * crypt/sha256.c (SWAP64): Define.
41757 (sha256_process_block): Perform total addition using 64-bit if
41758 possible.
41759 (__sha256_finish_ctx): Likewise.
41760
41761 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41762
41763 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41764 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41765 * nscd/hstcache.c (cache_addhst): Likewise.
41766 * nscd/grpcache.c (cache_addgr): Likewise.
41767 * nscd/aicache.c (addhstaiX): Likewise
41768 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41769
41770 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41771
41772 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41773 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41774 * nscd/hstcache.c (cache_addhst): Likewise.
41775 * nscd/grpcache.c (cache_addgr): Likewise.
41776 * nscd/aicache.c (addhstaiX): Likewise
41777
41778 2011-07-01 Andreas Schwab <schwab@redhat.com>
41779
41780 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41781 domain only when needed.
41782
41783 2011-06-30 Andreas Schwab <schwab@redhat.com>
41784
41785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41786 is always restored.
41787
41788 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41789
41790 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41791 are re-adding the entry.
41792 * nscd/servicescache.c (cache_addserv): Likewise.
41793
41794 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41795
41796 * sysdeps/generic/dl-irel.h: fix protection against multiple
41797 inclusions.
41798 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41799
41800 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41801
41802 [BZ #12935]
41803 * malloc/memusage.sh: Fix quoting in message.
41804 * debug/xtrace.sh: Likewise.
41805
41806 * configure.in: Remove support for --experimental-malloc option, make
41807 it the default.
41808 * config.make.in: Likewise.
41809 * malloc/Makefile: Likewise.
41810
41811 2011-06-27 Andreas Schwab <schwab@redhat.com>
41812
41813 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41814 two-byte characters.
41815
41816 2011-06-27 Roland McGrath <roland@hack.frob.com>
41817
41818 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41819 AC_CACHE_CHECK invocation.
41820 * configure: Regenerated.
41821
41822 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41823
41824 2011-06-27 Ulrich Drepper <drepper@gmail.com>
41825
41826 [BZ #12350]
41827 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41828 bit from old_res_options.
41829
41830 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41831
41832 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41833 value type for setfct.
41834
41835 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41836
41837 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41838 __gettimeofday instead of gettimeofday.
41839
41840 2011-06-26 Ulrich Drepper <drepper@gmail.com>
41841
41842 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41843
41844 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41845
41846 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41847
41848 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41849 info.
41850
41851 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41852
41853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41854 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41855 strcpy-sse2-unaligned strncpy-sse2-unaligned
41856 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41857 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41858 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41859 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41860 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41861 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41862 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41863 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41864 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41865 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41866 (STRCPY): Support SSE2 and SSSE3 versions.
41867
41868 2011-06-24 Ulrich Drepper <drepper@gmail.com>
41869
41870 [BZ #12874]
41871 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41872 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41873 kernels which artificially limit size of requests.
41874
41875 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41876
41877 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41878 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41879 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41880 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41881 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41882 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41883 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41884 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41885 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41886 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41887 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41888 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41889 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41890 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41891 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41893 Enable unaligned load optimization for Intel Core i3, i5 and i7
41894 processors.
41895 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41896 Define.
41897 (index_Fast_Unaligned_Load): Define.
41898 (HAS_FAST_UNALIGNED_LOAD): Define.
41899
41900 2011-06-23 Marek Polacek <mpolacek@redhat.com>
41901
41902 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41903
41904 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41905
41906 [BZ #12907]
41907 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41908 until it is clear that the information is realy needed.
41909 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41910
41911 2011-06-22 Andreas Schwab <schwab@redhat.com>
41912
41913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41914
41915 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41916
41917 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41918 /sys/devices/system/cpu/online if it is usable.
41919
41920 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41921 reading the information from the /proc filesystem to once a second.
41922
41923 2011-06-21 Andreas Jaeger <aj@suse.de>
41924
41925 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41926 NULL after inclusion of kernel headers.
41927
41928 2011-06-21 Ulrich Drepper <drepper@gmail.com>
41929
41930 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41931 calls to internal_setent.
41932
41933 [BZ #12885]
41934 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41935 addresses using gethostbyname4_r ignore IPv4 addresses.
41936
41937 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41938 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41939
41940 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41941
41942 2011-06-20 David S. Miller <davem@davemloft.net>
41943
41944 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41945 inclusions.
41946 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41947
41948 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41949 (elf_irel): Use it.
41950 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41951 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41952 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41953 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41954 * sysdeps/x86_64/dl-irel.h: Likewise.
41955
41956 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41957 * elf/dl-sym.c: Likewise.
41958
41959 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41960
41961 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41962 need to dereference resplen2.
41963
41964 2011-06-14 Andreas Schwab <schwab@redhat.com>
41965
41966 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41967
41968 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41969
41970 * Makeconfig: Define vardbdir and inst_vardbdir.
41971 * nss/Makefile: Add rules to install db-Makefile.
41972
41973 * nss/nss_db/db-XXX.c: Cleanup.
41974
41975 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41976 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41977 GLIBC_PRIVATE.
41978 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41979 * nss/makedb.c: Implement -g option to specify that value strings
41980 are generated and should not be added to table iterated over for
41981 get*ent calls.
41982 * nss/nss_db/db-initgroups.c: New file.
41983
41984 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41985 interface.
41986
41987 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41988 (internal_getgrouplist): Adjust to name change.
41989 Update use_initgroups_entry if this is not the first call.
41990 * nss/databases.def: Add initgroups entry.
41991
41992 * nss/makedb.c (compute_tables): Check result of multiple hash table
41993 sizes to minimize maximum chain length.
41994
41995 2011-06-14 Ulrich Drepper <drepper@gmail.com>
41996
41997 * Versions.def: Add entry for libnss_db.
41998 * shlib-versions: Likewise.
41999 * nss/Makefile: Add rules to build libnss_db.
42000 * nss/Versions: Add libnss_db information. Organize libnss_files
42001 entries better.
42002 * nss/db-Makefile: Add gshadow support. Change rules for the new
42003 makedb progra. Some minor improvements to generate smaller files.
42004 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42005 here from...
42006 * nss/makedb.c: ...here.
42007 Improve database format to be smaller and require less memory at
42008 runtime.
42009 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42010 db anymore.
42011 * nss/nss_db/db-netgrp.c: Likewise.
42012 * nss/nss_db/db-open.c: Likewise.
42013 * nss/nss_files/flies-XXX.x: Adjust comments.
42014 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42015 * nss/nss_files/files-grp.c: Likewise.
42016 * nss/nss_files/files-hosts.c: Likewise.
42017 * nss/nss_files/files-network.c: Likewise.
42018 * nss/nss_files/files-proto.c: Likewise.
42019 * nss/nss_files/files-pwd.c: Likewise.
42020 * nss/nss_files/files-rpc.c: Likewise.
42021 * nss/nss_files/files-service.c: Likewise.
42022 * nss/nss_files/files-sgrp.c: Likewise.
42023 * nss/nss_files/files-spwd.c: Likewise.
42024 * nss/nss_db/db-alias.c: Removed.
42025 * nss/nss_db/dummy-db.h: Removed.
42026
42027 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42028
42029 * nss/makedb.c: Rewritten to not use database library.
42030 * nss/Makefile: Update to build new makedb program.
42031
42032 2011-06-14 Andreas Jaeger <aj@suse.de>
42033
42034 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42035 memset declaration.
42036
42037 2011-06-10 Andreas Schwab <schwab@redhat.com>
42038
42039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42040 tmpbuf.
42041
42042 2011-06-10 Roland McGrath <roland@hack.frob.com>
42043
42044 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42045 * elf/Makefile ($(objpfx)ld.so): Likewise.
42046
42047 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42048 Don't list ld.so twice in dependencies.
42049
42050 * posix/bug-regex31.c: Include <stdlib.h>.
42051
42052 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42053
42054 * nis/nss_compat/compat-spwd.c
42055 (getspent_next_nss_netgr): Remove unused variable.
42056 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42057
42058 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42059 nonmembers" output to use the right array.
42060
42061 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42062
42063 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42064
42065 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42066 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42067 * catgets/gencat.c (read_input_file): Likewise.
42068 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42069
42070 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42071 variable definition inside #if's controlling its use.
42072
42073 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42074
42075 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42076
42077 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42078
42079 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42080 unreachable code.
42081
42082 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42083
42084 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42085 * configure: Regenerated.
42086
42087 * Makerules: Revert last change.
42088 * elf/Makefile: Likewise.
42089
42090 2011-06-09 Roland McGrath <roland@hack.frob.com>
42091
42092 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42093 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42094 (reloc-link): Likewise.
42095
42096 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42097
42098 * elf/Makefile: Add rules to build pldd.
42099 * elf/pldd.c: New file.
42100 * elf/pldd-xx.c: New file.
42101
42102 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42103
42104 * version.h: Update for 2.15 development version.
42105
42106 2011-06-07 David S. Miller <davem@davemloft.net>
42107
42108 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42109 ifuncs.
42110 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42111 elf_machine_lazy_rel): Likewise.
42112 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42113 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42114 elf_machine_lazy_rel): Likewise.
42115 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42116 dl_hwcap via passed in argument.
42117 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42118 Likewise.
42119
42120 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42121
42122 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42123
42124 2011-06-06 Roland McGrath <roland@hack.frob.com>
42125
42126 [BZ #12849]
42127 * manual/fdl-1.1.texi: New file, verbatim from:
42128 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42129 * manual/lgpl-2.1.texi: New file, verbatim from:
42130 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42131 * manual/Makefile (licenses): New variable, list those new file names.
42132 (texis): Use it.
42133 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42134
42135 * manual/fdl.texi: File removed.
42136 * manual/lesser.texi: File removed.
42137 * manual/libc.texinfo (Copying, Documentation License):
42138 Use new @include file names, put @appendix directive before @include.
42139
42140 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42141
42142 [BZ #12841]
42143 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42144 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42145 (mq_open): Add __NTH.
42146
42147 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42148
42149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42150 Assume Intel Core i3/i5/i7 processor if AVX is available.
42151
42152 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42153
42154 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42155 typo.
42156
42157 2011-05-31 Andreas Schwab <schwab@redhat.com>
42158
42159 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42160 memory. Use alloca_account. Fix memory leak when retrying.
42161
42162 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42163
42164 * version.h (RELEASE): Bump for 2.14 release.
42165 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42166
42167 * config.make.in (RANLIB): Remove entry.
42168
42169 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42170
42171 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42172 (libc.pot): Work around missing support for .ksh extension in xgettext.
42173
42174 [BZ #12684]
42175 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42176 if both request failed.
42177 (send_dg): In case of server errors clear resplen or *resplen2.
42178
42179 [BZ #12454]
42180 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42181 when there are multiple maps.
42182 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42183 (_dl_fini): Remove test here.
42184
42185 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42186
42187 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42188
42189 [BZ #12350]
42190 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42191 bit from old_res_options.
42192 (gaih_inet): Likewise.
42193
42194 [BZ #11099]
42195 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42196 as signed.
42197
42198 * resolv/res_init.c (res_setoptions): Make the code more compact.
42199
42200 [BZ #11558]
42201 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42202 set RES_USEVC.
42203
42204 [BZ #11634]
42205 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42206
42207 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42208
42209 [BZ #11781]
42210 * malloc/malloc.h: Declare malloc hook variables as volatile.
42211
42212 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42213 in last patch.
42214
42215 [BZ #11799]
42216 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42217 raise in the comment.
42218 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42219 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42220 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42221
42222 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42223
42224 [BZ #12811]
42225 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42226 grow the buffers more if it already has to be sufficient.
42227 (build_wcs_upper_buffer): Likewise.
42228 * posix/regexec.c (check_matching): Likewise.
42229 (clean_state_log_if_needed): Likewise.
42230 (extend_buffers): Don't enlarge buffers beyond size of the input
42231 buffer.
42232 Patches mostly by Emil Wojak <emil@wojak.eu>.
42233 * posix/bug-regex32.c: New file.
42234 * posix/Makefile (tests): Add bug-regex32.
42235
42236 * locale/findlocale.c (_nl_find_locale): Return right away if
42237 _nl_explode_name failed.
42238 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42239
42240 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42241
42242 * debug/xtrace.sh: Unify messages.
42243 * malloc/memusage.sh: Likewise.
42244
42245 [BZ #12813]
42246 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42247 time symbol from vDSO. Substitute with vsyscall if not available.
42248 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42249 __vdso_time.
42250
42251 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42252 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42253 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42254 Add sendmmsg and internal_sendmmsg.
42255 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42256 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42257 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42258
42259 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42260 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42261 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42262
42263 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42264
42265 [BZ #12813]
42266 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42267 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42268 available.
42269 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42270 __vdso_getcpu.
42271
42272 [BZ #12814]
42273 * iconvdata/Makefile (tests): Add bug-iconv9.
42274 * iconvdata/bug-iconv9.c: New file.
42275
42276 2011-05-27 Andreas Schwab <schwab@redhat.com>
42277
42278 [BZ #12814]
42279 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42280
42281 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42282
42283 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42284 (struct user_regs_struct): Change intcs field back to cs.
42285
42286 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42287
42288 * po/ja.po: Update from translation team.
42289
42290 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42291
42292 [BZ #12795]
42293 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42294 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42295
42296 2011-05-20 Andreas Schwab <schwab@redhat.com>
42297
42298 * stdlib/longlong.h: Update from GCC.
42299
42300 2011-05-23 Andreas Schwab <schwab@redhat.com>
42301
42302 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42303 parameter name.
42304 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42305 Add parameter name.
42306 (__sysconf): Pass it down.
42307
42308 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42309
42310 [BZ #12671]
42311 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42312 some situations.
42313 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42314 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42315 add in in __libc_use_alloca calls. Adjust callers.
42316 (glob): Use malloc in some situations.
42317
42318 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42319 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42320 pltexit.
42321
42322 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42323
42324 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42325 and CLOCK_BOOTTIME_ALARM.
42326
42327 [BZ #12782]
42328 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42329 is returned.
42330
42331 * string/_strerror.c (__strerror_r): Print negative errors as signed
42332 numbers.
42333
42334 [BZ #12777]
42335 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42336 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42337 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42338
42339 * configure.in: Fix typo in redirection and correct removal of test
42340 files in two cases.
42341
42342 [BZ #12788]
42343 * locale/setlocale.c (new_composite_name): Fix test to check for
42344 identical name of all categories.
42345
42346 [BZ #12792]
42347 * libio/filedoalloc.c (local_isatty): New function.
42348 (_IO_file_doallocate): Use local_isatty.
42349 * stdio-common/perror.c (perror): In case a new stream is used
42350 forward the stream error.
42351 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42352 error flag.
42353
42354 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42355
42356 [BZ #11869]
42357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42358 alloca.
42359 * include/alloca.h (extend_alloca_account): Define.
42360
42361 [BZ #11857]
42362 * posix/regex.h: Fix comments with documentation of user-accessible
42363 fields after compilation and describe correct free'ing of pattern
42364 after re_compile_pattern.
42365 Patch by Reuben Thomas <rrt@sc3d.org>.
42366
42367 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42368
42369 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42370 and -mno-altivec to prevent the compiler from using Altivec and/or
42371 VSX instructions when the corresponding registers are not available.
42372
42373 2011-05-19 Andreas Schwab <schwab@redhat.com>
42374
42375 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42376
42377 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42378
42379 * libio/freopen.c (freopen): Use __dup2, not dup2.
42380 * libio/freopen64.c (freopen64): Likewise.
42381
42382 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42383
42384 [BZ #12775]
42385 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42386 * math/Makefile (tests): Add test-powl.
42387 (CFLAGS-test-powl.c): Define.
42388 * math/test-powl.c: New file.
42389
42390 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42391
42392 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42393
42394 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42395
42396 [BZ #11837]
42397 * iconvdata/gb18030.c: Update to GB18020-2005.
42398
42399 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42400
42401 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42402 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42403 Patch by Aharon Robbins <arnold@skeeve.com>.
42404
42405 [BZ #11892]
42406 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42407 on the stack.
42408
42409 [BZ #11895]
42410 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42411 through underflows.
42412
42413 [BZ #12766]
42414 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42415 point to strings before performing equality test for error_one_per_line
42416 mode.
42417
42418 [BZ #11697]
42419 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42420
42421 [BZ #11820]
42422 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42423 (struct user_fpregs_struct): Avoid __uint*_t types.
42424
42425 [BZ #6420]
42426 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42427 symbol info. Use it instead of calling _dl_addr locally.
42428 (lock_and_info): New function.
42429 (tr_freehook): Call lock_and_info and pass symbol info as additional
42430 parameter to tr_where.
42431 (tr_mallochook): Likewise.
42432 (tr_reallochook): Likewise.
42433 (tr_memalignhook): Likewise.
42434
42435 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42436 used and couldn't be at all thread-safe.
42437
42438 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42439
42440 * libio/freopen.c (freopen): Don't close old file descriptor
42441 before the new one is opened. Instead dup the new file descriptor
42442 to the old one after the new stream is created.
42443 * libio/freopen64.c (freopen64): Likewise.
42444 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42445 * libio/fileops.c (_IO_new_file_close_it): Handle new
42446 _IO_FLAGS2_NOCLOSE flag.
42447 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42448 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42449 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42450 _IO_FLAGS2_NOCLOSE flag.
42451 * include/unistd.h: Add hidden_proto for dup3.
42452 Define __have_dup3.
42453 * io/dup3.c: Define hidden symbol.
42454 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42455
42456 [BZ #7101]
42457 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42458 when an incomplete long option is used.
42459 * posix/tst-getopt_long1.c: New file.
42460 * posix/Makefile (tests): Add tst-getopt_long1.
42461
42462 [BZ #10138]
42463 * scripts/config.guess: Update from autoconf-2.68.
42464 * scripts/config.sub: Likewise.
42465
42466 [BZ #10157]
42467 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42468 tests into ...
42469 (has_cpuclock): ...this. New function.
42470 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42471 macro here based on has_cpuclock code.
42472
42473 [BZ #10149]
42474 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42475 First byte (not low byte) is now always NUL.
42476 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42477
42478 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42479 Use non-cancelable interfaces.
42480
42481 [BZ #9809]
42482 * locale/iso-639.def: Add entry for Sorani.
42483
42484 [BZ #11901]
42485 * include/stdlib.h: Move include protection to the right place.
42486 Define abort_msg_s. Declare __abort_msg with it.
42487 * stdlib/abort.c (__abort_msg): Adjust type.
42488 * assert/assert.c (__assert_fail_base): New function. Majority
42489 of code from __assert_fail. Allocate memory for __abort_msg with
42490 mmap.
42491 (__assert_fail): Now call __assert_fail_base.
42492 * assert/assert-perr.c: Remove bulk of implementation. Use
42493 __assert_fail_base.
42494 * include/assert.hL Declare __assert_fail_base.
42495 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42496 mmap.
42497 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42498
42499 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42500
42501 [BZ #11952]
42502 [BZ #12453]
42503 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42504 until all modules are registered in the DTV.
42505 * elf/Makefile: Add rules to build and run tst-tls19.
42506 * elf/tst-tls19.c: New file.
42507 * elf/tst-tls19mod1.c: New file.
42508 * elf/tst-tls19mod2.c: New file.
42509 * elf/tst-tls19mod3.c: New file.
42510 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42511
42512 [BZ #12083]
42513 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42514 correctly.
42515
42516 [BZ #12601]
42517 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42518 two-byte sequence errors.
42519 * iconvdata/Makefile (tests): Add bug-iconv8.
42520 * iconvdata/bug-iconv8.c: New file.
42521
42522 [BZ #12626]
42523 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42524 buf2 definition.
42525
42526 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42527
42528 [BZ #12432]
42529 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42530 (dummy_getcfa): New function.
42531 (init): Get _Unwind_GetCFA address, use dummy if not found.
42532 (backtrace_helper): In recursion check, also check whether CFA changes.
42533 (__backtrace): Completely initialize arg.
42534
42535 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42536 storing incomplete byte sequence in state object. Avoid testing for
42537 guaranteed too small input if we know there is enough data available.
42538
42539 2011-05-11 Andreas Schwab <schwab@redhat.com>
42540
42541 * Makeconfig (+link-pie): Indent.
42542 * Rules (binaries-pie): Define if $(have-fpie) and
42543 $(build-shared).
42544 (binaries-shared): Also filter out $(binaries-pie).
42545 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42546 * nscd/Makefile (others-pie): Add nscd.
42547 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42548 ($(objpfx)nscd): Remove command override.
42549 * login/Makefile (others-pie): Add pt_chown.
42550 ($(objpfx)pt_chown): Remove command override.
42551 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42552 remove command overrides.
42553
42554 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42555
42556 * libio/tst_putwc.c: Fix error messages.
42557
42558 [BZ #12724]
42559 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42560 currently writing and seek to current position when not.
42561 * libio/Makefile (tests): Add bug-fclose1.
42562 * libio/bug-fclose1.c: New file.
42563
42564 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42565
42566 [BZ #12511]
42567 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42568 don't set DF_1_NODELETE here.
42569 (do_lookup_x): When entering new entry test for copy relocation
42570 and if necessary set DF_1_NODELETE flag.
42571 * elf/tst-unique4.cc: New file.
42572 * elf/tst-unique4.h: New file.
42573 * elf/tst-unique4lib.cc: New file.
42574 * elf/Makefile: Add rules to build and run tst-unique4.
42575 Patch by Piotr Bury <pbury@goahead.com>.
42576
42577 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42578
42579 [BZ #12052]
42580 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42581
42582 [BZ #12625]
42583 * misc/mntent_r.c (addmntent): Flush the stream after the output
42584
42585 [BZ #12393]
42586 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42587 (is_trusted_path_normalize): Skip initial colon. Append slash
42588 to empty buffer. Duplicate is_trusted_path code but allow
42589 constructed patch to be prefix.
42590 (is_dst): Allow $ORIGIN followed by /.
42591 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42592 Correct testing of result of is_trusted_path_normalize
42593 (decompose_rpath): Fix warning.
42594
42595 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42596
42597 [BZ #11257]
42598 * grp/initgroups.c (internal_getgrouplist): When we found the service
42599 list through the initgroups entry in nsswitch.conf do not always
42600 continue on a successful lookup. Don't always use the
42601 __nss_group_database value if it is set.
42602 * nss/nsswitch.conf (initgroups): Change action for successful db
42603 lookup to continue for compatibility.
42604
42605 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42606
42607 [BZ #11532]
42608 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42609 and CP774 modules.
42610 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42611 and CP774 modules.
42612 * iconvdata/tst-tables.sh: Likewise.
42613 * iconvdata/cp770.c: New file.
42614 * iconvdata/cp771.c: New file.
42615 * iconvdata/cp772.c: New file.
42616 * iconvdata/cp773.c: New file.
42617 * iconvdata/cp774.c: New file.
42618 * iconvdata/testdata/CP770: New file.
42619 * iconvdata/testdata/CP770..UTF8: New file.
42620 * iconvdata/testdata/CP771: New file.
42621 * iconvdata/testdata/CP771..UTF8: New file.
42622 * iconvdata/testdata/CP772: New file.
42623 * iconvdata/testdata/CP772..UTF8: New file.
42624 * iconvdata/testdata/CP773: New file.
42625 * iconvdata/testdata/CP773..UTF8: New file.
42626 * iconvdata/testdata/CP774: New file.
42627 * iconvdata/testdata/CP774..UTF8: New file.
42628
42629 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42630 END CHARMAP line.
42631 * iconvdata/gen-8bit-gap.sh: Likewise.
42632 * iconvdata/gen-8bit.sh: Likewise.
42633
42634 * locale/iso-639.def: Add ary entry.
42635
42636 [BZ #11258]
42637 * locale/C-translit.h.in: Add U20A1 transliteration.
42638
42639 [BZ #12178]
42640 * locale/iso-639.def: Add wae entry.
42641 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42642
42643 [BZ #12545]
42644 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42645 for n.
42646
42647 [BZ #12711]
42648 * locale/C-translit.h.in: Add entry for U20B9.
42649 Patch by pravin.d.s@gmail.com.
42650
42651 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42652
42653 [BZ #12713]
42654 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42655 ENAMETOOLONG use generic getcwd.
42656 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42657 in rtld. Use *stat64.
42658 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42659 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42660 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42661 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42662 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42663 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42664 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42665 __fstatat64 macros.
42666 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42667 * dirent/rewinddir.c: Add libc_hidden_def.
42668 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42669 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42670
42671 * include/dirent.h (__alloc_dir): Add flags parameter.
42672 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42673 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42674 __alloc_dir.
42675 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42676 from fdopendir if O_CLOEXEC is already set.
42677
42678 2011-03-15 Alan Modra <amodra@gmail.com>
42679
42680 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42681 l_tls_firstbyte_offset non-zero. Save padding offset in
42682 l_tls_firstbyte_offset for later use.
42683 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42684 freeing static tls block.
42685
42686 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42687
42688 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42689 where #ifdef was intended. The intent is to prevent ARG_MAX from
42690 being defined by the kernel headers.
42691
42692 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42693
42694 [BZ #12734]
42695 * resolv/resolv.h: Define RES_NOTLDQUERY.
42696 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42697 no-tld-query and set RES_NOTLDQUERY.
42698 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42699 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42700 modern BIND to search name as TLD unless forbidden.
42701
42702 2011-05-07 Petr Baudis <pasky@suse.cz>
42703 Ulrich Drepper <drepper@gmail.com>
42704
42705 [BZ #12393]
42706 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42707 (is_trusted_path): ...to here.
42708 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42709 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42710 using is_trusted_path_normalize() in setuid scripts.
42711
42712 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42713
42714 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42715 __BEGIN/__END_DECLS.
42716
42717 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42718
42719 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42720 NSS_STATUS_NOTFOUND if no record was found.
42721
42722 2011-05-05 Andreas Schwab <schwab@redhat.com>
42723
42724 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42725 (headers-not-in-tirpc): Remove rpc/netdb.h
42726 * resolv/netdb.h: Revert last change.
42727
42728 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42729
42730 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42731 circular dependency between libgcc.a and libc.a.
42732
42733 2011-05-05 Andreas Schwab <schwab@redhat.com>
42734
42735 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42736 * nis/Makefile: Don't install rpcsvc/*.
42737 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42738 instead of <rpc/types.h>.
42739 (MAXHOSTNAMELEN): Define.
42740
42741 2011-05-03 Andreas Schwab <schwab@redhat.com>
42742
42743 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42744
42745 2011-04-28 Maciej Babinski <mbabinski@google.com>
42746
42747 [BZ #12714]
42748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42749 gethostbyname4_r when IPv6 results are possible.
42750
42751 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42752
42753 [BZ #12723]
42754 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42755 _PC_PIPE_BUF handling.
42756
42757 2011-04-30 Bruno Haible <bruno@clisp.org>
42758
42759 [BZ #12717]
42760 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42761 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42762 to 'int'.
42763 * inet/getnameinfo.c (getnameinfo): Likewise.
42764
42765 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42766
42767 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42768 to groups setting in database lookup.
42769 * nss/nsswitch.conf: Add initgroups entry.
42770
42771 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42772
42773 [BZ #12685]
42774 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42775 mode string.
42776 Patch by Eric Blake <eblake@redhat.com>.
42777
42778 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42779
42780 * sunrpc/Makefile (need-export-routines): Add svc_run.
42781 (routines): Remove svc_run.
42782 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42783 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42784 * sunrpc/svc_run.c (svc_run): Likewise.
42785 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42786
42787 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42788
42789 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42790 problem in reallocation in last patch.
42791
42792 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42793
42794 * sunrpc/Makefile: Move inclusion of Rules.
42795
42796 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42797
42798 * nss/nss_files/files-initgroups.c: New file.
42799 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42800 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42801 _nss_files_initgroups_dyn.
42802
42803 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42804
42805 * elf/elf.h (R_ARM_IRELATIVE): Define.
42806
42807 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42808
42809 * po/ru.po: Update from translation team.
42810
42811 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42812
42813 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42814 dependencies.
42815
42816 2011-02-06 Mike Frysinger <vapier@gentoo.org>
42817
42818 [BZ #12653]
42819 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42820 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42821 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42822 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42823 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42824
42825 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42826
42827 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42828 differing bytes.
42829 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42830 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42831 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42832
42833 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42834
42835 [BZ #12420]
42836 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42837 storing it.
42838 * stdlib/bug-getcontext.c: New file.
42839 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42840
42841 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42842
42843 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42844 instructions into .machine "z9-109".
42845 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42846 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42847
42848 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42849
42850 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42851 between environment variables and auxiliary vector.
42852
42853 2011-04-16 Ulrich Drepper <drepper@gmail.com>
42854
42855 * Makefile: Add rules to build linkobj/libc.so.
42856 * include/libc-symbols.h: Define libc_hidden_nolink.
42857 * include/rpc/auth.h: Mark functions which are to be hidden.
42858 * include/rpc/auth_des.h: Likewise.
42859 * include/rpc/auth_unix.h: Likewise.
42860 * include/rpc/clnt.h: Likewise.
42861 * include/rpc/des_crypt.h: Likewise.
42862 * include/rpc/key_prot.h: Likewise.
42863 * include/rpc/pmap_clnt.h: Likewise.
42864 * include/rpc/pmap_prot.h: Likewise.
42865 * include/rpc/pmap_rmt.h: Likewise.
42866 * include/rpc/rpc_msg.h: Likewise.
42867 * include/rpc/svc.h: Likewise.
42868 * include/rpc/svc_auth.h: Likewise.
42869 * include/rpc/xdr.h: Likewise.
42870 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42871 * nss/Makefile: Likewise.
42872 * sunrpc/Makefile: Don't install headers. Build library with normal
42873 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42874 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42875 for the compat linking library. Remove use of INTDEF/INTUSE.
42876 * sunrpc/auth_none.c: Likewise.
42877 * sunrpc/auth_unix.c: Likewise.
42878 * sunrpc/authdes_prot.c: Likewise.
42879 * sunrpc/authuxprot.c: Likewise.
42880 * sunrpc/clnt_gen.c: Likewise.
42881 * sunrpc/clnt_perr.c: Likewise.
42882 * sunrpc/clnt_raw.c: Likewise.
42883 * sunrpc/clnt_simp.c: Likewise.
42884 * sunrpc/clnt_tcp.c: Likewise.
42885 * sunrpc/clnt_udp.c: Likewise.
42886 * sunrpc/clnt_unix.c: Likewise.
42887 * sunrpc/des_crypt.c: Likewise.
42888 * sunrpc/des_soft.c: Likewise.
42889 * sunrpc/get_myaddr.c: Likewise.
42890 * sunrpc/key_call.c: Likewise.
42891 * sunrpc/key_prot.c: Likewise.
42892 * sunrpc/netname.c: Likewise.
42893 * sunrpc/pm_getmaps.c: Likewise.
42894 * sunrpc/pm_getport.c: Likewise.
42895 * sunrpc/pmap_clnt.c: Likewise.
42896 * sunrpc/pmap_prot.c: Likewise.
42897 * sunrpc/pmap_prot2.c: Likewise.
42898 * sunrpc/pmap_rmt.c: Likewise.
42899 * sunrpc/publickey.c: Likewise.
42900 * sunrpc/rpc_cmsg.c: Likewise.
42901 * sunrpc/rpc_common.c: Likewise.
42902 * sunrpc/rpc_dtable.c: Likewise.
42903 * sunrpc/rpc_prot.c: Likewise.
42904 * sunrpc/rpc_thread.c: Likewise.
42905 * sunrpc/rtime.c: Likewise.
42906 * sunrpc/svc.c: Likewise.
42907 * sunrpc/svc_auth.c: Likewise.
42908 * sunrpc/svc_authux.c: Likewise.
42909 * sunrpc/svc_raw.c: Likewise.
42910 * sunrpc/svc_run.c: Likewise.
42911 * sunrpc/svc_simple.c: Likewise.
42912 * sunrpc/svc_tcp.c: Likewise.
42913 * sunrpc/svc_udp.c: Likewise.
42914 * sunrpc/svc_unix.c: Likewise.
42915 * sunrpc/svcauth_des.c: Likewise.
42916 * sunrpc/xcrypt.c: Likewise.
42917 * sunrpc/xdr.c: Likewise.
42918 * sunrpc/xdr_array.c: Likewise.
42919 * sunrpc/xdr_float.c: Likewise.
42920 * sunrpc/xdr_intXX_t.c: Likewise.
42921 * sunrpc/xdr_mem.c: Likewise.
42922 * sunrpc/xdr_rec.c: Likewise.
42923 * sunrpc/xdr_ref.c: Likewise.
42924 * sunrpc/xdr_sizeof.c: Likewise.
42925 * sunrpc/xdr_stdio.c: Likewise.
42926
42927 2011-04-10 Ulrich Drepper <drepper@gmail.com>
42928
42929 [BZ #12650]
42930 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42931 * sysdeps/ia64/dl-tls.h: Likewise.
42932 * sysdeps/powerpc/dl-tls.h: Likewise.
42933 * sysdeps/s390/dl-tls.h: Likewise.
42934 * sysdeps/sh/dl-tls.h: Likewise.
42935 * sysdeps/sparc/dl-tls.h: Likewise.
42936 * sysdeps/x86_64/dl-tls.h: Likewise.
42937 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42938
42939 2011-03-14 Andreas Schwab <schwab@redhat.com>
42940
42941 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42942 rpath element also skip the following colon.
42943 (expand_dynamic_string_token): Add is_path parameter and pass
42944 down to DL_DST_REQUIRED and _dl_dst_substitute.
42945 (decompose_rpath): Call expand_dynamic_string_token with
42946 non-zero is_path. Ignore empty rpaths.
42947 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42948 with zero is_path.
42949
42950 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42951
42952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42953 Make cancelable.
42954
42955 2011-04-09 Ulrich Drepper <drepper@gmail.com>
42956
42957 [BZ #12655]
42958 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42959 Patch by Filipe David Manana <fdmanana@apache.org>.
42960
42961 2011-04-07 Andreas Schwab <schwab@redhat.com>
42962
42963 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42964 Maintain aligned stack.
42965 (CHECK_RSP): Remove unused macro.
42966
42967 2011-04-03 Ulrich Drepper <drepper@gmail.com>
42968
42969 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42970 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42971
42972 2011-04-02 Ulrich Drepper <drepper@gmail.com>
42973
42974 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42975
42976 * include/features.h: Mention __USE_XOPEN2K8 in comment.
42977
42978 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42979
42980 [BZ #12518]
42981 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42982 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42983 * sysdeps/x86_64/memmove.c: New file.
42984 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42985 (memcpy): Renamed to ...
42986 (__new_memcpy): This.
42987 (memcpy): Provide GLIBC_2_14 memcpy.
42988 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42989 (memcpy): Provide GLIBC_2_2_5 memcpy.
42990
42991 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42992
42993 [BZ #12631]
42994 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42995
42996 2011-03-30 Andreas Schwab <schwab@redhat.com>
42997
42998 * misc/syncfs.c: New file.
42999 * misc/Makefile (routines): Add syncfs.
43000 * posix/unistd.h: Declare syncfs.
43001 * sysdeps/unix/syscalls.list: Add syncfs.
43002
43003 2011-04-01 Andreas Schwab <schwab@redhat.com>
43004
43005 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43006 open_by_handle_at.
43007 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43008 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43009 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43010 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43012 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43013 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43014
43015 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43016
43017 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43018 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43019 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43020 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43021 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43022 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43023 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43024
43025 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43026 sync_file_range.c with -fexceptions.
43027 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43028 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43029 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43030 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43031 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43032 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43033 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43034 sync_file_range as cancellation point
43035 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43036 now a wrapper around __call_sync_file_range with cancellation handling.
43037 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43038 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43039 function name to __call_sync_file_range.
43040 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43041 Add call_sync_file_range.
43042
43043 2011-04-01 Andreas Schwab <schwab@redhat.com>
43044
43045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43046 bits/timex.h.
43047
43048 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43049
43050 * iconv/iconv.h: Fix typo in comment.
43051 * io/fcntl.h: Likewise.
43052 * libio/stdio.h: Likewise.
43053 * posix/spawn.h: Likewise.
43054 * posix/unistd.h: Likewise.
43055 * stdlib/stdlib.h: Likewise.
43056 * time/time.h: Likewise.
43057 * wcsmbs/wchar.h: Likewise.
43058
43059 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43060 open_by_handle): Add.
43061 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43062 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43063 Augment a few comments.
43064 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43066 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43068 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43069 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43070 open_by_handle.
43071
43072 * io/fcntl.h (AT_EMPTY_PATH): Define.
43073
43074 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43075
43076 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43077 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43078 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43079 to...
43080 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43081 * Versions.def: Add GLIBC_2.14.
43082 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43083 Export.
43084
43085 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43086
43087 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43088 round counter.
43089 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43090
43091 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43092
43093 [BZ #12597]
43094 * string/test-strncmp.c (do_page_test): New function.
43095 (check2): Likewise.
43096 (test_main): Call check2.
43097 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43098
43099 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43100
43101 [BZ #12587]
43102 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43103 Handle cache information in CPU leaf 4.
43104 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43105
43106 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43107
43108 [BZ #12583]
43109 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43110 character representation.
43111 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43112
43113 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43114
43115 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43116 END(__isnan) to END(__isnanf) to match function entry point/label
43117 EALIGN(__isnanf,...).
43118
43119 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43120
43121 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43122
43123 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43124
43125 [BZ #12510]
43126 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43127 copy from the symbol referenced in the relocation to initialize the
43128 used variable.
43129 Patch by Piotr Bury <pbury@goahead.com>.
43130 * elf/Makefile: Add rules to build and tst-unique3.
43131 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43132 * elf/tst-unique3.cc: New file.
43133 * elf/tst-unique3.h: New file.
43134 * elf/tst-unique3lib.cc: New file.
43135 * elf/tst-unique3lib2.cc: New file.
43136
43137 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43138
43139 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43140
43141 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43142 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43143 to _start.
43144
43145 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43146
43147 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43148 to-be-loaded object along a path to loader is ld.so.
43149
43150 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43151 Ulrich Drepper <drepper@gmail.com>
43152
43153 * sysdeps/x86_64/memset.S: After aligning destination, code
43154 branches to different locations depending on the value of
43155 misalignment, when multiarch is enabled. Fix this.
43156
43157 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43158
43159 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43160 Set _x86_64_preferred_memory_instruction for AMD processsors.
43161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43162 Set bit_Prefer_SSE_for_memop for AMD processors.
43163
43164 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43165
43166 * libio/fmemopen.c (fmemopen): Optimize a bit.
43167
43168 2011-03-03 Andreas Schwab <schwab@redhat.com>
43169
43170 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43171
43172 2011-03-03 Roland McGrath <roland@redhat.com>
43173
43174 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43175
43176 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43177
43178 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43179 __bzero_ultra1 instead of __memset_ultra1.
43180
43181 2011-02-23 Andreas Schwab <schwab@redhat.com>
43182 Ulrich Drepper <drepper@gmail.com>
43183
43184 [BZ #12509]
43185 * include/link.h (struct link_map): Add l_orig_initfini.
43186 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43187 returning unsuccessfully.
43188 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43189 close of a file loaded at startup, restore the original l_initfini
43190 list.
43191 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43192 list, store the pointer.
43193 * elf/Makefile ($(objpfx)noload-mem): New rule.
43194 (noload-ENV): Define.
43195 (tests): Add $(objpfx)noload-mem.
43196 * elf/noload.c: Include <memcheck.h>.
43197 (main): Call mtrace. Close all opened handles.
43198
43199 2011-02-17 Andreas Schwab <schwab@redhat.com>
43200
43201 [BZ #12454]
43202 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43203 dependencies are missing.
43204
43205 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43206
43207 Fix __if_freereq crash: Unlike the generic version which uses free,
43208 Hurd needs munmap.
43209 * sysdeps/mach/hurd/ifreq.h: New file.
43210
43211 2011-01-27 Petr Baudis <pasky@suse.cz>
43212 Ulrich Drepper <drepper@gmail.com>
43213
43214 [BZ 12445]#
43215 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43216 to extend_alloca().
43217 * stdio-common/bug23.c: New file.
43218 * stdio-common/Makefile (tests): Add bug23.
43219
43220 2010-09-28 Andreas Schwab <schwab@redhat.com>
43221 Ulrich Drepper <drepper@gmail.com>
43222
43223 [BZ #12489]
43224 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43225 before performing relro protection. At old place add assertion
43226 to make sure nothing changed.
43227
43228 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43229 Glauber de Oliveira Costa <glommer@gmail.com>
43230
43231 * elf/elf.h: Add new ARM TLS relocs.
43232
43233 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43234
43235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43236 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43237 cast from r3.
43238 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43239 'tests' variable.
43240 * sysdeps/wordsize-64/tst-writev.c: New file.
43241
43242 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43243
43244 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43245 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43246 insns in _dl_start to prevent a TOC reference before relocs are
43247 resolved.
43248
43249 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43250
43251 [BZ #12469]
43252 * Makeconfig: Remove RANLIB definition.
43253 * Makerules: Don't use RANLIB.
43254 * aclocal.m4: Remove ranlib test.
43255 * configure.in: No need to check for ranlib.
43256 * elf/rtld-Rules: Don't use RANLIB.
43257
43258 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43259
43260 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43261 protection macro.
43262 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43263 inclusion protection macro.
43264
43265 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43266 SIGRTMIN and SIGRTMAX and print information in that case only when
43267 SIGRTMIN is defined.
43268
43269 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43270
43271 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43272 arginfo fn returning -1.
43273
43274 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43275 and thousands string is zero terminated.
43276
43277 2011-02-03 Andreas Schwab <schwab@redhat.com>
43278
43279 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43280 sysdeps/unix/sysv/linux/bits/socket.h.
43281
43282 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43283
43284 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43285 (__CPU_COUNT): Remove old macros.
43286 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43287 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43288 (__CPU_ALLOC, __CPU_FREE): Add macros.
43289 (__sched_cpualloc, __sched_cpufree): Add declarations.
43290
43291 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43292
43293 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43294 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43295 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43296 (readdhstai): Return value of addhstaiX call.
43297 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43298 (addgrbyX): Return value returned by cache_addgr.
43299 (readdgrbyname): Return value returned by addgrbyX.
43300 (readdgrbygid): Likewise.
43301 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43302 (addpwbyX): Return value returned by cache_addpw.
43303 (readdpwbyname): Return value returned by addhstbyX.
43304 (readdpwbyuid): Likewise.
43305 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43306 (addservbyX): Return value returned by cache_addserv.
43307 (readdservbyname): Return value returned by addservbyX:
43308 (readdservbyport): Likewise.
43309 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43310 (addhstbyX): Return value returned by cache_addhst.
43311 (readdhstbyname): Return value returned by addhstbyX.
43312 (readdhstbyaddr): Likewise.
43313 (readdhstbynamev6): Likewise.
43314 (readdhstbyaddrv6): Likewise.
43315 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43316 (readdinitgroups): Return value returned by addinitgroupsX.
43317 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43318 (prune_cache): Keep track of timeout value of re-added entries.
43319 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43320 * nscd/nscd.h: Adjust prototypes of readd* functions.
43321
43322 2011-02-04 Roland McGrath <roland@redhat.com>
43323
43324 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43325 (nis_stats): Likewise.
43326 * nis/nis_modify.c (nis_modify): Likewise.
43327 * nis/nis_remove.c (nis_remove): Likewise.
43328 * nis/nis_add.c (nis_add): Likewise.
43329
43330 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43331
43332 * posix/fnmatch_loop.c: Add some consts.
43333
43334 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43335
43336 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43337
43338 [BZ #12460]
43339 * config.make.in (config-cflags-novzeroupper): Define.
43340 * configure.in: Substitute libc_cv_cc_novzeroupper.
43341 * elf/Makefile (AVX-CFLAGS): Define.
43342 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43343 (CFLAGS-tst-auditmod4a.c): Likewise.
43344 (CFLAGS-tst-auditmod4b.c): Likewise.
43345 (CFLAGS-tst-auditmod6b.c): Likewise.
43346 (CFLAGS-tst-auditmod6c.c): Likewise.
43347 (CFLAGS-tst-auditmod7b.c): Likewise.
43348 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43349
43350 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43351
43352 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43353 function to the callback.
43354 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43355
43356 2011-02-02 Andreas Schwab <schwab@redhat.com>
43357
43358 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43359 of errno.
43360
43361 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43362
43363 [BZ #11724]
43364 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43365 of constructors.
43366 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43367 of destructors.
43368 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43369
43370 [BZ #11724]
43371 * elf/Makefile: Add rules to build and run new test.
43372 * elf/tst-initorder.c: New file.
43373 * elf/tst-initorder.exp: New file.
43374 * elf/tst-initordera1.c: New file.
43375 * elf/tst-initordera2.c: New file.
43376 * elf/tst-initordera3.c: New file.
43377 * elf/tst-initordera4.c: New file.
43378 * elf/tst-initorderb1.c: New file.
43379 * elf/tst-initorderb2.c: New file.
43380 * elf/tst-order-a1.c: New file.
43381 * elf/tst-order-a2.c: New file.
43382 * elf/tst-order-a3.c: New file.
43383 * elf/tst-order-a4.c: New file.
43384 * elf/tst-order-b1.c: New file.
43385 * elf/tst-order-b2.c: New file.
43386 * elf/tst-order-main.c: New file.
43387 New test case by George Gensure <werkt0@gmail.com>.
43388
43389 2010-10-01 Andreas Schwab <schwab@redhat.com>
43390
43391 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43392 decoding ACE if AI_CANONIDN.
43393
43394 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43395
43396 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43397
43398 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43399
43400 * version.h (RELEASE): Bump for 2.13 release.
43401 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43402
43403 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43404
43405 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43406 MADV_NOHUGEPAGE.
43407 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43408 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43409 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43410 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43411 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43412 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43413
43414 * posix/getconf.c: Update copyright year.
43415 * catgets/gencat.c: Likewise.
43416 * csu/version.c: Likewise.
43417 * debug/catchsegv.sh: Likewise.
43418 * debug/xtrace.sh: Likewise.
43419 * elf/ldconfig.c: Likewise.
43420 * elf/ldd.bash.in: Likewise.
43421 * elf/sprof.c (print_version): Likewise.
43422 * iconv/iconv_prog.c: Likewise.
43423 * iconv/iconvconfig.c: Likewise.
43424 * locale/programs/locale.c: Likewise.
43425 * locale/programs/localedef.c: Likewise.
43426 * malloc/memusage.sh: Likewise.
43427 * malloc/mtrace.pl: Likewise.
43428 * nscd/nscd.c (print_version): Likewise.
43429 * nss/getent.c: Likewise.
43430
43431 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43432 PF_CAIF, and PF_ALG.
43433 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43434
43435 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43436
43437 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43438 (modules-names): Use them.
43439 (ifunc-test-modules, ifunc-pie-tests): Define.
43440 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43441 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43442 (test-extras): Likewise.
43443 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43444 $(compile-command.c).
43445 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43446 (all-built-dso): Define.
43447 (check-textrel.out, check-execstack.out): Depend on it.
43448
43449 * configure.in: Don't override --enable-multi-arch.
43450
43451 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43452
43453 [BZ #6812]
43454 * nscd/hstcache.c (tryagain): Define.
43455 (cache_addhst): Return tryagain not notfound for temporary errors.
43456 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43457 failed.
43458
43459 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43460
43461 [BZ #10563]
43462 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43463 to make the syscall.
43464 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43465
43466 [BZ #12378]
43467 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43468 and fall back to matching as normal character if the string ends before
43469 the matching ']' is found. This is what POSIX requires.
43470 * posix/testfnm.c: Adjust test result.
43471 * posix/globtest.sh: Adjust test result. Add new test.
43472 * posix/tst-fnmatch.input: Likewise.
43473 * posix/tst-fnmatch2.c: Add new test.
43474
43475 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43476
43477 * elf/Makefile (check-execstack): Revert last change. Depend on
43478 check-execstack.h.
43479 (check-execstack.h): New target.
43480 (generated): Add check-execstack.h.
43481 * elf/check-execstack.c: Include "check-execstack.h".
43482 (main): Revert last change.
43483 (handle_file): Return zero if GNU_STACK is absent and
43484 DEFAULT_STACK_PERMS doesn't include PF_X.
43485
43486 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43487
43488 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43489 in child fails because the descriptor is already closed.
43490 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43491 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43492 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43493
43494 [BZ #12397]
43495 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43496 syscall.
43497
43498 [BZ #10484]
43499 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43500 temporary buffer used to handle multi lookups locally.
43501 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43502
43503 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43504
43505 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43506 loader is ld.so.
43507
43508 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43509
43510 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43511 alignment for SSE2.
43512
43513 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43514
43515 [BZ #12394]
43516 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43517 characters. When rounding increased number of integer digits recompute
43518 number of groups.
43519 * stdio-common/tst-grouping.c: New file.
43520 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43521
43522 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43523
43524 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43525 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43526
43527 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43528 void.
43529 * bits/select.h: Likewise.
43530
43531 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43532
43533 * po/ja.po: Update from translation team.
43534
43535 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43536
43537 [BZ #11155]
43538 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43539 implementation just like for lxstat, fxstatat, et al.
43540
43541 2010-12-27 Jim Meyering <meyering@redhat.com>
43542
43543 [BZ #12348]
43544 * posix/regexec.c (build_trtable): Return failure indication upon
43545 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43546
43547 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43548
43549 [BZ #12201]
43550 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43551 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43552 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43553 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43554
43555 [BZ #12207]
43556 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43557
43558 [BZ #12204]
43559 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43560 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43561
43562 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43563
43564 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43565 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43566 script has SORT_BY_INIT_PRIORITY.
43567 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43568 NO_CTORS_DTORS_SECTIONS is defined.
43569 * elf/soinit.c: Likewise.
43570 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43571 NO_CTORS_DTORS_SECTIONS is defined.
43572 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43573 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43574 * sysdeps/sh/init-first.c: Likewise.
43575 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43576
43577 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43578
43579 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43580 always use the slow path.
43581
43582 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43583
43584 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43585 similar rule which adds the sysdep directories to the header search in
43586 order to pick up the correct platform stackinfo.h.
43587 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43588 perform test if it is, otherwise return successfully without testing.
43589 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43590 DEFAULT_STACK_PERMS define in stackinfo.h.
43591 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43592 defined in stackinfo.h.
43593 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43594 DEFAULT_STACK_PERMS defined in stackinfo.h.
43595 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43596 * sysdeps/ia64/stackinfo.h: Likewise.
43597 * sysdeps/s390/stackinfo.h: Likewise.
43598 * sysdeps/sh/stackinfo.h: Likewise.
43599 * sysdeps/sparc/stackinfo.h: Likewise.
43600 * sysdeps/x86_64/stackinfo.h: Likewise.
43601 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43602 PF_X for powerpc64. Retain PF_X for powerpc32.
43603
43604 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43605
43606 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43607 accurately.
43608 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43609 GETDENTS_64BIT_ALIGNED.
43610
43611 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43612
43613 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43614
43615 2010-12-10 Andreas Schwab <schwab@redhat.com>
43616
43617 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43618 _GNU_SOURCE.
43619
43620 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43621 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43622 Remove __restrict.
43623 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43624 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43625
43626 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43627
43628 [BZ #11655]
43629 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43630 are initialized.
43631
43632 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43633
43634 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43635
43636 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43637
43638 * po/it.po: Update from translation team.
43639
43640 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43641
43642 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43643 unused codes.
43644
43645 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43646
43647 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43648
43649 2010-11-24 Andreas Schwab <schwab@redhat.com>
43650
43651 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43652 specially.
43653 (gaih_getanswer_slice): Likewise.
43654
43655 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43656
43657 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43658
43659 2010-05-31 Petr Baudis <pasky@suse.cz>
43660
43661 [BZ #11149]
43662 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43663 silently even in the chroot mode.
43664
43665 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43666
43667 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43668 last patch a bit. Pretty printing
43669
43670 2010-05-31 Petr Baudis <pasky@suse.cz>
43671
43672 [BZ #10085]
43673 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43674 initialization of skip_initgroups_dyn.
43675
43676 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43677
43678 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43679 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43680
43681 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43682
43683 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43684
43685 2010-11-11 Andreas Schwab <schwab@redhat.com>
43686
43687 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43688 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43689 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43690 ($(objpfx)tst-fnmatch-mem): New rule.
43691 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43692 * posix/tst-fnmatch.c (main): Call mtrace.
43693
43694 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43695
43696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43697 Support Intel processor model 6 and model 0x2c.
43698
43699 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43700
43701 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43702 signed comparison.
43703
43704 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43705
43706 [BZ #12205]
43707 * string/test-strncasecmp.c (check_result): New function.
43708 (do_one_test): Use it.
43709 (check1): New function.
43710 (test_main): Use it.
43711 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43712 Support strcasecmp and strncasecmp.
43713
43714 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43715
43716 [BZ #12194]
43717 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43718 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43719
43720 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43721
43722 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43723 IFUNC support.
43724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43725 memset-x86-64.
43726 * sysdeps/x86_64/multiarch/bzero.S: New file.
43727 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43728 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43729 * sysdeps/x86_64/multiarch/memset.S: New file.
43730 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43732 Set bit_Prefer_SSE_for_memop for Intel processors.
43733 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43734 Define.
43735 (index_Prefer_SSE_for_memop): Define.
43736 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43737
43738 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43739
43740 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43741 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43742
43743 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43744
43745 [BZ #12191]
43746 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43747 (__x86_64_raw_data_cache_size_half): Likewise.
43748 (__x86_64_raw_shared_cache_size): Likewise.
43749 (__x86_64_raw_shared_cache_size_half): Likewise.
43750
43751 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43752 (__x86_64_raw_data_cache_size_half): Likewise.
43753 (__x86_64_raw_shared_cache_size): Likewise.
43754 (__x86_64_raw_shared_cache_size_half): Likewise.
43755 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43756 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43757 and __x86_64_raw_shared_cache_size_half. Round
43758 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43759 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43760 to multiple of 256 bytes.
43761
43762 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43763
43764 [BZ #12167]
43765 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43766 of inacessible symlinks. Verify result of symlink before returning it.
43767 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43768 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43769
43770 2010-10-28 Erich Ritz <erichritz@gmail.com>
43771
43772 * math/math.h (isinf): Fix typo in comment.
43773
43774 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43775
43776 * po/da.po: Update from translation team.
43777
43778 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43779
43780 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43781 is added to the list.
43782
43783 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43784 Ulrich Drepper <drepper@gmail.com>
43785
43786 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43787 the global list here. Move code to...
43788 (_dl_add_to_namespace_list): ...here. New function.
43789 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43790 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43791 * elf/dl-load.c (lose): Don't remove the element from the list.
43792 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43793 (_dl_map_object): Likewise.
43794
43795 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43796
43797 [BZ #12159]
43798 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43799 into all bytes of SSE register.
43800 Patch by Richard Li <richardpku@gmail.com>.
43801
43802 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43803
43804 [BZ #12140]
43805 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43806 perturbing.
43807
43808 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43809
43810 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43811 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43812 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43813 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43815 submachine.
43816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43817
43818 2010-10-22 Andreas Schwab <schwab@redhat.com>
43819
43820 * include/dlfcn.h (__RTLD_SECURE): Define.
43821 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43822 mode & __RTLD_SECURE instead.
43823 (open_path): Rename preloaded parameter to secure.
43824 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43825 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43826 * elf/dl-deps.c (openaux): Likewise.
43827 * elf/rtld.c (struct map_args): Remove is_preloaded.
43828 (map_doit): Don't use it.
43829 (dl_main): Likewise.
43830 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43831 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43832
43833 2010-09-09 Andreas Schwab <schwab@redhat.com>
43834
43835 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43836 (sysd-rules-targets): Remove duplicates.
43837 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43838 rtld-%.$o dependency.
43839
43840 2010-10-18 Andreas Schwab <schwab@redhat.com>
43841
43842 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43843 _dl_map_object do it.
43844
43845 2010-10-19 Ulrich Drepper <drepper@gmail.com>
43846
43847 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43848 fast fma builtins, define the macros in the C99 standard.
43849 (FP_FAST_FMAF): Likewise.
43850 (FP_FAST_FMAL): Likewise.
43851 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43852
43853 * bits/mathdef.h: Update copyright year.
43854 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43855
43856 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43857
43858 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43859 builtins, define the macros in the C99 standard.
43860 (FP_FAST_FMAF): Likewise.
43861 (FP_FAST_FMAL): Likewise.
43862 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43863 multiply/add.
43864 (FP_FAST_FMAF): Likewise.
43865
43866 2010-10-15 Jakub Jelinek <jakub@redhat.com>
43867
43868 [BZ #3268]
43869 * math/libm-test.inc (fma_test): Some new testcases.
43870 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43871 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43872 y and infinite z. Do multiplication by C already in long double.
43873 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43875 y and infinite z. Do bitwise or of inexact bit into u.d.
43876 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43877 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43878 * sysdeps/i386/fpu/s_fma.S: Removed.
43879 * sysdeps/i386/fpu/s_fmal.S: Removed.
43880
43881 2010-10-16 Jakub Jelinek <jakub@redhat.com>
43882
43883 [BZ #3268]
43884 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43885 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43886 computation is not scheduled after fetestexcept. Fix value
43887 of minimum denormal long double.
43888
43889 2010-10-14 Jakub Jelinek <jakub@redhat.com>
43890
43891 [BZ #3268]
43892 * math/libm-test.inc (fma_test): Add some more tests.
43893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43894 correctly.
43895
43896 2010-10-15 Andreas Schwab <schwab@redhat.com>
43897
43898 * scripts/data/localplt-s390-linux-gnu.data: New file.
43899 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43900
43901 2010-10-13 Jakub Jelinek <jakub@redhat.com>
43902
43903 [BZ #3268]
43904 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43905 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43906 instead of dbl-64.
43907 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43908 inlines.
43909 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43911 if one of x and y is very large and the other is subnormal.
43912 * sysdeps/s390/fpu/s_fmaf.c: New file.
43913 * sysdeps/s390/fpu/s_fma.c: New file.
43914 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43915 * sysdeps/powerpc/fpu/s_fma.S: New file.
43916 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43917 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43918 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43919
43920 2010-10-12 Jakub Jelinek <jakub@redhat.com>
43921
43922 [BZ #3268]
43923 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43924 fma tests.
43925 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43926 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43927 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43928 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43929 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43930 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43931 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43932
43933 2010-10-12 Ulrich Drepper <drepper@redhat.com>
43934
43935 [BZ #12078]
43936 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43937 * posix/bug-regex31.input: Add test case.
43938
43939 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43940
43941 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43942 * posix/bug-regex31.input: New file.
43943
43944 [BZ #12078]
43945 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43946 (parse_sub_exp): Fix last change, use postorder.
43947
43948 * posix/bug-regex31.c: New file.
43949 * posix/Makefile: Add rules to build and run bug-regex31.
43950
43951 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43952
43953 [BZ #12078]
43954 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43955
43956 [BZ #12108]
43957 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43958 to have entries in sys_siglist.
43959
43960 [BZ #12093]
43961 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43962 be NULL.
43963
43964 2010-10-07 Jakub Jelinek <jakub@redhat.com>
43965
43966 [BZ #3268]
43967 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43968 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43969 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43970 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43971 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43972 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43973 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43974 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43975 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43976 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43977 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43978 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43979 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43980 * math/ftestexcept.c (fetestexcept): Likewise.
43981 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43982 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43983 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43984 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43985 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43986 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43987 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43988
43989 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43990
43991 [BZ #12107]
43992 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43993 newline.
43994
43995 2010-10-06 Ulrich Drepper <drepper@gmail.com>
43996
43997 * string/bug-strstr1.c: New file.
43998 * string/Makefile: Add rules to build and run bug-strstr1.
43999
44000 2010-10-05 Eric Blake <eblake@redhat.com>
44001
44002 [BZ #12092]
44003 * string/str-two-way.h (two_way_long_needle): Always clear memory
44004 when skipping input due to the shift table.
44005
44006 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44007
44008 [BZ #12005]
44009 * malloc/mcheck.c: Handle large requests.
44010
44011 [BZ #12077]
44012 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44013 for strncmp and strncasecmp.
44014 * string/stratcliff.c: Add tests for strcmp and strncmp.
44015 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44016
44017 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44018
44019 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44020 __set_fpscr.
44021
44022 2010-09-30 Andreas Jaeger <aj@suse.de>
44023
44024 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44025 (CGROUP_SUPER_MAGIC): Define.
44026 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44027 Handle btrfs and cgroup file systems.
44028 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44029 Likewise.
44030
44031 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44032
44033 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44034 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44035
44036 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44037
44038 [BZ #12067]
44039 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44040 trying to locate the ELF header.
44041
44042 2010-09-27 Andreas Schwab <schwab@redhat.com>
44043
44044 [BZ #11611]
44045 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44046 Mask out sign-bit copies when constructing f_fsid.
44047
44048 2010-09-24 Petr Baudis <pasky@suse.cz>
44049
44050 * debug/stack_chk_fail_local.c: Add missing licence exception.
44051 * debug/warning-nop.c: Likewise.
44052
44053 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44054
44055 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44056 implementing getdents64 using getdents syscall, set d_type if
44057 __ASSUME_GETDENTS32_D_TYPE.
44058
44059 2010-09-16 Andreas Schwab <schwab@redhat.com>
44060
44061 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44062 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44063
44064 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44065
44066 [BZ #12037]
44067 * posix/unistd.h: Undo change of feature selection for ftruncate from
44068 2010-01-11.
44069
44070 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44071
44072 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44073 detection.
44074
44075 2010-09-20 Andreas Schwab <schwab@redhat.com>
44076
44077 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44078 fanotify_mark.
44079 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44080
44081 2010-09-14 Andreas Schwab <schwab@redhat.com>
44082
44083 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44084 variables after CHECK_SP call.
44085 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44086
44087 2010-09-13 Andreas Schwab <schwab@redhat.com>
44088 Ulrich Drepper <drepper@redhat.com>
44089
44090 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44091 re-relocationg ld.so.
44092 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44093 _dl_init_paths call.
44094 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44095 here anymore.
44096
44097 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44098
44099 * resolv/res_init.c (__res_vinit): Count the default server we added.
44100
44101 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44102 Ulrich Drepper <drepper@redhat.com>
44103
44104 [BZ #11968]
44105 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44106 (____longjmp_chk): Use %ebx for saving value across system call.
44107 Add unwind info.
44108
44109 2010-09-06 Andreas Schwab <schwab@redhat.com>
44110
44111 * manual/Makefile: Don't mix pattern rules with normal rules.
44112
44113 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44114
44115 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44116 operation.
44117 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44118 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44119 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44120 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44121 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44122 Likewise.
44123
44124 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44125
44126 [BZ #11979]
44127 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44128 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44129
44130 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44131
44132 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44133 * sysdeps/x86_64/addmul_1.S: Likewise.
44134 * sysdeps/x86_64/lshift.S: Likewise.
44135 * sysdeps/x86_64/mul_1.S: Likewise.
44136 * sysdeps/x86_64/rshift.S: Likewise.
44137 * sysdeps/x86_64/sub_n.S: Likewise.
44138 * sysdeps/x86_64/submul_1.S: Likewise.
44139
44140 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44141
44142 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44143 Define __sched_param instead of SCHED_* and sched_param when
44144 <bits/sched.h> is included with __need_schedparam defined.
44145 * bits/sched.h [__need_schedparam]
44146 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44147 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44148 (__defined_schedparam): Define to 1.
44149 (__sched_param): New structure, identical to sched_param.
44150 (__need_schedparam): Undefine.
44151
44152 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44153
44154 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44155 (epoll_create1): Declare.
44156
44157 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44158
44159 2010-08-31 Andreas Schwab <schwab@redhat.com>
44160
44161 [BZ #7066]
44162 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44163 shifting retval into place.
44164
44165 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44166
44167 * nis/rpcsvc/nis.h: Update copyright notice.
44168 * nis/rpcsvc/nis.x: Likewise.
44169 * nis/rpcsvc/nis_callback.h: Likewise.
44170 * nis/rpcsvc/nis_callback.x: Likewise.
44171 * nis/rpcsvc/nis_object.x: Likewise.
44172 * nis/rpcsvc/nis_tags.h: Likewise.
44173 * nis/rpcsvc/yp.h: Likewise.
44174 * nis/rpcsvc/yp.x: Likewise.
44175 * nis/rpcsvc/ypupd.h: Likewise.
44176 * nis/yp_xdr.c: Likewise.
44177 * nis/ypupdate_xdr.c: Likewise.
44178
44179 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44180 mainly the body of pmap_getport. Add parameters to specify timeouts.
44181 (pmap_getport): Use __libc_rpc_getport.
44182 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44183 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44184 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44185
44186 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44187
44188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44189 fanotify_mark.
44190
44191 2010-08-27 Roland McGrath <roland@redhat.com>
44192
44193 * sysdeps/i386/i686/multiarch/Makefile
44194 (CFLAGS-varshift.c): New variable.
44195
44196 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44197
44198 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44199 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44200
44201 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44202
44203 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44204
44205 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44206
44207 * sysdeps/x86_64/strlen.S: Unroll the loop.
44208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44209 strlen-sse2 strlen-sse2-bsf.
44210 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44211 __strlen_no_bsf if bit_Slow_BSF is set.
44212 (__strlen_sse42): Removed.
44213 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44214 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44215
44216 2010-08-25 Roland McGrath <roland@redhat.com>
44217
44218 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44219 * sysdeps/x86_64/multiarch/varshift.c: New file.
44220 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44221 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44222 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44223 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44224
44225 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44226
44227 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44228 strlen-sse2 strlen-sse2-bsf.
44229 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44230 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44231 (__strlen_sse2): Removed.
44232 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44233 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44235 bit_Slow_BSF for Atom.
44236 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44237 (index_Slow_BSF): Define.
44238 (HAS_SLOW_BSF): Define.
44239
44240 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44241
44242 [BZ #10851]
44243 * resolv/res_init.c (__res_vinit): When no server address at all
44244 is given default to loopback.
44245
44246 2010-08-24 Roland McGrath <roland@redhat.com>
44247
44248 * configure.in: Remove config-name.h generation.
44249 * configure: Regenerated.
44250 * config-name.in: File removed.
44251 * scripts/config-uname.sh: New file.
44252 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44253 ($(objdir)config-name.h): New target.
44254
44255 * sunrpc/rpc_parse.h: Avoid nested comment.
44256
44257 2010-08-24 Richard Henderson <rth@redhat.com>
44258 Ulrich Drepper <drepper@redhat.com>
44259 H.J. Lu <hongjiu.lu@intel.com>
44260
44261 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44263 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44264 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44265 _mm_alignr_epi8 with _mm_loadu_si128.
44266 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44267 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44268 (__m128i_shift_right): Removed.
44269 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44270 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44271 * sysdeps/x86_64/multiarch/varshift.h: New file.
44272 * sysdeps/x86_64/multiarch/varshift.S: New file.
44273
44274 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44275
44276 * configure.in: Move assembler checks to before sysdep dir checking.
44277
44278 2010-08-20 Petr Baudis <pasky@suse.cz>
44279
44280 * LICENSES: Sync the sunrpc license.
44281
44282 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44283
44284 * sunrpc/auth_des.c: Update copyright notice once again.
44285 * sunrpc/auth_none.c: Likewise.
44286 * sunrpc/auth_unix.c: Likewise.
44287 * sunrpc/authdes_prot.c: Likewise.
44288 * sunrpc/authuxprot.c: Likewise.
44289 * sunrpc/bindrsvprt.c: Likewise.
44290 * sunrpc/clnt_gen.c: Likewise.
44291 * sunrpc/clnt_perr.c: Likewise.
44292 * sunrpc/clnt_raw.c: Likewise.
44293 * sunrpc/clnt_simp.c: Likewise.
44294 * sunrpc/clnt_tcp.c: Likewise.
44295 * sunrpc/clnt_udp.c: Likewise.
44296 * sunrpc/clnt_unix.c: Likewise.
44297 * sunrpc/des_crypt.c: Likewise.
44298 * sunrpc/des_soft.c: Likewise.
44299 * sunrpc/get_myaddr.c: Likewise.
44300 * sunrpc/getrpcport.c: Likewise.
44301 * sunrpc/key_call.c: Likewise.
44302 * sunrpc/key_prot.c: Likewise.
44303 * sunrpc/openchild.c: Likewise.
44304 * sunrpc/pm_getmaps.c: Likewise.
44305 * sunrpc/pm_getport.c: Likewise.
44306 * sunrpc/pmap_clnt.c: Likewise.
44307 * sunrpc/pmap_prot.c: Likewise.
44308 * sunrpc/pmap_prot2.c: Likewise.
44309 * sunrpc/pmap_rmt.c: Likewise.
44310 * sunrpc/rpc/auth.h: Likewise.
44311 * sunrpc/rpc/auth_unix.h: Likewise.
44312 * sunrpc/rpc/clnt.h: Likewise.
44313 * sunrpc/rpc/des_crypt.h: Likewise.
44314 * sunrpc/rpc/key_prot.h: Likewise.
44315 * sunrpc/rpc/netdb.h: Likewise.
44316 * sunrpc/rpc/pmap_clnt.h: Likewise.
44317 * sunrpc/rpc/pmap_prot.h: Likewise.
44318 * sunrpc/rpc/pmap_rmt.h: Likewise.
44319 * sunrpc/rpc/rpc.h: Likewise.
44320 * sunrpc/rpc/rpc_des.h: Likewise.
44321 * sunrpc/rpc/rpc_msg.h: Likewise.
44322 * sunrpc/rpc/svc.h: Likewise.
44323 * sunrpc/rpc/svc_auth.h: Likewise.
44324 * sunrpc/rpc/types.h: Likewise.
44325 * sunrpc/rpc/xdr.h: Likewise.
44326 * sunrpc/rpc_clntout.c: Likewise.
44327 * sunrpc/rpc_cmsg.c: Likewise.
44328 * sunrpc/rpc_common.c: Likewise.
44329 * sunrpc/rpc_cout.c: Likewise.
44330 * sunrpc/rpc_dtable.c: Likewise.
44331 * sunrpc/rpc_hout.c: Likewise.
44332 * sunrpc/rpc_main.c: Likewise.
44333 * sunrpc/rpc_parse.c: Likewise.
44334 * sunrpc/rpc_parse.h: Likewise.
44335 * sunrpc/rpc_prot.c: Likewise.
44336 * sunrpc/rpc_sample.c: Likewise.
44337 * sunrpc/rpc_scan.c: Likewise.
44338 * sunrpc/rpc_scan.h: Likewise.
44339 * sunrpc/rpc_svcout.c: Likewise.
44340 * sunrpc/rpc_tblout.c: Likewise.
44341 * sunrpc/rpc_util.c: Likewise.
44342 * sunrpc/rpc_util.h: Likewise.
44343 * sunrpc/rpcinfo.c: Likewise.
44344 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44345 * sunrpc/rpcsvc/key_prot.x: Likewise.
44346 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44347 * sunrpc/rpcsvc/mount.x: Likewise.
44348 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44349 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44350 * sunrpc/rpcsvc/rex.x: Likewise.
44351 * sunrpc/rpcsvc/rstat.x: Likewise.
44352 * sunrpc/rpcsvc/rusers.x: Likewise.
44353 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44354 * sunrpc/rpcsvc/spray.x: Likewise.
44355 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44356 * sunrpc/rtime.c: Likewise.
44357 * sunrpc/svc.c: Likewise.
44358 * sunrpc/svc_auth.c: Likewise.
44359 * sunrpc/svc_authux.c: Likewise.
44360 * sunrpc/svc_raw.c: Likewise.
44361 * sunrpc/svc_run.c: Likewise.
44362 * sunrpc/svc_simple.c: Likewise.
44363 * sunrpc/svc_tcp.c: Likewise.
44364 * sunrpc/svc_udp.c: Likewise.
44365 * sunrpc/svc_unix.c: Likewise.
44366 * sunrpc/svcauth_des.c: Likewise.
44367 * sunrpc/xcrypt.c: Likewise.
44368 * sunrpc/xdr.c: Likewise.
44369 * sunrpc/xdr_array.c: Likewise.
44370 * sunrpc/xdr_float.c: Likewise.
44371 * sunrpc/xdr_mem.c: Likewise.
44372 * sunrpc/xdr_rec.c: Likewise.
44373 * sunrpc/xdr_ref.c: Likewise.
44374 * sunrpc/xdr_sizeof.c: Likewise.
44375 * sunrpc/xdr_stdio.c: Likewise.
44376
44377 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44378 handling.
44379
44380 2010-08-19 Andreas Schwab <schwab@redhat.com>
44381
44382 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44383
44384 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44385
44386 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44387 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44388 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44389 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44390 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44391 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44392 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44393 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44394 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44395 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44396 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44397 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44398 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44399 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44400
44401 2010-07-26 Anton Blanchard <anton@samba.org>
44402
44403 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44404 * malloc/arena.c (heap_trim): Likewise.
44405
44406 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44407
44408 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44409 here. Not...
44410 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44411 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44412
44413 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44414
44415 * sysdeps/i386/elf/Makefile: New file.
44416
44417 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44418
44419 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44420 from fanotify_init.
44421 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44422 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44423
44424 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44425
44426 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44427 of strncasecmp_l.
44428 * sysdeps/multiarch/strcmp.S: Likewise.
44429
44430 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44431
44432 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44433 strncase_l-nonascii.
44434 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44435 Add strncase_l-ssse3.
44436 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44437 * sysdeps/x86_64/strcmp.S: Likewise.
44438 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44439 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44440 * sysdeps/x86_64/strncase.S: New file.
44441 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44442 * sysdeps/x86_64/strncase_l.S: New file.
44443 * string/Makefile (strop-tests): Add strncasecmp.
44444 * string/test-strncasecmp.c: New file.
44445
44446 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44447 warning.
44448
44449 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44450 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44451
44452 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44453
44454 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44455
44456 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44457
44458 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44459 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44460 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44461
44462 2010-05-01 Alan Modra <amodra@gmail.com>
44463
44464 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44465 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44466 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44467 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44468 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44469 tidying. Don't tail-call __sigjmp_save for static lib.
44470 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44471 save location.
44472 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44473 (CALL_MCOUNT): Add eh info, and nop after bl.
44474 (TAIL_CALL_SYSCALL_ERROR): New macro.
44475 (PSEUDO_RET): Use it.
44476 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44477 Correct save location of integer regs and cr.
44478 (_dl_profile_resolve): Correct cr save location. Delete nops
44479 after bl when SHARED. Reduce cfi size a little by better
44480 placement of cfi directives.
44481 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44482 make a stack frame. Instead use parm save area as a temp.
44483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44484 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44486 Don't make a stack frame for parent, use parm save area.
44487 Increase child stack frame to 112 bytes. Don't save unused reg,
44488 and adjust reg usage. Set up cfi on error recovery and
44489 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44491 (__makecontext): Add dummy nop after jump to exit.
44492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44493 Use correct parm save area and cr save, reduce stack frame.
44494 Correct cfi for possible PSEUDO_RET frame setup.
44495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44496 Branch to local label emitted by PSEUDO_RET rather than
44497 __syscall_error.
44498
44499 2010-08-12 Andreas Schwab <schwab@redhat.com>
44500
44501 [BZ #11904]
44502 * locale/programs/locale.c (print_assignment): New function.
44503 (show_locale_vars): Use it.
44504
44505 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44506
44507 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44508 field.
44509 (struct statfs64): Likewise.
44510 (_STATFS_F_FLAGS): Define.
44511 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44512 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44513 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44514 (ST_VALID): Define locally.
44515 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44516 __statvfs_getflags, use the provided value.
44517 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44518 __ASSUME_STATFS_F_FLAGS.
44519
44520 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44521
44522 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44523 Add sys/fanotify.h.
44524 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44525 fanotify_mask for GLIBC_2.13.
44526 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44527 fanotify_init and fanotify_mark.
44528 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44529 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44530
44531 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44532 Add prlimit.
44533 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44534 prlimit64 for GLIBC_2.13.
44535 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44536 prlimit64.
44537 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44538 syscall.
44539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44540 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44541 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44542 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44543 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44544 add prlimit alias.
44545 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44546
44547 [BZ #11903]
44548 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44549 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44550
44551 * nss/Makefile: Add rules to build and run tst-nss-test1.
44552 * shlib-versions: Add entry for libnss_test1.
44553 * nss/nss_test1.c: New file.
44554 * nss/tst-nss-test1.c: New file.
44555
44556 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44557 (__nss_configure_lookup): Set appropriate entry in
44558 __nss_configure_lookup to true.
44559 * nss/nsswitch.h: Define enum with indeces of databases in
44560 databases and __nss_database_custom arrays. Declare
44561 __nss_database_custom.
44562 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44563 to avoid using nscd when custom rules are installed.
44564 * nss/getXXbyYY_r.c: Likewise.
44565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44566
44567 * nss/nss_files/files-parse.c: Whitespace fixes.
44568
44569 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44570
44571 [BZ #11883]
44572 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44573 * posix/fnmatch_loop.c: Likewise.
44574
44575 2010-07-17 Andi Kleen <ak@linux.intel.com>
44576
44577 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44578 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44579 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44580 * Versions.def [GLIBC_2.13]: Add.
44581
44582 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44583
44584 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44585 Also fail if tpwd after pwuid call is NULL.
44586
44587 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44588
44589 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44590 when converting to ms.
44591
44592 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44593
44594 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44595 EOPNOTSUPP errors with ENOTTY.
44596 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44597 EOPNOTSUPP errors with ENOTTY.
44598
44599 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44600
44601 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44602 Add strcasecmp_l-ssse3.
44603 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44604 strcasecmp.
44605 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44606 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44607 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44608
44609 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44610
44611 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44612
44613 * string/Makefile (strop-tests): Add strcasecmp.
44614 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44615 strcasecmp_l-nonascii.
44616 (gen-as-const-headers): Add locale-defines.sym.
44617 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44618 * sysdeps/x86_64/strcasecmp.S: New file.
44619 * sysdeps/x86_64/strcasecmp_l.S: New file.
44620 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44621 * sysdeps/x86_64/locale-defines.sym: New file.
44622 * string/test-strcasecmp.c: New file.
44623
44624 * string/test-strcasestr.c: Test both ends of the range of characters.
44625 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44626
44627 2010-07-29 Roland McGrath <roland@redhat.com>
44628
44629 [BZ #11856]
44630 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44631
44632 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44633
44634 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44635 for ld.so.
44636
44637 2010-07-27 Andreas Schwab <schwab@redhat.com>
44638
44639 * manual/memory.texi (Malloc Tunable Parameters): Document
44640 M_PERTURB.
44641
44642 2010-07-26 Roland McGrath <roland@redhat.com>
44643
44644 [BZ #11840]
44645 * configure.in (-fgnu89-inline check): Set and substitute
44646 gnu89_inline, not libc_cv_gnu89_inline.
44647 * configure: Regenerated.
44648 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44649
44650 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44651
44652 * string/test-strnlen.c: New file.
44653 * string/Makefile (strop-tests): Add strnlen.
44654 * string/tester.c (test_strnlen): Add a few more test cases.
44655 * string/tst-strlen.c: Better error reporting.
44656
44657 * sysdeps/x86_64/strnlen.S: New file.
44658
44659 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44660
44661 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44662 lower-latency instructions.
44663
44664 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44665
44666 * string/test-strcasestr.c: New file.
44667 * string/test-strstr.c: New file.
44668 * string/Makefile (strop-tests): Add strstr and strcasestr.
44669 * string/str-two-way.h: Don't undefine MAX.
44670 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44671
44672 2010-07-21 Andreas Schwab <schwab@redhat.com>
44673
44674 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44675 strcasestr-nonascii.
44676 (CFLAGS-strcasestr-nonascii.c): Define.
44677 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44678 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44679 Remove unused attribute.
44680
44681 2010-07-20 Roland McGrath <roland@redhat.com>
44682
44683 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44684 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44685 ld.so.cache was broken. With it, there is no way to disable dsocaps
44686 like LD_HWCAP_MASK can disable hwcaps.
44687
44688 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44689
44690 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44691
44692 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44693
44694 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44695 call in strcasestr.
44696 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44697 __strcasestr_sse42_nonascii.
44698 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44699 strcasestr-nonascii.c.
44700 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44701
44702 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44703
44704 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44705 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44706 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44707 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44708
44709 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44710
44711 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44712 fcntl.
44713
44714 2010-07-06 Andreas Schwab <schwab@redhat.com>
44715
44716 [BZ #11577]
44717 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44718 dl_signal_cerror.
44719
44720 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44721
44722 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44723 _PC_PIPE_BUF using F_GETPIPE_SZ.
44724
44725 2010-07-05 Roland McGrath <roland@redhat.com>
44726
44727 * manual/arith.texi (Rounding Functions): Fix rint description
44728 implicit in round description.
44729
44730 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44731
44732 * elf/Makefile: Fix linking for a few tests to make recent linker
44733 happy.
44734
44735 2010-06-30 Andreas Schwab <schwab@redhat.com>
44736
44737 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44738 $(common-objpfx)libc_nonshared.a.
44739
44740 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44741
44742 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44743 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44744 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44745 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44746 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44747 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44748 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44749 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44764 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44765 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44766 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44767 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44768 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44769 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44770 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44771 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44772 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44773 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44774 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44775 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44790
44791 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44792
44793 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44794 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44795 * string/memmove.c (memmove): Renamed to ...
44796 (MEMMOVE): ...this. Default to memmove.
44797 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44798 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44799 (END_CHK): Define.
44800 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44801 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44802 mempcpy-ssse3-back memmove-ssse3-back.
44803 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44804 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44805 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44806 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44807 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44808 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44809 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44810 * sysdeps/x86_64/multiarch/memmove.c: New file.
44811 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44812 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44813 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44814 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44815 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44816 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44817 Define.
44818 (index_Fast_Copy_Backward): Define.
44819 (HAS_ARCH_FEATURE): Define.
44820 (HAS_FAST_REP_STRING): Define.
44821 (HAS_FAST_COPY_BACKWARD): Define.
44822
44823 2010-06-21 Andreas Schwab <schwab@redhat.com>
44824
44825 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44826 Restore proper fallback handling.
44827
44828 2010-06-19 Ulrich Drepper <drepper@redhat.com>
44829
44830 [BZ #11701]
44831 * posix/group_member.c (__group_member): Correct checking loop.
44832
44833 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44834 OOM in getpwuid_r correctly. Return error number when the caller
44835 should return, otherwise -1.
44836 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44837 call returning > 0 value.
44838 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44839
44840 2010-06-07 Andreas Schwab <schwab@redhat.com>
44841
44842 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44843 libc_nonshared.a from targets in modules-names.
44844
44845 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44846
44847 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44848 requires it.
44849
44850 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
44851
44852 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44853 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44854 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44855 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44856
44857 2010-06-02 Andreas Schwab <schwab@redhat.com>
44858
44859 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44860
44861 2010-06-14 Ulrich Drepper <drepper@redhat.com>
44862
44863 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44864 and F_GETPIPE_SZ.
44865 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44866 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44867 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44868 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44869 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44870 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44871
44872 2010-06-14 Roland McGrath <roland@redhat.com>
44873
44874 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44875
44876 2010-06-07 Jakub Jelinek <jakub@redhat.com>
44877
44878 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44879 __REDIRECT followed by __THROW.
44880 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44881 * posix/getopt.h (getopt): Likewise.
44882
44883 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44884
44885 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44886 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44887 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44888 in AT_FLAGS.
44889 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44890 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44891
44892 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
44893
44894 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44895
44896 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44897
44898 [BZ #11640]
44899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44900 Properly check family and model.
44901
44902 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44903
44904 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44905
44906 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
44907
44908 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44909
44910 2010-05-21 Ulrich Drepper <drepper@redhat.com>
44911
44912 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44913 symbol reference.
44914
44915 2010-05-19 Andreas Schwab <schwab@redhat.com>
44916
44917 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44918 symbol reference.
44919
44920 2010-05-21 Andreas Schwab <schwab@redhat.com>
44921
44922 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44923 and internal_recvmmsg.
44924 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44925 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44926 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44927 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44928
44929 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44930 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44931 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44932
44933 2010-05-20 Andreas Schwab <schwab@redhat.com>
44934
44935 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44936
44937 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
44938
44939 POWER7 optimizations.
44940 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44941 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44942
44943 2010-05-19 Ulrich Drepper <drepper@redhat.com>
44944
44945 * version.h: Update for 2.13 development version.
44946
44947 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
44948
44949 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44950 exceptions. Return 0.
44951
44952 2010-05-07 Roland McGrath <roland@redhat.com>
44953
44954 * elf/ldconfig.c (main): Add a const.
44955
44956 2010-05-06 Ulrich Drepper <drepper@redhat.com>
44957
44958 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44959 (args_options): Add no-idn option.
44960 (ahosts_keys_int): Add idn_flags to ai_flags.
44961 (parse_option): Handle 'i' option to clear idn_flags.
44962
44963 * malloc/malloc.c (_int_free): Possible race in the most recently
44964 added check. Only act on the data if no current modification
44965 happened.
44966
44967 See ChangeLog.17 for earlier changes.