]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
aarch64: Tidy syscall error check
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12014-05-25 Richard Henderson <rth@twiddle.net>
2
3 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4 branch to syscall error ...
5 (PSEUDO): ... here.
6 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7 from __local_syscall_error to .Lsyscall_error.
8 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9 (SYSCALL_ERROR): Update label name.
10
11 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12 Do not use DOARGS/UNDOARGS.
13 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
14 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18
19 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20 block comment.
21
22 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
23 define if !NOT_IN_libc.
24 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
25 define with non-default symbol versions.
26
272014-05-23 Richard Henderson <rth@twiddle.net>
28
29 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30 (vfork, __vfork): Define via compat_symbol.
31
32 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33 [!HAVE_IFUNC] (vfork_compat): Remove.
34 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35
362014-05-23 Joseph Myers <joseph@codesourcery.com>
37
38 [BZ #16978]
39 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
41 variable.
42
432014-05-23 Richard Henderson <rth@twiddle.net>
44
45 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
46 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
47 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
48 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
49
50 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
52 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
53 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
54 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
55 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
56 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
57 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
58 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
59 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
60 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
61 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
62 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
63 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
64 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
65 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
66 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
67 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
68 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
69 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
70 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
71 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
72 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
73 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
74 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
75 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
76 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
77 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
78 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
79 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
80 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
81 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
82 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
83 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
84 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
85 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
86 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
87 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
88 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
89 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
90 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
91 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
92 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
93 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
94 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
95 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
96 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
97 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
98 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
99 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
100 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
101 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
102 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
103 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
104 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
105 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
106
107 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
108 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
109 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
110 before exiting on error.
111 (__libc_vfork): New strong alias.
112 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
113 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
114
115 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
116 that was previously under [RESET_PID].
117 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
118
119 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
120
1212014-05-23 Joseph Myers <joseph@codesourcery.com>
122
123 [BZ #16977]
124 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
125 value when x - 1 is zero.
126 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
127 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
128 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
129 0.0L for an argument of 1.0L.
130 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
131 Likewise.
132 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
133 value when x - 1 is zero.
134 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
135 * sysdeps/i386/fpu/libm-test-ulps: Update.
136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
137
1382014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
139
140 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
141 alphasort and versionsort.
142
1432014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
144
145 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
146 macro.
147 [copysignf]: Likewise.
148
1492014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
150
151 * crypt/md5-crypt.c: Fix formatting.
152
1532014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
154
155 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
156 (b64_from_24bit): New function.
157
1582014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
159
160 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
161 libc_hidden_builtin_def to ifunc.
162 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
163 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
164
1652014-05-21 Roland McGrath <roland@hack.frob.com>
166
167 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
168 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
169
1702014-05-21 Joseph Myers <joseph@codesourcery.com>
171
172 * nscd/Depend (linuxthreads): Remove.
173 (nptl): Add.
174 * resolv/Depend (linuxthreads): Remove.
175 * rt/Depend (linuxthreads): Remove.
176
177 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
178 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
179 $(common-objpfx)elf/.
180 (link-libc-before-gnulib): Likewise.
181 (elfobjdir): Remove variable.
182 * Makefile (install): Use $(elf-objpfx) instead of
183 $(common-objpfx)elf/.
184 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
185 $(elfobjdir)/.
186 (link-libc-deps): Likewise.
187 ($(common-objpfx)libc.so): Likewise.
188 ($(common-objpfx)linkobj/libc.so): Likewise.
189 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
190 instead of $(common-objpfx)elf/.
191 (symbolic-link-list): Likewise.
192 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
193 [$(cross-compiling) = no]: Likewise.
194 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
195 $(elfobjdir)/.
196 (static-gnulib-arch): Likewise.
197 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
198 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
199 $(common-objpfx)elf/.
200
2012014-05-21 Richard Henderson <rth@redhat.com>
202
203 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
204 (SINGLE_THREAD_P): Use the correct width load. Fold
205 into the ldr offset.
206
207 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
208 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
209
2102014-05-20 Joseph Myers <joseph@codesourcery.com>
211
212 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
213 (libgcc_s_resume): Use __attribute_used__.
214 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
215 Likewise.
216
2172014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
218
219 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
220 optimization when used with float constants.
221
222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
223
2242014-05-20 Aurelien Jarno <aurelien@aurel32.net>
225
226 [BZ #16915]
227 * locale/nl_langinfo_l.c: Make direct reference to every
228 _nl_current_CATEGORY symbol.
229 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
230 (tests-static): Add tst-langinfo-static.
231 (tests-special): Add tst-langinfo-static.out.
232 ($(objpfx)tst-langinfo.out): Redirect output.
233 ($(objpfx)tst-langinfo-static.out): New.
234 * localedata/tst-langinfo.sh: Send output to stdout.
235 * localedata/tst-langinfo-static.c: New file.
236
237 [BZ #16965]
238 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
239 when the shift amount is modulo the limb size.
240
2412014-05-20 Richard Henderson <rth@redhat.com>
242
243 [BZ #16967]
244 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
245 Change type of sa_flags from unsigned int to int.
246
247 [BZ #16966]
248 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
249
250 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
251
2522014-05-20 Will Newton <will.newton@linaro.org>
253
254 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
255 Test the return value of the system call in the nocancel case.
256
2572014-05-20 Will Newton <will.newton@linaro.org>
258 Yvan Roux <yvan.roux@linaro.org>
259
260 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
261 #include of asm/ptrace.h.
262 (PTRACE_GET_THREAD_AREA): Remove #undef.
263 (PTRACE_GETHBPREGS): Likewise.
264 (PTRACE_SETHBPREGS): Likewise.
265 (struct user_regs_struct): New structure.
266 (struct user_fpsimd_struct): New structure.
267 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
268 #include of asm/ptrace.h and second #include of sys/user.h.
269 (PTRACE_GET_THREAD_AREA): Remove #undef.
270 (PTRACE_GETHBPREGS): Likewise.
271 (PTRACE_SETHBPREGS): Likewise.
272 (ELF_NGREG): Use new struct user_regs_struct.
273 (elf_fpregset_t): Use new struct user_fpsimd_struct.
274
2752014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
276
277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
278 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
279
2802014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
281
282 [BZ #16958]
283 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
284 membar to avoid block loads/stores to overlap previous stores.
285
2862014-05-17 Richard Henderson <rth@redhat.com>
287
288 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
289 Create the __##syscall_name##_nocancel entry point.
290 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
291 Remove; let the sysdep-cancel.h code create it.
292
2932014-05-17 David S. Miller <davem@davemloft.net>
294
295 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
296 Protect with __USE_GNU.
297 (TIOCSET_TEMPT): Likewise.
298 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
299 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
300 these are already provided in bits/ioctl-types.h
301
3022014-05-16 Roland McGrath <roland@hack.frob.com>
303
304 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
305 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
306
307 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
308 Use wait4 regardless of [__NR_waitpid].
309
3102014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
311
312 PR libgcc/60166
313 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
314 (_FP_NANSIGN_Q): Set the quiet bit.
315
3162014-05-16 Joseph Myers <joseph@codesourcery.com>
317
318 * benchtests/Makefile
319 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
320 not $(common-objpfx)math/libm.so.
321 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
322 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
323 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
324 $(common-objpfx)dlfcn/libdl.so.
325 ($(objpfx)tst-audit8): Depend on $(libm), not
326 $(common-objpfx)math/libm.so.
327 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
328 not $(common-objpfx)dlfcn/libdl.so.
329 * math/Makefile
330 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
331 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
332 [$(build-shared) = yes].
333 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
334 $(common-objpfx)nptl/libpthread.so.
335 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
336 $(common-objpfx)math/libm.so$(libm.so-version) or
337 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
338 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
339 $(common-objpfx)dlfcn/libdl.so.
340 * setjmp/Makefile (link-libm): Remove variable.
341 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
342 * stdio-common/Makefile (link-libm): Remove variable.
343 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
344 * stdlib/Makefile (link-libm): Remove variable.
345 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
346 ($(objpfx)tst-strtod-round): Likewise.
347 ($(objpfx)tst-tininess): Likewise.
348 ($(objpfx)tst-strtod-underflow): Likewise.
349 ($(objpfx)tst-strtod6): Likewise.
350 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
351 $(libdl), not $(common-objpfx)nptl/libpthread.so and
352 $(common-objpfx)dlfcn/libdl.so.
353
3542014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
355
356 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
357 BSD terminal modes definitions.
358
3592014-05-16 Roland McGrath <roland@hack.frob.com>
360
361 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
362 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
363
364 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
365 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
366 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
367 Don't do #include_next.
368 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
369 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
370 Don't do #include_next.
371 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
372 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
373 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
374 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
375
3762014-05-16 Allan McRae <allan@archlinux.org>
377
378 * po/sv.po: Update Swedish translation from translation project.
379
380 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
381 in sed expression.
382
3832014-05-16 Aurelien Jarno <aurelien@aurel32.net>
384
385 [BZ #16917]
386 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
387 errno if the TIOCGPTN ioctl fails with an error different than
388 EINVAL.
389 * login/tst-ptsname.c: New file.
390 * login/Makefile (tests): Add tst-ptsname.
391
392 [BZ #16943]
393 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
394 and prlimit64.
395
3962014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
397
398 [BZ #16849]
399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
400 herrno to return EAI_AGAIN.
401
4022014-05-14 Roland McGrath <roland@hack.frob.com>
403
404 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
405 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
406 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
407 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
408 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
409 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
410 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
411 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
412 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
413 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
414 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
415 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
416 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
417 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
418 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
419 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
420 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
421 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
422 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
423 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
424 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
425 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
426 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
427 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
428 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
429 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
430 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
431 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
432 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
433 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
435 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
437 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
439 Moved ...
440 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
442 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
444 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
446 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
448 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
450 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
452 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
454 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
456 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
458 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
460 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
462 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
464 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
466 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
468 Moved ...
469 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
471 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
473 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
475 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
477 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
479 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
481 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
483 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
485 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
487 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
489 Moved ...
490 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
492 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
493
494 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
495 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
496 (libpthread-sysdep_routines): Add elision-related stuff here instead.
497 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
498 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
499 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
500 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
501 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
502 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
503 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
504 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
505 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
506 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
507 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
508 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
509 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
510 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
511 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
512 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
513 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
514 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
515 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
516 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
517 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
518 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
519 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
520 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
521 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
522 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
523 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
524 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
525
526 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
527 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
528
529 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
530 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
531 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
532 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
533 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
534 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
535 Moved ...
536 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
537 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
538 Moved ...
539 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
540 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
541 Moved ...
542 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
543 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
544 Moved ...
545 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
546 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
547 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
548 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
549 Moved ...
550 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
551 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
552 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
553 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
554 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
555 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
556 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
557 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
558 Moved ...
559 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
560 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
561 Moved ...
562 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
563 ... here.
564 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
565 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
566 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
567 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
568 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
569 Moved ...
570 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
571 ... here.
572 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
573 Moved ...
574 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
575 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
576 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
577 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
578 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
579 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
580 Moved ...
581 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
582 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
583 Moved ...
584 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
585 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
586 Moved ...
587 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
588 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
589 Moved ...
590 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
591 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
592 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
593 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
594 Moved ...
595 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
596 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
597 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
598 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
599 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
600 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
601 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
602 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
603 Moved ...
604 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
605 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
606 Moved ...
607 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
608 ... here.
609 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
610 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
611 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
612 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
613 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
614 Moved ...
615 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
616 ... here.
617 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
618 Moved ...
619 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
620 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
621 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
622 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
623 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
624 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
625 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
626 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
627 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
628 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
629 Moved ...
630 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
631 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
632 Moved ...
633 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
634 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
635 Moved ...
636 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
637 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
638 Moved ...
639 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
640 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
641 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
642 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
643 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
644 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
645 Moved ...
646 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
647 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
648 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
649 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
650 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
651 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
652 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
653 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
654 Moved ...
655 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
656 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
657 Moved ...
658 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
659 ... here.
660 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
661 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
662 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
663 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
664 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
665 Moved ...
666 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
667 ... here.
668 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
669 Moved ...
670 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
671 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
672 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
673 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
674 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
675 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
676 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
677 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
678 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
679 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
680 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
681
682 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
683 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
684
685 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
686 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
687
688 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
689 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
690 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
691 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
692 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
693 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
694 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
695 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
696 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
697 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
698 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
699 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
700 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
701 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
702 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
703 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
704 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
705 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
706 Moved ...
707 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
708 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
709 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
710 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
711 Moved ...
712 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
713 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
714 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
715 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
716 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
717 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
718 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
719 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
720 Moved ...
721 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
722 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
723 Moved ...
724 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
725 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
726 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
727 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
728 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
729 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
730 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
731 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
732 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
733 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
734 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
735 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
736 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
737 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
738 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
739 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
740 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
741
742 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
743 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
744 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
745 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
746 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
747
748 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
749 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
750 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
751 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
752 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
753 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
754 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
755 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
756 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
757 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
758
759 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
760 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
761
762 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
763 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
764 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
765 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
766 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
767 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
768 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
769 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
770 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
771 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
772 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
773 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
774 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
775 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
777 Update #include.
778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
779 Likewise.
780 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
781 Likewise.
782 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
783 Likewise.
784 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
785 Likewise.
786 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
787 Likewise.
788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
789 Likewise.
790 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
791 Likewise.
792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
793 Likewise.
794 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
795 Likewise.
796 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
797 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
798 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
799 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
800 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
801 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
802 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
803 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
804 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
805 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
806 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
807 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
808 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
809 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
810 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
811
812 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
813 that was previously under [RESET_PID].
814 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
815 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
816 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
817
818 * sysdeps/i386/nptl/Implies: New file.
819 * sysdeps/x86_64/nptl/Implies: New file.
820 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
821 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
822 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
823 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
824
825 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
826 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
827 (__libc_vfork): New strong alias.
828 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
829 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
830
831 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
832 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
833 (__libc_vfork): New strong alias.
834 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
835 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
836
837 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
838 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
839 (__libc_vfork): New strong alias.
840 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
841 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
842 * nptl/pt-vfork.c: New file.
843 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
844 (libpthread: GLIBC_2.20): New version set (empty).
845
8462014-05-14 Will Newton <will.newton@linaro.org>
847
848 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
849 rather than #if.
850
8512014-05-14 Joseph Myers <joseph@codesourcery.com>
852
853 [BZ #16564]
854 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
855 arguments with exponent 65 or above.
856 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
857 arguments 0x1p113L or above.
858 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
859 to arguments 0x1p107L or above.
860 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
861 positive arguments with exponent 65 or above.
862 * math/auto-libm-test-in: Add more tests of log1p.
863 * math/auto-libm-test-out: Regenerated.
864
865 [BZ #16928]
866 * math/s_cacos.c (__cacos): Ensure zero real part of result from
867 non-finite arguments is +0.
868 * math/s_cacosf.c (__cacosf): Likewise.
869 * math/s_cacosl.c (__cacosl): Likewise.
870 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
871 * sysdeps/i386/fpu/libm-test-ulps: Update.
872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
873
874 [BZ #16927]
875 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
876 value.
877 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
878 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
879 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
880 for explicit high bit of mantissa when testing for argument equal
881 to 1.
882 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
883 * sysdeps/i386/fpu/libm-test-ulps: Update.
884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
885
886 [BZ #16516]
887 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
888 (__erf): Scale by 16 instead of 8 in potentially underflowing
889 case. Ensure exception if result actually underflows.
890 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
891 (__erff): Scale by 16 instead of 8 in potentially underflowing
892 case. Ensure exception if result actually underflows.
893 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
894 (efx8): Remove variable.
895 (__erfl): Scale by 16 instead of 8 in potentially underflowing
896 case. Ensure exception if result actually underflows.
897 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
898 (efx8): Remove variable.
899 (__erfl): Scale by 16 instead of 8 in potentially underflowing
900 case. Ensure exception if result actually underflows.
901 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
902 (efx8): Remove variable.
903 (__erfl): Scale by 16 instead of 8 in potentially underflowing
904 case. Ensure exception if result actually underflows.
905 * math/auto-libm-test-in: Add more tests of erf.
906 * math/auto-libm-test-out: Regenerated.
907
9082014-05-14 Andreas Schwab <schwab@suse.de>
909
910 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
911 Remove code conditionalized on USE___THREAD.
912
913 * config.h.in (HAVE_PT_CHOWN): Define as 0.
914 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
915 not definedness.
916
9172014-05-14 Joseph Myers <joseph@codesourcery.com>
918
919 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
920 Define unconditionally.
921 (__ASSUME_O_CLOEXEC): Likewise.
922 (__ASSUME_SOCK_CLOEXEC): Likewise.
923 (__ASSUME_IN_NONBLOCK): Likewise.
924 (__ASSUME_PIPE2): Likewise.
925 (__ASSUME_EVENTFD2): Likewise.
926 (__ASSUME_SIGNALFD4): Likewise.
927 (__ASSUME_DUP3): Likewise.
928 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
929 (__ASSUME_DUP3): Do not define.
930 (__ASSUME_EVENTFD2): Likewise.
931 (__ASSUME_IN_NONBLOCK): Likewise.
932 (__ASSUME_O_CLOEXEC): Likewise.
933 (__ASSUME_PIPE2): Likewise.
934 (__ASSUME_SIGNALFD4): Likewise.
935 (__ASSUME_SOCK_CLOEXEC): Likewise.
936 (__ASSUME_UTIMES): Undefine.
937 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
938 (__ASSUME_UTIMES): Do not define.
939 (__ASSUME_O_CLOEXEC): Likewise.
940 (__ASSUME_SOCK_CLOEXEC): Likewise.
941 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
942 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
943 0x020621].
944 (__ASSUME_PIPE2): Likewise.
945 (__ASSUME_EVENTFD2): Likewise.
946 (__ASSUME_SIGNALFD4): Likewise.
947 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
948 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
949 Do not define.
950 (__ASSUME_EVENTFD2): Likewise.
951 (__ASSUME_SIGNALFD4): Likewise.
952 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
953 (__ASSUME_32BITUIDS): Likewise.
954 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
955 (__ASSUME_IPC64): Likewise.
956 (__ASSUME_ST_INO_64_BIT): Likewise.
957 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
958 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
959 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
960 (__ASSUME_UTIMES): Do not define.
961 (__ASSUME_PSELECT): Likewise.
962 (__ASSUME_PPOLL): Likewise.
963 (__ASSUME_O_CLOEXEC): Likewise.
964 (__ASSUME_SOCK_CLOEXEC): Likewise.
965 (__ASSUME_IN_NONBLOCK): Likewise.
966 (__ASSUME_PIPE2): Likewise.
967 (__ASSUME_EVENTFD2): Likewise.
968 (__ASSUME_SIGNALFD4): Likewise.
969 (__ASSUME_DUP3): Likewise.
970 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
971 (__ASSUME_UTIMES): Likewise.
972 (__ASSUME_O_CLOEXEC): Likewise.
973 (__ASSUME_SOCK_CLOEXEC): Likewise.
974 (__ASSUME_IN_NONBLOCK): Likewise.
975 (__ASSUME_PIPE2): Likewise.
976 (__ASSUME_EVENTFD2): Likewise.
977 (__ASSUME_SIGNALFD4): Likewise.
978 (__ASSUME_DUP3): Likewise.
979 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
980 (__ASSUME_UTIMES): Likewise.
981 (__ASSUME_O_CLOEXEC): Likewise.
982 (__ASSUME_SOCK_CLOEXEC): Likewise.
983 (__ASSUME_IN_NONBLOCK): Likewise.
984 (__ASSUME_PIPE2): Likewise.
985 (__ASSUME_EVENTFD2): Likewise.
986 (__ASSUME_SIGNALFD4): Likewise.
987 (__ASSUME_DUP3): Likewise.
988 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
989 Likewise.
990 (__ASSUME_UTIMES): Likewise.
991 (__ASSUME_EVENTFD2): Likewise.
992 (__ASSUME_SIGNALFD4): Likewise.
993 * sysdeps/unix/sysv/linux/tile/kernel-features.h
994 (__ASSUME_O_CLOEXEC): Likewise.
995 (__ASSUME_SOCK_CLOEXEC): Likewise.
996 (__ASSUME_IN_NONBLOCK): Likewise.
997 (__ASSUME_PIPE2): Likewise.
998 (__ASSUME_EVENTFD2): Likewise.
999 (__ASSUME_SIGNALFD4): Likewise.
1000 (__ASSUME_DUP3): Likewise.
1001 (__ASSUME_UTIMES): Undefine.
1002
1003 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1004 feclearexcept. Remove symbol versioning code.
1005 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1006 symbol versioning code.
1007 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1008 symbol versioning code.
1009 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1010 feupdateenv. Remove symbol versioning code.
1011 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1012 fegetexceptflag. Remove symbol versioning code.
1013 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1014 fesetexceptflag. Remove symbol versioning code.
1015 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1016 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1017 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1018 (__posix_fadvise64_l32): Remove prototype.
1019 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1020 code.
1021
10222014-05-13 Roland McGrath <roland@hack.frob.com>
1023
1024 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1025 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1026 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1027 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1028
10292014-05-13 Sami Kerola <kerolasa@iki.fi>
1030
1031 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1032 current working directory
1033
10342014-05-13 Roland McGrath <roland@hack.frob.com>
1035
1036 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1037 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1038 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1039 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1040 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1041 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1042 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1043 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1044 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1045 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1046 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1047 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1048 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1049 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1050 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1051 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1052 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1053 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1054 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1055 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1056 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1057 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1058 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1059 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1060 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1061 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1062 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1063 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1064 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1065 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1066 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1067 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1068 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1069 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1070 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1071 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1072 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1073 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1074 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1075 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1076 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1077 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1078
1079 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1080 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1081
1082 * sysdeps/unix/sysv/linux/arm/Makefile
1083 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1084 Add rt-aeabi_unwind_cpp_pr1.
1085 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1086 Add nptl-aeabi_unwind_cpp_pr1.
1087 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1088 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1089 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1090 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1091 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1092 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1093
1094 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1095 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1096 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1097 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1098
1099 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1100 Deconditionalize the code that was previously under [RESET_PID].
1101 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1102
1103 * sysdeps/generic/exit-thread.h: New file.
1104 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1105 * include/unistd.h (__exit_thread): Remove declaration.
1106 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1107 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1108 * csu/libc-start.c: Include <exit-thread.h>.
1109 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1110 * nptl/pthread_create.c: Include <exit-thread.h>.
1111 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1112 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1113 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1114 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1115 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1116 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1117 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1118 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1119 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1120 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1121 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1122 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1123 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1124 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1125 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1126 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1127 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1128
11292014-05-13 Andreas Schwab <schwab@suse.de>
1130
1131 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1132
11332014-05-12 Joseph Myers <joseph@codesourcery.com>
1134
1135 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1136 (__ASSUME_UTIMES): Do not condition on kernel version.
1137 (__ASSUME_PSELECT): Define unconditionally.
1138 (__ASSUME_PPOLL): Likewise.
1139 (__ASSUME_ATFCTS): Likewise.
1140 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1141 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1142 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1143 (__ASSUME_UTIMENSAT): Define unconditionally.
1144 (__ASSUME_PRIVATE_FUTEX): Likewise.
1145 (__ASSUME_FALLOCATE): Likewise.
1146 (__ASSUME_O_CLOEXEC): Likewise.
1147 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1148 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1149 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1150 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1151 (__ASSUME_IN_NONBLOCK): Likewise.
1152 (__ASSUME_PIPE2): Likewise.
1153 (__ASSUME_EVENTFD2): Likewise.
1154 (__ASSUME_SIGNALFD4): Likewise.
1155 (__ASSUME_DUP3): Likewise.
1156 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1157 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1158 (__ASSUME_AT_RANDOM): Likewise.
1159 (__ASSUME_PREADV): Likewise.
1160 (__ASSUME_PWRITEV): Likewise.
1161 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1162 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1163 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1164 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1165 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1166 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1167 (__ASSUME_O_CLOEXEC): Define unconditionally.
1168 (__ASSUME_PSELECT): Do not undefine conditionally.
1169 (__ASSUME_PPOLL): Likewise.
1170 (__ASSUME_ATFCTS): Likewise.
1171 (__ASSUME_SET_ROBUST_LIST): Likewise.
1172 (__ASSUME_UTIMENSAT): Likewise.
1173 (__ASSUME_FDATASYNC): Define unconditionally.
1174 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1175 (__ASSUME_SIGFRAME_V2): Likewise.
1176 )__ASSUME_EVENTFD2): Likewise.
1177 (__ASSUME_SIGNALFD4): Likewise.
1178 (__ASSUME_PSELECT): Do not undefine conditionally.
1179 (__ASSUME_PPOLL): Likewise.
1180 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1181 (__ASSUME_PSELECT): Define unconditionally.
1182 (__ASSUME_PPOLL): Likewise.
1183 (__ASSUME_O_CLOEXEC): Likewise.
1184 (__ASSUME_SOCK_CLOEXEC): Likewise.
1185 (__ASSUME_IN_NONBLOCK): Likewise.
1186 (__ASSUME_PIPE2): Likewise.
1187 (__ASSUME_EVENTFD2): Likewise.
1188 (__ASSUME_SIGNALFD4): Likewise.
1189 (__ASSUME_DUP3): Likewise.
1190 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1191 (__ASSUME_O_CLOEXEC): Likewise.
1192 (__ASSUME_SOCK_CLOEXEC): Likewise.
1193 (__ASSUME_IN_NONBLOCK): Likewise.
1194 (__ASSUME_PIPE2): Likewise.
1195 (__ASSUME_EVENTFD2): Likewise.
1196 (__ASSUME_SIGNALFD4): Likewise.
1197 (__ASSUME_DUP3): Likewise.
1198 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1199 (__ASSUME_EVENTFD2): Likewise.
1200 (__ASSUME_SIGNALFD4): Likewise.
1201 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1202
12032014-05-12 Andreas Schwab <schwab@suse.de>
1204
1205 [BZ #16932]
1206 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1207 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1208 than maximum RPC packet size.
1209 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1210 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1211 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1212 (_nss_nis_getservbyport_r): Likewise.
1213
12142014-05-12 Will Newton <will.newton@linaro.org>
1215
1216 * malloc/Makefile (tests): Add tst-mallopt.
1217 * malloc/tst-mallopt.c: New file.
1218
12192014-05-09 Roland McGrath <roland@hack.frob.com>
1220
1221 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1222 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1223
12242014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1225
1226 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1227 (tst-tlsmod6.so): Likewise.
1228
12292014-05-09 Roland McGrath <roland@hack.frob.com>
1230
1231 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1232
12332014-05-09 Joseph Myers <joseph@codesourcery.com>
1234
1235 [BZ #16064]
1236 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1237 and <dl-procinfo.h>.
1238 (__fegetenv): Save SSE state in envp->__eip if supported.
1239 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1240 envp->__eip if supported.
1241 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1242 and <dl-procinfo.h>.
1243 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1244 __data_offset and __data_selector in environment to 0. Set SSE
1245 state if supported.
1246 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1247 test-fenv-sse.
1248 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1249 -mfpmath=sse.
1250 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1251
12522014-05-09 Will Newton <will.newton@linaro.org>
1253
1254 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1255 and libc_relro_required for ARM.
1256 * sysdeps/arm/preconfigure: Regenerate.
1257
12582014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1259 Stefan Liebler <stli@linux.vnet.ibm.com>
1260
1261 * config.make.in (enable-lock-elision): New Makefile variable.
1262 * configure.ac: Likewise.
1263 * configure: Regenerate.
1264 * sysdeps/s390/configure.ac:
1265 Add check for gcc transactions support.
1266 * sysdeps/s390/configure: Regenerate.
1267 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1268 Build elision files if enabled.
1269 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1270 Add lock elision support for s390.
1271 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1272 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1273 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1274 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1275 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1276 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1277 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1278 Likewise.
1279 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1280 Likewise.
1281 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1282 Likewise.
1283 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1284 Likewise.
1285 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1286 (__lll_timedlock_elision, __lll_lock_elision)
1287 (__lll_unlock_elision, __lll_trylock_elision)
1288 (lll_timedlock_elision, lll_lock_elision)
1289 (lll_unlock_elision, lll_trylock_elision): Add.
1290 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1291 (pthread_mutex_t): Add lock elision support for s390.
1292
12932014-05-14 Wilco <wdijkstr@arm.com>
1294
1295 * sysdeps/arm/fclrexcpt.c: Cleanup.
1296 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1297 * sysdeps/arm/feenablxcpt.c: Cleanup.
1298 * sysdeps/arm/fegetenv.c: Cleanup.
1299 * sysdeps/arm/fegetexcept.c: Cleanup.
1300 * sysdeps/arm/fegetround.c: Cleanup.
1301 * sysdeps/arm/feholdexcpt.c: Cleanup.
1302 * sysdeps/arm/fesetenv.c: Cleanup.
1303 * sysdeps/arm/fesetround.c: Cleanup.
1304 * sysdeps/arm/feupdateenv.c: Cleanup.
1305 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1306 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1307 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1308 * sysdeps/arm/ftestexcept.c: Cleanup.
1309 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1310 * sysdeps/arm/setfpucw.c: Cleanup.
1311
13122014-05-09 Will Newton <will.newton@linaro.org>
1313
1314 * sysdeps/arm/armv7/strcmp.S: New file.
1315 * NEWS: Mention addition of ARMv7 optimized strcmp.
1316
13172014-05-08 Roland McGrath <roland@hack.frob.com>
1318
1319 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1320 look for %.ac rather than %.in.
1321
1322 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1323 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1324 * sysdeps/mach/hurd/configure: Regenerated.
1325 * sysdeps/unix/sysv/linux/configure: Regenerated.
1326
1327 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1328
13292014-05-07 Steve Ellcey <sellcey@mips.com>
1330
1331 [BZ# 16922]
1332 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1333 (LONG_SUB): Ditto.
1334 (PTR_SUB): Ditto.
1335
13362014-05-07 Andreas Schwab <schwab@suse.de>
1337
1338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1339 when skipping over non-matching result from nscd.
1340
13412014-05-07 Ondřej Bílka <neleai@seznam.cz>
1342
1343 [BZ #16876]
1344 * nptl/sockperf.c (client): Check socket return value.
1345
1346 [BZ #16877]
1347 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1348 nscd security class.
1349
13502014-05-06 Roland McGrath <roland@hack.frob.com>
1351
1352 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1353 * sysdeps/arm/unwind.h: ... here.
1354
13552014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1356
1357 [BZ# 16916]
1358 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1359 Define.
1360
13612014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1362
1363 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1364 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1365 multiarch strncpy for PPC64.
1366 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1367 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1369 multiarch optimizations.
1370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1371 (__libc_ifunc_impl_list): Likewise.
1372 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1373 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1374 multiarch stpncpy for PPC64.
1375 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1376 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1377
13782014-05-06 Andreas Schwab <schwab@suse.de>
1379
1380 [BZ #16912]
1381 * gmon/mcount.c (_MCOUNT_DECL): Use
1382 atomic_compare_and_exchange_bool_acq instead of
1383 catomic_compare_and_exchange_bool_acq.
1384
13852014-05-05 Roland McGrath <roland@hack.frob.com>
1386
1387 * elf/Makefile (others, install-bin): Remove pldd.
1388 (pldd-modules): Variable removed.
1389 ($(objpfx)pldd): Target removed.
1390 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1391 (others, install-bin): Append pldd here.
1392 ($(objpfx)pldd): New target.
1393
1394 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1395 to 0, so the first #if test emitted later doesn't see it undefined.
1396 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1397 * sysdeps/gnu/errlist.c: Regenerated.
1398
13992014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1400
1401 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1402 [libc_hidden_builtin_def]: Define to empty value.
1403 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1404 [libc_hidden_builtin_def]: Likewise.
1405 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1406 [libc_hidden_builtin_def]: Likewise.
1407 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1408 [libc_hidden_builtin_def]: Likewise.
1409 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1410 __redirect_memcpy and define ifunc as default hidden symbol.
1411 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1412 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1413
14142014-05-04 Adam Conrad <adconrad@0c3.net>
1415
1416 * locale/iso-4217.def: Reintroduce XDR currency.
1417
14182014-05-04 Allan McRae <allan@archlinux.org>
1419
1420 * po/eo.po: Update Esperanto translation from translation project.
1421
14222014-05-02 Carlos O'Donell <carlos@redhat.com>
1423
1424 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1425 and FEATURE_INDEX_MAX to 1.
1426 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1427
14282014-05-01 Steve Ellcey <sellcey@mips.com>
1429
1430 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1431 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1432 * iconvdata/big5.c (ONE_DIRECTION): Define.
1433 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1434 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1435 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1436 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1437 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1438 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1439 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1440 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1441 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1442 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1443 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1444 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1445 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1446 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1447 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1448 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1449 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1450 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1451 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1452 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1453 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1454 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1455 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1456 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1457 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1458 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1459 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1460 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1461 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1462 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1463 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1464 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1465 * iconvdata/johab.c (ONE_DIRECTION): Define.
1466 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1467 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1468 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1469 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1470 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1471 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1472 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1473 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1474 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1475 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1476
14772014-05-01 Roland McGrath <roland@hack.frob.com>
1478
1479 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1480 (_IO_JUMPS_OFFSET): Define to 0.
1481
1482 * nptl/sysdeps/pthread/bits/libc-lock.h
1483 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1484 (__libc_lock_define_initialized_recursive): Always define using
1485 initializer. Modern compilers treat uninitialized (implicit zero) and
1486 explicit zero initializers the same (i.e. put the datum in bss).
1487
14882014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1489
1490 * nscd/nscd-client.h: Include <string.h>.
1491
14922014-05-01 David S. Miller <davem@davemloft.net>
1493
1494 [BZ #16885]
1495 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1496 multiple zero bytes exist at the end of a string.
1497 Reported by Aurelien Jarno <aurelien@aurel32.net>
1498
1499 * string/test-strcmp.c (check): Add explicit test for situations where
1500 there are multiple zero bytes after the first.
1501
15022014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1503
1504 [BZ #16890]
1505 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1506 when compiling wprintf.
1507 * stdio-common/tstdiomisc.c (t3): New function.
1508 (main): Call it.
1509
15102014-05-01 Steve Ellcey <sellcey@mips.com>
1511
1512 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1513 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1514 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1515 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1516
15172014-05-01 Steve Ellcey <sellcey@mips.com>
1518
1519 * stdlib/longlong.h: Updated from GCC.
1520
15212014-05-01 Will Newton <will.newton@linaro.org>
1522 Bernard Ogden <bernie.ogden@linaro.org>
1523
1524 * NEWS: Update fixed bug list.
1525
1526 [BZ #15119]
1527 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1528
15292014-04-30 David S. Miller <davem@davemloft.net>
1530
1531 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1532 (libc_feholdexcept_setround_sparc_ctx): New function.
1533 (libc_fesetenv_sparc_ctx): Likewise.
1534 (libc_feupdateenv_sparc_ctx): Likewise.
1535 (libc_feholdsetround_sparc_ctx): Likewise.
1536 (libc_feholdexcept_setround_ctx): Define.
1537 (libc_feholdexcept_setroundf_ctx): Likewise.
1538 (libc_feholdexcept_setroundl_ctx): Likewise.
1539 (libc_fesetenv_ctx): Likewise.
1540 (libc_fesetenvf_ctx): Likewise.
1541 (libc_fesetenvl_ctx): Likewise.
1542 (libc_feupdateenv_ctx): Likewise.
1543 (libc_feupdateenvf_ctx): Likewise.
1544 (libc_feupdateenvl_ctx): Likewise.
1545 (libc_feresetround_ctx): Likewise.
1546 (libc_feresetroundf_ctx): Likewise.
1547 (libc_feresetroundl_ctx): Likewise.
1548 (libc_feholdsetround_ctx): Likewise.
1549 (libc_feholdsetroundf_ctx): Likewise.
1550 (libc_feholdsetroundl_ctx): Likewise.
1551
1552 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1553 with __USE_GNU instead of XOPEN cpp guards.
1554
1555 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1556 0.
1557
1558 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1559 with XOPEN cpp guards.
1560
15612014-04-30 Julian Brown <julian@codesourcery.com>
1562
1563 [BZ #16888]
1564 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1565 handling.
1566
15672014-04-30 Joseph Myers <joseph@codesourcery.com>
1568
1569 [BZ #9894]
1570 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1571 Change to 2.6.32.
1572 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1573 * sysdeps/unix/sysv/linux/configure: Regenerated.
1574 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1575 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1576 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1577 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1578 * README: Update reference to required Linux kernel version.
1579 * manual/install.texi (Linux): Update reference to required Linux
1580 kernel headers version.
1581 * INSTALL: Regenerated.
1582
1583 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1584 header inclusion.
1585 [POSIX] (limits.h): Likewise.
1586 [POSIX] (math.h): Likewise.
1587 [POSIX] (sys/wait.h): Likewise.
1588 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1589 function.
1590 [POSIX] (stddef.h): Do not allow header inclusion.
1591
15922014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1593
1594 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1595
15962014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1597
1598 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1599 Return immediately after lll_futex_wake.
1600
16012014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1602
1603 [BZ #16791]
1604 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1605 structure.
1606 (datahead_init_pos): Call datahead_init_common early.
1607 (datahead_init_neg): Likewise.
1608
1609 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1610 datahead_init_neg): New functions.
1611 * nscd/aicache.c (addhstaiX): Use them.
1612 * nscd/grpcache.c (cache_addgr): Likewise.
1613 * nscd/hstcache.c (cache_addhst): Likewise.
1614 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1615 * nscd/netgroupcache.c (do_notfound): Likewise.
1616 (addgetnetgrentX): Likewise.
1617 (addinnetgrX): Likewise.
1618 * nscd/pwdcache.c (cache_addpw): Likewise.
1619 * nscd/servicescache.c (cache_addserv): Likewise.
1620
16212014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1622 Atsushi Onoe <atsushi@onoe.org>
1623
1624 [BZ #14308]
1625 [BZ #12994]
1626 [BZ #13651]
1627 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1628 one response is valid.
1629 * resolv/res_send.c (send_dg): Check for validity of other
1630 response if the current response is a referral.
1631
16322014-04-29 Steve Ellcey <sellcey@mips.com>
1633
1634 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1635
16362014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1637
1638 [BZ #16823]
1639 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1640 Always divide by positive zero when computing -Inf result.
1641 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1642 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1643
16442014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1645
1646 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1647 FPSCR if value do not change.
1648 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1649 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1650 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1651 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1652 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1653 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1654 function.
1655
16562014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1657
1658 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1659 * sysdeps/unix/sysv/linux/hppa: Move directory from
1660 ports/systeps/unix/sysv/linux/hppa.
1661 * README: Update listing for hppa-*-linux-gnu.
1662
16632014-04-28 Ondřej Bílka <neleai@seznam.cz>
1664
1665 [BZ #16754]
1666 * manual/stdio.texi (Hook functions): Fix types of stream hook
1667 functions.
1668 [BZ #16854]
1669 * socket/sys/socket.h: Fix typo in comment.
1670
16712014-04-28 Wilco <wdijkstr@arm.com>
1672
1673 * sysdeps/arm/fenv_private.h: New file.
1674 * sysdeps/arm/math_private.h: New file.
1675 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1676
16772014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1678
1679 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1680 with __int128_t.
1681 (La_x86_64_retval): Likewise.
1682
16832014-04-24 Ian Bolton <ian.bolton@arm.com>
1684
1685 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1686 fpsr if value didn't change.
1687 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1688 to fpcr if value didn't change.
1689 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1690 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1691 fpsr or fpcr if value didn't change.
1692 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1693 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1694 fpcr if value didn't change.
1695 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1696 to fpsr if value didn't change.
1697
16982014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1699
1700 * nptl/tst-sem3.c: Use test-skeleton.c
1701 (main): Rename to do_test. Use return instead of
1702 exit.
1703 * nptl/tst-sem4.c: Use test-skeleton.c
1704 (main): Rename to do_test.
1705
17062014-04-22 David S. Miller <davem@davemloft.net>
1707
1708 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1709 (struct sigaction): New struct member __glibc_reserved0, change
1710 type of sa_flags to int.
1711
17122014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1713
1714 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1715 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1716
17172014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1718
1719 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1720 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1721
17222014-04-22 Will Newton <will.newton@linaro.org>
1723 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1724
1725 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1726 (__longjmp): Add longjmp and longjmp_target SystemTap
1727 probes.
1728 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1729 (__sigsetjmp): Add setjmp SystemTap probe.
1730
17312014-04-17 Carlos O'Donell <carlos@redhat.com>
1732
1733 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1734 match manual order.
1735
17362014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1737
1738 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1739
1740 * sysdeps/powerpc/fpu/fenv_private.h
1741 (libc_feholdexcept_setroundl_ctx): Define to
1742 libc_feholdexcept_setround_ppc_ctx.
1743 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1744 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1745 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1746 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1747
17482014-04-17 Ian Bolton <ian.bolton@arm.com>
1749
1750 * sysdeps/aarch64/math-tests.h: New file.
1751
17522014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1753
1754 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1755 New.
1756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1757 Check and set bit_AVX2_Usable.
1758 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1759 macro.
1760 (bit_AVX2): Likewise.
1761 (index_AVX2_Usable): Likewise.
1762 (CPUID_AVX2): Likewise.
1763 (HAS_AVX2): Likewise.
1764
17652014-04-17 Will Newton <will.newton@linaro.org>
1766
1767 * manual/setjmp.texi (System V contexts): Add note that
1768 calling setcontext on a context created by a call to a
1769 signal handler is undefined. Update text to note that
1770 setcontext from a signal handler is possible but not
1771 recommended.
1772
1773 [BZ #16629]
1774 * stdlib/tst-setcontext.c: Include signal.h.
1775 (main): Check that the signal stack before and
1776 after swapcontext is the same.
1777
1778 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1779 Re-implement to restore registers in user code and avoid
1780 rt_sigreturn system call.
1781
17822014-04-17 Wilco <wdijkstr@arm.com>
1783
1784 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1785 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1786 * math/test-fenv.c: Skip exception trap tests on targets which only
1787 support non-stop mode.
1788
17892014-04-17 Ian Bolton <ian.bolton@arm.com>
1790 Wilco Dijkstra <wilco.dijkstra@arm.com>
1791
1792 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1793 (libc_feholdsetround_aarch64_ctx)
1794 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1795 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1796 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1797 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1798 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1799 (libc_feresetround_noexl_ctx): Define.
1800
18012014-04-16 Richard Henderson <rth@redhat.com>
1802
1803 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1804
1805 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1806 unwind tables.
1807
1808 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1809 const from the non-libc, non-ldso copy.
1810
1811 * sysdeps/alpha/libm-test-ulps: Regenerate.
1812
18132014-04-16 Ian Bolton <ian.bolton@arm.com>
1814 Wilco Dijkstra <wilco.dijkstra@arm.com>
1815
1816 * sysdeps/aarch64/fpu/math_private.h: New file.
1817
18182014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1819
1820 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1821
18222014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1823
1824 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1825 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1826 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1827 Intel MPX bound registers before _dl_profile_fixup.
1828 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1829 registers after _dl_profile_fixup. Save and restore bound
1830 registers bnd0/bnd1 when calling _dl_call_pltexit.
1831 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1832 (LR_BND_OFFSET): Likewise.
1833 (LRV_BND0_OFFSET): Likewise.
1834 (LRV_BND1_OFFSET): Likewise.
1835
18362014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1837
1838 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1839 to...
1840 * sysdeps/mach/hurd/i386/tls.h: ... here.
1841 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1842 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1843 fields.
1844
18452014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1846
1847 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1848
18492014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1850
1851 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1852
18532014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1854
1855 [BZ #14770]
1856 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1857 * sysdeps/s390/configure: Regenerate.
1858
1859 [BZ #16824]
1860 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1861 Set round-to-nearest internally to reduce error accumulation.
1862
18632014-04-16 Alan Modra <amodra@gmail.com>
1864
1865 [BZ #16740]
1866 [BZ #16619]
1867 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1868 * math/libm-test.inc (frexp_test_data): Add tests.
1869 * NEWS: Update fixed bug list.
1870
18712014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1872
1873 * benchtests/Makefile: Depend on libraries in build directory.
1874 (bench-math): Separate out math tests.
1875 (bench-pthread): Separate out pthread tests.
1876 (bench): Include math and pthread tests.
1877
18782014-04-14 Carlos O'Donell <carlos@redhat.com>
1879
1880 [BZ #16831]
1881 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1882 _dl_debug_initialize.
1883
1884 * configure.ac: Remove SELinux header check.
1885 * configure: Regenerate.
1886 * nscd/selinux.c (perms): Array of const char* to permission names.
1887 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1888 default policy. Call string_to_security_class and string_to_av_perm to
1889 translate strings. Enforce default policy and call avs_has_perm with
1890 results of translated strings.
1891
18922014-04-13 David S. Miller <davem@davemloft.net>
1893
1894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1895
18962014-04-12 Allan McRae <allan@archlinux.org>
1897
1898 [BZ #16838]
1899 * manual/string.texi (Collation Functions): Fix qsort argument
1900 order in example.
1901 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1902
19032014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1904
1905 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1906 Make the test a no-op if there are no exceptions defined.
1907
19082014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1909
1910 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1911 enable-hardcoded-path-in-tests
1912
19132014-04-11 Will Newton <will.newton@linaro.org>
1914
1915 * benchtests/Makefile (extra-objs): Add json-lib.o.
1916 (bench-func): Tidy up JSON output.
1917 * benchtests/bench-skeleton.c: Include json-lib.h.
1918 (main): Use JSON library functions to do output of
1919 benchmark results.
1920 * benchtests/bench-timing-type.c (main): Output the
1921 timing type simply, leaving formatting to the user.
1922 * benchtests/json-lib.c: New file.
1923 * benchtests/json-lib.h: Likewise.
1924
19252014-04-11 Torvald Riegel <triegel@redhat.com>
1926
1927 [BZ #15215]
1928 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1929 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1930 memory barriers. Add comments.
1931 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1932 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1933 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1934 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1935 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1936 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1937
19382014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1939
1940 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1941 * sysdeps/s390/s390-64/configure.ac: ... this ...
1942 * sysdeps/s390/configure.ac: ... to here.
1943 * sysdeps/s390/s390-32/configure: Delete file.
1944 * sysdeps/s390/s390-64/configure: Delete file.
1945 * sysdeps/s390/configure: Regenerate.
1946
19472014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1948
1949 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1950
19512014-04-11 Will Newton <will.newton@linaro.org>
1952
1953 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1954 to zero if it is not defined elsewhere. (mtrim): Test
1955 the value of MALLOC_DEBUG with #if rather than #ifdef.
1956
19572014-04-10 Torvald Riegel <triegel@redhat.com>
1958
1959 * benchtests/pthread_once-inputs: New file.
1960 * benchtests/pthread_once-source.c: New file.
1961 * benchtests/README: Update documentation.
1962
19632014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1964 H.J. Lu <hongjiu.lu@intel.com>
1965
1966 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1967 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1968 * sysdeps/x86_64/configure: Regenerated.
1969 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1970 macro.
1971 (REGISTER_SAVE_RAX): Likewise.
1972 (REGISTER_SAVE_RCX): Likewise.
1973 (REGISTER_SAVE_RDX): Likewise.
1974 (REGISTER_SAVE_RSI): Likewise.
1975 (REGISTER_SAVE_RDI): Likewise.
1976 (REGISTER_SAVE_R8): Likewise.
1977 (REGISTER_SAVE_R9): Likewise.
1978 (REGISTER_SAVE_BND0): Likewise.
1979 (REGISTER_SAVE_BND1): Likewise.
1980 (REGISTER_SAVE_BND2): Likewise.
1981 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1982 bound registers when calling _dl_fixup.
1983
19842014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1985
1986 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1987 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1988 of its definition.
1989 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1990 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1991 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1992 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1993 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1994 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1995 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1996
19972014-04-09 Peter Brett <peter@peter-b.co.uk>
1998
1999 [BZ #15514]
2000 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2001 pathconf(_PC_NAME_MAX).
2002
20032014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004
2005 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2006 Remove macro usage.
2007 (__PTHREAD_SPINS): Move definition to ...
2008 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2009 (__PTHREAD_SPINS): ... here.
2010 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2011 (__PTHREAD_SPIN): Likewise.
2012 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2013 (__PTHREAD_SPIN): Likewise.
2014 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2015 (__PTHREAD_SPIN): Likewise.
2016 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2017 (__PTHREAD_SPIN): Likewise.
2018 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2019 (__PTHREAD_SPIN): Likewise.
2020 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2021 (__PTHREAD_SPIN): Likewise.
2022 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2023 (__PTHREAD_SPIN): Likewise.
2024 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2025 (__PTHREAD_SPIN): Likewise.
2026 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2027 (__PTHREAD_SPIN): Likewise.
2028 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2029 (__PTHREAD_SPIN): Likewise.
2030 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2031 (__PTHREAD_SPIN): Likewise.
2032 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2033 (__PTHREAD_SPIN): Likewise.
2034
2035 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2036 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2037 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2038 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2039 imply folder.
2040 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2041 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2042 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2043 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2044 correct imply path.
2045 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2046 strlen symbol for non multi-arch builds.
2047 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2048 missing hidden_def and weak_alias.
2049
20502014-04-08 Carlos O'Donell <carlos@redhat.com>
2051
2052 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2053
20542014-04-07 Will Newton <will.newton@linaro.org>
2055
2056 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2057 and contents. [!_LIBC] Remove #ifndef and contents.
2058 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2059 * string/memccpy.c (__memccpy): Use ANSI prototype.
2060 * string/memfrob.c (memfrob): Likewise.
2061 * string/strcoll.c (STRCOLL): Likewise.
2062 * string/strlen.c (strlen): Likewise.
2063 * string/strtok.c (STRTOK): Likewise.
2064 * string/strcat.c: Remove unused #include of memcopy.h.
2065 (strcat): Use ANSI prototype.
2066 * string/strchr.c: Remove unused #include of memcopy.h.
2067 (strchr): Use ANSI prototype.
2068 * string/strcmp.c: Remove unused #include of memcopy.h.
2069 (strcmp): Use ANSI prototype.
2070 * string/strcpy.c: Remove unused #include of memcopy.h.
2071 (strcpy): Use ANSI prototype.
2072
20732014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2074
2075 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2076 * config.make.in (config-extra-cppflags): Set it from
2077 libc_extra_cppflags.
2078 * configure.ac (libc_extra_cflags): Make it accumulate over
2079 configure fragments.
2080 (libc_extra_cppflags): New flag.
2081 * configure. Regenerate.
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2083 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2084 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2086
2087 [BZ #16815]
2088 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2089 result for FE_DOWNWARD rounding mode.
2090 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2091 Likewise.
2092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2093
20942014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2095
2096 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2097 in function argument name.
2098
20992014-04-03 David Svoboda <svoboda@cert.org>
2100
2101 [BZ #5666]
2102 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2103 explicitly.
2104
21052014-04-03 Roland McGrath <roland@hack.frob.com>
2106
2107 * elf/dl-unmap-segments.h: New file.
2108 * sysdeps/generic/ldsodefs.h
2109 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2110 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2111 * elf/dl-fptr.c: Likewise.
2112 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2113 * sysdeps/aarch64/tlsdesc.c: Likewise.
2114 * sysdeps/arm/tlsdesc.c: Likewise.
2115 * sysdeps/i386/tlsdesc.c: Likewise.
2116 * sysdeps/tile/dl-runtime.c: Likewise.
2117 * sysdeps/x86_64/tlsdesc.c: Likewise.
2118 * elf/dl-load.h: New file.
2119 * elf/dl-load.c: Include it.
2120 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2121 Macros moved to dl-load.h.
2122 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2123 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2124 Use _dl_unmap_segments in place of __munmap.
2125 Break out segment-mapping loop into ...
2126 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2127
21282014-04-03 Will Newton <will.newton@linaro.org>
2129
2130 * elf/dl-lookup.c (do_lookup_x): Remove comment
2131 referring to nested function and move variable
2132 declarations down to before first use.
2133
21342014-04-02 Joseph Myers <joseph@codesourcery.com>
2135
2136 [BZ #16799]
2137 [BZ #16800]
2138 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2139 with 0 numerator.
2140 * math/s_catanf.c (__catanf): Likewise.
2141 * math/s_catanh.c (__catanh): Likewise.
2142 * math/s_catanhf.c (__catanhf): Likewise.
2143 * math/s_catanhl.c (__catanhl): Likewise.
2144 * math/s_catanl.c (__catanl): Likewise.
2145 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2146 by positive zero when computing -Inf result.
2147 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2148 (catanh_test): Likewise.
2149 * sysdeps/i386/fpu/libm-test-ulps: Update.
2150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2151
2152 [BZ #16789]
2153 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2154 instead of using underflowing value in computing result.
2155 * math/s_clog10.c (__clog10): Likewise.
2156 * math/s_clog10f.c (__clog10f): Likewise.
2157 * math/s_clog10l.c (__clog10l): Likewise.
2158 * math/s_clogf.c (__clogf): Likewise.
2159 * math/s_clogl.c (__clogl): Likewise.
2160 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2161 (clog10_test): Likewise.
2162 * sysdeps/i386/fpu/libm-test-ulps: Update.
2163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2164
21652014-04-02 Alan Modra <amodra@gmail.com>
2166
2167 [BZ #16739]
2168 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2169 output when value is near a power of two. Use int64_t for lx and
2170 remove casts. Use decimal rather than hex exponent constants.
2171 Don't use long double multiplication when double will suffice.
2172 * math/libm-test.inc (nextafter_test_data): Add tests.
2173 * NEWS: Add 16739 and 16786 to bug list.
2174
2175 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2176
2177 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2178
21792014-04-01 Will Newton <will.newton@linaro.org>
2180
2181 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2182 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2183
21842014-04-01 Florian Weimer <fweimer@redhat.com>
2185
2186 [BZ #13347]
2187 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2188 * nptl/tst-setuid2.c: New file.
2189 * nptl/Makefile (xtests): Add tst-setuid2.
2190
21912014-04-01 Alan Modra <amodra@gmail.com>
2192
2193 [BZ #16786]
2194 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2195
21962014-03-31 Joseph Myers <joseph@codesourcery.com>
2197
2198 [BZ #6803]
2199 [BZ #6804]
2200 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2201 set errno as appropriate.
2202 * math/w_scalbf.c (__scalbf): Likewise.
2203 * math/w_scalbl.c (__scalbl): Likewise.
2204 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2205 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2206 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2207 Add more NaN tests.
2208
2209 [BZ #16349]
2210 * math/w_atan2.c: Include <errno.h>.
2211 (__atan2): Set errno for result underflowing to zero.
2212 * math/w_atan2f.c: Include <errno.h>.
2213 (__atan2f): Set errno for result underflowing to zero.
2214 * math/w_atan2l.c: Include <errno.h>.
2215 (__atan2l): Set errno for result underflowing to zero.
2216 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2217 tests.
2218 * math/auto-libm-test-out: Regenerated.
2219
22202014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2221
2222 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2223 Encode instruction correctly in little endian.
2224 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2225 Likewise.
2226 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2227 Likewise.
2228 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2229 Likewise.
2230 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2231 Likewise.
2232
22332014-03-31 Joseph Myers <joseph@codesourcery.com>
2234
2235 [BZ #9894]
2236 * sysdeps/unix/sysv/linux/kernel-features.h
2237 [__sparc__ && !__arch64__ && !__sparc_v9__]
2238 (__ASSUME_SET_ROBUST_LIST): Do not define.
2239 [__sparc__ && !__arch64__ && !__sparc_v9__]
2240 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2241 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2242 Likewise.
2243 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2244 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2245 (__ASSUME_REQUEUE_PI): Likewise.
2246 (__ASSUME_SET_ROBUST_LIST): Likewise.
2247 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2248 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2249 Undefine.
2250 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2251 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2252 Likewise.
2253 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2254 Likewise.
2255 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2256 Likewise.
2257 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2258 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2259 Undefine.
2260 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2261 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2262 Likewise.
2263
2264 [BZ #16648]
2265 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2266 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2267 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2268
22692014-03-31 Will Newton <will.newton@linaro.org>
2270
2271 * benchtests/Makefile (bench): Add ffs and ffsll to list
2272 of tests.
2273 * benchtests/ffs-inputs: New file.
2274 * benchtests/ffsll-inputs: Likewise.
2275
22762014-03-29 Joseph Myers <joseph@codesourcery.com>
2277
2278 [BZ #16770]
2279 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2280 too large before casting to int.
2281 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2282 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2283 * math/libm-test.inc (scalb_test_data): Add more tests.
2284
22852014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2286
2287 * benchtests/Makefile (DETAILED_OPT): New make option.
2288 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2289 set.
2290 * benchtests/bench-skeleton.c: Include stdbool.h.
2291 (main): Store and print timings per input.
2292 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2293 member to each argument value.
2294 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2295 (_print_arg_data): Initialize per-input timing to 0.
2296
2297 * benchtests/Makefile (timing-type): New binary.
2298 (bench-clean): Also remove bench-timing-type.
2299 (bench): New target for timing-type.
2300 (bench-func): Print output in JSON format.
2301 * benchtests/bench-skeleton.c (main): Print output in JSON
2302 format.
2303 * benchtests/bench-timing-type.c: New file.
2304 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2305 (TIMING_PRINT_STATS): Remove.
2306 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2307 name separately.
2308
2309 * benchtests/bench-modf.c: Remove.
2310 * benchtests/modf-inputs: New inputs file.
2311
23122014-03-28 Joseph Myers <joseph@codesourcery.com>
2313
2314 [BZ #16362]
2315 * math/s_clog10.c (M_PI_LOG10E): New macro.
2316 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2317 imaginary parts are 0.
2318 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2319 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2320 imaginary parts are 0.
2321 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2322 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2323 imaginary parts are 0.
2324 * math/libm-test.inc (clog10_test_data): Update expected results
2325 for when real and imaginary parts are 0.
2326
23272014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2328
2329 * elf/dl-load.c: Finish conversion of __builtin_expect into
2330 __glibc_{un}likely.
2331
23322014-03-27 Joseph Myers <joseph@codesourcery.com>
2333
2334 [BZ #16348]
2335 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2336 1+x for argument with exponent below -67.
2337 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2338 Likewise.
2339 * math/auto-libm-test-in: Add more tests of exp.
2340 * math/auto-libm-test-out: Regenerated.
2341
23422014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2343
2344 [BZ #16759]
2345 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2346 (nscd_getnetgrent): Use it.
2347
2348 [BZ #16760]
2349 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2350 of stpcpy.
2351
23522014-03-27 Andi Kleen <ak@linux.intel.com>
2353
2354 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2355 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2356 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2357 (lll_robust_unlock): Remove out of line section. Use cfi
2358 intrinsics.
2359 (LLL_STUB_UNWIND_INFO*): Remove.
2360 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2361 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2362 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2363 (lll_robust_unlock): Remove out of line section. Use cfi
2364 intrinsics.
2365 (LLL_STUB_UNWIND_INFO*): Remove.
2366
23672014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2368
2369 [BZ #16758]
2370 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2371 blank values.
2372
23732014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2374
2375 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2376
23772014-03-26 Joseph Myers <joseph@codesourcery.com>
2378
2379 [BZ #16198]
2380 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2381 fnstenv.
2382 * math/test-fenv-preserve.c: New file.
2383 * math/Makefile (tests): Add test-fenv-preserve.
2384
23852014-03-26 Will Newton <will.newton@linaro.org>
2386
2387 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2388
23892014-03-25 Roland McGrath <roland@hack.frob.com>
2390
2391 * scripts/versionlist.awk: Partition the version sets and emit all
2392 GLIBC_* (sorted) before all others (sorted).
2393
23942014-03-25 Joseph Myers <joseph@codesourcery.com>
2395
2396 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2397 GLIBC_2.2.5 version.
2398
23992014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2400
2401 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2402 calls.
2403
2404 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2405 previous change.
2406
2407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2408
24092014-03-25 Andreas Schwab <schwab@suse.de>
2410
2411 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2412 label to be used after in6ailist is initialized.
2413
24142014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2415
2416 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2417 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2418
24192014-03-25 Joseph Myers <joseph@codesourcery.com>
2420
2421 [BZ #16357]
2422 [BZ #16599]
2423 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2424 min_plus_half.
2425 (fp_formats): Update initializers.
2426 (init_fp_formats): Initialize new field.
2427 (output_for_one_input_case): Allow underflow for results up to
2428 min_plus_half.
2429 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2430 * math/auto-libm-test-in: Don't mark some underflows from asin and
2431 atanh as spurious.
2432 * math/auto-libm-test-out: Regenerated.
2433 * sysdeps/i386/fpu/libm-test-ulps: Update.
2434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2435
24362014-03-25 Andreas Schwab <schwab@suse.de>
2437
2438 * libio/Makefile (tst-ftell-partial-wide-ENV)
2439 (tst-ftell-active-handler-ENV): Define.
2440
24412014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2442
2443 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2444
24452014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2446
2447 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2448
24492014-03-24 Joseph Myers <joseph@codesourcery.com>
2450
2451 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2452 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2453 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2454
24552014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2456
2457 [BZ #16634]
2458 * elf/dl-load.c (open_verify): Add mode parameter.
2459 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2460 (open_path): Change from boolean 'secure' to complete flag 'mode'
2461 (_dl_map_object): Adjust.
2462 * elf/Makefile (tests): Add tst-dlopen-aout.
2463 * elf/tst-dlopen-aout.c: New test.
2464
24652014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2466
2467 [BZ #16714]
2468 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2469 (struct stat): Rename member pad0 to __glibc_reserved0.
2470
2471 [BZ #16712]
2472 * sysdeps/s390/s390-32/bits/wordsize.h
2473 (__WORDSIZE32_SIZE_ULONG): New define.
2474 * sysdeps/s390/s390-64/bits/wordsize.h
2475 (__WORDSIZE32_SIZE_ULONG): Likewise.
2476 * sysdeps/generic/stdint.h (SIZE_MAX):
2477 Define as UL if __WORDSIZE32_SIZE_ULONG.
2478
2479 [BZ #16713]
2480 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2481 (__glibc_reserved0): New variable.
2482 (sa_flags): Change type to int.
2483
2484 * posix/Makefile (before-compile): Use += before-compile instead
2485 of a :=.
2486
2487 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2488 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2489
24902014-03-20 Andreas Schwab <schwab@suse.de>
2491
2492 [BZ #16743]
2493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2494 non-matching result from nscd.
2495
24962014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2497
2498 * scripts/bench.py: Moved to ...
2499 * benchtests/scripts/bench.py: ... here.
2500 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2501
25022014-03-24 Andreas Schwab <schwab@suse.de>
2503
2504 [BZ #16002]
2505 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2506 alloca_account and account alloca use for struct in6ailist.
2507
25082014-03-24 Joseph Myers <joseph@codesourcery.com>
2509
2510 [BZ #16284]
2511 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2512 rounding mode to recompute results that overflow to infinity or
2513 underflow to zero.
2514 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2515 bug 16284.
2516 * math/auto-libm-test-out: Regenerated.
2517 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2518 (ccosh_test): Likewise.
2519 (csin_test_data): Use plus_oflow.
2520 (csin_test): Use ALL_RM_TEST.
2521 (csinh_test_data): Use plus_oflow.
2522 (csinh_test): Use ALL_RM_TEST.
2523 * sysdeps/i386/fpu/libm-test-ulps: Update.
2524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2525
25262014-03-21 Joseph Myers <joseph@codesourcery.com>
2527
2528 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2529 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2530 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2531
2532 [BZ #16731]
2533 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2534 when x - 1 is zero.
2535 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2536 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2537 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2538 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2539 argument is 1.
2540 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2541 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2542 zero.
2543 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2544 * sysdeps/i386/fpu/libm-test-ulps: Update.
2545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2546
25472014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2548
2549 * scripts/bench.pl: Remove file.
2550 * scripts/bench.py: New benchmark script.
2551 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2552 * benchtests/README: Mention python dependency.
2553 * scripts/pylintrc: New file.
2554 * scripts/pylint: New file.
2555
2556 * bits/mathdef.h: Use #ifdef instead of #if.
2557 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2558 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2559 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2560 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2561 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2562 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2563
25642014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2565 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2566
2567 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2569 and strpbrk-ppc64 objects.
2570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2571 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2572 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2573 multiarch strpbrk for POWER7.
2574 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2575 multiarch strpbrk for PPC64.
2576 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2577 ifunc selector.
2578 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2579 strpbrk for POWER7.
2580
25812014-03-20 Joseph Myers <joseph@codesourcery.com>
2582
2583 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2584 (atan_test): Likewise.
2585 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2586 (atanh_test): Use ALL_RM_TEST.
2587 (atan2_test_data): Likewise.
2588 (cabs_test): Likewise.
2589 (cacosh_test): Likewise.
2590 (carg_test): Likewise.
2591 (casin_test): Likewise.
2592 (casinh_test): Likewise.
2593 (cbrt_test): Likewise.
2594 (csqrt_test): Likewise.
2595 (erf_test): Likewise.
2596 (erfc_test): Likewise.
2597 (pow10_test): Likewise.
2598 (exp2_test): Likewise.
2599 (hypot_test): Likewise.
2600 (j0_test): Likewise.
2601 (j1_test): Likewise.
2602 (lgamma_test): Likewise.
2603 (gamma_test): Likewise.
2604 (sincos_test): Likewise.
2605 (tanh_test): Likewise.
2606 (y0_test): Likewise.
2607 (y1_test): Likewise.
2608 * sysdeps/i386/fpu/libm-test-ulps: Update.
2609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2610
26112014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2612
2613 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2615 and strcspn-ppc64 objects.
2616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2617 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2618 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2619 multiarch strcspn for POWER7.
2620 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2621 multiarch strcspn for PPC64.
2622 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2623 ifunc selector.
2624 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2625 strcspn for POWER7.
2626
26272014-03-20 Joseph Myers <joseph@codesourcery.com>
2628
2629 * math/gen-libm-test.pl (generate_testfile): Expect only function
2630 name as argument to AUTO_TESTS_* and pass results for all rounding
2631 modes to parse_args.
2632 (parse_auto_input): Separate inputs of automatic tests from
2633 outputs before storing in %auto_tests.
2634 * math/libm-test.inc (acos_test_data): Update call to
2635 AUTO_TESTS_f_f.
2636 (acos_test): Use ALL_RM_TEST.
2637 (acos_tonearest_test_data): Remove.
2638 (acos_test_tonearest): Likewise.
2639 (acos_towardzero_test_data): Likewise.
2640 (acos_test_towardzero): Likewise.
2641 (acos_downward_test_data): Likewise.
2642 (acos_test_downward): Likewise.
2643 (acos_upward_test_data): Likewise.
2644 (acos_test_upward): Likewise.
2645 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2646 (asin_test_data): Likewise.
2647 (asin_test): Use ALL_RM_TEST.
2648 (asin_tonearest_test_data): Remove.
2649 (asin_test_tonearest): Likewise.
2650 (asin_towardzero_test_data): Likewise.
2651 (asin_test_towardzero): Likewise.
2652 (asin_downward_test_data): Likewise.
2653 (asin_test_downward): Likewise.
2654 (asin_upward_test_data): Likewise.
2655 (asin_test_upward): Likewise.
2656 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2657 (atan_test_data): Likewise.
2658 (atanh_test_data): Likewise.
2659 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2660 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2661 (carg_test_data): Likewise.
2662 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2663 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2664 (ccosh_test_data): Likewise.
2665 (cexp_test_data): Likewise.
2666 (clog_test_data): Likewise.
2667 (clog10_test_data): Likewise.
2668 (cos_test_data): Update call to AUTO_TESTS_f_f.
2669 (cos_test): Use ALL_RM_TEST.
2670 (cos_tonearest_test_data): Remove.
2671 (cos_test_tonearest): Likewise.
2672 (cos_towardzero_test_data): Likewise.
2673 (cos_test_towardzero): Likewise.
2674 (cos_downward_test_data): Likewise.
2675 (cos_test_downward): Likewise.
2676 (cos_upward_test_data): Likewise.
2677 (cos_test_upward): Likewise.
2678 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2679 (cosh_test): Use ALL_RM_TEST.
2680 (cosh_tonearest_test_data): Remove.
2681 (cosh_test_tonearest): Likewise.
2682 (cosh_towardzero_test_data): Likewise.
2683 (cosh_test_towardzero): Likewise.
2684 (cosh_downward_test_data): Likewise.
2685 (cosh_test_downward): Likewise.
2686 (cosh_upward_test_data): Likewise.
2687 (cosh_test_upward): Likewise.
2688 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2689 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2690 (ctan_test_data): Likewise.
2691 (ctan_test): Use ALL_RM_TEST.
2692 (ctan_tonearest_test_data): Remove.
2693 (ctan_test_tonearest): Likewise.
2694 (ctan_towardzero_test_data): Likewise.
2695 (ctan_test_towardzero): Likewise.
2696 (ctan_downward_test_data): Likewise.
2697 (ctan_test_downward): Likewise.
2698 (ctan_upward_test_data): Likewise.
2699 (ctan_test_upward): Likewise.
2700 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2701 (ctanh_test): Use ALL_RM_TEST.
2702 (ctanh_tonearest_test_data): Remove.
2703 (ctanh_test_tonearest): Likewise.
2704 (ctanh_towardzero_test_data): Likewise.
2705 (ctanh_test_towardzero): Likewise.
2706 (ctanh_downward_test_data): Likewise.
2707 (ctanh_test_downward): Likewise.
2708 (ctanh_upward_test_data): Likewise.
2709 (ctanh_test_upward): Likewise.
2710 (erf_test_data): Update call to AUTO_TESTS_f_f.
2711 (erfc_test_data): Likewise.
2712 (exp_test_data): Likewise.
2713 (exp_test): Use ALL_RM_TEST.
2714 (exp_tonearest_test_data): Remove.
2715 (exp_test_tonearest): Likewise.
2716 (exp_towardzero_test_data): Likewise.
2717 (exp_test_towardzero): Likewise.
2718 (exp_downward_test_data): Likewise.
2719 (exp_test_downward): Likewise.
2720 (exp_upward_test_data): Likewise.
2721 (exp_test_upward): Likewise.
2722 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2723 (exp10_test): Use ALL_RM_TEST.
2724 (exp10_tonearest_test_data): Remove.
2725 (exp10_test_tonearest): Likewise.
2726 (exp10_towardzero_test_data): Likewise.
2727 (exp10_test_towardzero): Likewise.
2728 (exp10_downward_test_data): Likewise.
2729 (exp10_test_downward): Likewise.
2730 (exp10_upward_test_data): Likewise.
2731 (exp10_test_upward): Likewise.
2732 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2733 (expm1_test_data): Likewise.
2734 (expm1_test): Use ALL_RM_TEST.
2735 (expm1_tonearest_test_data): Remove.
2736 (expm1_test_tonearest): Likewise.
2737 (expm1_towardzero_test_data): Likewise.
2738 (expm1_test_towardzero): Likewise.
2739 (expm1_downward_test_data): Likewise.
2740 (expm1_test_downward): Likewise.
2741 (expm1_upward_test_data): Likewise.
2742 (expm1_test_upward): Likewise.
2743 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2744 (fma_test): Use ALL_RM_TEST.
2745 (fma_towardzero_test_data): Remove.
2746 (fma_test_towardzero): Likewise.
2747 (fma_downward_test_data): Likewise.
2748 (fma_test_downward): Likewise.
2749 (fma_upward_test_data): Likewise.
2750 (fma_test_upward): Likewise.
2751 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2752 (j0_test_data): Update call to AUTO_TESTS_f_f.
2753 (j1_test_data): Likewise.
2754 (jn_test_data): Update call to AUTO_TESTS_if_f.
2755 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2756 (log_test_data): Update call to AUTO_TESTS_f_f.
2757 (log10_test_data): Likewise.
2758 (log1p_test_data): Likewise.
2759 (log2_test_data): Likewise.
2760 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2761 (pow_tonearest_test_data): Likewise.
2762 (sin_test_data): Update call to AUTO_TESTS_f_f.
2763 (sin_test): Use ALL_RM_TEST.
2764 (sin_tonearest_test_data): Remove.
2765 (sin_test_tonearest): Likewise.
2766 (sin_towardzero_test_data): Likewise.
2767 (sin_test_towardzero): Likewise.
2768 (sin_downward_test_data): Likewise.
2769 (sin_test_downward): Likewise.
2770 (sin_upward_test_data): Likewise.
2771 (sin_test_upward): Likewise.
2772 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2773 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2774 (sinh_test): Use ALL_RM_TEST.
2775 (sinh_tonearest_test_data): Remove.
2776 (sinh_test_tonearest): Likewise.
2777 (sinh_towardzero_test_data): Likewise.
2778 (sinh_test_towardzero): Likewise.
2779 (sinh_downward_test_data): Likewise.
2780 (sinh_test_downward): Likewise.
2781 (sinh_upward_test_data): Likewise.
2782 (sinh_test_upward): Likewise.
2783 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2784 (sqrt_test): Use ALL_RM_TEST.
2785 (sqrt_tonearest_test_data): Remove.
2786 (sqrt_test_tonearest): Likewise.
2787 (sqrt_towardzero_test_data): Likewise.
2788 (sqrt_test_towardzero): Likewise.
2789 (sqrt_downward_test_data): Likewise.
2790 (sqrt_test_downward): Likewise.
2791 (sqrt_upward_test_data): Likewise.
2792 (sqrt_test_upward): Likewise.
2793 (tan_test_data): Update call to AUTO_TESTS_f_f.
2794 (tan_test): Use ALL_RM_TEST.
2795 (tan_tonearest_test_data): Remove.
2796 (tan_test_tonearest): Likewise.
2797 (tan_towardzero_test_data): Likewise.
2798 (tan_test_towardzero): Likewise.
2799 (tan_downward_test_data): Likewise.
2800 (tan_test_downward): Likewise.
2801 (tan_upward_test_data): Likewise.
2802 (tan_test_upward): Likewise.
2803 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2804 (tgamma_test_data): Likewise.
2805 (y0_test_data): Likewise.
2806 (y1_test_data): Likewise.
2807 (yn_test_data): Update call to AUTO_TESTS_if_f.
2808 (main): Do not call removed functions.
2809
28102014-03-19 Joseph Myers <joseph@codesourcery.com>
2811
2812 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2813 (ldexp_test_data): Remove.
2814 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2815 scalbn_test_data.
2816 (scalb_test): Use ALL_RM_TEST.
2817
28182014-03-19 Andreas Schwab <schwab@suse.de>
2819
2820 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2821
28222014-03-19 Joseph Myers <joseph@codesourcery.com>
2823
2824 [BZ #16649]
2825 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2826 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2827 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2828 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2829 (__ASSUME_PREADV): Undefine.
2830 (__ASSUME_PWRITEV): Likewise.
2831
28322014-03-18 Roland McGrath <roland@hack.frob.com>
2833
2834 * bits/mman-linux.h: Add comment about non-Linux use.
2835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2836 bits/mman-linux.h resting place.
2837
2838 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2839 * bits/mman-linux.h: ... here.
2840
28412014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2842
2843 * conform/conformtest.pl: Add standard definition when calling C
2844 preprocessor on data files.
2845 (checknamespace): Remove unused variable.
2846
28472014-03-18 Joseph Myers <joseph@codesourcery.com>
2848
2849 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2850 minus_oflow, plus_uflow and minus_uflow in expected results.
2851 * math/libm-test.inc (scalbn_test_data): Add more tests of
2852 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2853 minus_uflow.
2854 (scalbn_test): Use ALL_RM_TEST.
2855 (scalbln_test_data): Add more tests of negative arguments. Use
2856 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2857 (scalbln_test): Use ALL_RM_TEST.
2858
28592014-03-18 Roland McGrath <roland@hack.frob.com>
2860
2861 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2862
28632014-03-18 Will Newton <will.newton@linaro.org>
2864
2865 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2866 inaccurate comment.
2867
28682014-03-18 Joseph Myers <joseph@codesourcery.com>
2869
2870 * Makerules [!subdir] (check-abi): Exit with error status if a
2871 test failed.
2872
28732014-03-17 Joseph Myers <joseph@codesourcery.com>
2874
2875 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2876 for rint. Include results for all rounding modes.
2877 (nearbyint_test): Use ALL_RM_TEST.
2878 (rint_test_data): Include all tests used for nearbyint.
2879
28802014-03-17 Will Newton <will.newton@linaro.org>
2881
2882 * nptl/sysdeps/pthread/pthread.h: Revert previous
2883 change.
2884
2885 * sysdeps/generic/ldsodefs.h: Revert previous
2886 change.
2887
2888 * libio/genops.c: Revert previous change.
2889 * libio/libioP.h: Likewise.
2890 * stdio-common/vfprintf.c: Likewise.
2891
2892 * sysdeps/generic/math_private.h: Revert previous
2893 change.
2894
2895 * sysdeps/generic/math_private.h: Check whether
2896 HAVE_RM_CTX is defined with #ifdef rather
2897 than #if.
2898
2899 * argp/argp-fmtstream.h: Check whether
2900 __STRICT_ANSI__ is defined with #ifdef rather
2901 than #if.
2902 * argp/argp.h: Likewise.
2903
2904 * libio/genops.c: Check whether
2905 _IO_JUMPS_OFFSET is defined with #ifdef rather
2906 than #if.
2907 * libio/libioP.h: Likewise.
2908 * stdio-common/vfprintf.c: Likewise.
2909
2910 * sysdeps/generic/ldsodefs.h: Check whether
2911 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2912 than #if.
2913
2914 * nptl/sysdeps/pthread/pthread.h: Check
2915 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2916 its value.
2917
29182014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2919
2920 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2921 setting O_APPEND.
2922 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2923 test case.
2924
2925 [BZ #16680]
2926 * libio/fileops.c (_IO_file_open): Seek to end of file but
2927 don't cache the offset.
2928 (get_file_offset): Remove function.
2929 (do_ftell): Use cached offset when available.
2930 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2931 don't cache the offset.
2932 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2933 case.
2934 (do_one_test): Call it.
2935 (do_ftell_test): Fix up expected old offset for a+ mode.
2936 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2937 available.
2938
2939 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2940 up test status with function return status.
2941 (do_write_test): Likewise.
2942 (do_append_test): Likewise.
2943
2944 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2945 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2946 Remove.
2947
29482014-03-17 Joseph Myers <joseph@codesourcery.com>
2949
2950 * math/gen-libm-test.pl (parse_args): Handle results specified for
2951 each rounding mode separately.
2952 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2953 tests and results from lrint_tonearest_test_data,
2954 lrint_towardzero_test_data, lrint_downward_test_data and
2955 lrint_upward_test_data.
2956 (lrint_test): Use ALL_RM_TEST.
2957 (lrint_tonearest_test_data): Remove.
2958 (lrint_test_tonearest): Likewise.
2959 (lrint_towardzero_test_data): Likewise.
2960 (lrint_test_towardzero): Likewise.
2961 (lrint_downward_test_data): Likewise.
2962 (lrint_test_downward): Likewise.
2963 (lrint_upward_test_data): Likewise.
2964 (lrint_test_upward): Likewise.
2965 (llrint_test_data): Merge in per-rounding-mode tests and results
2966 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2967 llrint_downward_test_data and llrint_upward_test_data.
2968 (llrint_test): Use ALL_RM_TEST.
2969 (llrint_tonearest_test_data): Remove.
2970 (llrint_test_tonearest): Likewise.
2971 (llrint_towardzero_test_data): Likewise.
2972 (llrint_test_towardzero): Likewise.
2973 (llrint_downward_test_data): Likewise.
2974 (llrint_test_downward): Likewise.
2975 (llrint_upward_test_data): Likewise.
2976 (llrint_test_upward): Likewise.
2977 (rint_test_data): Merge in per-rounding-mode tests and results
2978 from rint_tonearest_test_data, rint_towardzero_test_data,
2979 rint_downward_test_data and rint_upward_test_data. Add
2980 per-rounding-mode results for tests not in those arrays.
2981 (rint_test): Use ALL_RM_TEST.
2982 (rint_tonearest_test_data): Remove.
2983 (rint_test_tonearest): Likewise.
2984 (rint_towardzero_test_data): Likewise.
2985 (rint_test_towardzero): Likewise.
2986 (rint_downward_test_data): Likewise.
2987 (rint_test_downward): Likewise.
2988 (rint_upward_test_data): Likewise.
2989 (rint_test_upward): Likewise.
2990 (main): Don't call removed functions.
2991
29922014-03-14 Roland McGrath <roland@hack.frob.com>
2993
2994 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2995 "Compiled on ..." crapola. It is anti-useful.
2996
29972014-03-14 Joseph Myers <joseph@codesourcery.com>
2998
2999 * scripts/evaluate-test.sh: Handle fourth argument to determine
3000 whether test run should stop on failure.
3001 * Makeconfig (stop-on-test-failure): New variable.
3002 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3003 $(stop-on-test-failure).
3004 * Makefile (tests): Give a summary of results from testing and
3005 exit with failure status if they include an ERROR or FAIL.
3006 (xtests): Likewise.
3007 * manual/install.texi (Configuring and compiling): Mention
3008 stop-on-test-failure=y.
3009 * INSTALL: Regenerated.
3010
30112014-03-14 Roland McGrath <roland@hack.frob.com>
3012
3013 * scripts/versionlist.awk: New file.
3014 * Makerules [$(build-shared) = yes]
3015 (postclean-generated): Add Versions.def, not Versions.def.v and
3016 Versions.def.v.i.
3017 ($(common-objpfx)Versions.def.v.i): Target removed.
3018 ($(common-objpfx)Versions.def): New target.
3019 ($(common-objpfx)Versions.all): Depend on that rather that
3020 $(common-objpfx)Versions.def.v.
3021 * Versions.def: File removed.
3022
3023 * Makeconfig (+gccwarn): Add -Wundef.
3024 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3025 a dl-sysdep.h breaking its contract.
3026 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3027 * include/stackinfo.h: New file.
3028 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3029 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3030 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3031 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3032 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3033 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3034 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3035 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3036 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3037 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3038 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3039 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3040 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3041 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3042 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3043
30442014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3045
3046 [BZ #16707]
3047 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3048 implementation.
3049 * math/libm-test.inc (round_test_data): Add more tests.
3050
3051 [BZ #16706]
3052 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3053 implementation.
3054 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3055
3056 [BZ #16701]
3057 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3058 implementation.
3059 * math/libm-test.inc (ceil_test_data): Add more tests.
3060
3061 * math/libm-test.inc (trunc_test_data): Add more tests related to
3062 BZ#16414.
3063
30642014-03-14 Roland McGrath <roland@hack.frob.com>
3065
3066 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3067 with #if rather than #ifdef.
3068 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3069
30702014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3071
3072 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3073 first. Disable AVX-512 GCC support if assembler doesn't support
3074 it.
3075 * sysdeps/x86_64/configure: Regenerated.
3076
30772014-03-13 Carlos O'Donell <carlos@redhat.com>
3078
3079 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3080 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3081 (__old_pthread_attr_setstack): Likewise.
3082 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3083 [!_STACK_GROWS_DOWN]: Likewise.
3084
30852014-03-13 Mike Frysinger <vapier@gentoo.org>
3086
3087 * config.make.in (have-bash2): Delete.
3088 * configure.ac (libc_cv_have_bash2): Delete.
3089 * configure: Regenerate.
3090 * elf/Makefile (common-ldd-rewrite): Rename to ...
3091 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3092 (sh-ldd-rewrite): Delete.
3093 (bash-ldd-rewrite): Delete.
3094 (have-bash2): Delete checks.
3095 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3096 ldd-rewrite.
3097
3098 * config.make.in (have-ksh): Delete.
3099 (KSH): Delete.
3100 * configure.ac (libc_cv_have_ksh): Delete.
3101 * configure: Regenerate.
3102
3103 * elf/Makefile: Delete $(have-ksh) check.
3104 ($(objpfx)sotruss): Change KSH to BASH.
3105 * elf/sotruss.ksh: Rename to ...
3106 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3107 function style to match POSIX. Drop ksh vim mode setting.
3108
3109 * manual/time.texi (Specifying the Time Zone with TZ): Change
3110 Tuesday to Thursday.
3111
3112 * debug/tst-longjmp_chk2.c: Update header comment.
3113 (stackoverflow_handler): Add comment. Call assert on pass value.
3114
31152014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3116
3117 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3118 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3119 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3120 (La_x86_64_vector): Add zmm.
3121 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3122 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3123 ($(objpfx)tst-audit10): New target.
3124 ($(objpfx)tst-audit10.out): Likewise.
3125 (tst-audit10-ENV): New.
3126 (AVX512-CFLAGS): Likewise.
3127 (CFLAGS-tst-audit10.c): Likewise.
3128 (CFLAGS-tst-auditmod10a.c): Likewise.
3129 (CFLAGS-tst-auditmod10b.c): Likewise.
3130 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3131 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3132 * sysdeps/x86_64/configure: Regenerated.
3133 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3134 AVX-512 zmm register support.
3135 (_dl_x86_64_save_sse): Likewise.
3136 (_dl_x86_64_restore_sse): Likewise.
3137 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3138 size vector registers.
3139 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3140 (ZMM_SIZE): Likewise.
3141 * sysdeps/x86_64/tst-audit10.c: New file.
3142 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3143 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3144
31452014-03-13 Roland McGrath <roland@hack.frob.com>
3146
3147 * configure.ac (HAVE_EHDR_START): New check.
3148 * configure: Regenerated.
3149 * config.h.in (HAVE_EHDR_START): New #undef.
3150 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3151 assuming the lowest-addressed segment maps the start of the file.
3152
31532014-03-13 Joseph Myers <joseph@codesourcery.com>
3154
3155 * INSTALL: Regenerated.
3156
31572014-03-13 Will Newton <will.newton@linaro.org>
3158
3159 * manual/setjmp.texi (System V contexts): Improve
3160 clarity and grammar of documentation.
3161
31622014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3163
3164 [BZ #16381]
3165 * elf/Makefile (tests): Add tst-pie2.
3166 (tests-pie): Add tst-pie2.
3167 * elf/tst-pie2.c: New file.
3168 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3169 for ET_EXEC.
3170 * elf/rtld.c (map_doit): Load executable as lt_executable.
3171 (dl_main): Likewise.
3172
31732014-03-12 Joseph Myers <joseph@codesourcery.com>
3174
3175 [BZ #16642]
3176 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3177 (__ASSUME_PSELECT): Undefine.
3178
31792014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3180
3181 [BZ #16689]
3182 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3183 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3184 static build.
3185 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3186 selector for static builds.
3187
31882014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3189
3190 [BZ #16695]
3191 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3192 key in the buffer.
3193
31942014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3195
3196 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3197 IFUNC selector for static builds.
3198
31992014-03-11 Joseph Myers <joseph@codesourcery.com>
3200
3201 * sysdeps/mips/math_private.h [__mips_hard_float]
3202 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3203 libc_feresetround_mips_ctx.
3204 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3205 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3206 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3207
3208 [BZ #16677]
3209 * math/s_nextafter.c (__nextafter): Do not return value from
3210 overflowing computation.
3211 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3212 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3213 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3214 Likewise.
3215 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3216 Likewise.
3217 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3218 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3219
32202014-03-11 Roland McGrath <roland@hack.frob.com>
3221
3222 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3223 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3224 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3225 the new mov targetting sp.
3226
32272014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3228
3229 [BZ #16683]
3230 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3231 Define it for static builds as well.
3232 (NO_BZERO_IMPL): Likewise.
3233
32342014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3235
3236 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3237 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3238 multiarch strspn for PPC64.
3239 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3240 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3242 (__libc_ifunc_impl_list): Likewise.
3243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3244 multiarch optimizations
3245 * string/strspn.c (strspn): Using macro to redefine symbol name.
3246
32472014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3248 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3249
3250 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3251 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3252 multiarch strncat for PPC64.
3253 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3254 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3256 (__libc_ifunc_impl_list): Likewise.
3257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3258 multiarch optimizations
3259
32602014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3261
3262 [BZ #16639]
3263 * nscd/nscd.service: Make service type forking.
3264
32652014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3266
3267 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3268 sign in non default rounding modes.
3269 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3270
32712014-03-08 Joseph Myers <joseph@codesourcery.com>
3272
3273 * math/libm-test.inc (ALL_RM_TEST): New macro.
3274 (ceil_test): Use ALL_RM_TEST.
3275 (cimag_test): Likewise.
3276 (conj_test): Likewise.
3277 (copysign_test): Likewise.
3278 (cproj_test): Likewise.
3279 (creal_test): Likewise.
3280 (fabs_test): Likewise.
3281 (floor_test): Likewise.
3282 (fmax_test): Likewise.
3283 (fmin_test): Likewise.
3284 (fmod_test): Likewise.
3285 (fpclassify_test): Likewise.
3286 (frexp_test): Likewise.
3287 (ilogb_test): Likewise.
3288 (isfinite_test): Likewise.
3289 (finite_test): Likewise.
3290 (isgreater_test): Likewise.
3291 (isgreaterequal_test): Likewise.
3292 (isinf_test): Likewise.
3293 (isless_test): Likewise.
3294 (islessequal_test): Likewise.
3295 (islessgreater_test): Likewise.
3296 (isnan_test): Likewise.
3297 (isnormal_test): Likewise.
3298 (issignaling_test): Likewise.
3299 (isunordered_test): Likewise.
3300 (logb_test): Likewise.
3301 (logb_downward_test_data): Remove.
3302 (logb_test_downward): Likewise.
3303 (lround_test): Use ALL_RM_TEST.
3304 (llround_test): Likewise.
3305 (modf_test): Likewise.
3306 (nexttoward_test): Likewise.
3307 (remainder_test): Likewise.
3308 (drem_test): Likewise.
3309 (remainder_tonearest_test_data): Likewise.
3310 (remainder_test_tonearest): Likewise.
3311 (drem_test_tonearest): Likewise.
3312 (remainder_towardzero_test_data): Likewise.
3313 (remainder_test_towardzero): Likewise.
3314 (drem_test_towardzero): Likewise.
3315 (remainder_downward_test_data): Likewise.
3316 (remainder_test_downward): Likewise.
3317 (drem_test_downward): Likewise.
3318 (remainder_upward_test_data): Likewise.
3319 (remainder_test_upward): Likewise.
3320 (drem_test_upward): Likewise.
3321 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3322 (round_test): Use ALL_RM_TEST.
3323 (signbit_test): Likewise.
3324 (trunc_test): Likewise.
3325 (significand_test): Likewise.
3326 (main): Don't call removed functions.
3327
33282014-03-07 Joseph Myers <joseph@codesourcery.com>
3329
3330 [BZ #16674]
3331 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3332 || __USE_XOPEN2K8].
3333 (ILL_ILLOPN): Likewise.
3334 (ILL_ILLADR): Likewise.
3335 (ILL_ILLTRP): Likewise.
3336 (ILL_PRVOPC): Likewise.
3337 (ILL_PRVREG): Likewise.
3338 (ILL_COPROC): Likewise.
3339 (ILL_BADSTK): Likewise.
3340 (FPE_INTDIV): Likewise.
3341 (FPE_INTOVF): Likewise.
3342 (FPE_FLTDIV): Likewise.
3343 (FPE_FLTOVF): Likewise.
3344 (FPE_FLTUND): Likewise.
3345 (FPE_FLTRES): Likewise.
3346 (FPE_FLTINV): Likewise.
3347 (FPE_FLTSUB): Likewise.
3348 (SEGV_MAPERR): Likewise.
3349 (SEGV_ACCERR): Likewise.
3350 (BUS_ADRALN): Likewise.
3351 (BUS_ADRERR): Likewise.
3352 (BUS_OBJERR): Likewise.
3353 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3354 (TRAP_TRACE): Likewise.
3355 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3356 __USE_XOPEN2K8].
3357 (CLD_KILLED): Likewise.
3358 (CLD_DUMPED): Likewise.
3359 (CLD_TRAPPED): Likewise.
3360 (CLD_STOPPED): Likewise.
3361 (CLD_CONTINUED): Likewise.
3362 (POLL_IN): Likewise.
3363 (POLL_OUT): Likewise.
3364 (POLL_MSG): Likewise.
3365 (POLL_ERR): Likewise.
3366 (POLL_PRI): Likewise.
3367 (POLL_HUP): Likewise.
3368 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3369 Likewise.
3370 (ILL_ILLOPN): Likewise.
3371 (ILL_ILLADR): Likewise.
3372 (ILL_ILLTRP): Likewise.
3373 (ILL_PRVOPC): Likewise.
3374 (ILL_PRVREG): Likewise.
3375 (ILL_COPROC): Likewise.
3376 (ILL_BADSTK): Likewise.
3377 (FPE_INTDIV): Likewise.
3378 (FPE_INTOVF): Likewise.
3379 (FPE_FLTDIV): Likewise.
3380 (FPE_FLTOVF): Likewise.
3381 (FPE_FLTUND): Likewise.
3382 (FPE_FLTRES): Likewise.
3383 (FPE_FLTINV): Likewise.
3384 (FPE_FLTSUB): Likewise.
3385 (SEGV_MAPERR): Likewise.
3386 (SEGV_ACCERR): Likewise.
3387 (BUS_ADRALN): Likewise.
3388 (BUS_ADRERR): Likewise.
3389 (BUS_OBJERR): Likewise.
3390 (BUS_MCEERR_AR): Likewise.
3391 (BUS_MCEERR_AO): Likewise.
3392 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3393 (TRAP_TRACE): Likewise.
3394 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3395 __USE_XOPEN2K8].
3396 (CLD_KILLED): Likewise.
3397 (CLD_DUMPED): Likewise.
3398 (CLD_TRAPPED): Likewise.
3399 (CLD_STOPPED): Likewise.
3400 (CLD_CONTINUED): Likewise.
3401 (POLL_IN): Likewise.
3402 (POLL_OUT): Likewise.
3403 (POLL_MSG): Likewise.
3404 (POLL_ERR): Likewise.
3405 (POLL_PRI): Likewise.
3406 (POLL_HUP): Likewise.
3407 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3408 (ILL_ILLOPN): Likewise.
3409 (ILL_ILLADR): Likewise.
3410 (ILL_ILLTRP): Likewise.
3411 (ILL_PRVOPC): Likewise.
3412 (ILL_PRVREG): Likewise.
3413 (ILL_COPROC): Likewise.
3414 (ILL_BADSTK): Likewise.
3415 (FPE_INTDIV): Likewise.
3416 (FPE_INTOVF): Likewise.
3417 (FPE_FLTDIV): Likewise.
3418 (FPE_FLTOVF): Likewise.
3419 (FPE_FLTUND): Likewise.
3420 (FPE_FLTRES): Likewise.
3421 (FPE_FLTINV): Likewise.
3422 (FPE_FLTSUB): Likewise.
3423 (SEGV_MAPERR): Likewise.
3424 (SEGV_ACCERR): Likewise.
3425 (BUS_ADRALN): Likewise.
3426 (BUS_ADRERR): Likewise.
3427 (BUS_OBJERR): Likewise.
3428 (BUS_MCEERR_AR): Likewise.
3429 (BUS_MCEERR_AO): Likewise.
3430 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3431 (TRAP_TRACE): Likewise.
3432 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3433 __USE_XOPEN2K8].
3434 (CLD_KILLED): Likewise.
3435 (CLD_DUMPED): Likewise.
3436 (CLD_TRAPPED): Likewise.
3437 (CLD_STOPPED): Likewise.
3438 (CLD_CONTINUED): Likewise.
3439 (POLL_IN): Likewise.
3440 (POLL_OUT): Likewise.
3441 (POLL_MSG): Likewise.
3442 (POLL_ERR): Likewise.
3443 (POLL_PRI): Likewise.
3444 (POLL_HUP): Likewise.
3445 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3446 Likewise.
3447 (ILL_ILLOPN): Likewise.
3448 (ILL_ILLADR): Likewise.
3449 (ILL_ILLTRP): Likewise.
3450 (ILL_PRVOPC): Likewise.
3451 (ILL_PRVREG): Likewise.
3452 (ILL_COPROC): Likewise.
3453 (ILL_BADSTK): Likewise.
3454 (ILL_BADIADDR): Likewise.
3455 (ILL_BREAK): Likewise.
3456 (FPE_INTDIV): Likewise.
3457 (FPE_INTOVF): Likewise.
3458 (FPE_FLTDIV): Likewise.
3459 (FPE_FLTOVF): Likewise.
3460 (FPE_FLTUND): Likewise.
3461 (FPE_FLTRES): Likewise.
3462 (FPE_FLTINV): Likewise.
3463 (FPE_FLTSUB): Likewise.
3464 (FPE_DECOVF): Likewise.
3465 (FPE_DECDIV): Likewise.
3466 (FPE_DECERR): Likewise.
3467 (FPE_INVASC): Likewise.
3468 (FPE_INVDEC): Likewise.
3469 (SEGV_MAPERR): Likewise.
3470 (SEGV_ACCERR): Likewise.
3471 (SEGV_PSTKOVF): Likewise.
3472 (BUS_ADRALN): Likewise.
3473 (BUS_ADRERR): Likewise.
3474 (BUS_OBJERR): Likewise.
3475 (BUS_MCEERR_AR): Likewise.
3476 (BUS_MCEERR_AO): Likewise.
3477 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3478 (TRAP_TRACE): Likewise.
3479 (TRAP_BRANCH): Likewise.
3480 (TRAP_HWBKPT): Likewise.
3481 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3482 __USE_XOPEN2K8].
3483 (CLD_KILLED): Likewise.
3484 (CLD_DUMPED): Likewise.
3485 (CLD_TRAPPED): Likewise.
3486 (CLD_STOPPED): Likewise.
3487 (CLD_CONTINUED): Likewise.
3488 (POLL_IN): Likewise.
3489 (POLL_OUT): Likewise.
3490 (POLL_MSG): Likewise.
3491 (POLL_ERR): Likewise.
3492 (POLL_PRI): Likewise.
3493 (POLL_HUP): Likewise.
3494 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3495 (ILL_ILLOPN): Likewise.
3496 (ILL_ILLADR): Likewise.
3497 (ILL_ILLTRP): Likewise.
3498 (ILL_PRVOPC): Likewise.
3499 (ILL_PRVREG): Likewise.
3500 (ILL_COPROC): Likewise.
3501 (ILL_BADSTK): Likewise.
3502 (FPE_INTDIV): Likewise.
3503 (FPE_INTOVF): Likewise.
3504 (FPE_FLTDIV): Likewise.
3505 (FPE_FLTOVF): Likewise.
3506 (FPE_FLTUND): Likewise.
3507 (FPE_FLTRES): Likewise.
3508 (FPE_FLTINV): Likewise.
3509 (FPE_FLTSUB): Likewise.
3510 (SEGV_MAPERR): Likewise.
3511 (SEGV_ACCERR): Likewise.
3512 (BUS_ADRALN): Likewise.
3513 (BUS_ADRERR): Likewise.
3514 (BUS_OBJERR): Likewise.
3515 (BUS_MCEERR_AR): Likewise.
3516 (BUS_MCEERR_AO): Likewise.
3517 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3518 (TRAP_TRACE): Likewise.
3519 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3520 __USE_XOPEN2K8].
3521 (CLD_KILLED): Likewise.
3522 (CLD_DUMPED): Likewise.
3523 (CLD_TRAPPED): Likewise.
3524 (CLD_STOPPED): Likewise.
3525 (CLD_CONTINUED): Likewise.
3526 (POLL_IN): Likewise.
3527 (POLL_OUT): Likewise.
3528 (POLL_MSG): Likewise.
3529 (POLL_ERR): Likewise.
3530 (POLL_PRI): Likewise.
3531 (POLL_HUP): Likewise.
3532 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3533 (ILL_ILLOPN): Likewise.
3534 (ILL_ILLADR): Likewise.
3535 (ILL_ILLTRP): Likewise.
3536 (ILL_PRVOPC): Likewise.
3537 (ILL_PRVREG): Likewise.
3538 (ILL_COPROC): Likewise.
3539 (ILL_BADSTK): Likewise.
3540 (FPE_INTDIV): Likewise.
3541 (FPE_INTOVF): Likewise.
3542 (FPE_FLTDIV): Likewise.
3543 (FPE_FLTOVF): Likewise.
3544 (FPE_FLTUND): Likewise.
3545 (FPE_FLTRES): Likewise.
3546 (FPE_FLTINV): Likewise.
3547 (FPE_FLTSUB): Likewise.
3548 (SEGV_MAPERR): Likewise.
3549 (SEGV_ACCERR): Likewise.
3550 (BUS_ADRALN): Likewise.
3551 (BUS_ADRERR): Likewise.
3552 (BUS_OBJERR): Likewise.
3553 (BUS_MCEERR_AR): Likewise.
3554 (BUS_MCEERR_AO): Likewise.
3555 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3556 (TRAP_TRACE): Likewise.
3557 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3558 __USE_XOPEN2K8].
3559 (CLD_KILLED): Likewise.
3560 (CLD_DUMPED): Likewise.
3561 (CLD_TRAPPED): Likewise.
3562 (CLD_STOPPED): Likewise.
3563 (CLD_CONTINUED): Likewise.
3564 (POLL_IN): Likewise.
3565 (POLL_OUT): Likewise.
3566 (POLL_MSG): Likewise.
3567 (POLL_ERR): Likewise.
3568 (POLL_PRI): Likewise.
3569 (POLL_HUP): Likewise.
3570 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3571 (ILL_ILLOPN): Likewise.
3572 (ILL_ILLADR): Likewise.
3573 (ILL_ILLTRP): Likewise.
3574 (ILL_PRVOPC): Likewise.
3575 (ILL_PRVREG): Likewise.
3576 (ILL_COPROC): Likewise.
3577 (ILL_BADSTK): Likewise.
3578 (FPE_INTDIV): Likewise.
3579 (FPE_INTOVF): Likewise.
3580 (FPE_FLTDIV): Likewise.
3581 (FPE_FLTOVF): Likewise.
3582 (FPE_FLTUND): Likewise.
3583 (FPE_FLTRES): Likewise.
3584 (FPE_FLTINV): Likewise.
3585 (FPE_FLTSUB): Likewise.
3586 (SEGV_MAPERR): Likewise.
3587 (SEGV_ACCERR): Likewise.
3588 (BUS_ADRALN): Likewise.
3589 (BUS_ADRERR): Likewise.
3590 (BUS_OBJERR): Likewise.
3591 (BUS_MCEERR_AR): Likewise.
3592 (BUS_MCEERR_AO): Likewise.
3593 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3594 (TRAP_TRACE): Likewise.
3595 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3596 __USE_XOPEN2K8].
3597 (CLD_KILLED): Likewise.
3598 (CLD_DUMPED): Likewise.
3599 (CLD_TRAPPED): Likewise.
3600 (CLD_STOPPED): Likewise.
3601 (CLD_CONTINUED): Likewise.
3602 (POLL_IN): Likewise.
3603 (POLL_OUT): Likewise.
3604 (POLL_MSG): Likewise.
3605 (POLL_ERR): Likewise.
3606 (POLL_PRI): Likewise.
3607 (POLL_HUP): Likewise.
3608 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3609 (ILL_ILLOPN): Likewise.
3610 (ILL_ILLADR): Likewise.
3611 (ILL_ILLTRP): Likewise.
3612 (ILL_PRVOPC): Likewise.
3613 (ILL_PRVREG): Likewise.
3614 (ILL_COPROC): Likewise.
3615 (ILL_BADSTK): Likewise.
3616 (ILL_DBLFLT): Likewise.
3617 (ILL_HARDWALL): Likewise.
3618 (FPE_INTDIV): Likewise.
3619 (FPE_INTOVF): Likewise.
3620 (FPE_FLTDIV): Likewise.
3621 (FPE_FLTOVF): Likewise.
3622 (FPE_FLTUND): Likewise.
3623 (FPE_FLTRES): Likewise.
3624 (FPE_FLTINV): Likewise.
3625 (FPE_FLTSUB): Likewise.
3626 (SEGV_MAPERR): Likewise.
3627 (SEGV_ACCERR): Likewise.
3628 (BUS_ADRALN): Likewise.
3629 (BUS_ADRERR): Likewise.
3630 (BUS_OBJERR): Likewise.
3631 (BUS_MCEERR_AR): Likewise.
3632 (BUS_MCEERR_AO): Likewise.
3633 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3634 (TRAP_TRACE): Likewise.
3635 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3636 __USE_XOPEN2K8].
3637 (CLD_KILLED): Likewise.
3638 (CLD_DUMPED): Likewise.
3639 (CLD_TRAPPED): Likewise.
3640 (CLD_STOPPED): Likewise.
3641 (CLD_CONTINUED): Likewise.
3642 (POLL_IN): Likewise.
3643 (POLL_OUT): Likewise.
3644 (POLL_MSG): Likewise.
3645 (POLL_ERR): Likewise.
3646 (POLL_PRI): Likewise.
3647 (POLL_HUP): Likewise.
3648 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3649 (ILL_ILLOPN): Likewise.
3650 (ILL_ILLADR): Likewise.
3651 (ILL_ILLTRP): Likewise.
3652 (ILL_PRVOPC): Likewise.
3653 (ILL_PRVREG): Likewise.
3654 (ILL_COPROC): Likewise.
3655 (ILL_BADSTK): Likewise.
3656 (FPE_INTDIV): Likewise.
3657 (FPE_INTOVF): Likewise.
3658 (FPE_FLTDIV): Likewise.
3659 (FPE_FLTOVF): Likewise.
3660 (FPE_FLTUND): Likewise.
3661 (FPE_FLTRES): Likewise.
3662 (FPE_FLTINV): Likewise.
3663 (FPE_FLTSUB): Likewise.
3664 (SEGV_MAPERR): Likewise.
3665 (SEGV_ACCERR): Likewise.
3666 (BUS_ADRALN): Likewise.
3667 (BUS_ADRERR): Likewise.
3668 (BUS_OBJERR): Likewise.
3669 (BUS_MCEERR_AR): Likewise.
3670 (BUS_MCEERR_AO): Likewise.
3671 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3672 (TRAP_TRACE): Likewise.
3673 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3674 __USE_XOPEN2K8].
3675 (CLD_KILLED): Likewise.
3676 (CLD_DUMPED): Likewise.
3677 (CLD_TRAPPED): Likewise.
3678 (CLD_STOPPED): Likewise.
3679 (CLD_CONTINUED): Likewise.
3680 (POLL_IN): Likewise.
3681 (POLL_OUT): Likewise.
3682 (POLL_MSG): Likewise.
3683 (POLL_ERR): Likewise.
3684 (POLL_PRI): Likewise.
3685 (POLL_HUP): Likewise.
3686 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3687 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3688
3689 [BZ #16670]
3690 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3691 before #include of <time.h>.
3692 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3693 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3694 (test-xfail-UNIX98/sched.h/conform): Likewise.
3695
36962014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3697
3698 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3699 error absence of trapping exception support.
3700 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3701
37022014-03-07 Joseph Myers <joseph@codesourcery.com>
3703
3704 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3705 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3706 * timezone/Makefile (testdata): Move definition above include of
3707 Rules.
3708 (test-zones): New variable.
3709 (tests-special): Add zone files.
3710 (build-testdata): Use $(evaluate-test).
3711
3712 * elf/Makefile (tests-special): Rename tests to end with .out.
3713 ($(objpfx)noload-mem): Likewise.
3714 ($(objpfx)tst-leaks1-mem): Likewise.
3715 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3716 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3717 $(objpfx)test-iconvconfig.out.
3718 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3719 set -e inside subshell and redirect output to file.
3720 * iconvdata/Makefile (generated): Rename tests to end with .out.
3721 Correct type.
3722 (tests-special): Rename tests to end with .out.
3723 ($(objpfx)mtrace-tst-loading): Likewise.
3724 * intl/Makefile (generated): Likewise.
3725 (tests-special): Likewise.
3726 ($(objpfx)mtrace-tst-gettext): Likewise.
3727 * misc/Makefile (generated): Likewise.
3728 (tests-special): Likewise.
3729 ($(objpfx)tst-error1-mem): Likewise.
3730 * nptl/Makefile (tests-special): Likewise.
3731 ($(objpfx)tst-stack3-mem): Likewise.
3732 (generated): Likewise.
3733 * posix/Makefile (generated): Likewise.
3734 (tests-special): Likewise.
3735 (xtests-special): Likewise.
3736 ($(objpfx)tst-fnmatch-mem): Likewise.
3737 ($(objpfx)bug-regex2-mem): Likewise.
3738 ($(objpfx)bug-regex14-mem): Likewise.
3739 ($(objpfx)bug-regex21-mem): Likewise.
3740 ($(objpfx)bug-regex31-mem): Likewise.
3741 ($(objpfx)tst-vfork3-mem): Likewise.
3742 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3743 ($(objpfx)tst-pcre-mem): Likewise.
3744 ($(objpfx)tst-boost-mem): Likewise.
3745 ($(objpfx)bug-ga2-mem): Likewise.
3746 ($(objpfx)bug-glob2-mem): Likewise.
3747 * resolv/Makefile (generate): Likewise.
3748 (tests-special): Likewise.
3749 (xtests-special): Likewise.
3750 (generated): Likewise.
3751 ($(objpfx)mtrace-tst-leaks): Likewise.
3752 ($(objpfx)mtrace-tst-leaks2): Likewise.
3753
3754 * scripts/merge-test-results.sh: New file.
3755 * Makefile (tests-special-notdir): New variable.
3756 (tests): Run merge-test-results.sh.
3757 (xtests): Likewise.
3758 * Rules (tests-special-notdir): New variable.
3759 (xtests-special-notdir): Likewise.
3760 (tests): Run merge-test-results.sh
3761 (xtests): Likewise.
3762
3763 * Makeconfig (test-xfail-name): New variable.
3764 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3765 compute variable name for expected failures.
3766 * conform/Makefile (conformtest-headers-data): New variable.
3767 (conformtest-standards): Likewise.
3768 (conformtest-headers-ISO): Likewise.
3769 (conformtest-headers-ISO99): Likewise.
3770 (conformtest-headers-ISO11): Likewise.
3771 (conformtest-headers-POSIX): Likewise.
3772 (conformtest-headers-XPG3): Likewise.
3773 (conformtest-headers-XPG4): Likewise.
3774 (conformtest-headers-UNIX98): Likewise.
3775 (conformtest-headers-XOPEN2K): Likewise.
3776 (conformtest-headers-POSIX2008): Likewise.
3777 (conformtest-headers-XOPEN2K8): Likewise.
3778 (conformtest-header-list-base): Likewise.
3779 (conformtest-header-list-tests): Likewise.
3780 (conformtest-header-base): Likewise.
3781 (conformtest-header-tests): Likewise.
3782 (tests-special): Add $(conformtest-header-list-tests). If
3783 [$(fast-check) && !$(cross-compiling)], add
3784 $(conformtest-header-tests) instead of
3785 $(objpfx)run-conformtest.out.
3786 (generated): Add $(conformtest-header-list-base). If
3787 [$(fast-check) && !$(cross-compiling)], add
3788 $(conformtest-header-base). Remove previous setting.
3789 ($(conformtest-header-list-tests)): New target.
3790 (test-xfail-run-conformtest): Remove variable.
3791 ($(objpfx)run-conformtest.out): Remove target.
3792 (test-xfail-ISO11/complex.h/conform): New variable.
3793 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3794 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3795 (test-xfail-XPG3/varargs.h/conform): Likewise.
3796 (test-xfail-XPG4/varargs.h/conform): Likewise.
3797 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3798 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3799 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3800 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3801 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3802 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3803 (test-xfail-XPG3/ftw.h/conform): Likewise.
3804 (test-xfail-XPG3/grp.h/conform): Likewise.
3805 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3806 (test-xfail-XPG3/limits.h/conform): Likewise.
3807 (test-xfail-XPG3/pwd.h/conform): Likewise.
3808 (test-xfail-XPG3/search.h/conform): Likewise.
3809 (test-xfail-XPG3/signal.h/conform): Likewise.
3810 (test-xfail-XPG3/stdio.h/conform): Likewise.
3811 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3812 (test-xfail-XPG3/string.h/conform): Likewise.
3813 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3814 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3815 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3816 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3817 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3818 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3819 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3820 (test-xfail-XPG3/termios.h/conform): Likewise.
3821 (test-xfail-XPG3/time.h/conform): Likewise.
3822 (test-xfail-XPG3/unistd.h/conform): Likewise.
3823 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3824 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3825 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3826 (test-xfail-XPG4/netdb.h/conform): Likewise.
3827 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3828 (test-xfail-XPG4/signal.h/conform): Likewise.
3829 (test-xfail-XPG4/stdio.h/conform): Likewise.
3830 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3831 (test-xfail-XPG4/stropts.h/conform): Likewise.
3832 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3833 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3834 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3835 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3836 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3837 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3838 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3839 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3840 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3841 (test-xfail-XPG4/termios.h/conform): Likewise.
3842 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3843 (test-xfail-XPG4/unistd.h/conform): Likewise.
3844 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3845 (test-xfail-POSIX/sched.h/conform): Likewise.
3846 (test-xfail-POSIX/signal.h/conform): Likewise.
3847 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3848 (test-xfail-POSIX/tar.h/conform): Likewise.
3849 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3850 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3851 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3852 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3853 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3854 (test-xfail-UNIX98/sched.h/conform): Likewise.
3855 (test-xfail-UNIX98/signal.h/conform): Likewise.
3856 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3857 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3858 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3859 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3860 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3861 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3862 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3863 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3864 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3865 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3866 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3867 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3868 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3869 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3870 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3871 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3872 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3873 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3874 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3875 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3876 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3877 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3878 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3879 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3880 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3881 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3882 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3883 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3884 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3885 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3886 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3887 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3888 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3889 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3890 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3891 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3892 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3893 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3894 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3895 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3896 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3897 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3898 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3899 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3900 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3901 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3902 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3903 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3904 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3905 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3906 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3907 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3908 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3909 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3910 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3911 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3912 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3913 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3914 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3915 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3916 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3917 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3918 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3919 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3920 (conformtest-cc-flags): Likewise.
3921 ($(conformtest-header-tests): New target.
3922 * conform/check-header-lists.sh: New file.
3923 * conform/run-conformtest.sh: Remove.
3924
3925 * conform/conformtest.pl: Allow ' and \ in values given for
3926 constants.
3927 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3928 inclusion.
3929 [POSIX] (sys/types.h): Likewise.
3930 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3931 inclusion.
3932 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3933 inclusion.
3934 * conform/data/signal.h-data (SIGIO): Remove expectation.
3935 [XPG3] (SIGBUS): Do not expect.
3936 [POSIX || XPG3] (SIGPOLL): Likewise.
3937 [POSIX || XPG3] (SIGPROF): Likewise.
3938 [POSIX || XPG3] (SIGSYS): Likewise.
3939 [XPG3] (SIGTRAP): Likewise.
3940 [POSIX || XPG3] (SIGURG): Likewise.
3941 [POSIX || XPG3] (SIGVTALRM): Likewise.
3942 [POSIX || XPG3] (SIGXCPU): Likewise.
3943 [POSIX || XPG3] (SIGXFSZ): Likewise.
3944 [POSIX] (SA_SIGINFO): Expect.
3945 [XPG3] (siginfo_t): Do not expect type or contents.
3946 [POSIX] (si_pid): Do not expect element.
3947 [POSIX] (si_uid): Likewise.
3948 [POSIX] (si_addr): Likewise.
3949 [POSIX] (si_status): Likewise.
3950 [POSIX] (si_band): Likewise.
3951 [XPG4] (si_value): Likewise.
3952 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3953 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3954 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3955 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3956 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3957 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3958 [POSIX || XPG3] (ILL_COPROC): Likewise.
3959 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3960 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3961 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3962 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3963 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3964 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3965 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3966 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3967 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3968 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3969 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3970 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3971 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3972 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3973 [POSIX || XPG3] (CLD_EXITED): Likewise.
3974 [POSIX || XPG3] (CLD_KILLED): Likewise.
3975 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3976 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3977 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3978 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3979 [POSIX || XPG3] (POLL_IN): Likewise.
3980 [POSIX || XPG3] (POLL_OUT): Likewise.
3981 [POSIX || XPG3] (POLL_MSG): Likewise.
3982 [POSIX || XPG3] (POLL_ERR): Likewise.
3983 [POSIX || XPG3] (POLL_PRI): Likewise.
3984 [POSIX || XPG3] (POLL_HUP): Likewise.
3985 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3986 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3987 (SIG*): Do not allow.
3988 [XPG3] (si_*): Likewise.
3989 [XPG3] (SI_*): Likewise.
3990 [XPG3 || XPG4] (sigev_*): Likewise.
3991 [XPG3 || XPG4] (SIGEV_*): Likewise.
3992 [XPG3 || XPG4] (sival_*): Likewise.
3993 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3994 [POSIX || XPG3] (BUS_*): Likewise.
3995 [POSIX || XPG3] (CLD_*): Likewise.
3996 [POSIX || XPG3] (FPE_*): Likewise.
3997 [POSIX || XPG3] (ILL_*): Likewise.
3998 [POSIX || XPG3] (POLL_*): Likewise.
3999 [POSIX || XPG3] (SEGV_*): Likewise.
4000 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4001 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4002 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4003 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4004 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4005 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4006 Specify type and value.
4007 (TVERSLEN): Likewise.
4008 (REGTYPE): Likewise.
4009 (AREGTYPE): Likewise.
4010 (LNKTYPE): Likewise.
4011 (SYMTYPE): Likewise.
4012 (CHRTYPE): Likewise.
4013 (BLKTYPE): Likewise.
4014 (DIRTYPE): Likewise.
4015 (FIFOTYPE): Likewise.
4016 (CONTTYPE): Likewise.
4017 (TSUID): Likewise.
4018 (TSGID): Likewise.
4019 (TSVTX): Likewise.
4020 (TUREAD): Likewise.
4021 (TUWRITE): Likewise.
4022 (TUEXEC): Likewise.
4023 (TGREAD): Likewise.
4024 (TGWRITE): Likewise.
4025 (TGEXEC): Likewise.
4026 (TOREAD): Likewise.
4027 (TOWRITE): Likewise.
4028 (TOEXEC): Likewise.
4029 [POSIX] (TSVTX): Expect constant.
4030
40312014-03-06 Joseph Myers <joseph@codesourcery.com>
4032
4033 * Makefile (tests): Change dependencies to ....
4034 (tests-special): ... additions to this variable.
4035 (tests): Depend on $(tests-special).
4036 * Makerules (check-abi-list): New variable.
4037 (check-abi): Depend on $(check-abi-list).
4038 [$(subdir) = elf] (tests-special): Add
4039 $(objpfx)check-abi-libc.out.
4040 [$(build-shared) = yes && subdir] (tests-special): Add
4041 $(check-abi-list).
4042 [$(build-shared) = yes && subdir] (tests): Do not depend on
4043 check-abi.
4044 * Rules (tests): Depend on $(tests-special).
4045 (xtests): Depend on $(xtests-special).
4046 * catgets/Makefile (tests): Change dependencies to ....
4047 (tests-special): ... additions to this variable.
4048 * conform/Makefile (tests): Change dependencies to ....
4049 (tests-special): ... additions to this variable.
4050 * elf/Makefile (tests): Change dependencies to ....
4051 (tests-special): ... additions to this variable.
4052 * grp/Makefile (tests): Change dependencies to ....
4053 (tests-special): ... additions to this variable.
4054 * iconv/Makefile (xtests): Change dependencies to ....
4055 (xtests-special): ... additions to this variable.
4056 * iconvdata/Makefile (tests): Change dependencies to ....
4057 (tests-special): ... additions to this variable.
4058 * intl/Makefile (tests): Change dependencies to ....
4059 (tests-special): ... additions to this variable. Also add
4060 $(objpfx)tst-gettext.out.
4061 * io/Makefile (tests): Change dependencies to ....
4062 (tests-special): ... additions to this variable.
4063 * libio/Makefile (tests): Change dependencies to ....
4064 (tests-special): ... additions to this variable.
4065 * malloc/Makefile (tests): Change dependencies to ....
4066 (tests-special): ... additions to this variable.
4067 * misc/Makefile (tests): Change dependencies to ....
4068 (tests-special): ... additions to this variable.
4069 * nptl/Makefile (tests): Change dependencies to ....
4070 (tests-special): ... additions to this variable.
4071 * nptl_db/Makefile (tests): Change dependencies to ....
4072 (tests-special): ... additions to this variable.
4073 * posix/Makefile (tests): Change dependencies to ....
4074 (tests-special): ... additions to this variable.
4075 (xtests): Change dependencies to ....
4076 (xtests-special): ... additions to this variable.
4077 * resolv/Makefile (tests): Change dependencies to ....
4078 (tests-special): ... additions to this variable.
4079 (xtests): Change dependencies to ....
4080 (xtests-special): ... additions to this variable.
4081 * stdio-common/Makefile (tests): Change dependencies to ....
4082 (tests-special): ... additions to this variable.
4083 (do-tst-unbputc): Remove target.
4084 (do-tst-printf): Likewise.
4085 * stdlib/Makefile (tests): Change dependencies to ....
4086 (tests-special): ... additions to this variable.
4087 * string/Makefile (tests): Change dependencies to ....
4088 (tests-special): ... additions to this variable.
4089 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4090 (tests-special): ... additions to this variable.
4091
4092 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4093 whole file.
4094 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4095 whole file.
4096 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4097 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4098
4099 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4100 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4101 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4102 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4103 * conform/data/libgen.h-data [XPG3]: Likewise.
4104 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4105 * conform/data/ndbm.h-data [XPG3]: Likewise.
4106 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4107 * conform/data/netdb.h-data [XPG3]: Likewise.
4108 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4109 * conform/data/poll.h-data [XPG3]: Likewise.
4110 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4111 * conform/data/strings.h-data [XPG3]: Likewise.
4112 * conform/data/stropts.h-data [XPG3]: Likewise.
4113 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4114 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4115 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4116 Likewise.
4117 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4118 * conform/data/sys/time.h-data [XPG3]: Likewise.
4119 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4120 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4121 * conform/data/sys/un.h-data [XPG3]: Likewise.
4122 * conform/data/syslog.h-data [XPG3]: Likewise.
4123 * conform/data/ucontext.h-data [XPG3]: Likewise.
4124 * conform/data/utmpx.h-data [XPG3]: Likewise.
4125 * conform/data/varargs.h-data [UNIX98]: Enable file.
4126
4127 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4128
4129 * math/libm-test.inc (struct test_f_f_data): Move expected results
4130 into structure for each rounding mode.
4131 (struct test_ff_f_data): Likewise.
4132 (struct test_ff_f_data_nexttoward): Likewise.
4133 (struct test_fi_f_data): Likewise.
4134 (struct test_fl_f_data): Likewise.
4135 (struct test_if_f_data): Likewise.
4136 (struct test_fff_f_data): Likewise.
4137 (struct test_c_f_data): Likewise.
4138 (struct test_f_f1_data): Likewise.
4139 (struct test_fF_f1_data): Likewise.
4140 (struct test_ffI_f1_data): Likewise.
4141 (struct test_c_c_data): Likewise.
4142 (struct test_cc_c_data): Likewise.
4143 (struct test_f_i_data): Likewise.
4144 (struct test_ff_i_data): Likewise.
4145 (struct test_f_l_data): Likewise.
4146 (struct test_f_L_data): Likewise.
4147 (struct test_fFF_11_data): Likewise.
4148 (RM_): New macro.
4149 (RM_FE_DOWNWARD): Likewise.
4150 (RM_FE_TONEAREST): Likewise.
4151 (RM_FE_TOWARDZERO): Likewise.
4152 (RM_FE_UPWARD): Likewise.
4153 (RUN_TEST_LOOP_f_f): Update references to expected results.
4154 (RUN_TEST_LOOP_2_f): Likewise.
4155 (RUN_TEST_LOOP_fff_f): Likewise.
4156 (RUN_TEST_LOOP_c_f): Likewise.
4157 (RUN_TEST_LOOP_f_f1): Likewise.
4158 (RUN_TEST_LOOP_fF_f1): Likewise.
4159 (RUN_TEST_LOOP_fI_f1): Likewise.
4160 (RUN_TEST_LOOP_ffI_f1): Likewise.
4161 (RUN_TEST_LOOP_c_c): Likewise.
4162 (RUN_TEST_LOOP_cc_c): Likewise.
4163 (RUN_TEST_LOOP_f_i): Likewise.
4164 (RUN_TEST_LOOP_f_i_tg): Likewise.
4165 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4166 (RUN_TEST_LOOP_f_b): Likewise.
4167 (RUN_TEST_LOOP_f_b_tg): Likewise.
4168 (RUN_TEST_LOOP_f_l): Likewise.
4169 (RUN_TEST_LOOP_f_L): Likewise.
4170 (RUN_TEST_LOOP_fFF_11): Likewise.
4171 * math/gen-libm-test.pl (parse_args): Output four copies of
4172 expected results for each test.
4173
4174 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4175 (__ASSUME_UTIMES): Remove.
4176 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4177 (__ASSUME_UTIMES): Likewise.
4178
4179 * math/gen-auto-libm-tests.c: Update comment on output format.
4180 (output_for_one_input_case): Generate before-rounding and
4181 after-rounding information as conditions on output flags not
4182 floating-point format.
4183 * math/auto-libm-test-out: Regenerated.
4184 * math/gen-libm-test.pl (cond_value): New function.
4185 (or_cond_value): Use cond_value.
4186 (generate_testfile): Handle conditional exceptions.
4187
41882014-03-05 Joseph Myers <joseph@codesourcery.com>
4189
4190 * math/libm-test.inc (max_valid_error): New variable.
4191 (init_max_error): Take new argument specifying whether function
4192 results are exactly determined. Set max_valid_error and bound
4193 other variables for errors based on this argument.
4194 (set_max_error): Do not record results above max_valid_error.
4195 (check_float_internal): Only accept errors of up to 0.5ulps if
4196 also at most max_valid_error.
4197 (START): Take new argument EXACT and pass it to init_max_error.
4198 (acos_test): Update call to START.
4199 (acos_test_tonearest): Likewise.
4200 (acos_test_towardzero): Likewise.
4201 (acos_test_downward): Likewise.
4202 (acos_test_upward): Likewise.
4203 (acosh_test): Likewise.
4204 (asin_test): Likewise.
4205 (asin_test_tonearest): Likewise.
4206 (asin_test_towardzero): Likewise.
4207 (asin_test_downward): Likewise.
4208 (asin_test_upward): Likewise.
4209 (asinh_test): Likewise.
4210 (atan_test): Likewise.
4211 (atanh_test): Likewise.
4212 (atan2_test): Likewise.
4213 (cabs_test): Likewise.
4214 (cacos_test): Likewise.
4215 (cacosh_test): Likewise.
4216 (carg_test): Likewise.
4217 (casin_test): Likewise.
4218 (casinh_test): Likewise.
4219 (catan_test): Likewise.
4220 (catanh_test): Likewise.
4221 (cbrt_test): Likewise.
4222 (ccos_test): Likewise.
4223 (ccosh_test): Likewise.
4224 (ceil_test): Likewise.
4225 (cexp_test): Likewise.
4226 (cimag_test): Likewise.
4227 (clog_test): Likewise.
4228 (clog10_test): Likewise.
4229 (conj_test): Likewise.
4230 (copysign_test): Likewise.
4231 (cos_test): Likewise.
4232 (cos_test_tonearest): Likewise.
4233 (cos_test_towardzero): Likewise.
4234 (cos_test_downward): Likewise.
4235 (cos_test_upward): Likewise.
4236 (cosh_test): Likewise.
4237 (cosh_test_tonearest): Likewise.
4238 (cosh_test_towardzero): Likewise.
4239 (cosh_test_downward): Likewise.
4240 (cosh_test_upward): Likewise.
4241 (cpow_test): Likewise.
4242 (cproj_test): Likewise.
4243 (creal_test): Likewise.
4244 (csin_test): Likewise.
4245 (csinh_test): Likewise.
4246 (csqrt_test): Likewise.
4247 (ctan_test): Likewise.
4248 (ctan_test_tonearest): Likewise.
4249 (ctan_test_towardzero): Likewise.
4250 (ctan_test_downward): Likewise.
4251 (ctan_test_upward): Likewise.
4252 (ctanh_test): Likewise.
4253 (ctanh_test_tonearest): Likewise.
4254 (ctanh_test_towardzero): Likewise.
4255 (ctanh_test_downward): Likewise.
4256 (ctanh_test_upward): Likewise.
4257 (erf_test): Likewise.
4258 (erfc_test): Likewise.
4259 (exp_test): Likewise.
4260 (exp_test_tonearest): Likewise.
4261 (exp_test_towardzero): Likewise.
4262 (exp_test_downward): Likewise.
4263 (exp_test_upward): Likewise.
4264 (exp10_test): Likewise.
4265 (exp10_test_tonearest): Likewise.
4266 (exp10_test_towardzero): Likewise.
4267 (exp10_test_downward): Likewise.
4268 (exp10_test_upward): Likewise.
4269 (pow10_test): Likewise.
4270 (exp2_test): Likewise.
4271 (expm1_test): Likewise.
4272 (expm1_test_tonearest): Likewise.
4273 (expm1_test_towardzero): Likewise.
4274 (expm1_test_downward): Likewise.
4275 (expm1_test_upward): Likewise.
4276 (fabs_test): Likewise.
4277 (fdim_test): Likewise.
4278 (floor_test): Likewise.
4279 (fma_test): Likewise.
4280 (fma_test_towardzero): Likewise.
4281 (fma_test_downward): Likewise.
4282 (fma_test_upward): Likewise.
4283 (fmax_test): Likewise.
4284 (fmin_test): Likewise.
4285 (fmod_test): Likewise.
4286 (fpclassify_test): Likewise.
4287 (frexp_test): Likewise.
4288 (hypot_test): Likewise.
4289 (ilogb_test): Likewise.
4290 (isfinite_test): Likewise.
4291 (finite_test): Likewise.
4292 (isgreater_test): Likewise.
4293 (isgreaterequal_test): Likewise.
4294 (isinf_test): Likewise.
4295 (isless_test): Likewise.
4296 (islessequal_test): Likewise.
4297 (islessgreater_test): Likewise.
4298 (isnan_test): Likewise.
4299 (isnormal_test): Likewise.
4300 (issignaling_test): Likewise.
4301 (isunordered_test): Likewise.
4302 (j0_test): Likewise.
4303 (j1_test): Likewise.
4304 (jn_test): Likewise.
4305 (ldexp_test): Likewise.
4306 (lgamma_test): Likewise.
4307 (gamma_test): Likewise.
4308 (lrint_test): Likewise.
4309 (lrint_test_tonearest): Likewise.
4310 (lrint_test_towardzero): Likewise.
4311 (lrint_test_downward): Likewise.
4312 (lrint_test_upward): Likewise.
4313 (llrint_test): Likewise.
4314 (llrint_test_tonearest): Likewise.
4315 (llrint_test_towardzero): Likewise.
4316 (llrint_test_downward): Likewise.
4317 (llrint_test_upward): Likewise.
4318 (log_test): Likewise.
4319 (log10_test): Likewise.
4320 (log1p_test): Likewise.
4321 (log2_test): Likewise.
4322 (logb_test): Likewise.
4323 (logb_test_downward): Likewise.
4324 (lround_test): Likewise.
4325 (llround_test): Likewise.
4326 (modf_test): Likewise.
4327 (nearbyint_test): Likewise.
4328 (nextafter_test): Likewise.
4329 (nexttoward_test): Likewise.
4330 (pow_test): Likewise.
4331 (pow_test_tonearest): Likewise.
4332 (pow_test_towardzero): Likewise.
4333 (pow_test_downward): Likewise.
4334 (pow_test_upward): Likewise.
4335 (remainder_test): Likewise.
4336 (drem_test): Likewise.
4337 (remainder_test_tonearest): Likewise.
4338 (drem_test_tonearest): Likewise.
4339 (remainder_test_towardzero): Likewise.
4340 (drem_test_towardzero): Likewise.
4341 (remainder_test_downward): Likewise.
4342 (drem_test_downward): Likewise.
4343 (remainder_test_upward): Likewise.
4344 (drem_test_upward): Likewise.
4345 (remquo_test): Likewise.
4346 (rint_test): Likewise.
4347 (rint_test_tonearest): Likewise.
4348 (rint_test_towardzero): Likewise.
4349 (rint_test_downward): Likewise.
4350 (rint_test_upward): Likewise.
4351 (round_test): Likewise.
4352 (scalb_test): Likewise.
4353 (scalbn_test): Likewise.
4354 (scalbln_test): Likewise.
4355 (signbit_test): Likewise.
4356 (sin_test): Likewise.
4357 (sin_test_tonearest): Likewise.
4358 (sin_test_towardzero): Likewise.
4359 (sin_test_downward): Likewise.
4360 (sin_test_upward): Likewise.
4361 (sincos_test): Likewise.
4362 (sinh_test): Likewise.
4363 (sinh_test_tonearest): Likewise.
4364 (sinh_test_towardzero): Likewise.
4365 (sinh_test_downward): Likewise.
4366 (sinh_test_upward): Likewise.
4367 (sqrt_test): Likewise.
4368 (sqrt_test_tonearest): Likewise.
4369 (sqrt_test_towardzero): Likewise.
4370 (sqrt_test_downward): Likewise.
4371 (sqrt_test_upward): Likewise.
4372 (tan_test): Likewise.
4373 (tan_test_tonearest): Likewise.
4374 (tan_test_towardzero): Likewise.
4375 (tan_test_downward): Likewise.
4376 (tan_test_upward): Likewise.
4377 (tanh_test): Likewise.
4378 (tgamma_test): Likewise.
4379 (trunc_test): Likewise.
4380 (y0_test): Likewise.
4381 (y1_test): Likewise.
4382 (yn_test): Likewise.
4383 (significand_test): Likewise.
4384
4385 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4386 individual tests in comment.
4387 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4388 (prev_max_error): New variable.
4389 (prev_real_max_error): Likewise.
4390 (prev_imag_max_error): Likewise.
4391 (compare_ulp_data): Don't refer to test names in comment.
4392 (find_test_ulps): Remove function.
4393 (find_function_ulps): Likewise.
4394 (find_complex_function_ulps): Likewise.
4395 (init_max_error): Take function name as argument. Look up ulps
4396 for that function.
4397 (print_ulps): Remove function.
4398 (print_max_error): Use prev_max_error instead of calling
4399 find_function_ulps.
4400 (print_complex_max_error): Use prev_real_max_error and
4401 prev_imag_max_error instead of calling find_complex_function_ulps.
4402 (check_float_internal): Take max_ulp parameter instead of calling
4403 find_test_ulps. Don't call print_ulps.
4404 (check_float): Update call to check_float_internal.
4405 (check_complex): Update calls to check_float_internal.
4406 (START): Pass argument to init_max_error.
4407 * math/gen-libm-test.pl (%results): Don't include "kind"
4408 information.
4409 (parse_ulps): Don't handle ulps of individual tests.
4410 (print_ulps_file): Likewise.
4411 (output_ulps): Likewise.
4412 * math/README.libm-test: Update.
4413 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4414 individual tests.
4415 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4416 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4417 * sysdeps/arm/libm-test-ulps: Likewise.
4418 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4419 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4420 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4421 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4422 * sysdeps/microblaze/libm-test-ulps: Likewise.
4423 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4424 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4425 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4426 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4427 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4428 * sysdeps/sh/libm-test-ulps: Likewise.
4429 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4430 * sysdeps/tile/libm-test-ulps: Likewise.
4431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4432
44332014-03-04 Joseph Myers <joseph@codesourcery.com>
4434
4435 * math/libm-test.inc (print_complex_max_error): Check separately
4436 whether real and imaginary errors are within allowed range and
4437 pass 0 to print_complex_function_ulps instead of value within
4438 allowed range.
4439
44402014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4441
4442 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4443 formatting.
4444 (get_handles_fopen): Likewise.
4445 (do_write_test): Likewise.
4446
4447 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4448
4449 * libio/fileops.c (do_ftell): Use cached offset when
4450 available.
4451 * libio/iofwide.c (do_ftell_wide): Likewise.
4452 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4453 _IO_file_attach.
4454 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4455
4456 [BZ #16532]
4457 * libio/libioP.h (get_file_offset): New function.
4458 * libio/fileops.c (get_file_offset): Likewise.
4459 (do_ftell): Likewise.
4460 (_IO_new_file_seekoff): Split out ftell logic.
4461 * libio/wfileops.c (do_ftell_wide): Likewise.
4462 (_IO_wfile_seekoff): Split out ftell logic.
4463 * libio/tst-ftell-active-handler.c: New test case.
4464 * libio/Makefile (tests): Add it.
4465
44662014-03-03 Roland McGrath <roland@hack.frob.com>
4467
4468 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4469 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4470
44712014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4472
4473 [BZ #16639]
4474 * nscd/connections.c (nscd_init): Call do_exit.
4475 (start_threads): Call do_exit and notify_parent.
4476 (begin_drop_privileges): Call do_exit.
4477 (finish_drop_privileges): Likewise.
4478 * nscd/selinux.c (preserve_capabilities): Likewise.
4479 (install_real_capabilities): Likewise.
4480 (nscd_selinux_enabled): Likewise.
4481 (avc_create_thread): Likewise.
4482 (avc_alloc_lock): Likewise.
4483 (nscd_avc_init): Likewise.
4484 * nscd/nscd.c (parent_fd): New static variable.
4485 (main): Create a pipe between parent and child processes.
4486 Skip closing parent_fd.
4487 (monitor_child): New function.
4488 (do_exit): Likewise.
4489 (notify_parent): Likewise.
4490 * nscd/nscd.h (notify_parent): Likewise.
4491 (do_exit): Likewise.
4492
44932014-03-03 Carlos O'Donell <carlos@redhat.com>
4494
4495 * malloc/malloc.c (__libc_calloc): Revert last change.
4496
44972014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4498
4499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4500
45012014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4502
4503 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4505 implementation.
4506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4507 (__libc_ifunc_impl_list): Likewise.
4508 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4509 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4510 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4511 * string/strrchr.c: Define STRRCHR.
4512
45132014-02-28 Ondřej Bílka <neleai@seznam.cz>
4514
4515 * benchtest/bench-strtok.c (simple_strtok): Delete.
4516 (strtok_string): Use as benchmark.
4517 * string/strtok (STRTOK): New macro.
4518
45192014-02-28 Carlos O'Donell <carlos@redhat.com>
4520
4521 * manual/threads.texi: Add header and standard comments to all
4522 functions.
4523
4524 * elf/dl-lookup.c (check_match): New function.
4525 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4526 (do_lookup_x): Remove nested function check_match. Use non-nested
4527 function check_match.
4528
45292014-02-28 Roland McGrath <roland@hack.frob.com>
4530
4531 * csu/Makefile (generated, before-compile): Use += rather than =.
4532 * catgets/Makefile (generated, generated-dirs): Likewise.
4533 * debug/Makefile (generated): Likewise.
4534 * dlfcn/Makefile (generated): Likewise.
4535 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4536 * iconvdata/Makefile (before-compile, generated): Likewise.
4537 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4538 * libio/Makefile (generated): Likewise.
4539 * malloc/Makefile (generated): Likewise.
4540 * manual/Makefile (generated, generated-dirs): Likewise.
4541 * misc/Makefile (generated): Likewise.
4542 * posix/Makefile (generated): Likewise.
4543 * resolv/Makefile (generated): Likewise.
4544 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4545 * timezone/Makefile (generated, generated-dirs): Likewise.
4546
4547 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4548
45492014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4550
4551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4552 power8 implementation.
4553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4554 file: POWER8 llround ifunc implementation.
4555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4556 (__lllround): Add POWER8 implementation.
4557 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4558 POWER8 llround implementation.
4559
4560 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4561 power8 implementation.
4562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4563 file: POWER8 llrint ifunc implementation.
4564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4565 Add POWER8 implementation.
4566 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4567 POWER8 llrint implementation.
4568
4569 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4570 power8 implementation.
4571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4572 file: POWER8 finite ifunc implementation.
4573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4574 Add POWER8 implementation.
4575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4576 Likewise.
4577 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4578 POWER8 finite implementation.
4579 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4580
4581 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4582 power8 implementation.
4583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4584 file: POWER8 isinf ifunc implementation.
4585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4586 POWER8 implementation.
4587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4588 Likewise.
4589 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4590 isinf implementation.
4591 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4592
4593 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4594 (INIT_ARCH): Add hwcap2 initialization.
4595 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4596 power8 implementation.
4597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4598 file: POWER8 isnan ifunc implementation.
4599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4600 POWER8 implementation.
4601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4602 Likewise.
4603 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4604 isnan implementation.
4605 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4606
46072014-02-27 Joey Ye <joey.ye@arm.com>
4608
4609 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4610 (_FP_NANFRAC_Q): Set to zero.
4611
46122014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4613
4614 [BZ #16623]
4615 * math/auto-libm-test-in: New test inputs.
4616 * math/auto-libm-test-out: Regenerate.
4617 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4618 and DA.
4619 (__cos): Likewise.
4620 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4621
46222014-02-27 Joseph Myers <joseph@codesourcery.com>
4623
4624 * scripts/evaluate-test.sh: Take new argument indicating whether
4625 failure is expected.
4626 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4627 indicating whether failure is expected.
4628 * conform/Makefile (test-xfail-run-conformtest): New variable.
4629 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4630 level.
4631 * posix/Makefile (test-xfail-annexc): New variable.
4632 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4633
46342014-02-26 Joseph Myers <joseph@codesourcery.com>
4635
4636 * argp/Makefile: Include Makeconfig immediately after defining
4637 subdir.
4638 * assert/Makefile: Likewise.
4639 * benchtests/Makefile: Likewise.
4640 * catgets/Makefile: Likewise.
4641 * conform/Makefile: Likewise.
4642 * crypt/Makefile: Likewise.
4643 * csu/Makefile: Likewise.
4644 (all): Remove target.
4645 * ctype/Makefile: Include Makeconfig immediately after defining
4646 subdir.
4647 * debug/Makefile: Likewise.
4648 * dirent/Makefile: Likewise.
4649 * dlfcn/Makefile: Likewise.
4650 * gmon/Makefile: Likewise.
4651 * gnulib/Makefile: Likewise.
4652 * grp/Makefile: Likewise.
4653 * gshadow/Makefile: Likewise.
4654 * hesiod/Makefile: Likewise.
4655 * hurd/Makefile: Likewise.
4656 (all): Remove target.
4657 * iconvdata/Makefile: Include Makeconfig immediately after
4658 defining subdir.
4659 * inet/Makefile: Likewise.
4660 * intl/Makefile: Likewise.
4661 * io/Makefile: Likewise.
4662 * libio/Makefile: Likewise.
4663 (all): Remove target.
4664 * locale/Makefile: Include Makeconfig immediately after defining
4665 subdir.
4666 * login/Makefile: Likewise.
4667 * mach/Makefile: Likewise.
4668 (all): Remove target.
4669 * malloc/Makefile: Include Makeconfig immediately after defining
4670 subdir.
4671 (all): Remove target.
4672 * manual/Makefile: Include Makeconfig immediately after defining
4673 subdir.
4674 * math/Makefile: Likewise.
4675 * misc/Makefile: Likewise.
4676 * nis/Makefile: Likewise.
4677 * nss/Makefile: Likewise.
4678 * po/Makefile: Likewise.
4679 (all): Remove target.
4680 * posix/Makefile: Include Makeconfig immediately after defining
4681 subdir.
4682 * pwd/Makefile: Likewise.
4683 * resolv/Makefile: Likewise.
4684 * resource/Makefile: Likewise.
4685 * rt/Makefile: Likewise.
4686 * setjmp/Makefile: Likewise.
4687 * shadow/Makefile: Likewise.
4688 * signal/Makefile: Likewise.
4689 * socket/Makefile: Likewise.
4690 * soft-fp/Makefile: Likewise.
4691 * stdio-common/Makefile: Likewise.
4692 * stdlib/Makefile: Likewise.
4693 * streams/Makefile: Likewise.
4694 * string/Makefile: Likewise.
4695 * sunrpc/Makefile: Likewise.
4696 (all): Remove target.
4697 * sysvipc/Makefile: Include Makeconfig immediately after defining
4698 subdir.
4699 * termios/Makefile: Likewise.
4700 * time/Makefile: Likewise.
4701 * timezone/Makefile: Likewise.
4702 (all): Remove target.
4703 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4704 subdir.
4705 * wctype/Makefile: Likewise.
4706
47072014-02-26 Steve Ellcey <sellcey@mips.com>
4708
4709 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4710 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4711 (libc_feholdexcept_setround_mips): Ditto.
4712 (libc_feholdsetround): New.
4713 (libc_feholdsetroundf): New.
4714 (libc_feholdsetroundl): New.
4715 (libc_feupdateenv_test_mips): New.
4716 (libc_feupdateenv_test): New.
4717 (libc_feupdateenv_testf): New.
4718 (libc_feupdateenv_testl): New.
4719 (libc_feresetround): New.
4720 (libc_feresetroundf): New.
4721 (libc_feresetroundl): New.
4722 (libc_fetestexcept_mips): New.
4723 (libc_fetestexcept): New.
4724 (libc_fetestexceptf): New.
4725 (libc_fetestexceptl): New.
4726 (HAVE_RM_CTX): New.
4727 (libc_feholdexcept_setround_mips_ctx): New.
4728 (libc_feholdexcept_setround_ctx): New.
4729 (libc_feholdexcept_setroundf_ctx): New.
4730 (libc_feholdexcept_setroundl_ctx): New.
4731 (libc_fesetenv_mips_ctx): New.
4732 (libc_fesetenv_ctx): New.
4733 (libc_fesetenv_ctxf): New.
4734 (libc_fesetenv_ctxl): New.
4735 (libc_feupdateenv_mips_ctx): New.
4736 (libc_feupdateenv_ctx): New.
4737 (libc_feupdateenvf_ctx): New.
4738 (libc_feupdateenvl_ctx): New.
4739 (libc_feholdsetround_mips_ctx): New.
4740 (libc_feholdsetround_ctx): New.
4741 (libc_feholdsetroundf_ctx): New.
4742 (libc_feholdsetroundl_ctx): New.
4743 (libc_feresetround_mips_ctx): New.
4744 (libc_feresetround_ctx): New.
4745 (libc_feresetroundf_ctx): New.
4746 (libc_feresetroundl_ctx): New.
4747
47482014-02-26 Carlos O'Donell <carlos@redhat.com>
4749
4750 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4751
4752 * manual/ipc.texi: New file.
4753 * manual/Makefile (chapters): Add ipc.
4754 * manual/job.texi: Add "Inter-Process Communication" to next.
4755 * manual/process.texi: Add "Inter-Process Communication" to prev.
4756
47572014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4758
4759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4760
47612014-02-26 Ondřej Bílka <neleai@seznam.cz>
4762
4763 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4764
4765 * manual/arith.texi: Fix spaces after sentences.
4766 * manual/charset.texi: Likewise.
4767 * manual/errno.texi: Likewise.
4768 * manual/install.texi: Likewise.
4769 * manual/llio.texi: Likewise.
4770 * manual/locale.texi: Likewise.
4771 * manual/maint.texi: Likewise.
4772 * manual/math.texi: Likewise.
4773 * manual/memory.texi: Likewise.
4774 * manual/message.texi: Likewise.
4775 * manual/probes.texi: Likewise.
4776 * manual/resource.texi: Likewise.
4777 * manual/signal.texi: Likewise.
4778 * manual/socket.texi: Likewise.
4779 * manual/stdio.texi: Likewise.
4780 * manual/string.texi: Likewise.
4781 * manual/time.texi: Likewise.
4782 * manual/users.texi: Likewise.
4783
47842014-02-25 Carlos O'Donell <carlos@redhat.com>
4785
4786 [BZ #16632]
4787 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4788 _DEFAULT_SOURCE is defined.
4789
47902014-02-25 Ulrich Drepper <drepper@gmail.com>
4791 Carlos O'Donell <carlos@redhat.com>
4792
4793 [BZ #16613]
4794 * elf/dl-tls.c (_dl_count_modids): New function.
4795 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4796 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4797 audit library and increment generation counter.
4798 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4799 * elf/tst-audit9.c: New file.
4800 * elf/tst-auditmod9a.c: New file.
4801 * elf/tst-auditmod9b.c: New file.
4802 * elf/Makefile: Add rules to build and run tst-audit9.
4803
48042014-02-25 Florian Weimer <fweimer@redhat.com>
4805
4806 [BZ #15347]
4807 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4808
48092014-02-25 Will Newton <will.newton@linaro.org>
4810
4811 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4812 (__longjmp): Restore sp and lr before restoring callee
4813 saved registers. Add longjmp and longjmp_target
4814 SystemTap probe point.
4815 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4816 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4817 Define to zero to match jmpbuf layout.
4818 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4819 (__sigsetjmp): Save sp and lr before saving callee
4820 saved registers. Add setjmp SystemTap probe point.
4821
48222014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4823
4824 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4825
48262014-02-24 Andreas Schwab <schwab@suse.de>
4827
4828 [BZ #15804]
4829 * elf/pldd.c (wait_for_ptrace_stop): New function.
4830 (main): Call it after attaching.
4831
48322014-02-22 Roland McGrath <roland@hack.frob.com>
4833
4834 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4835 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4836 Versions files is now verboten.
4837 * hurd/Versions (libc: GLIBC_2.0):
4838 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4839 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4840 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4841 * mach/Versions: Likewise.
4842
4843 * csu/Versions: Remove unused %include.
4844 * resolv/Versions: Likewise.
4845
48462014-02-21 Joseph Myers <joseph@codesourcery.com>
4847
4848 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4849 ($(objpfx)check-local-headers.out): Likewise.
4850 ($(objpfx)begin-end-check.out): Likewise.
4851 * Makerules (check-abi-%.out): Likewise.
4852 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4853 ($(objpfx)test2.cat): Likewise.
4854 ($(objpfx)de/libc.cat): Likewise.
4855 ($(objpfx)test-gencat.out): Likewise.
4856 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4857 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4858 ($(objpfx)noload-mem): Likewise.
4859 ($(objpfx)tst-pathopt.out): Likewise.
4860 ($(objpfx)tst-rtld-load-self.out): Likewise.
4861 ($(objpfx)tst-array1-cmp.out): Likewise.
4862 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4863 ($(objpfx)tst-array2-cmp.out): Likewise.
4864 ($(objpfx)tst-array3-cmp.out): Likewise.
4865 ($(objpfx)tst-array4-cmp.out): Likewise.
4866 ($(objpfx)tst-array5-cmp.out): Likewise.
4867 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4868 ($(objpfx)check-textrel.out): Likewise.
4869 ($(objpfx)check-execstack.out): Likewise.
4870 ($(objpfx)check-localplt.out): Likewise.
4871 ($(objpfx)order2-cmp.out): Likewise.
4872 ($(objpfx)tst-leaks1-mem): Likewise.
4873 ($(objpfx)tst-leaks1-static-mem): Likewise.
4874 ($(objpfx)tst-initorder-cmp.out): Likewise.
4875 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4876 ($(objpfx)tst-unused-dep.out): Likewise.
4877 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4878 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4879 * iconv/Makefile (test-iconvconfig): Likewise.
4880 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4881 ($(objpfx)iconv-test.out): Likewise.
4882 ($(objpfx)tst-tables.out): Likewise.
4883 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4884 ($(objpfx)tst-gettext.out): Likewise.
4885 ($(objpfx)tst-translit.out): Likewise.
4886 ($(objpfx)tst-gettext2.out): Likewise.
4887 ($(objpfx)tst-gettext4.out): Likewise.
4888 ($(objpfx)tst-gettext6.out): Likewise.
4889 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4890 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4891 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4892 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4893 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4894 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4895 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4896 ($(objpfx)wordexp-tst.out): Likewise.
4897 ($(objpfx)annexc.out): Likewise.
4898 ($(objpfx)tst-fnmatch-mem): Likewise.
4899 ($(objpfx)bug-regex2-mem): Likewise.
4900 ($(objpfx)bug-regex14-mem): Likewise.
4901 ($(objpfx)bug-regex21-mem): Likewise.
4902 ($(objpfx)bug-regex31-mem): Likewise.
4903 ($(objpfx)tst-vfork3-mem): Likewise.
4904 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4905 ($(objpfx)tst-pcre-mem): Likewise.
4906 ($(objpfx)tst-boost-mem): Likewise.
4907 ($(objpfx)tst-getconf.out): Likewise.
4908 ($(objpfx)bug-ga2-mem): Likewise.
4909 ($(objpfx)bug-glob2-mem): Likewise.
4910 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4911 ($(objpfx)mtrace-tst-leaks2): Likewise.
4912 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4913 ($(objpfx)tst-printf.out): Likewise.
4914 ($(objpfx)tst-setvbuf1.out): Likewise.
4915 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4916 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4917 ($(objpfx)tst-fmtmsg.out): Likewise.
4918 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4919 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4920
4921 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4922 * bits/sigaction.h [__USE_MISC]: Likewise.
4923 * bits/waitstatus.h: Update #endif comments.
4924 * ctype/ctype.h: Likewise.
4925 * dirent/dirent.h: Likewise.
4926 [__USE_MISC]: Remove redundant conditionals.
4927 * grp/grp.h: Update #endif comments.
4928 [__USE_GNU]: Remove redundant conditionals.
4929 [__USE_MISC]: Likewise.
4930 * inet/netinet/in.h [__USE_GNU]: Likewise.
4931 * io/sys/stat.h [__USE_MISC]: Likewise.
4932 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4933 * libio/bits/stdio.h: Update #endif comments.
4934 [__USE_MISC]: Remove redundant conditionals.
4935 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4936 * libio/stdio.h: Update #endif comments.
4937 [__USE_MISC]: Remove redundant conditionals.
4938 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4939 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4940 * math/math.h: Update #else and #endif comments.
4941 [__USE_MISC]: Remove redundant conditionals.
4942 * misc/sys/uio.h: Update #endif comments.
4943 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4944 * posix/glob.h [__USE_MISC]: Likewise.
4945 * posix/sys/types.h: Update #endif comments.
4946 [__USE_MISC]: Remove redundant conditionals.
4947 * posix/sys/wait.h: Update #endif comments.
4948 [__USE_MISC]: Remove redundant conditionals.
4949 * posix/unistd.h: Update #endif comments.
4950 [__USE_MISC]: Remove redundant conditionals.
4951 * pwd/pwd.h [__USE_GNU]: Likewise.
4952 [__USE_MISC]: Likewise.
4953 * resolv/netdb.h [__USE_GNU]: Likewise.
4954 * signal/signal.h: Update #endif comments.
4955 [__USE_MISC]: Remove redundant conditionals.
4956 * stdlib/stdlib.h: Update #else and #endif comments.
4957 [__USE_MISC]: Remove redundant conditionals.
4958 [__USE_GNU]: Likewise.
4959 * string/bits/string2.h [__USE_MISC]: Likewise.
4960 * string/string.h: Update #endif comments.
4961 [__USE_MISC]: Remove redundant conditionals.
4962 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4963 Likewise.
4964 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4965 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4966 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4967 Likewise.
4968 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4969 Likewise.
4970 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4971 comments.
4972 [__USE_MISC]: Remove redundant conditionals.
4973 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4974 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4975 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4976 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4977 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4978 Likewise.
4979 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4980 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4981 Likewise.
4982 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4983 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4984 Likewise.
4985 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4986 Likewise.
4987 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4988 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4989 Likewise.
4990 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4991 Likewise.
4992 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4993 * sysdeps/x86/bits/string.h: Update #endif comments.
4994 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4995 conditionals.
4996 * time/sys/time.h: Update #endif comments.
4997 * time/time.h: Likewise.
4998 [__USE_MISC]: Remove redundant conditionals.
4999
50002014-02-21 Yury Gribov <y.gribov@samsung.com>
5001
5002 [BZ #16600]
5003 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5004
50052014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5006
5007 * Versions.def (librt): Add GLIBC_2.17.
5008
50092014-02-21 Adam Conrad <adconrad@0c3.net>
5010
5011 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5012 synonym for _SYS_AUXV_H to allow direct inclusion.
5013 * sysdeps/sparc/bits/hwcap.h: Likewise.
5014 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5015 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5016 * sysdeps/sparc/sysdep.h: Likewise.
5017
50182014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5019
5020 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5021
50222014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5023
5024 * benchtests/bench-strrchr.c: Print length instead of position.
5025
50262014-02-20 Joseph Myers <joseph@codesourcery.com>
5027
5028 [BZ #16611]
5029 * sysdeps/unix/sysv/linux/kernel-features.h
5030 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5031 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5032 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5033 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5034 Likewise.
5035 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5036 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5037 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5038 (__ASSUME_SENDMMSG): Define instead of using previous
5039 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5040 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5041 (__ASSUME_SENDMMSG_SYSCALL): Define.
5042 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5043 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5044 Likewise.
5045 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5046 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5047 Likewise.
5048 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5049 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5050 Likewise.
5051 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5052 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5053 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5054 [__ASSUME_SENDMMSG]: Change conditionals to
5055 [__ASSUME_SENDMMSG_SOCKETCALL].
5056 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5057 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5058 Define.
5059 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5060 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5061 Likewise.
5062 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5063 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5064 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5065 [!__ASSUME_SENDMMSG]: Change conditional to
5066 [!__ASSUME_SENDMMSG_SOCKETCALL].
5067 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5068 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5069 Define.
5070
5071 [BZ #16610]
5072 * sysdeps/unix/sysv/linux/kernel-features.h
5073 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5074 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5075 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5076 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5077 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5078 [__i386__ || __sparc__]
5079 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5080 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5081 (__ASSUME_RECVMMSG): Define instead of using previous
5082 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5083 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5084 (__ASSUME_RECVMMSG_SYSCALL): Define.
5085 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5086 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5087 Likewise.
5088 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5089 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5090 Likewise.
5091 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5092 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5093 Likewise.
5094 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5095 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5096 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5097 [__ASSUME_RECVMMSG]: Change condition to
5098 [__ASSUME_RECVMMSG_SOCKETCALL].
5099 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5100 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5101 Define.
5102 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5103 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5104 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5105 Likewise.
5106 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5107 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5108 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5109 [!__ASSUME_RECVMMSG]: Change condition to
5110 [!__ASSUME_RECVMMSG_SOCKETCALL].
5111 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5112 (__ASSUME_RECVMMSG_SYSCALL): Define.
5113
5114 [BZ #16609]
5115 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5116 __powerpc__ || __s390__ || __sh__ || __sparc__]
5117 (__ASSUME_SOCKETCALL): Define.
5118 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5119 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5120 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5121 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5122 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5123 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5124 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5125 (__ASSUME_ACCEPT4): Define instead of using previous
5126 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5127 __powerpc__ || __sparc__ || __s390__)] condition.
5128 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5129 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5130 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5131 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5132 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5133 [!__ASSUME_ACCEPT4]: Change condition to
5134 [!__ASSUME_ACCEPT4_SOCKETCALL].
5135 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5136 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5137 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5138 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5139 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5140 __ASSUME_ACCEPT4_SYSCALL.
5141 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5142 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5143 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5144 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5145 __ASSUME_ACCEPT4_SYSCALL.
5146 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5147 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5148 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5149 [__ASSUME_ACCEPT4]: Change condition to
5150 [__ASSUME_ACCEPT4_SOCKETCALL].
5151 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5152 (__ASSUME_SOCKETCALL): Define.
5153 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5154 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5155 (__ASSUME_SOCKETCALL): Define.
5156 (__ASSUME_ACCEPT4): Remove.
5157 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5158 Define.
5159 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5160 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5161 Likewise.
5162 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5163 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5164
5165 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5166 macro.
5167 (HWCAP_ARM_LPAE): Likewise.
5168 (HWCAP_ARM_EVTSTRM): Likewise.
5169 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5170 Add vpfd32, lpae and evtstrm.
5171 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5172 Increase to 22.
5173
51742014-02-19 Joseph Myers <joseph@codesourcery.com>
5175
5176 * math/auto-libm-test-in: Add tests of clog10.
5177 * math/auto-libm-test-out: Regenerated.
5178 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5179 * sysdeps/i386/fpu/libm-test-ulps: Update.
5180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5181
51822014-02-18 Andreas Schwab <schwab@suse.de>
5183
5184 [BZ #16574]
5185 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5186 Store non-zero if the second buffer was newly allocated.
5187 (send_dg): Likewise.
5188 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5189 to send_vc and send_dg.
5190 (res_nsend): Pass NULL for ansp2_malloced.
5191 * resolv/res_query.c (__libc_res_nquery): Add parameter
5192 answerp2_malloced and pass it down to __libc_res_nsend.
5193 (res_nquery): Pass additional NULL to __libc_res_nquery.
5194 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5195 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5196 second answer buffer if answerp2_malloced was set.
5197 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5198 (__libc_res_nquerydomain): Add parameter
5199 answerp2_malloced and pass it down to __libc_res_nquery.
5200 (res_nquerydomain): Pass additional NULL to
5201 __libc_res_nquerydomain.
5202 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5203 additional NULL to __libc_res_nsend and __libc_res_nquery.
5204 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5205 additional NULL to __libc_res_nsearch.
5206 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5207 parameter of __libc_res_nsearch to check for separately allocated
5208 second buffer.
5209 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5210 __libc_res_nquery.
5211 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5212 additional NULL to __libc_res_nquery.
5213 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5214 __libc_res_nsearch.
5215 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5216 * include/resolv.h: Update prototypes of __libc_res_nquery,
5217 __libc_res_nsearch, __libc_res_nsend.
5218
52192014-02-18 Joseph Myers <joseph@codesourcery.com>
5220
5221 * math/auto-libm-test-in: Add tests of fma.
5222 * math/auto-libm-test-out: Regenerated.
5223 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5224 (fma_towardzero_test_data): Likewise.
5225 (fma_downward_test_data): Likewise.
5226 (fma_upward_test_data): Likewise.
5227 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5228 mpc_mode.
5229 (rounding_modes): Add values for new field.
5230 (func_calc_method): Add value mpfr_fff_f.
5231 (func_calc_desc): Add mpfr_fff_f union field.
5232 (test_function): Add field exact_args.
5233 (FUNC): Add macro argument EXACT_ARGS.
5234 (FUNC_mpfr_f_f): Update call to FUNC.
5235 (FUNC_mpfr_f_f): Likewise.
5236 (FUNC_mpfr_ff_f): Likewise.
5237 (FUNC_mpfr_if_f): Likewise.
5238 (FUNC_mpc_c_f): Likewise.
5239 (FUNC_mpc_c_c): Likewise.
5240 (test_functions): Add fma. Update calls to FUNC.
5241 (handle_input_arg): Add argument exact_args.
5242 (add_test): Update call to handle_input_arg.
5243 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5244 (output_for_one_input_case): Update call to calc_generic_results.
5245 Recalculate exact zero results in each rounding mode.
5246
5247 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5248 non-negative before setting low bit.
5249 * math/auto-libm-test-in: Mark one asin test possibly having
5250 spurious underflow.
5251 * math/auto-libm-test-out: Regenerated.
5252 * sysdeps/i386/fpu/libm-test-ulps: Update.
5253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5254
52552014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5256
5257 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5258 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5259 ports/sysdeps/unix/sysv/linux/microblaze.
5260 * README: Add missing listing for microblaze*-*-linux-gnu.
5261
52622014-02-16 Mike Frysinger <vapier@gentoo.org>
5263
5264 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5265 * sysdeps/unix/sysv/linux/ia64: Move directory from
5266 ports/sysdeps/unix/sysv/linux/ia64.
5267 * README: Update listing for ia64-*-linux-gnu.
5268
52692014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5270 Joseph Myers <joseph@codesourcery.com>
5271
5272 * Makeconfig (test-name): New variable.
5273 (evaluate-test): Likewise.
5274 * Makerules (do-test-clean): Remove .test-result files.
5275 (common-mostlyclean): Likewise.
5276 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5277 * scripts/evaluate-test.sh: New file.
5278
52792014-02-14 Joseph Myers <joseph@codesourcery.com>
5280
5281 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5282 separate $(objpfx)tst-fopenloc-cmp.out and
5283 $(objpfx)tst-fopenloc-mem.out targets.
5284 (tests): Update dependencies.
5285 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5286 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5287 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5288 (tst-rxspencer-no-utf8-ARGS): New variable.
5289 (tst-rxspencer-no-utf8-ENV): Likewise.
5290 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5291 instead of $(objpfx)tst-rxspencer-mem.
5292 ($(objpfx)tst-rxspencer-mem): Change target to
5293 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5294 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5295 * posix/tst-rxspencer-no-utf8.c: New file.
5296
5297 * elf/Makefile ($(objpfx)order.out): Remove rule.
5298 [$(run-built-tests) = yes] (tests): Depend on
5299 $(objpfx)order-cmp.out.
5300 ($(objpfx)order-cmp.out): New rule.
5301 [$(run-built-tests) = yes] (tests): Depend on
5302 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5303 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5304 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5305 $(objpfx)tst-array5-static-cmp.out.
5306 ($(objpfx)tst-array1.out): Remove rule.
5307 ($(objpfx)tst-array1-cmp.out): New rule.
5308 ($(objpfx)tst-array1-static.out): Remove rule.
5309 ($(objpfx)tst-array1-static-cmp.out): New rule.
5310 ($(objpfx)tst-array2.out): Remove rule.
5311 ($(objpfx)tst-array2-cmp.out): New rule.
5312 ($(objpfx)tst-array3.out): Remove rule.
5313 ($(objpfx)tst-array3-cmp.out): New rule.
5314 ($(objpfx)tst-array4.out): Remove rule.
5315 ($(objpfx)tst-array4-cmp.out): New rule.
5316 ($(objpfx)tst-array5.out): Remove rule.
5317 ($(objpfx)tst-array5-cmp.out): New rule.
5318 ($(objpfx)tst-array5-static.out): Remove rule.
5319 ($(objpfx)tst-array5-static-cmp.out): New rule.
5320 [$(run-built-tests) = yes] (tests): Depend on
5321 $(objpfx)order2-cmp.out.
5322 ($(objpfx)order2.out): Remove rule.
5323 ($(objpfx)order2-cmp.out): New rule.
5324 ($(objpfx)tst-initorder.out): Remove rule.
5325 [$(run-built-tests) = yes] (tests): Depend on
5326 $(objpfx)tst-initorder-cmp.out.
5327 ($(objpfx)tst-initorder-cmp.out): New rule.
5328 ($(objpfx)tst-initorder2.out): Remove rule.
5329 [$(run-built-tests) = yes] (tests): Depend on
5330 $(objpfx)tst-initorder2-cmp.out.
5331 ($(objpfx)tst-initorder2-cmp.out): New rule.
5332 [$(run-built-tests) = yes] (tests): Depend on
5333 $(objpfx)tst-unused-dep-cmp.out.
5334 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5335 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5336 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5337 on $(objpfx)tst-setvbuf1-cmp.out.
5338 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5339 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5340 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5341 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5342 ($(objpfx)tst-svc.out): Remove rule.
5343 ($(objpfx)tst-svc-cmp.out): New rule.
5344
53452014-02-13 Joseph Myers <joseph@codesourcery.com>
5346
5347 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5348 * ctype/ctype.h [__USE_MISC]: Likewise.
5349 * dirent/dirent.h [__USE_MISC]: Likewise.
5350 * grp/grp.h [__USE_MISC]: Likewise.
5351 * io/fcntl.h [__USE_MISC]: Likewise.
5352 * io/sys/stat.h [__USE_MISC]: Likewise.
5353 * libio/stdio.h [__USE_MISC]: Likewise.
5354 * posix/unistd.h [__USE_MISC]: Likewise.
5355 * pwd/pwd.h [__USE_MISC]: Likewise.
5356 * stdlib.h [__USE_MISC]: Likewise.
5357 * string/bits/string2.h [__USE_MISC]: Likewise.
5358 * string/string.h [__USE_MISC]: Likewise.
5359 * time/time.h [__USE_MISC]: Likewise.
5360
53612014-02-13 Andreas Schwab <schwab@suse.de>
5362
5363 [BZ #16574]
5364 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5365 second answer buffer if it was separately allocated.
5366
53672014-02-12 Joseph Myers <joseph@codesourcery.com>
5368
5369 * sysdeps/mips/math-tests.h: Include <features.h>.
5370 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5371 (ROUNDING_TESTS_long_double): Do not define.
5372 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5373 (EXCEPTION_TESTS_long_double): Likewise.
5374 * sysdeps/mips/mips64/libm-test-ulps: Update.
5375
5376 * include/features.h (__USE_BSD): Remove macro definitions.
5377 (__USE_SVID): Likewise.
5378 (_BSD_SOURCE): Likewise.
5379 (_SVID_SOURCE): Likewise.
5380 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5381 from definition of _DEFAULT_SOURCE.
5382 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5383 [_DEFAULT_SOURCE].
5384 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5385 * bits/mman.h [__USE_BSD]: Likewise.
5386 * bits/termios.h [__USE_BSD]: Likewise.
5387 * bits/waitstatus.h [__USE_BSD]: Likewise.
5388 * ctype/ctype.h [__USE_SVID]: Likewise.
5389 * dirent/dirent.h [__USE_BSD]: Likewise.
5390 * grp/grp.h [__USE_SVID]: Likewise.
5391 [__USE_BSD]: Likewise.
5392 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5393 * io/fcntl.h [__USE_BSD]: Likewise.
5394 * io/ftw.h [__USE_BSD]: Likewise.
5395 * io/sys/stat.h [__USE_BSD]: Likewise.
5396 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5397 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5398 * libio/stdio.h [__USE_SVID]: Likewise.
5399 [__USE_BSD]: Likewise.
5400 * math/math.h [__USE_SVID]: Likewise.
5401 [__USE_BSD]: Likewise.
5402 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5403 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5404 * misc/search.h [__USE_SVID]: Likewise.
5405 * misc/sys/mman.h [__USE_BSD]: Likewise.
5406 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5407 * misc/sys/uio.h [__USE_BSD]: Likewise.
5408 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5409 * posix/glob.h [__USE_BSD]: Likewise.
5410 * posix/regex.h [__USE_BSD]: Likewise.
5411 * posix/sys/types.h [__USE_BSD]: Likewise.
5412 [__USE_SVID]: Likewise.
5413 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5414 * posix/sys/wait.h [__USE_BSD]: Likewise.
5415 [__USE_SVID]: Likewise.
5416 * posix/unistd.h [__USE_BSD]: Likewise.
5417 [__USE_SVID]: Likewise.
5418 * pwd/pwd.h [__USE_SVID]: Likewise.
5419 * resolv/netdb.h [__USE_BSD]: Likewise.
5420 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5421 * signal/signal.h [__USE_BSD]: Likewise.
5422 [__USE_SVID]: Likewise.
5423 * socket/sys/socket.h [__USE_BSD]: Likewise.
5424 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5425 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5426 [__USE_SVID]: Likewise.
5427 * string/bits/string2.h [__USE_BSD]: Likewise.
5428 [__USE_SVID]: Likewise.
5429 * string/bits/string3.h [__USE_BSD]: Likewise.
5430 * string/endian.h [__USE_BSD]: Likewise.
5431 * string/string.h [__USE_SVID]: Likewise.
5432 [__USE_BSD]: Likewise.
5433 * string/strings.h [__USE_BSD]: Likewise.
5434 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5435 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5436 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5437 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5438 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5439 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5440 Likewise.
5441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5442 Likewise.
5443 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5444 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5445 Likewise.
5446 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5447 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5448 Likewise.
5449 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5450 Likewise.
5451 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5452 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5453 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5454 Likewise.
5455 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5456 Likewise.
5457 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5458 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5459 * termios/termios.h [__USE_BSD]: Likewise.
5460 * time/sys/time.h [__USE_BSD]: Likewise.
5461 * time/time.h [__USE_BSD]: Likewise.
5462 [__USE_SVID]: Likewise.
5463
5464 * Makefile (subdir_targets): Remove subdir_lint.out.
5465
5466 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5467 (do-tst-printf): Likewise.
5468 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5469 $(objpfx)tst-printf.out.
5470
5471 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5472
5473 * Makerules (check-abi-%): Change target to
5474 $(objpfx)check-abi-%.out.
5475 (check-abi target): Update dependencies.
5476 (check-abi-pattern variable): Redirect output of diff to $@.
5477 (check-abi variable): Likewise.
5478 * elf/Makefile (check-abi): Update dependencies.
5479
5480 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5481 unused.
5482 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5483 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5484 subnormal range.
5485 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5486 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5487 value has largest subnormal exponent.
5488 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5489 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5490 * sysdeps/aarch64/soft-fp/sfp-machine.h
5491 (_FP_TININESS_AFTER_ROUNDING): New macro.
5492 * sysdeps/alpha/soft-fp/sfp-machine.h
5493 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5494 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5495 Likewise.
5496 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5497 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5498 * sysdeps/mips/soft-fp/sfp-machine.h
5499 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5500 * sysdeps/powerpc/soft-fp/sfp-machine.h
5501 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5502 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5503 Likewise.
5504 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5505 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5506 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5507 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5508 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5509 Likewise.
5510
55112014-02-12 Dylan Alex Simon <dylan@dylex.net>
5512
5513 [BZ #16545]
5514 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5515 model 1.
5516
55172014-02-12 Richard Henderson <rth@redhat.com>
5518
5519 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5520 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5521 * sysdeps/unix/sysv/linux/alpha: Move directory from
5522 ports/sysdeps/unix/sysv/linux/alpha.
5523 * README: Update listing for alpha-*-linux-gnu.
5524
55252014-02-11 Joseph Myers <joseph@codesourcery.com>
5526
5527 * include/features.h: Update comment documenting feature test
5528 macros.
5529 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5530 _DEFAULT_SOURCE.
5531 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5532 (_SVID_SOURCE): Likewise.
5533 (_DEFAULT_SOURCE): Update description of default features.
5534 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5535 with _GNU_SOURCE.
5536 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5537 (S_ISVTX): Likewise.
5538 * manual/math.texi (Mathematical Constants): Likewise.
5539 * manual/signal.texi (Interrupted Primitives): Likewise.
5540 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5541 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5542 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5543 Don't refer to _SVID_SOURCE in warning text.
5544
5545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5546
5547 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5548 already defined.
5549 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5550 * sysdeps/mips/dl-lookup.c: Remove.
5551 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5552
55532014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5554
5555 [BZ #16447]
5556 * math/auto-libm-test-in: Add testcase for expl.
5557 * math/auto-libm-test-out: Regenerate.
5558 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5559 calculation of unsafe.
5560 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5561
55622014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5563
5564 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5565 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5566 ports/sysdeps/unix/sysv/linux/aarch64.
5567 * README: Update listing for aarch64*-*-linux-gnu.
5568
55692014-02-11 Will Newton <will.newton@linaro.org>
5570
5571 * manual/probes.texi (Mathematical Function Probes): Use
5572 "triggered" instead of "hit".
5573
5574 * manual/probes.texi (Internal Probes): Add documentation
5575 of setjmp, longjmp and longjmp_target probes.
5576
5577 * include/stap-probe.h: Add comment about probe argument
5578 format.
5579
5580 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5581 definition. (tr_where, tr_freehook, tr_mallochook,
5582 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5583
55842014-02-11 David S. Miller <davem@davemloft.net>
5585
5586 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5587 processing int_tests.
5588
55892014-02-10 Joseph Myers <joseph@codesourcery.com>
5590
5591 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5592 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5593 * sysdeps/unix/sysv/linux/mips: Move directory from
5594 ports/sysdeps/unix/sysv/linux/mips.
5595 * README: Update listing for mips-*-linux-gnu and
5596 mips64-*-linux-gnu.
5597
55982014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5599
5600 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5601 * sysdeps/unix/sysv/linux/m68k: Move directory from
5602 ports/sysdeps/unix/sysv/linux/m68k.
5603 * README: Update listing for m68k-*-linux-gnu.
5604
56052014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5606
5607 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5608 * sysdeps/unix/sysv/linux/generic: Move directory from
5609 ports/sysdeps/unix/sysv/linux/generic.
5610 * sysdeps/unix/sysv/linux/tile: Move directory from
5611 ports/sysdeps/unix/sysv/linux/tile.
5612 * README: Update listing for tile*-*-linux-gnu.
5613
56142014-02-10 Ondřej Bílka <neleai@seznam.cz>
5615
5616 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5617 __builtin_expect.
5618 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5619 * catgets/open_catalog.c (__open_catalog): Likewise.
5620 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5621 * debug/confstr_chk.c: Likewise.
5622 * debug/fread_chk.c (__fread_chk): Likewise.
5623 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5624 * debug/getgroups_chk.c: Likewise.
5625 * debug/mbsnrtowcs_chk.c: Likewise.
5626 * debug/mbsrtowcs_chk.c: Likewise.
5627 * debug/mbstowcs_chk.c: Likewise.
5628 * debug/memcpy_chk.c: Likewise.
5629 * debug/memmove_chk.c: Likewise.
5630 * debug/mempcpy_chk.c: Likewise.
5631 * debug/memset_chk.c: Likewise.
5632 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5633 * debug/strcat_chk.c (__strcat_chk): Likewise.
5634 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5635 * debug/strncat_chk.c (__strncat_chk): Likewise.
5636 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5637 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5638 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5639 * debug/wcpncpy_chk.c: Likewise.
5640 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5641 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5642 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5643 * debug/wcsncpy_chk.c: Likewise.
5644 * debug/wcsnrtombs_chk.c: Likewise.
5645 * debug/wcsrtombs_chk.c: Likewise.
5646 * debug/wcstombs_chk.c: Likewise.
5647 * debug/wmemcpy_chk.c: Likewise.
5648 * debug/wmemmove_chk.c: Likewise.
5649 * debug/wmempcpy_chk.c: Likewise.
5650 * debug/wmemset_chk.c: Likewise.
5651 * dirent/scandirat.c (SCANDIRAT): Likewise.
5652 * dlfcn/dladdr1.c (dladdr1): Likewise.
5653 * dlfcn/dladdr.c (dladdr): Likewise.
5654 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5655 * dlfcn/dlerror.c (__dlerror): Likewise.
5656 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5657 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5658 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5659 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5660 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5661 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5662 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5663 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5664 Likewise.
5665 * elf/dl-conflict.c: Likewise.
5666 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5667 * elf/dl-dst.h: Likewise.
5668 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5669 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5670 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5671 * elf/dl-init.c (call_init, _dl_init): Likewise.
5672 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5673 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5674 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5675 Likewise.
5676 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5677 Likewise.
5678 * elf/dl-minimal.c (__libc_memalign): Likewise.
5679 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5680 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5681 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5682 * elf/dl-sym.c (do_sym): Likewise.
5683 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5684 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5685 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5686 * elf/dl-writev.h (_dl_writev): Likewise.
5687 * elf/ldconfig.c (search_dir): Likewise.
5688 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5689 (dl_main): Likewise.
5690 * elf/setup-vdso.h (setup_vdso): Likewise.
5691 * grp/compat-initgroups.c (compat_call): Likewise.
5692 * grp/fgetgrent.c (fgetgrent): Likewise.
5693 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5694 * grp/putgrent.c (putgrent): Likewise.
5695 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5696 Likewise.
5697 * hurd/hurdinit.c: Likewise.
5698 * iconvdata/8bit-gap.c (struct): Likewise.
5699 * iconvdata/ansi_x3.110.c : Likewise.
5700 * iconvdata/big5.c : Likewise.
5701 * iconvdata/big5hkscs.c : Likewise.
5702 * iconvdata/cp1255.c: Likewise.
5703 * iconvdata/cp1258.c : Likewise.
5704 * iconvdata/cp932.c : Likewise.
5705 * iconvdata/euc-cn.c: Likewise.
5706 * iconvdata/euc-jisx0213.c : Likewise.
5707 * iconvdata/euc-jp.c: Likewise.
5708 * iconvdata/euc-jp-ms.c : Likewise.
5709 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5710 * iconvdata/gb18030.c : Likewise.
5711 * iconvdata/gbbig5.c (const): Likewise.
5712 * iconvdata/gbgbk.c: Likewise.
5713 * iconvdata/gbk.c : Likewise.
5714 * iconvdata/ibm1364.c : Likewise.
5715 * iconvdata/ibm930.c : Likewise.
5716 * iconvdata/ibm932.c: Likewise.
5717 * iconvdata/ibm933.c : Likewise.
5718 * iconvdata/ibm935.c : Likewise.
5719 * iconvdata/ibm937.c : Likewise.
5720 * iconvdata/ibm939.c : Likewise.
5721 * iconvdata/ibm943.c: Likewise.
5722 * iconvdata/iso_11548-1.c: Likewise.
5723 * iconvdata/iso-2022-cn.c : Likewise.
5724 * iconvdata/iso-2022-cn-ext.c : Likewise.
5725 * iconvdata/iso-2022-jp-3.c: Likewise.
5726 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5727 * iconvdata/iso-2022-kr.c : Likewise.
5728 * iconvdata/iso646.c (gconv_end): Likewise.
5729 * iconvdata/iso_6937-2.c : Likewise.
5730 * iconvdata/iso_6937.c : Likewise.
5731 * iconvdata/iso8859-1.c: Likewise.
5732 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5733 * iconvdata/shift_jisx0213.c : Likewise.
5734 * iconvdata/sjis.c : Likewise.
5735 * iconvdata/t.61.c : Likewise.
5736 * iconvdata/tcvn5712-1.c : Likewise.
5737 * iconvdata/tscii.c: Likewise.
5738 * iconvdata/uhc.c : Likewise.
5739 * iconvdata/unicode.c (gconv_end): Likewise.
5740 * iconvdata/utf-16.c (gconv_end): Likewise.
5741 * iconvdata/utf-32.c (gconv_end): Likewise.
5742 * iconvdata/utf-7.c (base64): Likewise.
5743 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5744 * iconv/gconv_close.c (__gconv_close): Likewise.
5745 * iconv/gconv_open.c (__gconv_open): Likewise.
5746 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5747 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5748 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5749 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5750 (ucs4le_internal_loop_single): Likewise.
5751 * iconv/iconv.c (iconv): Likewise.
5752 * iconv/iconv_close.c: Likewise.
5753 * iconv/loop.c (SINGLE): Likewise.
5754 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5755 * include/atomic.h: Likewise.
5756 * inet/inet6_option.c (option_alloc): Likewise.
5757 * intl/bindtextdom.c (set_binding_values): Likewise.
5758 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5759 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5760 * intl/localealias.c (read_alias_file): Likewise.
5761 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5762 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5763 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5764 * libio/fmemopen.c (fmemopen): Likewise.
5765 * libio/iofgets.c (_IO_fgets): Likewise.
5766 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5767 * libio/iofgetws.c (fgetws): Likewise.
5768 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5769 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5770 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5771 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5772 * locale/findlocale.c (_nl_find_locale): Likewise.
5773 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5774 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5775 Likewise.
5776 * locale/setlocale.c (setlocale): Likewise.
5777 * login/programs/pt_chown.c (main): Likewise.
5778 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5779 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5780 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5781 (mmap, mmap64, mremap, munmap): Likewise.
5782 * math/e_exp2l.c: Likewise.
5783 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5784 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5785 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5786 * math/s_catan.c (__catan): Likewise.
5787 * math/s_catanf.c (__catanf): Likewise.
5788 * math/s_catanh.c (__catanh): Likewise.
5789 * math/s_catanhf.c (__catanhf): Likewise.
5790 * math/s_catanhl.c (__catanhl): Likewise.
5791 * math/s_catanl.c (__catanl): Likewise.
5792 * math/s_ccosh.c (__ccosh): Likewise.
5793 * math/s_ccoshf.c (__ccoshf): Likewise.
5794 * math/s_ccoshl.c (__ccoshl): Likewise.
5795 * math/s_cexp.c (__cexp): Likewise.
5796 * math/s_cexpf.c (__cexpf): Likewise.
5797 * math/s_cexpl.c (__cexpl): Likewise.
5798 * math/s_clog10.c (__clog10): Likewise.
5799 * math/s_clog10f.c (__clog10f): Likewise.
5800 * math/s_clog10l.c (__clog10l): Likewise.
5801 * math/s_clog.c (__clog): Likewise.
5802 * math/s_clogf.c (__clogf): Likewise.
5803 * math/s_clogl.c (__clogl): Likewise.
5804 * math/s_csin.c (__csin): Likewise.
5805 * math/s_csinf.c (__csinf): Likewise.
5806 * math/s_csinh.c (__csinh): Likewise.
5807 * math/s_csinhf.c (__csinhf): Likewise.
5808 * math/s_csinhl.c (__csinhl): Likewise.
5809 * math/s_csinl.c (__csinl): Likewise.
5810 * math/s_csqrt.c (__csqrt): Likewise.
5811 * math/s_csqrtf.c (__csqrtf): Likewise.
5812 * math/s_csqrtl.c (__csqrtl): Likewise.
5813 * math/s_ctan.c (__ctan): Likewise.
5814 * math/s_ctanf.c (__ctanf): Likewise.
5815 * math/s_ctanh.c (__ctanh): Likewise.
5816 * math/s_ctanhf.c (__ctanhf): Likewise.
5817 * math/s_ctanhl.c (__ctanhl): Likewise.
5818 * math/s_ctanl.c (__ctanl): Likewise.
5819 * math/w_pow.c: Likewise.
5820 * math/w_powf.c: Likewise.
5821 * math/w_powl.c: Likewise.
5822 * math/w_scalb.c (sysv_scalb): Likewise.
5823 * math/w_scalbf.c (sysv_scalbf): Likewise.
5824 * math/w_scalbl.c (sysv_scalbl): Likewise.
5825 * misc/error.c (error_tail): Likewise.
5826 * misc/pselect.c (__pselect): Likewise.
5827 * nis/nis_callback.c (__nis_create_callback): Likewise.
5828 * nis/nis_call.c (__nisfind_server): Likewise.
5829 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5830 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5831 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5832 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5833 * nis/nis_lookup.c (nis_lookup): Likewise.
5834 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5835 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5836 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5837 * nis/nis_xdr.c (xdr_endpoint): Likewise.
5838 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5839 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5840 * nis/nss_compat/compat-initgroups.c (add_group)
5841 (internal_getgrent_r): Likewise.
5842 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5843 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5844 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5845 (internal_getspnam_r): Likewise.
5846 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5847 (_nss_nis_getaliasbyname_r): Likewise.
5848 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5849 (_nss_nis_getntohost_r): Likewise.
5850 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5851 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5852 (_nss_nis_getgrgid_r): Likewise.
5853 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5854 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5855 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5856 (_nss_nis_gethostbyname4_r): Likewise.
5857 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5858 (initgroups_netid): Likewise.
5859 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5860 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5861 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5862 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5863 (_nss_nis_getprotobynumber_r): Likewise.
5864 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5865 (_nss_nis_getsecretkey): Likewise.
5866 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5867 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5868 (_nss_nis_getpwuid_r): Likewise.
5869 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5870 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5871 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5872 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5873 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5874 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5875 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5876 Likewise.
5877 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5878 (_nss_nisplus_getntohost_r): Likewise.
5879 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5880 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5881 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5882 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5883 Likewise.
5884 * nis/nss_nisplus/nisplus-initgroups.c
5885 (_nss_nisplus_initgroups_dyn): Likewise.
5886 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5887 (_nss_nisplus_getnetbyaddr_r): Likewise.
5888 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5889 (_nss_nisplus_getprotobynumber_r): Likewise.
5890 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5891 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5892 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5893 Likewise.
5894 * nis/nss_nisplus/nisplus-service.c
5895 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5896 (_nss_nisplus_getservbyport_r): Likewise.
5897 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5898 (_nss_nisplus_getspnam_r): Likewise.
5899 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5900 Likewise.
5901 * nscd/aicache.c (addhstaiX): Likewise.
5902 * nscd/cache.c (cache_search, prune_cache): Likewise.
5903 * nscd/connections.c (register_traced_file, send_ro_fd)
5904 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5905 (main_loop_epoll): Likewise.
5906 * nscd/grpcache.c (addgrbyX): Likewise.
5907 * nscd/hstcache.c (addhstbyX): Likewise.
5908 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5909 * nscd/mem.c (gc, mempool_alloc): Likewise.
5910 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5911 (addinnetgrX): Likewise.
5912 * nscd/nscd-client.h (__nscd_acquire_maplock)
5913 (__nscd_drop_map_ref): Likewise.
5914 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5915 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5916 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5917 Likewise.
5918 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5919 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5920 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5921 (__nscd_get_map_ref): Likewise.
5922 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5923 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5924 Likewise.
5925 * nscd/pwdcache.c (addpwbyX): Likewise.
5926 * nscd/selinux.c (preserve_capabilities): Likewise.
5927 * nscd/servicescache.c (addservbyX): Likewise.
5928 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5929 * posix/fnmatch.c (fnmatch): Likewise.
5930 * posix/getopt.c (_getopt_internal_r): Likewise.
5931 * posix/glob.c (glob, glob_in_dir): Likewise.
5932 * posix/wordexp.c (exec_comm_child): Likewise.
5933 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5934 (getanswer_r, gaih_getanswer_slice): Likewise.
5935 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5936 * resolv/res_init.c: Likewise.
5937 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5938 * resolv/res_query.c (__libc_res_nquery): Likewise.
5939 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5940 Likewise.
5941 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5942 * stdio-common/perror.c (perror): Likewise.
5943 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5944 * stdio-common/tmpnam.c (tmpnam): Likewise.
5945 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5946 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5947 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5948 Likewise.
5949 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5950 * stdlib/putenv.c (putenv): Likewise.
5951 * stdlib/setenv.c (__add_to_environ): Likewise.
5952 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5953 * stdlib/strtol_l.c (INTERNAL): Likewise.
5954 * string/memmem.c (memmem): Likewise.
5955 * string/strerror.c (strerror): Likewise.
5956 * string/strnlen.c (__strnlen): Likewise.
5957 * string/test-memmem.c (simple_memmem): Likewise.
5958 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5959 * sunrpc/pm_getport.c (__get_socket): Likewise.
5960 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5961 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5962 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5963 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5964 Likewise.
5965 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5966 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5967 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5968 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5969 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5970 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5971 Likewise.
5972 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5973 Likewise.
5974 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5975 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5976 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5977 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5978 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5980 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5981 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5982 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5983 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5984 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5985 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5986 Likewise.
5987 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5988 Likewise.
5989 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5990 Likewise.
5991 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5992 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5993 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5994 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5995 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5996 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5997 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5998 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5999 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6000 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6001 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6002 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6003 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6004 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6006 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6007 Likewise.
6008 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6009 Likewise.
6010 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6011 Likewise.
6012 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6013 Likewise.
6014 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6015 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6016 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6017 Likewise.
6018 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6019 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6020 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6021 * sysdeps/posix/sleep.c: Likewise.
6022 * sysdeps/posix/tempname.c: Likewise.
6023 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6024 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6025 Likewise.
6026 * sysdeps/powerpc/powerpc32/dl-machine.h
6027 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6028 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6029 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6030 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6031 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6032 Likewise.
6033 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6034 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6035 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6036 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6037 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6038 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6039 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6040 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6041 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6042 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6043 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6044 (elf_machine_lazy_rel): Likewise.
6045 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6046 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6047 (elf_machine_lazy_rel): Likewise.
6048 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6049 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6050 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6051 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6052 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6053 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6054 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6055 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6056 Likewise.
6057 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6058 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6059 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6060 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6061 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6062 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6063 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6064 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6065 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6066 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6067 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6068 Likewise.
6069 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6070 (__posix_fallocate64_l64): Likewise.
6071 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6072 (posix_fallocate): Likewise.
6073 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6074 Likewise.
6075 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6076 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6077 (getifaddrs_internal): Likewise.
6078 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6079 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6080 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6081 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6082 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6083 (__posix_fallocate64_l64): Likewise.
6084 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6085 Likewise.
6086 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6087 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6088 (__get_clockfreq): Likewise.
6089 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6090 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6091 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6092 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6093 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6094 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6095 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6096 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6097 Likewise.
6098 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6099 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6100 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6101 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6102 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6103 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6104 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6105 Likewise.
6106 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6107 (posix_fallocate): Likewise.
6108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6109 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6110 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6111 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6112 (elf_machine_rela, elf_machine_rela_relative)
6113 (elf_machine_lazy_rel): Likewise.
6114 * time/asctime.c (asctime_internal): Likewise.
6115 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6116 * time/tzset.c (__tzset_parse_tz): Likewise.
6117 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6118 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6119 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6120 * wcsmbs/wcsmbsload.h: Likewise.
6121
6122 [BZ #15894]
6123 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6124
6125 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6126 (arena_get2): Remove THREAD_STATS conditionals.
6127 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6128 (__malloc_stats, int): Likewise.
6129
61302014-02-08 Mike Frysinger <vapier@gentoo.org>
6131
6132 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6133 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6134
6135 * manual/setjmp.texi: Fix typos/grammar errors.
6136
6137 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6138 Only return early when n is <= 0. Delete unused return statement.
6139
6140 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6141 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6142 * debug/tst-longjmp_chk3.c: New file.
6143
6144 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6145 (test_main): Replace code with set_fortify_handler call.
6146 * debug/test-strcpy_chk.c: Likewise.
6147 * debug/tst-chk1.c: Likewise.
6148 * debug/tst-longjmp_chk.c: Likewise.
6149 * test-skeleton.c: Include fcntl.h & paths.h
6150 (set_fortify_handler): Define.
6151
6152 * debug/tst-longjmp_chk.c: Add header comment and include
6153 ../test-skeleton.c.
6154 (do_test): Mark static.
6155 (TEST_FUNCTION): Define.
6156
6157 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6158 (IP_PMTUDISC_INTERFACE): Likewise.
6159 (IP_MULTICAST_IF): Likewise.
6160 (IP_MULTICAST_TTL): Likewise.
6161 (IP_MULTICAST_LOOP): Likewise.
6162 (IP_ADD_MEMBERSHIP): Likewise.
6163 (IP_DROP_MEMBERSHIP): Likewise.
6164 (IP_UNBLOCK_SOURCE): Likewise.
6165 (IP_BLOCK_SOURCE): Likewise.
6166 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6167 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6168 (IP_MSFILTER): Likewise.
6169 (MCAST_JOIN_GROUP): Likewise.
6170 (MCAST_BLOCK_SOURCE): Likewise.
6171 (MCAST_UNBLOCK_SOURCE): Likewise.
6172 (MCAST_LEAVE_GROUP): Likewise.
6173 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6174 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6175 (MCAST_MSFILTER): Likewise.
6176 (IP_MULTICAST_ALL): Likewise.
6177 (IP_UNICAST_IF): Likewise.
6178
6179 * timezone/Makefile: Delete $(have-ksh) check.
6180 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6181 * timezone/tzselect.ksh: Add +x mode bits.
6182
6183 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6184 (ANON_INODE_FS_MAGIC): Likewise.
6185 (BDEVFS_MAGIC): Likewise.
6186 (BINFMTFS_MAGIC): Likewise.
6187 (BTRFS_TEST_MAGIC): Likewise.
6188 (CRAMFS_MAGIC_WEND): Likewise.
6189 (DEBUGFS_MAGIC): Likewise.
6190 (ECRYPTFS_SUPER_MAGIC): Likewise.
6191 (EXT3_SUPER_MAGIC): Likewise.
6192 (EXT4_SUPER_MAGIC): Likewise.
6193 (FUTEXFS_SUPER_MAGIC): Likewise.
6194 (HOSTFS_SUPER_MAGIC): Likewise.
6195 (HUGETLBFS_MAGIC): Likewise.
6196 (MINIX3_SUPER_MAGIC): Likewise.
6197 (MTD_INODE_FS_MAGIC): Likewise.
6198 (NILFS_SUPER_MAGIC): Likewise.
6199 (OPENPROM_SUPER_MAGIC): Likewise.
6200 (PIPEFS_MAGIC): Likewise.
6201 (PSTOREFS_MAGIC): Likewise.
6202 (QNX6_SUPER_MAGIC): Likewise.
6203 (RAMFS_MAGIC): Likewise.
6204 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6205 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6206 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6207 (SECURITYFS_MAGIC): Likewise.
6208 (SELINUX_MAGIC): Likewise.
6209 (SMACK_MAGIC): Likewise.
6210 (SOCKFS_MAGIC): Likewise.
6211 (SQUASHFS_MAGIC): Likewise.
6212 (STACK_END_MAGIC): Likewise.
6213 (TMPFS_MAGIC): Likewise.
6214 (USBDEVICE_SUPER_MAGIC): Likewise.
6215 (V9FS_MAGIC): Likewise.
6216 (XENFS_SUPER_MAGIC): Likewise.
6217 (CRAMFS_MAGIC): Fix typo in comment.
6218 (EXT2_SUPER_MAGIC): Update comment.
6219 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6220
62212014-02-08 Joseph Myers <joseph@codesourcery.com>
6222
6223 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6224 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6225 * sysdeps/unix/sysv/linux/arm: Move directory from
6226 ports/sysdeps/unix/sysv/linux/arm.
6227 * README: Update listing for arm-*-linux-gnueabi.
6228
6229 * README: Remove mention of am33.
6230
62312014-02-07 Roland McGrath <roland@hack.frob.com>
6232
6233 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6234 than the comma operator, to avoid "rhs of comma has no effect"
6235 compiler warnings.
6236 (__sigfillset, __sigandset, __sigorset): Likewise.
6237 * include/signal.h (__sigemptyset): Likewise.
6238 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6239
62402014-02-07 Allan McRae <allan@archlinux.org>
6241
6242 * version.h (RELEASE): Set to "development".
6243 (VERSION): Set to "2.19.90"
6244 * NEWS: Add 2.20 section.
6245
62462014-02-06 Carlos O'Donell <carlos@redhat.com>
6247
6248 [BZ #16529]
6249 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6250
62512014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6252
6253 * manual/contrib.texi: Update entry for Carlos O'Donell,
6254 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6255
62562014-02-05 Carlos O'Donell <carlos@rehdat.com>
6257
6258 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6259
6260 * sysdeps/unix/sysv/linux/kernel-features.h
6261 [__LINUX_KERNEL_VERSION >= 0x020621]
6262 (__ASSUME_PROC_PID_TASK_COMM): Define.
6263
62642014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6265
6266 [BZ #16398]
6267 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6268 conversion when destination buffer does not have enough space.
6269 * libio/tst-ftell-partial-wide.c: New test case.
6270 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6271
6272 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6273 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6274 Leonard and Allan McRae.
6275
62762014-02-04 David S. Miller <davem@davemloft.net>
6277
6278 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6279 32-bit.
6280
62812014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6282
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6284 New file
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6286 New file
6287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6288 New file.
6289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6290 New file.
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6292 New file.
6293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6294 New file.
6295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6296 New file.
6297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6298 New file.
6299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6300 New file.
6301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6302 New file.
6303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6304 New file.
6305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6306 New file.
6307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6308 New file.
6309
63102014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6311
6312 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6313 * shlib-versions: Likewise.
6314
63152014-02-04 Roland McGrath <roland@hack.frob.com>
6316 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6317
6318 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6319 (abilist-pattern): New variable, set to %-le.abilist.
6320
6321 * Makerules (abilist-pattern): New variable.
6322 (vpath): Use $(abilist-pattern) in place of %.abilist.
6323 (check-abi-% pattern rule): Likewise.
6324 (check-abi, update-abi): Likewise.
6325
63262014-02-04 Eric Wong <normalperson@yhbt.net>
6327
6328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6329
63302014-02-03 Carlos O'Donell <carlos@redhat.com>
6331
6332 * manual/startup.texi: Add next, previous, and top entries for
6333 the `Program Arguments' and `Environment Variables' nodes.
6334
63352014-02-03 Alexandre Oliva <aoliva@redhat.com>
6336
6337 * manual/macros.texi: Add comments before MTASC-safety macros.
6338
6339 * manual/users.texi: Document MTASC-safety properties.
6340
6341 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6342 (pthread_getspecific, pthread_setspecific): Format with
6343 @deftypefun, and add @safety note.
6344 * manual/signal.texi: Move comments that analyze the above
6345 functions to their home place.
6346
63472014-02-03 Allan McRae <allan@archlinux.org>
6348
6349 * po/sl.po: Update Slovenian translation from translation project.
6350
63512014-02-02 Alexandre Oliva <aoliva@redhat.com>
6352
6353 * manual/time.texi (timegm): Add missing blank after @c.
6354 Reported by Joseph Myers <joseph@codesourcery.com>.
6355
63562014-02-01 Alexandre Oliva <aoliva@redhat.com>
6357
6358 * manual/check-safety.sh: New.
6359 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6360
6361 * manual/terminal.texi: Document MTASC-safety properties.
6362
6363 * manual/filesys.texi: Document MTASC-safety properties.
6364
6365 * manual/errno.texi: Document MTASC-safety properties.
6366
6367 * manual/intro.texi: Document safety identifiers and
6368 conditionals.
6369
6370 * manual/string.texi (wcstok): Fix prototype.
6371 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6372
6373 * manual/time.texi: Document MTASC-safety properties.
6374
6375 * manual/string.texi: Document MTASC-safety properties.
6376
6377 * manual/threads.texi: Document MTASC-safety properties.
6378
6379 * manual/stdio.texi: Document MTASC-safety properties.
6380
6381 * manual/syslog.texi: Document MTASC-safety properties.
6382
6383 * manual/sysinfo.texi: Document MTASC-safety properties.
6384
6385 * manual/startup.texi: Document MTASC-safety properties.
6386
6387 * manual/socket.texi: Document MTASC-safety properties.
6388
6389 * manual/signal.texi: Document MTASC-safety properties.
6390
63912014-01-31 Alexandre Oliva <aoliva@redhat.com>
6392
6393 * manual/setjmp.texi: Document MTASC-safety properties.
6394
6395 * manual/search.texi: Document MTASC-safety properties.
6396
6397 * manual/resource.texi: Document MTASC-safety properties.
6398
6399 * manual/process.texi: Document MTASC-safety properties.
6400
6401 * manual/platform.texi: Document MTASC-safety properties.
6402
6403 * manual/pipe.texi: Document MTASC-safety properties.
6404
6405 * manual/pattern.texi: Document MTASC-safety properties.
6406
6407 * manual/message.texi: Document MTASC-safety properties.
6408
6409 [BZ #12751]
6410 * manual/memory.texi: Document MTASC-safety properties.
6411
6412 * manual/math.texi: Document MTASC-safety properties.
6413
6414 * manual/locale.texi: Document MTASC-safety properties.
6415
6416 * manual/llio.texi: Document MTASC-safety properties.
6417
6418 * manual/libdl.texi: New.
6419
6420 * manual/lang.texi: Document MTASC-safety properties.
6421
6422 * manual/job.texi: Document MTASC-safety properties.
6423
6424 * manual/getopt.texi: Document MTASC-safety properties.
6425
6426 * manual/ctype.texi: Document MTASC-safety properties.
6427
64282014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6429
6430 [BZ #16046]
6431 * csu/libc-tls.c (static_map): Remove variable.
6432 (__libc_setup_tls): Use main executable's link map for TLS data.
6433 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6434 casing for LM_ID_BASE and GL(dl_nns).
6435 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6436 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6437 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6438 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6439 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6440 member.
6441 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6442 l_phnum members.
6443
64442014-01-30 Alexandre Oliva <aoliva@redhat.com>
6445
6446 * manual/debug.texi: Document MTASC-safety properties.
6447
64482014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6449
6450 [BZ #16510]
6451 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6452 of __x86_64__ when disabling x87 inline functions.
6453
64542014-01-29 Alexandre Oliva <aoliva@redhat.com>
6455
6456 * manual/charset.texi: Document MTASC-safety properties.
6457
6458 * manual/crypt.texi: Document MTASC-safety properties.
6459
6460 * manual/conf.texi: Document MTASC-safety properties.
6461
6462 * manual/arith.texi: Document MTASC-safety properties.
6463
6464 * manual/argp.texi: Document MTASC-safety properties.
6465
6466 * manual/macros.texi: Introduce macros to document multi
6467 thread, asynchronous signal and asynchronous cancellation
6468 safety properties.
6469 * manual/intro.texi: Introduce the properties themselves.
6470
64712014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6472
6473 * sysdeps/sh/sh4/Makefile: New file.
6474
64752014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6476
6477 * math/gen-libm-test.pl ($srcdir): New variable.
6478 ($auto_input): Use it.
6479
64802014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6481
6482 [BZ #16506]
6483 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6484 access beyond array bounds when parsing netgroups file.
6485
6486 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6487 the old buffer before realloc.
6488
64892014-01-27 Allan McRae <allan@archlinux.org>
6490
6491 * po/fr.po: Update French translation from translation project.
6492
64932014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6494
6495 * sysdeps/sh/libm-test-ulps: Regenerate.
6496
64972014-01-24 David S. Miller <davem@davemloft.net>
6498
6499 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6500
65012014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6502
6503 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6504 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6505
65062013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6507
6508 [BZ #16474]
6509 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6510 string pointers after reallocation.
6511
65122014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6513
6514 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6515 __SH4A__ instead of __SH_FPU_ANY__.
6516
65172014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6518
6519 * sysdeps/sh/fpu_control.h: New file.
6520 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6521 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6522 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6523 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6524 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6525 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6526 * sysdeps/sh/sys/ucontext.h: Remove.
6527 * sysdeps/sh/sys: Remove directory.
6528
65292014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6530
6531 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6532 s390/sys/ucontext.h.
6533 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6534 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6535
65362014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6537
6538 [BZ #15605]
6539 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6540
65412014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6542
6543 [BZ#16431]
6544 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6545 Adjust the vDSO correctly for internal calls.
6546 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6547
65482014-01-20 Allan McRae <allan@archlinux.org>
6549
6550 * po/ca.po: Update Catalan translation from translation project.
6551
65522014-01-16 Mike Frysinger <vapier@gentoo.org>
6553
6554 * sysdeps/s390/sotruss-lib.c: New file.
6555
65562014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6557
6558 [BZ#16430]
6559 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6560 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6561 local calls issues by not having a PLT stub required for IFUNC calls.
6562 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6563
65642014-01-16 Joseph Myers <joseph@codesourcery.com>
6565
6566 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6567 * math/test-fpucw-static.c: Likewise.
6568
65692013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6570
6571 [BZ #16453]
6572 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6573
65742014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6575
6576 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6577 implementation for powerpc.
6578
65792014-01-15 Ondřej Bílka <neleai@seznam.cz>
6580
6581 [BZ #14782]
6582 * sysdeps/posix/system.c (__libc_system): Do not enable
6583 asynchronous cancellation.
6584
65852014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6586
6587 [BZ #16427]
6588 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6589 handling only for numbers special also in the IEEE case.
6590
65912014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6592
6593 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6594
65952014-01-11 Allan McRae <allan@archlinux.org>
6596
6597 * po/bg.po: Update Bulgarian translation from translation project.
6598
6599 * po/de.po: Update German translation from translation project.
6600
66012014-01-10 Roland McGrath <roland@hack.frob.com>
6602
6603 * sysdeps/generic/gcc-compat.h: New file.
6604
66052014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6606
6607 * benchtests/asin-inputs: Correct slow inputs.
6608 * benchtests/acos-inputs: Likewise.
6609
66102014-01-10 Allan McRae <allan@archlinux.org>
6611
6612 * po:sv.po: Update Swedish translation from translation project.
6613
6614 * po/vi.po: Update Vietnamese translation from translation project.
6615
6616 * po/eo.po: Update Esperanto translation from translation project.
6617
6618 * po/cs.po: Update Czech translation from translation project.
6619
6620 * po/nl.po: Update Dutch translation from translation project.
6621
6622 * po/pl.po: Update Polish translation from translation project.
6623
6624 * po/ru.po: Update Russian translation from translation project.
6625
6626 * po/uk.po: Update Ukrainian translation from translation project.
6627
66282014-01-08 Brooks Moses <bmoses@google.com>
6629
6630 * elf/dl-load.c: Fix comment typo.
6631
66322014-01-08 Carlos O'Donell <carlos@redhat.com>
6633
6634 * po/header.pot: Rename to...
6635 * po/pot.header: ... this.
6636 * po/Makefile: Use pot.header.
6637
66382014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6639 Maxim Kuvyrkov <maxim@kugelworks.com>
6640
6641 [BZ #16394]
6642 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6643 SRC and DEST against LEN.
6644
66452014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6646
6647 [BZ #16414]
6648 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6649 implementation.
6650 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6651
66522014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6653
6654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6655
66562014-01-08 Joseph Myers <joseph@codesourcery.com>
6657
6658 [BZ #16408]
6659 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6660 for large positive arguments.
6661
66622014-01-07 Joseph Myers <joseph@codesourcery.com>
6663
6664 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6665
6666 * math/auto-libm-test-in: Mark various tests with
6667 xfail-rounding:ldbl-128ibm.
6668 * math/auto-libm-test-out: Regenerated.
6669
6670 [BZ #16407]
6671 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6672 Increase overflow threshold.
6673
66742014-01-07 Ondřej Bílka <neleai@seznam.cz>
6675
6676 [BZ #14286]
6677 * stdio-common/vfprintf.c: Check for integer overflow.
6678
66792014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6680
6681 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6682 the first argument and return value of __tls_get_addr_internal.
6683
66842014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6685
6686 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6687 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6688
66892014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6690
6691 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6692 * sysdeps/s390/rtld-global-offsets.sym: New file.
6693 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6694 GLIBC_2.19 symbol.
6695 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6696 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6697 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6698 ... this.
6699 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6700 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6701 ... this.
6702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6703 Regenerate.
6704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6705 Regenerate.
6706 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6707 halfs of GPRs for high_gprs contexts.
6708 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6709 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6710 field.
6711 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6712 uc_flags field.
6713 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6714 64 bit versions:
6715 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6716 for high GPRs (uc_high_gprs) and for future extensions
6717 (__reserved).
6718 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6719 for future extensions (__reserved).
6720 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6721 64 bit versions:
6722 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6723 SC_HIGHGPRS offset definition.
6724 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6725 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6726
6727 * Versions.def: Add GLIBC_2.19 for libpthread.
6728 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6729 siglongjmp for libpthread with GLIBC_2.19 symver.
6730 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6731 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6732 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6733 * sysdeps/s390/__longjmp.c: New file.
6734 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6735 * sysdeps/s390/longjmp.c: New file.
6736 * sysdeps/s390/setjmp.S: New file.
6737 * sysdeps/s390/sigjmp.S: New file.
6738 * sysdeps/s390/v1-longjmp.c: New file.
6739 * sysdeps/s390/v1-setjmp.h: New file.
6740 * sysdeps/s390/v1-sigjmp.c: New file.
6741 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6742 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6743 GLIBC_2.19 version.
6744 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6745 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6746 versioned symbols for ____longjmp_chk.
6747 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6748 Likewise.
6749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6750 Regenerate.
6751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6752 Regenerate.
6753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6754 Regenerate.
6755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6756 Regenerate.
6757 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6758 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6759 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6760 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6761 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6762 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6763 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6764 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6765 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6766 * sysdeps/s390/rtld-__longjmp.c: New file.
6767 * sysdeps/s390/rtld-setjmp.S: New file.
6768
67692014-01-06 Joseph Myers <joseph@codesourcery.com>
6770
6771 [BZ #16400]
6772 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6773 Return -__logl (x) for small positive arguments without evaluating
6774 a polynomial.
6775
67762014-01-06 Mike Frysinger <vapier@gentoo.org>
6777
6778 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6779 Rename to ...
6780 (__ptrace_peeksiginfo_args): ... this.
6781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6782 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6783 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6784
67852014-01-06 Allan McRae <allan@archlinux.org>
6786
6787 * inet/netinet/in.h: Fix typo in comment.
6788
67892014-01-05 Andreas Jaeger <aj@suse.de>
6790
6791 * sysdeps/i386/fpu/libm-test-ulps: Update.
6792
67932014-01-05 Allan McRae <allan@archlinux.org>
6794
6795 * po/libc.pot: Regenerated.
6796
6797 * malloc/memusagestat.c: Fix gettext call formatting.
6798
67992014-01-04 Sami Kerola <kerolasa@iki.fi>
6800
6801 * nscd/nscd.c: Improve usage() output.
6802
68032014-01-04 Mike Frysinger <vapier@gentoo.org>
6804
6805 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6806 * sysdeps/unix/sysv/linux/configure: Regenerated.
6807 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6808 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6809
68102014-01-03 Joseph Myers <joseph@codesourcery.com>
6811
6812 [BZ #16390]
6813 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6814 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6815
68162014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6817
6818 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6819 extra tokens at end of #undef directive.
6820 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6821 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6822 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6823
68242014-01-03 Joseph Myers <joseph@codesourcery.com>
6825
6826 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6827
6828 * math/auto-libm-test-in: Mark various tests with
6829 xfail-rounding:ldbl-128ibm.
6830 * math/auto-libm-test-out: Regenerated.
6831
68322014-01-02 Joseph Myers <joseph@codesourcery.com>
6833
6834 [BZ #16386]
6835 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6836 numbers with subnormal high part when calculating exponent.
6837
6838 [BZ #16385]
6839 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6840 fabs.
6841
6842 [BZ #16384]
6843 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6844 M_LN2l.
6845 (__ieee754_acoshl): Use __log1pl not __log1p.
6846
68472013-01-02 Ondřej Bílka <neleai@seznam.cz>
6848
6849 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6850 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6851 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6852 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6853 (reused_arena, arena_get2): Convert to GNU style.
6854 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6855 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6856 (memalign_check, __malloc_set_state): Likewise.
6857 * malloc/mallocbug.c (main): Likewise.
6858 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6859 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6860 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6861 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6862 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6863 (__posix_memalign, malloc_info): Likewise.
6864 * malloc/malloc.h: Likewise.
6865 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6866 (mallochook, memalignhook, reallochook, mabort): Likewise.
6867 * malloc/mcheck.h: Likewise.
6868 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6869 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6870 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6871 * malloc/morecore.c (__default_morecore): Likewise.
6872 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6873 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6874 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6875 (print_and_abort): Likewise.
6876 * malloc/obstack.h: Likewise.
6877 * malloc/set-freeres.c (__libc_freeres): Likewise.
6878 * malloc/tst-mallocstate.c (main): Likewise.
6879 * malloc/tst-mtrace.c (main): Likewise.
6880 * malloc/tst-realloc.c (do_test): Likewise.
6881
68822013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6883
6884 [BZ #16366]
6885 * nscd/netgroupcache.c (do_notfound): New function.
6886 (addgetnetgrentX): Use it.
6887
6888 [BZ # 16365]
6889 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6890 NSS_STATUS_NOTFOUND.
6891
68922014-01-01 Joseph Myers <joseph@codesourcery.com>
6893
6894 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6896
68972014-01-01 Allan McRae <allan@archlinux.org>
6898
6899 * scripts/update-copyrights: Update configure input file suffix.
6900
6901 * NEWS: Update copyright year.
6902 * catgets/gencat.c: Likewise.
6903 * csu/version.c: Likewise.
6904 * debug/catchsegv.sh: Likewise.
6905 * debug/pcprofiledump.c: Likewise.
6906 * debug/xtrace.sh: Likewise.
6907 * elf/ldconfig.c: Likewise.
6908 * elf/ldd.bash.in: Likewise.
6909 * elf/pldd.c: Likewise.
6910 * elf/sotruss.ksh: Likewise.
6911 * elf/sprof.c: Likewise.
6912 * iconv/iconv_prog.c: Likewise.
6913 * iconv/iconvconfig.c: Likewise.
6914 * locale/programs/locale.c: Likewise.
6915 * locale/programs/localedef.c: Likewise.
6916 * login/programs/pt_chown.c: Likewise.
6917 * malloc/memusage.sh: Likewise.
6918 * malloc/memusagestat.c: Likewise.
6919 * malloc/mtrace.pl: Likewise.
6920 * manual/libc.texinfo: Likewise.
6921 * nscd/nscd.c: Likewise.
6922 * nss/getent.c: Likewise.
6923 * nss/makedb.c: Likewise.
6924 * posix/getconf.c: Likewise.
6925 * scripts/test-installation.pl: Likewise.
6926
6927 * All files with FSF copyright notices: Update copyright dates
6928 using scripts/update-copyrights.
6929 * intl/plural.c: Regenerated.
6930 * locale/programs/charmap-kw.h: Likewise.
6931 * locale/programs/locfile-kw.h: Likewise.
6932
69332013-12-31 Mike Frysinger <vapier@gentoo.org>
6934
6935 * sysdeps/unix/sysv/linux/configure: Regenerated.
6936 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6937 the linux/fanotify.h header.
6938 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6939 HAVE_LINUX_FANOTIFY_H is defined.
6940
69412013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6942
6943 * benchtests/cos-inputs: New inputs.
6944 * benchtests/sin-inputs: Likewise.
6945
6946 * benchtests/atan-inputs: New inputs. Fix name of multiple
6947 precision fallback inputs.
6948
6949 * benchtests/atanh-inputs: New inputs.
6950 * benchtests/tanh-inputs: Likewise.
6951
6952 * benchtests/acosh-inputs: New inputs.
6953 * benchtests/asinh-inputs: Likewise.
6954
6955 * benchtests/cosh-inputs: New inputs.
6956 * benchtests/sinh-inputs: Likewise.
6957
6958 * benchtests/acos-inputs: Add more inputs.
6959 * benchtests/asin-inputs: Likewise.
6960
69612013-12-30 Ville Skytta <ville.skytta@iki.fi>
6962
6963 [BZ #16375]
6964 * manual/arith.texi: Fix spelling.
6965 * manual/charset.texi: Likewise.
6966 * manual/errno.texi: Likewise.
6967 * manual/filesys.texi: Likewise.
6968 * manual/lang.texi: Likewise.
6969 * manual/llio.texi: Likewise.
6970 * manual/locale.texi: Likewise.
6971 * manual/message.texi: Likewise.
6972 * manual/resource.texi: Likewise.
6973 * manual/search.texi: Likewise.
6974 * manual/setjmp.texi: Likewise.
6975 * manual/stdio.texi: Likewise.
6976 * manual/string.texi: Likewise.
6977 * manual/sysinfo.texi: Likewise.
6978 * manual/time.texi: Likewise.
6979
69802013-12-27 Carlos O'Donell <carlos@redhat.com>
6981
6982 * po/sl.po: New file.
6983
69842013-12-27 Mike Frysinger <vapier@gentoo.org>
6985
6986 * .gitignore: Add core/.gdbinit/.gdb_history.
6987
69882013-12-27 Allan McRae <allan@archlinux.org>
6989
6990 [BZ #16369]
6991 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6992 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6993
69942013-12-24 Brooks Moses <bmoses@google.com>
6995
6996 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6997 all compilers that claim C++98 compliance, not just GCC.
6998 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6999 Likewise.
7000
70012013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7002
7003 * NEWS: Restore accidentally deleted bug-fix entries.
7004
70052013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7006 Ondřej Bílka <neleai@seznam.cz>
7007
7008 [BZ #15073]
7009 * malloc/malloc.c (_int_free): Perform sanity check only if we
7010 have_lock.
7011
70122013-12-23 Ondřej Bílka <neleai@seznam.cz>
7013
7014 [BZ #12986]
7015 * manual/stdio.texi (String Input Conversions): Clarify that character
7016 classes are not supported.
7017
70182013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7019
7020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7021
70222013-12-22 Joseph Myers <joseph@codesourcery.com>
7023
7024 [BZ #16337]
7025 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7026 Calculate results for small negative arguments directly rather
7027 than using reflection formula with special underflow handling.
7028
7029 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7030 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7031 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7032 (fchflags): Likewise.
7033 (revoke): Likewise.
7034 (setlogin): Likewise.
7035 (sigaltstack): Likewise.
7036 (wait4): Likewise.
7037 (sigblock): Remove.
7038 (sigsetmask): Likewise.
7039 (wait3): Likewise.
7040 (waitpid): Likewise.
7041 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7042 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7043 file.
7044 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7045 * sysdeps/unix/bsd/Makefile: ... here.
7046 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7047 * sysdeps/unix/bsd/Versions: ... here.
7048 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7049 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7050 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7051 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7052 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7053 * sysdeps/unix/bsd/sigblock.c: ... here.
7054 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7055 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7056 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7057 * sysdeps/unix/bsd/sigvec.c: ... here.
7058 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7059 * sysdeps/unix/bsd/tcdrain.c: ... here.
7060 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7061 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7062 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7063 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7064 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7065 * sysdeps/unix/bsd/wait.c: ... here.
7066 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7067 * sysdeps/unix/bsd/wait3.c: ... here.
7068 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7069 * sysdeps/unix/bsd/waitpid.c: ... here.
7070
70712013-12-21 Joseph Myers <joseph@codesourcery.com>
7072
7073 [BZ #16356]
7074 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7075 round-to-nearest for [!USE_AS_EXPM1L].
7076 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7077 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7078 more tests of exp and exp10. Expect some exp10 tests to miss
7079 exceptions or fail in directed rounding modes.
7080 * math/auto-libm-test-out: Regenerated.
7081 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7082 (exp10_test_tonearest): New function.
7083 (exp10_towardzero_test_data): New array.
7084 (exp10_test_towardzero): New function.
7085 (exp10_downward_test_data): New array.
7086 (exp10_test_downward): New function.
7087 (exp10_upward_test_data): New array.
7088 (exp10_test_upward): New function.
7089 (main): Call the new functions.
7090 * sysdeps/i386/fpu/libm-test-ulps: Update.
7091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7092
70932013-12-20 Joseph Myers <joseph@codesourcery.com>
7094
7095 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7096 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7097 * math/auto-libm-test-out: Regenerated.
7098 * math/libm-test.inc (acosh_test_data): Add more tests.
7099 (atanh_test_data): Likewise.
7100 (ceil_test_data): Likewise.
7101 (copysign_test_data): Likewise.
7102 * sysdeps/i386/fpu/libm-test-ulps: Update.
7103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7104
7105 * timezone/checktab.awk: Update from tzcode 2013i.
7106 * timezone/private.h: Likewise.
7107 * timezone/scheck.c: Likewise.
7108 * timezone/tzfile.h: Likewise.
7109 * timezone/tzselect.ksh: Likewise.
7110 * timezone/zdump.c: Likewise.
7111 * timezone/zic.c: Likewise.
7112
7113 * math/auto-libm-test-in: Add tests of cpow.
7114 * math/auto-libm-test-out: Regenerated.
7115 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7116 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7117 mpc_cc_c.
7118 (func_calc_desc): Add mpc_cc_c union field.
7119 (test_functions): Add cpow.
7120 (special_fill_2pi): New function.
7121 (special_real_inputs): Add 2pi.
7122 (calc_generic_results): Handle mpc_cc_c.
7123 * sysdeps/i386/fpu/libm-test-ulps: Update.
7124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7125
7126 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7127 csqrt, ctan and ctanh.
7128 * math/auto-libm-test-out: Regenerated.
7129 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7130 (TEST_COND_x86): Likewise.
7131 (ccos_test_data): Use AUTO_TESTS_c_c.
7132 (ccosh_test_data): Likewise.
7133 (cexp_test_data): Likewise.
7134 (clog_test_data): Likewise.
7135 (csqrt_test_data): Likewise.
7136 (ctan_test_data): Likewise.
7137 (ctan_tonearest_test_data): Likewise.
7138 (ctan_towardzero_test_data): Likewise.
7139 (ctan_downward_test_data): Likewise.
7140 (ctan_upward_test_data): Likewise.
7141 (ctanh_test_data): Likewise.
7142 (ctanh_tonearest_test_data): Likewise.
7143 (ctanh_towardzero_test_data): Likewise.
7144 (ctanh_downward_test_data): Likewise.
7145 (ctanh_upward_test_data): Likewise.
7146 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7147 mpc_c_c.
7148 (func_calc_desc): Add mpc_c_c union field.
7149 (FUNC_mpc_c_c): New macro.
7150 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7151 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7152 ctanh.
7153 (special_fill_min_subnorm_p120): New function.
7154 (special_real_inputs): Add min_subnorm_p120.
7155 (calc_generic_results): Handle mpc_c_c.
7156 * sysdeps/i386/fpu/libm-test-ulps: Update.
7157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7158
71592013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7160
7161 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7162 (do_sin_slow): New functions.
7163 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7164 (cslow2, csloww1, csloww2): Use the new functions.
7165
7166 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7167 Use M to change sign of result instead of X. Assume X is
7168 positive.
7169 (csloww1): Likewise.
7170 (__sin): Adjust.
7171 (__cos): Adjust.
7172
7173 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7174 arguments A and DA.
7175 (__sin): Adjust.
7176 (__cos): Likewise.
7177
7178 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7179 (__cos): Likewise.
7180 (sloww1): Don't adjust sign of DX.
7181 (csloww1): Likewise.
7182 (sloww2): Use X directly and don't adjust sign of DX.
7183 (csloww2): Likewise.
7184
71852013-12-19 Joseph Myers <joseph@codesourcery.com>
7186
7187 * math/auto-libm-test-in: Add tests of cabs and carg.
7188 * math/auto-libm-test-out: Regenerated.
7189 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7190 (carg_test_data): Likewise.
7191 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7192 mpc_c_f.
7193 (func_calc_desc): Add mpc_c_f union field.
7194 (test_functions): Add cabs and carg.
7195 (calc_generic_results): Handle mpc_c_f.
7196
7197 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7198 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7199 as a macro and a compat symbol.
7200 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7201 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7202 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7203 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7204 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7205 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7206 not use .hidden.
7207 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7208 Likewise.
7209 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7210 Likewise.
7211 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7212 Likewise.
7213 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7214 Likewise.
7215 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7216 Likewise.
7217 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7218 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7219 from GLIBC_2.3.2.
7220
72212013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7222
7223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7224
72252013-12-19 Joseph Myers <joseph@codesourcery.com>
7226
7227 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7228 trailing whitespace removed.
7229 * scripts/config.guess: Update to version 2013-11-29.
7230 * scripts/config.sub: Update to version 2013-10-01.
7231
7232 * math/auto-libm-test-in: Add tests of sincos.
7233 * math/auto-libm-test-out: Regenerated.
7234 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7235 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7236 mpfr_f_11.
7237 (func_calc_desc): Add mpfr_f_11 union field.
7238 (test_functions): Add sincos.
7239 (calc_generic_results): Handle mpfr_f_11.
7240 * sysdeps/i386/fpu/libm-test-ulps: Update.
7241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7242
72432013-12-19 Andreas Schwab <schwab@suse.de>
7244
7245 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7246 CALL_MCOUNT.
7247 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7248 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7249 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7250
72512013-12-19 Joseph Myers <joseph@codesourcery.com>
7252
7253 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7254 * sysdeps/i386/fpu/libm-test-ulps: Update.
7255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7256
7257 [BZ #16293]
7258 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7259 round-to-nearest mode when using frndint.
7260 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7261 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7262 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7263 Likewise.
7264 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7265 sinh test to fail.
7266 * math/auto-libm-test-out: Regenerated.
7267 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7268 (TEST_COND_x86): Likewise.
7269 (expm1_tonearest_test_data): New array.
7270 (expm1_test_tonearest): New function.
7271 (expm1_towardzero_test_data): New array.
7272 (expm1_test_towardzero): New function.
7273 (expm1_downward_test_data): New array.
7274 (expm1_test_downward): New function.
7275 (expm1_upward_test_data): New array.
7276 (expm1_test_upward): New function.
7277 (main): Run the new test functions.
7278 * sysdeps/i386/fpu/libm-test-ulps: Update.
7279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7280
7281 * include/features.h: Update comment documenting feature test
7282 macros. Mention _DEFAULT_SOURCE in comment.
7283 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7284 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7285 _BSD_SOURCE and _SVID_SOURCE.
7286 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7287 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7288 !_SVID_SOURCE]: Likewise.
7289 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7290 (__USE_POSIX_IMPLICITLY): Define.
7291 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7292 (_POSIX_SOURCE): Undefine and redefine.
7293 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7294 (_POSIX_C_SOURCE): Likewise.
7295 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7296 (Feature Test Macros): Update documentation of default features.
7297
72982013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7299
7300 * benchtests/Makefile: Add bench-strtok.
7301 * benchtests/bench-strtok.c: New file: strtok benchtest.
7302
73032013-12-19 Allan McRae <allan@archlinux.org>
7304
7305 * manual/install.texi: Suppress menu for plain text output.
7306 * INSTALL: Regenerated.
7307
73082013-12-18 Brooks Moses <bmoses@google.com>
7309
7310 [BZ #15846]
7311 * misc/getauxval.c: Include errno.h.
7312 (__getauxval): Set errno to ENOENT if the requested type is not
7313 found.
7314 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7315 don't declare with __attribute_const__.
7316 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7317 * manual/startup.texi: Document that getauxval sets errno.
7318
73192013-12-18 Joseph Myers <joseph@codesourcery.com>
7320
7321 * math/auto-libm-test-in: Add tests of jn and yn.
7322 * math/auto-libm-test-out: Regenerated.
7323 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7324 (yn_test_data): Likewise.
7325 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7326 mpfr_if_f.
7327 (func_calc_desc): Add mpfr_if_f union field.
7328 (FUNC_mpfr_if_f): New macro.
7329 (test_functions): Add jn and yn.
7330 (calc_generic_results): Assert type of second input for
7331 mpfr_ff_f. Handle mpfr_if_f.
7332 (output_for_one_input_case): Disable all checking for arguments
7333 fitting floating-point types in case of an integer argument.
7334 * sysdeps/i386/fpu/libm-test-ulps: Update.
7335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7336
7337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7338 Don't expect fegetround reference in libm.so.
7339
73402013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7341
7342 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7343 $(config-cflags-nofma).
7344
73452013-12-18 Joseph Myers <joseph@codesourcery.com>
7346
7347 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7348 * math/auto-libm-test-out: Regenerated.
7349
7350 [BZ #16338]
7351 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7352 to determine exponent and adjust argument to have exponent of -1.
7353 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7354 log2.
7355 * math/auto-libm-test-out: Regenerated.
7356 * sysdeps/i386/fpu/libm-test-ulps: Update.
7357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7358
73592013-12-18 Ondřej Bílka <neleai@seznam.cz>
7360
7361 * manual/probes.texi: Remove cases when per-thread arenas are
7362 disabled.
7363
73642013-12-18 Andreas Schwab <schwab@suse.de>
7365
7366 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7367 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7368 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7369 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7370 * sysdeps/i386/i686/multiarch/Makefile: Update.
7371 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7372
73732013-12-17 Joseph Myers <joseph@codesourcery.com>
7374
7375 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7376 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7377
73782013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7379
7380 [BZ #15968]
7381 Support TZ transition times < 00:00:00.
7382 This is needed for version-3 tz-format files; it supports time
7383 stamps past 2037 for America/Godthab (the only entry in the tz
7384 database for which this change is relevant).
7385 * manual/time.texi (TZ Variable): Document transition times
7386 from -167:59:59 through -00:00:01.
7387 * time/tzset.c (tz_rule): Time of day is now signed.
7388 (__tzset_parse_tz): Parse negative time of day.
7389
7390 Document TZ transition times >= 25:00:00.
7391 * manual/time.texi (TZ Variable): Document transition times from
7392 25:00:00 through 167:59:59. These are already supported, and this
7393 support will help with version-3 tz-format files.
7394
7395 * manual/time.texi (TZ Variable): Modernize North America example
7396 to reflect current (i.e., 2007-and-later) daylight saving rules.
7397
7398 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7399
74002013-12-17 Joseph Myers <joseph@codesourcery.com>
7401
7402 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7403 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7404 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7405 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7406 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7407 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7408 * sysdeps/unix/bsd/clock.c: Likewise.
7409 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7410 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7411 * sysdeps/unix/bsd/init-posix.c: Likewise.
7412 * sysdeps/unix/bsd/poll.c: Likewise.
7413 * sysdeps/unix/bsd/ptsname.c: Likewise.
7414 * sysdeps/unix/bsd/seekdir.c: Likewise.
7415 * sysdeps/unix/bsd/setegid.c: Likewise.
7416 * sysdeps/unix/bsd/seteuid.c: Likewise.
7417 * sysdeps/unix/bsd/setgid.c: Likewise.
7418 * sysdeps/unix/bsd/setrgid.c: Likewise.
7419 * sysdeps/unix/bsd/setruid.c: Likewise.
7420 * sysdeps/unix/bsd/setsid.c: Likewise.
7421 * sysdeps/unix/bsd/setuid.c: Likewise.
7422 * sysdeps/unix/bsd/sigaction.c: Likewise.
7423 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7424 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7425 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7426 * sysdeps/unix/bsd/telldir.c: Likewise.
7427 * sysdeps/unix/bsd/times.c: Likewise.
7428 * sysdeps/unix/bsd/usleep.c: Likewise.
7429
7430 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7431 ($(objpfx)libbsd-compat.a): Remove rule.
7432
7433 * include/features.h (__FAVOR_BSD): Do not define.
7434 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7435 features conflicting with POSIX.
7436 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7437 (_BSD_SOURCE): Remove description of not being a subset of other
7438 feature test macros.
7439 * manual/job.texi (getpgrp): Do not document BSD version.
7440 (getpgid): Do not document by reference to BSD getpgrp.
7441 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7442 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7443 * signal/signal.h [__FAVOR_BSD]: Likewise.
7444 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7445 instead of making contents conditional on [__FAVOR_BSD].
7446 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7447
74482013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7449
7450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7451
74522013-12-17 Joseph Myers <joseph@codesourcery.com>
7453
7454 [BZ #16314]
7455 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7456 values below 2**-450, not 2**-500.
7457 * math/auto-libm-test-in: Don't allow spurious underflow from
7458 hypot.
7459 * math/auto-libm-test-out: Regenerated.
7460
7461 [BZ #16316]
7462 [BZ #16330]
7463 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7464 values of ha and hb and sort them after adjusting subnormal
7465 arguments.
7466 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7467 Likewise.
7468 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7469 values of ea and eb and sort them after adjusting subnormal
7470 arguments.
7471 * math/auto-libm-test-in: Do not expect some hypot tests of
7472 subnormals to fail. Add more hypot tests.
7473 * math/auto-libm-test-out: Regenerated.
7474
74752013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7476
7477 [BZ #13304]
7478 * sysdeps/sh/s_fma.c: New file.
7479 * sysdeps/sh/s_fmaf.c: New file.
7480 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7481 version.
7482 * sysdeps/sh/Implies: Add sh/soft-fp.
7483
74842013-12-16 Roland McGrath <roland@hack.frob.com>
7485
7486 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7487 level of indirection to members `objname', `errstring', `malloced'.
7488 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7489 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7490 it as the __longjmp argument (just pass 1 instead).
7491 (_dl_catch_error): Initialize C with argument pointers and address of
7492 volatile local ERRCODE rather than copying values out of C at return.
7493
74942013-12-16 Joseph Myers <joseph@codesourcery.com>
7495
7496 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7497 * math/auto-libm-test-out: Regenerated.
7498 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7499 (hypot_test_data): Likewise.
7500 (pow_test_data): Likewise.
7501 (pow_tonearest_test_data): Likewise.
7502 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7503 mpfr_ff_f.
7504 (func_calc_desc): Add mpfr_ff_f union field.
7505 (FUNC_mpfr_ff_f): New macro.
7506 (test_functions): Add atan2, hypot and pow.
7507 (special_fill_min): New function.
7508 (special_fill_minus_min): Likewise.
7509 (special_fill_min_subnorm): Likewise.
7510 (special_fill_minus_min_subnorm): Likewise.
7511 (special_real_inputs): Add min, -min, min_subnorm and
7512 -min_subnorm.
7513 (calc_generic_results): Handle mpfr_ff_f.
7514 * sysdeps/i386/fpu/libm-test-ulps: Update.
7515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7516
75172013-12-16 Will Newton <will.newton@linaro.org>
7518
7519 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7520 (Aligned Memory Blocks): Add documentation for aligned_alloc
7521 and suggest it as an alternative to posix_memalign.
7522 (Hooks for Malloc): Document __memalign_hook is also called
7523 for aligned_alloc. (Summary of Malloc): Add summary for
7524 aligned alloc. Document __memalign_hook is also called
7525 for aligned_alloc.
7526
75272013-12-16 Will Newton <will.newton@linaro.org>
7528
7529 * manual/memory.texi (Malloc Examples): Clarify default
7530 alignment documentation. Suggest posix_memalign rather
7531 than memalign or valloc.
7532 (Aligned Memory Blocks): Remove suggestion to use memalign
7533 or valloc. Remove obsolete comment about BSD.
7534 Document memalign errno values and mark the function obsolete.
7535 Document posix_memalign returned error codes. Mark valloc
7536 as obsolete. (Hooks for Malloc): __memalign_hook is also
7537 called for posix_memalign and valloc.
7538 (Summary of Malloc): Add posix_memalign to function summary.
7539 __memalign_hook is also called for posix_memalign and valloc.
7540
75412013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7542
7543 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7544 TAYLOR_SIN.
7545 (__sin): Adjust.
7546 (__cos): Likewise.
7547 (sloww): Use mynumber union. Expand ternary operator into
7548 if-else statements.
7549 (cslow): use mynumber union.
7550
75512013-12-16 Allan McRae <allan@archlinux.org>
7552
7553 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7554 * configure: Regenerated.
7555
7556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7557
7558 [BZ #14120]
7559 * configure.ac: Added --enable-maintainer-mode. Check for
7560 autoconf when enabled.
7561 * configure: Regenerated.
7562
7563 * nscd/nscd.service: New file.
7564 * nscd/nscd.tmpfiles: New file.
7565
75662013-12-14 Ondřej Bílka <neleai@seznam.cz>
7567
7568 [BZ #12100]
7569 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7570 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7571 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7572 (strstr): Add __strstr_sse2_unaligned ifunc.
7573 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7574 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7575 (strcasestr): Remove __strcasestr_sse42 ifunc.
7576 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7577 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7579
75802013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7581
7582 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7583 * sysdeps/sh/bits/fenv.h: ... here.
7584 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7585
75862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7587
7588 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7589
7590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7591 hypotf multiarch implementations.
7592 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7593 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7594 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7595 multiarch hypot for PPC64.
7596 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7597 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7598 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7599 multiarch hypotf for PPC64.
7600
7601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7602 modff multiarch implementations.
7603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7606 multiarch modf for PPC64.
7607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7610 multiarch modff for PPC64.
7611
7612 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7613 and logl multiarch implementations.
7614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7617 multiarch logb for PPC64.
7618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7621 multiarch logb for PPC64.
7622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7625 multiarch logb for PPC64.
7626
7627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7628 isinff multiarch implementation.
7629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7630 file.
7631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7633 multiarch isinf for PPC64.
7634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7635 file.
7636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7637 multiarch isinff for PPC64.
7638
7639 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7640 finitef multiarch implementation.
7641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7642 file.
7643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7645 multiarch finite for PPC64.
7646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7647 file.
7648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7649 multiarch finitef for PPC64.
7650
7651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7652 lrint multiarch implementation.
7653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7654 file.
7655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7657 multiarch llrint for PPC64.
7658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7659 multiarch lrint for PPC64.
7660
7661 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7662 copysignf multiarch implementation.
7663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7664 file.
7665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7666 file.
7667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7668 multiarch copysign for PPC64.
7669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7670 multiarch copysignf for PPC64.
7671
7672 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7673 multiarch implementation.
7674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7675 file.
7676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7677 file.
7678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7679 file.
7680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7681 file.
7682 multiarch llround for PPC64.
7683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7684 multiarch trunc for PPC64.
7685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7686 multiarch truncf for PPC64.
7687
7688 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7689 multiarch implementation.
7690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7691 file.
7692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7693 file.
7694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7695 file.
7696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7697 file.
7698 multiarch llround for PPC64.
7699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7700 multiarch round for PPC64.
7701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7702 multiarch roundf for PPC64.
7703
7704 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7705 multiarch implementation.
7706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7707 file.
7708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7709 file.
7710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7711 file.
7712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7713 file.
7714 multiarch llround for PPC64.
7715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7716 multiarch floor for PPC64.
7717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7718 multiarch floorf for PPC64.
7719
7720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7721 multiarch implementation.
7722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7723 file.
7724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7725 file.
7726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7727 file.
7728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7729 file.
7730 multiarch llround for PPC64.
7731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7732 multiarch ceil for PPC64.
7733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7734 multiarch ceilf for PPC64.
7735
7736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7737 multiarch implementation.
7738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7739 file.
7740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7741 file.
7742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7743 file.
7744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7745 multiarch llround for PPC64.
7746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7747 multiarch lround for PPC64.
7748
7749 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7750 multiarch implementation.
7751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7754 file.
7755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7758 multiarch isnan for PPC64.
7759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7760 multiarch isnanf for PPC64.
7761
7762 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7763 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7764 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7765 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7766 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7768
7769 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7770 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7772 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7773
7774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7775 multiarch implementations.
7776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7777 (__libc_ifunc_impl_list): Likewise.
7778 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7779 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7780 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7781 multiarch stpcpy for PPC64.
7782
7783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7784 multiarch implementations.
7785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7786 (__libc_ifunc_impl_list): Likewise.
7787 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7788 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7789 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7790 multiarch strcpy for PPC64.
7791
7792 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7793 redefine function name.
7794 (_wordcopy_fwd_dest_aligned): Likewise.
7795 (_wordcopy_bwd_aligned): Likewise.
7796 (_wordcopy_bwd_dest_aligned): Likewise.
7797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7798 multiarch implementations.
7799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7800 (__libc_ifunc_impl_list): Likewise.
7801 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7802 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7803 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7804 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7805 multiarch wcscpy for PPC64.
7806
7807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7808 multiarch implementations.
7809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7810 (__libc_ifunc_impl_list): Likewise.
7811 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7812 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7813 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7814 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7815 multiarch wcscpy for PPC64.
7816
7817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7818 multiarch implementations.
7819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7820 (__libc_ifunc_impl_list): Likewise.
7821 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7822 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7823 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7824 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7825 multiarch wcsrchr for PPC64.
7826
7827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7828 multiarch implementations.
7829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7830 (__libc_ifunc_impl_list): Likewise.
7831 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7832 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7833 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7834 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7835 multiarch wcschr for PPC64.
7836
7837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7838 multiarch implementations.
7839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7840 (__libc_ifunc_impl_list): Likewise.
7841 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7842 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7843 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7844 multiarch strchrnul for PPC64.
7845
7846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7847 implementations.
7848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7849 (__libc_ifunc_impl_list): Likewise.
7850 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7851 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7852 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7853 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7854 strchr for PPC64.
7855
7856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7857 implementations.
7858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7859 (__libc_ifunc_impl_list): Likewise.
7860 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7861 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7862 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7863 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7864 strncmp for PPC64.
7865
7866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7867 multiarch implementations.
7868 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7869 (__libc_ifunc_impl_list): Likewise.
7870 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7871 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7872 strncasecmp for PPC64.
7873 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7874 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7875 multiarch strncasecmp_l for PPC64.
7876
7877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7878 multiarch implementations.
7879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7880 (__libc_ifunc_impl_list): Likewise.
7881 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7882 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7883 multiarch strcasecmp for PPC64.
7884 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7885 file.
7886 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7887 multiarch strcasecmp_l for PPC64.
7888
7889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7890 implementations.
7891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7892 (__libc_ifunc_impl_list): Likewise.
7893 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7894 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7895 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7896 strnlen for PPC64.
7897
7898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7899 implementations.
7900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7901 (__libc_ifunc_impl_list): Likewise.
7902 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7903 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7904 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7905 strlen for PPC64.
7906
7907 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7908 implementations.
7909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7910 (__libc_ifunc_impl_list): Likewise.
7911 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7912 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7913 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7914 rawmemrchr for PPC64.
7915
7916 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7917 implementation.
7918 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7919 (__libc_ifunc_impl_list): Likewise.
7920 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7921 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7922 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7923 memrchr for PPC64.
7924
7925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7926 implementation.
7927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7928 (__libc_ifunc_impl_list): Likewise.
7929 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7930 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7931 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7932 memchr for PPC64.
7933
7934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7935 implementation.
7936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7937 (__libc_ifunc_impl_list): Likewise.
7938 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7939 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7940 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7941 mempcpy for PPC64.
7942
7943 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7944 avoid cretion of __bzero symbol.
7945 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7946 Likewise.
7947 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7948 Likewise.
7949 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7950 Likewise.
7951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7952 multiarch implementations.
7953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7954 (__libc_ifunc_impl_list): Likewise.
7955 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7956 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7957 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7958 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7959 bzero for PPC32.
7960 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7961 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7962 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7963 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7964 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7965 memset for PPC64.
7966 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7967
7968 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7970 implementations.
7971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7972 (__libc_ifunc_impl_list): Likewise.
7973 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7974 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7975 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7976 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7977 memcmp for PPC64.
7978
7979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7980 multiarch for POWER/PPC64.
7981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7982 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7983 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7984 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7985 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7986 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7987 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7988 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7989 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7990 memcpy for PPC64.
7991
7992 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7993 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7994 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7995 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7996 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7997 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7998 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7999 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8000 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8001 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8002 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8003 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8004 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8005 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8006 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8014
80152013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8016
8017 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8018
80192013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8020
8021 * benchtests/Makefile (bench): Add exp2 and log2.
8022 (LDLIBS-bench-exp2): Add -lm.
8023 (LDLIBS-bench-log2): Likewise.
8024 * benchtests/exp2-inputs: New inputs file.
8025 * benchtests/log2-inputs: New inputs file.
8026 * benchtests/log-inputs: Add new inputs.
8027 * benchtests/tan-inputs: Likewise.
8028
80292013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8030
8031 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8032 definition...
8033 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8034 (csloww2): ... from here.
8035
8036 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8037 instead of structures.
8038 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8039 (POLYNOMIAL): Likewise.
8040 (TAYLOR_SLOW): Likewise.
8041 (__sin): Likewise.
8042 (__cos): Likewise.
8043 (slow1): Likewise.
8044 (slow2): Likewise.
8045 (sloww): Likewise.
8046 (sloww1); Likewise.
8047 (sloww2): Likewise.
8048 (bsloww1): Likewise.
8049 (bsloww2): Likewise.
8050 (cslow2): Likewise.
8051 (csloww): Likewise.
8052 (csloww1): Likewise.
8053 (csloww2): Likewise.
8054
80552013-12-10 Ondřej Bílka <neleai@seznam.cz>
8056
8057 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8058 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8059 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8060 * malloc/hooks.c (realloc_check): Likewise.
8061
8062 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8063 * malloc/arena.c: Remove PER_THREAD conditional.
8064 [!PER_THREAD]: Remove code.
8065 (ptmalloc_unlock_all2): Likewise.
8066 (ptmalloc_init): Likewise.
8067 (_int_new_arena): Likewise.
8068 (arena_get2): Likewise.
8069 * malloc/hooks.c (__malloc_get_state): Likewise.
8070 (__malloc_set_state): Likewise.
8071 * malloc/malloc.c: Likewise.
8072 (struct malloc_state): Likewise.
8073 (struct malloc_par): Likewise.
8074 (__libc_realloc): Likewise.
8075 (__libc_mallopt): Likewise.
8076
80772013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8078
8079 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8080
80812013-12-09 Ondřej Bílka <neleai@seznam.cz>
8082
8083 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8084 macro to a function. Check for zero perturb_byte.
8085 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8086
8087 * malloc/malloc.c: (force_reg): Remove.
8088 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8089 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8090 force_reg by atomic_forced_read.
8091 * malloc/arena.c (ptmalloc_init): Likewise.
8092 * malloc/hooks.c (top_check): Likewise.
8093
80942013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8095
8096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8097
80982013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8099
8100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8101
81022013-12-08 Joseph Myers <joseph@codesourcery.com>
8103
8104 * math/auto-libm-test-in: Add tests of lgamma.
8105 * math/auto-libm-test-out: Regenerated.
8106 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8107 (M_LOG_2_SQRT_PIl): Likewise.
8108 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8109 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8110 mpfr_f_f1.
8111 (func_calc_desc): Add mpfr_f_f1 union field.
8112 (ARGS1): New macro.
8113 (ARGS2): Likewise.
8114 (ARGS3): Likewise.
8115 (ARGS4): Likewise.
8116 (RET1): Likewise.
8117 (RET2): Likewise.
8118 (CALC): Likewise.
8119 (FUNC): Likewise.
8120 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8121 (test_functions): Add lgamma.
8122 (calc_generic_results): Handle mpfr_f_f1.
8123 * sysdeps/i386/fpu/libm-test-ulps: Update.
8124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8125
81262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8127
8128 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8129 __mpn_add_n for PowerPC64/POWER7.
8130 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8131 __mpn_sub_n for PowerPC64/POWER7.
8132
8133 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8134 __mpn_addmul_1 for PowerPC64.
8135 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8136 __mpn_submul_1 for PowerPC64.
8137 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8138 for PowerPC64.
8139 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8140 for PowerPC64.
8141
81422013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8143
8144 [BZ #15089]
8145 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8146
81472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8148
8149 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8150
8151 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8152 add multiarch folders.
8153 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8154 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8155 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8156 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8157 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8158 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8159 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8160 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8161 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8162 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8163 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8170
8171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8172 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8174 New file.
8175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8176 New file.
8177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8178 multiarch __ieee754_hypot for PowerPC32.
8179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8180 New file.
8181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8182 New file.
8183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8184 multiarch __ieee754_hypotf for PowerPC32.
8185
8186 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8187 long_double_symbol only if __logbl is defined.
8188 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8189 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8190 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8191 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8193 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8194 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8195 path for implementation.
8196 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8197 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8199 logb, and logbl multiarch implementations for PowerPC32.
8200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8201 file.
8202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8203 file.
8204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8205 multiarch logb for PowerPC32.
8206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8207 file.
8208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8209 file.
8210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8211 multiarch logbf for PowerPC32.
8212 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8214 file.
8215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8216 multiarch logbl implementation for PowerPC32.
8217
8218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8219 and modff multiarch implementations.
8220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8221 New file.
8222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8223 New file.
8224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8225 multiarch modf for PowerPC32.
8226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8227 New file.
8228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8229 New file.
8230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8231 multiarch modff for PowerPC32.
8232
8233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8234 and lrintf multiarch implementations.
8235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8236 New file.
8237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8238 New file.
8239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8240 multiarch lrint for PowerPC32.
8241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8242 file: multiarch lrintf for PowerPC32.
8243
8244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8245 and lroundf multiarch implementations.
8246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8247 New file.
8248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8249 New file.
8250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8251 New file.
8252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8253 multiarch lround for PowerPC32.
8254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8255 file: multiarch lroundf for PowerPC32.
8256
8257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8258 copysign and copysignf multiarch implementations.
8259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8260 New file.
8261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8262 New file.
8263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8264 file: multiarch copysign for PowerPC32.
8265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8266 file: multiarch copysignf for PowerPC32.
8267
8268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8269 and truncf multiarch implementations.
8270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8271 New file.
8272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8273 file.
8274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8275 multiarch trunc for PowerPC32.
8276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8277 New file.
8278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8279 New file.
8280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8281 multiarch truncf for PowerPC32.
8282
8283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8284 and roundf multiarch implementations.
8285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8286 New file.
8287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8288 file.
8289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8290 multiarch round for PowerPC32.
8291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8292 New file.
8293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8294 New file.
8295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8296 multiarch roundf for PowerPC32.
8297
8298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8299 and floorf multiarch implementations.
8300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8301 New file.
8302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8303 file.
8304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8305 multiarch floor for PowerPC32.
8306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8307 New file.
8308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8309 New file.
8310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8311 multiarch floorf for PowerPC32.
8312
8313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8314 and ceilf multiarch implementations.
8315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8316 New file.
8317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8318 file.
8319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8320 multiarch ceil for PowerPC32.
8321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8322 New file.
8323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8324 file.
8325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8326 multiarch ceilf for PowerPC32.
8327
8328 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8329 is defined.
8330 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8331 FINITEF is defined.
8332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8333 and finitef multiarch implementations.
8334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8335 New file.
8336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8337 file.
8338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8339 multiarch finite for PowerPC32.
8340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8341 New file.
8342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8343 file: multiarch finitef for PowerPC32.
8344
8345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8346 and isinff multiarch implementations.
8347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8348 file.
8349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8350 file.
8351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8352 multiarch isinf for PowerPC32.
8353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8354 New file.
8355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8356 multiarch isinff for PowerPC32.
8357
8358 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8359 alias when __isnan is defined.
8360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8361 and isnanf multiarch implementations.
8362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8363 file.
8364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8365 file.
8366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8367 file.
8368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8369 file.
8370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8371 multiarch isnan for PowerPC32.
8372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8373 New file.
8374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8375 New file.
8376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8377 multiarch isnanf for PowerPC32.
8378
8379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8380 and sqrtf multiarch implementations.
8381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8382 file.
8383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8384 file.
8385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8386 multiarch sqrt for PowerPC32.
8387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8388 file.
8389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8390 file.
8391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8392 multiarch sqrtf for PowerPC32.
8393
8394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8395 and llroundf multiarch implementations.
8396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8397 New file.
8398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8399 New file.
8400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8401 New file.
8402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8403 file: multiarch llround for PowerPC32.
8404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8405 file: multiarch llroundf for PowerPC32.
8406
8407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8408 multiarch PowerPC32 fpu implementations.
8409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8410 New file.
8411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8412 New file.
8413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8414 multiarch llrint for PowerPC32.
8415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8416 New file.
8417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8418 New file.
8419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8420 file.
8421
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8423
8424 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8425 file.
8426 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8427 file.
8428 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8429 file.
8430 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8431 multiarch wordcopy for PPC32.
8432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8433 wordcopy objects.
8434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8435 (__libc_ifunc_impl_list): Likewise.
8436 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8437 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8438 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8439 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8440 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8441 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8442
8443 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8445 file.
8446 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8447 file.
8448 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8449 file.
8450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8451 multiarch wcscpy for PPC32.
8452 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8453 multiarch objects.
8454 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8455 (__libc_ifunc_impl_list): Likewise.
8456 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8457 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8458 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8459 sysdeps/powerpc/power6/wcscpy.c.
8460
8461 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8463 file.
8464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8465 file.
8466 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8467 file.
8468 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8469 multiarch wcsrchr for PPC32.
8470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8471 multiarch objects.
8472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8473 (__libc_ifunc_impl_list): Likewise.
8474 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8475 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8476 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8477 sysdeps/powerpc/power6/wcsrchr.c.
8478
8479 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8480 file.
8481 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8482 file.
8483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8484 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8485 multiarch wcschr for PPc32.
8486 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8487 multiarch objects.
8488 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8489 (__libc_ifunc_impl_list): Likewise.
8490 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8491 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8492 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8493 sysdeps/powerpc/power6/wcschr.c.
8494
8495 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8496 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8497 file.
8498 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8499 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8500 file: multiarch strchr for PPC32.
8501 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8502 multiarch objects.
8503 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8504 (__libc_ifunc_impl_list): Likewise.
8505
8506 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8507 name.
8508 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8509 file.
8510 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8511 file.
8512 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8513 multiarch strchrnul for PPC32.
8514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8515 multiarch objects.
8516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8517 (__libc_ifunc_impl_list): Likewise.
8518
8519 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8520 file.
8521 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8522 multiarch strncasecmp for PPC32.
8523 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8524 file.
8525 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8526 multiarch strncasecmp_l for PPC32.
8527 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8528 strncasecmp multiarch objects.
8529 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8530 (__libc_ifunc_impl_list): Likewise.
8531
8532 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8533 file.
8534 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8535 multiarch strncasecmp for PPC32.
8536 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8537 New file.
8538 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8539 multiarch strcasecmp_l for PPC32.
8540 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8541 multiarch objects.
8542 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8543 (__libc_ifunc_impl_list): Likewise.
8544
8545 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8546 file.
8547 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8548 file.
8549 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8550 multiarch strncmp for PPC32.
8551 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8552 multiarch objects.
8553 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8554 (__libc_ifunc_impl_list): Likewise.
8555
8556 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8557 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8558 file.
8559 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8560 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8562 multiarch objects.
8563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8564 (__libc_ifunc_impl_list): Likewise.
8565
8566 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8567 file.
8568 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8569 file.
8570 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8571 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8572 multiarch objects.
8573 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8574 (__libc_ifunc_impl_list): Likewise.
8575
8576 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8577 file.
8578 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8579 file.
8580 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8581 multiarch rawmemchr for PPC32.
8582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8583 multiarch objects.
8584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8585 (__libc_ifunc_impl_list): Likewise.
8586
8587 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8588 file.
8589 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8590 file.
8591 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8592 file: memrchr multiarch for PPC32.
8593 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8594 multiarch objects.
8595 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8596 (__libc_ifunc_impl_list): Likewise.
8597
8598 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8599 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8600 file.
8601 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8602 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8603 multiarch memchr for PPC32.
8604 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8605 multiarch objects.
8606 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8607 (__libc_ifunc_impl_list): Likewise.
8608
8609 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8610 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8611 file.
8612 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8613 file.
8614 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8615 file: multiarch mempcpy for PPC32.
8616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8617 multiarch objects.
8618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8619 (__libc_ifunc_impl_list): Likewise.
8620
8621 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8622 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8623 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8624 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8625 multiarch bzero for PPC32.
8626 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8627 file.
8628 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8629 file.
8630 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8631 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8632 file: multiarch memset for PPC32.
8633 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8634 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8635 memset multiarch objects.
8636 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8637 (__libc_ifunc_impl_list): Likewise.
8638
8639 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8640 file.
8641 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8642 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8643 memcmp for PPC32.
8644 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8646 multiarch objects.
8647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8648 (__libc_ifunc_impl_list): Likewise.
8649
8650 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8651 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8652 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8653 file.
8654 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8655 file.
8656 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8657 file.
8658 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8659 multiarch memcpy for PPC32.
8660 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8661 multiarch objects.
8662 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8663 (__libc_ifunc_impl_list): Likewise.
8664
8665 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8666 support multiarch for POWER/PPC32.
8667 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8668 Likewise.
8669 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8671 Implies file to make multiarch folder appers before the fpu and
8672 default folder for power4 configuration.
8673
86742013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8675
8676 * scripts/bench.pl: Append volatile keyword to type.
8677
86782013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8679
8680 * sysdeps/sh/sotruss-lib.c: New file.
8681 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8682
86832013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8684
8685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8686
86872013-12-05 Joseph Myers <joseph@codesourcery.com>
8688
8689 [BZ #6810]
8690 * math/w_tgamma.c: Include <errno.h>.
8691 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8692 * math/w_tgammaf.c: Include <errno.h>.
8693 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8694 * math/w_tgammal.c: Include <errno.h>.
8695 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8696 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8697 underflow. Add more tgamma tests.
8698 * math/auto-libm-test-out: Regenerated.
8699 * sysdeps/i386/fpu/libm-test-ulps: Update.
8700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8701
8702 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8703 sin, sinh, tan, tanh, tgamma, y0 and y1.
8704 * math/auto-libm-test-out: Regenerated.
8705 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8706 (TEST_COND_x86): Likewise.
8707 (M_E2l): Remove macro.
8708 (M_E3l): Likewise.
8709 (M_2_SQRT_PIl): Likewise.
8710 (M_SQRT_PIl): Likewise.
8711 (M_1_DIV_El): Likewise.
8712 (log_test_data): Use AUTO_TESTS_f_f.
8713 (log10_test_data): Likewise.
8714 (log1p_test_data): Likewise.
8715 (log2_test_data): Likewise.
8716 (sin_test_data): Likewise.
8717 (sin_tonearest_test_data): Likewise.
8718 (sin_towardzero_test_data): Likewise.
8719 (sin_downward_test_data): Likewise.
8720 (sin_upward_test_data): Likewise.
8721 (sinh_test_data): Likewise.
8722 (sinh_tonearest_test_data): Likewise.
8723 (sinh_towardzero_test_data): Likewise.
8724 (sinh_downward_test_data): Likewise.
8725 (sinh_upward_test_data): Likewise.
8726 (tan_test_data): Likewise.
8727 (tan_tonearest_test_data): Likewise.
8728 (tan_towardzero_test_data): Likewise.
8729 (tan_downward_test_data): Likewise.
8730 (tan_upward_test_data): Likewise.
8731 (tanh_test_data): Likewise.
8732 (tgamma_test_data): Likewise.
8733 (y0_test_data): Likewise.
8734 (y1_test_data): Likewise.
8735 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8736 (special_real_inputs): Add pi/4.
8737 * sysdeps/i386/fpu/libm-test-ulps: Update.
8738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8739
87402013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8741
8742 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8743 "longjmp_target" static probes.
8744 (__longjmp): Rename to __longjmp_symbol.
8745 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8746 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8747 on which longjmp to generate.
8748 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8749 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8750 probe.
8751 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8752 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8753 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8754 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8755 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8756 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8758 __longjmp_symbol based on which __longjmp to generate.
8759 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8760 probe.
8761 (setjmp): Rename to setjmp_symbol.
8762 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8763 (_setjmp): Rename to _setjmp_symbol.
8764 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8765 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8766 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8767 which setjmp to generate.
8768 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8769 "longjmp_target" static probes.
8770
87712013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8772
8773 * benchtests/README: Add note about output arguments.
8774 * benchtests/bench-sincos.c: Remove file.
8775 * benchtests/sincos-inputs: New file.
8776 * scripts/bench.pl: Identify output arguments and define
8777 static variables for them.
8778
8779 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8780
8781 [BZ #15941]
8782 * Makefile (INSTALL): Add install-plain.texi as the primary
8783 dependency.
8784 * manual/install-plain.texi: New file.
8785 * manual/install.texi: Include node directive only for
8786 non-plaintext output.
8787
87882013-12-04 Joseph Myers <joseph@codesourcery.com>
8789
8790 * stdlib/longlong.h: Update from GCC.
8791
8792 [BZ #6807]
8793 [BZ #15901]
8794 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8795 * math/w_j0f.c (y0f): Likewise.
8796 * math/w_j0l.c (__y0l): Likewise.
8797 * math/w_j1.c (y1): Likewise.
8798 * math/w_j1f.c (y1f): Likewise.
8799 * math/w_j1l.c (__y1l): Likewise
8800 * math/w_jn.c (yn): Likewise.
8801 * math/w_jnf.c (ynf): Likewise.
8802 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8803 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8804 value for Bessel function domain errors outside _SVID_ mode.
8805 Adjust sign of return value for yn (negative integer, 0).
8806 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8807 by zero in return for negative x and set sign appropriately for
8808 negative n.
8809 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8810 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8811 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8812 expectations in error cases.
8813 (y1_test_data): Likewise.
8814 (yn_test_data): Likewise.
8815 * sysdeps/i386/fpu/libm-test-ulps: Update.
8816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8817
88182013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8819
8820 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8821 "64" to "64-v1". Add "64-v2".
8822 (abi-64-options): Rename to ...
8823 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8824 (abi-64-condition): Rename to ...
8825 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8826 (abi-64-ld-soname): Rename to ...
8827 (abi-64-v1-ld-soname): ... this.
8828 (abi-64-v2-options): Define.
8829 (abi-64-v2-condition): Likewise.
8830 (abi-64-v2-ld-soname): Likewise.
8831 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8832 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8836
88372013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8838 Alan Modra <amodra@gmail.com>
8839
8840 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8841 New versions for use with the ELFv2 ABI.
8842 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8843 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8844 declaration.
8845 (struct La_ppc64v2_retval): Likewise.
8846 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8847 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8848 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8849 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8850 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8851 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8852 Do not save or restore CR.
8853 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8854 (_dl_profile_resolve): Do no save or restore CR. Support extended
8855 return values for ELFv2 ABI. Fix location of FPR return registers.
8856 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8857 updated values for _CALL_ELF == 2.
8858 (La_regs, La_retval, int_retval): Likewise.
8859
88602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8861
8862 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8863 (FRAME_MIN_SIZE_PARM): Likewise.
8864 (FRAME_BACKCHAIN): Likewise.
8865 (FRAME_CR_SAVE): Likewise.
8866 (FRAME_LR_SAVE): Likewise.
8867 (FRAME_TOC_SAVE): Likewise.
8868 (FRAME_PARM_SAVE): Likewise.
8869 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8870 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8871 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8872 (call_mcount_parm_offset): New macro.
8873 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8874 (PROF): Use symbolic stack frame offsets.
8875 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8876 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8877 Redefine in terms of FRAME_MIN_SIZE.
8878 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8879 (_dl_profile_resolve): Likewise. Update comment.
8880 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8881 symbols stack frame offsets.
8882 (__sigsetjmp): Likewise.
8883 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8884 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8885 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8886 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8887
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8889 (FRAME_BACKCHAIN): Remove.
8890 (FRAME_CR_SAVE): Likewise.
8891 (FRAME_LR_SAVE): Likewise.
8892 (FRAME_COMPILER_DW): Likewise.
8893 (FRAME_LINKER_DW): Likewise.
8894 (FRAME_TOC_SAVE): Likewise.
8895 (FRAME_PARM_SAVE): Likewise.
8896 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8897 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8898 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8900 (CHECK_SP): Use symbolic stack frame offsets.
8901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8902 zone" instead of caller's parameter save area for temp storage.
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8904 Likewise. Also, use symbolic stack frame offsets.
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8906 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8907 our own stack frame instead of the caller's.
8908 (__socket): Use symbolic stack frame offsets.
8909
89102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8911 Alan Modra <amodra@gmail.com>
8912
8913 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8914 Define.
8915 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8916 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8917 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8918 New function.
8919 (elf_machine_fixup_plt): Call it.
8920 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8921 reloc arguments.
8922 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8923 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8924 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8925 r2 before calling target.
8926
89272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8928 Alan Modra <amodra@gmail.com>
8929
8930 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8931 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8932 versions of macros to support ELFv2 ABI.
8933 (LOCALENTRY): New macro.
8934 (ENTRY, EALIGN): Use it.
8935 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8936 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8937 fall through into ENTRY entry point.
8938 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8939 Only define if _CALL_ELF != 2.
8940
8941 (elf_machine_matches_host): Verify ABI version matches.
8942 (RTLD_START): Use LOCALENTRY.
8943 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8944 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8945 (PLT_ENTRY_WORDS): New macro.
8946 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8947 (elf_machine_runtime_setup): Support ELFv2 ABI.
8948 (elf_machine_fixup_plt): Likewise.
8949 (elf_machine_plt_conflict): Likewise.
8950 (resolve_ifunc): Likewise.
8951 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8952 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8953 Likewise.
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8955 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8957 (makecontext): Support ELFv2 ABI.
8958 * elf/elf.h (EF_PPC64_ABI): Define.
8959
89602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8961
8962 * sysdeps/powerpc/powerpc64/sysdep.h
8963 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8964 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8965 (ENTRY) [ASSEMBLER]: ... but instead here ...
8966 (EALIGN) [ASSEMBLER]: ... and here.
8967 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8968 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8969 (ENTRY_2) [!ASSEMBLER]: Use it.
8970 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8971 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8972 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8973 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8974 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8976 Use PPC64_LOAD_FUNCPTR.
8977
8978 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8979
89802013-12-04 Alan Modra <amodra@gmail.com>
8981
8982 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8983 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8984 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8985 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8986
8987 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8988 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8989 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8990 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8991 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8992 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8993
89942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8995
8996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8997 (__makecontext): Fix incorrect CFI when backtracing out of
8998 context created via makecontext.
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9000 (__setcontext): Fix incorrect CFI during switch to new context.
9001 (__novec_setcontext): Likewise.
9002
90032013-12-04 Ondřej Bílka <neleai@seznam.cz>
9004
9005 [BZ #4772]
9006 * time/strptime_l.c (__strptime_internal): Allow modifiers
9007 in strptime.
9008 * time/tst-strptime.c (day_tests): Add testcase.
9009
90102013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9011
9012 * scripts/bench.pl: Skip over blank lines.
9013
90142013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9015
9016 [BZ #926]
9017 * manual/time.texi (Calendar Time): Clarify what timezone functions
9018 use.
9019
90202013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9021
9022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9023
90242013-12-04 Ondřej Bílka <neleai@seznam.cz>
9025
9026 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9027 implementation.
9028 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9029 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9030 * debug/memset_chk.c (__memset_chk): Likewise.
9031 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9032 * debug/strncpy_chk.c: Likewise.
9033
90342013-12-03 Joseph Myers <joseph@codesourcery.com>
9035
9036 [BZ #15268]
9037 [BZ #15425]
9038 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9039 (__ieee754_exp): For possibly underflowing results, check size of
9040 result and force underflow exception if required.
9041 * math/auto-libm-test-in: Add more tests of exp.
9042 * math/auto-libm-test-out: Regenerated.
9043 * sysdeps/i386/fpu/libm-test-ulps: Update.
9044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9045
9046 [BZ #16283]
9047 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9048 * math/w_exp2f.c (__exp2f): Likewise.
9049 * math/w_exp2l.c (__exp2l): Likewise.
9050 * math/auto-libm-test-in: Do not allow missing errno on exp2
9051 underflow.
9052 * math/auto-libm-test-out: Regenerated.
9053
90542013-12-03 Ondřej Bílka <neleai@seznam.cz>
9055
9056 [BZ #16274]
9057 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9058 handle filename validation.
9059 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9060 (do_open): Delete.
9061
90622013-12-03 Joseph Myers <joseph@codesourcery.com>
9063
9064 [BZ #6786]
9065 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9066 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9067 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9068 <float.h>.
9069 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9070 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9071 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9072 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9073 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9074 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9075 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9076 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9077 Add more erfc tests.
9078 * math/auto-libm-test-out: Regenerated.
9079 * sysdeps/i386/fpu/libm-test-ulps: Update.
9080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9081
9082 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9083 exp2, expm1, j0 and j1.
9084 * math/auto-libm-test-out: Regenerated.
9085 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9086 (erfc_test_data): Likewise.
9087 (exp_test_data): Likewise.
9088 (exp_tonearest_test_data): Likewise.
9089 (exp_towardzero_test_data): Likewise.
9090 (exp_downward_test_data): Likewise.
9091 (exp_upward_test_data): Likewise.
9092 (exp10_test_data): Likewise.
9093 (exp2_test_data): Likewise.
9094 (expm1_test_data): Likewise.
9095 (j0_test_data): Likewise.
9096 (j1_test_data): Likewise.
9097 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9098 (input_flag_type): Add flag_xfail_rounding.
9099 (input_flags): Add xfail-rounding.
9100 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9101 (output_for_one_input_case): Handle flag_xfail_rounding.
9102 * sysdeps/i386/fpu/libm-test-ulps: Update.
9103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9104
91052013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9106
9107 [BZ #16289]
9108 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9109 division by 0.
9110
91112013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9112
9113 [BZ #16195]
9114 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9115 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9116 (STAP_PROBE0): New macro.
9117 (STAP_PROBE1): Likewise.
9118 (STAP_PROBE2): Likewise.
9119 (STAP_PROBE3): Likewise.
9120 (STAP_PROBE4): Likewise.
9121
91222013-12-02 Ondřej Bílka <neleai@seznam.cz>
9123
9124 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9125
91262013-12-02 Steve Ellcey <sellcey@mips.com>
9127
9128 * benchtests/Makefile (bench): Add sqrt.
9129 (LDLIBS-bench-sqrt): New.
9130 * benchtests/sqrt-input: New.
9131
91322013-12-02 Pavel Simerda <psimerda@redhat.com>
9133
9134 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9135 (GAIH_EAI): Likewise.
9136 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9137 (gaih_inet): Likewise.
9138 (getaddrinfo): Don't use GAIH_EAI.
9139
9140 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9141 (struct gaih): Remove definition.
9142
91432013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9144
9145 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9146 Use HERRNOP directly.
9147
91482013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9149
9150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9151
91522013-11-30 Joseph Myers <joseph@codesourcery.com>
9153
9154 * math/gen-auto-libm-tests.c (test_functions): Add more
9155 single-argument functions.
9156 (special_fill_pi_2): New function.
9157 (special_fill_minus_pi_2): Likewise.
9158 (special_fill_pi_6): Likewise.
9159 (special_fill_minus_pi_6): Likewise.
9160 (special_fill_pi_3): Likewise.
9161 (special_fill_2pi_3): Likewise.
9162 (special_fill_e): Likewise.
9163 (special_fill_1_e): Likewise.
9164 (special_fill_e_minus_1): Likewise.
9165 (special_real_inputs): Add more special inputs.
9166 (output_for_one_input_case): Do not require ERANGE on underflow to
9167 zero if round-to-nearest result does not underflow to zero, unless
9168 exact results required.
9169 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9170 atan, atanh, cbrt, cos and cosh.
9171 * math/auto-libm-test-out: Regenerated.
9172 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9173 (acos_tonearest_test_data): Likewise.
9174 (acos_towardzero_test_data): Likewise.
9175 (acos_downward_test_data): Likewise.
9176 (acos_upward_test_data): Likewise.
9177 (acosh_test_data): Likewise.
9178 (asin_test_data): Likewise.
9179 (asin_tonearest_test_data): Likewise.
9180 (asin_towardzero_test_data): Likewise.
9181 (asin_upward_test_data): Likewise.
9182 (asinh_test_data): Likewise.
9183 (atan_test_data): Likewise.
9184 (atanh_test_data): Likewise.
9185 (cbrt_test_data): Likewise.
9186 (cos_test_data): Likewise.
9187 (cos_tonearest_test_data): Likewise.
9188 (cos_towardzero_test_data): Likewise.
9189 (cos_downward_test_data): Likewise.
9190 (cos_upward_test_data): Likewise.
9191 (cosh_test_data): Likewise.
9192 (cosh_tonearest_test_data): Likewise.
9193 (cosh_towardzero_test_data): Likewise.
9194 (cosh_downward_test_data): Likewise.
9195 (cosh_upward_test_data): Likewise.
9196 * sysdeps/i386/fpu/libm-test-ulps: Update.
9197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9198
91992013-11-29 Joseph Myers <joseph@codesourcery.com>
9200
9201 [BZ #6787]
9202 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9203 * math/w_exp10f.c (__exp10f): Likewise.
9204 * math/w_exp10l.c (__exp10l): Likewise.
9205 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9206 errno settings in existing tests.
9207
9208 [BZ #14032]
9209 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9210 precision control set to double precision.
9211 * sysdeps/i386/fpu/w_sqrt.c: New file.
9212 * math/auto-libm-test-in: Add more tests.
9213 * math/auto-libm-test-out: Update.
9214
9215 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9216 (sqrt_test_tonearest): New function.
9217 (sqrt_towardzero_test_data): New variable.
9218 (sqrt_test_towardzero): New function.
9219 (sqrt_downward_test_data): New variable.
9220 (sqrt_test_downward): New function.
9221 (sqrt_upward_test_data): New variable.
9222 (sqrt_test_upward): New function.
9223 (main): Call the new functions.
9224
9225 * math/gen-auto-libm-tests.c: New file.
9226 * math/auto-libm-test-in: Likewise.
9227 * math/auto-libm-test-out: New generated file.
9228 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9229 variables.
9230 (%beautify): Add generated representations of zero.
9231 (top level): Set $auto_input and call parse_auto_input.
9232 (beautify): Remove trailing "f" from hex float constants.
9233 (parse_args): Handle XFAIL_TEST.
9234 (convert_condition): New function.
9235 (or_value): Likewise.
9236 (or_cond_value): Likewise.
9237 (generate_testfile): Handle AUTO_TESTS_* lines.
9238 (parse_auto_input): New function.
9239 * math/libm-test.inc (XFAIL_TEST): New macro.
9240 (ERRNO_UNCHANGED): Update value.
9241 (ERRNO_EDOM): Likewise.
9242 (ERRNO_ERANGE): Likewise.
9243 (IGNORE_RESULT): Likewise.
9244 (TEST_COND_flt_32): New macro.
9245 (TEST_COND_dbl_64): Likewise.
9246 (TEST_COND_ldbl_96_intel): Likewise.
9247 (TEST_COND_ldbl_96_m68k): Likewise.
9248 (TEST_COND_ldbl_128): Likewise.
9249 (TEST_COND_ldbl_128ibm): Likewise.
9250 (TEST_COND_long32): Likewise.
9251 (TEST_COND_long64): Likewise.
9252 (TEST_COND_before_rounding): Likewise.
9253 (TEST_COND_after_rounding): Likewise.
9254 (enable_test): Handle XFAIL_TEST flag.
9255 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9256 with finite results.
9257 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9258 auto-libm-test-out.
9259
92602013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9261 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9262
9263 [BZ #16214]
9264 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9265 __tls_get_addr_internal instead of __tls_get_offset in order to
9266 avoid GOT pointer dependency. Make rtld export
9267 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9268 __tls_get_addr since we are a __tls_get_offset platform.
9269 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9270 GOT pointer being set up before.
9271 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9272
92732013-11-28 Joseph Myers <joseph@codesourcery.com>
9274
9275 * manual/math.texi (Errors in Math Functions): Document accuracy
9276 goals.
9277
9278 [BZ #15004]
9279 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9280 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9283 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9285 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9289 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9290 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9293 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9294 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9295
9296 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9297 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9298 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9299 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9300 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9301 Likewise.
9302 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9303 Likewise.
9304 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9305 Likewise.
9306 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9307 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9308 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9309 atomic-feupdateenv and flt-rounds.
9310 * sysdeps/powerpc/nofpu/Versions (libc): Add
9311 __atomic_feholdexcept, __atomic_feclearexcept,
9312 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9313 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9314 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9315 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9316 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9317 here.
9318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9319 Update.
9320
9321 * manual/arith.texi (FP Exceptions): Document that exceptions may
9322 not be raised when matherr is used.
9323 (Math Error Reporting): Document overflow in directed rounding
9324 modes. Document that errno may not be set when finite values are
9325 returned on overflow. Document intent to set errno on underflow
9326 only for underflow to zero.
9327
9328 [BZ #16271]
9329 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9330 round-to-nearest then adjust result for other rounding modes.
9331 * include/fenv.h (fegetround): Use libm_hidden_proto.
9332 * math/fegetround.c (fegetround): Use libm_hidden_def.
9333 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9334 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9335 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9336 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9337 Likewise.
9338 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9339 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9340 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9341 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9342
93432013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9344
9345 [BZ #16077]
9346 * nss/Versions (libnss_files): Add
9347 _nss_files_gethostbyname3_r.
9348 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9349 New function.
9350 (HOST_DB_LOOKUP): Remove macro.
9351 (_nss_files_gethostbyname_r): Implement function without the
9352 HOST_DB_LOOKUP macro.
9353 (_nss_files_gethostbyname2_r): Likewise.
9354
93552013-11-28 Ondřej Bílka <neleai@seznam.cz>
9356
9357 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9358
93592013-11-26 Uros Bizjak <ubizjak@gmail.com>
9360
9361 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9362 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9363 warning.
9364
93652013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9366
9367 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9368 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9369 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9370 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9371 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9372 __fe_nomask_env_priv and attribute_hidden.
9373 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9374 (libc_feupdateenv_test_ppc): Likewise.
9375 (libc_feresetround_ppc): Likewise.
9376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9377 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9378 compat_symbol macro.
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9380 (__fe_nomask_env): Likewise.
9381 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9382
93832013-11-26 Ondřej Bílka <neleai@seznam.cz>
9384
9385 * string/Makefile: Remove ifunc tests.
9386 * string/test-string.h: Define TEST_IFUNC.
9387 * string/test-bcopy-ifunc.c: Remove.
9388 * string/test-bzero-ifunc.c: Likewise.
9389 * string/test-memccpy-ifunc.c: Likewise.
9390 * string/test-memchr-ifunc.c: Likewise.
9391 * string/test-memcmp-ifunc.c: Likewise.
9392 * string/test-memcpy-ifunc.c: Likewise.
9393 * string/test-memmem-ifunc.c: Likewise.
9394 * string/test-memmove-ifunc.c: Likewise.
9395 * string/test-mempcpy-ifunc.c: Likewise.
9396 * string/test-memrchr-ifunc.c: Likewise.
9397 * string/test-memset-ifunc.c: Likewise.
9398 * string/test-rawmemchr-ifunc.c: Likewise.
9399 * string/test-stpcpy-ifunc.c: Likewise.
9400 * string/test-stpncpy-ifunc.c: Likewise.
9401 * string/test-strcasecmp-ifunc.c: Likewise.
9402 * string/test-strcasestr-ifunc.c: Likewise.
9403 * string/test-strcat-ifunc.c: Likewise.
9404 * string/test-strchr-ifunc.c: Likewise.
9405 * string/test-strchrnul-ifunc.c: Likewise.
9406 * string/test-strcmp-ifunc.c: Likewise.
9407 * string/test-strcpy-ifunc.c: Likewise.
9408 * string/test-strcspn-ifunc.c: Likewise.
9409 * string/test-strlen-ifunc.c: Likewise.
9410 * string/test-strncasecmp-ifunc.c: Likewise.
9411 * string/test-strncat-ifunc.c: Likewise.
9412 * string/test-strncmp-ifunc.c: Likewise.
9413 * string/test-strncpy-ifunc.c: Likewise.
9414 * string/test-strnlen-ifunc.c: Likewise.
9415 * string/test-strpbrk-ifunc.c: Likewise.
9416 * string/test-strrchr-ifunc.c: Likewise.
9417 * string/test-strspn-ifunc.c: Likewise.
9418 * string/test-strstr-ifunc.c: Likewise.
9419
94202013-11-26 Ondřej Bílka <neleai@seznam.cz>
9421
9422 * benchtests/Makefile: Remove ifunc tests.
9423 * benchtests/bench-string.h: Define TEST_IFUNC.
9424 * benchtests/bench-bcopy-ifunc.c: Remove.
9425 * benchtests/bench-bzero-ifunc.c: Likewise.
9426 * benchtests/bench-memccpy-ifunc.c: Likewise.
9427 * benchtests/bench-memchr-ifunc.c: Likewise.
9428 * benchtests/bench-memcmp-ifunc.c: Likewise.
9429 * benchtests/bench-memcpy-ifunc.c: Likewise.
9430 * benchtests/bench-memmem-ifunc.c: Likewise.
9431 * benchtests/bench-memmove-ifunc.c: Likewise.
9432 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9433 * benchtests/bench-memrchr-ifunc.c: Likewise.
9434 * benchtests/bench-memset-ifunc.c: Likewise.
9435 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9436 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9437 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9438 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9439 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9440 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9441 * benchtests/bench-strcat-ifunc.c: Likewise.
9442 * benchtests/bench-strchr-ifunc.c: Likewise.
9443 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9444 * benchtests/bench-strcmp-ifunc.c: Likewise.
9445 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9446 * benchtests/bench-strcpy-ifunc.c: Likewise.
9447 * benchtests/bench-strcspn-ifunc.c: Likewise.
9448 * benchtests/bench-strlen-ifunc.c: Likewise.
9449 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9450 * benchtests/bench-strncat-ifunc.c: Likewise.
9451 * benchtests/bench-strncmp-ifunc.c: Likewise.
9452 * benchtests/bench-strncpy-ifunc.c: Likewise.
9453 * benchtests/bench-strnlen-ifunc.c: Likewise.
9454 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9455 * benchtests/bench-strrchr-ifunc.c: Likewise.
9456 * benchtests/bench-strsep-ifunc.c: Likewise.
9457 * benchtests/bench-strspn-ifunc.c: Likewise.
9458 * benchtests/bench-strstr-ifunc.c: Likewise.
9459
94602013-11-26 Ondřej Bílka <neleai@seznam.cz>
9461
9462 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9463
94642013-11-26 Ondřej Bílka <neleai@seznam.cz>
9465
9466 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9467 * rt/aio.h: Likewise.
9468 * sysdeps/gnu/bits/utmp.h: Likewise.
9469 * sysdeps/gnu/bits/utmpx.h: Likewise.
9470 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9471 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9472 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9473 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9474 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9475 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9476 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9477 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9478 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9479 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9480 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9481 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9482 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9484 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9485 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9486 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9487 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9488 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9489 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9490 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9491 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9492 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9493 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9494 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9495 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9496 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9497 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9498 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9499 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9500 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9501 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9502 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9503 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9504 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9505 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9506 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9507 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9508 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9509 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9510 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9511 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9512
95132013-11-25 Carlos O'Donell <carlos@redhat.com>
9514
9515 [BZ #16245]
9516 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9517 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9518
95192013-11-25 Joseph Myers <joseph@codesourcery.com>
9520
9521 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9522 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9523 Likewise.
9524
95252013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9526
9527 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9528 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9529 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9530 (__fesetround): Remove define.
9531 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9532 rounding and exceptions handling.
9533 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9534 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9535 (__fe_nomask_env): Likewise.
9536 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9537 __fegetround instead of fegetround.
9538 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9539 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9540
95412013-11-21 Roland McGrath <roland@hack.frob.com>
9542
9543 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9544 it's there.
9545
9546 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9547
95482013-11-21 Meador Inge <meadori@codesourcery.com>
9549
9550 [BZ #11157]
9551 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9552 (encrypt_r): Likewise.
9553 * malloc/obstack.h (obstack_free): Likewise.
9554 * posix/unistd.h (encrypt): Likewise.
9555
95562013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9557
9558 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9559 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9560 DL_CALL_DT_FINI() that call the functions directly.
9561 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9562 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9563 * elf/dl-fini.c: Likewise.
9564
95652013-11-20 Ondřej Bílka <neleai@seznam.cz>
9566
9567 * malloc/hooks.c (memalign_check): Add alignment rounding.
9568 * malloc/malloc.c (_mid_memalign): New function.
9569 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9570 Implement by calling _mid_memalign.
9571 * manual/probes.texi (Memory Allocation Probes): Remove
9572 memory_valloc_retry and memory_pvalloc_retry.
9573
95742013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9575
9576 * locale/programs/locarchive.c (open_archive): Add const
9577 qualifier to ARCHIVEFNAME and copy default fname to
9578 DEFAULT_FNAME.
9579
9580 [BZ #15601]
9581 * libio/tst-widetext.input: Rename Oriya to Odia.
9582 * locale/iso-639.def: Likewise.
9583
9584 * manual/probes.texi (Mathematical Function Probes): Add
9585 documentation for sin, cos, asin and acos probes.
9586 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9587 (__sin32): Add slowasin probe.
9588 (__cos32): Add slowacos probe.
9589 (__mpsin): Add slowsin probe.
9590 (__mpcos): Add slowcos probe.
9591
95922013-11-19 Joseph Myers <joseph@codesourcery.com>
9593
9594 [BZ #15483]
9595 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9596 thread-local __sim_exceptions_thread and global
9597 __sim_exceptions_global.
9598 (__sim_disabled_exceptions): Change to thread-local
9599 __sim_disabled_exceptions_thread and global
9600 __sim_disabled_exceptions_global.
9601 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9602 and global __sim_round_mode_global.
9603 (__simulate_exceptions): Use thread-local floating-point state and
9604 set global state from it as needed.
9605 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9606 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9607 __sim_round_mode_thread.
9608 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9609 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9610 and global __sim_exceptions_global.
9611 (__sim_disabled_exceptions): Change to thread-local
9612 __sim_disabled_exceptions_thread and global
9613 __sim_disabled_exceptions_global.
9614 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9615 and global __sim_round_mode_global.
9616 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9617 (SIM_SET_GLOBAL): Likewise.
9618 * sysdeps/powerpc/soft-fp/sfp-machine.h
9619 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9620 __sim_round_mode_thread.
9621 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9622 __sim_disabled_exceptions_thread.
9623 (__sim_exceptions): Change to __sim_exceptions_thread.
9624 (__sim_disabled_exceptions): Change to
9625 __sim_disabled_exceptions_thread.
9626 (__sim_round_mode): Change to __sim_round_mode_thread.
9627 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9628 thread-local floating-point state and set global state from it as
9629 needed.
9630 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9631 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9632 (__sim_disabled_exceptions): Remove extern declaration.
9633 (feenableexcept): Use thread-local floating-point state and set
9634 global state from it as needed.
9635 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9636 extern declaration.
9637 (__sim_disabled_exceptions): Likewise.
9638 (__sim_round_mode): Likewise.
9639 (__fegetenv): Use thread-local floating-point state.
9640 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9641 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9642 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9643 floating-point state and set global state from it as needed.
9644 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9645 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9646 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9647 Likewise.
9648 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9649 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9650 Likewise.
9651 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9652 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9653 Use __sim_round_mode_thread.
9654 * math/test-fenv-tls.c: New file.
9655 * math/Makefile (tests): Add test-fenv-tls.
9656 ($(objpfx)test-fenv-tls): Depend on
9657 $(common-objpfx)nptl/libpthread.so.
9658
96592013-11-19 Andreas Schwab <schwab@suse.de>
9660
9661 * locale/programs/locale.c (show_info): Decode wordarray elements.
9662 * locale/categories.def (LC_MONETARY): Add element for
9663 _NL_MONETARY_CRNCYSTR.
9664 * locale/C-monetary.c (conversion_rate): New variable.
9665 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9666 element.
9667
96682013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9669
9670 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9671 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9672
96732013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9674
9675 * elf/Makefile (tst-auxv): New test.
9676 * elf/tst-auxv.c: New
9677 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9678
96792013-11-18 Joseph Myers <joseph@codesourcery.com>
9680
9681 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9682 (hidden_proto): Caller changed.
9683 (hidden_tls_proto): New macro.
9684 (libc_hidden_tls_proto): Likewise.
9685 (rtld_hidden_tls_proto): Likewise.
9686 (libm_hidden_tls_proto): Likewise.
9687 (libresolv_hidden_tls_proto): Likewise.
9688 (librt_hidden_tls_proto): Likewise.
9689 (libdl_hidden_tls_proto): Likewise.
9690 (libnss_files_hidden_tls_proto): Likewise.
9691 (libnsl_hidden_tls_proto): Likewise.
9692 (libnss_nisplus_hidden_tls_proto): Likewise.
9693 (libutil_hidden_tls_proto): Likewise.
9694
96952013-11-18 Ondřej Bílka <neleai@seznam.cz>
9696
9697 [BZ #10253]
9698 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9699 (decompose_rpath): Defer expansion to fillin_rpath.
9700 (_dl_init_paths): Pass linkmap to fillin_rpath.
9701
97022013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9703
9704 * benchtests/Makefile: Add strsep.
9705 * benchtests/bench-strsep.c: New file: strsep benchtest.
9706 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9707
97082013-11-18 Andreas Schwab <schwab@suse.de>
9709
9710 * locale/programs/locale.c (show_info) [case byte]: Check for
9711 '\377' instead of '\177'.
9712 * locale/C-monetary.c (not_available): Always use "\377".
9713 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9714 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9715 detect unavailable sign_posn locale elements.
9716 * locale/localeconv.c (__localeconv): For grouping and
9717 mon_grouping handle "\177" and "\377" like no grouping.
9718 (INT_ELEM): New macro. Use it to set all numeric members.
9719 * locale/programs/ld-monetary.c (monetary_read)
9720 <tok_mon_grouping>: Normalize single -1 to the empty string.
9721 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9722 Likewise.
9723
97242013-11-07 Ondřej Bílka <neleai@seznam.cz>
9725
9726 [BZ #16055]
9727 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9728 when we match (nil).
9729 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9730
97312013-11-16 Joseph Myers <joseph@codesourcery.com>
9732
9733 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9734 (NO_TEST_INLINE): Update value.
9735 (ERRNO_UNCHANGED): Likewise.
9736 (ERRNO_EDOM): Likewise.
9737 (ERRNO_ERANGE): Likewise.
9738 (IGNORE_RESULT): Likewise.
9739 (check_float_internal): Check signs of NaN results if
9740 TEST_NAN_SIGN used.
9741 (check_complex): Pass TEST_NAN_SIGN flag through to second
9742 check_float_internal call.
9743 (copysign_test_data): Add tests with quiet NaNs as second
9744 argument. Use TEST_NAN_SIGN.
9745 (fabs_test_data): Add test of negative quiet NaN argument. Use
9746 TEST_NAN_SIGN.
9747 (signbit_test_data): Add tests of quiet NaN argument.
9748 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9749
9750 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9751 $ignore_result.
9752 (parse_args): Handle function results specified as IGNORE.
9753 * math/libm-test.inc (IGNORE_RESULT): New macro.
9754 (check_float_internal): Do not check numerical result if flag
9755 IGNORE_RESULT set.
9756 (check_complex): Pass through IGNORE_RESULT to second
9757 check_float_internal call.
9758 (check_int): Do not check numerical result if flag IGNORE_RESULT
9759 set.
9760 (check_long): Likewise.
9761 (check_bool): Likewise.
9762 (check_longlong): Likewise.
9763 (lrint_test_data): Add tests of infinite and NaN arguments.
9764 (lrint_tonearest_test_data): Likewise.
9765 (lrint_towardzero_test_data): Likewise.
9766 (lrint_downward_test_data): Likewise.
9767 (lrint_upward_test_data): Likewise.
9768 (llrint_test_data): Likewise.
9769 (llrint_tonearest_test_data): Likewise.
9770 (llrint_towardzero_test_data): Likewise.
9771 (llrint_downward_test_data): Likewise.
9772 (llrint_upward_test_data): Likewise.
9773 (lround_test_data): Likewise.
9774 (llround_test_data): Likewise.
9775
9776 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9777 (ERRNO_UNCHANGED): Update value.
9778 (ERRNO_EDOM): Likewise.
9779 (ERRNO_ERANGE): Likewise.
9780 (NO_TEST_INLINE_FLOAT): New macro.
9781 (NO_TEST_INLINE_DOUBLE): Likewise.
9782 (enable_test): New function.
9783 (RUN_TEST_f_f): Check enable_test before running test.
9784 (RUN_TEST_2_f): Likewise.
9785 (RUN_TEST_fff_f): Likewise.
9786 (RUN_TEST_c_f): Likewise.
9787 (RUN_TEST_f_f1): Likewise.
9788 (RUN_TEST_fF_f1): Likewise.
9789 (RUN_TEST_fI_f1): Likewise.
9790 (RUN_TEST_ffI_f1): Likewise.
9791 (RUN_TEST_c_c): Likewise.
9792 (RUN_TEST_cc_c): Likewise.
9793 (RUN_TEST_f_i): Likewise.
9794 (RUN_TEST_f_i_tg): Likewise.
9795 (RUN_TEST_ff_i_tg): Likewise.
9796 (RUN_TEST_f_b): Likewise.
9797 (RUN_TEST_f_b_tg): Likewise.
9798 (RUN_TEST_f_l): Likewise.
9799 (RUN_TEST_f_L): Likewise.
9800 (RUN_TEST_fFF_11): Likewise.
9801 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9802 conditionals.
9803 (cosh_test_data): Likewise.
9804 (exp_test_data): Likewise.
9805 (expm1_test_data): Likewise.
9806 (hypot_test_data): Likewise.
9807 (pow_test_data): Likewise.
9808 (sinh_test_data): Likewise.
9809 (tanh_test_data): Likewise.
9810 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9811 flags argument.
9812
9813 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9814 tests with quiet NaN input and output.
9815 (acosh_test_data): Likewise.
9816 (asin_test_data): Likewise.
9817 (asinh_test_data): Likewise.
9818 (atan_test_data): Likewise.
9819 (atanh_test_data): Likewise.
9820 (atan2_test_data): Likewise.
9821 (cbrt_test_data): Likewise.
9822 (cos_test_data): Likewise.
9823 (cosh_test_data): Likewise.
9824 (erf_test_data): Likewise.
9825 (erfc_test_data): Likewise.
9826 (exp_test_data): Likewise.
9827 (exp10_test_data): Likewise.
9828 (exp2_test_data): Likewise.
9829 (expm1_test_data): Likewise.
9830 (hypot_test_data): Likewise.
9831 (j0_test_data): Likewise.
9832 (j1_test_data): Likewise.
9833 (jn_test_data): Likewise.
9834 (lgamma_test_data): Likewise.
9835 (log_test_data): Likewise.
9836 (log10_test_data): Likewise.
9837 (log1p_test_data): Likewise.
9838 (log2_test_data): Likewise.
9839 (pow_test_data): Likewise.
9840 (scalb_test_data): Likewise.
9841 (sin_test_data): Likewise.
9842 (sincos_test_data): Likewise.
9843 (sinh_test_data): Likewise.
9844 (tan_test_data): Likewise.
9845 (tanh_test_data): Likewise.
9846 (tgamma_test_data): Likewise.
9847 (y0_test_data): Likewise.
9848 (y1_test_data): Likewise.
9849 (yn_test_data): Likewise.
9850
9851 [BZ #16167]
9852 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9853 argument being NaN and avoid computations with second argument in
9854 that case.
9855 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9856 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9857 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9858
98592013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9860
9861 * locale/iso-639.def: Add Chitwani Tharu (the).
9862
98632013-11-14 Andreas Schwab <schwab@suse.de>
9864
9865 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9866 word instead of empty string.
9867
98682013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9869
9870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9871 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9873 (__fe_nomask_env): Likewise.
9874
98752013-11-13 Steve Ellcey <sellcey@mips.com>
9876
9877 * benchtests/bench-timing.h: Include time.h.
9878
98792013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9880
9881 [BZ #15997]
9882 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9883 to 3.4.0 for x32.
9884 * sysdeps/unix/sysv/linux/configure: Regenerated.
9885
98862013-11-13 Joseph Myers <joseph@codesourcery.com>
9887
9888 [BZ #16151]
9889 * stdlib/strtod_l.c (round_and_return): Do not consider
9890 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9891 exponent one less than half the least subnormal exponent.
9892 * stdlib/test-strtod-round-data: Add more tests.
9893 * stdlib/tst-strtod-round.c (tests): Regenerated.
9894
98952013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9896
9897 [BZ #14143]
9898 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9899 (__fe_mask_env): Likewise.
9900 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9901 libm_hidden_proto and add function prototype.
9902 (__fe_mask_env): Add function prototype.
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9904 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9906 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9908 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9909
99102013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9911
9912 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9913 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9914
99152013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9916
9917 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9918 of htab_find_slot().
9919
99202013-11-11 David S. Miller <davem@davemloft.net>
9921
9922 [BZ #16150]
9923 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9924 symbol in the non-vis3 case in static builds.
9925 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9926 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9927 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9928 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9929
99302013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9931
9932 [BZ #387]
9933 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9934 it is empty.
9935
99362013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9937
9938 * benchtests/Makefile: Add bench-strtod.
9939 * benchtests/bench-strtod.c: New file: strtod benchtest
9940
99412013-11-11 Andreas Schwab <schwab@suse.de>
9942
9943 [BZ #16153]
9944 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9945 terminating NUL in key length.
9946
99472013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9948
9949 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9950 Add artificial ODP entry for vDSO symbol for PPC64.
9951 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9952 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9953
99542013-11-07 Ondřej Bílka <neleai@seznam.cz>
9955
9956 [BZ #15374]
9957 * nss/getent.c (services_keys): Recognize services starting with digit.
9958
99592013-11-06 David S. Miller <davem@davemloft.net>
9960
9961 [BZ #15985]
9962 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9963 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9964
99652013-11-06 Will Newton <will.newton@linaro.org>
9966
9967 * manual/memory.texi (Malloc Examples): Remove register
9968 keyword from examples.
9969
99702013-11-04 Chris Leonard <cjl@sugarlabs.org>
9971
9972 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9973
99742013-11-04 Joseph Myers <joseph@codesourcery.com>
9975
9976 [BZ #6981]
9977 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9978 depending on [__GCC_IEC_559 > 0].
9979 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9980 depending on [__GCC_IEC_559_COMPLEX > 0].
9981
99822013-11-03 Chris Leonard <cjl@sugarlabs.org>
9983
9984 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9985 to iso-639.def.
9986
99872013-11-03 Ondřej Bílka <neleai@seznam.cz>
9988
9989 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9990
99912013-11-01 Ondřej Bílka <neleai@seznam.cz>
9992
9993 [BZ #16112]
9994 * malloc/malloc (malloc_info): Do not handle first bin as
9995 special case.
9996
99972013-11-01 Chris Leonard <cjl@sugarlabs.org>
9998
9999 * locale/iso-639.def: Add Central Nahuatl (nhn).
10000
100012013-11-01 Bruno Haible <bruno@clisp.org>
10002
10003 [BZ #7003]
10004 * manual/math.texi (BSD Random): Specify range upper bound as
10005 in POSIX.
10006
100072013-10-31 Chris Leonard <cjl@sugarlabs.org>
10008
10009 * locale/iso-639.def: Add Meadow Mari (mhr).
10010
100112013-10-31 Ondřej Bílka <neleai@seznam.cz>
10012
10013 [BZ #14752], [BZ #15763]
10014 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10015 Validate name.
10016 * rt/tst_shm.c: Add test for escaping directory.
10017
100182013-10-31 Andreas Schwab <schwab@suse.de>
10019
10020 [BZ #15917]
10021 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10022 followed by 'x' as part of digit sequence.
10023 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10024
100252013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10026
10027 [BZ #16037]
10028 * configure.ac: allow GNU Make 4.0 and greater.
10029 * configure: Regenerated.
10030
100312013-10-30 Will Newton <will.newton@linaro.org>
10032
10033 [BZ #16038]
10034 * malloc/hooks.c (memalign_check): Limit alignment to the
10035 maximum representable power of two.
10036 * malloc/malloc.c (__libc_memalign): Likewise.
10037 * malloc/tst-memalign.c (do_test): Add test for very
10038 large alignment values.
10039 * malloc/tst-posix_memalign.c (do_test): Likewise.
10040
100412013-10-30 Ondřej Bílka <neleai@seznam.cz>
10042
10043 [BZ #11087]
10044 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10045 (munmap_chunk): Likewise.
10046 (mremap_chunk): Likewise.
10047
100482013-10-30 Ondřej Bílka <neleai@seznam.cz>
10049
10050 [BZ #15799]
10051 * stdlib/div.c (div): Remove obsolete code.
10052 * stdlib/ldiv.c (ldiv): Likewise.
10053 * stdlib/lldiv.c (lldiv): Likewise.
10054
100552013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10056
10057 [BZ #16071]
10058 * nss/nss_files/files-XXX.c (get_contents_ret): New
10059 enumerator.
10060 (get_contents): New function.
10061 (internal_getent): Use it. Expand size of LINEBUFLEN.
10062
100632013-10-30 Mike Frysinger <vapier@gentoo.org>
10064
10065 * configure.in: Moved to ...
10066 * configure.ac: ... here. Change reference to configure.in
10067 to configure.ac.
10068 * sysdeps/arm/preconfigure.ac: ... here.
10069 configure.in to configure.ac.
10070 * sysdeps/gnu/configure.in: Moved to ...
10071 * sysdeps/gnu/configure.ac: ... here.
10072 * sysdeps/i386/configure.in: Moved to ...
10073 * sysdeps/i386/configure.ac: ... here.
10074 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10075 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10076 * sysdeps/mach/configure.in: Moved to ...
10077 * sysdeps/mach/configure.ac: ... here.
10078 * sysdeps/mach/hurd/configure.in: Moved to ...
10079 * sysdeps/mach/hurd/configure.ac: ... here.
10080 * sysdeps/powerpc/configure.in: Moved to ...
10081 * sysdeps/powerpc/configure.ac: ... here.
10082 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10083 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10084 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10085 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10086 * sysdeps/s390/s390-32/configure.in: Moved to ...
10087 * sysdeps/s390/s390-32/configure.ac: ... here.
10088 * sysdeps/s390/s390-64/configure.in: Moved to ...
10089 * sysdeps/s390/s390-64/configure.ac: ... here.
10090 * sysdeps/sh/configure.in: Moved to ...
10091 * sysdeps/sh/configure.ac: ... here.
10092 * sysdeps/sparc/configure.in: Moved to ...
10093 * sysdeps/sparc/configure.ac: ... here.
10094 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10095 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10096 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10097 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10098 * sysdeps/x86_64/configure.in: Moved to ...
10099 * sysdeps/x86_64/configure.ac: ... here.
10100 * sysdeps/x86_64/preconfigure.in: Moved to ...
10101 * sysdeps/x86_64/preconfigure.ac: ... here.
10102 * aclocal.m4: Change reference to configure.in to configure.ac.
10103 * config.h.in: Likewise.
10104 * manual/install.texi: Likewise.
10105 * manual/maint.texi: Likewise.
10106 * Makefile: Likewise.
10107 * malloc/Makefile: Likewise.
10108 * nscd/Makefile: Likewise.
10109 * Makeconfig: Change reference to configure.in and
10110 preconfigure.in to configure.ac and preconfigure.ac
10111 respectively.
10112 * INSTALL: Regenerated.
10113 * configure: Likewise.
10114 * sysdeps/gnu/configure: Likewise.
10115 * sysdeps/i386/configure: Likewise.
10116 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10117 * sysdeps/mach/configure: Likewise.
10118 * sysdeps/mach/hurd/configure: Likewise.
10119 * sysdeps/powerpc/configure: Likewise.
10120 * sysdeps/powerpc/powerpc32/configure: Likewise.
10121 * sysdeps/powerpc/powerpc64/configure: Likewise.
10122 * sysdeps/s390/s390-32/configure: Likewise.
10123 * sysdeps/s390/s390-64/configure: Likewise.
10124 * sysdeps/sh/configure: Likewise.
10125 * sysdeps/sparc/configure: Likewise.
10126 * sysdeps/unix/sysv/linux/configure: Likewise.
10127 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10128 * sysdeps/x86_64/configure: Likewise.
10129 * sysdeps/x86_64/preconfigure: Likewise.
10130
101312013-10-29 Andreas Schwab <schwab@suse.de>
10132
10133 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10134
101352013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10136
10137 * benchtests/pow-inputs: Add new inputs.
10138
10139 * benchtests/exp-inputs: Add new inputs.
10140
10141 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10142 conditional check for return value.
10143 (__cos32): Likewise.
10144
101452013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10146
10147 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10148 to provide a boost for large inputs with word alignment.
10149 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10150 implementation based on optimized PPC64 strcpy.
10151 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10152 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10153 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10154 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10155
101562013-10-25 Ondřej Bílka <neleai@seznam.cz>
10157
10158 [BZ #2801]
10159 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10160
101612013-10-25 Ondřej Bílka <neleai@seznam.cz>
10162
10163 [BZ #14876]
10164 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10165 * time/tst-strptime.c (day_tests): Add testcase.
10166
101672013-10-25 Ondřej Bílka <neleai@seznam.cz>
10168
10169 [BZ #14029]
10170 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10171
101722013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10173
10174 [BZ #16074]
10175 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10176 MAP_FAILED on error.
10177
101782013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10179
10180 [BZ #16072]
10181 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10182 heap for large requests.
10183
101842013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10185
10186 [BZ #9954]
10187 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10188 result if the result has no associated interface.
10189 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10190 interface for all 127.X.Y.Z addresses.
10191
101922013-10-24 Chris Leonard <cjl@sugarlabs.org>
10193
10194 * locale/iso-639.def: Add Ligurian (lij)
10195
101962013-10-21 Ondřej Bílka <neleai@seznam.cz>
10197
10198 [BZ #15825]
10199 * sunrpc/rpc_main.c: Document rpcgen -5.
10200
102012013-10-19 Michael Stahl <mstahl@redhat.com>
10202
10203 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10204
102052013-10-19 Ondřej Bílka <neleai@seznam.cz>
10206
10207 [BZ #10278]
10208 * posix/glob.c: Match only directories when trailing slash is present.
10209 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10210 (main): Add testcase.
10211
102122013-10-19 Ondřej Bílka <neleai@seznam.cz>
10213
10214 [BZ #15670]
10215 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10216
102172013-10-18 Carlos O'Donell <carlos@redhat.com>
10218
10219 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10220 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10221 AUTH_DES and cindex for FIPS 140-2.
10222 (DES Encryption): Add cindex FIPS 46-3.
10223
10224 * locale/locarchive.h (struct locarhandle): Add fname.
10225 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10226 if an optional argument was specified to --list-archive,
10227 otherwise NULL.
10228 * locale/programs/locarchive.c (show_archive_content): Take new
10229 argument fname and pass it via ah.fname to open_archive.
10230 * locale/programs/localedef.h: Update decl.
10231 (open_archive): If AH->fname is non-null, open that file
10232 rather than the default file name, and don't ignore ENOENT.
10233 (create_archive): Set AH.fname to NULL.
10234 (delete_locales_from_archive): Likewise.
10235 (add_locales_to_archive): Likewise.
10236 * locale/programs/locfile.c (write_all_categories): Likewise.
10237
102382013-10-18 Joseph Myers <joseph@codesourcery.com>
10239 Aldy Hernandez <aldyh@redhat.com>
10240
10241 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10242 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10243 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10244 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10245 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10246 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10247 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10248 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10249 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10250 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10251 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10252 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10253 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10254 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10255 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10256 Likewise.
10257 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10258 Likewise.
10259 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10260 Likewise.
10261 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10262 Likewise.
10263 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10264 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10265 Likewise.
10266 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10267 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10268 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10269 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10270 Likewise.
10271 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10272 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10273 * sysdeps/powerpc/preconfigure: Likewise.
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10275 Likewise.
10276 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10277 Replace contents of file by #include of <fenv_libc.h>.
10278 * sysdeps/powerpc/soft-fp/sfp-machine.h
10279 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10280 and <sys/prctl.h>.
10281 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10282 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10283 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10284 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10285 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10286 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10288 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10289 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10290 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10291 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10292 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10294 Allow copysignl PLT reference to be missing.
10295
102962013-10-18 Richard Sandiford <richard@codesourcery.com>
10297 Joseph Myers <joseph@codesourcery.com
10298
10299 [BZ #15948]
10300 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10301 single character.
10302 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10303
103042013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10305
10306 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10307 * elf/tst-tls1.c: Likewise.
10308 * elf/tst-tls10.h: Likewise.
10309 * elf/tst-tls14.c: Likewise.
10310 * elf/tst-tls2.c: Likewise.
10311 * elf/tst-tls3.c: Likewise.
10312 * elf/tst-tls4.c: Likewise.
10313 * elf/tst-tls5.c: Likewise.
10314 * elf/tst-tls6.c: Likewise.
10315 * elf/tst-tls7.c: Likewise.
10316 * elf/tst-tls8.c: Likewise.
10317 * elf/tst-tls9.c: Likewise.
10318 * elf/tst-tlsmod1.c: Likewise.
10319 * elf/tst-tlsmod13.c: Likewise.
10320 * elf/tst-tlsmod13a.c: Likewise.
10321 * elf/tst-tlsmod14a.c: Likewise.
10322 * elf/tst-tlsmod16a.c: Likewise.
10323 * elf/tst-tlsmod16b.c: Likewise.
10324 * elf/tst-tlsmod2.c: Likewise.
10325 * elf/tst-tlsmod3.c: Likewise.
10326 * elf/tst-tlsmod4.c: Likewise.
10327 * elf/tst-tlsmod5.c: Likewise.
10328 * elf/tst-tlsmod6.c: Likewise.
10329
103302013-10-18 Ondřej Bílka <neleai@seznam.cz>
10331
10332 [BZ #12486]
10333 * malloc/malloc.c: remove checks for statistics.
10334
103352013-10-17 Ondřej Bílka <neleai@seznam.cz>
10336
10337 [BZ #15277]
10338 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10339 * inet/tst-network.c: Add testcase.
10340
103412013-10-17 Andreas Schwab <schwab@suse.de>
10342
10343 [BZ #15218]
10344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10345 to determine canonical name.
10346
103472013-10-17 Ondřej Bílka <neleai@seznam.cz>
10348
10349 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10350 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10351 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10363 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10364 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10368 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10371 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10373 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10374 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10379 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10382 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10383 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10384 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10385 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10386 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10387 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10389 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10398 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10399 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10400 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10401 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10402 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10403 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10404 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10406 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10407
104082013-10-17 Joseph Myers <joseph@codesourcery.com>
10409
10410 [BZ #16041]
10411 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10412 make result into a quiet NaN.
10413
104142013-10-16 Joseph Myers <joseph@codesourcery.com>
10415
10416 * soft-fp/adddf3.c: Fix horizontal whitespace.
10417 * soft-fp/addsf3.c: Likewise.
10418 * soft-fp/addtf3.c: Likewise.
10419 * soft-fp/divdf3.c: Likewise.
10420 * soft-fp/divsf3.c: Likewise.
10421 * soft-fp/divtf3.c: Likewise.
10422 * soft-fp/double.h: Likewise.
10423 * soft-fp/eqdf2.c: Likewise.
10424 * soft-fp/eqsf2.c: Likewise.
10425 * soft-fp/eqtf2.c: Likewise.
10426 * soft-fp/extenddftf2.c: Likewise.
10427 * soft-fp/extended.h: Likewise.
10428 * soft-fp/extendsfdf2.c: Likewise.
10429 * soft-fp/extendsftf2.c: Likewise.
10430 * soft-fp/extendxftf2.c: Likewise.
10431 * soft-fp/fixdfdi.c: Likewise.
10432 * soft-fp/fixdfsi.c: Likewise.
10433 * soft-fp/fixdfti.c: Likewise.
10434 * soft-fp/fixsfdi.c: Likewise.
10435 * soft-fp/fixsfsi.c: Likewise.
10436 * soft-fp/fixsfti.c: Likewise.
10437 * soft-fp/fixtfdi.c: Likewise.
10438 * soft-fp/fixtfsi.c: Likewise.
10439 * soft-fp/fixtfti.c: Likewise.
10440 * soft-fp/fixunsdfdi.c: Likewise.
10441 * soft-fp/fixunsdfsi.c: Likewise.
10442 * soft-fp/fixunsdfti.c: Likewise.
10443 * soft-fp/fixunssfdi.c: Likewise.
10444 * soft-fp/fixunssfsi.c: Likewise.
10445 * soft-fp/fixunssfti.c: Likewise.
10446 * soft-fp/fixunstfdi.c: Likewise.
10447 * soft-fp/fixunstfsi.c: Likewise.
10448 * soft-fp/fixunstfti.c: Likewise.
10449 * soft-fp/floatdidf.c: Likewise.
10450 * soft-fp/floatdisf.c: Likewise.
10451 * soft-fp/floatditf.c: Likewise.
10452 * soft-fp/floatsidf.c: Likewise.
10453 * soft-fp/floatsisf.c: Likewise.
10454 * soft-fp/floatsitf.c: Likewise.
10455 * soft-fp/floattidf.c: Likewise.
10456 * soft-fp/floattisf.c: Likewise.
10457 * soft-fp/floattitf.c: Likewise.
10458 * soft-fp/floatundidf.c: Likewise.
10459 * soft-fp/floatundisf.c: Likewise.
10460 * soft-fp/floatunditf.c: Likewise.
10461 * soft-fp/floatunsidf.c: Likewise.
10462 * soft-fp/floatunsisf.c: Likewise.
10463 * soft-fp/floatunsitf.c: Likewise.
10464 * soft-fp/floatuntidf.c: Likewise.
10465 * soft-fp/floatuntisf.c: Likewise.
10466 * soft-fp/floatuntitf.c: Likewise.
10467 * soft-fp/fmadf4.c: Likewise.
10468 * soft-fp/fmasf4.c: Likewise.
10469 * soft-fp/fmatf4.c: Likewise.
10470 * soft-fp/gedf2.c: Likewise.
10471 * soft-fp/gesf2.c: Likewise.
10472 * soft-fp/getf2.c: Likewise.
10473 * soft-fp/ledf2.c: Likewise.
10474 * soft-fp/lesf2.c: Likewise.
10475 * soft-fp/letf2.c: Likewise.
10476 * soft-fp/muldf3.c: Likewise.
10477 * soft-fp/mulsf3.c: Likewise.
10478 * soft-fp/multf3.c: Likewise.
10479 * soft-fp/negdf2.c: Likewise.
10480 * soft-fp/negsf2.c: Likewise.
10481 * soft-fp/negtf2.c: Likewise.
10482 * soft-fp/op-1.h: Likewise.
10483 * soft-fp/op-2.h: Likewise.
10484 * soft-fp/op-4.h: Likewise.
10485 * soft-fp/op-8.h: Likewise.
10486 * soft-fp/op-common.h: Likewise.
10487 * soft-fp/quad.h: Likewise.
10488 * soft-fp/single.h: Likewise.
10489 * soft-fp/soft-fp.h: Likewise.
10490 * soft-fp/sqrtdf2.c: Likewise.
10491 * soft-fp/sqrtsf2.c: Likewise.
10492 * soft-fp/sqrttf2.c: Likewise.
10493 * soft-fp/subdf3.c: Likewise.
10494 * soft-fp/subsf3.c: Likewise.
10495 * soft-fp/subtf3.c: Likewise.
10496 * soft-fp/truncdfsf2.c: Likewise.
10497 * soft-fp/trunctfdf2.c: Likewise.
10498 * soft-fp/trunctfsf2.c: Likewise.
10499 * soft-fp/trunctfxf2.c: Likewise.
10500 * soft-fp/unorddf2.c: Likewise.
10501 * soft-fp/unordsf2.c: Likewise.
10502 * soft-fp/unordtf2.c: Likewise.
10503
105042013-10-15 Joseph Myers <joseph@codesourcery.com>
10505
10506 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10507 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10508
105092013-10-15 Ondřej Bílka <neleai@seznam.cz>
10510
10511 * elf/dl-libc.c: Clear initfini list after freeing.
10512
105132013-10-14 Joseph Myers <joseph@codesourcery.com>
10514
10515 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10516 * soft-fp/addsf3.c: Likewise.
10517 * soft-fp/addtf3.c: Likewise.
10518 * soft-fp/divdf3.c: Likewise.
10519 * soft-fp/divsf3.c: Likewise.
10520 * soft-fp/divtf3.c: Likewise.
10521 * soft-fp/double.h: Likewise.
10522 * soft-fp/eqdf2.c: Likewise.
10523 * soft-fp/eqsf2.c: Likewise.
10524 * soft-fp/eqtf2.c: Likewise.
10525 * soft-fp/extenddftf2.c: Likewise.
10526 * soft-fp/extended.h: Likewise.
10527 * soft-fp/extendsfdf2.c: Likewise.
10528 * soft-fp/extendsftf2.c: Likewise.
10529 * soft-fp/extendxftf2.c: Likewise.
10530 * soft-fp/fixdfdi.c: Likewise.
10531 * soft-fp/fixdfsi.c: Likewise.
10532 * soft-fp/fixdfti.c: Likewise.
10533 * soft-fp/fixsfdi.c: Likewise.
10534 * soft-fp/fixsfsi.c: Likewise.
10535 * soft-fp/fixsfti.c: Likewise.
10536 * soft-fp/fixtfdi.c: Likewise.
10537 * soft-fp/fixtfsi.c: Likewise.
10538 * soft-fp/fixtfti.c: Likewise.
10539 * soft-fp/fixunsdfdi.c: Likewise.
10540 * soft-fp/fixunsdfsi.c: Likewise.
10541 * soft-fp/fixunsdfti.c: Likewise.
10542 * soft-fp/fixunssfdi.c: Likewise.
10543 * soft-fp/fixunssfsi.c: Likewise.
10544 * soft-fp/fixunssfti.c: Likewise.
10545 * soft-fp/fixunstfdi.c: Likewise.
10546 * soft-fp/fixunstfsi.c: Likewise.
10547 * soft-fp/fixunstfti.c: Likewise.
10548 * soft-fp/floatdidf.c: Likewise.
10549 * soft-fp/floatdisf.c: Likewise.
10550 * soft-fp/floatditf.c: Likewise.
10551 * soft-fp/floatsidf.c: Likewise.
10552 * soft-fp/floatsisf.c: Likewise.
10553 * soft-fp/floatsitf.c: Likewise.
10554 * soft-fp/floattidf.c: Likewise.
10555 * soft-fp/floattisf.c: Likewise.
10556 * soft-fp/floattitf.c: Likewise.
10557 * soft-fp/floatundidf.c: Likewise.
10558 * soft-fp/floatundisf.c: Likewise.
10559 * soft-fp/floatunsidf.c: Likewise.
10560 * soft-fp/floatunsisf.c: Likewise.
10561 * soft-fp/floatuntidf.c: Likewise.
10562 * soft-fp/floatuntisf.c: Likewise.
10563 * soft-fp/floatuntitf.c: Likewise.
10564 * soft-fp/fmadf4.c: Likewise.
10565 * soft-fp/fmasf4.c: Likewise.
10566 * soft-fp/fmatf4.c: Likewise.
10567 * soft-fp/gedf2.c: Likewise.
10568 * soft-fp/gesf2.c: Likewise.
10569 * soft-fp/getf2.c: Likewise.
10570 * soft-fp/ledf2.c: Likewise.
10571 * soft-fp/lesf2.c: Likewise.
10572 * soft-fp/letf2.c: Likewise.
10573 * soft-fp/muldf3.c: Likewise.
10574 * soft-fp/mulsf3.c: Likewise.
10575 * soft-fp/multf3.c: Likewise.
10576 * soft-fp/negdf2.c: Likewise.
10577 * soft-fp/negsf2.c: Likewise.
10578 * soft-fp/negtf2.c: Likewise.
10579 * soft-fp/op-1.h: Likewise.
10580 * soft-fp/op-2.h: Likewise.
10581 * soft-fp/op-4.h: Likewise.
10582 * soft-fp/op-8.h: Likewise.
10583 * soft-fp/op-common.h: Likewise.
10584 * soft-fp/quad.h: Likewise.
10585 * soft-fp/single.h: Likewise.
10586 * soft-fp/soft-fp.h: Likewise.
10587 * soft-fp/sqrtdf2.c: Likewise.
10588 * soft-fp/sqrtsf2.c: Likewise.
10589 * soft-fp/sqrttf2.c: Likewise.
10590 * soft-fp/subdf3.c: Likewise.
10591 * soft-fp/subsf3.c: Likewise.
10592 * soft-fp/subtf3.c: Likewise.
10593 * soft-fp/truncdfsf2.c: Likewise.
10594 * soft-fp/trunctfdf2.c: Likewise.
10595 * soft-fp/trunctfsf2.c: Likewise.
10596 * soft-fp/trunctfxf2.c: Likewise.
10597 * soft-fp/unorddf2.c: Likewise.
10598 * soft-fp/unordsf2.c: Likewise.
10599 * soft-fp/unordtf2.c: Likewise.
10600
106012013-10-14 Ondřej Bílka <neleai@seznam.cz>
10602
10603 [BZ #15672]
10604 * misc/error.c (error_tail): Fix possible buffer overflow.
10605
106062013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10607
10608 [BZ #13028]
10609 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10610 address.
10611
106122013-10-14 P. J. McDermott <pj@pehjota.net>
10613
10614 [BZ #832]
10615 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10616 testing pipefail option.
10617
106182013-10-12 Joseph Myers <joseph@codesourcery.com>
10619
10620 * soft-fp/double.h: Indent preprocessor directives inside #if.
10621 * soft-fp/extended.h: Likewise.
10622 * soft-fp/op-2.h: Likewise.
10623 * soft-fp/op-4.h: Likewise.
10624 * soft-fp/op-common.h: Likewise.
10625 * soft-fp/quad.h: Likewise.
10626 * soft-fp/single.h: Likewise.
10627 * soft-fp/soft-fp.h: Likewise.
10628
106292013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10630
10631 * iconv/iconv_prog.c: Fix typos.
10632 * stdio-common/psiginfo-data.h: Likewise.
10633
106342013-10-12 Reuben Thomas <rrt@sc3d.org>
10635
10636 [BZ #15764]
10637 * locale/setlocale.c: Fix typo.
10638
106392013-10-12 Joseph Myers <joseph@codesourcery.com>
10640
10641 [BZ #16036]
10642 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10643 signaling NaN arguments.
10644 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10645 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10646
10647 [BZ #14910]
10648 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10649 unordered operands.
10650 * soft-fp/gesf2.c (__gesf2): Likewise.
10651 * soft-fp/getf2.c (__getf2): Likewise.
10652 * soft-fp/ledf2.c (__ledf2): Likewise.
10653 * soft-fp/lesf2.c (__lesf2): Likewise.
10654 * soft-fp/letf2.c (__letf2): Likewise.
10655
10656 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10657 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10658 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10659 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10660 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10661 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10662 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10663 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10664 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10665 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10666 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10667 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10668 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10669 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10670 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10671 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10672 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10673 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10674 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10675 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10676 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10677 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10678 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10679 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10680 * soft-fp/floattidf.c (__floattidf): Likewise.
10681 * soft-fp/floattisf.c (__floattisf): Likewise.
10682 * soft-fp/floattitf.c (__floattitf): Likewise.
10683 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10684 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10685 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10686 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10687 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10688 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10689 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10690 * soft-fp/gesf2.c (__gesf2): Likewise.
10691 * soft-fp/getf2.c (__getf2): Likewise.
10692 * soft-fp/ledf2.c (__ledf2): Likewise.
10693 * soft-fp/lesf2.c (__lesf2): Likewise.
10694 * soft-fp/letf2.c (__letf2): Likewise.
10695
10696 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10697 Undefine and redefine.
10698 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10699 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10700 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10701 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10702 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10703 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10704 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10705 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10706 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10707 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10708 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10709 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10710 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10711 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10712 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10713
10714 [BZ #16032]
10715 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10716 without decrementing exponent if mantissa >= that for the
10717 denominator, not >.
10718 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10719 denominator, not >. Decrement exponent in < case instead of
10720 incrementing in >= case.
10721 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10722 without decrementing exponent if mantissa >= that for the
10723 denominator, not >.
10724
10725 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10726 computing saturated result for unsigned overflow.
10727
107282013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10729 Jeff Law <law@redhat.com>
10730
10731 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10732 (atan2Mp): Add systemtap probe marker.
10733 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10734 (__ieee754_log): Add systemtap probe marker.
10735 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10736 (atanMp): Add systemtap probe marker.
10737 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10738 (tanMp): Add systemtap probe marker.
10739 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10740 (__slowexp): Add systemtap probe marker.
10741 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10742 (__slowpow): Add systemtap probe marker.
10743 * manual/probes.texi: Document probes.
10744
107452013-10-11 Eric Biggers <ebiggers3@gmail.com>
10746
10747 [BZ #15362]
10748 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10749 written.
10750 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10751 written.
10752 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10753 written to buffer but not flushed.
10754 * libio/iofwrite_u.c: Likewise.
10755 * libio/iopadn.c: Return bytes returned even if EOF was
10756 encountered.
10757 * libio/iowpadn.c: Likewise.
10758 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10759 if _IO_padn does not write the whole buffer.
10760 [!COMPILE_WPRINTF] (PAD): Likewise.
10761
107622013-10-10 David S. Miller <davem@davemloft.net>
10763
10764 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10765 directory block.
10766
107672013-10-10 Joseph Myers <joseph@codesourcery.com>
10768
10769 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10770 instead of FSF address.
10771 * soft-fp/fixdfti.c: Likewise.
10772 * soft-fp/fixsfti.c: Likewise.
10773 * soft-fp/fixtfti.c: Likewise.
10774 * soft-fp/fixunsdfti.c: Likewise.
10775 * soft-fp/fixunssfti.c: Likewise.
10776 * soft-fp/fixunstfti.c: Likewise.
10777 * soft-fp/floattidf.c: Likewise.
10778 * soft-fp/floattisf.c: Likewise.
10779 * soft-fp/floattitf.c: Likewise.
10780 * soft-fp/floatuntidf.c: Likewise.
10781 * soft-fp/floatuntisf.c: Likewise.
10782 * soft-fp/floatuntitf.c: Likewise.
10783 * soft-fp/trunctfxf2.c: Likewise.
10784
10785 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10786 * soft-fp/fixdfti.c: Likewise.
10787 * soft-fp/fixsfti.c: Likewise.
10788 * soft-fp/fixtfti.c: Likewise.
10789 * soft-fp/fixunsdfti.c: Likewise.
10790 * soft-fp/fixunssfti.c: Likewise.
10791 * soft-fp/fixunstfti.c: Likewise.
10792 * soft-fp/floattidf.c: Likewise.
10793 * soft-fp/floattisf.c: Likewise.
10794 * soft-fp/floattitf.c: Likewise.
10795 * soft-fp/floatuntidf.c: Likewise.
10796 * soft-fp/floatuntisf.c: Likewise.
10797 * soft-fp/floatuntitf.c: Likewise.
10798 * soft-fp/trunctfxf2.c: Likewise.
10799
108002013-10-10 David S. Miller <davem@davemloft.net>
10801
10802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10803
108042013-10-10 Joseph Myers <joseph@codsourcery.com>
10805
10806 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10807 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10808 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10809 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10810 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10811 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10812 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10813
10814 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10815 for NaNs before doing comparisons on argument.
10816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10817 Likewise.
10818
108192013-10-10 Will Newton <will.newton@linaro.org>
10820
10821 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10822 passed to _int_memalign does not overflow.
10823
108242013-10-10 Torvald Riegel <triegel@redhat.com>
10825
10826 * scripts/bench.pl: Add include-sources directive.
10827 * benchtests/README: Update documentation.
10828
108292013-10-10 Joseph Myers <joseph@codesourcery.com>
10830
10831 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10832 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10833 instead of FP_INIT_ROUNDMODE.
10834 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10835 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10836
10837 [BZ #16034]
10838 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10839 copy class of input value.
10840 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10841 not handle exceptions.
10842 * soft-fp/negsf2.c (__negsf2): Likewise.
10843 * soft-fp/negtf2.c (__negtf2): Likewise.
10844 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10845
108462013-10-09 Joseph Myers <joseph@codesourcery.com>
10847
10848 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10849 semicolon. From Linux kernel.
10850
108512013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10852
10853 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10854
108552013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10856
10857 [BZ #156]
10858 * manual/socket.texi: Added statement about buffer
10859 for gethostbyname2_r.
10860
108612013-10-08 Ondřej Bílka <neleai@seznam.cz>
10862
10863 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10864 Use .p2align directive instead, throughout.
10865 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10866 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10867 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10868 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10869 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10870 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10871 * sysdeps/x86_64/strchr.S: Likewise.
10872 * sysdeps/x86_64/strrchr.S: Likewise.
10873
108742013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10875
10876 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10877
10878 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10879
10880 * sysdeps/generic/math_private.h (__mpsin1): Remove
10881 declaration.
10882 (__mpcos1): Likewise.
10883 (__mpsin): New argument __range_reduce.
10884 (__mpcos): Likewise.
10885 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10886 (slow): Use __mpsin and __mpcos.
10887 (slow1): Likewise.
10888 (slow2): Likewise.
10889 (sloww): Likewise.
10890 (sloww1): Likewise.
10891 (sloww2): Likewise.
10892 (bsloww): Likewise.
10893 (bsloww1): Likewise.
10894 (bsloww2): Likewise.
10895 (cslow2): Likewise.
10896 (csloww): Likewise.
10897 (csloww1): Likewise.
10898 (csloww2): Likewise.
10899 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10900 range_reduce. Merge in __mpsin1.
10901 (__mpcos): Likewise.
10902 (__mpsin1): Remove.
10903 (__mpcos1): Likewise.
10904
109052013-10-07 Joseph Myers <joseph@codesourcery.com>
10906
10907 * locale/loadlocale.c (_nl_intern_locale_data): Use
10908 LOCFILE_ALIGNED_P.
10909 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10910 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10911 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10912 obstack data is appropriately aligned.
10913 (obstack_int32_grow_fast): Likewise.
10914 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10915 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10916 (add_locale_uint32_array): Likewise.
10917
109182013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10919
10920 * benchtests/Makefile: Remove ARGLIST and RET variables.
10921 ($(objpfx)bench-%.c): Pass only function name to the script.
10922 * benchtests/README: Update documentation.
10923 * benchtests/acos-inputs: Add new directives.
10924 * benchtests/acosh-inputs: Likewise.
10925 * benchtests/asin-inputs: Likewise.
10926 * benchtests/asinh-inputs: Likewise.
10927 * benchtests/atan-inputs: Likewise.
10928 * benchtests/atanh-inputs: Likewise.
10929 * benchtests/cos-inputs: Likewise.
10930 * benchtests/cosh-inputs: Likewise.
10931 * benchtests/exp-inputs: Likewise.
10932 * benchtests/log-inputs: Likewise.
10933 * benchtests/pow-inputs: Likewise.
10934 * benchtests/rint-inputs: Likewise.
10935 * benchtests/sin-inputs: Likewise.
10936 * benchtests/sinh-inputs: Likewise.
10937 * benchtests/tan-inputs: Likewise.
10938 * benchtests/tanh-inputs: Likewise.
10939 * scripts/bench.pl: Add support for new directives.
10940
109412013-10-07 Alan Modra <amodra@gmail.com>
10942
10943 * README: Fix careless merge.
10944
109452013-10-05 Alan Modra <amodra@gmail.com>
10946
10947 * NEWS: Mention powerpc64le support and bugs fixed.
10948 * README: Both big-endian and little-endian powerpc64 supported.
10949
109502013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10951
10952 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10953 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10954 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10955 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10956
109572013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10958
10959 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10960 match prototype.
10961
109622013-10-04 Joseph Myers <joseph@codesourcery.com>
10963
10964 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10965 Move -mhard-float appending from
10966 ports/sysdeps/powerpc/powerpc32/Makefile.
10967 [$(with-fp) = yes] (ASFLAGS): Likewise.
10968 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10969 * sysdeps/powerpc/nofpu: Move directory from
10970 ports/sysdeps/powerpc/nofpu.
10971 * sysdeps/powerpc/soft-fp: Move directory from
10972 ports/sysdeps/powerpc/soft-fp.
10973 * sysdeps/powerpc/powerpc32/405: Move directory from
10974 ports/sysdeps/powerpc/powerpc32/405.
10975 * sysdeps/powerpc/powerpc32/440: Move directory from
10976 ports/sysdeps/powerpc/powerpc32/440.
10977 * sysdeps/powerpc/powerpc32/464: Move directory from
10978 ports/sysdeps/powerpc/powerpc32/464.
10979 * sysdeps/powerpc/powerpc32/476: Move directory from
10980 ports/sysdeps/powerpc/powerpc32/476.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10982 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10984 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10986 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10988 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10990 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10991 * README: Update for powerpc-*-linux-gnu software floating point
10992 support in libc.
10993
10994 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10995 case to powerpc/powerpc32*.
10996 * sysdeps/unix/sysv/linux/configure: Regenerated.
10997
10998 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10999 (_FPU_MASK_OM): Define as 0x04.
11000 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11001 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11002 0x00c10080.
11003 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11004 0x0000003c.
11005 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11006
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11008 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11009 getcontext_e500.
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11011 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11012 setcontext_e500.
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11014 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11015 and setcontext_e500.
11016
110172013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11018
11019 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11020
110212013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11022
11023 * manual/threads.texi (Default Thread Attributes): Fix typo.
11024
110252013-10-04 Will Newton <will.newton@linaro.org>
11026
11027 * malloc/Makefile: Add tst-memalign.
11028 * malloc/tst-memalign.c: New file.
11029
11030 * malloc/tst-posix_memalign.c: Add comments.
11031 (do_test): Add comments and call free on all potentially
11032 allocated pointers. Add space after cast.
11033
11034 * malloc/tst-pvalloc.c: Add comments.
11035 (do_test): Add comments and call free on all potentially
11036 allocated pointers. Remove duplicate check for NULL pointer.
11037 Add space after cast.
11038
11039 * malloc/tst-valloc.c: Add comments.
11040 (do_test): Add comments and call free on all potentially
11041 allocated pointers. Remove duplicate check for NULL pointer.
11042 Add space after cast.
11043
110442013-10-04 Alan Modra <amodra@gmail.com>
11045
11046 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11047 Use stdint types in rather than __attribute__((mode())).
11048 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11049
110502013-10-04 Alan Modra <amodra@gmail.com>
11051
11052 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11053 Correct handling of unaligned relocs for little-endian.
11054 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11055
110562013-10-04 Alan Modra <amodra@gmail.com>
11057
11058 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11059 * configure: Regenerate.
11060 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11061 * shlib-versions: Likewise.
11062
110632013-10-04 Alan Modra <amodra@gmail.com>
11064
11065 * string/tester.c (test_memrchr): Increment reported test cycle.
11066
110672013-10-04 Alan Modra <amodra@gmail.com>
11068
11069 * string/test-memcpy.c (do_one_test): When reporting errors, print
11070 string address and don't overrun end of string.
11071
110722013-10-04 Alan Modra <amodra@gmail.com>
11073
11074 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11075 insrdi. Make better use of reg selection to speed exit slightly.
11076 Schedule entry path a little better. Remove useless "are we done"
11077 checks on entry to main loop. Handle wrapping around zero address.
11078 Correct main loop count. Handle single left-over word from main
11079 loop inline rather than by using loop_small. Remove extra word
11080 case in loop_small caused by wrong loop count. Add little-endian
11081 support.
11082 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11083 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11084 cache hint.
11085 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11086 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11087 support. Avoid rlwimi.
11088 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11089
110902013-10-04 Alan Modra <amodra@gmail.com>
11091
11092 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11093 insrdi. Formatting.
11094 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11095 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11096 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11097 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11098 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11099 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11100
111012013-10-04 Alan Modra <amodra@gmail.com>
11102
11103 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11104 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11105 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11106 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11107 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11108 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11109 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11110 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11111 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11112 use of regs. Use power7 mtocrf. Tidy function tails.
11113
111142013-10-04 Alan Modra <amodra@gmail.com>
11115
11116 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11117 Formatting. Consistently use rXXX register defines or rN defines.
11118 Use early exit labels that avoid restoring unused non-volatile regs.
11119 Make cr field use more consistent with rWORDn compares. Rename
11120 regs used as shift registers for unaligned loop, using rN defines
11121 for short lifetime/multiple use regs.
11122 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11123 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11124 addi 1,1,64 to pop stack frame. Simplify return value code.
11125 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11126
111272013-10-04 Alan Modra <amodra@gmail.com>
11128
11129 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11130 support. Correct typos, formatting. Optimize tail. Use insrdi
11131 rather than rlwimi.
11132 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11133 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11134 little-endian support. Correct typos.
11135 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11136 rather than rlwimi.
11137 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11138 in loop and entry code to keep "and." results.
11139 (strchr): Add little-endian support. Comment. Move cntlzd
11140 earlier in tail.
11141 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11142
111432013-10-04 Alan Modra <amodra@gmail.com>
11144
11145 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11146 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11147 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11148 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11149
111502013-10-04 Alan Modra <amodra@gmail.com>
11151
11152 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11153 (rTMP): Define as r11.
11154 (strcmp): Add little-endian support. Optimise tail.
11155 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11156 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11157 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11158 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11159 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11160 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11161 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11162
111632013-10-04 Alan Modra <amodra@gmail.com>
11164
11165 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11166 little-endian support. Remove unnecessary "are we done" tests.
11167 Handle "s" wrapping around zero and extremely large "size".
11168 Correct main loop count. Handle single left-over word from main
11169 loop inline rather than by using small_loop. Correct comments.
11170 Delete "zero" tail, use "end_max" instead.
11171 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11172
111732013-10-04 Alan Modra <amodra@gmail.com>
11174
11175 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11176 support. Don't branch over align.
11177 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11178 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11179 support. Rearrange tmp reg use to suit. Comment.
11180 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11181
111822013-10-04 Alan Modra <amodra@gmail.com>
11183
11184 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11185
111862013-10-04 Alan Modra <amodra@gmail.com>
11187
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11189 conditional form of branch and link when obtaining pc.
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11191
111922013-10-04 Alan Modra <amodra@gmail.com>
11193
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11195 HIWORD/LOWORD.
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11198
111992013-10-04 Alan Modra <amodra@gmail.com>
11200
11201 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11202 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11203 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11204 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11205 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11206 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11207 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11208 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11209 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11210 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11211
112122013-10-04 Anton Blanchard <anton@au1.ibm.com>
11213 Alistair Popple <alistair@ozlabs.au.ibm.com>
11214 Alan Modra <amodra@gmail.com>
11215
11216 [BZ #15723]
11217 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11218 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11219 _dl_hwcap access for little-endian.
11220 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11221 destroy vmx regs when saving unaligned.
11222 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11223 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11224 destroy vmx regs when saving unaligned.
11225
112262013-10-04 Alan Modra <amodra@gmail.com>
11227
11228 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11229 Don't use a union to pack hi/low value.
11230
112312013-10-04 Anton Blanchard <anton@au1.ibm.com>
11232
11233 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11234 for little-endian.
11235 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11236 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11237 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11238 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11239 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11240
112412013-10-04 Alan Modra <amodra@gmail.com>
11242
11243 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11244 constants to usual value for .cst8 section, and remove redundant
11245 high address load.
11246 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11247 constant for 0x1p52. Load little-endian words of double from
11248 correct stack offsets.
11249
112502013-10-04 Alan Modra <amodra@gmail.com>
11251
11252 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11253 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11254 words of double from correct stack offsets.
11255 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11256 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11257 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11258 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11259 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11260 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11261 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11262 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11263 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11264 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11265 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11266 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11267 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11268 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11269 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11270 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11271 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11272
112732013-10-04 Alan Modra <amodra@gmail.com>
11274
11275 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11276 64-bit int/double union.
11277 (_FPU_SETCW): Likewise.
11278 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11279 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11280
112812013-10-04 Alan Modra <amodra@gmail.com>
11282
11283 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11284 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11285
112862013-10-04 Alan Modra <amodra@gmail.com>
11287
11288 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11289 use vector int constants.
11290 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11291
112922013-10-04 Anton Blanchard <anton@au1.ibm.com>
11293
11294 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11295 array with long long.
11296 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11297 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11298 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11299 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11300 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11301 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11302 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11303 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11304 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11305 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11306 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11307 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11308 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11309
113102013-10-04 Anton Blanchard <anton@au1.ibm.com>
11311
11312 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11313 (__signbit): Likewise. Correct for little-endian.
11314 (__signbitl): Call __signbit.
11315 (lrint): Correct for little-endian.
11316 (lrintf): Call lrint.
11317
113182013-10-04 Alan Modra <amodra@gmail.com>
11319
11320 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11321 union 32-bit int array member with 64-bit int array.
11322 (t515, tm256): Double rather than long double.
11323 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11324
113252013-10-04 Alan Modra <amodra@gmail.com>
11326
11327 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11328 Delete.
11329 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11330 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11331 version of math_ldbl.h.
11332
113332013-10-04 Alan Modra <amodra@gmail.com>
11334
11335 [BZ #15734], [BZ #15735]
11336 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11337 all uses of ieee875 long double macros and unions. Simplify test
11338 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11339 ldbl_extract_mantissa value for ix,iy exponents. Properly
11340 normalize after ldbl_extract_mantissa, and don't add hidden bit
11341 already handled. Don't treat low word of ieee854 mantissa like
11342 low word of IBM long double and mask off bit when testing for
11343 zero.
11344 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11345 all uses of ieee875 long double macros and unions. Simplify tests
11346 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11347 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11348 two1022, instead use their values. Recognise that tests for large
11349 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11350 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11351 Rewrite all uses of ieee875 long double macros and unions. Simplify
11352 test for 0.0L and nan. Correct negation.
11353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11354 ieee875 long double macros and unions. Correct output for large
11355 magnitude x. Correct absolute value calculation.
11356 (__erfcl): Likewise.
11357 * math/libm-test.inc: Add tests for errors discovered in IBM long
11358 double versions of fmodl, remainderl, erfl and erfcl.
11359
113602013-10-04 Alan Modra <amodra@gmail.com>
11361
11362 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11363 all uses of ieee854 long double macros and unions. Simplify tests
11364 for long doubles that are fully specified by the high double.
11365 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11366 Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11368 Remove dead code too.
11369 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11370 (__ieee754_ynl): Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11374 Remove dead code too.
11375 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11376 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11377 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11378 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11379 Simplify.
11380 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11381 Simplify.
11382 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11383 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11384 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11385 Comment on variable precision.
11386 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11387 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11388 Likewise.
11389 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11390 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11391 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11392 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11393 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11394
113952013-10-04 Alan Modra <amodra@gmail.com>
11396
11397 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11398 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11399 all uses of ieee854 long double macros and unions.
11400 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11401 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11402 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11403 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11404 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11405 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11406 Likewise.
11407 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11408 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11409 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11410 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11411 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11412 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11413 Simplify sign and nan test too.
11414 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11415 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11416 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11417 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11418 Likewise.
11419 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11420 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11421 Likewise.
11422 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11423 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11424 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11425 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11426 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11427 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11428
114292013-10-04 Alan Modra <amodra@gmail.com>
11430
11431 * stdio-common/printf_size.c (__printf_size): Don't use
11432 union ieee854_long_double in fpnum union.
11433 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11434 signbit macro to retrieve sign from long double.
11435 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11436 retrieve sign from long double.
11437 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11438 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11439 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11440 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11441 * math/test-misc.c (main): Don't use union ieee854_long_double.
11442
114432013-10-04 Alan Modra <amodra@gmail.com>
11444
11445 [BZ #15680]
11446 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11447 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11448 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11449 calculation. Remove unnecessary test for denormal exponent.
11450 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11451 Correct handling of denormals. Avoid undefined shift behaviour.
11452 Correct normalisation of low mantissa when low double is denormal.
11453 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11454 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11455 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11456 Correct normalisation of low mantissa. Test for overflow of high
11457 mantissa and normalise.
11458 (ldbl_nearbyint): Use more readable constant for two52.
11459 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11460 (__mpn_construct_long_double): Fix test for overflow of high
11461 mantissa and correct normalisation. Avoid undefined shift.
11462
114632013-10-04 Alan Modra <amodra@gmail.com>
11464
11465 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11466 (union ibm_extended_long_double): Define as an array of ieee754_double.
11467 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11468 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11469 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11470 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11471 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11472 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11473 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11474 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11475 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11476 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11477 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11478
114792013-10-03 Joseph Myers <joseph@codesourcery.com>
11480
11481 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11482 page size instead of calling getpagesize.
11483
11484 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11485 (LOCFILE_ALIGN_MASK): Likewise.
11486 (LOCFILE_ALIGN_UP): Likewise.
11487 (LOCFILE_ALIGNED_P): Likewise.
11488 * locale/programs/ld-collate.c (collate_output): Use the new
11489 macros instead of __alignof__ (int32_t).
11490 * locale/weight.h (findidx): Likewise.
11491
114922013-10-03 Ondřej Bílka <neleai@seznam.cz>
11493
11494 [BZ #431]
11495 * manual/string.texi: Fix strncat and wcsncat.
11496
114972013-10-03 Brooks Moses <bmoses@google.com>
11498
11499 [BZ #15915]
11500 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11501 * Makerules: ...here, and adjust associated comments.
11502
115032013-10-02 Will Newton <will.newton@linaro.org>
11504
11505 * malloc/Makefile: Add tst-pvalloc.
11506 * malloc/tst-pvalloc.c: New file.
11507
115082013-10-02 Will Newton <will.newton@linaro.org>
11509
11510 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11511 improve test coverage.
11512
115132013-10-02 Will Newton <will.newton@linaro.org>
11514
11515 * malloc/Makefile: Add tst-posix_memalign.
11516 * malloc/tst-posix_memalign.c: New file.
11517
115182013-10-01 Eric Blake <eblake@redhat.com>
11519
11520 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11521 Use __THROWNL rather than __THROW on static functions.
11522
115232013-09-30 Petr Machata <pmachata@redhat.com>
11524
11525 * elf/elf.h (R_AARCH64_ABS16): New macro.
11526 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11527 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11528 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11529 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11530 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11531 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11532 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11533 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11534 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11535 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11536 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11537 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11538 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11539 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11540 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11541 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11542 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11543 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11544 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11545 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11546 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11547 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11548 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11549 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11550 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11551 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11552 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11553 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11554 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11555 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11556 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11557 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11558 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11559 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11560 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11561 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11562 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11563 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11564 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11565 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11566 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11567 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11568 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11569 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11570 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11571 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11572 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11573 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11574 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11575 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11576 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11577 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11578 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11579 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11580 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11581 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11582 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11583 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11584 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11585 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11586 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11587 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11588 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11589 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11590 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11591 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11592 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11593 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11594 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11595 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11596 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11597 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11598 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11599 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11600 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11601 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11602 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11603 (R_AARCH64_TLSDESC_LDR): Likewise.
11604 (R_AARCH64_TLSDESC_ADD): Likewise.
11605 (R_AARCH64_TLSDESC_CALL): Likewise.
11606
116072013-09-30 Andreas Schwab <schwab@suse.de>
11608
11609 [BZ #15048]
11610 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11611 the nss database lookup.
11612 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11614
116152013-09-28 Mike Frysinger <vapier@gentoo.org>
11616
11617 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11618
116192013-09-28 P. J. McDermott <pj@pehjota.net>
11620
11621 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11622 ${Bash-specific parameter/pattern/string} parameter expansion.
11623 * sysdeps/unix/make-syscalls.sh: Likewise.
11624
116252013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11626
11627 * sysdeps/sh/stackguard-macros.h: New file.
11628
116292013-09-26 Ondřej Bílka <neleai@seznam.cz>
11630
11631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11633 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11634 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11635 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11636 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11637
116382013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11639
11640 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11641 Fix thread ID register.
11642
116432013-09-25 Joseph Myers <joseph@codesourcery.com>
11644
11645 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11646 [POSIX || UNIX98]: Require rather than permitting all symbols from
11647 <time.h>.
11648 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11649 element of struct sched_param.
11650 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11651 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11652 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11653 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11654 constant.
11655
116562013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11657
11658 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11659 argument calculation.
11660
116612013-09-24 Joseph Myers <joseph@codesourcery.com>
11662
11663 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11664 Expect macro.
11665 [POSIX] (pthread_attr_t): Do not require type.
11666 [POSIX] (pthread_cond_t): Likewise.
11667 [POSIX] (pthread_condattr_t): Likewise.
11668 [POSIX] (pthread_key_t): Likewise.
11669 [POSIX] (pthread_mutex_t): Likewise.
11670 [POSIX] (pthread_mutexattr_t): Likewise.
11671 [POSIX] (pthread_once_t): Likewise.
11672 [POSIX] (pthread_t): Likewise.
11673 [POSIX-based standards] (pthread_atfork): Expect function.
11674
116752013-09-24 Joseph Myers <joseph@codesourcery.com>
11676 Richard Sandiford <richard@codesourcery.com>
11677
11678 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11679 (swap_endianness_p): New extern variable.
11680 (set_big_endian): New inline function.
11681 (maybe_swap_uint32): Likewise.
11682 (maybe_swap_uint32_array): Likewise.
11683 (maybe_swap_uint32_obstack): Likewise.
11684 * locale/programs/locfile.c: Include <stdbool.h>.
11685 (swap_endianness_p): New variable.
11686 (add_locale_uint32): Call maybe_swap_uint32.
11687 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11688 (write_locale_data): Call maybe_swap_uint32_array.
11689 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11690 maybe_swap_uint32.
11691 (obstack_int32_grow_fast): Likewise.
11692 (output_weightwc): Call maybe_swap_uint32_obstack.
11693 (collate_output): Likewise.
11694 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11695 (OPT_LITTLE_ENDIAN): Likewise.
11696 (options): Add --little-endian and --big-endian options.
11697 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11698 * locale/programs/locarchive.c: Include "locfile.h".
11699 (GET): New macro.
11700 (SET): Likewise.
11701 (INC): Likewise.
11702 (create_archive): Use the new macros to access fields of
11703 structures directly mapped from or written to locale archives.
11704 (oldlocrecentcmp): Likewise.
11705 (enlarge_archive): Likewise.
11706 (insert_name): Likewise.
11707 (add_alias): Likewise.
11708 (add_locale): Likewise.
11709 (delete_locales_from_archive): Likewise.
11710 (show_archive_content): Likewise.
11711 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11712 locale data.
11713
117142013-09-24 Roland McGrath <roland@hack.frob.com>
11715
11716 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11717 http://www.gnu.org/doc/freemanuals.texi.
11718 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11719
117202013-09-24 Will Newton <will.newton@linaro.org>
11721
11722 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11723 macro.
11724
117252013-09-23 Joseph Myers <joseph@codesourcery.com>
11726
11727 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11728 unsigned char.
11729
117302013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11731
11732 * manual/threads.texi (POSIX Threads): Fix a typo.
11733
117342013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11735
11736 [BZ #14547]
11737 * string/tst-strcoll-overflow.c: New test case.
11738 * string/Makefile (xtests): Add tst-strcoll-overflow.
11739 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11740 cache if string sizes may cause integer overflow.
11741
11742 [BZ #14547]
11743 * string/strcoll_l.c (coll_seq): New members rule, idx,
11744 save_idx and back_us.
11745 (get_next_seq_nocache): New function.
11746 (do_compare_nocache): New function.
11747 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11748 when malloc fails.
11749
117502013-09-23 Carlos O'Donell <carlos@redhat.com>
11751
11752 [BZ #15754]
11753 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11754 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11755 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11756
11757 [BZ #15754]
11758 * elf/Makefile (tests): Add tst-ptrguard1.
11759 (tests-static): Add tst-ptrguard1-static.
11760 (tst-ptrguard1-ARGS): Define.
11761 (tst-ptrguard1-static-ARGS): Define.
11762 * elf/tst-ptrguard1.c: New file.
11763 * elf/tst-ptrguard1-static.c: New file.
11764 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11765 * sysdeps/i386/stackguard-macros.h: Likewise.
11766 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11767 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11768 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11769 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11770 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11771 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11772
117732013-09-23 Hector Marco <hecmargi@upv.es>
11774 Ismael Ripoll <iripoll@disca.upv.es>
11775 Carlos O'Donell <carlos@redhat.com>
11776
11777 [BZ #15754]
11778 * sysdeps/generic/stackguard-macros.h: Define
11779 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11780 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11781 Define __pointer_chk_guard_local.
11782 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11783 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11784
117852013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11786
11787 [BZ #15859]
11788 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11789
117902013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11791
11792 * include/string.h (__ffs): Declare as hidden.
11793 * string/ffs.c (__ffs): Define as hidden.
11794 * sysdeps/i386/ffs.c (__ffs): Likewise.
11795 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11796 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11797 * sysdeps/s390/ffs.c (__ffs): Likewise.
11798 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11799
118002013-09-20 Alexandre Oliva <aoliva@redhat.com>
11801
11802 * NEWS: Mention malloc probes.
11803
11804 * malloc/arena.c (new_heap): New memory_heap_new probe.
11805 (grow_heap): New memory_heap_more probe.
11806 (shrink_heap): New memory_heap_less probe.
11807 (heap_trim): New memory_heap_free probe.
11808 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11809 (systrim): New memory_sbrk_less probe.
11810 * manual/probes.texi: Document them.
11811
11812 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11813 * manual/probes.texi: Document it.
11814
11815 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11816 (__libc_realloc): Add memory_realloc_retry probe.
11817 (__libc_memalign): Add memory_memalign_retry probe.
11818 (__libc_valloc): Add memory_valloc_retry probe.
11819 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11820 (__libc_calloc): Add memory_calloc_retry probe.
11821 * manual/probes.texi: Document them.
11822
11823 * malloc/arena.c (get_free_list): Add probe
11824 memory_arena_reuse_free_list.
11825 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11826 and memory_arena_reuse.
11827 (arena_get2) [!PER_THREAD]: Likewise.
11828 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11829 memory_arena_reuse_realloc.
11830 * manual/probes.texi: Document them.
11831
11832 * malloc/malloc.c (__libc_free): Add
11833 memory_mallopt_free_dyn_thresholds probe.
11834 (__libc_mallopt): Add multiple memory_mallopt probes.
11835 * manual/probes.texi: Document them.
11836
11837 * malloc/malloc.c: Include stap-probe.h.
11838 (__libc_mallopt): Add memory_mallopt probe.
11839 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11840 * manual/probes.texi: New.
11841 * manual/Makefile (chapters): Add probes.
11842 * manual/threads.texi: Set next node.
11843
118442013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
11845
11846 [BZ #15963, #13985]
11847 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11848 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11849 Add `Chinese' to `nan' entry name.
11850
118512013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11852
11853 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11854 (POLYNOMIAL): Likewise.
11855 (TAYLOR_SINCOS): Likewise.
11856 (TAYLOR_SLOW): Likewise.
11857 (__sin): Use TAYLOR_SINCOS.
11858 (__cos): Likewise.
11859 (slow): Use TAYLOR_SLOW.
11860 (sloww): Likewise.
11861 (bsloww): Likewise.
11862 (csloww): Likewise.
11863
118642013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11865
11866 * stdlib/strtod_l.c: Fix buffer overrun.
11867
118682013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11869
11870 * benchtests/Makefile (bench): Add sincos.
11871 * benchtests/bench-sincos.c: New file.
11872
11873 * math/libm-test.inc (cos_test_data): New test inputs.
11874 (sin_test_data): Likewise.
11875
11876 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11877 macro.
11878 (__sin): Use it.
11879 (__cos): Likewise.
11880 (slow1): Likewise.
11881 (slow2): Likewise.
11882 (sloww1): Likewise.
11883 (sloww2): Likewise.
11884 (bsloww1): Likewise.
11885 (bsloww2): Likewise.
11886 (cslow2): Likewise.
11887 (csloww1): Likewise.
11888 (csloww2): Likewise.
11889
11890 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11891 function.
11892 (__sin): Use it.
11893 (__cos): Likewise.
11894
11895 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11896 gotos.
11897 (__cos): Likewise.
11898
118992013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11900
11901 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11902 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11903 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11904 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11905 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11906 * elf/cache.c (print_entry): Handle the new cache flags.
11907
119082013-09-18 Joseph Myers <joseph@codesourcery.com>
11909 Aldy Hernandez <aldyh@redhat.com>
11910
11911 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11912 Change condition to [_SOFT_FLOAT].
11913 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11914 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11915 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11916 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11917 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11918 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11919 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11920 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11923 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11924 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11925 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11927 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11928 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11929 declaration.
11930
119312013-09-18 Joseph Myers <joseph@codesourcery.com>
11932
11933 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11934 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11935 (__longjmp): Use LOAD_GP to load saved GPRs.
11936 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11937 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11938 (__sigsetjmp): Use SAVE_GP to save GPRs.
11939
11940 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11941 Do not append -msoft-float.
11942 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11943
119442013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11945
11946 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11947
119482013-09-17 Joseph Myers <joseph@codesourcery.com>
11949
11950 [BZ #15966]
11951 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11952 (_FPU_GETCW): Use initial "__" on variable and field names but not
11953 on macro parameter name.
11954 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11955 parentheses around reference to macro parameter.
11956
119572013-09-13 Richard Sandiford <richard@codesourcery.com>
11958
11959 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11960 prototype.
11961 (ctype_startup): Use uint32_t in cast and sizeof for
11962 ctype->charnames.
11963
119642013-09-11 Jia Liu <proljc@gmail.com>
11965
11966 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11967 __daddr_t_defined.
11968 [__FreeBSD__]: Likewise.
11969
119702013-09-11 Ondřej Bílka <neleai@seznam.cz>
11971
11972 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11973 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11974 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11975 (strchr): Remove __strchr_sse42 ifunc selection.
11976 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11977 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11978
119792013-09-11 Will Newton <will.newton@linaro.org>
11980
11981 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11982 parameter to RES. Remove hardcoded 1000 value.
11983 * benchtests/bench-skeleton.c (main): Pass RES parameter
11984 to TIMING_INIT and multiply result by 1000.
11985
119862013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11987
11988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11989
119902013-09-11 Andreas Schwab <schwab@suse.de>
11991
11992 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11993 if not defined.
11994 (O_TMPFILE) [__USE_GNU]: Define.
11995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11996 Define.
11997
119982013-09-11 Will Newton <will.newton@linaro.org>
11999
12000 [BZ #15857]
12001 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12002 does not overflow.
12003
120042013-09-11 Will Newton <will.newton@linaro.org>
12005
12006 [BZ #15856]
12007 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12008 does not overflow.
12009
120102013-09-11 Will Newton <will.newton@linaro.org>
12011
12012 [BZ #15855]
12013 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12014 does not overflow.
12015
120162013-09-10 Ondřej Bílka <neleai@seznam.cz>
12017
12018 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12019 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12020 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12021 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12023
120242013-09-10 Allan McRae <allan@archlinux.org>
12025
12026 [BZ #15748]
12027 * manual/arith.texi (Parsing of Floats): Clarify
12028 cross-reference.
12029
12030 [BZ #15849]
12031 * manual/install.texi (Running make install): Mention
12032 --enable-pt-chown.
12033 * INSTALL: Regenerated.
12034
120352013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12036
12037 * csu/init-first.c (_init): Remove the !SHARED condition around
12038 FPU control word initialization.
12039 * elf/dl-support.c (_dl_fpu_control): New variable.
12040 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12041 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12042 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12043 * math/test-fpucw-static.c: New file.
12044 * math/test-fpucw-ieee.c: New file.
12045 * math/test-fpucw-ieee-static.c: New file.
12046 * math/Makefile (tests): Add `test-fpucw-ieee' and
12047 `$(tests-static)'.
12048 (tests-static): New variable.
12049 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12050 dependency to...
12051 [($(build-shared),yes)]
12052 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12053 ... this.
12054 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12055 New dependency.
12056
120572013-09-09 Allan McRae <allan@archlinux.org>
12058
12059 [BZ #15939]
12060 * manual/string.texi (Collation Functions): Fix typo in
12061 strcoll example.
12062 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12063
12064 [BZ #15893]
12065 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12066
12067 [BZ #15892]
12068 * libio/memstream.c (open_memstream): Fix memory leak.
12069 * libio/wmemstream.c (open_wmemstream): Likewise.
12070
12071 [BZ #15895]
12072 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12073
120742013-09-09 Will Newton <will.newton@linaro.org>
12075
12076 * malloc/Makefile: Add tst-realloc to tests.
12077 * malloc/tst-realloc.c: New file.
12078
120792013-09-09 Allan McRae <allan@archlinux.org>
12080
12081 [BZ #15844]
12082 * COPYING: Update from GNU website to fix FSF address.
12083 * COPYING.LIB: Likewise.
12084
120852013-09-06 David S. Miller <davem@davemloft.net>
12086
12087 * po/zh_TW.po: Update Chinese (traditional) translation from
12088 translation project.
12089
120902013-09-06 Richard Sandiford <richard@codesourcery.com>
12091 Joseph Myers <joseph@codesourcery.com>
12092
12093 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12094 "localeinfo.h".
12095 (obstack_chunk_alloc): New macro.
12096 (obstack_chunk_free): Likewise.
12097 (record_offset): New function.
12098 (init_locale_data): Likewise.
12099 (align_locale_data): Likewise.
12100 (add_locale_empty): Likewise.
12101 (add_locale_raw_data): Likewise.
12102 (add_locale_raw_obstack): Likewise.
12103 (add_locale_string): Likewise.
12104 (add_locale_wstring): Likewise.
12105 (add_locale_uint32): Likewise.
12106 (add_locale_uint32_array): Likewise.
12107 (add_locale_char): Likewise.
12108 (start_locale_structure): Likewise.
12109 (end_locale_structure): Likewise.
12110 (start_locale_prelude): Likewise.
12111 (end_locale_prelude): Likewise.
12112 (write_locale_data): Take locale_file structure rather than an
12113 iovec.
12114 * locale/programs/locfile.h: Include "obstack.h".
12115 (struct locale_file): Change to store locale file contents instead
12116 of header.
12117 (init_locale_data): New prototype.
12118 (align_locale_data): Likewise.
12119 (add_locale_empty): Likewise.
12120 (add_locale_raw_data): Likewise.
12121 (add_locale_raw_obstack): Likewise.
12122 (add_locale_string): Likewise.
12123 (add_locale_wstring): Likewise.
12124 (add_locale_uint32): Likewise.
12125 (add_locale_uint32_array): Likewise.
12126 (add_locale_char): Likewise.
12127 (start_locale_structure): Likewise.
12128 (end_locale_structure): Likewise.
12129 (start_locale_prelude): Likewise.
12130 (end_locale_prelude): Likewise.
12131 (write_locale_data): Update prototype.
12132 * locale/programs/3level.h (struct TABLE): Remove result field.
12133 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12134 Use new locale_file interface.
12135 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12136 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12137 * locale/programs/ld-address.c (address_output): Use new
12138 locale_file interface.
12139 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12140 NO_ADD_LOCALE.
12141 (collate_finish): Don't call collseq_table_finalize.
12142 (collate_output): Use new locale_file interface.
12143 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12144 in file.
12145 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12146 (TABLE): Move defines earlier in file.
12147 (ELEMENT): Likewise.
12148 (DEFAULT): Likewise.
12149 (wctrans_table_add): Move macro and inline function earlier in
12150 file.
12151 (struct wctype_table): Move type earlier in file.
12152 (add_locale_wctype_table): New static prototype.
12153 (struct locale_ctype_t): Use logical types instead of struct iovec
12154 pointers for members.
12155 (ctype_output): Use new locale_file interface.
12156 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12157 new locale_file interface.
12158 (allocate_arrays): Update for use of new locale_file interface.
12159 * locale/programs/ld-identification.c (identification_output): Use
12160 new locale_file interface.
12161 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12162 * locale/programs/ld-messages.c (messages_output): Likewise.
12163 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12164 * locale/programs/ld-name.c (name_output): Likewise.
12165 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12166 * locale/programs/ld-paper.c (paper_output): Likewise.
12167 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12168 * locale/programs/ld-time.c (time_output): Likewise.
12169
121702013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12171
12172 * benchtests/Makefile: Add memrchr benchmark.
12173 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12174 benchmark as memrchr.
12175 * benchtests/bench-memrchr-ifunc.c: New file.
12176 * benchtests/bench-memrchr.c: New file.
12177
121782013-09-06 Will Newton <will.newton@linaro.org>
12179
12180 * benchtests/Makefile (string-bench): Add memcpy.
12181
121822013-09-05 Carlos O'Donell <carlos@redhat.com>
12183 Cong Wang <amwang@redhat.com>
12184
12185 [BZ #15850]
12186 * sysdeps/unix/sysv/linux/bits/in.h
12187 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12188 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12189 before __USE_KERNEL_IPV6_DEFS uses.
12190 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12191 IPPROTO_BEETPH.
12192 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12193 sockaddr_in6, or ipv6_mreq.
12194
121952013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12196
12197 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12198 memory access for final bytes in some large inputs.
12199 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12200
122012013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12202
12203 * string/test-memrchr.c: New file.
12204 * string/test-memrchr-ifunc.c: New file.
12205 * string/Makefile: Add new memrchr testcase.
12206
122072013-09-05 Mike Frysinger <vapier@gentoo.org>
12208
12209 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12210 fanotify_init returns EPERM.
12211
122122013-09-04 Joseph Myers <joseph@codesourcery.com>
12213
12214 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12215 errors.
12216 (top level): Treat second token from macro or constant entries for
12217 allowed headers as allowed.
12218 * include/complex.h: Condition internal declarations on
12219 [!_ISOMAC].
12220 * include/fenv.h: Condition include of <stdbool.h> and internal
12221 declarations on [!_ISOMAC].
12222
122232013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12224
12225 [BZ #15923]
12226 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12227
122282013-09-04 Joseph Myers <joseph@codesourcery.com>
12229
12230 * configure.in (--enable-versioning): Remove configure option.
12231 (libc_cv_asm_symver_directive): Remove configure test.
12232 (libc_cv_ld_version_script_option): Likewise.
12233 (VERSIONING): Remove variable and AC_SUBST.
12234 (DO_VERSIONING): Remove AC_DEFINE.
12235 * configure: Regenerated.
12236 * config.h.in (DO_VERSIONING): Remove macro.
12237 * Makerules [$(versioning) = yes]: Change conditionals to
12238 [$(build-shared) = yes].
12239 * config.make.in (versioning): Remove variable.
12240 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12241 [$(build-shared) = yes].
12242 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12243 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12244 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12245 [$(build-shared) = yes].
12246 * extra-lib.mk [$(versioning) = yes]: Likewise.
12247 * hurd/Makefile [$(versioning) = yes]: Likewise.
12248 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12249 [SHARED].
12250 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12251 [SHARED].
12252 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12253 [SHARED && !NO_HIDDEN].
12254 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12255 [SHARED].
12256 [SHARED && DO_VERSIONING]: Likewise..
12257 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12258 [$(build-shared) = yes].
12259 * manual/install.texi (--disable-versioning): Remove
12260 documentation.
12261 * INSTALL: Regenerated.
12262 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12263 to [SHARED].
12264 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12265 [$(build-shared) = yes].
12266 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12267 * sysdeps/i386/i686/multiarch/strstr-c.c
12268 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12269 [SHARED && !NO_HIDDEN].
12270 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12271 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12272 * sysdeps/powerpc/powerpc32/dl-machine.c
12273 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12274 * sysdeps/powerpc/powerpc32/sysdep.h
12275 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12276 to [SHARED && PIC && !NO_HIDDEN].
12277 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12278 conditional to [SHARED].
12279
122802013-09-04 Will Newton <will.newton@linaro.org>
12281
12282 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12283 * benchtests/bench-string.h: Include bench-timing.h instead
12284 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12285 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12286 call to HP_TIMING_DIFF_INIT.
12287 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12288 instead of hp-timing.h macros.
12289 * benchtests/bench-memchr.c: Likewise.
12290 * benchtests/bench-memcmp.c: Likewise.
12291 * benchtests/bench-memcpy.c: Likewise.
12292 * benchtests/bench-memmem.c: Likewise.
12293 * benchtests/bench-memmove.c: Likewise.
12294 * benchtests/bench-memset.c: Likewise.
12295 * benchtests/bench-rawmemchr.c: Likewise.
12296 * benchtests/bench-strcasecmp.c: Likewise.
12297 * benchtests/bench-strcasestr.c: Likewise.
12298 * benchtests/bench-strcat.c: Likewise.
12299 * benchtests/bench-strchr.c: Likewise.
12300 * benchtests/bench-strcmp.c: Likewise.
12301 * benchtests/bench-strcpy.c: Likewise.
12302 * benchtests/bench-strcpy_chk.c: Likewise.
12303 * benchtests/bench-strlen.c: Likewise.
12304 * benchtests/bench-strncasecmp.c: Likewise.
12305 * benchtests/bench-strncat.c: Likewise.
12306 * benchtests/bench-strncmp.c: Likewise.
12307 * benchtests/bench-strncpy.c: Likewise.
12308 * benchtests/bench-strnlen.c: Likewise.
12309 * benchtests/bench-strpbrk.c: Likewise.
12310 * benchtests/bench-strrchr.c: Likewise.
12311 * benchtests/bench-strspn.c: Likewise.
12312 * benchtests/bench-strstr.c: Likewise.
12313
123142013-09-04 Will Newton <will.newton@linaro.org>
12315
12316 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12317
123182013-09-03 Joseph Myers <joseph@codesourcery.com>
12319
12320 [BZ #15427]
12321 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12322 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12323 * math/libm-test.inc (lgamma_test_data): Add more tests.
12324 * sysdeps/i386/fpu/libm-test-ulps: Update.
12325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12326
123272013-09-03 Ondřej Bílka <neleai@seznam.cz>
12328
12329 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12330 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12331 Add ifunc.
12332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12333 Add strcmp-sse2-unaligned
12334 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12335
123362013-09-02 Mike Frysinger <vapier@gentoo.org>
12337
12338 * Versions.def (libc): Add GLIBC_2.19.
12339
123402013-09-02 Mike Frysinger <vapier@gentoo.org>
12341
12342 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12343 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12344
123452013-09-02 Joseph Myers <joseph@codesourcery.com>
12346
12347 [BZ #14155]
12348 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12349 intermediate calculations in recurrence.
12350 (__ieee754_ynf): Likewise.
12351 * math/libm-test.inc (jn_test_data): Do not allow spurious
12352 underflow exception. Add more tests.
12353 (yn_test_data): Add more tests.
12354 * sysdeps/i386/fpu/libm-test-ulps: Update.
12355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12356
123572013-09-02 Ondřej Bílka <neleai@seznam.cz>
12358
12359 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12360
123612013-08-30 Ondřej Bílka <neleai@seznam.cz>
12362
12363 * csu/init-first.c: Fix then/than typos.
12364 * locale/programs/ld-collate.c: Likewise.
12365 * locale/programs/linereader.h: Likewise.
12366 * manual/charset.texi: Likewise.
12367 * manual/filesys.texi: Likewise.
12368 * manual/stdio.texi: Likewise.
12369 * manual/string.texi: Likewise.
12370 * stdlib/fmtmsg.c: Likewise.
12371 * sysdeps/i386/stpncpy.S: Likewise.
12372 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12373 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12374 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12375 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12376
123772013-08-30 Ondřej Bílka <neleai@seznam.cz>
12378
12379 * elf/dl-open.c: Fix typos.
12380 * iconvdata/gbbig5.c: Likewise.
12381 * iconvdata/iso-2022-jp.c: Likewise.
12382 * iconv/gconv_int.h: Likewise.
12383 * iconv/loop.c: Likewise.
12384 * nis/rpcsvc/nis.h: Likewise.
12385 * resolv/ns_name.c: Likewise.
12386 * stdio-common/vfscanf.c: Likewise.
12387 * streams/stropts.h: Likewise.
12388 * sunrpc/rpc_thread.c: Likewise.
12389 * sysdeps/i386/strpbrk.S: Likewise.
12390 * sysdeps/ieee754/k_standard.c: Likewise.
12391 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12393 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12394 * sysdeps/mach/hurd/profil.c: Likewise.
12395 * sysdeps/s390/dl-procinfo.h: Likewise.
12396 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12397 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12398 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12399 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12400 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12401
124022013-08-30 Ondřej Bílka <neleai@seznam.cz>
12403
12404 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12405 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12406
124072013-08-29 Ondřej Bílka <neleai@seznam.cz>
12408
12409 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12410 aix specific files.
12411 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12412 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12413 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12414 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12415 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12416 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12417 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12418 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12419
124202013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12421 Roland McGrath <roland@hack.frob.com>
12422
12423 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12424 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12425
124262013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12427
12428 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12429 __executable_start symbol instead of _start.
12430
124312013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12432
12433 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12434 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12435 Move macros to...
12436 * sysdeps/gnu/ldsodefs.h: ... this new file.
12437
12438 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12439 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12440 instead of ELFOSABI_LINUX.
12441
12442 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12443 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12444 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12445 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12446 Likewise.
12447 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12448 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12449 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12450 Likewise.
12451 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12452 (ibm_extended_long_double): Add ieee_nan member.
12453 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12454 (do_test): New function.
12455
12456 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12457 TEST_TRUNC.
12458 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12459 functions, renamed from truncdfsf_test, trunctfsf_test,
12460 trunctfdf_test.
12461 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12462 functions.
12463 (do_test): Run all these.
12464
124652013-08-29 Ondřej Bílka <neleai@seznam.cz>
12466
12467 * argp/argp-help.c: Fix typos.
12468 * argp/argp-parse.c: Likewise.
12469 * debug/backtracesyms.c: Likewise.
12470 * elf/elf.h: Likewise.
12471 * malloc/malloc.c: Likewise.
12472 * nis/nis_print.c: Likewise.
12473 * resolv/res_comp.c: Likewise.
12474 * stdlib/stdlib.h: Likewise.
12475 * sunrpc/clnt_tcp.c: Likewise.
12476 * sunrpc/clnt_udp.c: Likewise.
12477 * sunrpc/clnt_unix.c: Likewise.
12478 * sysdeps/unix/bsd/ptsname.c: Likewise.
12479 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12480 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12482 Likewise.
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12484 Likewise.
12485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12486 Likewise.
12487 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12488
124892013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12490
12491 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12493
124942013-08-27 Mike Frysinger <vapier@gentoo.org>
12495
12496 [BZ #15897]
12497 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12498 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12499 ($(objpfx)bug-dl-leaf): New rule.
12500 ($(objpfx)bug-dl-leaf.so): Likewise.
12501 ($(objpfx)bug-dl-leaf.out): Likewise.
12502 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12503 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12504 * dlfcn/bug-dl-leaf.c: New test.
12505 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12506 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12507 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12508 (dlclose): Likewise.
12509 (dlmopen): Likewise.
12510
125112013-08-27 Roland McGrath <roland@hack.frob.com>
12512
12513 * include/netdb.h [!_ISOMAC]:
12514 Don't include <tls.h>.
12515 (h_errno, __libc_h_errno): Move declaration and macros out of
12516 [_LIBC_REENTRANT].
12517
12518 * include/resolv.h [_RESOLV_H_]:
12519 Don't include <tls.h>.
12520 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12521 * resolv/res_libc.c: Don't include <tls.h>.
12522 (_res): Use __attribute__ ((nocommon)) in place of
12523 __attribute__ ((section (".bss"))).
12524
12525 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12526 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12527
12528 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12529
12530 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12531 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12532
12533 * resolv/res_mkquery.c: Include <sys/time.h>.
12534
12535 * inet/ifreq.c: Moved to ...
12536 * sysdeps/unix/ifreq.c: ... here.
12537 * inet/ifreq.c: New file, true stub version.
12538
12539 * socket/sa_len.c: New file.
12540 * socket/Makefile (aux): Add it.
12541 * sysdeps/unix/sysv/linux/Makefile
12542 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12543 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12544 and #include <socket/sa_len.c>.
12545 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12546 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12547
12548 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12549 * bits/socket.h: ... here.
12550
12551 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12552 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12553 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12554
125552013-08-27 Andreas Schwab <schwab@suse.de>
12556
12557 [BZ #15736]
12558 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12559 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12560 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12561 * string/test-strcasecmp.c (test_main): Run tests in several
12562 locales.
12563 * string/test-strncasecmp.c (test_main): Likewise.
12564
12565 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12566 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12567 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12569 (__strncasecmp_ssse3) [PIC]: Likewise.
12570
125712013-08-26 Roland McGrath <roland@hack.frob.com>
12572
12573 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12574
12575 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12576 instead of explicitly declaring xdecrypt.
12577 * nis/nss_nis/nis-publickey.c: Likewise.
12578
125792013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12580
12581 [BZ #15890]
12582 * nscd/aicache.c: Include res_hconf.h.
12583 (addhstaiX): Initialize res_hconf.
12584
125852013-08-26 Andreas Schwab <schwab@suse.de>
12586
12587 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12588 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12589
125902013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12591
12592 * nscd/aicache.c (addhstaiX): Fix indentation.
12593
125942013-08-25 Mike Frysinger <vapier@gentoo.org>
12595
12596 * configure.ac: Quote $build_pt_chown test.
12597 * configure: Regenerated.
12598
125992013-08-23 Joseph Myers <joseph@codesourcery.com>
12600
12601 [BZ #15532]
12602 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12603 * math/s_cexpf.c (__cexpf): Likewise.
12604 * math/s_cexpl.c (__cexpl): Likewise.
12605 * math/libm-test.inc (cexp_test_data): Correct expected return
12606 value for NaN + i0. Add another test.
12607
126082013-08-22 David S. Miller <davem@davemloft.net>
12609
12610 * po/ca.po: Update Catalan translation from translation project.
12611 * po/uk.po: Add Ukrainian translations from translation project.
12612
126132013-08-21 Joseph Myers <joseph@codesourcery.com>
12614
12615 [BZ #15797]
12616 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12617 is infinite, not alongside NaN test.
12618 * math/s_fdimf.c (__fdimf): Likewise.
12619 * math/s_fdiml.c (__fdiml): Likewise.
12620 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12621 errno is unchanged.
12622
126232013-08-21 Ondřej Bílka <neleai@seznam.cz>
12624
12625 * argp/argp-help.c: Fix typos.
12626 * crypt/speeds.c: Likewise.
12627 * csu/check_fds.c: Likewise.
12628 * elf/dl-load.c: Likewise.
12629 * elf/dl-open.c: Likewise.
12630 * elf/reldep3.c: Likewise.
12631 * elf/reldep.c: Likewise.
12632 * elf/sprof.c: Likewise.
12633 * iconv/iconv_charmap.c: Likewise.
12634 * iconv/skeleton.c: Likewise.
12635 * iconv/strtab.c: Likewise.
12636 * io/lockf64.c: Likewise.
12637 * libio/libioP.h: Likewise.
12638 * resolv/gai_notify.c: Likewise.
12639 * resolv/ns_name.c: Likewise.
12640 * resolv/ns_samedomain.c: Likewise.
12641 * resolv/res_send.c: Likewise.
12642 * stdlib/random.c: Likewise.
12643 * sunrpc/rpc/xdr.h: Likewise.
12644 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12645 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12646 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12647 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12648 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12649 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12650 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12651 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12652 * sysdeps/mach/hurd/check_fds.c: Likewise.
12653 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12654 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12655 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12656 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12657 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12658 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12659 * sysdeps/pthread/aio_notify.c: Likewise.
12660 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12661 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12662 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12663 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12664 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12665
126662013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12667
12668 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12669 version if bit_Slow_SSE4_2 is set.
12670 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12671 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12672
126732013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12674
12675 [BZ #15867]
12676 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12677 trampoline stack frame information.
12678 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12679 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12680 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12681 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12682 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12683 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12684 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12685 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12686 sa_flags value.
12687 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12688 interrupting a syscall and set with option SA_SIGINFO.
12689
126902013-08-20 Joseph Myers <joseph@codesourcery.com>
12691
12692 [BZ #15531]
12693 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12694 argument is infinite.
12695 * math/s_cprojf.c (__cprojf): Likewise.
12696 * math/s_cprojl.c (__cprojl): Likewise.
12697 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12698 * math/libm-test.inc (cproj_test_data): Add more tests.
12699
12700 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12701
12702 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12703 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12704 size. Use __ffs to determine corresponding shift.
12705
127062013-08-20 Joseph Myers <joseph@codesourcery.com>
12707 Roland McGrath <roland@hack.frob.com>
12708
12709 * Makefile (INSTALL): Remove trailing blank lines from output of
12710 makeinfo.
12711
127122013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12713
12714 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12715 Align 32 bit compat elf_greg to 8 bytes.
12716
127172013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12718
12719 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12720
127212013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12722
12723 * string/strcoll_l.c (coll_seq): New structure.
12724 (get_next_seq_cached): New function.
12725 (get_next_seq): New function.
12726 (do_compare): New function.
12727 (STRCOLL): Use GNU style definition. Simplify implementation
12728 by using get_next_seq, get_next_seq_cached and do_compare.
12729
127302013-08-16 Florian Weimer <fweimer@redhat.com>
12731
12732 [BZ #14699]
12733 CVE-2013-4237
12734 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12735 member.
12736 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12737 member.
12738 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12739 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12740 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12741 conditional.
12742 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12743 GETDENTS_64BIT_ALIGNED.
12744 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12745 * manual/filesys.texi (Reading/Closing Directory): Document
12746 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12747 strongly.
12748 * manual/conf.texi (Limits for Files): Add portability note to
12749 NAME_MAX, PATH_MAX.
12750 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12751
127522013-08-13 Andreas Schwab <schwab@suse.de>
12753
12754 [BZ #15749]
12755 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12756 of fabs.
12757 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12758 LDBL_MAX_EXP >= 16384]: Add tests for it.
12759
127602013-08-12 David S. Miller <davem@davemloft.net>
12761
12762 * version.h (RELEASE): Set to "development".
12763 (VERSION): Set to "2.18.90".
12764 * NEWS: Add 2.19 section.
12765
127662013-08-03 David S. Miller <davem@davemloft.net>
12767
12768 * po/ko.po: Update Korean translation from translation project.
12769
127702013-08-01 David S. Miller <davem@davemloft.net>
12771
12772 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12773 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12774 Bilka.
12775
127762013-07-30 David S. Miller <davem@davemloft.net>
12777
12778 * po/fr.po: Update French translation from translation project.
12779
127802013-07-28 David S. Miller <davem@davemloft.net>
12781
12782 * po/cs.po: Update Czech translation from translation project.
12783
12784 * po/sv.po: Update Swedish translation from translation project.
12785
127862013-07-27 David S. Miller <davem@davemloft.net>
12787
12788 * po/eo.po: Update Esperanto translation from translation project.
12789
12790 * po/vi.po: Update Vietnamese translation from translation project.
12791
12792 * po/de.po: Update German translation from translation project.
12793
127942013-07-26 David S. Miller <davem@davemloft.net>
12795
12796 * po/bg.po: Update Bulgarian translation from translation project.
12797
12798 * po/nl.po: Update Dutch translation from translation project.
12799 * po/pl.po: Update Polish translation from translation project.
12800 * po/ru.po: Update Russian translation from translation project.
12801
128022013-07-24 David S. Miller <davem@davemloft.net>
12803
12804 * po/libc.pot: Update.
12805
128062013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12807
12808 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12809 variable page size.
12810 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12811 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12812 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12813
128142013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12815
12816 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12817
128182013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12819 Andreas Schwab <schwab@suse.de>
12820 Roland McGrath <roland@hack.frob.com>
12821 Joseph Myers <joseph@codesourcery.com>
12822 Carlos O'Donell <carlos@redhat.com>
12823
12824 [BZ #15755]
12825 * config.h.in: Define HAVE_PT_CHOWN.
12826 * config.make.in (build-pt-chown): New variable.
12827 * configure.in (--enable-pt_chown): New configure option.
12828 * configure: Regenerate.
12829 * login/Makefile: Include Makeconfig. Build pt_chown only if
12830 build-pt-chown is enabled.
12831 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12832 pt_chown to fix pty ownership.
12833 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12834 CLOSE_ALL_FDS.
12835 * manual/install.texi (Configuring and compiling): Mention
12836 --enable-pt_chown. Add @findex for grantpt.
12837 * INSTALL: Regenerate.
12838
128392013-07-20 David S. Miller <davem@davemloft.net>
12840
12841 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12842 difference between 32-bit and 64-bit.
12843
128442013-07-15 Carlos O'Donell <carlos@redhat.com>
12845
12846 [BZ #15711]
12847 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12848 Avoid system header dependency with -ffreestanding.
12849 ($(objpfx)bits/syscall%d): Likewise.
12850
128512013-07-13 David S. Miller <davem@davemloft.net>
12852
12853 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12854 underflows from atanl/atan2l due to bug 15319.
12855 (casinh_test_data): Likewise.
12856
128572013-07-07 David S. Miller <davem@davemloft.net>
12858
12859 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12860
128612013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12862
12863 * sysdeps/i386/fpu/libm-test-ulps: Update.
12864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12865
128662013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12867
12868 * configure.in (--enable-lock-elision): Fix message text.
12869 * INSTALL: Regenerate.
12870 * configure: Regenerate.
12871
128722013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12873
12874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12875
128762013-07-03 Andreas Jaeger <aj@suse.de>
12877
12878 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12879 define.
12880 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12881 (ptrace_peeksiginfo_args): Add.
12882 (__ptrace_peeksiginfo_flags): Add.
12883 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12884 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12885 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12886
128872013-07-03 Allan McRae <allan@archlinux.org>
12888
12889 * sysdeps/i386/fpu/libm-test-ulps: Update.
12890
128912013-07-02 David S. Miller <davem@davemloft.net>
12892
12893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12894
128952013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12896
12897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12898
128992013-07-02 Joseph Myers <joseph@codesourcery.com>
12900
12901 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12903
129042013-07-02 Andi Kleen <ak@linux.intel.com>
12905
12906 * config.h.in (ENABLE_LOCK_ELISION): Add.
12907 * configure.in (--enable-lock-elision): Add option.
12908 * manual/install.texi: Document --enable lock elision.
12909 * configure: Regenerate
12910 * INSTALL: Regenerate.
12911
129122013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12913
12914 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12915 SSE4.2 strcasecmp for libc.a.
12916 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12917
129182013-07-02 Joseph Myers <joseph@codesourcery.com>
12919
12920 [BZ #13304]
12921 * soft-fp/op-common.h (_FP_FMA): New macro.
12922 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12923 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12924 (_FP_MUL_MEAT_1_imm): ... here.
12925 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12926 (_FP_MUL_MEAT_1_wide): ... here.
12927 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12928 (_FP_MUL_MEAT_1_hard): ... here.
12929 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12930 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12931 (_FP_MUL_MEAT_2_wide): ... here.
12932 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12933 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12934 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12935 (_FP_MUL_MEAT_2_gmp): ... here.
12936 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12937 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12938 (_FP_MUL_MEAT_4_wide): ... here.
12939 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12940 (_FP_MUL_MEAT_4_gmp): ... here.
12941 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12942 (_FP_WFRACBITS_DW_S): Likewise.
12943 (_FP_WFRACXBITS_DW_S): Likewise.
12944 (_FP_HIGHBIT_DW_S): Likewise.
12945 (FP_FMA_S): Likewise.
12946 (_FP_FRAC_HIGH_DW_S): Likewise.
12947 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12948 (_FP_WFRACBITS_DW_D): Likewise.
12949 (_FP_WFRACXBITS_DW_D): Likewise.
12950 (_FP_HIGHBIT_DW_D): Likewise.
12951 (FP_FMA_D): Likewise.
12952 (_FP_FRAC_HIGH_DW_D): Likewise.
12953 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12954 (_FP_WFRACBITS_DW_E): Likewise.
12955 (_FP_WFRACXBITS_DW_E): Likewise.
12956 (_FP_HIGHBIT_DW_E): Likewise.
12957 (FP_FMA_E): Likewise.
12958 (_FP_FRAC_HIGH_DW_E): Likewise.
12959 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12960 (_FP_WFRACBITS_DW_Q): Likewise.
12961 (_FP_WFRACXBITS_DW_Q): Likewise.
12962 (_FP_HIGHBIT_DW_Q): Likewise.
12963 (FP_FMA_Q): Likewise.
12964 (_FP_FRAC_HIGH_DW_Q): Likewise.
12965 * soft-fp/fmasf4.c: New file.
12966 * soft-fp/fmadf4.c: Likewise.
12967 * soft-fp/fmatf4.c: Likewise.
12968
129692013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12970
12971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12972 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12973 Silvermont.
12974 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12975 macro.
12976 (index_Slow_SSE4_2): Likewise.
12977 (index_Prefer_PMINUB_for_stringop): Likewise.
12978 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12979 bit_Slow_SSE4_2 is set.
12980 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12981 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12982
129832013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12984
12985 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12986 rtld_global._dl_hwcap2.
12987 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12988 POWER8.
12989 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12990 POWER8 feature descriptions defined in _dl_hwcap2.
12991 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12992 string handling for POWER8 feature bits.
12993 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12994 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12995 _dl_powerpc_cap_flags.
12996 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12997 * sysdeps/powerpc/rtld-global-offsets.sym
12998 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12999 _dl_hwcap2 in the rtld_global_ro structure.
13000
130012013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13002
13003 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13004 hardware capabilities in support of AT_HWCAP2.
13005 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13006 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13007 GLRO(dl_hwcap2).
13008 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13009 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13010 explicitly the unknown a_type display mechanism is used.
13011 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13012 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13013 struct member.
13014 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13015 to macro prototype for AT_HWCAP2 support.
13016 * sysdeps/i386/dl-procinfo.h: Likewise.
13017 * sysdeps/s390/dl-procinfo.h: Likewise.
13018 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13019 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13020 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13021 return -1 for unknown a_type display fallback.
13022 * sysdeps/sparc/dl-procinfo.h: Likewise.
13023 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13024 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13025
130262013-06-28 Joseph Myers <joseph@codesourcery.com>
13027
13028 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13029 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13030
130312013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13032
13033 [BZ #12492]
13034 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13035 mprotect making __stack_prot writable.
13036
130372013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13038 Joseph Myers <joseph@codesourcery.com>
13039
13040 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13041 as being properly aligned.
13042
130432013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13044
13045 * dlfcn/modstatic5.c: New file.
13046 * dlfcn/tststatic5.c: New file.
13047 * dlfcn/Makefile (tests): Add tststatic5.
13048 (tests-static): Likewise.
13049 (modules-names): Add modstatic5.
13050 (tststatic5-ENV): New variable.
13051 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13052
13053 [BZ #15022]
13054 * elf/dl-support.c (_dl_main_map): New variable.
13055 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13056 (_dl_nns, _dl_load_adds): Set to 1.
13057 (_dl_initial_searchlist): Refer to _dl_main_map.
13058 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13059 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13060 call to _dl_get_origin.
13061 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13062 around call_map.
13063 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13064 * dlfcn/modstatic3.c: New file.
13065 * dlfcn/tststatic3.c: New file.
13066 * dlfcn/tststatic4.c: New file.
13067 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13068 (tests-static): Likewise.
13069 (modules-names): Add modstatic3.
13070 (tststatic3-ENV, tststatic4-ENV): New variables.
13071 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13072 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13073
130742013-06-26 Joseph Myers <joseph@codesourcery.com>
13075
13076 * configure.in (CC): Require GCC version 4.4 or later.
13077 * configure: Regenerated.
13078 * manual/install.texi (Tools for Compilation): Update GCC version
13079 requirement.
13080 * INSTALL: Regenerated.
13081
130822013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13083
13084 [BZ #15674]
13085 * string/test-memcmp.c (check2): New.
13086 (main): Call check2.
13087
13088 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13089
130902013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13091
13092 [BZ #15022]
13093 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13094 over to...
13095 (dl_open_worker) [!SHARED]: ... here.
13096
130972013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13098
13099 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13100
131012013-06-25 Richard Henderson <rth@redhat.com>
13102
13103 * locale/programs/locarchive.c: Include <libc-internal.h>
13104
131052013-06-25 Joseph Myers <joseph@codesourcery.com>
13106
13107 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13108 trailing whitespace removed.
13109
131102013-06-24 Mike Frysinger <vapier@gentoo.org>
13111
13112 [BZ #10283]
13113 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13114 * locale/programs/locarchive.c: Include libc-mmap.h.
13115 (prepare_address_space): Take two new outputs (the mmap base and len).
13116 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13117 values.
13118 (create_archive): Declare new mmap base and len values for
13119 prepare_address_space, and store the result in ah.
13120 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13121 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13122 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13123 Declare new mmap base and len values for
13124 prepare_address_space, and store the result in new_ah.
13125 (open_archive): Declare new mmap base and len values for
13126 prepare_address_space, and store the result in ah.
13127 (close_archive): If ah->mmap_base is not NULL, use that and
13128 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13129 * sysdeps/generic/libc-mmap.h: New file.
13130
131312013-06-24 Mike Frysinger <vapier@gentoo.org>
13132
13133 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13134 (ALIGN_UP): Likewise.
13135 (PTR_ALIGN_DOWN): Likewise.
13136 (PTR_ALIGN_UP): Likewise.
13137
131382013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13139
13140 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13141 entry mapped to PPC_PLATFORM_POWER8.
13142 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13143 POWER8.
13144 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13145 (_dl_string_platform): Add case for exporting platform position for
13146 POWER8.
13147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13148 search path to sysdeps/powerpc/powerpc32/power8 directory.
13149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13150 search path to sysdeps/powerpc/powerpc64/power8 directory.
13151 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13152 power7 directories.
13153 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13154 power7 directories.
13155
131562013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13157
13158 * INSTALL: Regenerate.
13159
13160 * nscd/connections.c (nscd_init): Fix comment.
13161
131622013-06-22 Joseph Myers <joseph@codesourcery.com>
13163
13164 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13165
13166 [BZ #15667]
13167 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13168 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13169
131702013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13171
13172 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13173 DL_DST_REQ_STATIC.
13174 (DL_DST_REQ_STATIC): Remove macro.
13175
131762013-06-21 Joseph Myers <joseph@codesourcery.com>
13177
13178 [BZ #7006]
13179 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13180 with a shift of 0 bits.
13181
131822013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13183
13184 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13185 $(tststatic-ENV).
13186
131872013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13188
13189 [BZ #15655]
13190 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13191
131922013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13193
13194 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13195 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13196 accepts -fno-tree-loop-distribute-patterns.
13197 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13198 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13199 recursive call.
13200 * string/memset.c (memset): Likewise.
13201 * string/test-memmove.c (simple_memmove): Disable loop transformation
13202 to library calls.
13203 * string/test-memset.c (simple_memset): Likewise.
13204 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13205 * benchtests/bench-memset.c (simple_memset): Likewise.
13206 * configure: Regenerated.
13207
132082013-06-20 Joseph Myers <joseph@codesourcery.com>
13209
13210 * math/test-misc.c (main): Ignore fesetround failure when failures
13211 of subsequent rounding tests would be ignored.
13212
13213 [BZ #15654]
13214 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13215 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13216 * math/fegetenv.c (__fegetenv): Return 0.
13217 * math/fegetexcept.c (fegetexcept): Return 0.
13218 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13219 FE_TONEAREST.
13220 * math/feholdexcpt.c (feholdexcept): Return 0.
13221 * math/fesetenv.c (__fesetenv): Return 0.
13222 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13223 argument FE_TONEAREST.
13224 * math/feupdateenv.c (__feupdateenv): Return 0.
13225 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13226
132272013-06-18 Roland McGrath <roland@hack.frob.com>
13228
13229 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13230 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13231 ($(objpfx)rtld-%.os rules): Use them.
13232
132332013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13234
13235 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13236 fields.
13237
132382013-06-17 Roland McGrath <roland@hack.frob.com>
13239
13240 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13241 length of target pattern, then descending length of dependency pattern.
13242 * configure.in (AWK): Require gawk 3.1.2 or newer.
13243 * manual/install.texi (Tools for Compilation): Say that we do.
13244 * configure: Regenerated.
13245
13246 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13247 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13248 * scripts/sysd-rules.awk: ... this new script.
13249 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13250 than a glob-style pattern.
13251
132522013-06-17 Joseph Myers <joseph@codesourcery.com>
13253
13254 * math/test-misc.c (main): Do not treat incorrectly rounded
13255 conversions as failure unless ROUNDING_TESTS passes.
13256
132572013-06-15 Joseph Myers <joseph@codesourcery.com>
13258
13259 [BZ #15631]
13260 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13261 restore exception state around main square root computation, then
13262 check for inexactness explicitly.
13263
13264 * math/libm-test.inc (fma_test_data): Add another test.
13265
132662013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13267
13268 * manual/threads.texi (Non-POSIX Extensions): New document
13269 node. Document pthread_getattr_default_np and
13270 pthread_setattr_default_np.
13271
13272 * Versions.def (libpthread): Add GLIBC_2.18.
13273 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13275 Likewise.
13276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13277 Likewise.
13278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13279 Likewise.
13280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13281 Likewise.
13282 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13283 Likewise.
13284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13285 Likewise.
13286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13287 Likewise.
13288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13289 Likewise.
13290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13291 Likewise.
13292
132932013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13294
13295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13296 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13297
132982013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13299 H.J. Lu <hjl.tools@gmail.com>
13300
13301 [BZ #15627]
13302 * sysdeps/x86_64/rtld-memset.c: Remove file.
13303 * sysdeps/x86_64/rtld-memset.S: New file.
13304
133052013-06-14 Joseph Myers <joseph@codesourcery.com>
13306
13307 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13308 (test_in_one_mode): Take arguments for whether the rounding mode
13309 is supported for each floating-point type.
13310 (do_test): Pass new arguments to test_in_one_mode using
13311 ROUNDING_TESTS.
13312
133132013-06-13 Roland McGrath <roland@hack.frob.com>
13314
13315 * posix/tst-waitid.c (do_test): Distinguish different instances of
13316 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13317 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13318 before entering the kernel for waitpid.
13319
133202013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13321
13322 * NEWS: Fix note on clock function precision. Text by Roland
13323 McGrath.
13324
133252013-06-13 Roland McGrath <roland@hack.frob.com>
13326
13327 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13328 it into place only when and if the sanity check passes.
13329
133302013-06-13 Joseph Myers <joseph@codesourcery.com>
13331
13332 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13333 output for whether conversion result is exact. Take argument
13334 indicating whether type is IBM long double.
13335 (round_for_all): Change need_exact field to ibm_ld.
13336 * stdlib/tst-strtod-round.c (struct exactness): New type.
13337 (struct test): Change bool ld_ok field to struct exactness exact.
13338 (TEST): Update all definitions for change to field.
13339 (tests): Regenerate array contents.
13340 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13341 field value. Check for IBM long double here.
13342 (do_test): Update calls to test_in_one_mode.
13343
133442013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13345
13346 [BZ #12515]
13347 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13348 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13349
133502013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13351
13352 [BZ #15605]
13353 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13354 generated by the compiler on loop optimizations.
13355 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13356 general definitions.
13357
133582013-06-12 Joseph Myers <joseph@codesourcery.com>
13359
13360 * math/bug-nextafter.c: Include <math-tests.h>.
13361 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13362 the relevant type.
13363 * math/bug-nexttoward.c: Include <math-tests.h>.
13364 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13365 the relevant type.
13366 * math/test-misc.c: Include <math-tests.h>.
13367 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13368 the relevant type.
13369
133702013-06-12 Andreas Jaeger <aj@suse.de>
13371
13372 * po/ia.po: Update Interlingua translation from translation
13373 project.
13374
133752013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13376
13377 * include/fenv.h: Include stdbool.h.
13378 (struct rm_ctx): New structure.
13379 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13380 Define macro.
13381 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13382 (SET_RESTORE_ROUNDF): Likewise.
13383 (SET_RESTORE_ROUNDL): Likewise.
13384 (SET_RESTORE_ROUND_NOEX): Likewise.
13385 (SET_RESTORE_ROUND_NOEXF): Likewise.
13386 (SET_RESTORE_ROUND_NOEXL): Likewise.
13387 (SET_RESTORE_ROUND_53BIT): Likewise.
13388 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13389 (libc_feresetround_noexf_ctx): Likewise.
13390 (libc_feresetround_noexl_ctx): Likewise.
13391 (libc_feholdsetround_53bit_ctx): Likewise.
13392 (libc_feresetround_53bit_ctx): Likewise.
13393 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13394 (libc_feholdexcept_setround_sse_ctx): New function.
13395 (libc_fesetenv_sse_ctx): Likewise.
13396 (libc_feupdateenv_sse_ctx): Likewise.
13397 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13398 (libc_feholdexcept_setround_387_ctx): Likewise.
13399 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13400 (libc_feholdsetround_387_prec_ctx): Likewise.
13401 (libc_feholdsetround_387_ctx): Likewise.
13402 (libc_feholdsetround_387_53bit_ctx): Likewise.
13403 (libc_feholdsetround_sse_ctx): Likewise.
13404 (libc_feresetround_sse_ctx): Likewise.
13405 (libc_feresetround_387_ctx): Likewise.
13406 (libc_feupdateenv_387_ctx): Likewise.
13407 (libc_feholdexcept_setroundf_ctx): Define macro.
13408 (libc_fesetenvf_ctx): Likewise.
13409 (libc_feupdateenvf_ctx): Likewise.
13410 (libc_feholdsetroundf_ctx): Likewise.
13411 (libc_feresetroundf_ctx): Likewise.
13412 (libc_feholdexcept_setround_ctx): Likewise.
13413 (libc_fesetenv_ctx): Likewise.
13414 (libc_feupdateenv_ctx): Likewise.
13415 (libc_feholdsetround_ctx): Likewise.
13416 (libc_feresetround_ctx): Likewise.
13417 (libc_feholdexcept_setroundl_ctx): Likewise.
13418 (libc_feupdateenvl_ctx): Likewise.
13419 (libc_feholdsetroundl_ctx): Likewise.
13420 (libc_feresetroundl_ctx): Likewise.
13421 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13422 (libc_feresetround_53bit_ctx): Likewise.
13423
134242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13425
13426 * locale/iso-639.def: Convert to UTF-8.
13427
134282013-06-11 Joseph Myers <joseph@codesourcery.com>
13429
13430 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13431 (EXCEPTION_TESTS_double): Likewise.
13432 (EXCEPTION_TESTS_long_double): Likewise.
13433 (EXCEPTION_TESTS): Likewise.
13434 * math/libm-test.inc (test_exceptions): Only test exceptions if
13435 EXCEPTION_TESTS (FLOAT).
13436
134372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13438
13439 * benchtests/Makefile (string-bench): Add strcpy_chk and
13440 stpcpy_chk.
13441 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13442 * benchtests/bench-stpcpy_chk.c: New file.
13443 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13444 * benchtests/bench-strcpy_chk.c: New file.
13445 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13446 code.
13447 (do_test): Likewise.
13448
134492013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13450
13451 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13452 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13453 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13454 with tabs where appropriate.
13455 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13456 dl-procinfo.h.
13457 [PPC_PLATFORM_PPC440]: Likewise.
13458 [PPC_PLATFORM_PPC464]: Likewise.
13459 [PPC_PLATFORM_PPC476]: Likewise.
13460 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13461 ppc464, and ppc476 platform strings merging from ports/
13462 dl-procinfo.h.
13463
134642013-06-11 Andreas Schwab <schwab@suse.de>
13465
13466 [BZ #14991]
13467 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13468 (from_ucs4_idx): Regenerate.
13469 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13470 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13471 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13472 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13473 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13474 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13475 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13476 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13477 from FROM_LOOP and TO_LOOP specific macros.
13478 (BODY): Handle combining characters.
13479 * iconvdata/BIG5HKSCS.irreversible: Update.
13480 * iconvdata/BIG5HKSCS.precomposed: New file.
13481 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13482 characters.
13483 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13484
134852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13486
13487 * include/sys/time.h: Fix indentation and add copyright header.
13488
13489 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13490 (do_test): Likewise.
13491 * string/test-memchr.c (do_one_test): Likewise.
13492 (do_test): Likewise.
13493 * string/test-memcmp.c (do_one_test): Likewise.
13494 (do_test): Likewise.
13495 * string/test-memcpy.c (do_one_test): Likewise.
13496 (do_test): Likewise.
13497 * string/test-memmem.c (do_one_test): Likewise.
13498 (do_test): Likewise.
13499 (do_random_tests): Likewise.
13500 * string/test-memmove.c (do_one_test): Likewise.
13501 (do_test): Likewise.
13502 * string/test-memset.c (do_one_test): Likewise.
13503 (do_test): Likewise.
13504 * string/test-rawmemchr.c (do_one_test): Likewise.
13505 (do_test): Likewise.
13506 * string/test-strcasecmp.c (do_one_test): Likewise.
13507 (do_test): Likewise.
13508 * string/test-strcasestr.c (do_one_test): Likewise.
13509 (do_test): Likewise.
13510 * string/test-strcat.c (do_one_test): Likewise.
13511 (do_test): Likewise.
13512 * string/test-strchr.c (do_one_test): Likewise.
13513 (do_test): Likewise.
13514 * string/test-strcmp.c (do_one_test): Likewise.
13515 (do_test): Likewise.
13516 * string/test-strcpy.c (do_one_test): Likewise.
13517 (do_test): Likewise.
13518 * string/test-string.h: Likewise.
13519 (test_init): Likewise.
13520 * string/test-strlen.c (do_one_test): Likewise.
13521 (do_test): Likewise.
13522 * string/test-strncasecmp.c (do_one_test): Likewise.
13523 (do_test): Likewise.
13524 * string/test-strncat.c (do_one_test): Likewise.
13525 (do_test): Likewise.
13526 * string/test-strncmp.c (do_one_test): Likewise.
13527 (do_test_limit): Likewise.
13528 (do_test): Likewise.
13529 * string/test-strncpy.c (do_one_test): Likewise.
13530 (do_test): Likewise.
13531 * string/test-strnlen.c (do_one_test): Likewise.
13532 (do_test): Likewise.
13533 * string/test-strpbrk.c (do_one_test): Likewise.
13534 (do_test): Likewise.
13535 * string/test-strrchr.c (do_one_test): Likewise.
13536 (do_test): Likewise.
13537 * string/test-strspn.c (do_one_test): Likewise.
13538 (do_test): Likewise.
13539 * string/test-strstr.c (do_one_test): Likewise.
13540 (do_test): Likewise.
13541
13542 * benchtests/Makefile (string-bench): Add string benchmarks.
13543 * benchtests/bench-bcopy-ifunc.c: New file.
13544 * benchtests/bench-bcopy.c: New file.
13545 * benchtests/bench-bzero-ifunc.c: New file.
13546 * benchtests/bench-bzero.c: New file.
13547 * benchtests/bench-memccpy-ifunc.c: New file.
13548 * benchtests/bench-memccpy.c: New file.
13549 * benchtests/bench-memchr-ifunc.c: New file.
13550 * benchtests/bench-memchr.c: New file.
13551 * benchtests/bench-memcmp-ifunc.c: New file.
13552 * benchtests/bench-memcmp.c: New file.
13553 * benchtests/bench-memmem-ifunc.c: New file.
13554 * benchtests/bench-memmem.c: New file.
13555 * benchtests/bench-memmove-ifunc.c: New file.
13556 * benchtests/bench-memmove.c: New file.
13557 * benchtests/bench-mempcpy-ifunc.c: New file.
13558 * benchtests/bench-mempcpy.c: New file.
13559 * benchtests/bench-memset-ifunc.c: New file.
13560 * benchtests/bench-memset.c: New file.
13561 * benchtests/bench-rawmemchr-ifunc.c: New file.
13562 * benchtests/bench-rawmemchr.c: New file.
13563 * benchtests/bench-stpcpy-ifunc.c: New file.
13564 * benchtests/bench-stpcpy.c: New file.
13565 * benchtests/bench-stpncpy-ifunc.c: New file.
13566 * benchtests/bench-stpncpy.c: New file.
13567 * benchtests/bench-strcasecmp-ifunc.c: New file.
13568 * benchtests/bench-strcasecmp.c: New file.
13569 * benchtests/bench-strcasestr-ifunc.c: New file.
13570 * benchtests/bench-strcasestr.c: New file.
13571 * benchtests/bench-strcat-ifunc.c: New file.
13572 * benchtests/bench-strcat.c: New file.
13573 * benchtests/bench-strchr-ifunc.c: New file.
13574 * benchtests/bench-strchr.c: New file.
13575 * benchtests/bench-strchrnul-ifunc.c: New file.
13576 * benchtests/bench-strchrnul.c: New file.
13577 * benchtests/bench-strcmp-ifunc.c: New file.
13578 * benchtests/bench-strcmp.c: New file.
13579 * benchtests/bench-strcpy-ifunc.c: New file.
13580 * benchtests/bench-strcpy.c: New file.
13581 * benchtests/bench-strcspn-ifunc.c: New file.
13582 * benchtests/bench-strcspn.c: New file.
13583 * benchtests/bench-strlen-ifunc.c: New file.
13584 * benchtests/bench-strlen.c: New file.
13585 * benchtests/bench-strncasecmp-ifunc.c: New file.
13586 * benchtests/bench-strncasecmp.c: New file.
13587 * benchtests/bench-strncat-ifunc.c: New file.
13588 * benchtests/bench-strncat.c: New file.
13589 * benchtests/bench-strncmp-ifunc.c: New file.
13590 * benchtests/bench-strncmp.c: New file.
13591 * benchtests/bench-strncpy-ifunc.c: New file.
13592 * benchtests/bench-strncpy.c: New file.
13593 * benchtests/bench-strnlen-ifunc.c: New file.
13594 * benchtests/bench-strnlen.c: New file.
13595 * benchtests/bench-strpbrk-ifunc.c: New file.
13596 * benchtests/bench-strpbrk.c: New file.
13597 * benchtests/bench-strrchr-ifunc.c: New file.
13598 * benchtests/bench-strrchr.c: New file.
13599 * benchtests/bench-strspn-ifunc.c: New file.
13600 * benchtests/bench-strspn.c: New file.
13601 * benchtests/bench-strstr-ifunc.c: New file.
13602 * benchtests/bench-strstr.c: New file.
13603
13604 * benchtests/Makefile: Disable parallel execution of targets.
13605 (string-bench): Add memcpy.
13606 (benchset): New variable to store a list of benchmark sets.
13607 (bench-func): Renamed from bench.
13608 (bench-set): New target.
13609 (bench): Depend on bench-func and bench-set.
13610 * benchtests/README: Add section on benchmark sets.
13611 * benchtests/bench-memcpy-ifunc.c: New file.
13612 * benchtests/bench-memcpy.c: New file.
13613 * benchtests/bench-string.h: New file.
13614
136152013-06-11 Andreas Schwab <schwab@suse.de>
13616
13617 [BZ #15577]
13618 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13619 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13620 values in the triple.
13621 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13622 terminator in the group key.
13623
136242013-06-11 Andreas Jaeger <aj@suse.de>
13625
13626 * po/zh_TW.po: Update Chinese (traditional) translation from
13627 translation project.
13628
136292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13630
13631 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13632 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13633 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13634 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13635 (clock_getcpuclockid): Likewise.
13636 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13637 Add weak_alias and libc_hidden_def.
13638 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13639 * rt/clock_gettime.c (clock_gettime): Rename to
13640 __clock_gettime. Add weak_alias and libc_hidden_def.
13641 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13642 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13643 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13644 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13645 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13646 Likewise.
13647 * rt/clock_settime.c (clock_settime): Rename to
13648 __clock_settime. Add weak_alias and libc_hidden_def.
13649 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13650
136512013-06-10 Joseph Myers <joseph@codesourcery.com>
13652
13653 * mach/err_boot.sub: Remove trailing whitespace.
13654 * mach/err_ipc.sub: Likewise.
13655 * mach/err_mach.sub: Likewise.
13656
13657 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13658 (ROUNDING_TESTS_double): Likewise.
13659 (ROUNDING_TESTS_long_double): Likewise.
13660 (ROUNDING_TESTS): Likewise.
13661 * math/libm-test.inc: Include <math-tests.h>.
13662 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13663 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13664 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13665 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13666
136672013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13668
13669 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13670 of assigning.
13671
136722013-06-08 Joseph Myers <joseph@codesourcery.com>
13673
13674 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13675 otherwise empty TRANS lines.
13676 * sysdeps/gnu/errlist.c: Regenerated.
13677
13678 * catgets/gencat.c (error_print): Use (void) in function
13679 definition.
13680 * crypt/crypt_util.c (__init_des): Likewise.
13681 * crypt/speeds.c (Stop): Likewise.
13682 (main): Likewise.
13683 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13684 * inet/ruserpass.c (token): Likewise.
13685 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13686 * intl/localealias.c (extend_alias_table): Likewise.
13687 * intl/plural-exp.c (init_germanic_plural): Likewise.
13688 * libio/fcloseall.c (__fcloseall): Likewise.
13689 * libio/genops.c (_IO_flush_all): Likewise.
13690 (_IO_flush_all_linebuffered): Likewise.
13691 (_IO_cleanup): Likewise.
13692 (_IO_iter_begin): Likewise.
13693 (_IO_iter_end): Likewise.
13694 (_IO_list_lock): Likewise.
13695 (_IO_list_unlock): Likewise.
13696 (_IO_list_resetlock): Likewise.
13697 * libio/getchar.c (getchar): Likewise.
13698 * libio/getchar_u.c (getchar_unlocked): Likewise.
13699 * libio/getwchar.c (getwchar): Likewise.
13700 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13701 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13702 * login/getpt.c (__getpt): Likewise.
13703 * login/tst-utmp.c (main): Likewise.
13704 * malloc/hooks.c (__malloc_check_init): Likewise.
13705 * malloc/malloc.c (__malloc_stats): Likewise.
13706 * malloc/mtrace.c (tr_break): Likewise.
13707 (mtrace): Likewise.
13708 (muntrace): Likewise.
13709 * misc/fstab.c (endfsent): Likewise.
13710 * misc/getclktck.c (__getclktck): Likewise.
13711 * misc/getdtsz.c (__getdtablesize): Likewise.
13712 * misc/gethostid.c (gethostid): Likewise.
13713 * misc/getpagesize.c (__getpagesize): Likewise.
13714 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13715 (__get_nprocs): Likewise.
13716 (__get_phys_pages): Likewise.
13717 (__get_avphys_pages): Likewise.
13718 * misc/getttyent.c (getttyent): Likewise.
13719 (setttyent): Likewise.
13720 (endttyent): Likewise.
13721 * misc/getusershell.c (getusershell): Likewise.
13722 (endusershell): Likewise.
13723 (setusershell): Likewise.
13724 (initshells): Likewise.
13725 * misc/hsearch.c (__hdestroy): Likewise.
13726 * misc/sync.c (sync): Likewise.
13727 * misc/syslog.c (closelog_internal): Likewise.
13728 (closelog): Likewise.
13729 * misc/ttyslot.c (ttyslot): Likewise.
13730 * misc/vhangup.c (vhangup): Likewise.
13731 * posix/fork.c (__fork): Likewise.
13732 * posix/getegid.c (__getegid): Likewise.
13733 * posix/geteuid.c (__geteuid): Likewise.
13734 * posix/getgid.c (__getgid): Likewise.
13735 * posix/getpid.c (__getpid): Likewise.
13736 * posix/getppid.c (__getppid): Likewise.
13737 * posix/getuid.c (__getuid): Likewise.
13738 * posix/pause.c (pause): Likewise.
13739 * posix/setpgrp.c (setpgrp): Likewise.
13740 * posix/setsid.c (__setsid): Likewise.
13741 * posix/test-vfork.c (noop): Likewise.
13742 * resolv/gethnamaddr.c (_endhtent): Likewise.
13743 (_gethtent): Likewise.
13744 (ht_endhostent): Likewise.
13745 (gethostent): Likewise.
13746 (dns_service): Likewise.
13747 * stdlib/drand48.c (drand48): Likewise.
13748 * stdlib/lrand48.c (lrand48): Likewise.
13749 * stdlib/mrand48.c (mrand48): Likewise.
13750 * stdlib/rand.c (rand): Likewise.
13751 * stdlib/random.c (__random): Likewise.
13752 * stdlib/setenv.c (clearenv): Likewise.
13753 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13754 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13755 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13756 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13757 (__get_nprocs): Likewise.
13758 (__get_phys_pages): Likewise.
13759 (__get_avphys_pages): Likewise.
13760 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13761 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13762 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13763 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13764 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13765 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13766 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13767 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13768 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13769 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13770 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13771 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13772 * sysdeps/posix/clock.c (clock): Likewise.
13773 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13774 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13775 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13776 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13777 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13778 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13779 (__get_nprocs_conf): Likewise.
13780 (__get_phys_pages): Likewise.
13781 (__get_avphys_pages): Likewise.
13782 * time/clock.c (clock): Likewise.
13783 * time/tzset.c (__tzname_max): Likewise.
13784
137852013-06-07 Joseph Myers <joseph@codesourcery.com>
13786
13787 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13788 (__bswap_32): Do not use "register".
13789 * crypt/crypt.c (_ufc_doit_r): Likewise.
13790 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13791 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13792 * gmon/gmon.c (__monstartup): Likewise.
13793 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13794 * hurd/hurdmalloc.c (more_memory): Likewise.
13795 (malloc): Likewise.
13796 (free): Likewise.
13797 (realloc): Likewise.
13798 (malloc_fork_prepare): Likewise.
13799 (malloc_fork_parent): Likewise.
13800 (malloc_fork_child): Likewise.
13801 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13802 (_svcauth_des): Likewise.
13803 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13804 * inet/inet_net.c (inet_network): Likewise.
13805 * inet/inet_netof.c (inet_netof): Likewise.
13806 * inet/rcmd.c (__validuser2_sa): Likewise.
13807 * io/fts.c (fts_open): Likewise.
13808 (fts_load): Likewise.
13809 (fts_close): Likewise.
13810 (fts_read): Likewise.
13811 (fts_children): Likewise.
13812 (fts_build): Likewise.
13813 (fts_stat): Likewise.
13814 (fts_sort): Likewise.
13815 (fts_alloc): Likewise.
13816 (fts_lfree): Likewise.
13817 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13818 (_IO_file_xsgetn): Likewise.
13819 (_IO_file_xsgetn_mmap): Likewise.
13820 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13821 (_IO_cookie_write): Likewise.
13822 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13823 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13824 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13825 * malloc/obstack.c (_obstack_begin): Likewise.
13826 (_obstack_begin_1): Likewise.
13827 (_obstack_newchunk): Likewise.
13828 (_obstack_allocated_p): Likewise.
13829 (obstack_free): Likewise.
13830 (_obstack_memory_used): Likewise.
13831 * misc/getttyent.c (getttynam): Likewise.
13832 (getttyent): Likewise.
13833 (skip): Likewise.
13834 (value): Likewise.
13835 * misc/getusershell.c (initshells): Likewise.
13836 * misc/syslog.c (__vsyslog_chk): Likewise.
13837 * misc/ttyslot.c (ttyslot): Likewise.
13838 * nis/nis_hash.c (__nis_hash): Likewise.
13839 * posix/fnmatch_loop.c (FCT): Likewise.
13840 * posix/getconf.c (print_all): Likewise.
13841 (main): Likewise.
13842 * posix/getopt.c (exchange): Likewise.
13843 * posix/glob.c (globfree): Likewise.
13844 (prefix_array): Likewise.
13845 (__glob_pattern_type): Likewise.
13846 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13847 (NS_GET32): Likewise.
13848 (NS_PUT16): Likewise.
13849 (NS_PUT32): Likewise.
13850 * resolv/gethnamaddr.c (getanswer): Likewise.
13851 (gethostbyname2): Likewise.
13852 (gethostbyaddr): Likewise.
13853 (_gethtent): Likewise.
13854 (_gethtbyname2): Likewise.
13855 (_gethtbyaddr): Likewise.
13856 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13857 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13858 * resolv/res_init.c (__res_vinit): Likewise.
13859 (net_mask): Likewise.
13860 * resolv/res_mkquery.c (outchar): Likewise.
13861 (PRINT): Likewise.
13862 * stdio-common/printf_fp.c (outchar): Likewise.
13863 (PRINT): Likewise.
13864 * stdio-common/printf_fphex.c (outchar): Likewise.
13865 (PRINT): Likewise.
13866 * stdio-common/printf_size.c (outchar): Likewise.
13867 (PRINT): Likewise.
13868 * stdio-common/test_rdwr.c (main): Likewise.
13869 * stdio-common/tfformat.c (matches): Likewise.
13870 * stdio-common/vfprintf.c (outchar): Likewise.
13871 (printf_unknown): Likewise.
13872 (buffered_vfprintf): Likewise.
13873 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13874 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13875 (ReadFile): Likewise.
13876 * stdlib/qsort.c (SWAP): Likewise.
13877 (_quicksort): Likewise.
13878 * stdlib/setenv.c (__add_to_environ): Likewise.
13879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13880 * stdlib/strtol_l.c (__strtol_l): Likewise.
13881 * stdlib/tst-strtod.c (main): Likewise.
13882 * stdlib/tst-strtol.c (main): Likewise.
13883 * stdlib/tst-strtoll.c (main): Likewise.
13884 * string/bits/string2.h (__strcmp_cc): Likewise.
13885 (__strcmp_cg): Likewise.
13886 (__strcspn_c1): Likewise.
13887 (__strcspn_c2): Likewise.
13888 (__strcspn_c3): Likewise.
13889 (__strspn_c1): Likewise.
13890 (__strspn_c2): Likewise.
13891 (__strspn_c3): Likewise.
13892 (__strsep_1c): Likewise.
13893 (__strsep_2c): Likewise.
13894 (__strsep_3c): Likewise.
13895 * string/memccpy.c (__memccpy): Likewise.
13896 * string/stpcpy.c (__stpcpy): Likewise.
13897 * string/strcmp.c (strcmp): Likewise.
13898 * string/strrchr.c (strrchr): Likewise.
13899 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13900 Likewise.
13901 * sysdeps/mach/hurd/getcwd.c
13902 (_hurd_canonicalize_directory_name_internal): Likewise.
13903 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13904 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13905 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13906 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13907 Likewise, in both definitions.
13908 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13909 definitions.
13910 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13911 64] (__bswap_64): Likewise.
13912 * time/test_time.c (main): Likewise.
13913 * time/tzfile.c (__tzfile_read): Likewise.
13914 (__tzfile_compute): Likewise.
13915 * time/tzset.c (__tzset_parse_tz): Likewise.
13916 (tzset_internal): Likewise.
13917 (compute_change): Likewise.
13918 * wcsmbs/wcscat.c (__wcscat): Likewise.
13919 * wcsmbs/wcschr.c (wcschr): Likewise.
13920 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13921 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13922 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13923 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13924 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13925 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13926 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13927 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13928 * wcsmbs/wmemset.c (wmemset): Likewise.
13929
139302013-06-06 Joseph Myers <joseph@codesourcery.com>
13931
13932 * scripts/config.guess: Update to version 2013-05-16.
13933 * scripts/config.sub: Update to version 2013-04-24.
13934 * scripts/install-sh: Update to version 2011-11-20.07.
13935 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13936 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13937
139382013-06-06 Ondřej Bílka <neleai@seznam.cz>
13939
13940 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13941 * elf/sln.c: Likewise.
13942 * hurd/hurd/ioctl.h: Likewise.
13943 * hurd/hurdmalloc.c: Likewise.
13944 * hurd/xattr.c: Likewise.
13945 * include/shlib-compat.h: Likewise.
13946 * inet/ruserpass.c: Likewise.
13947 * libio/iofgets_u.c: Likewise.
13948 * libio/iofgetws_u.c: Likewise.
13949 * locale/programs/ld-identification.c: Likewise.
13950 * locale/programs/ld-time.c: Likewise.
13951 * mach/msg-destroy.c: Likewise.
13952 * nss/nss_files/files-netgrp.c: Likewise.
13953 * resolv/res_data.c: Likewise.
13954 * soft-fp/op-1.h: Likewise.
13955 * soft-fp/op-2.h: Likewise.
13956 * soft-fp/op-4.h: Likewise.
13957 * soft-fp/op-common.h: Likewise.
13958 * stdio-common/printf_fphex.c: Likewise.
13959 * stdlib/strtod_l.c: Likewise.
13960 * sunrpc/rpc/clnt.h: Likewise.
13961 * sysdeps/generic/framestate.c: Likewise.
13962 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13963 * sysdeps/i386/bsd-setjmp.S: Likewise.
13964 * sysdeps/i386/__longjmp.S: Likewise.
13965 * sysdeps/i386/setjmp.S: Likewise.
13966 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13967 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13968 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13969 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13970 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13971 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13972 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13973 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13975 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13976 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13977 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13978 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13979 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13980 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13981 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13982 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13984 * sysdeps/ieee754/support.c: Likewise.
13985 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13986 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13987 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13988 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13989 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13990 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13991 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13992 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13993 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13994 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13995 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13996 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13997 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13998 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13999 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14000 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14001 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14003
140042013-06-05 Ondřej Bílka <neleai@seznam.cz>
14005
14006 * posix/transbug.c: Remove executable mode.
14007
140082013-06-05 Joseph Myers <joseph@codesourcery.com>
14009
14010 * crypt/speeds.c: Remove trailing whitespace.
14011 * dlfcn/default.c: Likewise.
14012 * elf/ifuncdep2.c: Likewise.
14013 * elf/ifuncmain1.c: Likewise.
14014 * elf/ifuncmain1vis.c: Likewise.
14015 * elf/testobj.h: Likewise.
14016 * elf/tst-stackguard1.c: Likewise.
14017 * gmon/sys/gmon.h: Likewise.
14018 * hurd/hurdmsg.c: Likewise.
14019 * hurd/new-fd.c: Likewise.
14020 * hurd/ports-get.c: Likewise.
14021 * iconvdata/ibm1008_420.c: Likewise.
14022 * inet/tst-getni1.c: Likewise.
14023 * inet/tst-getni2.c: Likewise.
14024 * libio/ioungetc.c: Likewise.
14025 * libio/wfiledoalloc.c: Likewise.
14026 * manual/libm-err-tab.pl: Likewise.
14027 * math/w_dremf.c: Likewise.
14028 * misc/ftruncate.c: Likewise.
14029 * posix/bug-glob2.c: Likewise.
14030 * posix/tst-pcre.c: Likewise.
14031 * posix/wait4.c: Likewise.
14032 * resolv/README: Likewise.
14033 * resolv/res_debug.h: Likewise.
14034 * resolv/tst-inet_ntop.c: Likewise.
14035 * setjmp/bug269-setjmp.c: Likewise.
14036 * soft-fp/extended.h: Likewise.
14037 * soft-fp/op-1.h: Likewise.
14038 * soft-fp/op-2.h: Likewise.
14039 * soft-fp/op-4.h: Likewise.
14040 * soft-fp/op-8.h: Likewise.
14041 * soft-fp/testit.c: Likewise.
14042 * stdio-common/bug16.c: Likewise.
14043 * stdlib/random.c: Likewise.
14044 * sunrpc/rpcsvc/rquota.x: Likewise.
14045 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14046 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14047 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14048 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14049 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14050 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14051 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14052 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14053 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14054 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14055 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14056 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14057 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14058 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14059 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14060 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14061 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14062 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14063 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14064 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14065 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14066 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14067 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14068 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14069 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14070 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14071 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14072 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14073 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14074 * sysdeps/ieee754/s_lib_version.c: Likewise.
14075 * sysdeps/mach/hurd/check_fds.c: Likewise.
14076 * sysdeps/mach/hurd/getsockname.c: Likewise.
14077 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14078 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14079 * sysdeps/powerpc/bits/link.h: Likewise.
14080 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14081 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14082 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14083 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14084 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14085 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14086 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14087 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14088 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14089 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14090 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14091 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14092 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14093 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14094 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14095 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14096 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14097 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14098 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14099 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14100 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14101 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14102 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14103 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14104 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14105 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14106 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14107 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14108 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14109 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14110 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14111 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14112 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14113 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14114 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14115 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14116 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14117 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14118 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14119 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14120 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14121 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14122 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14123 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14124 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14125 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14126 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14127 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14128 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14129 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14130 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14132 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14133 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14134 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14135 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14136 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14137 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14138 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14139 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14140 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14141 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14142 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14143 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14144 * sysdeps/powerpc/sysdep.h: Likewise.
14145 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14146 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14147 * sysdeps/sh/dl-trampoline.S: Likewise.
14148 * sysdeps/sh/memset.S: Likewise.
14149 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14150 * sysdeps/sh/strlen.S: Likewise.
14151 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14152 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14153 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14154 * sysdeps/sparc/sparc32/rem.S: Likewise.
14155 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14156 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14157 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14158 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14159 * sysdeps/sparc/sparc32/urem.S: Likewise.
14160 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14161 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14162 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14163 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14164 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14165 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14166 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14167 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14168 * sysdeps/unix/bsd/times.c: Likewise.
14169 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14170 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14174 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14175 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14176 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14177 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14178 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14179 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14180 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14181 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14182 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14183 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14184 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14185 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14186 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14187 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14188 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14189 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14190 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14191 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14192 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14193 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14194 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14195 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14196 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14197 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14198 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14199 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14200 * sysdeps/x86_64/strcspn.S: Likewise.
14201
142022013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14203
14204 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14205 generated file. Regenerate properly from gen-translit.pl.
14206 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14207 locale/C-translit.h.
14208
142092013-06-05 Andreas Schwab <schwab@suse.de>
14210
14211 [BZ #15100]
14212 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14213 week as 6 instead of -1.
14214 * time/tst-strptime.c (day_tests): Add test case.
14215
142162013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14217
14218 * sysdeps/generic/math_private.h
14219 (libc_feholdexcept_setround_53bit): Replace with
14220 libc_feholdsetround_53bit.
14221 (libc_feupdateenv_53bit): Replace with
14222 libc_feresetround_53bit.
14223 (SET_RESTORE_ROUND_53BIT): Adjust.
14224
142252013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14226
14227 * string/test-strchrnul.c: Add copyright header.
14228
14229 * posix/tst-getaddrinfo4.c: Increase test timeout.
14230
142312013-06-03 Carlos O'Donell <carlos@redhat.com>
14232
14233 [BZ #15536]
14234 * math/libm-test.inc (MAX_EXP): Remove
14235 (MIN_EXP): Define.
14236 (ulp): Use MIN_EXP - MANT_DIG.
14237 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14238
142392013-05-31 Carlos O'Donell <carlos@redhat.com>
14240
14241 * po/be.po: Revert last change.
14242 * po/zh_CN.po: Likewise.
14243 * po/header.pot: Likewise.
14244
142452013-05-31 Joseph Myers <joseph@codesourcery.com>
14246
14247 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14248 link-libc-deps to empty as target-specific variable.
14249 * Makerules (link-libc-args): New variable.
14250 (libc-for-link): Likewise.
14251 (link-libc-deps): Likewise.
14252 (lib%.so): Depend on $(link-libc-deps). Link with
14253 $(link-libc-args).
14254 (build-module): Link with $(link-libc-args).
14255 (build-module-asneeded): Likewise.
14256 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14257 list of objects.
14258 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14259 target-specific variable.
14260 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14261 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14262 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14263 libc.
14264 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14265 libc and ld.so.
14266 ($(objpfx)libpcprofile.so): Likewise.
14267 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14268 libc_nonshared.a.
14269 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14270 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14271 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14272 $(link-libc-deps).
14273 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14274 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14275 * login/Makefile ($(objpfx)libutil.so): Likewise.
14276 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14277 * math/Makefile ($(objpfx)libm.so): Likewise.
14278 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14279 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14280 variable instead of depending directly on libc.
14281 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14282 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14283 $(link-libc-deps).
14284 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14285 libc.
14286 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14287 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14288 ($(objpfx)libanl.so): Likewise.
14289 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14290 ld.so.
14291 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14292 $(link-libc-deps).
14293 * sysdeps/i386/fpu/Makefile: Remove file.
14294 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14295 ($(objpfx)libm.so): Remove dependency on ld.so.
14296
142972013-05-30 Patsy Franklin <pfrankli@redhat.com>
14298
14299 [BZ # 15553]
14300 * nis/yp_xdr.c (XDRMAXNAME): Define.
14301 (XDRMAXRECORD): Define.
14302 (xdr_domainname): Use XDRMAXNAME.
14303 (xdr_mapname): Likewise.
14304 (xdr_peername): Likewise.
14305 (xdr_keydat): Use XDRMAXRECORD.
14306 (xdr_valdat): Likewise.
14307
143082013-05-30 Jeff Law <law@redhat.com>
14309
14310 [BZ #14256]
14311 * manual/errno.texi (ESTALE): Update to account for more than
14312 just NFS file systems.
14313 * sysdeps/gnu/errlist.c: Regenerated.
14314
143152013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14316
14317 [BZ #15465]
14318 * elf/Makefile (tests): Add tst-null-argv.
14319 (modules-names): Add tst-null-argv-lib.
14320 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14321 (tst-null-argv-ENV): Set environment for tst-null-argv.
14322 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14323 (RTLD_PROGNAME): New macro.
14324 * elf/tst-null-argv.c: New test case.
14325 * elf/tst-null-argv-lib.c: Library for test case.
14326 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14327 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14328 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14329 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14330 * elf/dl-init.c (call_init): Likewise.
14331 (_dl_init): Likewise.
14332 * elf/dl-load.c (print_search_path): Likewise.
14333 (_dl_map_object): Likewise.
14334 * elf/dl-lookup.c (do_lookup_x): Likewise.
14335 (add_dependency): Likewise.
14336 (_dl_lookup_symbol_x): Likewise.
14337 (_dl_debug_bindings): Likewise.
14338 * elf/dl-open.c (_dl_show_scope): Likewise.
14339 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14340 * elf/dl-version.c (match_symbol): Likewise.
14341 (_dl_check_map_versions): Likewise.
14342 * elf/rtld.c (dl_main): Likewise.
14343 (print_unresolved): Use RTLD_PROGNAME.
14344 (print_missing_version): Likewise.
14345 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14346 (elf_machine_rela): Likewise.
14347 * sysdeps/powerpc/powerpc32/dl-machine.c
14348 (__process_machine_rela): Likewise.
14349 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14350 Likewise.
14351 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14352 Likewise.
14353 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14354 Likewise.
14355 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14356 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14357 Likewise.
14358 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14359 Likewise.
14360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14361
143622013-05-28 Carlos O'Donell <carlos@redhat.com>
14363
14364 * po/be.po: Add descriptive title.
14365 * po/zh_CN.po: Likewise.
14366 * po/header.pot: Likewise.
14367
143682013-05-28 Mike Frysinger <vapier@gentoo.org>
14369
14370 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14371 error message.
14372 (enlarge_archive): Likewise.
14373
143742013-05-28 Ben North <ben@redfrontdoor.org>
14375
14376 * manual/arith.texi (frexp): It is the magnitude of the return
14377 value which lies in [0.5, 1), not the return value itself.
14378
143792013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14380
14381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14382
143832013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14384
14385 * stdio-common/bug26.c (main): Correct fscanf template.
14386
14387 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14388 declare _dl_skip_args.
14389
14390 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14391 Don't declare.
14392
14393 * manual/platform.texi: Add missing @end deftypefun.
14394
143952013-05-24 Joseph Myers <joseph@codesourcery.com>
14396
14397 [BZ #15529]
14398 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14399 bit of mantissa of 2^16382.
14400 * math/libm-test.inc (hypot_test_data): Add more tests.
14401
14402 * math/libm-test.inc: Add drem and pow10 to list of tested
14403 functions.
14404 (pow10_test): New function.
14405 (drem_test): Likewise.
14406 (drem_test_tonearest): Likewise.
14407 (drem_test_towardzero): Likewise.
14408 (drem_test_downward): Likewise.
14409 (drem_test_upward): Likewise.
14410 (main): Call the new functions.
14411
14412 * math/libm-test.inc (finite_test_data): Remove.
14413 (finite_test): Run tests from isfinite_test_data.
14414 (gamma_test_data): Remove.
14415 (gamma_test): Run tests from lgamma_test_data.
14416 * sysdeps/i386/fpu/libm-test-ulps: Update.
14417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14418
144192013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14420
14421 * manual/platform.texi: Add PowerPC PPR function set documentation.
14422 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14423 implementation.
14424
144252013-05-24 Carlos O'Donell <carlos@redhat.com>
14426
14427 * math/libm-test.inc (MAX_EXP): Define.
14428 (ULPDIFF): Define.
14429 (ulp): New function.
14430 (check_float_internal): Use ULPDIFF.
14431 (cpow_test): Disable failing test.
14432 (check_ulp): Test ulp() implemetnation.
14433 (main): Call check_ulp before starting tests.
14434
144352013-05-24 Joseph Myers <joseph@codesourcery.com>
14436
14437 * math/gen-libm-test.pl (generate_testfile): Do not handle
14438 START_DATA and END_DATA.
14439 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14440 END_DATA.
14441 (acos_tonearest_test_data): Likewise.
14442 (acos_towardzero_test_data): Likewise.
14443 (acos_downward_test_data): Likewise.
14444 (acos_upward_test_data): Likewise.
14445 (acosh_test_data): Likewise.
14446 (asin_test_data): Likewise.
14447 (asin_tonearest_test_data): Likewise.
14448 (asin_towardzero_test_data): Likewise.
14449 (asin_downward_test_data): Likewise.
14450 (asin_upward_test_data): Likewise.
14451 (asinh_test_data): Likewise.
14452 (atan_test_data): Likewise.
14453 (atanh_test_data): Likewise.
14454 (atan2_test_data): Likewise.
14455 (cabs_test_data): Likewise.
14456 (cacos_test_data): Likewise.
14457 (cacosh_test_data): Likewise.
14458 (carg_test_data): Likewise.
14459 (casin_test_data): Likewise.
14460 (casinh_test_data): Likewise.
14461 (catan_test_data): Likewise.
14462 (catanh_test_data): Likewise.
14463 (cbrt_test_data): Likewise.
14464 (ccos_test_data): Likewise.
14465 (ccosh_test_data): Likewise.
14466 (ceil_test_data): Likewise.
14467 (cexp_test_data): Likewise.
14468 (cimag_test_data): Likewise.
14469 (clog_test_data): Likewise.
14470 (clog10_test_data): Likewise.
14471 (conj_test_data): Likewise.
14472 (copysign_test_data): Likewise.
14473 (cos_test_data): Likewise.
14474 (cos_tonearest_test_data): Likewise.
14475 (cos_towardzero_test_data): Likewise.
14476 (cos_downward_test_data): Likewise.
14477 (cos_upward_test_data): Likewise.
14478 (cosh_test_data): Likewise.
14479 (cosh_tonearest_test_data): Likewise.
14480 (cosh_towardzero_test_data): Likewise.
14481 (cosh_downward_test_data): Likewise.
14482 (cosh_upward_test_data): Likewise.
14483 (cpow_test_data): Likewise.
14484 (cproj_test_data): Likewise.
14485 (creal_test_data): Likewise.
14486 (csin_test_data): Likewise.
14487 (csinh_test_data): Likewise.
14488 (csqrt_test_data): Likewise.
14489 (ctan_test_data): Likewise.
14490 (ctan_tonearest_test_data): Likewise.
14491 (ctan_towardzero_test_data): Likewise.
14492 (ctan_downward_test_data): Likewise.
14493 (ctan_upward_test_data): Likewise.
14494 (ctanh_test_data): Likewise.
14495 (ctanh_tonearest_test_data): Likewise.
14496 (ctanh_towardzero_test_data): Likewise.
14497 (ctanh_downward_test_data): Likewise.
14498 (ctanh_upward_test_data): Likewise.
14499 (erf_test_data): Likewise.
14500 (erfc_test_data): Likewise.
14501 (exp_test_data): Likewise.
14502 (exp_tonearest_test_data): Likewise.
14503 (exp_towardzero_test_data): Likewise.
14504 (exp_downward_test_data): Likewise.
14505 (exp_upward_test_data): Likewise.
14506 (exp10_test_data): Likewise.
14507 (exp2_test_data): Likewise.
14508 (expm1_test_data): Likewise.
14509 (fabs_test_data): Likewise.
14510 (fdim_test_data): Likewise.
14511 (finite_test_data): Likewise.
14512 (floor_test_data): Likewise.
14513 (fma_test_data): Likewise.
14514 (fma_towardzero_test_data): Likewise.
14515 (fma_downward_test_data): Likewise.
14516 (fma_upward_test_data): Likewise.
14517 (fmax_test_data): Likewise.
14518 (fmin_test_data): Likewise.
14519 (fmod_test_data): Likewise.
14520 (fpclassify_test_data): Likewise.
14521 (frexp_test_data): Likewise.
14522 (gamma_test_data): Likewise.
14523 (hypot_test_data): Likewise.
14524 (ilogb_test_data): Likewise.
14525 (isfinite_test_data): Likewise.
14526 (isgreater_test_data): Likewise.
14527 (isgreaterequal_test_data): Likewise.
14528 (isinf_test_data): Likewise.
14529 (isless_test_data): Likewise.
14530 (islessequal_test_data): Likewise.
14531 (islessgreater_test_data): Likewise.
14532 (isnan_test_data): Likewise.
14533 (isnormal_test_data): Likewise.
14534 (issignaling_test_data): Likewise.
14535 (isunordered_test_data): Likewise.
14536 (j0_test_data): Likewise.
14537 (j1_test_data): Likewise.
14538 (jn_test_data): Likewise.
14539 (ldexp_test_data): Likewise.
14540 (lgamma_test_data): Likewise.
14541 (lrint_test_data): Likewise.
14542 (lrint_tonearest_test_data): Likewise.
14543 (lrint_towardzero_test_data): Likewise.
14544 (lrint_downward_test_data): Likewise.
14545 (lrint_upward_test_data): Likewise.
14546 (llrint_test_data): Likewise.
14547 (llrint_tonearest_test_data): Likewise.
14548 (llrint_towardzero_test_data): Likewise.
14549 (llrint_downward_test_data): Likewise.
14550 (llrint_upward_test_data): Likewise.
14551 (log_test_data): Likewise.
14552 (log10_test_data): Likewise.
14553 (log1p_test_data): Likewise.
14554 (log2_test_data): Likewise.
14555 (logb_test_data): Likewise.
14556 (logb_downward_test_data): Likewise.
14557 (lround_test_data): Likewise.
14558 (llround_test_data): Likewise.
14559 (modf_test_data): Likewise.
14560 (nearbyint_test_data): Likewise.
14561 (nextafter_test_data): Likewise.
14562 (nexttoward_test_data): Likewise.
14563 (pow_test_data): Likewise.
14564 (pow_tonearest_test_data): Likewise.
14565 (pow_towardzero_test_data): Likewise.
14566 (pow_downward_test_data): Likewise.
14567 (pow_upward_test_data): Likewise.
14568 (remainder_test_data): Likewise.
14569 (remainder_tonearest_test_data): Likewise.
14570 (remainder_towardzero_test_data): Likewise.
14571 (remainder_downward_test_data): Likewise.
14572 (remainder_upward_test_data): Likewise.
14573 (remquo_test_data): Likewise.
14574 (rint_test_data): Likewise.
14575 (rint_tonearest_test_data): Likewise.
14576 (rint_towardzero_test_data): Likewise.
14577 (rint_downward_test_data): Likewise.
14578 (rint_upward_test_data): Likewise.
14579 (round_test_data): Likewise.
14580 (scalb_test_data): Likewise.
14581 (scalbn_test_data): Likewise.
14582 (scalbln_test_data): Likewise.
14583 (signbit_test_data): Likewise.
14584 (sin_test_data): Likewise.
14585 (sin_tonearest_test_data): Likewise.
14586 (sin_towardzero_test_data): Likewise.
14587 (sin_downward_test_data): Likewise.
14588 (sin_upward_test_data): Likewise.
14589 (sincos_test_data): Likewise.
14590 (sinh_test_data): Likewise.
14591 (sinh_tonearest_test_data): Likewise.
14592 (sinh_towardzero_test_data): Likewise.
14593 (sinh_downward_test_data): Likewise.
14594 (sinh_upward_test_data): Likewise.
14595 (sqrt_test_data): Likewise.
14596 (tan_test_data): Likewise.
14597 (tan_tonearest_test_data): Likewise.
14598 (tan_towardzero_test_data): Likewise.
14599 (tan_downward_test_data): Likewise.
14600 (tan_upward_test_data): Likewise.
14601 (tanh_test_data): Likewise.
14602 (tgamma_test_data): Likewise.
14603 (trunc_test_data): Likewise.
14604 (y0_test_data): Likewise.
14605 (y1_test_data): Likewise.
14606 (yn_test_data): Likewise.
14607 (significand_test_data): Likewise.
14608
14609 * math/gen-libm-test.pl (@functions): Remove variable.
14610 (generate_testfile): Don't handle START and END lines.
14611 * math/libm-test.inc (START): New macro.
14612 (END): Likewise.
14613 (END_COMPLEX): Likewise.
14614 (acos_test): Use END macro without arguments.
14615 (acos_test_tonearest): Likewise.
14616 (acos_test_towardzero): Likewise.
14617 (acos_test_downward): Likewise.
14618 (acos_test_upward): Likewise.
14619 (acosh_test): Likewise.
14620 (asin_test): Likewise.
14621 (asin_test_tonearest): Likewise.
14622 (asin_test_towardzero): Likewise.
14623 (asin_test_downward): Likewise.
14624 (asin_test_upward): Likewise.
14625 (asinh_test): Likewise.
14626 (atan_test): Likewise.
14627 (atanh_test): Likewise.
14628 (atan2_test): Likewise.
14629 (cabs_test): Likewise.
14630 (cacos_test): Use END_COMPLEX macro without arguments.
14631 (cacosh_test): Likewise.
14632 (carg_test): Use END macro without arguments.
14633 (casin_test): Use END_COMPLEX macro without arguments.
14634 (casinh_test): Likewise.
14635 (catan_test): Likewise.
14636 (catanh_test): Likewise.
14637 (cbrt_test): Use END macro without arguments.
14638 (ccos_test): Use END_COMPLEX macro without arguments.
14639 (ccosh_test): Likewise.
14640 (ceil_test): Use END macro without arguments.
14641 (cexp_test): Use END_COMPLEX macro without arguments.
14642 (cimag_test): Use END macro without arguments.
14643 (clog_test): Use END_COMPLEX macro without arguments.
14644 (clog10_test): Likewise.
14645 (conj_test): Likewise.
14646 (copysign_test): Use END macro without arguments.
14647 (cos_test): Likewise.
14648 (cos_test_tonearest): Likewise.
14649 (cos_test_towardzero): Likewise.
14650 (cos_test_downward): Likewise.
14651 (cos_test_upward): Likewise.
14652 (cosh_test): Likewise.
14653 (cosh_test_tonearest): Likewise.
14654 (cosh_test_towardzero): Likewise.
14655 (cosh_test_downward): Likewise.
14656 (cosh_test_upward): Likewise.
14657 (cpow_test): Use END_COMPLEX macro without arguments.
14658 (cproj_test): Likewise.
14659 (creal_test): Use END macro without arguments.
14660 (csin_test): Use END_COMPLEX macro without arguments.
14661 (csinh_test): Likewise.
14662 (csqrt_test): Likewise.
14663 (ctan_test): Likewise.
14664 (ctan_test_tonearest): Likewise.
14665 (ctan_test_towardzero): Likewise.
14666 (ctan_test_downward): Likewise.
14667 (ctan_test_upward): Likewise.
14668 (ctanh_test): Likewise.
14669 (ctanh_test_tonearest): Likewise.
14670 (ctanh_test_towardzero): Likewise.
14671 (ctanh_test_downward): Likewise.
14672 (ctanh_test_upward): Likewise.
14673 (erf_test): Use END macro without arguments.
14674 (erfc_test): Likewise.
14675 (exp_test): Likewise.
14676 (exp_test_tonearest): Likewise.
14677 (exp_test_towardzero): Likewise.
14678 (exp_test_downward): Likewise.
14679 (exp_test_upward): Likewise.
14680 (exp10_test): Likewise.
14681 (exp2_test): Likewise.
14682 (expm1_test): Likewise.
14683 (fabs_test): Likewise.
14684 (fdim_test): Likewise.
14685 (finite_test): Likewise.
14686 (floor_test): Likewise.
14687 (fma_test): Likewise.
14688 (fma_test_towardzero): Likewise.
14689 (fma_test_downward): Likewise.
14690 (fma_test_upward): Likewise.
14691 (fmax_test): Likewise.
14692 (fmin_test): Likewise.
14693 (fmod_test): Likewise.
14694 (fpclassify_test): Likewise.
14695 (frexp_test): Likewise.
14696 (gamma_test): Likewise.
14697 (hypot_test): Likewise.
14698 (ilogb_test): Likewise.
14699 (isfinite_test): Likewise.
14700 (isgreater_test): Likewise.
14701 (isgreaterequal_test): Likewise.
14702 (isinf_test): Likewise.
14703 (isless_test): Likewise.
14704 (islessequal_test): Likewise.
14705 (islessgreater_test): Likewise.
14706 (isnan_test): Likewise.
14707 (isnormal_test): Likewise.
14708 (issignaling_test): Likewise.
14709 (isunordered_test): Likewise.
14710 (j0_test): Likewise.
14711 (j1_test): Likewise.
14712 (jn_test): Likewise.
14713 (ldexp_test): Likewise.
14714 (lgamma_test): Likewise.
14715 (lrint_test): Likewise.
14716 (lrint_test_tonearest): Likewise.
14717 (lrint_test_towardzero): Likewise.
14718 (lrint_test_downward): Likewise.
14719 (lrint_test_upward): Likewise.
14720 (llrint_test): Likewise.
14721 (llrint_test_tonearest): Likewise.
14722 (llrint_test_towardzero): Likewise.
14723 (llrint_test_downward): Likewise.
14724 (llrint_test_upward): Likewise.
14725 (log_test): Likewise.
14726 (log10_test): Likewise.
14727 (log1p_test): Likewise.
14728 (log2_test): Likewise.
14729 (logb_test): Likewise.
14730 (logb_test_downward): Likewise.
14731 (lround_test): Likewise.
14732 (llround_test): Likewise.
14733 (modf_test): Likewise.
14734 (nearbyint_test): Likewise.
14735 (nextafter_test): Likewise.
14736 (nexttoward_test): Likewise.
14737 (pow_test): Likewise.
14738 (pow_test_tonearest): Likewise.
14739 (pow_test_towardzero): Likewise.
14740 (pow_test_downward): Likewise.
14741 (pow_test_upward): Likewise.
14742 (remainder_test): Likewise.
14743 (remainder_test_tonearest): Likewise.
14744 (remainder_test_towardzero): Likewise.
14745 (remainder_test_downward): Likewise.
14746 (remainder_test_upward): Likewise.
14747 (remquo_test): Likewise.
14748 (rint_test): Likewise.
14749 (rint_test_tonearest): Likewise.
14750 (rint_test_towardzero): Likewise.
14751 (rint_test_downward): Likewise.
14752 (rint_test_upward): Likewise.
14753 (round_test): Likewise.
14754 (scalb_test): Likewise.
14755 (scalbn_test): Likewise.
14756 (scalbln_test): Likewise.
14757 (signbit_test): Likewise.
14758 (sin_test): Likewise.
14759 (sin_test_tonearest): Likewise.
14760 (sin_test_towardzero): Likewise.
14761 (sin_test_downward): Likewise.
14762 (sin_test_upward): Likewise.
14763 (sincos_test): Likewise.
14764 (sinh_test): Likewise.
14765 (sinh_test_tonearest): Likewise.
14766 (sinh_test_towardzero): Likewise.
14767 (sinh_test_downward): Likewise.
14768 (sinh_test_upward): Likewise.
14769 (sqrt_test): Likewise.
14770 (tan_test): Likewise.
14771 (tan_test_tonearest): Likewise.
14772 (tan_test_towardzero): Likewise.
14773 (tan_test_downward): Likewise.
14774 (tan_test_upward): Likewise.
14775 (tanh_test): Likewise.
14776 (tgamma_test): Likewise.
14777 (trunc_test): Likewise.
14778 (y0_test): Likewise.
14779 (y1_test): Likewise.
14780 (yn_test): Likewise.
14781 (significand_test): Likewise.
14782
147832013-05-24 Ondřej Bílka <neleai@seznam.cz>
14784
14785 [BZ #15381]
14786 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14787
147882013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14789
14790 [BZ #14894]
14791 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14792 __ppc_mdoio and __ppc_mdoom.
14793 * manual/platform.texi: Document new functions __ppc_yield,
14794 __ppc_mdoio and __ppc_mdoom.
14795
147962013-05-22 Carlos O'Donell <carlos@redhat.com>
14797
14798 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14799 (main): Mention "tls" pseudo-hwcap is legacy.
14800 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14801
148022013-05-22 Joseph Myers <joseph@codesourcery.com>
14803
14804 * math/gen-libm-test.pl (parse_args): Output only string of
14805 arguments as text for test name, not full call or descriptions of
14806 tests for extra outputs.
14807 (generate_testfile): Do not pass function name to parse_args.
14808 Generate this_func variable from START.
14809 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14810 field to arg_str.
14811 (struct test_ff_f_data): Likewise.
14812 (test_ff_f_data_nexttoward): Likewise.
14813 (struct test_fi_f_data): Likewise.
14814 (struct test_fl_f_data): Likewise.
14815 (struct test_if_f_data): Likewise.
14816 (struct test_fff_f_data): Likewise.
14817 (struct test_c_f_data): Likewise.
14818 (struct test_f_f1_data): Likewise. Remove field extra_name.
14819 (struct test_fF_f1_data): Likewise.
14820 (struct test_ffI_f1_data): Likewise.
14821 (struct test_c_c_data): Rename test_name field to arg_str.
14822 (struct test_cc_c_data): Likewise.
14823 (struct test_f_i_data): Likewise.
14824 (struct test_ff_i_data): Likewise.
14825 (struct test_f_l_data): Likewise.
14826 (struct test_f_L_data): Likewise.
14827 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14828 and extra2_name.
14829 (COMMON_TEST_SETUP): New macro.
14830 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14831 (COMMON_TEST_CLEANUP): Likewise.
14832 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14833 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14834 macros.
14835 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14836 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14837 macros.
14838 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14839 (RUN_TEST_fff_f): Take argument string. Call new setup and
14840 cleanup macros.
14841 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14842 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14843 macros.
14844 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14845 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14846 macros.
14847 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14848 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14849 cleanup macros.
14850 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14851 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14852 cleanup macros.
14853 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14854 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14855 cleanup macros.
14856 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14857 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14858 macros.
14859 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14860 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14861 macros.
14862 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14863 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14864 macros.
14865 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14866 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14867 cleanup macros.
14868 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14869 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14870 cleanup macros.
14871 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14872 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14873 macros.
14874 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14875 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14876 cleanup macros.
14877 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14878 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14879 macros.
14880 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14881 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14882 macros.
14883 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14884 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14885 cleanup macros.
14886 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14887
148882013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14889
14890 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14891 to _sifields.sigfault.
14892 (si_addr_lsb): Define new macro.
14893 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14894 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14895 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14896
148972013-05-03 Carlos O'Donell <carlos at redhat.com>
14898
14899 [BZ #15441]
14900 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14901 returns -1.
14902 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14903 null return -1.
14904 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14905 loading the domain.
14906
149072013-05-22 Joseph Myers <joseph@codesourcery.com>
14908
14909 * math/gen-libm-test.pl (parse_args): Do not include expected
14910 result in test name.
14911 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14912 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14913 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14914 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14915 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14917
149182013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14919
14920 * benchtests/Makefile: Sort function entries.
14921
14922 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14923 tanh, asinh, acosh, atanh.
14924 * benchtests/acos-inputs: New file.
14925 * benchtests/acosh-inputs: New file.
14926 * benchtests/asin-inputs: New file.
14927 * benchtests/asinh-inputs: New file.
14928 * benchtests/atanh-inputs: New file.
14929 * benchtests/cosh-inputs: New file.
14930 * benchtests/log-inputs: New file.
14931 * benchtests/sinh-inputs: New file.
14932 * benchtests/tanh-inputs: New file.
14933
149342013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14935
14936 [BZ #15339]
14937 * posix/tst-getaddrinfo4.c: New test.
14938 * posix/Makefile (tests): Add it.
14939
149402013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14941
14942 [BZ #15339]
14943 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14944 when no services were used.
14945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14946 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14947
149482013-05-21 Andreas Schwab <schwab@suse.de>
14949
14950 [BZ #15014]
14951 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14952 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14953 successful.
14954 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14955 redundant variable declarations and reallocation of buffer when
14956 parsing as IPv6 address. Always set NSS status when called from
14957 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14958 buffer too small. Correct computation of needed size.
14959 * nss/Makefile (tests): Add test-digits-dots.
14960 * nss/test-digits-dots.c: New test.
14961
149622013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14963
14964 * benchtests/Makefile: Remove instructions for adding
14965 benchmark tests.
14966 * benchtests/README: New file to explain how to execute and
14967 enhance the benchmark tests.
14968
149692013-05-21 Andreas Schwab <schwab@suse.de>
14970
14971 [BZ #15493]
14972 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14973 * setjmp/tst-sigsetjmp.c: New test.
14974
149752013-05-20 Ondřej Bílka <neleai@seznam.cz>
14976
14977 * sysdeps/x86_64/memset.S (memset): New implementation.
14978 (__bzero): Likewise.
14979 (__memset_tail): New function.
14980
149812013-05-20 Ondřej Bílka <neleai@seznam.cz>
14982
14983 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14984 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14985 __memcpy_sse2_unaligned ifunc selection.
14986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14987 Add memcpy-sse2-unaligned.S.
14988 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14989 Add: __memcpy_sse2_unaligned.
14990
149912013-05-19 Joseph Myers <joseph@codesourcery.com>
14992
14993 [BZ #15490]
14994 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14995 math_force_eval before restoring floating-point envrionment.
14996 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14997 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14998 Likewise.
14999 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15000 <math_private.h>.
15001 (__nearbyintl): Use math_force_eval before restoring
15002 floating-point environment.
15003 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15004
15005 * math/gen-libm-test.pl (special_functions): Remove.
15006 (parse_args): Don't handle TEST_extra. Handle functions with no
15007 return value.
15008 * math/libm-test.inc (struct test_sincos_data): Replace with
15009 struct test_fFF_11_data.
15010 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15011 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15012 (sincos_test_data): Change element type to struct
15013 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15014 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15015 RUN_TEST_LOOP_sincos.
15016 * math/README.libm-test: Don't mention special handling of
15017 individual functions.
15018 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15019 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15020 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15021 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15022 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15024
15025 * math/gen-libm-test.pl (get_variable): Remove function.
15026 (parse_args): Don't show pointer parameters to call in test
15027 names. Use "extra output N" in test names for extra outputs
15028 rather than naming variables.
15029
150302013-05-18 Joseph Myers <joseph@codesourcery.com>
15031
15032 [BZ #15488]
15033 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15034 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15035 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15036 double tests.
15037 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15038 disable.
15039 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15040 check_long_double.
15041
15042 * math/gen-libm-test.pl (@tests): Remove variable.
15043 ($count): Likewise.
15044 (new_test): Remove function.
15045 (show_exceptions): New function.
15046 (special_functions): Use show_exceptions instead of new_test.
15047 (parse_args): Likewise.
15048 (generate_testfile): Pass only function name in generated call to
15049 print_max_error or print_complex_max_error.
15050 (get_ulps): Do not handle complex tests specially.
15051 (output_test): Rename to ...
15052 (get_all_ulps_for_test): ... this. Return a string rather than
15053 printing to a file. Require ulps to be present.
15054 (output_ulps): Generate arrays rather than #defines.
15055 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15056 (struct ulp_data): New type.
15057 (BUILD_COMPLEX_ULP): Remove macro.
15058 (compare_ulp_data): New function.
15059 (find_ulps): Likewise.
15060 (find_test_ulps): Likewise.
15061 (find_function_ulps): Likewise.
15062 (find_complex_function_ulps): Likewise.
15063 (print_max_error): Determine allowed ulps using
15064 find_function_ulps.
15065 (print_complex_max_error): Determine allowed ulps using
15066 find_complex_function_ulps.
15067 (check_float_internal): Determine max ulps using find_test_ulps.
15068 (check_float): Do not take max_ulp parameter. Update call to
15069 check_float_internal.
15070 (check_complex): Likewise.
15071 (check_int): Do not take max_ulp parameter.
15072 (check_long): Likewise.
15073 (check_bool): Likewise.
15074 (check_longlong): Likewise.
15075 (struct test_f_f_data): Remove max_ulp field.
15076 (struct test_ff_f_data): Likewise.
15077 (struct test_ff_f_data_nexttoward): Likewise.
15078 (struct test_fi_f_data): Likewise.
15079 (struct test_fl_f_data): Likewise.
15080 (struct test_if_f_data): Likewise.
15081 (struct test_fff_f_data): Likewise.
15082 (struct test_c_f_data): Likewise.
15083 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15084 (struct test_fF_f1_data): Likewise.
15085 (struct test_ffI_f1_data): Likewise.
15086 (struct test_c_c_data): Remove max_ulp field.
15087 (struct test_cc_c_data): Likewise.
15088 (struct test_f_i_data): Likewise.
15089 (struct test_ff_i_data): Likewise.
15090 (struct test_f_l_data): Likewise.
15091 (struct test_f_L_data): Likewise.
15092 (struct test_sincos_data): Likewise.
15093 (RUN_TEST_f_f): Do not handle ulps.
15094 (RUN_TEST_LOOP_f_f): Likewise.
15095 (RUN_TEST_2_f): Likewise.
15096 (RUN_TEST_LOOP_2_f): Likewise.
15097 (RUN_TEST_fff_f): Likewise.
15098 (RUN_TEST_LOOP_fff_f): Likewise.
15099 (RUN_TEST_c_f): Likewise.
15100 (RUN_TEST_LOOP_c_f): Likewise.
15101 (RUN_TEST_f_f1): Likewise.
15102 (RUN_TEST_LOOP_f_f1): Likewise.
15103 (RUN_TEST_fF_f1): Likewise.
15104 (RUN_TEST_LOOP_fF_f1): Likewise.
15105 (RUN_TEST_fI_f1): Likewise.
15106 (RUN_TEST_LOOP_fI_f1): Likewise.
15107 (RUN_TEST_ffI_f1): Likewise.
15108 (RUN_TEST_LOOP_ffI_f1): Likewise.
15109 (RUN_TEST_c_c): Likewise.
15110 (RUN_TEST_LOOP_c_c): Likewise.
15111 (RUN_TEST_cc_c): Likewise.
15112 (RUN_TEST_LOOP_cc_c): Likewise.
15113 (RUN_TEST_f_i): Likewise.
15114 (RUN_TEST_LOOP_f_i): Likewise.
15115 (RUN_TEST_f_i_tg): Likewise.
15116 (RUN_TEST_LOOP_f_i_tg): Likewise.
15117 (RUN_TEST_ff_i_tg): Likewise.
15118 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15119 (RUN_TEST_f_b): Likewise.
15120 (RUN_TEST_LOOP_f_b): Likewise.
15121 (RUN_TEST_f_b_tg): Likewise.
15122 (RUN_TEST_LOOP_f_b_tg): Likewise.
15123 (RUN_TEST_f_l): Likewise.
15124 (RUN_TEST_LOOP_f_l): Likewise.
15125 (RUN_TEST_f_L): Likewise.
15126 (RUN_TEST_LOOP_f_L): Likewise.
15127 (RUN_TEST_sincos): Likewise.
15128 (RUN_TEST_LOOP_sincos): Likewise.
15129
151302013-05-17 Joseph Myers <joseph@codesourcery.com>
15131
15132 [BZ #15480]
15133 [BZ #15485]
15134 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15135 main case of finite arguments, set rounding mode to FE_TONEAREST
15136 and discard exceptions.
15137 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15138 exceptions.
15139 (remainder_tonearest_test_data): New variable.
15140 (remainder_test_tonearest): New function.
15141 (remainder_towardzero_test_data): New variable.
15142 (remainder_test_towardzero): New function.
15143 (remainder_downward_test_data): New variable.
15144 (remainder_test_downward): New function.
15145 (remainder_upward_test_data): New variable.
15146 (remainder_test_upward): New function.
15147 (main): Call the new test functions.
15148
15149 * math/libm-test.inc (struct test_f_f1_data): Remove field
15150 extra_init.
15151 (struct test_fF_f1_data): Likewise.
15152 (struct test_ffI_f1_data): Likewise.
15153 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15154 based on value of EXTRA_EXPECTED.
15155 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15156 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15157 EXTRA_VAR based on value of EXTRA_EXPECTED.
15158 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15159 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15160 EXTRA_VAR based on value of EXTRA_EXPECTED.
15161 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15162 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15163 EXTRA_VAR based on value of EXTRA_EXPECTED.
15164 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15165 * math/gen-libm-test.pl (parse_args): Don't output initializers
15166 for extra output values.
15167
15168 * math/libm-test.inc (check_int): Expect result to be exactly
15169 equal to expected value and do not handle ulps.
15170 (check_long): Likewise.
15171 (check_longlong): Likewise.
15172
15173 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15174 exceptions.
15175 (cimag_test_data): Likewise.
15176 (conj_test_data): Likewise.
15177 (copysign_test_data): Likewise.
15178 (cproj_test_data): Likewise.
15179 (creal_test_data): Likewise.
15180 (fabs_test_data): Likewise.
15181 (fdim_test_data): Likewise.
15182 (finite_test_data): Likewise.
15183 (floor_test_data): Likewise.
15184 (fmax_test_data): Likewise.
15185 (fmin_test_data): Likewise.
15186 (fmod_test_data): Likewise.
15187 (fpclassify_test_data): Likewise.
15188 (frexp_test_data): Likewise.
15189 (ilogb_test_data): Likewise.
15190 (isfinite_test_data): Likewise.
15191 (isgreater_test_data): Likewise.
15192 (isgreaterequal_test_data): Likewise.
15193 (isinf_test_data): Likewise.
15194 (isless_test_data): Likewise.
15195 (islessequal_test_data): Likewise.
15196 (islessgreater_test_data): Likewise.
15197 (isnan_test_data): Likewise.
15198 (isnormal_test_data): Likewise.
15199 (issignaling_test_data): Likewise.
15200 (isunordered_test_data): Likewise.
15201 (ldexp_test_data): Likewise.
15202 (lrint_test_data): Likewise.
15203 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15204 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15205 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15206 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15207 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15208 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15209 test input.
15210 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15211 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15212 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15213 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15214 that test input.
15215 (lrint_downward_test_data): Test for "inexact" exceptions.
15216 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15217 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15218 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15219 test input.
15220 (lrint_upward_test_data): Test for "inexact" exceptions.
15221 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15222 test input.
15223 (llrint_test_data): Test for "inexact" exceptions.
15224 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15225 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15226 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15227 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15228 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15229 (llrint_downward_test_data): Test for "inexact" exceptions.
15230 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15231 (llrint_upward_test_data): Test for "inexact" exceptions.
15232 (logb_test_data): Likewise.
15233 (logb_downward_test_data): Likewise.
15234 (nextafter_test_data): Likewise.
15235 (nexttoward_test_data): Likewise.
15236 (remainder_test_data): Likewise.
15237 (remquo_test_data): Likewise.
15238 (scalbn_test_data): Likewise.
15239 (scalbln_test_data): Likewise.
15240 (signbit_test_data): Likewise.
15241 (sqrt_test_data): Likewise.
15242 (significand_test_data): Likewise.
15243
152442013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15245
15246 [BZ #15424]
15247 * benchtests/bench-modf.c (struct args): Mark arg0 as
15248 volatile.
15249 * scripts/bench.pl: Mark members of struct args as volatile.
15250
152512013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15252
15253 [BZ # 15497]
15254 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15255 negative infinity on POWER6 or lower.
15256 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15257
152582013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15259
15260 [BZ #15442]
15261 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15262 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15263 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15264 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15265 (_FP_SETQNAN): New macro.
15266 (_FP_SETQNAN_SEMIRAW): Likewise.
15267 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15268 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15269 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15270 (FP_EXTEND): Use _FP_FRAC_SNANP.
15271 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15272 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15273 into account.
15274 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15275 New macro.
15276 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15277 Likewise.
15278
152792013-05-16 Joseph Myers <joseph@codesourcery.com>
15280
15281 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15282 with DIVIDE_BY_ZERO_EXCEPTION.
15283 (gamma_test_data): Likewise.
15284 (lgamma_test_data): Likewise.
15285 (log_test_data): Likewise.
15286 (log10_test_data): Likewise.
15287 (log2_test_data): Likewise.
15288 (tgamma_test_data): Likewise.
15289
15290 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15291 (acos_test_tonearest): Likewise.
15292 (acos_test_towardzero): Likewise.
15293 (acos_test_downward): Likewise.
15294 (acos_test_upward): Likewise.
15295 (acosh_test): Likewise.
15296 (asin_test): Likewise.
15297 (asin_test_tonearest): Likewise.
15298 (asin_test_towardzero): Likewise.
15299 (asin_test_downward): Likewise.
15300 (asin_test_upward): Likewise.
15301 (asinh_test): Likewise.
15302 (atan_test): Likewise.
15303 (atanh_test): Likewise.
15304 (atan2_test): Likewise.
15305 (cabs_test): Likewise.
15306 (cacos_test): Likewise.
15307 (cacosh_test): Likewise.
15308 (casin_test): Likewise.
15309 (casinh_test): Likewise.
15310 (catan_test): Likewise.
15311 (catanh_test): Likewise.
15312 (cbrt_test): Likewise.
15313 (ccos_test): Likewise.
15314 (ccosh_test): Likewise.
15315 (cexp_test): Likewise.
15316 (clog_test): Likewise.
15317 (clog10_test): Likewise.
15318 (cos_test): Likewise.
15319 (cos_test_tonearest): Likewise.
15320 (cos_test_towardzero): Likewise.
15321 (cos_test_downward): Likewise.
15322 (cos_test_upward): Likewise.
15323 (cosh_test): Likewise.
15324 (cosh_test_tonearest): Likewise.
15325 (cosh_test_towardzero): Likewise.
15326 (cosh_test_downward): Likewise.
15327 (cosh_test_upward): Likewise.
15328 (cpow_test): Likewise.
15329 (csin_test): Likewise.
15330 (csinh_test): Likewise.
15331 (csqrt_test): Likewise.
15332 (ctan_test): Likewise.
15333 (ctan_test_tonearest): Likewise.
15334 (ctan_test_towardzero): Likewise.
15335 (ctan_test_downward): Likewise.
15336 (ctan_test_upward): Likewise.
15337 (ctanh_test): Likewise.
15338 (ctanh_test_tonearest): Likewise.
15339 (ctanh_test_towardzero): Likewise.
15340 (ctanh_test_downward): Likewise.
15341 (ctanh_test_upward): Likewise.
15342 (erf_test): Likewise.
15343 (erfc_test): Likewise.
15344 (exp_test): Likewise.
15345 (exp_test_tonearest): Likewise.
15346 (exp_test_towardzero): Likewise.
15347 (exp_test_downward): Likewise.
15348 (exp_test_upward): Likewise.
15349 (exp10_test): Likewise.
15350 (exp2_test): Likewise.
15351 (expm1_test): Likewise.
15352 (fmod_test): Likewise.
15353 (gamma_test): Likewise.
15354 (hypot_test): Likewise.
15355 (j0_test): Likewise.
15356 (j1_test): Likewise.
15357 (jn_test): Likewise.
15358 (lgamma_test): Likewise.
15359 (log_test): Likewise.
15360 (log10_test): Likewise.
15361 (log1p_test): Likewise.
15362 (log2_test): Likewise.
15363 (logb_test_downward): Likewise.
15364 (pow_test): Likewise.
15365 (pow_test_tonearest): Likewise.
15366 (pow_test_towardzero): Likewise.
15367 (pow_test_downward): Likewise.
15368 (pow_test_upward): Likewise.
15369 (remainder_test): Likewise.
15370 (remquo_test): Likewise.
15371 (sin_test): Likewise.
15372 (sin_test_tonearest): Likewise.
15373 (sin_test_towardzero): Likewise.
15374 (sin_test_downward): Likewise.
15375 (sin_test_upward): Likewise.
15376 (sincos_test): Likewise.
15377 (sinh_test): Likewise.
15378 (sinh_test_tonearest): Likewise.
15379 (sinh_test_towardzero): Likewise.
15380 (sinh_test_downward): Likewise.
15381 (sinh_test_upward): Likewise.
15382 (sqrt_test): Likewise.
15383 (tan_test): Likewise.
15384 (tan_test_tonearest): Likewise.
15385 (tan_test_towardzero): Likewise.
15386 (tan_test_downward): Likewise.
15387 (tan_test_upward): Likewise.
15388 (tanh_test): Likewise.
15389 (tgamma_test): Likewise.
15390 (y0_test): Likewise.
15391 (y1_test): Likewise.
15392 (yn_test): Likewise.
15393
15394 * math/gen-libm-test.pl (adjust_arg): Remove function.
15395 (special_function): Remove argument $in_func. Only handle
15396 generating output for tables of tests, not inside functions.
15397 (parse_args): Likewise.
15398 (generate_testfile): Remove variable $in_func. Update call to
15399 parse_args.
15400 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15401 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15402 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15403 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15404 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15405 (MAX_VALUE_INIT): Rename macro to max_value.
15406 (MIN_VALUE_INIT): Rename macro to min_value.
15407 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15408 (plus_zero): Remove variable.
15409 (minus_zero): Likewise.
15410 (plus_infty): Likewise.
15411 (minus_infty): Likewise.
15412 (qnan_value): Likewise.
15413 (max_value): Likewise.
15414 (min_value): Likewise.
15415 (min_subnorm_value): Likewise.
15416
154172013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15418
15419 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15420 uint64_t or uint32_t usage.
15421 * crypt/sha256-block.c: Likewise.
15422 * crypt/sha256-crypt.c: Likewise.
15423 * crypt/sha256.c: Likewise.
15424 * crypt/sha512-block.c: Likewise.
15425 * crypt/sha512-crypt.c: Likewise.
15426 * crypt/sha512.c: Likewise.
15427 * debug/backtrace-tst.c: Likewise.
15428 * debug/pcprofiledump.c: Likewise.
15429 * elf/cache.c: Likewise.
15430 * elf/dl-cache.c: Likewise.
15431 * elf/dl-misc.c: Likewise.
15432 * elf/dl-profile.c: Likewise.
15433 * elf/dl-support.c: Likewise.
15434 * elf/ldconfig.c: Likewise.
15435 * elf/sprof.c: Likewise.
15436 * iconv/dummy-repertoire.c: Likewise.
15437 * iconv/iconv_charmap.c: Likewise.
15438 * iconv/skeleton.c: Likewise.
15439 * iconvdata/8bit-generic.c: Likewise.
15440 * iconvdata/cp737.h: Likewise.
15441 * iconvdata/cp775.h: Likewise.
15442 * iconvdata/ibm1008.h: Likewise.
15443 * iconvdata/ibm1025.h: Likewise.
15444 * iconvdata/ibm1046.h: Likewise.
15445 * iconvdata/ibm1097.h: Likewise.
15446 * iconvdata/ibm1112.h: Likewise.
15447 * iconvdata/ibm1122.h: Likewise.
15448 * iconvdata/ibm1123.h: Likewise.
15449 * iconvdata/ibm1124.h: Likewise.
15450 * iconvdata/ibm1129.h: Likewise.
15451 * iconvdata/ibm1130.h: Likewise.
15452 * iconvdata/ibm1132.h: Likewise.
15453 * iconvdata/ibm1133.h: Likewise.
15454 * iconvdata/ibm1137.h: Likewise.
15455 * iconvdata/ibm1140.h: Likewise.
15456 * iconvdata/ibm1141.h: Likewise.
15457 * iconvdata/ibm1142.h: Likewise.
15458 * iconvdata/ibm1143.h: Likewise.
15459 * iconvdata/ibm1144.h: Likewise.
15460 * iconvdata/ibm1145.h: Likewise.
15461 * iconvdata/ibm1146.h: Likewise.
15462 * iconvdata/ibm1147.h: Likewise.
15463 * iconvdata/ibm1148.h: Likewise.
15464 * iconvdata/ibm1149.h: Likewise.
15465 * iconvdata/ibm1153.h: Likewise.
15466 * iconvdata/ibm1154.h: Likewise.
15467 * iconvdata/ibm1155.h: Likewise.
15468 * iconvdata/ibm1156.h: Likewise.
15469 * iconvdata/ibm1157.h: Likewise.
15470 * iconvdata/ibm1158.h: Likewise.
15471 * iconvdata/ibm1160.h: Likewise.
15472 * iconvdata/ibm1161.h: Likewise.
15473 * iconvdata/ibm1162.h: Likewise.
15474 * iconvdata/ibm1163.h: Likewise.
15475 * iconvdata/ibm1164.h: Likewise.
15476 * iconvdata/ibm1166.h: Likewise.
15477 * iconvdata/ibm1167.h: Likewise.
15478 * iconvdata/ibm12712.h: Likewise.
15479 * iconvdata/ibm1390.h: Likewise.
15480 * iconvdata/ibm1399.h: Likewise.
15481 * iconvdata/ibm16804.h: Likewise.
15482 * iconvdata/ibm4517.h: Likewise.
15483 * iconvdata/ibm4899.h: Likewise.
15484 * iconvdata/ibm4909.h: Likewise.
15485 * iconvdata/ibm4971.h: Likewise.
15486 * iconvdata/ibm5347.h: Likewise.
15487 * iconvdata/ibm803.h: Likewise.
15488 * iconvdata/ibm856.h: Likewise.
15489 * iconvdata/ibm901.h: Likewise.
15490 * iconvdata/ibm902.h: Likewise.
15491 * iconvdata/ibm9030.h: Likewise.
15492 * iconvdata/ibm9066.h: Likewise.
15493 * iconvdata/ibm921.h: Likewise.
15494 * iconvdata/ibm922.h: Likewise.
15495 * iconvdata/ibm9448.h: Likewise.
15496 * iconvdata/isiri-3342.h: Likewise.
15497 * iconvdata/jis0201.h: Likewise.
15498 * include/link.h: Likewise.
15499 * include/netdb.h: Likewise.
15500 * inet/check_native.c: Likewise.
15501 * inet/check_pf.c: Likewise.
15502 * inet/getipv4sourcefilter.c: Likewise.
15503 * inet/getnameinfo.c: Likewise.
15504 * inet/getsourcefilter.c: Likewise.
15505 * inet/htonl.c: Likewise.
15506 * inet/setipv4sourcefilter.c: Likewise.
15507 * inet/setsourcefilter.c: Likewise.
15508 * inet/test-inet6_opt.c: Likewise.
15509 * inet/tst-network.c: Likewise.
15510 * locale/C-collate.c: Likewise.
15511 * locale/C-ctype.c: Likewise.
15512 * locale/C-time.c: Likewise.
15513 * locale/C-translit.h: Likewise.
15514 * locale/loadarchive.c: Likewise.
15515 * locale/programs/3level.h: Likewise.
15516 * locale/programs/charmap.c: Likewise.
15517 * locale/programs/charmap.h: Likewise.
15518 * locale/programs/ld-address.c: Likewise.
15519 * locale/programs/ld-collate.c: Likewise.
15520 * locale/programs/ld-ctype.c: Likewise.
15521 * locale/programs/ld-identification.c: Likewise.
15522 * locale/programs/ld-measurement.c: Likewise.
15523 * locale/programs/ld-messages.c: Likewise.
15524 * locale/programs/ld-monetary.c: Likewise.
15525 * locale/programs/ld-name.c: Likewise.
15526 * locale/programs/ld-numeric.c: Likewise.
15527 * locale/programs/ld-paper.c: Likewise.
15528 * locale/programs/ld-telephone.c: Likewise.
15529 * locale/programs/ld-time.c: Likewise.
15530 * locale/programs/linereader.c: Likewise.
15531 * locale/programs/locale.c: Likewise.
15532 * locale/programs/locarchive.c: Likewise.
15533 * locale/programs/locfile.h: Likewise.
15534 * locale/programs/repertoire.c: Likewise.
15535 * locale/programs/simple-hash.c: Likewise.
15536 * locale/programs/simple-hash.h: Likewise.
15537 * malloc/memusage.c: Likewise.
15538 * malloc/memusagestat.c: Likewise.
15539 * nis/nis_defaults.c: Likewise.
15540 * nis/nis_hash.c: Likewise.
15541 * nis/nis_print.c: Likewise.
15542 * nis/nis_xdr.c: Likewise.
15543 * nscd/connections.c: Likewise.
15544 * nscd/hstcache.c: Likewise.
15545 * nscd/nscd_gethst_r.c: Likewise.
15546 * nscd/nscd_getserv_r.c: Likewise.
15547 * nscd/nscd_helper.c: Likewise.
15548 * nscd/servicescache.c: Likewise.
15549 * nss/makedb.c: Likewise.
15550 * nss/nss_db/db-XXX.c: Likewise.
15551 * nss/nss_db/db-initgroups.c: Likewise.
15552 * nss/nss_db/db-netgrp.c: Likewise.
15553 * nss/nss_files/files-network.c: Likewise.
15554 * nss/nss_files/files-parse.c: Likewise.
15555 * posix/bug-regex5.c: Likewise.
15556 * posix/fnmatch_loop.c: Likewise.
15557 * posix/regcomp.c: Likewise.
15558 * posix/regexec.c: Likewise.
15559 * posix/tst-rfc3484-2.c: Likewise.
15560 * posix/tst-rfc3484-3.c: Likewise.
15561 * posix/tst-rfc3484.c: Likewise.
15562 * resolv/nss_dns/dns-canon.c: Likewise.
15563 * resolv/nss_dns/dns-network.c: Likewise.
15564 * resolv/res_init.c: Likewise.
15565 * resolv/res_mkquery.c: Likewise.
15566 * resolv/tst-aton.c: Likewise.
15567 * stdlib/cxa_atexit.c: Likewise.
15568 * stdlib/cxa_finalize.c: Likewise.
15569 * stdlib/gen-fpioconst.c: Likewise.
15570 * stdlib/strtol_l.c: Likewise.
15571 * string/tst-endian.c: Likewise.
15572 * sunrpc/auth_des.c: Likewise.
15573 * sunrpc/clnt_udp.c: Likewise.
15574 * sunrpc/rtime.c: Likewise.
15575 * sunrpc/svcauth_des.c: Likewise.
15576 * sunrpc/xdr.c: Likewise.
15577 * sunrpc/xdr_intXX_t.c: Likewise.
15578 * sunrpc/xdr_rec.c: Likewise.
15579 * sysdeps/generic/ldconfig.h: Likewise.
15580 * sysdeps/generic/ldsodefs.h: Likewise.
15581 * sysdeps/generic/memusage.h: Likewise.
15582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15583 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15584 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15585 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15586 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15588 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15589 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15590 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15591 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15592 * sysdeps/posix/getaddrinfo.c: Likewise.
15593 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15594 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15595 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15596 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15597 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15598 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15599 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15600 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15601 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15602 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15603 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15604 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15605 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15606 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15607 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15608 * sysdeps/x86_64/dl-tls.h: Likewise.
15609 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15610 * time/alt_digit.c: Likewise.
15611 * time/era.c: Likewise.
15612 * wcsmbs/tst-c16c32-1.c: Likewise.
15613
156142013-05-16 Joseph Myers <joseph@codesourcery.com>
15615
15616 * math/libm-test.inc (struct test_sincos_data): New type.
15617 (RUN_TEST_LOOP_sincos): New macro.
15618 (sincos_test_data): New variable.
15619 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15620
156212013-05-16 Richard Henderson <rth@redhat.com>
15622
15623 * math/atest-exp2.c (LIMB64): New macro.
15624 (CONSTSZ): New macro.
15625 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15626 (hexdig): Move ...
15627 (print_mpn_fp): ... to function scope.
15628 (read_mpn_hex): Remove.
15629 (get_log2): Remove.
15630 (exp2_mpn): Use mp_log2.
15631 (main): Use mp_exp1.
15632
156332013-05-16 Joseph Myers <joseph@codesourcery.com>
15634
15635 * math/libm-test.inc: Remove comment about not testing "inexact"
15636 exceptions.
15637 (INEXACT_EXCEPTION): New macro.
15638 (NO_INEXACT_EXCEPTION): Likewise.
15639 (INVALID_EXCEPTION_OK): Update value.
15640 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15641 (OVERFLOW_EXCEPTION_OK): Likewise.
15642 (UNDERFLOW_EXCEPTION_OK): Likewise.
15643 (IGNORE_ZERO_INF_SIGN): Likewise.
15644 (ERRNO_UNCHANGED): Likewise.
15645 (ERRNO_EDOM): Likewise.
15646 (ERRNO_ERANGE): Likewise.
15647 (test_exceptions): Handle testing "inexact" exceptions.
15648 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15649 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15650 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15651 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15652 INEXACT_EXCEPTION.
15653 (rint_towardzero_test_data): Likewise.
15654 (rint_downward_test_data): Likewise.
15655 (rint_upward_test_data): Likewise.
15656
15657 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15658 with OVERFLOW_EXCEPTION.
15659 (exp10_test_data): Likewise.
15660 (exp2_test_data): Likewise.
15661 (expm1_test_data): Likewise.
15662 (lgamma_test_data): Likewise.
15663 (pow_test_data): Likewise.
15664 (tgamma_test_data): Likewise.
15665 (yn_test_data): Remove duplicate test of overflow.
15666
15667 * math/libm-test.inc (struct test_cc_c_data): New type.
15668 (RUN_TEST_LOOP_cc_c): New macro.
15669 (cpow_test_data): New variable.
15670 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15671
15672 * math/libm-test.inc (struct test_f_L_data): New type.
15673 (RUN_TEST_LOOP_f_L): New macro.
15674 (llrint_test_data): New variable.
15675 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15676 (llrint_tonearest_test_data): New variable.
15677 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15678 (llrint_towardzero_test_data): New variable.
15679 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15680 (llrint_downward_test_data): New variable.
15681 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15682 (llrint_upward_test_data): New variable.
15683 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15684 (llround_test_data): New variable.
15685 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15686
156872013-05-13 Peter Collingbourne <pcc@google.com>
15688
15689 * math/atest-exp2.c (get_log2): Remove const attribute.
15690
156912013-05-15 Joseph Myers <joseph@codesourcery.com>
15692
15693 * math/libm-test.inc (struct test_f_l_data): New type.
15694 (RUN_TEST_LOOP_f_l): New macro.
15695 (lrint_test_data): New variable.
15696 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15697 (lrint_tonearest_test_data): New variable.
15698 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15699 (lrint_towardzero_test_data): New variable.
15700 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15701 (lrint_downward_test_data): New variable.
15702 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15703 (lrint_upward_test_data): New variable.
15704 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15705 (lround_test_data): New variable.
15706 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15707
157082013-05-15 Peter Collingbourne <pcc@google.com>
15709
15710 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15711 (EXTRACT_WORDS64) Use where appropriate.
15712 (INSERT_WORDS64) Likewise.
15713
15714 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15715 constraints with x constraints.
15716 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15717
15718 * malloc/obstack.c (_obstack_compat): Add initializer.
15719
157202013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15721
15722 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15723 si_trapno and add si_addr_lsb to _sifields.sigfault.
15724 (si_trapno): Remove macro.
15725 (si_addr_lsb): Define new macro.
15726 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15727
157282013-05-15 Joseph Myers <joseph@codesourcery.com>
15729
15730 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15731 instead of TEST_f_l.
15732 (llrint_test_tonearest): Likewise.
15733 (llrint_test_towardzero): Likewise.
15734 (llrint_test_downward): Likewise.
15735 (llrint_test_upward): Likewise.
15736 (llround_test): Likewise.
15737
15738 * math/libm-test.inc (struct test_f_i_data): Add comment.
15739 (RUN_TEST_LOOP_f_b): New macro.
15740 (RUN_TEST_LOOP_f_b_tg): Likewise.
15741 (finite_test_data): New variable.
15742 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15743 (isfinite_test_data): New variable.
15744 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15745 (isinf_test_data): New variable.
15746 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15747 (isnan_test_data): New variable.
15748 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15749 (isnormal_test_data): New variable.
15750 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15751 (issignaling_test_data): New variable.
15752 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15753 (signbit_test_data): New variable.
15754 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15755
15756 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15757 with INVALID_EXCEPTION.
15758 (acosh_test_data): Likewise.
15759 (asin_test_data): Likewise.
15760 (atanh_test_data): Likewise.
15761 (fmod_test_data): Likewise.
15762 (log_test_data): Likewise.
15763 (log10_test_data): Likewise.
15764 (log2_test_data): Likewise.
15765 (pow_test_data): Likewise.
15766 (sqrt_test_data): Likewise.
15767 (y0_test_data): Likewise.
15768 (y1_test_data): Likewise.
15769 (yn_test_data): Likewise.
15770
15771 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15772 function contents.
15773
15774 * math/libm-test.inc (struct test_ff_i_data): New type.
15775 (RUN_TEST_LOOP_ff_i_tg): New macro.
15776 (isgreater_test_data): New variable.
15777 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15778 (isgreaterequal_test_data): New variable.
15779 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15780 (isless_test_data): New variable.
15781 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15782 (islessequal_test_data): New variable.
15783 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15784 (islessgreater_test_data): New variable.
15785 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15786 (isunordered_test_data): New variable.
15787 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15788
157892013-05-14 David S. Miller <davem@davemloft.net>
15790
15791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15792
157932013-05-14 Joseph Myers <joseph@codesourcery.com>
15794
15795 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15796
15797 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15798 extra_test to int.
15799 (struct test_f_i_data): Change type of max_ulp to int.
15800
15801 * math/libm-test.inc (test_ffI_f1_data): New type.
15802 (RUN_TEST_LOOP_ffI_f1): New macro.
15803 (remquo_test_data): New variable.
15804 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15805
15806 * setjmp/tst-setjmp-fp.c: New file.
15807 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15808 (link-libm): New variable.
15809 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15810
15811 * math/libm-test.inc (struct test_f_i_data): New type.
15812 (RUN_TEST_LOOP_f_i): New macro.
15813 (RUN_TEST_LOOP_f_i_tg): Likewise.
15814 (fpclassify_test_data): New variable.
15815 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15816 (ilogb_test_data): New variable.
15817 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15818
15819 * math/libm-test.inc (scalbln_test): Correct function name in END
15820 call.
15821
15822 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15823 (RUN_TEST_LOOP_fI_f1): New macro.
15824 (frexp_test_data): New variable.
15825 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15826
15827 * math/libm-test.inc (struct test_fF_f1_data): New type.
15828 (RUN_TEST_LOOP_fF_f1): New macro.
15829 (modf_test_data): New variable.
15830 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15831
15832 * math/libm-test.inc (struct test_f_f1_data): New type.
15833 (RUN_TEST_LOOP_f_f1): New macro.
15834 (gamma_test_data): New variable.
15835 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15836 (lgamma_test_data): New variable.
15837 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15838
158392013-05-13 Carlos O'Donell <carlos@redhat.com>
15840
15841 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15842 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15843 (main): Comment "tls" pseudo-hwcap.
15844
158452013-05-13 Joseph Myers <joseph@codesourcery.com>
15846
15847 * math/libm-test.inc (struct test_fl_f_data): New type.
15848 (RUN_TEST_LOOP_fl_f): New variable.
15849 (scalbln_test_data): New variable.
15850 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15851
15852 * math/libm-test.inc (struct test_fi_f_data): New type.
15853 (RUN_TEST_LOOP_fi_f): New macro.
15854 (ldexp_test_data): New variable.
15855 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15856 (scalbn_test_data): New variable.
15857 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15858
15859 * math/libm-test.inc (struct test_c_f_data): New type.
15860 (RUN_TEST_LOOP_c_f): New macro.
15861 (cabs_test_data): New variable.
15862 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15863 (carg_test_data): New variable.
15864 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15865 (cimag_test_data): New variable.
15866 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15867 (creal_test_data): New variable.
15868 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15869
15870 * math/libm-test.inc (struct test_if_f_data): New type.
15871 (RUN_TEST_LOOP_if_f): New macro.
15872 (jn_test_data): New variable.
15873 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15874 (yn_test_data): New variable.
15875 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15876
15877 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15878
158792013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15880
15881 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15882 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15883
158842013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15885
15886 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15887 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15888 (bench-deps): Add bench-timing.h.
15889 * benchtests-bench-skeleton.c: Include bench-timing.h.
15890 (main): Use TIMING_* macros instead of clock_gettime.
15891 * benchtests/bench-timing.h: New file.
15892
15893 [BZ #14582]
15894 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15895 Renamed from _LIB_VERSION.
15896 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15897
158982013-05-12 Joseph Myers <joseph@codesourcery.com>
15899
15900 * math/libm-test.inc (struct test_fff_f_data): New type.
15901 (RUN_TEST_LOOP_fff_f): New macro.
15902 (fma_test_data): New variable.
15903 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15904 (fma_towardzero_test_data): New variable.
15905 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15906 (fma_downward_test_data): New variable.
15907 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15908 (fma_upward_test_data): New variable.
15909 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15910
15911 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15912 (struct test_c_c_data): New type.
15913 (RUN_TEST_LOOP_c_c): New macro.
15914 (cacos_test_data): New variable.
15915 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15916 (cacosh_test_data): New variable.
15917 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15918 (casin_test_data): New variable.
15919 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15920 (casinh_test_data): New variable.
15921 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15922 (catan_test_data): New variable.
15923 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15924 (catanh_test_data): New variable.
15925 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15926 (ccos_test_data): New variable.
15927 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15928 (ccosh_test_data): New variable.
15929 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15930 (cexp_test_data): New variable.
15931 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15932 (clog_test_data): New variable.
15933 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15934 (clog10_test_data): New variable.
15935 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15936 (conj_test_data): New variable.
15937 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15938 (cproj_test_data): New variable.
15939 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15940 (csin_test_data): New variable.
15941 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15942 (csinh_test_data): New variable.
15943 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15944 (csqrt_test_data): New variable.
15945 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15946 (ctan_test_data): New variable.
15947 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15948 (ctan_tonearest_test_data): New variable.
15949 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15950 (ctan_towardzero_test_data): New variable.
15951 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15952 (ctan_downward_test_data): New variable.
15953 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15954 (ctan_upward_test_data): New variable.
15955 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15956 (ctanh_test_data): New variable.
15957 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15958 (ctanh_tonearest_test_data): New variable.
15959 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15960 (ctanh_towardzero_test_data): New variable.
15961 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15962 (ctanh_downward_test_data): New variable.
15963 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15964 (ctanh_upward_test_data): New variable.
15965 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15966 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15967 of BUILD_COMPLEX.
15968
15969 * math/libm-test.inc (struct test_ff_f_data): New type.
15970 (struct test_ff_f_data_nexttoward): Likewise.
15971 (RUN_TEST_LOOP_2_f): New macro.
15972 (RUN_TEST_LOOP_ff_f): Likewise.
15973 (atan2_test_data): New variable.
15974 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15975 (copysign_test_data): New variable.
15976 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15977 (fdim_test_data): New variable.
15978 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15979 (fmax_test_data): New variable.
15980 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15981 (fmin_test_data): New variable.
15982 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15983 (fmod_test_data): New variable.
15984 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15985 (hypot_test_data): New variable.
15986 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15987 (nextafter_test_data): New variable.
15988 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15989 (nexttoward_test_data): New variable.
15990 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15991 (pow_test_data): New variable.
15992 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15993 (pow_tonearest_test_data): New variable.
15994 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15995 (pow_towardzero_test_data): New variable.
15996 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15997 (pow_downward_test_data): New variable.
15998 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15999 (pow_upward_test_data): New variable.
16000 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16001 (remainder_test_data): New variable.
16002 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16003 (scalb_test_data): New variable.
16004 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16005 * sysdeps/i386/fpu/libm-test-ulps: Update.
16006
160072013-05-11 Joseph Myers <joseph@codesourcery.com>
16008
16009 * math/libm-test.inc (fma_test): Use max_value instead of local
16010 variable fltmax.
16011 (nextafter_test): Likewise.
16012
16013 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16014 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16015 (acos_downward_test_data): New variable.
16016 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16017 (acos_upward_test_data): New variable.
16018 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16019 (acosh_test_data): New variable.
16020 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16021 (asin_test_data): New variable.
16022 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16023 (asin_tonearest_test_data): New variable.
16024 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16025 (asin_towardzero_test_data): New variable.
16026 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16027 (asin_downward_test_data): New variable.
16028 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16029 (asin_upward_test_data): New variable.
16030 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16031 (asinh_test_data): New variable.
16032 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16033 (atan_test_data): New variable.
16034 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16035 (atanh_test_data): New variable.
16036 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16037 (cbrt_test_data): New variable.
16038 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16039 (ceil_test_data): New variable.
16040 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16041 (cos_test_data): New variable.
16042 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16043 (cos_tonearest_test_data): New variable.
16044 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16045 (cos_towardzero_test_data): New variable.
16046 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16047 (cos_downward_test_data): New variable.
16048 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16049 (cos_upward_test_data): New variable.
16050 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16051 (cosh_test_data): New variable.
16052 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16053 (cosh_tonearest_test_data): New variable.
16054 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16055 (cosh_towardzero_test_data): New variable.
16056 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16057 (cosh_downward_test_data): New variable.
16058 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16059 (cosh_upward_test_data): New variable.
16060 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16061 (erf_test_data): New variable.
16062 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16063 (erfc_test_data): New variable.
16064 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16065 (exp_test_data): New variable.
16066 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16067 (exp_tonearest_test_data): New variable.
16068 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16069 (exp_towardzero_test_data): New variable.
16070 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16071 (exp_downward_test_data): New variable.
16072 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16073 (exp_upward_test_data): New variable.
16074 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16075 (exp10_test_data): New variable.
16076 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16077 (exp2_test_data): New variable.
16078 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16079 (expm1_test_data): New variable.
16080 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16081 (fabs_test_data): New variable.
16082 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16083 (floor_test_data): New variable.
16084 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16085 (j0_test_data): New variable.
16086 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16087 (j1_test_data): New variable.
16088 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16089 (log_test_data): New variable.
16090 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16091 (log10_test_data): New variable.
16092 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16093 (log1p_test_data): New variable.
16094 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16095 (log2_test_data): New variable.
16096 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16097 (logb_test_data): New variable.
16098 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16099 (logb_downward_test_data): New variable.
16100 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16101 (nearbyint_test_data): New variable.
16102 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16103 (rint_test_data): New variable.
16104 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16105 (rint_tonearest_test_data): New variable.
16106 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16107 (rint_towardzero_test_data): New variable.
16108 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16109 (rint_downward_test_data): New variable.
16110 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16111 (rint_upward_test_data): New variable.
16112 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16113 (round_test_data): New variable.
16114 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16115 (sin_test_data): New variable.
16116 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16117 (sin_tonearest_test_data): New variable.
16118 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16119 (sin_towardzero_test_data): New variable.
16120 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16121 (sin_downward_test_data): New variable.
16122 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16123 (sin_upward_test_data): New variable.
16124 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16125 (sinh_test_data): New variable.
16126 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16127 (sinh_tonearest_test_data): New variable.
16128 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16129 (sinh_towardzero_test_data): New variable.
16130 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16131 (sinh_downward_test_data): New variable.
16132 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16133 (sinh_upward_test_data): New variable.
16134 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16135 (sqrt_test_data): New variable.
16136 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16137 (tan_test_data): New variable.
16138 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16139 (tan_tonearest_test_data): New variable.
16140 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16141 (tan_towardzero_test_data): New variable.
16142 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16143 (tan_downward_test_data): New variable.
16144 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16145 (tan_upward_test_data): New variable.
16146 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16147 (tanh_test_data): New variable.
16148 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16149 (tgamma_test_data): New variable.
16150 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16151 (trunc_test_data): New variable.
16152 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16153 (y0_test_data): New variable.
16154 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16155 (y1_test_data): New variable.
16156 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16157 (significand_test_data): New variable.
16158 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16159
161602013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16161
16162 [BZ #12387]
16163 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16164
161652013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16166
16167 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16168
161692013-05-10 Andreas Jaeger <aj@suse.de>
16170
16171 [BZ #15448]
16172 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16173 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16174
161752013-05-10 Joseph Myers <joseph@codesourcery.com>
16176
16177 * math/gen-libm-test.pl (adjust_arg): New function.
16178 (special_functions): Handle generating output in both functions
16179 and arrays.
16180 (parse_args): Likewise.
16181 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16182 $in_func argument to parse_args.
16183 * math/libm-test.inc (struct test_f_f_data): New type.
16184 (IF_ROUND_INIT_): New macro.
16185 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16186 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16187 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16188 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16189 (ROUND_RESTORE_): Likewise.
16190 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16191 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16192 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16193 (ROUND_RESTORE_FE_UPWARD): Likewise.
16194 (RUN_TEST_LOOP_f_f): New macro.
16195 (acos_test_data): New variable.
16196 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16197 (acos_tonearest_test_data): New variable.
16198 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16199
162002013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16201
16202 * benchtests/bench-skeleton.c (startup): Fix coding style.
16203
162042013-05-10 Joseph Myers <joseph@codesourcery.com>
16205
16206 [BZ #6809]
16207 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16208 negative infinity argument.
16209 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16210 negative infinity argument.
16211 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16212 negative infinity argument.
16213 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16214 domain errors.
16215
162162013-05-10 Florian Weimer <fweimer@redhat.com>
16217
16218 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16219 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16220 * iconv/iconv_prog.c (main): Likewise.
16221 * locale/programs/charmap-dir.c (charmap_readdir)
16222 (fopen_uncompressed): Likewise.
16223 * locale/programs/locfile.c (siblings_uncached)
16224 (write_locale_data): Use lstat64 instead of lstat.
16225 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16226 stat.
16227
162282013-05-10 Andreas Jaeger <aj@suse.de>
16229
16230 [BZ #15395]
16231 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16232 localization.
16233 Include <locale.h>.
16234
162352013-05-09 Carlos O'Donell <carlos@redhat.com>
16236
16237 * elf/dl-close.c (_dl_close_worker): Add comments.
16238
162392013-05-09 Joseph Myers <joseph@codesourcery.com>
16240
16241 [BZ #15359]
16242 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16243 high part of pi/2.
16244 (__ieee754_rem_pio2l): Update comments.
16245
16246 [BZ #15429]
16247 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16248 high part of pi/2.
16249 (__ieee754_rem_pio2l): Update comments.
16250
16251 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16252 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16253
16254 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16255 M_PI_4l.
16256
16257 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16258 (M_PI_34_LOG10El): Likewise.
16259 (M_PI2_LOG10El): Likewise.
16260 (M_PI4_LOG10El): Likewise.
16261 (M_PI_LOG10El): Likewise.
16262
162632013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16264
16265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16266
162672013-05-08 Joseph Myers <joseph@codesourcery.com>
16268
16269 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16270 (MINUS_ZERO_INIT): Likewise.
16271 (PLUS_INFTY_INIT): Likewise.
16272 (MINUS_INFTY_INIT): Likewise.
16273 (QNAN_VALUE_INIT): Likewise.
16274 (MAX_VALUE_INIT): Likewise.
16275 (MIN_VALUE_INIT): Likewise.
16276 (MIN_SUBNORM_VALUE_INIT): Likewise.
16277 (plus_zero): Initialize with PLUS_ZERO_INIT.
16278 (minus_zero): Initialize with MINUS_ZERO_INIT.
16279 (plus_infty): Initialize with PLUS_INFTY_INIT.
16280 (minus_infty): Initialize with MINUS_INFTY_INIT.
16281 (qnan_value): Initialize with QNAN_VALUE_INIT.
16282 (max_value): Initialize with MAX_VALUE_INIT.
16283 (min_value): Initialize with MIN_VALUE_INIT.
16284 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16285
16286 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16287 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16288 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16289 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16290
16291 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16292 (RUN_TEST_2_f): Likewise.
16293 (RUN_TEST_ff_f): Likewise.
16294 (RUN_TEST_fi_f): Likewise.
16295 (RUN_TEST_fl_f): Likewise.
16296 (RUN_TEST_fff_f): Likewise.
16297 (RUN_TEST_c_f): Likewise.
16298 (RUN_TEST_f_f1): Likewise.
16299 (RUN_TEST_fF_f1): Likewise.
16300 (RUN_TEST_fI_f1): Likewise.
16301 (RUN_TEST_ffI_f1): Likewise.
16302 (RUN_TEST_c_c): Likewise.
16303 (RUN_TEST_cc_c): Likewise.
16304 (RUN_TEST_f_i): Likewise.
16305 (RUN_TEST_f_i_tg): Likewise.
16306 (RUN_TEST_ff_i_tg): Likewise.
16307 (RUN_TEST_f_b): Likewise.
16308 (RUN_TEST_f_b_tg): Likewise.
16309 (RUN_TEST_f_l): Likewise.
16310 (RUN_TEST_f_L): Likewise.
16311 (RUN_TEST_sincos): Likewise.
16312 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16313 whether to show exceptions. Do not include ");\n" in return
16314 value.
16315 (special_functions): Output call to RUN_TEST_sincos instead of
16316 check_float calls. Update calls to new_test.
16317 (parse_args): Output call to single RUN_TEST_* macro instead of
16318 check_* calls and other assignments. Update calls to new_test.
16319
16320 [BZ #2546]
16321 [BZ #2560]
16322 [BZ #5159]
16323 [BZ #15426]
16324 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16325 input to result for tgamma overflow.
16326 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16327 (gamma_coeff): New variable.
16328 (NCOEFF): New macro.
16329 (gamma_positive): New function.
16330 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16331 underflow here. Use gamma_positive instead of exp (lgamma) for
16332 other arguments.
16333 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16334 (gamma_coeff): New variable.
16335 (NCOEFF): New macro.
16336 (gammaf_positive): New function.
16337 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16338 underflow here. Use gamma_positive instead of exp (lgamma) for
16339 other arguments.
16340 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16341 (gamma_coeff): New variable.
16342 (NCOEFF): New macro.
16343 (gammal_positive): New function.
16344 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16345 underflow here. Use gamma_positive instead of exp (lgamma) for
16346 other arguments.
16347 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16348 (gamma_coeff): New variable.
16349 (NCOEFF): New macro.
16350 (gammal_positive): New function.
16351 (__ieee754_gammal_r): Handle positive infinity, overflow and
16352 underflow here. Handle NaN the same as positive infinity. Remove
16353 check x < 0xffffffff for negative integers. Use gamma_positive
16354 instead of exp (lgamma) for other arguments.
16355 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16356 (gamma_coeff): New variable.
16357 (NCOEFF): New macro.
16358 (gammal_positive): New function.
16359 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16360 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16361 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16362 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16363 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16364 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16365 * sysdeps/generic/math_private.h (__gamma_productf): New
16366 prototype.
16367 (__gamma_product): Likewise.
16368 (__gamma_productl): Likewise.
16369 * math/Makefile (libm-calls): Add gamma_product.
16370 * math/libm-test.inc (tgamma_test): Add more tests.
16371 * sysdeps/i386/fpu/libm-test-ulps: Update.
16372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16373
163742013-05-08 Ondřej Bílka <neleai@seznam.cz>
16375
16376 * benchtests/bench-skeleton.c (main): Preheat CPU.
16377
163782013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16379
16380 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16381
163822013-05-07 Roland McGrath <roland@hack.frob.com>
16383
16384 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16385 and _dl_skip_args_internal.
16386
163872013-05-07 Carlos O'Donell <carlos@redhat.com>
16388
16389 * manual/message.texi (Message Translation): Talk about users.
16390 Message to key mapping impacts design.
16391
163922013-05-06 Roland McGrath <roland@hack.frob.com>
16393
16394 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16395
16396 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16397
16398 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16399 * sysdeps/wordsize-64/glob64.c: ... here.
16400
16401 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16402 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16403 New macros.
16404
16405 * debug/getlogin_r_chk.c: Moved to ...
16406 * login/getlogin_r_chk.c: ... here.
16407 * debug/Makefile (routines): Move getlogin_r_chk to ...
16408 * login/Makefile (routines): ... here.
16409 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16410 * login/Versions (libc: GLIBC_2.4): ... here.
16411
16412 * io/poll.c (__poll): Renamed from poll.
16413 Add libc_hidden_def.
16414 (poll): Define as weak alias.
16415
16416 * debug/ptsname_r_chk.c: Moved to ...
16417 * login/ptsname_r_chk.c: ... here.
16418 * debug/Makefile (routines): Move ptsname_r_chk to ...
16419 * login/Makefile (routines): ... here.
16420 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16421 * login/Versions (libc: GLIBC_2.4): ... here.
16422
16423 * posix/getlogin.c: Moved to ...
16424 * login/getlogin.c: ... here.
16425 * posix/getlogin_r.c: Moved to ...
16426 * login/getlogin_r.c: ... here.
16427 * posix/getlogin_r.c: Moved to ...
16428 * login/getlogin_r.c: ... here.
16429 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16430 * login/Makefile (routines): ... here.
16431 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16432 * login/Versions (libc: GLIBC_2.0): ... here.
16433
16434 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16435 (setrlimit): Define as weak alias.
16436
16437 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16438 Call __ names for open, ftruncate, and close.
16439 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16440 (truncate): Define as weak alias.
16441
164422013-05-06 Joseph Myers <joseph@codesourcery.com>
16443
16444 * math/gen-libm-test.pl (parse_args): Initialize x before each
16445 test of frexp, modf and remquo.
16446
16447 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16448 test signgam value.
16449
164502013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16451
16452 [BZ #15418]
16453 [BZ #15419]
16454 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16455 internal tests.
16456 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16457
164582013-05-06 Roland McGrath <roland@hack.frob.com>
16459
16460 * elf/dl-writev.h: New file.
16461 * elf/dl-misc.c: Include it.
16462 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16463 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16464
164652013-05-04 Joseph Myers <joseph@codesourcery.com>
16466
16467 * math/libm-test.inc (noXFails): Remove variable.
16468 (noXPasses): Likewise.
16469 (BUILD_COMPLEX_INT): Remove macro.
16470 (print_screen): Remove xfail argument.
16471 (print_screen_max_error): Likewise.
16472 (update_stats): Likewise.
16473 (print_max_error): Likewise. Update calls to other affected
16474 functions.
16475 (print_complex_max_error): Likewise.
16476 (test_single_exception): Update calls to print_screen.
16477 (test_single_errno): Likewise.
16478 (check_float_internal): Remove xfail argument. Update calls to
16479 other affected functions.
16480 (check_float): Likewise.
16481 (check_complex): Likewise.
16482 (check_int): Likewise.
16483 (check_long): Likewise.
16484 (check_bool): Likewise.
16485 (check_longlong): Likewise.
16486 (main): Don't print noXFails and noXPasses.
16487 * math/gen-libm-test.pl (top level): Don't mention expected
16488 failure handling in comment.
16489 (new_test): Don't handle expected failures.
16490 (parse_args): Don't mention expected failure handling in comment.
16491 (generate_testfile): Don't handle expected failures.
16492 (parse_ulps): Likewise.
16493 (print_ulps_file): Likewise.
16494 (get_failure): Remove function.
16495 (output_test): Don't handle expected failures.
16496 * make/README.libm-test: Don't mention expected failure handling.
16497
16498 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16499 (minus_zero): Likewise.
16500 (plus_infty): Likewise.
16501 (minus_infty): Likewise.
16502 (qnan_value): Likewise.
16503 (max_value): Likewise.
16504 (min_value): Likewise.
16505 (min_subnorm_value): Likewise.
16506 (initialize): Do not initialize those variables dynamically.
16507
165082013-05-03 Roland McGrath <roland@hack.frob.com>
16509
16510 * io/open.c (__open_2): Moved to ...
16511 * io/open_2.c: ... this new file.
16512 * io/open64.c (__open64_2): Moved to ...
16513 * io/open64_2.c: ... this new file.
16514 * io/openat.c (__openat_2): Moved to ...
16515 * io/openat_2.c: ... this new file.
16516 * io/openat64.c (__openat64_2): Moved to ...
16517 * io/openat64_2.c: ... this new file.
16518 * io/Makefile (routines): Add them.
16519 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16520 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16521 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16522 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16523 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16524 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16525 (__openat64): Add hidden_ver.
16526 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16527 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16528
16529 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16530 Separately conditionalize setting of GLRO(dl_sysinfo) so
16531 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16532 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16533
165342013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16535
16536 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16537 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16538 definition.
16539 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16540 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16541 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16542 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16543 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16544
165452013-05-03 Joseph Myers <joseph@codesourcery.com>
16546
16547 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16548 test signgam value.
16549
16550 * math/libm-test.inc (hypot_test): Do not use
16551 IGNORE_ZERO_INF_SIGN.
16552
165532013-05-03 Andreas Jaeger <aj@suse.de>
16554
16555 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16556 Linux 3.9.
16557 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16558 (PF_MAX): Adjust for VSOCK change.
16559
165602013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16561
16562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16563
165642013-05-02 Carlos O'Donell <carlos@redhat.com>
16565
16566 [BZ #15264]
16567 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16568 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16569 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16570
165712013-05-02 David S. Miller <davem@davemloft.net>
16572
16573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16574
165752013-05-01 Ondřej Bílka <neleai@seznam.cz>
16576
16577 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16578
165792013-05-01 Roland McGrath <roland@hack.frob.com>
16580
16581 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16582
165832013-05-01 Richard Smith <richard@metafoo.co.uk>
16584
16585 [BZ #14952]
16586 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16587 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16588 Use __attribute__ ((__gnu_inline__)).
16589 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16590 Don't use __attribute__ ((__gnu_inline__)).
16591
165922013-05-01 Joseph Myers <joseph@codesourcery.com>
16593
16594 [BZ #15423]
16595 * math/s_catan.c (__catan): Handle small real or imaginary part of
16596 input specially to avoid spurious underflow.
16597 * math/s_catanf.c (__catanf): Likewise.
16598 * math/s_catanh.c (__catanh): Likewise.
16599 * math/s_catanhf.c (__catanhf): Likewise.
16600 * math/s_catanhl.c (__catanhl): Likewise.
16601 * math/s_catanl.c (__catanl): Likewise.
16602 * math/libm-test.inc (catan_test): Add more tests.
16603 (catanh_test): Likewise.
16604 * sysdeps/i386/fpu/libm-test-ulps: Update.
16605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16606
166072013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16608
16609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16610
166112013-04-30 Joseph Myers <joseph@codesourcery.com>
16612
16613 [BZ #15416]
16614 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16615 accurately for denominator in atan2.
16616 * math/s_catanf.c (__catanf): Likewise.
16617 * math/s_catanh.c (__catanh): Likewise.
16618 * math/s_catanhf.c (__catanhf): Likewise.
16619 * math/s_catanhl.c (__catanhl): Likewise.
16620 * math/s_catanl.c (__catanl): Likewise.
16621 * math/libm-test.inc (catan_test): Add more tests.
16622 (catanh_test): Likewise.
16623 * sysdeps/i386/fpu/libm-test-ulps: Update.
16624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16625
166262013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16627
16628 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16629
16630 * benchtests/Makefile (bench): Remove slow benchmarks.
16631 * benchtests/atan-inputs: Add slow benchmark inputs.
16632 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16633 (BENCH_FUNC): Accept variant offset.
16634 (VARIANT): Define.
16635 * benchtests/bench-skeleton.c (main): Run benchmark for each
16636 variant.
16637 * benchtests/cos-inputs: Add slow benchmark inputs.
16638 * benchtests/exp-inputs: Likewise.
16639 * benchtests/pow-inputs: Likewise.
16640 * benchtests/sin-inputs: Likewise.
16641 * benchtests/slowatan-inputs: Remove.
16642 * benchtests/slowatan.c: Remove.
16643 * benchtests/slowcos-inputs: Remove.
16644 * benchtests/slowcos.c: Remove.
16645 * benchtests/slowexp-inputs: Remove.
16646 * benchtests/slowexp.c: Remove.
16647 * benchtests/slowpow-inputs: Remove.
16648 * benchtests/slowpow.c: Remove.
16649 * benchtests/slowsin-inputs: Remove.
16650 * benchtests/slowsin.c: Remove.
16651 * benchtests/slowtan-inputs: Remove.
16652 * benchtests/slowtan.c: Remove.
16653 * benchtests/tan-inputs: Add slow benchmark inputs.
16654 * scripts/bench.pl: Parse comments and directives.
16655
16656 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16657 in CPPFLAGS.
16658 ($(objpfx)bench-%.c): Remove *-ITER.
16659 * benchtests/bench-modf.c: Remove definition of ITER.
16660 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16661 (main): Loop for DURATION seconds instead of fixed number of
16662 iterations.
16663 * scripts/bench.pl: Don't expect iterations in parameters.
16664
166652013-04-29 Roland McGrath <roland@hack.frob.com>
16666
16667 * io/fchdir.c (__fchdir): Renamed from fchdir.
16668 (fchdir): Define as weak alias.
16669
166702013-04-29 Joseph Myers <joseph@codesourcery.com>
16671
16672 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16673 (ERRNO_EDOM): Likewise.
16674 (ERRNO_ERANGE): Likewise.
16675 (noErrnoTests): New variable.
16676 (init_max_error): Set errno to 0.
16677 (test_single_errno): New function.
16678 (test_errno): Likewise.
16679 (check_float_internal): Call test_errno. Set errno to 0.
16680 (check_complex): Refer to errno tests in comment.
16681 (check_int): Call test_errno. Set errno to 0.
16682 (check_long): Likewise.
16683 (check_bool): Likewise.
16684 (check_longlong): Likewise.
16685 (cos_test): Use ERRNO_* flags for errno tests instead of
16686 check_int.
16687 (expm1_test): Likewise.
16688 (fmod_test): Likewise.
16689 (ilogb_test): Likewise.
16690 (lgamma_test): Likewise.
16691 (pow_test): Likewise.
16692 (remainder_test): Likewise.
16693 (sin_test): Likewise.
16694 (tan_test): Likewise.
16695 (yn_test): Likewise.
16696 (initialize): Set errno to 0.
16697 (main): Print number of errno tests.
16698 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16699
167002013-04-29 Andreas Jaeger <aj@suse.de>
16701
16702 [BZ #15084]
16703 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16704 and RES_USEVC.
16705
16706 [BZ #15085]
16707 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16708 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16709 unimplemented.
16710
16711 [BZ #15380]
16712 * stdlib/random.c (__initstate): Return NULL if
16713 __initstate fails.
16714
16715 [BZ #15086]
16716 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16717 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16718 RES_SNGLKUPREOP.
16719
167202013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16721
16722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16723
167242013-04-29 Joseph Myers <joseph@codesourcery.com>
16725
16726 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16727 of individual tests.
16728 (casin_test): Likewise.
16729 (casinh_test): Likewise.
16730
167312013-04-27 Joseph Myers <joseph@codesourcery.com>
16732
16733 [BZ #15409]
16734 * math/s_catan.c (__catan): Handle arguments with large real or
16735 imaginary part separately without squaring.
16736 * math/s_catanf.c (__catanf): Likewise.
16737 * math/s_catanh.c (__catanh): Likewise.
16738 * math/s_catanhf.c (__catanhf): Likewise.
16739 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16740 and redefine.
16741 (__catanhl): Handle arguments with large real or imaginary part
16742 separately without squaring.
16743 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16744 and redefine.
16745 (__catanl): Handle arguments with large real or imaginary part
16746 separately without squaring.
16747 * math/libm-test.inc (catan_test): Add more tests.
16748 (catanh_test): Likewise.
16749 * sysdeps/i386/fpu/libm-test-ulps: Update.
16750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16751
167522013-04-27 Andreas Jaeger <aj@suse.de>
16753
16754 [BZ #15007]
16755 * stdlib/stdlib.h: Update guards for qecvt.
16756 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16757 <stdlib.h>.
16758
167592013-04-27 Allan McRae <allan@archlinux.org>
16760
16761 * sysdeps/i386/fpu/libm-test-ulps: Update.
16762
167632013-04-26 Joseph Myers <joseph@codesourcery.com>
16764
16765 [BZ #15406]
16766 * math/s_catan.c: Include <float.h>.
16767 (__catan): Ensure underflow exception occurs for underflowed
16768 result.
16769 * math/s_catanf.c: Include <float.h>.
16770 (__catanf): Ensure underflow exception occurs for underflowed
16771 result.
16772 * math/s_catanh.c: Include <float.h>.
16773 (__catanh): Ensure underflow exception occurs for underflowed
16774 result.
16775 * math/s_catanhf.c: Include <float.h>.
16776 (__catanhf): Ensure underflow exception occurs for underflowed
16777 result.
16778 * math/s_catanhl.c: Include <float.h>.
16779 (__catanhl): Ensure underflow exception occurs for underflowed
16780 result.
16781 * math/s_catanl.c: Include <float.h>.
16782 (__catanl): Ensure underflow exception occurs for underflowed
16783 result.
16784 * math/libm-test.inc (catan_test): Add more tests.
16785 (catanh_test): Likewise.
16786
16787 [BZ #15405]
16788 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16789 underflowed result.
16790 * math/s_ccoshf.c (__ccoshf): Likewise.
16791 * math/s_ccoshl.c (__ccoshl): Likewise.
16792 * math/s_csin.c (__csin): Likewise.
16793 * math/s_csinf.c (__csinf): Likewise.
16794 * math/s_csinh.c (__csinh): Likewise.
16795 * math/s_csinhf.c (__csinhf): Likewise.
16796 * math/s_csinhl.c (__csinhl): Likewise.
16797 * math/s_csinl.c (__csinl): Likewise.
16798 * math/libm-test.inc (ccos_test): Add more tests.
16799 (ccosh_test): Likewise.
16800 (csin_test): Likewise.
16801 (csinh_test): Likewise.
16802
168032013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16804
16805 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16806 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16807 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16808 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16809 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16810 powerpc/power5+/fpu folders.
16811 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16812
16813
168142013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16815
16816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16817
168182013-04-25 Joseph Myers <joseph@codesourcery.com>
16819
16820 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16821 additions to variable.
16822 [$(config-machine) = x86_64] (modules-names): Likewise.
16823 ($(objpfx)tst-audit3): Remove dependency.
16824 ($(objpfx)tst-audit3.out): Likewise.
16825 ($(objpfx)tst-audit4): Likewise.
16826 ($(objpfx)tst-audit4.out): Likewise.
16827 ($(objpfx)tst-audit5): Likewise.
16828 ($(objpfx)tst-audit5.out): Likewise.
16829 ($(objpfx)tst-audit6): Likewise.
16830 ($(objpfx)tst-audit6.out): Likewise.
16831 ($(objpfx)tst-audit7): Likewise.
16832 ($(objpfx)tst-audit7.out): Likewise.
16833 (tst-audit3-ENV): Remove variable.
16834 (tst-audit4-ENV): Likewise.
16835 (tst-audit5-ENV): Likewise.
16836 (tst-audit6-ENV): Likewise.
16837 (tst-audit7-ENV): Likewise.
16838 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16839 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16840 addition to variable.
16841 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16842 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16843 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16844 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16845 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16846 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16847 tst-audit3, tst-audit4 and tst-audit5.
16848 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16849 tst-audit6 and tst-audit7.
16850 [$(subdir) = elf] (modules-names): Add audit modules for those
16851 tests.
16852 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16853 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16854 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16855 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16856 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16857 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16858 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16859 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16860 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16861 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16862 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16863 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16864 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16865 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16866 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16867 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16868 Likewise.
16869 [$(subdir) = elf && $(config-cflags-avx) = yes]
16870 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16871 [$(subdir) = elf && $(config-cflags-avx) = yes]
16872 (CFLAGS-tst-auditmod4a.c): Likewise.
16873 [$(subdir) = elf && $(config-cflags-avx) = yes]
16874 (CFLAGS-tst-auditmod4b.c): Likewise.
16875 [$(subdir) = elf && $(config-cflags-avx) = yes]
16876 (CFLAGS-tst-auditmod6b.c): Likewise.
16877 [$(subdir) = elf && $(config-cflags-avx) = yes]
16878 (CFLAGS-tst-auditmod6c.c): Likewise.
16879 [$(subdir) = elf && $(config-cflags-avx) = yes]
16880 (CFLAGS-tst-auditmod7b.c): Likewise.
16881 * elf/tst-audit3.c: Move to ...
16882 * sysdeps/x86_64/tst-audit3.c: ... here.
16883 * elf/tst-audit4.c: Move to ...
16884 * sysdeps/x86_64/tst-audit4.c: ... here.
16885 * elf/tst-audit5.c: Move to ...
16886 * sysdeps/x86_64/tst-audit5.c: ... here.
16887 * elf/tst-audit6.c: Move to ...
16888 * sysdeps/x86_64/tst-audit6.c: ... here.
16889 * elf/tst-audit7.c: Move to ...
16890 * sysdeps/x86_64/tst-audit7.c: ... here.
16891 * elf/tst-auditmod3a.c: Move to ...
16892 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16893 * elf/tst-auditmod3b.c: Move to ...
16894 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16895 * elf/tst-auditmod4a.c: Move to ...
16896 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16897 * elf/tst-auditmod4b.c: Move to ...
16898 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16899 * elf/tst-auditmod5a.c: Move to ...
16900 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16901 * elf/tst-auditmod5b.c: Move to ...
16902 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16903 * elf/tst-auditmod6a.c: Move to ...
16904 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16905 * elf/tst-auditmod6b.c: Move to ...
16906 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16907 * elf/tst-auditmod6c.c: Move to ...
16908 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16909 * elf/tst-auditmod7a.c: Move to ...
16910 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16911 * elf/tst-auditmod7b.c: Move to ...
16912 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16913
169142013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16915
16916 [BZ #15366]
16917 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16918 define unconditionally.
16919 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16920 define unconditionally.
16921 (INT8_C, INT16_C, etc.): Likewise.
16922
169232013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16924
16925 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16926 __ehdr_start with hidden visibility.
16927
16928 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16929
169302013-04-24 Carlos O'Donell <carlos@redhat.com>
16931
16932 * math/libm-test.inc (cos_test): Use accurate hex constants.
16933 (sincost_test): Likewise.
16934
169352013-04-24 Joseph Myers <joseph@codesourcery.com>
16936
16937 * math/libm-test.inc (catan_test): Add more tests.
16938 (catanh_test): Likewise.
16939
16940 * math/s_catanf.c (__catanf): Use suffixed floating-point
16941 constants.
16942 * math/s_catanhf.c (__catanhf): Likewise.
16943 * math/s_catanhl.c (__catanhl): Likewise.
16944 * math/s_catanl.c (__catanl): Likewise.
16945
16946 [BZ #15394]
16947 * math/s_catan.c (__catan): Calculate imaginary part of result
16948 with log1p not log unless computing log of number close to 0.
16949 * math/s_catanf.c (__catanf): Likewise.
16950 * math/s_catanl.c (__catanl): Likewise.
16951 * math/s_catanh.c (__catanh): Calculate real part of result with
16952 log1p not log unless computing log of number close to 0.
16953 * math/s_catanhf.c (__catanhf): Likewise.
16954 * math/s_catanhl.c (__catanhl): Likewise.
16955 * math/libm-test.inc (catan_test): Add more tests.
16956 (catanh_test): Likewise.
16957 * sysdeps/i386/fpu/libm-test-ulps: Update.
16958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16959
169602013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16961
16962 * benchtests/Makefile: Mention files in which fast and slow
16963 paths of math functions are implemented.
16964
169652013-04-23 Roland McGrath <roland@hack.frob.com>
16966
16967 * sysdeps/posix/timespec_get.c: New file.
16968
169692013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16970
16971 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16972 POWER.
16973 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16974 for POWER.
16975 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16976 powerpc/power5/fpu folders.
16977 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16978 * benchtests/Makefile: Add modf testcase.
16979 * benchtests/bench-modf.c: New file: Benchmark test for mo
16980
169812013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16982
16983 [BZ #14888]
16984 * time/Makefile (tests): Add tst-strptime-whitespace.
16985 * time/strptime_l.c (get_number): Use ISSPACE.
16986 (__strptime_internal): Likewise.
16987 * time/tst-strptime-whitespace.c: New test case.
16988
169892013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16990
16991 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16992 member.
16993 (_nss_files_init): Set it here.
16994
169952013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16996
16997 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16998 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16999 unsigned.
17000
170012013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17002
17003 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17004
170052013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17006
17007 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17008 size just once.
17009
170102013-04-21 David S. Miller <davem@davemloft.net>
17011
17012 * po/ru.po: Update Russion translation from translation project.
17013
170142013-04-17 Adam Conrad <adconrad@0c3.net>
17015
17016 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17017 and setfsgid.
17018
170192013-04-17 Carlos O'Donell <carlos@redhat.com>
17020
17021 * configure.in: Remove i386 configure warning. Remove i386 case.
17022 * configure: Regenerate.
17023 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17024 Add example to error message.
17025 * sysdeps/i386/configure: Regenerate.
17026
170272013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17028
17029 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17030 slowtan.
17031 * benchtests/cos-inputs: New file.
17032 * benchtests/slowcos-inputs: New file.
17033 * benchtests/slowcos.c: New file.
17034 * benchtests/slowtan-inputs: New file.
17035 * benchtests/slowtan.c: New file.
17036 * benchtests/tan-inputs: New file.
17037
170382013-04-16 Roland McGrath <roland@hack.frob.com>
17039
17040 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17041 considered kosher.
17042
170432013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17044
17045 * benchtests/Makefile: Include cppflags-iterator.mk to add
17046 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17047
17048 * Makefile.in (bench-clean): New target.
17049 * benchtests/Makefile (bench-clean): Likewise.
17050
170512013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17052
17053 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17054
170552013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17056
17057 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17058
170592013-04-15 Andreas Schwab <schwab@suse.de>
17060
17061 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17062 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17063 * nscd/pwdcache.c (cache_addpw): Likewise.
17064 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17065 more than recsize.
17066
170672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17068
17069 * benchtests/Makefile (bench): Write all output to
17070 bench-out.tmp together.
17071
170722013-04-15 Andreas Schwab <schwab@suse.de>
17073
17074 * nscd/nscd.c (main): Don't fork again after closing files.
17075
170762013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17077
17078 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17079
17080 * benchtests/Rules (bench-deps): Collect dependencies into a
17081 single variable. Add Makefile to dependencies.
17082 ($(objpfx)bench-%.c): Depend on bench-deps.
17083
170842013-04-12 Roland McGrath <roland@hack.frob.com>
17085 Xavier Roche <roche+kml2@exalead.com>
17086
17087 [BZ #15361]
17088 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17089 just that it's a file descriptor.
17090 * manual/llio.texi (Synchronizing AIO Operations): Update description
17091 for EBADF error from aio_fsync.
17092
170932013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17094
17095 * Rules (bench): Move target definition...
17096 * benchtests/Makefile: ... here.
17097
170982013-04-11 Carlos O'Donell <carlos@redhat.com>
17099
17100 * math/libm-test.inc (cos_test): Fix PI/2 test.
17101 (sincos_test): Likewise.
17102 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17103 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17104
171052013-04-11 Andreas Schwab <schwab@suse.de>
17106
17107 [BZ #13988]
17108 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17109 accept exponent character only when digits were seen.
17110 * stdio-common/Makefile (tests): Add bug26.
17111 * stdio-common/bug26.c: New file.
17112
17113 [BZ #14293]
17114 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17115 non-freeable.
17116
171172013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17118
17119 * Makeconfig (rtld-prefix): Define built linker prefix.
17120 * Rules (run-bench): Use it.
17121 * math/Makefile (run-regen-ulps): Likewise.
17122
17123 * Rules (bench): Remove eval.
17124
171252013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17126 Roland McGrath <roland@hack.frob.com>
17127 Ondrej Bilka <neleai@seznam.cz>
17128
17129 [BZ #15346]
17130 * time/getdate.c: Include ctype.h and alloca.h.
17131 (__getdate_r): Trim leading and trailing spaces of input.
17132 * time/tst-getdate.c (tests): Add tests with leading and
17133 trailing spaces.
17134
171352013-04-08 Roland McGrath <roland@hack.frob.com>
17136
17137 [BZ #14280]
17138 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17139 when computing value.
17140
171412013-04-06 Carlos O'Donell <carlos@redhat.com>
17142
17143 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17144 Use testrun.sh to run libm tests.
17145
17146 [BZ #15309]
17147 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17148
171492013-04-06 Marko Myllynen <myllynen@redhat.com>
17150
17151 [BZ #15264]
17152 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17153
171542013-04-06 Carlos O'Donell <carlos@redhat.com>
17155
17156 * Makefile.in (regen-ulps): New target.
17157 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17158 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17159 [ifneq (no,$(PERL)] (regen-ulps): New target.
17160 [ifeq (no,$(PERL)] (regen-ulps): New target.
17161 * math/libm-test.inc (ulps_file_name): Define.
17162 (output_dir): New variable.
17163 (options): Add "output-dir" option.
17164 (parse_opt): Handle 'o' case.
17165 (main): If output_dir is non-NULL use it as a prefix
17166 otherwise use "".
17167 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17168
171692013-04-06 Carlos O'Donell <carlos@redhat.com>
17170
17171 [BZ #10060, #10062]
17172 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17173 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17174 fail configure if __sync_val_compare_and_swap is not inlined.
17175 * sysdeps/i386/configure: Regenerate.
17176 * configure.in: Build for i686 when configured for i386.
17177 * configure: Regenerate.
17178 * README: Remove i386 reference.
17179
171802013-04-06 Carlos O'Donell <carlos@redhat.com>
17181
17182 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17183 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17184
171852013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17186
17187 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17188 (lmsnanval): New variables.
17189 (F): Add conversion tests.
17190 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17191 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17192
17193 * stdio-common/tstdiomisc.c (F): Properly collect individual
17194 tests' results.
17195
17196 [BZ #14686, #15336]
17197 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17198 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17199 Instead, use input NaN values or generate a qNaN by arithmetic
17200 operation. Also fix bugs to comply with the standard.
17201 * math/libm-test.inc (remainder_test): Add more tests.
17202
17203 [BZ #15335, #15342]
17204 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17205 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17206 input NaN values or generate a qNaN by arithmetic operation.
17207
17208 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17209 unreachable code.
17210
17211 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17212 definitions.
17213
172142013-04-03 Joseph Myers <joseph@codesourcery.com>
17215
17216 [BZ #14478]
17217 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17218 underflowed result.
17219 * math/s_cexpf.c (__cexpf): Likewise.
17220 * math/s_cexpl.c (__cexpl): Likewise.
17221 * math/libm-test.inc (cexp_test): Add more tests.
17222
172232013-04-03 Andreas Schwab <schwab@suse.de>
17224
17225 [BZ #15330]
17226 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17227 order arrays from heap if bigger than alloca cutoff.
17228
172292013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17230
17231 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17232 (SNAN_TESTS_double): Refer to GCC PR56831.
17233 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17234 GCC PR56828.
17235
172362013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17237
17238 * Rules (bench): Move bench.out after the run is complete.
17239
17240 * Rules (bench): Echo currently running benchmark.
17241
17242 * benchtests/Makefile (bench): Add atan and slowatan.
17243 * benchtests/atan-inputs: New file.
17244 * benchtests/slowatan-inputs: New file.
17245 * benchtests/slowatan.c: New file.
17246
17247 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17248 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17249 its value.
17250
17251 [BZ #15305]
17252 * sysdeps/unix/sysv/linux/kernel-features.h
17253 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17254 __ASSUME_XFS_RESTRICTED_CHOWN.
17255 * sysdeps/unix/sysv/linux/pathconf.c
17256 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17257 Save and restore errno.
17258
172592013-04-02 Joseph Myers <joseph@codesourcery.com>
17260
17261 [BZ #15327]
17262 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17263 arguments using __kernel_casinh.
17264 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17265 arguments using __kernel_casinhf.
17266 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17267 arguments using __kernel_casinhl.
17268 * math/libm-test.inc (cacosh_test): Add more tests.
17269 * sysdeps/i386/fpu/libm-test-ulps: Update.
17270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17271
172722013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17273
17274 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17276
17277 * bench/Makefile (bench): Add sin and slowsin.
17278 * benchtests/sin-inputs: New file.
17279 * benchtests/slowsin-inputs: New file.
17280 * benchtests/slowsin.c: New file.
17281
17282 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17283 (bench): Add slowexp and slowpow.
17284 (exp-ITER): Increase iterations.
17285 (pow-ITER): Likewise.
17286 * benchtests/exp-inputs: Change input.
17287 * benchtests/pow-inputs: Likewise.
17288 * benchtests/slowexp-inputs: New file.
17289 * benchtests/slowexp.c: New file.
17290 * benchtests/slowpow-inputs: New file.
17291 * benchtests/slowpow.c: New file.
17292
172932013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17294
17295 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17296 instructions.
17297 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17298 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17299 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17300 * benchtests/Makefile: Add rint benchtest.
17301 * benchtests/rint-inputs: Input for rint benchtest.
17302
173032013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17304
17305 * Versions.def (libm): Add GLIBC_2.18.
17306 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17307 hidden libm prototypes.
17308 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17309 * math/Makefile (libm-calls): Add s_issignaling.
17310 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17311 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17312 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17313 declaration.
17314 * math/math.h [__USE_GNU] (issignaling): New macro.
17315 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17316 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17317 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17318 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17319 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17320 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17321 * manual/arith.texi (issignaling): New section.
17322 * manual/libm-err-tab.pl (@all_functions): Update comment.
17323 * math/gen-libm-test.pl (parse_args): Apply special handling for
17324 issignaling.
17325 * math/libm-test.inc (print_float, issignaling_test): New
17326 functions.
17327 (check_float_internal): Add issignaling checks.
17328 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17329 default definition.
17330 * sysdeps/powerpc/math-tests.h: New file.
17331 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17332 tests.
17333 * math/test-snan.c (TEST_FUNC): Likewise.
17334
173352013-03-30 David S. Miller <davem@davemloft.net>
17336
17337 * po/de.po: Update from translation team.
17338
173392013-03-30 Joseph Myers <joseph@codesourcery.com>
17340
17341 [BZ #10357]
17342 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17343 imaginary part less than 1.0 and real part less than 0.5
17344 specially.
17345 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17346 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17347 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17348 (cacos_test): Add more tests.
17349 (casin_test): Likewise.
17350 (casinh_test): Likewise.
17351 * sysdeps/i386/fpu/libm-test-ulps: Update.
17352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17353
173542013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17355
17356 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17357 ONE with its value.
17358
17359 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17360 (__pow_mp): Replace ONE and MONE with their values.
17361 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17362 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17363 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17364 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17365 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17366 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17367
17368 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17369
17370 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17371 (__pow_mp): Replace ZERO and MZERO with their values.
17372 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17373 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17374 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17376 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17377 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17378 (__sqr): Likewise.
17379
17380 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17381
17382 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17383
173842013-03-28 Roland McGrath <roland@hack.frob.com>
17385
17386 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17387 Declare with __attribute__ ((weak)).
17388 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17389 Call __call_tls_dtors only if it's not NULL.
17390
173912013-03-28 Roland McGrath <roland@hack.frob.com>
17392
17393 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17394 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17395 magic __ehdr_start linker symbol if it's defined.
17396 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17397 them up here if it was already done.
17398
17399 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17400 (_dl_aux_init): Use const in cast when setting it.
17401 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17402 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17403 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17404
17405 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17406 Declare them here.
17407 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17408 * csu/libc-tls.c: Nor here.
17409 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17410
17411 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17412 (__libc_message): Never call vsyslog.
17413
174142013-03-28 Alan Modra <amodra@gmail.com>
17415
17416 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17417 Define as empty.
17418 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17419 Likewise.
17420
174212013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17422
17423 [BZ #15214]
17424 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17425 underflow.
17426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17427
174282013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17429
17430 [BZ #15304]
17431 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17432 Don't add gid passed as argument.
17433
17434 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17435
174362013-03-27 Joseph Myers <joseph@codesourcery.com>
17437
17438 [BZ #15307]
17439 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17440 imaginary part between 1.0 and 1.5 and real part less than 0.5
17441 specially.
17442 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17443 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17444 * math/libm-test.inc (cacos_test): Add more tests.
17445 (casin_test): Likewise.
17446 (casinh_test): Likewise.
17447 * sysdeps/i386/fpu/libm-test-ulps: Update.
17448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17449
174502013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17451
17452 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17453 constants.
17454 (norm): Likewise.
17455 (denorm): Likewise.
17456 (__dbl_mp): Likewise.
17457 (add_magnitudes): Likewise.
17458 (sub_magnitudes): Likewise.
17459 (__add): Likewise.
17460 (__sub): Likewise.
17461 (__mul): Likewise.
17462 (__sqr): Likewise.
17463 (__inv): Likewise.
17464 (__dvd): Likewise.
17465
17466 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17467 commented code.
17468 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17469 (__dubcos): Likewise.
17470 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17471 (__ieee754_acos): Likewise.
17472 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17473 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17474 (__exp1): Likewise.
17475 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17476 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17477 (log1): Likewise.
17478 (my_log2): Likewise.
17479 (checkint): Likewise.
17480 * sysdeps/ieee754/dbl-64/e_remainder.c
17481 (__ieee754_remainder): Likewise.
17482 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17483 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17484 (bsloww): Likewise.
17485 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17486
17487 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17488 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17489 MANTISSA_STORE_T to store computations on mantissa. Use
17490 macros for rounding and division.
17491 (denorm): Likewise.
17492 (__dbl_mp): Likewise.
17493 (add_magnitudes): Likewise.
17494 (sub_magnitudes): Likewise.
17495 (__mul): Likewise.
17496 (__sqr): Likewise.
17497 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17498 powers of two in terms of TWOPOW macro.
17499 (mp_no): Make type of mantissa as MANTISSA_T.
17500 [!RADIXI]: Define RADIXI.
17501 [!TWO52]: Define TWO52.
17502 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17503
175042013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17505
17506 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17507 llroundl symbol when building for PPC32.
17508
175092013-03-24 Mark H Weaver <mhw@netris.org>
17510
17511 * manual/arith.texi (Normalization Functions): Fix prototypes for
17512 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17513
175142013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17515
17516 [BZ #13889]
17517 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17518 high value to check if expl overflow.
17519 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17520 to check for underflow and overflow.
17521 * math/libm-test.inc: Add exp test.
17522
175232013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17524
17525 [BZ #11120]
17526 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17527 with NOT_IN_libc.
17528
175292013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17530
17531 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17532 symbol.
17533
175342013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17535
17536 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17537 wrap blocks consisting of several statements.
17538
17539 * sysdeps/generic/math-tests.h: New file.
17540 * sysdeps/i386/fpu/math-tests.h: Likewise.
17541 * math/test-snan.c: Include it.
17542 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17543
175442013-03-21 Joseph Myers <joseph@codesourcery.com>
17545
17546 [BZ #15285]
17547 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17548 (__ieee754_j0l): Do not improve calculations using cos of twice
17549 input for inputs above LDBL_MAX / 2.0L.
17550 (__ieee754_y0l): Likewise.
17551 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17552 (__ieee754_j1l): Do not improve calculations using cos of twice
17553 input for inputs above LDBL_MAX / 2.0L.
17554 (__ieee754_y1l): Likewise.
17555 * math/libm-test.inc (j0_test): Add another test.
17556 (j1_test): Likewise.
17557 (y0_test): Likewise.
17558 (y1_test): Likewise.
17559 * sysdeps/i386/fpu/libm-test-ulps: Update.
17560
175612013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17562
17563 * Rules ($(objpfx)bench-%.c): Include code from a C source
17564 file.
17565
175662013-03-21 Joseph Myers <joseph@codesourcery.com>
17567
17568 [BZ #15287]
17569 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17570 imaginary part 1.0 and real part less than 0.5 specially.
17571 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17572 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17573 * math/libm-test.inc (cacos_test): Add more tests.
17574 (casin_test): Likewise.
17575 (casinh_test): Likewise.
17576 * sysdeps/i386/fpu/libm-test-ulps: Update.
17577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17578
175792013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17580
17581 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17582 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17583
175842013-03-20 Joseph Myers <joseph@codesourcery.com>
17585
17586 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17587 * config.make.in (config-cflags-sse4): Remove variable.
17588 (config-cflags-avx): Likewise.
17589 (config-cflags-sse2avx): Likewise.
17590 (config-cflags-novzeroupper): Likewise.
17591 (config-asflags-i686): Likewise.
17592 (have-mfma4): Likewise.
17593 (have-as-vis3): Likewise.
17594 (MIG): Likewise.
17595 * configure.in (MIG): Do not AC_SUBST.
17596 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17597 (libc_cv_cc_sse4): Do not AC_SUBST.
17598 (libc_cv_cc_avx): Likewise.
17599 (libc_cv_cc_sse2avx): Likewise.
17600 (libc_cv_cc_novzeroupper): Likewise.
17601 (libc_cv_cc_fma4): Likewise.
17602 (libc_cv_as_i686): Likewise.
17603 (libc_cv_sparc_as_vis3): Likewise.
17604 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17605 LIBC_CONFIG_VAR.
17606 (config-asflags-i686): Likewise.
17607 (config-cflags-avx): Likewise.
17608 (config-cflags-sse2avx): Likewise.
17609 (have-mfma4): Likewise.
17610 (config-cflags-novzeroupper): Likewise.
17611 * sysdeps/mach/configure.in (MIG): Likewise.
17612 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17613 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17614 LIBC_CONFIG_VAR.
17615 (config-cflags-avx): Likewise.
17616 (config-cflags-sse2avx): Likewise.
17617 (have-mfma4): Likewise.
17618 (config-cflags-novzeroupper): Likewise.
17619 * configure: Regenerated.
17620 * sysdeps/i386/configure: Likewise.
17621 * sysdeps/mach/configure: Likewise.
17622 * sysdeps/sparc/configure: Likewise.
17623 * sysdeps/x86_64/configure: Likewise.
17624
176252013-03-20 Roland McGrath <roland@hack.frob.com>
17626
17627 [BZ #14812]
17628 * locale/programs/localedef.c (options): Put N_ translation marker
17629 on argument names, not just descriptions.
17630
176312013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17632
17633 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17634
176352013-03-20 Ondřej Bílka <neleai@seznam.cz>
17636
17637 [BZ #14176]
17638 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17639
176402013-03-19 Roland McGrath <roland@hack.frob.com>
17641
17642 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17643 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17644 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17645 [!BEFORE_ABORT] (before_abort): New function.
17646 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17647 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17648 (writev_for_fatal): New function.
17649 (WRITEV_FOR_FATAL): New macro; call that.
17650 (backtrace_and_maps): New function.
17651 (BEFORE_ABORT): New macro; call that.
17652 (struct str_list): Type removed.
17653 (__libc_message, __libc_fatal): Functions removed.
17654 Include <sysdeps/posix/libc_fatal.c> instead.
17655
176562013-03-19 Joseph Myers <joseph@codesourcery.com>
17657
17658 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17659 constants.
17660 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17661 double constants.
17662
176632013-03-19 Andreas Schwab <schwab@suse.de>
17664
17665 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17666 * sysdeps/gnu/configure: Regenerate.
17667
17668 * configure.in: Substitute libc_cv_rtlddir.
17669 * configure: Regenerate.
17670 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17671 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17672 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17673 * elf/Makefile (install-others, CFLAGS-interp.c)
17674 (ldso_install, common-ldd-rewrite): Likewise.
17675 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17676 $(inst_slibdir)/$(rtld-installed-name).
17677 * scripts/rellns-sh: Add -p option.
17678 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17679 for source.
17680
176812013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17682
17683 * manual/nptl.texi: Renamed to ...
17684 * manual/threads.texi: ... this.
17685 * manual/Makefile (chapters): Update.
17686
176872013-03-18 Roland McGrath <roland@hack.frob.com>
17688
17689 [BZ #14812]
17690 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17691 on argument names, not just descriptions.
17692 * malloc/memusagestat.c (options): Likewise.
17693 * nss/getent.c (options): Likewise.
17694
176952013-03-18 Benno Schulenberg <bensberg@justemail.net>
17696
17697 [BZ #14812]
17698 * iconv/iconv_prog.c (options): Put N_ translation marker
17699 on argument names, not just descriptions.
17700 * iconv/iconvconfig.c (options): Likewise.
17701
177022013-03-18 Ondrej Bilka <neleai@seznam.cz>
17703
17704 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17705 implementation which is faster on all x86_64 architectures.
17706 Tested on AMD, Intel Nehalem, SNB, IVB.
17707 * sysdeps/x86_64/strnlen.S: Likewise.
17708
17709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17710 Remove all multiarch strlen and strnlen versions.
17711 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17712 Remove strlen and strnlen related parts.
17713
17714 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17715 Inline strlen part.
17716 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17717
17718 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17719 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17720 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17721 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17722 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17723 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17724
177252013-03-17 Carlos O'Donell <carlos@redhat.com>
17726
17727 * manual/memory.texi (Malloc Tunable Parameters):
17728 Sort parameters alphabetically. Add comments for missing entries.
17729
177302013-03-17 David S. Miller <davem@davemloft.net>
17731
17732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17733
177342013-03-16 Joseph Myers <joseph@codesourcery.com>
17735
17736 [BZ #15283]
17737 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17738 for arguments at most half maximum finite value.
17739 * math/libm-test.inc (j0_test): Add more tests.
17740 (j1_test): Likewise.
17741 (y0_test): Likewise.
17742 (y1_test): Likewise.
17743 * sysdeps/i386/fpu/libm-test-ulps: Update.
17744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17745
17746 [BZ #14155]
17747 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17748 1 / x and functions P and Q for arguments above 0x1p256L.
17749 (__ieee754_y0l): Likewise.
17750 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17751 (__ieee754_y1l): Likewise.
17752 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17753 (j1_test): Likewise.
17754 (y0_test): Likewise.
17755 (y1_test): Likewise.
17756
177572013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17758
17759 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17760 variable.
17761
177622013-03-15 Roland McGrath <roland@hack.frob.com>
17763
17764 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17765 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17766 zero since it's initialized to EXEC_PAGESIZE.
17767
17768 * sysdeps/unix/sysv/linux/ldsodefs.h
17769 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17770 * sysdeps/generic/ldsodefs.h: ... here.
17771
177722013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17773
17774 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17775
17776 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17777 math/test-snan.c.
17778 * math/test-snan.c: Renamed from
17779 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17780 * math/Makefile (tests): Add test-snan.
17781 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17782 test-powerpc-snan.
17783
17784 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17785 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17786 functions.
17787 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17788 __builtin_nan family of functions.
17789 * math/libm-test.inc (initialize): Initialize qnan_value with
17790 __builtin_nan family of functions.
17791 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17792 Remove variables.
17793 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17794 Remove functions.
17795 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17796 storage class. Initialize qNaN_var and sNaN_var with
17797 __builtin_nan and __builtin_nans families of functions,
17798 respectively.
17799
17800 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17801 (sqrt_test): Remove duplicate test with qNaN input.
17802 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17803 (round_test, signbit_test, significand_test): Note missing +/-Inf
17804 as well as qNaN tests.
17805
17806 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17807 qNaN_var. Fix a few strings, too.
17808 * math/libm-test.inc (nan_value): Rename to qnan_value.
17809 * math/gen-libm-test.pl (%beautify): Adjust to that.
17810 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17811 * math/test-misc.c (main): Likewise.
17812 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17813 to __qnan_bytes, and __qnan_union, respectively.
17814 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17815 Likewise.
17816 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17817 and lqnanval, respectively.
17818 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17819 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17820 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17821 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17822
17823 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17824 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17825 doubles.
17826
17827 * math/test-misc.c (main): Fix copy'n'pastos.
17828 * misc/tst-efgcvt.c (special): Likewise.
17829
17830 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17831 Remove declarations.
17832
178332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17834
17835 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17836 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17837 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17838 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17839
178402013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17841
17842 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17843 macro to return vdso values correctly in IFUNC implementations.
17844 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17845 Optimization by using IFUNC.
17846
178472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17848 Richard Henderson <rth@redhat.com>
17849 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17850
17851 * Makefile.in (bench): New target.
17852 * NEWS: Mention the benchmark framework.
17853 * Rules (bench): Likewise.
17854 (binaries-bench): Generate binaries for functions to
17855 benchmark.
17856 * benchtests/Makefile: New makefile for benchmark tests.
17857 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17858 programs.
17859 * benchtests/exp-inputs: New input file for EXP function.
17860 * benchtests/pow-inputs: New input file for POW function.
17861 * scripts/bench.pl: New script to generate source files for
17862 benchmark programs.
17863
178642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17865
17866 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17867 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17868 computations on mantissa. Use macros for rounding and
17869 division.
17870 (denorm): Likewise.
17871 (__dbl_mp): Likewise.
17872 (add_magnitudes): Likewise.
17873 (sub_magnitudes): Likewise.
17874 (__mul): Likewise.
17875 (__sqr): Likewise.
17876 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17877 powers of two in terms of TWOPOW macro.
17878 (mp_no): Make type of mantissa as MANTISSA_T.
17879 [!RADIXI]: Define RADIXI.
17880 [!TWO52]: Define TWO52.
17881 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17882
17883 * manual/nptl.texi (cindex): Modify threads to pthreads.
17884
178852013-03-15 Joseph Myers <joseph@codesourcery.com>
17886
17887 * sysdeps/x86_64/preconfigure: Regenerated.
17888
178892013-03-14 Joseph Myers <joseph@codesourcery.com>
17890
17891 [BZ #14155]
17892 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17893 0x1p28 and above.
17894 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17895 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17896 0x1p28 and above.
17897 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17898 * math/libm-test.inc (j0_test): Do not allow one spurious
17899 underflow exception.
17900 (y1_test): Likewise.
17901
179022013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17903
17904 * manual/Makefile (chapters): Add nptl.
17905 * manual/debug.texi (Debugging Support): Add link to Threads
17906 chapter.
17907 * manual/nptl.texi: New file.
17908
17909 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17910
179112013-03-14 Petr Baudis <pasky@ucw.cz>
17912
17913 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17914 for non-NULL pointer before the memory validity test. Pointed
17915 out by Holger Brunck <holger.brunck@keymile.com>.
17916
179172013-03-13 Andreas Schwab <schwab@suse.de>
17918
17919 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17920 instead of .os.
17921
179222013-03-13 Joseph Myers <joseph@codesourcery.com>
17923
17924 * timezone/zic.c: Update from tzcode 2013b.
17925
179262013-03-12 Carlos O'Donell <carlos@redhat.com>
17927
17928 * manual/install.texi (Configuring and compiling):
17929 Mention i686 and i586.
17930 * INSTALL: Regenerate.
17931
179322013-03-12 Roland McGrath <roland@hack.frob.com>
17933
17934 * sysdeps/init_array/elf-init.c: New file.
17935 * csu/elf-init.c
17936 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17937 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17938
17939 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17940 __gmon_start__ as global, but as static with a .preinit_array pointer.
17941 * sysdeps/init_array/gmon-start.c: New file. Use that.
17942 * sysdeps/init_array/crti.S: New file, empty except for comments.
17943 * sysdeps/init_array/crtn.S: Likewise.
17944
179452013-03-11 Ondřej Bílka <neleai@seznam.cz>
17946
17947 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17948 definining bcopy.
17949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17950 Remove Prefer_SSE_for_memop.
17951 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17952 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17953 HAS_PREFER_SSE_FOR_MEMOP.
17954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17955 memset-x86-64.
17956 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17957 Remove bzero, memset ifunc support.
17958 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17959 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17960 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17961 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17962
179632013-03-11 Andreas Schwab <schwab@suse.de>
17964
17965 [BZ #15234]
17966 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17967 by SHLIB_COMPAT.
17968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17969 (GLIBC_2.16): Remove pthread_atfork.
17970
179712013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17972
17973 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17974 (ptestcases.h): Likewise.
17975
179762013-03-08 Roland McGrath <roland@hack.frob.com>
17977
17978 * Makeconfig ($(common-objpfx)config.status): Depend on
17979 sysdeps/*/preconfigure{,.in} too.
17980
179812013-03-08 Joseph Myers <joseph@codesourcery.com>
17982
17983 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17984 (__free_hook): Use void * instead of __malloc_ptr_t.
17985 (__malloc_hook): Likewise.
17986 (__realloc_hook): Likewise.
17987 (__memalign_hook): Likewise.
17988 (__after_morecore_hook): Likewise.
17989 * malloc/arena.c (save_malloc_hook): Likewise.
17990 (save_free_hook): Likewise.
17991 * malloc/hooks.c (malloc_hook_ini): Likewise.
17992 (realloc_hook_ini): Likewise.
17993 (memalign_hook_ini): Likewise.
17994 * malloc/malloc.c (malloc_hook_ini): Likewise.
17995 (realloc_hook_ini): Likewise.
17996 (memalign_hook_ini): Likewise.
17997 (__free_hook): Likewise.
17998 (__malloc_hook): Likewise.
17999 (__realloc_hook): Likewise.
18000 (__memalign_hook): Likewise.
18001 (__libc_malloc): Likewise.
18002 (__libc_free): Likewise.
18003 (__libc_realloc): Likewise.
18004 (__libc_memalign): Likewise.
18005 (__libc_valloc): Likewise.
18006 (__libc_pvalloc): Likewise.
18007 (__libc_calloc): Likewise.
18008 (__posix_memalign): Likewise.
18009 * malloc/morecore.c (__sbrk): Likewise.
18010 (__default_morecore): Likewise.
18011
18012 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18013
18014 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18015 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18016 __malloc_ptrdiff_t.
18017
18018 * malloc/malloc.h (__malloc_size_t): Remove macro.
18019 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18020 __malloc_size_t.
18021 (old_memalign_hook): Likewise.
18022 (old_realloc_hook): Likewise.
18023 (struct hdr): Likewise.
18024 (flood): Likewise.
18025 (mallochook): Likewise.
18026 (memalignhook): Likewise.
18027 (reallochook): Likewise.
18028 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18029 (tr_old_realloc_hook): Likewise.
18030 (tr_old_memalign_hook): Likewise.
18031 (tr_mallochook): Likewise.
18032 (tr_reallochook): Likewise.
18033 (tr_memalignhook): Likewise.
18034
180352013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18036
18037 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18038 default_ldbl_pack and using as default implementation.
18039 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18040 implementation.
18041 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18042 redundant definition.
18043 (ldbl_insert_mantissa): Likewise.
18044 (ldbl_canonicalize): Likewise.
18045 (ldbl_nearbyint): Likewise.
18046 (ldbl_pack): Rename to ldbl_pack_ppc.
18047 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18048 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18049 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18050
180512013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18052
18053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18054 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18055 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18056 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18058 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18059 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18060 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18061
180622013-03-07 Andreas Jaeger <aj@suse.de>
18063
18064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18065 bits/mman-linux.h.
18066
180672013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18068
18069 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18070 Include mpa.h and declare __MPEXP.
18071 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18072 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18073 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18074 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18075 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18076 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18077 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18078
18079 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18080 (__slowpow): Use long double EXPL and LOGL functions to
18081 compute POW.
18082 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18083 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18084 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18085 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18086 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18087 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18088
18089 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18090 intermediate variable to calculate exponent.
18091 (__sqr): Likewise.
18092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18093 Likewise.
18094 (__sqr): Likewise.
18095
18096 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18097 [!NO__SQR]: Define __sqr.
18098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18099 and NO__SQR. Remove all code except __mul and __sqr. Include
18100 sysdeps/ieee754/dbl-64/mpa.c.
18101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18102
18103 [BZ #12723]
18104 * posix/Makefile (tests): Add tst-pathconf.
18105 * posix/tst-pathconf.c: New test case.
18106 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18107 _PC_PIPE_BUF.
18108 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18109
181102013-03-06 Patsy Franklin <pfrankli@redhat.com>
18111
18112 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18113
181142013-03-06 Andreas Jaeger <aj@suse.de>
18115
18116 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18117 definition via __MAP_ANONYMOUS.
18118
18119 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18120 it's not part of Linux headers.
18121
18122 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18123 (MAP_HUGE_MASK): Define.
18124
18125 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18126 Define.
18127 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18128 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18129 Define.
18130 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18131 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18132 Define.
18133 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18134 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18135 Define.
18136 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18137
18138 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18139 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18140 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18141 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18142 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18143 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18144
18145 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18146 Handle f2fs.
18147
18148 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18149 Handle f2fs and efivarfs.
18150
18151 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18152 f2fs.
18153
18154 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18155 (EFIVARFS_MAGIC): Add.
18156 (F2FS_LINK_MAX): Add.
18157
181582013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18159
18160 * stdio-common/vfprintf.c: Replace __builtin_expect with
18161 __glibc_unlikely.
18162
181632013-03-06 Joseph Myers <joseph@codesourcery.com>
18164
18165 [BZ #13550]
18166 * sysdeps/generic/bp-sym.h: Remove file.
18167 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18168 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18169 <bp-sym.h> and <bp-asm.h>.
18170 (__longjmp): Don't use BP_SYM.
18171 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18172 and <bp-asm.h>.
18173 (memcpy): Don't use BP_SYM.
18174 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18175 <bp-sym.h> and <bp-asm.h>.
18176 (memcpy): Don't use BP_SYM.
18177 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18178 <bp-asm.h>.
18179 (memcpy): Don't use BP_SYM.
18180 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18181 <bp-asm.h>.
18182 (memset): Don't use BP_SYM.
18183 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18184 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18185 (__bzero): Don't use BP_SYM.
18186 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18187 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18188 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18189 <bp-sym.h> and <bp-asm.h>.
18190 (memcmp): Don't use BP_SYM. Remove comment about bounded
18191 pointers.
18192 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18193 <bp-sym.h> and <bp-asm.h>.
18194 (memcpy): Don't use BP_SYM.
18195 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18196 <bp-sym.h> and <bp-asm.h>.
18197 (memset): Don't use BP_SYM.
18198 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18199 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18200 (__bzero): Don't use BP_SYM.
18201 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18202 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18203 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18204 <bp-sym.h> and <bp-asm.h>.
18205 (strncmp): Don't use BP_SYM. Remove comment about bounded
18206 pointers.
18207 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18208 <bp-sym.h> and <bp-asm.h>.
18209 (memcpy): Don't use BP_SYM.
18210 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18211 <bp-sym.h> and <bp-asm.h>.
18212 (memset): Don't use BP_SYM.
18213 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18214 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18215 (__bzero): Don't use BP_SYM.
18216 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18217 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18218 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18219 <bp-sym.h> and <bp-asm.h>.
18220 (__memchr): Don't use BP_SYM.
18221 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18222 <bp-sym.h> and <bp-asm.h>.
18223 (memcmp): Don't use BP_SYM. Remove comment about bounded
18224 pointers.
18225 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18226 <bp-sym.h> and <bp-asm.h>.
18227 (memcpy): Don't use BP_SYM.
18228 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18229 <bp-sym.h> and <bp-asm.h>.
18230 (__mempcpy): Don't use BP_SYM.
18231 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18232 <bp-sym.h> and <bp-asm.h>.
18233 (__memrchr): Don't use BP_SYM.
18234 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18235 <bp-sym.h> and <bp-asm.h>.
18236 (memset): Don't use BP_SYM.
18237 (__bzero): Likewise.
18238 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18239 <bp-sym.h> and <bp-asm.h>.
18240 (__rawmemchr): Don't use BP_SYM.
18241 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18242 <bp-sym.h> and <bp-asm.h>.
18243 (__STRCMP): Don't use BP_SYM.
18244 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18245 <bp-sym.h> and <bp-asm.h>.
18246 (strchr): Don't use BP_SYM.
18247 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18248 <bp-sym.h> and <bp-asm.h>.
18249 (__strchrnul): Don't use BP_SYM.
18250 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18251 <bp-sym.h> and <bp-asm.h>.
18252 (strlen): Don't use BP_SYM.
18253 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18254 <bp-sym.h> and <bp-asm.h>.
18255 (strncmp): Don't use BP_SYM. Remove comment about bounded
18256 pointers.
18257 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18258 <bp-sym.h> and <bp-asm.h>.
18259 (__strnlen): Don't use BP_SYM.
18260 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18261 <bp-sym.h> and <bp-asm.h>.
18262 (__GI__setjmp): Don't use BP_SYM.
18263 (_setjmp): Likewise.
18264 (__sigsetjmp): Likewise.
18265 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18266 (L(start_addresses)): Don't use BP_SYM.
18267 (_start): Likewise.
18268 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18269 <bp-asm.h>.
18270 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18271 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18272 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18273 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18274 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18275 <bp-asm.h>.
18276 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18277 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18278 about bounded pointers.
18279 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18280 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18281 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18282 <bp-asm.h>.
18283 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18284 about bounded pointers. Remove GKM FIXME comments.
18285 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18286 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18287 <bp-asm.h>.
18288 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18289 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18290 Remove GKM FIXME comments.
18291 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18292 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18293 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18294 <bp-asm.h>.
18295 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18296 about bounded pointers. Remove GKM FIXME comment.
18297 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18298 and <bp-asm.h>.
18299 (strncmp): Don't use BP_SYM. Remove comment about bounded
18300 pointers.
18301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18302 <bp-sym.h> and <bp-asm.h>.
18303 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18305 <bp-sym.h> and <bp-asm.h>.
18306 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18307 comment.
18308
183092013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18310
18311 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18312 call free(NULL).
18313
183142013-03-05 David S. Miller <davem@davemloft.net>
18315
18316 * po/es.po: Update from translation team.
18317
183182013-03-05 Andreas Jaeger <aj@suse.de>
18319
18320 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18321 <bits/mman-linux.h>.
18322 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18323 is fine.
18324 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18325 <bits/mman-linux.h> to end of file.
18326 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18327 is fine.
18328 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18329 <bits/mman-linux.h> to end of file.
18330 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18331 is fine.
18332 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18333 <bits/mman-linux.h> to end of file.
18334
18335 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18336 (MCL_CURRENT, MCL_FUTURE): Define here.
18337
183382013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18339
18340 [BZ #15232]
18341 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18342 attribute_hidden.
18343 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18344
183452013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18346
18347 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18348 fourth parameter needed for rt_sigprocmask syscall.
18349 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18350 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18351 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18352 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18353 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18354 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18355
183562013-03-04 Joseph Myers <joseph@codesourcery.com>
18357
18358 [BZ #13550]
18359 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18360 comment about bounded pointers.
18361 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18362 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18363
183642013-03-04 Andreas Jaeger <aj@suse.de>
18365
18366 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18367 common definitions.
18368
18369 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18370 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18371 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18372 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18373 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18374 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18375
183762013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18377
18378 [BZ #15055]
18379 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18380 __ieee754_sqrl instead of __sqrl.
18381
183822013-03-01 Joseph Myers <joseph@codesourcery.com>
18383
18384 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18385 * sysdeps/powerpc/fpu_control.h: ... here.
18386 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18387 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18388 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18389 * sysdeps/powerpc/bits/mathinline.h: ... here.
18390
183912013-03-01 Roland McGrath <roland@hack.frob.com>
18392
18393 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18394 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18395 to just [NEED_DL_SYSINFO_DSO].
18396 * elf/dl-support.c: Likewise.
18397 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18398 * elf/rtld.c (dl_main): Likewise.
18399 * elf/setup-vdso.h (setup_vdso): Likewise.
18400 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18401 * sysdeps/unix/sysv/linux/dl-sysdep.c
18402 (_dl_discover_osversion): Likewise.
18403
184042013-03-01 Carlos O'Donell <carlos@redhat.com>
18405
18406 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18407 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18408
184092013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18410
18411 * NEWS: Mention libm performance improvements and non-x86 PI
18412 futex support.
18413
18414 * csu/libc-start.c (__pthread_initialize_minimal): Change
18415 function arguments.
18416 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18417
184182013-02-28 Joseph Myers <joseph@codesourcery.com>
18419
18420 [BZ #13550]
18421 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18422 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18423 <bp-sym.h> and <bp-asm.h>.
18424 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18425 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18426 and <bp-asm.h>.
18427 (memcpy): Don't use BP_SYM.
18428 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18429 <bp-asm.h>.
18430 (__mpn_add_n): Don't use BP_SYM.
18431 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18432 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18433 and <bp-asm.h>.
18434 (__mpn_addmul_1): Don't use BP_SYM.
18435 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18436 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18437 <bp-sym.h>.
18438 (_setjmp): Don't use BP_SYM.
18439 (__novmx_setjmp): Likewise.
18440 (__GI__setjmp): Likewise.
18441 (__vmx_setjmp): Likewise.
18442 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18443 <bp-sym.h>.
18444 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18445 (__bzero): Don't use BP_SYM.
18446 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18447 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18448 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18449 <bp-sym.h> and <bp-asm.h>.
18450 (memcpy): Don't use BP_SYM.
18451 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18452 <bp-sym.h> and <bp-asm.h>.
18453 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18454 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18455 <bp-sym.h> and <bp-asm.h>.
18456 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18457 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18458 <bp-asm.h>.
18459 (__mpn_lshift): Don't use BP_SYM.
18460 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18461 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18462 <bp-asm.h>.
18463 (memset): Don't use BP_SYM.
18464 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18465 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18466 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18467 <bp-asm.h>.
18468 (__mpn_mul_1): Don't use BP_SYM.
18469 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18470 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18471 <bp-sym.h> and <bp-asm.h>.
18472 (memcmp): Don't use BP_SYM.
18473 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18474 <bp-sym.h> and <bp-asm.h>.
18475 (memcpy): Don't use BP_SYM.
18476 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18477 <bp-sym.h> and <bp-asm.h>.
18478 (memset): Don't use BP_SYM.
18479 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18480 <bp-sym.h> and <bp-asm.h>.
18481 (strncmp): Don't use BP_SYM.
18482 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18483 <bp-sym.h> and <bp-asm.h>.
18484 (memcpy): Don't use BP_SYM.
18485 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18486 <bp-sym.h> and <bp-asm.h>.
18487 (memset): Don't use BP_SYM.
18488 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18489 <bp-sym.h> and <bp-asm.h>.
18490 (__memchr): Don't use BP_SYM.
18491 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18492 <bp-sym.h> and <bp-asm.h>.
18493 (memcmp): Don't use BP_SYM.
18494 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18495 <bp-sym.h> and <bp-asm.h>.
18496 (memcpy): Don't use BP_SYM.
18497 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18498 <bp-sym.h> and <bp-asm.h>.
18499 (__mempcpy): Don't use BP_SYM.
18500 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18501 <bp-sym.h> and <bp-asm.h>.
18502 (__memrchr): Don't use BP_SYM.
18503 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18504 <bp-sym.h> and <bp-asm.h>.
18505 (memset): Don't use BP_SYM.
18506 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18507 <bp-sym.h> and <bp-asm.h>.
18508 (__rawmemchr): Don't use BP_SYM.
18509 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18510 <bp-sym.h> and <bp-asm.h>.
18511 (__STRCMP): Don't use BP_SYM.
18512 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18513 <bp-sym.h> and <bp-asm.h>.
18514 (strchr): Don't use BP_SYM.
18515 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18516 <bp-sym.h> and <bp-asm.h>.
18517 (__strchrnul): Don't use BP_SYM.
18518 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18519 <bp-sym.h> and <bp-asm.h>.
18520 (strlen): Don't use BP_SYM.
18521 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18522 <bp-sym.h> and <bp-asm.h>.
18523 (strncmp): Don't use BP_SYM.
18524 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18525 <bp-sym.h> and <bp-asm.h>.
18526 (__strnlen): Don't use BP_SYM.
18527 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18528 <bp-asm.h>.
18529 (__mpn_rshift): Don't use BP_SYM.
18530 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18531 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18532 <bp-sym.h> and <bp-asm.h>.
18533 (__sigsetjmp): Don't use BP_SYM.
18534 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18535 (L(start_addresses)): Don't use BP_SYM.
18536 (_start): Likewise.
18537 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18538 <bp-asm.h>.
18539 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18540 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18541 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18542 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18543 <bp-asm.h>.
18544 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18545 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18546 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18547 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18548 <bp-asm.h>.
18549 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18550 comments.
18551 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18552 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18553 <bp-asm.h>.
18554 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18555 FIXME comments.
18556 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18557 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18558 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18559 <bp-asm.h>.
18560 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18561 comment.
18562 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18563 and <bp-asm.h>.
18564 (strncmp): Don't use BP_SYM,
18565 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18566 <bp-asm.h>.
18567 (__mpn_sub_n): Don't use BP_SYM.
18568 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18569 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18570 and <bp-asm.h>.
18571 (__mpn_submul_1): Don't use BP_SYM.
18572 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18574 <bp-sym.h> and <bp-asm.h>.
18575 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18577 <bp-sym.h> and <bp-asm.h>.
18578 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18579 comment.
18580
185812013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18582
18583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18584 Use ZK to minimize writes to Z.
18585 (sub_magnitudes): Simplify code a bit.
18586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18587 Use ZK to minimize writes to Z.
18588 (sub_magnitudes): Simplify code a bit.
18589
185902013-02-27 Roland McGrath <roland@hack.frob.com>
18591
18592 * csu/gmon-start.c: Add special exception to license text.
18593
185942013-02-27 Richard Henderson <rth@redhat.com>
18595
18596 * scripts/config.guess: Update from config.git.
18597 * scripts/config.sub: Likewise.
18598
185992013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18600
18601 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18602
18603 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18604
18605 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18606
18607 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18608
18609 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18610
186112013-02-26 Roland McGrath <roland@hack.frob.com>
18612
18613 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18614 [$(build-shared = yes].
18615
186162013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18617
18618 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18619 (__mul): Reduce iterations for calculating mantissa.
18620
18621 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18622 MPTWO.
18623 (__mpranred): Likewise.
18624
18625 [BZ #15160]
18626 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18627 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18628
186292013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18630
18631 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18632 Define __attribute__.
18633
186342013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18635
18636 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18637 unused.
18638 * posix/regex_internal.h (__attribute): Remove.
18639 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18640 (re_string_context_at): Likewise.
18641 (bitset_not): Use __attribute__ and mark function as possibly
18642 unused.
18643 (bitset_merge): Likewise.
18644 (bitset_mask): Likewise.
18645 (re_string_char_size_at): Likewise.
18646 (re_string_wchar_at): Likewise.
18647 (re_string_elem_size_at): Likewise.
18648
186492013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18650
18651 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18652 code.
18653 (cc32): Likewise.
18654
18655 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18656 (__acr): Likewise.
18657 (__cpy): Likewise.
18658 (norm): Likewise.
18659 (denorm): Likewise.
18660 (__dbl_mp): Likewise.
18661 (add_magnitudes): Likewise.
18662 (sub_magnitudes): Likewise.
18663 (__mul): Likewise.
18664 (__inv): Likewise.
18665
18666 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18667 style.
18668
18669 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18670 style.
18671
18672 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18673 code.
18674
18675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18676 up changes with default code.
18677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18678 Likewise.
18679
186802013-02-24 Allan McRae <allan@archlinux.org>
18681
18682 * manual/socket.texi (The Internet Namespace): Order menu items
18683 to match that in the file.
18684
18685 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18686 node listing of the info page menu.
18687
186882013-02-21 Joseph Myers <joseph@codesourcery.com>
18689
18690 [BZ #13550]
18691 * sysdeps/i386/bp-asm.h: Remove file.
18692 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18693 (PARMS): Do not use macros from bp-asm.h.
18694 (S1): Likewise.
18695 (S2): Likewise.
18696 (SIZE): Likewise.
18697 (__mpn_add_n): Do not use BP_SYM
18698 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18699 "bp-asm.h".
18700 (PARMS): Do not use macros from bp-asm.h.
18701 (S1): Likewise.
18702 (SIZE): Likewise.
18703 (__mpn_addmul_1): Do not use BP_SYM
18704 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18705 "bp-asm.h".
18706 (PARMS): Do not use macros from bp-asm.h.
18707 (SIGMSK): Likewise.
18708 (_setjmp): Likewise. Do not use BP_SYM.
18709 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18710 "bp-asm.h".
18711 (PARMS): Do not use macros from bp-asm.h.
18712 (SIGMSK): Likewise.
18713 (setjmp): Likewise. Do not use BP_SYM.
18714 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18715 "bp-asm.h".
18716 (PARMS): Do not use macros from bp-asm.h.
18717 (__frexp): Do not use BP_SYM.
18718 (frexp): Likewise.
18719 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18720 "bp-asm.h".
18721 (PARMS): Do not use macros from bp-asm.h.
18722 (__frexpf): Do not use BP_SYM.
18723 (frexpf): Likewise.
18724 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18725 "bp-asm.h".
18726 (PARMS): Do not use macros from bp-asm.h.
18727 (__frexpl): Do not use BP_SYM.
18728 (frexpl): Likewise.
18729 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18730 "bp-asm.h".
18731 (PARMS): Do not use macros from bp-asm.h.
18732 (__remquo): Do not use BP_SYM.
18733 (remquo): Likewise.
18734 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18735 "bp-asm.h".
18736 (PARMS): Do not use macros from bp-asm.h.
18737 (__remquof): Do not use BP_SYM.
18738 (remquof): Likewise.
18739 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18740 "bp-asm.h".
18741 (PARMS): Do not use macros from bp-asm.h.
18742 (__remquol): Do not use BP_SYM.
18743 (remquol): Likewise.
18744 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18745 "bp-asm.h".
18746 (PARMS): Do not use macros from bp-asm.h.
18747 (DEST): Likewise.
18748 (SRC): Likewise.
18749 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18750 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18751 "bp-asm.h".
18752 (PARMS): Do not use macros from bp-asm.h.
18753 (strlen): Do not use BP_SYM.
18754 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18755 "bp-asm.h".
18756 (PARMS): Do not use macros from bp-asm.h.
18757 (S1): Likewise.
18758 (S2): Likewise.
18759 (SIZE): Likewise.
18760 (__mpn_add_n): Do not use BP_SYM.
18761 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18762 "bp-asm.h".
18763 (PARMS): Do not use macros from bp-asm.h.
18764 (S1): Likewise.
18765 (SIZE): Likewise.
18766 (__mpn_addmul_1): Do not use BP_SYM.
18767 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18768 weak_alias.
18769 (bzero): Likewise.
18770 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18771 "bp-asm.h".
18772 (PARMS): Do not use macros from bp-asm.h.
18773 (S): Likewise.
18774 (SIZE): Likewise.
18775 (__mpn_lshift): Do not use BP_SYM.
18776 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18777 "bp-asm.h".
18778 (PARMS): Do not use macros from bp-asm.h.
18779 (DEST): Likewise.
18780 (SRC): Likewise.
18781 (LEN): Likewise.
18782 (memcpy): Likewise. Do not use BP_SYM.
18783 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18784 libc_hidden_def and weak_alias.
18785 (mempcpy): Do not use BP_SYM in weak_alias.
18786 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18787 "bp-asm.h".
18788 (PARMS): Do not use macros from bp-asm.h.
18789 (DEST): Likewise.
18790 (LEN): Likewise.
18791 [!BZERO_P] (CHR): Likewise.
18792 (memset): Likewise. Do not use BP_SYM.
18793 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18794 "bp-asm.h".
18795 (PARMS): Do not use macros from bp-asm.h.
18796 (S1): Likewise.
18797 (SIZE): Likewise.
18798 (__mpn_mul_1): Do not use BP_SYM.
18799 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18800 "bp-asm.h".
18801 (PARMS): Do not use macros from bp-asm.h.
18802 (S): Likewise.
18803 (SIZE): Likewise.
18804 (__mpn_rshift): Do not use BP_SYM.
18805 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18806 "bp-asm.h".
18807 (PARMS): Do not use macros from bp-asm.h.
18808 (STR): Likewise.
18809 (CHR): Likewise.
18810 (strchr): Likewise. Do not use BP_SYM.
18811 (index): Do not use BP_SYM in weak_alias.
18812 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18813 "bp-asm.h".
18814 (PARMS): Do not use macros from bp-asm.h.
18815 (DEST): Likewise.
18816 (SRC): Likewise.
18817 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18818 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18819 "bp-asm.h".
18820 (PARMS): Do not use macros from bp-asm.h.
18821 (strlen): Do not use BP_SYM.
18822 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18823 "bp-asm.h".
18824 (PARMS): Do not use macros from bp-asm.h.
18825 (S1): Likewise.
18826 (S2): Likewise.
18827 (SIZE): Likewise.
18828 (__mpn_sub_n): Do not use BP_SYM.
18829 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18830 "bp-asm.h".
18831 (PARMS): Do not use macros from bp-asm.h.
18832 (S1): Likewise.
18833 (SIZE): Likewise.
18834 (__mpn_submul_1): Do not use BP_SYM.
18835 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18836 "bp-asm.h".
18837 (PARMS): Do not use macros from bp-asm.h.
18838 (S1): Likewise.
18839 (S2): Likewise.
18840 (SIZE): Likewise.
18841 (__mpn_add_n): Do not use BP_SYM.
18842 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18843 weak_alias.
18844 (bzero): Likewise.
18845 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18846 "bp-asm.h".
18847 (PARMS): Do not use macros from bp-asm.h.
18848 (BLK2): Likewise.
18849 (LEN): Likewise.
18850 (memcmp): Do not use BP_SYM.
18851 (bcmp): Do not use BP_SYM in weak_alias.
18852 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18853 "bp-asm.h".
18854 (PARMS): Do not use macros from bp-asm.h.
18855 (DEST): Likewise.
18856 (SRC): Likewise.
18857 (LEN): Likewise.
18858 (memcpy): Likewise. Do not use BP_SYM.
18859 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18860 "bp-asm.h".
18861 (PARMS): Do not use macros from bp-asm.h.
18862 (DEST): Likewise.
18863 (SRC): Likewise.
18864 (LEN): Likewise.
18865 (memmove): Likewise. Do not use BP_SYM.
18866 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18867 "bp-asm.h".
18868 (PARMS): Do not use macros from bp-asm.h.
18869 (DEST): Likewise.
18870 (SRC): Likewise.
18871 (LEN): Likewise.
18872 (__mempcpy): Likewise. Do not use BP_SYM.
18873 (mempcpy): Do not use BP_SYM in weak_alias.
18874 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18875 "bp-asm.h".
18876 (PARMS): Do not use macros from bp-asm.h.
18877 (DEST): Likewise.
18878 (LEN): Likewise.
18879 [!BZERO_P] (CHR): Likewise.
18880 (memset): Likewise. Do not use BP_SYM.
18881 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18882 "bp-asm.h".
18883 (PARMS): Do not use macros from bp-asm.h.
18884 (STR2): Likewise.
18885 (strcmp): Do not use BP_SYM.
18886 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18887 "bp-asm.h".
18888 (PARMS): Do not use macros from bp-asm.h.
18889 (STR): Likewise.
18890 (DELIM): Likewise.
18891 [USE_AS_STRTOK_R] (SAVE): Likewise.
18892 (FUNCTION): Likewise. Do not use BP_SYM.
18893 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18894 aliases.
18895 (strtok_r): Likewise.
18896 (__GI___strtok_r): Likewise.
18897 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18898 (PARMS): Do not use macros from bp-asm.h.
18899 (S): Likewise.
18900 (SIZE): Likewise.
18901 (__mpn_lshift): Do not use BP_SYM.
18902 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18903 (PARMS): Do not use macros from bp-asm.h.
18904 (STR): Likewise.
18905 (CHR): Likewise.
18906 (__memchr): Do not use BP_SYM.
18907 (memchr): Do not use BP_SYM in weak_alias.
18908 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18909 (PARMS): Do not use macros from bp-asm.h.
18910 (BLK2): Likewise.
18911 (LEN): Likewise.
18912 (memcmp): Do not use BP_SYM.
18913 (bcmp): Do not use BP_SYM in weak_alias.
18914 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18915 (PARMS): Do not use macros from bp-asm.h.
18916 (S1): Likewise.
18917 (SIZE): Likewise.
18918 (__mpn_mul_1): Do not use BP_SYM.
18919 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18920 "bp-asm.h".
18921 (PARMS): Do not use macros from bp-asm.h.
18922 (STR): Likewise.
18923 (CHR): Likewise.
18924 (__rawmemchr): Do not use BP_SYM.
18925 (rawmemchr): Do not use BP_SYM in weak_alias.
18926 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18927 (PARMS): Do not use macros from bp-asm.h.
18928 (S): Likewise.
18929 (SIZE): Likewise.
18930 (__mpn_rshift): Do not use BP_SYM.
18931 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18932 (PARMS): Do not use macros from bp-asm.h.
18933 (SIGMSK): Likewise.
18934 (__sigsetjmp): Likewise. Do not use BP_SYM.
18935 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18936 (_start): Do not use BP_SYM.
18937 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18938 (PARMS): Do not use macros from bp-asm.h.
18939 (DEST): Likewise.
18940 (SRC): Likewise.
18941 (__stpcpy): Likewise. Do not use BP_SYM.
18942 (stpcpy): Do not use BP_SYM in weak_alias.
18943 * sysdeps/i386/stpncpy.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 (__stpncpy): Likewise. Do not use BP_SYM.
18950 (stpncpy): Do not use BP_SYM in weak_alias.
18951 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18952 (PARMS): Do not use macros from bp-asm.h.
18953 (STR): Likewise.
18954 (CHR): Likewise.
18955 (strchr): Likewise. Do not use BP_SYM.
18956 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18957 "bp-asm.h".
18958 (PARMS): Do not use macros from bp-asm.h.
18959 (STR): Likewise.
18960 (CHR): Likewise.
18961 (__strchrnul): Likewise. Do not use BP_SYM.
18962 (strchrnul): Do not use BP_SYM in weak_alias.
18963 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18964 "bp-asm.h".
18965 (PARMS): Do not use macros from bp-asm.h.
18966 (STOP): Likewise.
18967 (strcspn): Do not use BP_SYM.
18968 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18969 "bp-asm.h".
18970 (PARMS): Do not use macros from bp-asm.h.
18971 (STR): Likewise.
18972 (STOP): Likewise.
18973 (strpbrk): Likewise. Do not use BP_SYM.
18974 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18975 "bp-asm.h".
18976 (PARMS): Do not use macros from bp-asm.h.
18977 (STR): Likewise.
18978 (CHR): Likewise.
18979 (strrchr): Likewise. Do not use BP_SYM.
18980 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18981 (PARMS): Do not use macros from bp-asm.h.
18982 (SKIP): Likewise.
18983 (strspn): Do not use BP_SYM.
18984 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18985 (PARMS): Do not use macros from bp-asm.h.
18986 (STR): Likewise.
18987 (DELIM): Likewise.
18988 (SAVE): Likewise.
18989 (FUNCTION): Likewise. Do not use BP_SYM.
18990 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18991 aliases.
18992 (strtok_r): Likewise.
18993 (__GI___strtok_r): Likewise.
18994 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18995 (PARMS): Do not use macros from bp-asm.h.
18996 (S1): Likewise.
18997 (S2): Likewise.
18998 (SIZE): Likewise.
18999 (__mpn_sub_n): Do not use BP_SYM.
19000 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19001 "bp-asm.h".
19002 (PARMS): Do not use macros from bp-asm.h.
19003 (S1): Likewise.
19004 (SIZE): Likewise.
19005 (__mpn_submul_1): Do not use BP_SYM.
19006 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19007 <bp-sym.h>.
19008 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19009 and <bp-asm.h>.
19010 (PARMS): Do not use macros from bp-asm.h.
19011 (FLAGS): Likewise.
19012 (PTID): Likewise.
19013 (TLS): Likewise.
19014 (CTID): Likewise.
19015 (__clone): Do not use BP_SYM.
19016 (clone): Do not use BP_SYM in weak_alias.
19017 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19018 and <bp-asm.h>.
19019 (PARMS): Do not use macros from bp-asm.h.
19020 (LEN): Likewise.
19021 (__mmap64): Do not use BP_SYM.
19022 (mmap64): Do not use BP_SYM in weak_alias.
19023 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19024 <bp-sym.h> and <bp-asm.h>.
19025 (PARMS): Do not use macros from bp-asm.h.
19026 (__posix_fadvise64_l64): Do not use BP_SYM.
19027 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19028 (PARMS): Do not use macros from bp-asm.h.
19029 (NSOPS): Likewise.
19030 (semtimedop): Do not use BP_SYM.
19031 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19032 and <bp-asm.h>.
19033
190342013-02-21 Allan McRae <allan@archlinux.org>
19035
19036 * manual/message.texi (Charset conversion in gettext):
19037 Move @end statement to beginning of line.
19038
190392013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19040
19041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19042 static.
19043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19044 Likewise.
19045
19046 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19047 (denorm): Likewise.
19048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19050
190512013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19052
19053 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19054 tail-call to the resolved function if pltexit isn't needed.
19055
190562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19057
19058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19059 or Y being zero as being unlikely.
19060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19061 Likewise.
19062
190632013-02-20 Carlos O'Donell <carlos@redhat.com>
19064
19065 * manual/nss.texi (System Databases and Name Service Switch):
19066 Remove frobnicate @pxref.
19067
190682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19069
19070 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19071 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19072
190732013-02-20 Petr Machata <pmachata@redhat.com>
19074
19075 * elf/elf.h (R_ARM_TARGET1): New macro.
19076 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19077 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19078 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19079 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19080 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19081 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19082 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19083 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19084 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19085 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19086 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19087 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19088 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19089 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19090 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19091 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19092 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19093 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19094 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19095 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19096 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19097 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19098 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19099 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19100 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19101 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19102 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19103 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19104 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19105 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19106 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19107 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19108 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19109 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19110 (R_ARM_THM_GOT_BREL12): Likewise.
19111 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19112 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19113 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19114 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19115 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19116 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19117 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19118 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19119 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19120
191212013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19122
19123 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19124 __attribute_used__ to __attribute__ ((unused)).
19125
191262013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19127
19128 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19129 powerpc mpa.c.
19130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19131 comment formatting.
19132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19133
191342013-02-19 Joseph Myers <joseph@codesourcery.com>
19135
19136 [BZ #13550]
19137 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19138 Remove macro.
19139 (ENTER): Remove both macro definitions.
19140 (LEAVE): Likewise.
19141 (CHECK_BOUNDS_LOW): Likewise.
19142 (CHECK_BOUNDS_HIGH): Likewise.
19143 (CHECK_BOUNDS_BOTH): Likewise.
19144 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19145 (RETURN_BOUNDED_POINTER): Likewise.
19146 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19147 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19148 (POP_ERRNO_LOCATION_RETURN): Likewise.
19149 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19150 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19151 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19152 macros.
19153 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19154 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19155 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19156 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19157 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19158 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19159 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19160 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19161 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19162 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19163 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19164 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19165 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19166 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19167 removed macros.
19168 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19169 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19170 macros.
19171 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19172 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19173 * sysdeps/i386/i586/memset.S (memset): Likewise.
19174 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19175 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19176 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19177 macros.
19178 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19179 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19180 Change uses of L(2) to L(out).
19181 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19182 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19183 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19184 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19185 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19186 removed macros.
19187 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19188 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19189 macros.
19190 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19191 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19192 (RETURN): Do not use macro LEAVE.
19193 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19194 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19195 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19196 * sysdeps/i386/i686/memset.S (memset): Likewise.
19197 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19198 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19199 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19200 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19201 Likewise.
19202 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19203 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19204 L(1_2) and L(1_3) into L(1).
19205 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19206 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19207 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19208 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19209 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19210 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19211 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19212 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19213 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19214 macros.
19215 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19216 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19217 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19218 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19219 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19220 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19221 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19222 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19223 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19224 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19225 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19226 * sysdeps/i386/strspn.S (strspn): Likewise.
19227 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19228 conditional code.
19229 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19230 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19231 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19232 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19233 L(1_3) into L(1_1).
19234 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19235 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19236 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19237 macros.
19238 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19239
192402013-02-19 Jakub Jelinek <jakub@redhat.com>
19241
19242 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19243 macro.
19244
192452013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19246
19247 * math/atest-exp.c (exp_mpn): Remove ROUND.
19248 * math/atest-exp2.c (exp_mpn): Likewise.
19249 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19250
19251 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19252 * stdlib/tst-tls-atexit-lib.c: Likewise.
19253 * stdlib/tst-tls-atexit.c: Likewise.
19254
192552013-02-18 Mike Frysinger <vapier@gentoo.org>
19256
19257 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19258 and __attribute_alloc_size__.
19259
192602013-02-18 Mike Frysinger <vapier@gentoo.org>
19261
19262 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19263 __attribute_alloc_size__.
19264 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19265 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19266
192672013-02-18 Mike Frysinger <vapier@gentoo.org>
19268
19269 * include/programs/xmalloc.h: New file.
19270 * catgets/gencat.c: Include it.
19271 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19272 * elf/pldd.c: Likewise.
19273 * iconv/iconv_charmap.c: Likewise.
19274 * iconv/iconvconfig.c: Likewise.
19275 * iconv/strtab.c: Likewise.
19276 * locale/programs/locale.c: Likewise.
19277 * locale/programs/localedef.h: Likewise.
19278 * locale/programs/simple-hash.c: Likewise.
19279 * nscd/nscd.h: Likewise.
19280 * nss/makedb.c: Likewise.
19281 * sysdeps/generic/ldconfig.h: Likewise.
19282
192832013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19284
19285 * Versions.def: Add GLIBC_2.18.
19286 * include/link.h (struct link_map): New member l_tls_dtor_count.
19287 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19288 (__call_tls_dtors): Likewise.
19289 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19290 __cxa_thread_atexit_impl.
19291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19292 Likewise.
19293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19294 Likewise.
19295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19296 Likewise.
19297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19298 Likewise.
19299 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19301 Likewise.
19302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19303 Likewise.
19304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19306 Likewise.
19307 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19308 (tests): Add test case tst-tls-atexit.
19309 (modules-names): Add shared library for tst-tls-atexit.
19310 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19311 (GLIBC_PRIVATE): Add __call_tls_dtors.
19312 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19313 for libstdc++.
19314 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19315 * stdlib/tst-tls-atexit.c: New test case.
19316 * stdlib/tst-tls-atexit-lib.c: New test case.
19317
19318 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19319
19320 * elf/Versions (ld): Add _dl_find_dso_for_object.
19321 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19322 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19323 (dl_open_worker): Use _dl_find_dso_for_object.
19324 * elf/dl-sym.c (do_sym): Likewise.
19325 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19326
193272013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19328
19329 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19330 Syntactic changes only.
19331 (_dl_runtime_profile): Do a tail-call to the resolved function.
19332
193332013-02-17 Joseph Myers <joseph@codesourcery.com>
19334
19335 [BZ #13550]
19336 * sysdeps/x86_64/bp-asm.h: Remove file.
19337 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19338 <bp-sym.h> and <bp-asm.h>.
19339 (__clone): Do not use BP_SYM.
19340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19341 <bp-sym.h> and <bp-asm.h>.
19342 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19343 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19344 "bp-asm.h".
19345 (_setjmp): Do not use BP_SYM.
19346 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19347 "bp-asm.h".
19348 (setjmp): Do not use BP_SYM.
19349 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19350 libc_hidden_def.
19351 (mempcpy): Do not use BP_SYM in weak_alias.
19352 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19353 "bp-asm.h".
19354 (strchr): Do not use BP_SYM.
19355 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19356 "bp-asm.h".
19357 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19358 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19359 (_start): Do not use BP_SYM.
19360 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19361 "bp-asm.h".
19362 (strcat): Do not use BP_SYM.
19363 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19364 "bp-asm.h".
19365 (STRCMP): Do not use BP_SYM.
19366 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19367 "bp-asm.h".
19368 (STRCPY): Do not use BP_SYM.
19369 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19370 "bp-asm.h".
19371 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19372 "bp-asm.h".
19373 (FUNCTION): Do not use BP_SYM.
19374 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19375 weak_alias.
19376 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19377
193782013-02-17 Andreas Jaeger <aj@suse.de>
19379
19380 * time/Versions: Sort entries.
19381 * string/Versions: Likewise.
19382 * resolv/Versions: Likewise.
19383 * posix/Versions: Likewise.
19384 * iconv/Versions: Likewise.
19385 * elf/Versions: Likewise.
19386 * wcsmbs/Versions: Likewise.
19387
193882013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19389
19390 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19391 loop termination condition.
19392
19393 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19394 variable to calculate EZ.
19395 (__sqr): Likewise.
19396
19397 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19398 the lower precision input.
19399
194002013-02-15 Joseph Myers <joseph@codesourcery.com>
19401
19402 [BZ #13550]
19403 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19404 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19405 (run-via-rtld-prefix): Do not handle %-bp tests.
19406 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19407 (all-object-suffixes): Remove .ob.
19408 (bppfx): Remove variable.
19409 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19410 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19411 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19412 [$(build-bounded) = yes] (libtype.ob): Likewise.
19413 * Makerules (elide-routines.ob): Remove variable.
19414 (do-tests-clean): Do not handle *-bp.out.
19415 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19416 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19417 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19418 (tests): Do not include $(tests-bp.out).
19419 (xtests): Do not include $(xtests-bp.out).
19420 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19421 [$(build-bounded) = yes] ($(addprefix
19422 $(objpfx),$(binaries-bounded))): Remove rule.
19423 ($(objpfx)%-bp.out): Remove rule.
19424 * config.make.in (build-bounded): Remove variable.
19425 * crypt/Makefile [$(build-bounded) = yes]
19426 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19427 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19428 append to variable.
19429 [$(build-bounded) = yes] (install-lib): Likewise.
19430 [$(build-bounded) = yes] (generated): Likewise.
19431 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19432 Remove rule.
19433 * intl/Makefile [$(build-bounded) = yes]
19434 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19435 * math/Makefile [$(build-bounded) = yes]
19436 ($(tests:%=$(objpfx)%-bp): Likewise.
19437 * misc/Makefile [$(build-bounded) = yes]
19438 ($(objpfx)tst-tsearch-bp): Likewise.
19439 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19440 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19441 Remove dependency.
19442 * string/Makefile (o-objects.ob): Remove variable.
19443 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19444 (CFLAGS-.ob): Remove variable.
19445 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19446 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19447 both definitions of variable.
19448 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19449 (ASFLAGS-.ob): Remove variable.
19450
194512013-02-14 Joseph Myers <joseph@codesourcery.com>
19452
19453 [BZ #13550]
19454 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19455 Remove __BOUNDED_POINTERS__ from condition.
19456 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19457 * string/bits/string2.h [!__NO_STRING_INLINES &&
19458 !__BOUNDED_POINTERS__]: Likewise.
19459 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19460 Likewise.
19461 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19462 Remove conditional code.
19463 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19464 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19465 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19466 condition.
19467
19468 [BZ #13550]
19469 * csu/libc-start.c: Do not include <bp-sym.h>.
19470 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19471 * elf/dl-open.c: Do not include <bp-sym.h>.
19472 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19473 * math/fegetenv.c: Do not include <bp-sym.h>.
19474 (fegetenv): Do not use BP_SYM in versioned symbols.
19475 * nptl/sysdeps/pthread/bits/libc-lockP.h
19476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19477 <bp-sym.h>.
19478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19479 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19481 (__pthread_mutex_destroy): Likewise.
19482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19483 (__pthread_mutex_lock): Likewise.
19484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19485 (__pthread_mutex_trylock): Likewise.
19486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19487 (__pthread_mutex_unlock): Likewise.
19488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19489 (__pthread_mutexattr_init): Likewise.
19490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19491 (__pthread_mutexattr_destroy): Likewise.
19492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19493 (__pthread_mutexattr_settype): Likewise.
19494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19495 (__pthread_rwlock_init): Likewise.
19496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19497 (__pthread_rwlock_destroy): Likewise.
19498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19499 (__pthread_rwlock_rdlock): Likewise.
19500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19501 (__pthread_rwlock_tryrdlock): Likewise.
19502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19503 (__pthread_rwlock_wrlock): Likewise.
19504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19505 (__pthread_rwlock_trywrlock): Likewise.
19506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19507 (__pthread_rwlock_unlock): Likewise.
19508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19509 (__pthread_key_create): Likewise.
19510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19511 (__pthread_setspecific): Likewise.
19512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19513 (__pthread_getspecific): Likewise.
19514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19515 Likewise.
19516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19517 (_pthread_cleanup_push_defer): Likewise.
19518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19519 (_pthread_cleanup_pop_restore): Likewise.
19520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19521 (pthread_setcancelstate): Likewise.
19522 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19523 <bp-sym.h>.
19524 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19525 (memchr): Do not use BP_SYM in weak_alias.
19526 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19527 (fegetenv): Do not use BP_SYM in versioned symbols.
19528 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19529 (fesetenv): Do not use BP_SYM in versioned symbols.
19530 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19531 (feupdateenv): Do not use BP_SYM in versioned symbols.
19532 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19533 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19534 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19535 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19536 (open64): Do not use BP_SYM in weak_alias.
19537 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19538 (fegetenv): Do not use BP_SYM in versioned symbols.
19539 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19540 (fesetenv): Do not use BP_SYM in versioned symbols.
19541 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19542 (feupdateenv): Do not use BP_SYM in versioned symbols.
19543 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19544 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19545 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19546 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19547 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19548 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19549 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19550 <bp-sym.h>.
19551 (__libc_start_main): Do not use BP_SYM.
19552
195532013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19554
19555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19556 redundant return line.
19557 (norm): Likewise.
19558 (denorm): Likewise.
19559 (dbl_mp): Likewise.
19560 (sub_magnitudes): Likewise.
19561 (__add): Likewise.
19562 (__sub): Likewise.
19563 (__mul): Likewise.
19564 (__inv): Likewise.
19565 (__dvd): Likewise.
19566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19567 (norm): Likewise.
19568 (denorm): Likewise.
19569 (dbl_mp): Likewise.
19570 (sub_magnitudes): Likewise.
19571 (__add): Likewise.
19572 (__sub): Likewise.
19573 (__mul): Likewise.
19574 (__inv): Likewise.
19575 (__dvd): Likewise.
19576
19577 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19578 instead of __mul.
19579 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19580 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19581 (cc32): Likewise.
19582
19583 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19584 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19585 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19586 of __mul for squares.
19587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19588 function
19589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19590 Likewise.
19591 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19592 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19593
195942013-02-13 Joseph Myers <joseph@codesourcery.com>
19595
19596 [BZ #13550]
19597 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19598 code.
19599 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19600 prototype or function definition. Rename ubp_* variables and
19601 parameters. Remove argv definitions conditional on
19602 [__BOUNDED_POINTERS__].
19603 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19604 * elf/dl-runtime.c (_dl_fixup): Likewise.
19605 * include/set-hooks.h (RUN_HOOK): Likewise.
19606 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19607 definition.
19608 * string/strcpy.c (strcpy): Do not use __unbounded.
19609 * sysdeps/generic/frame.h (struct layout): Likewise.
19610 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19611 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19612 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19613 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19614 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19615 (__backtrace): Likewise.
19616 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19617 use __ptrvalue.
19618 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19619 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19620 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19621 Likewise.
19622 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19623 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19624 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19625 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19626 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19627 Do not use __unbounded.
19628 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19629 Rename __unboundedrlimits parameter to rlimits in prototype.
19630 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19631 Do not use __unbounded.
19632 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19633 not use __ptrvalue.
19634 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19635 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19636 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19637 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19638 __ptrvalue or __unbounded.
19639 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19640 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19641 use __unbounded.
19642 (__new_msgctl): Do not use __ptrvalue.
19643 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19644 __unbounded.
19645 (__libc_msgrcv): Do not use __ptrvalue.
19646 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19647 startup_info): Do not use __unbounded.
19648 (__libc_start_main): Likewise. Rename ubp_* variables and
19649 parameters. Remove argv definitions conditional on
19650 [__BOUNDED_POINTERS__].
19651 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19652 __ptrvalue.
19653 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19654 use __unbounded.
19655 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19656 or __ptrvalue.
19657 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19658 use __unbounded.
19659 (__new_shmctl): Do not use __ptrvalue.
19660 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19661 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19662 Likewise.
19663 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19664 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19665 (__libc_sigaction): Likewise.
19666 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19667 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19668 Likewise.
19669 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19670
196712013-02-13 Ondřej Bílka <neleai@seznam.cz>
19672
19673 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19674
19675 * string/mempcpy.c: Implement by calling memcpy.
19676
196772013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19678
19679 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19680
19681 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19682 evaluation.
19683
19684 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19685 values in the mantissa.
19686
19687 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19688 minimize writes to Z.
19689 (sub_magnitudes): Simplify code a bit.
19690
196912013-02-12 Roland McGrath <roland@hack.frob.com>
19692
19693 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19694 from the message. The linker prefixes all warnings with that already.
19695
196962013-02-12 Andreas Schwab <schwab@suse.de>
19697
19698 [BZ #15078]
19699 * posix/regexec.c (extend_buffers): Add parameter min_len.
19700 (check_matching): Pass minimum needed length.
19701 (clean_state_log_if_needed): Likewise.
19702 (get_subexp): Likewise.
19703 * posix/Makefile (tests): Add bug-regex34.
19704 (bug-regex34-ENV): Define.
19705 * posix/bug-regex34.c: New file.
19706
19707 [BZ #11561]
19708 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19709 elements compare against the byte sequence of it, not its name.
19710 * posix/Makefile (tests): Add bug-regex35.
19711 (bug-regex35-ENV): Define.
19712 * posix/bug-regex35.c: New file.
19713
197142013-02-11 Tom de Vries <tom@codesourcery.com>
19715
19716 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19717 comment.
19718 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19719 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19720 (CHECK_EOL): Add undef.
19721
197222013-02-11 Ondřej Bílka <neleai@seznam.cz>
19723
19724 * bits/stdlib-bsearch.h: New file.
19725 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19726 * stdlib/stdlib.h: Likewise.
19727
197282013-02-11 Roland McGrath <roland@hack.frob.com>
19729
19730 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19731 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19732 declaration.
19733 * manual/search.texi (Array Search Function): Add missing const in
19734 lfind prototype.
19735 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19736 declaration to use rlim_t.
19737 (Basic Scheduling Functions): Remove erroneous const from
19738 sched_getparam prototype. Remove erroneous * from
19739 sched_get_priority_max and sched_get_priority_min prototypes.
19740 (Resource Usage): Fix summary @comment on vtimes to refer to
19741 sys/vtimes.h rather than vtimes.h.
19742 Add missing *s in vtimes prototype.
19743 (Limits on Resources): Fix ulimit prototype to return long int.
19744 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19745 prototypes to use long int rather than double.
19746 (BSD Random): Fix initstate and setstate to use char *, not void *.
19747 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19748 prototype to make second argument 'struct aiocb64 *const[]'.
19749 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19750 (Status of AIO Operations): Remove erroneous const in aio_return and
19751 aio_return64 prototypes.
19752 (Synchronizing I/O): Fix sync prototype to return void.
19753 * manual/startup.texi (Suboptions): Remove an erroneous const in
19754 getsubopt prototype.
19755 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19756 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19757 use size_t rather than int.
19758 (Scanning All Users): Likewise for getpwent_r.
19759 (Setting Groups): Add missing const to setgroups prototype.
19760 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19761 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19762 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19763 'const void *' rather than 'const char *'.
19764 (Host Address Functions): Likewise for inet_ntop.
19765 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19766 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19767 ssize_t for return value.
19768 (Sending Data): Likewise for send, sendto, sendmsg.
19769 (Socket Option Functions): Add a missing const in setsockopt prototype.
19770 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19771 use wchar_t for the argument.
19772 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19773 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19774 take no arguments.
19775 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19776 double/float/long double for second argument.
19777 Fix return types of significand, significandf, significandl.
19778 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19779 argument in fchmod prototype.
19780 (File Owner): Use uid_t and gid_t in fchown prototype.
19781 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19782 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19783 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19784 use 'const struct dirent **' as argument types to CMP function pointer
19785 argument.
19786 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19787 (File Times): Fix summary magic @comment for struct utimbuf and utime
19788 to refer to utime.h, not time.h.
19789 * manual/string.texi (Argz Functions): Add missing const in
19790 argz_extract and argz_next prototypes.
19791 (Finding Tokens in a String): Likewise for basename.
19792 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19793 (Copying and Concatenation): Fix typo in wmemmove prototype.
19794 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19795 (Signal Stack): Remove erroneous const in sigstack prototype.
19796 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19797 prototype.
19798 (Simple Calendar Time): Likewise for stime.
19799 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19800 prototype.
19801 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19802 say sys/sysctl.h instead.
19803 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19804 and vsyslog prototypes.
19805
198062013-02-11 Tom de Vries <tom@codesourcery.com>
19807
19808 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19809 Remove.
19810
198112013-02-11 Roland McGrath <roland@hack.frob.com>
19812
19813 * misc/sys/mman.h: Fix typo in mremap comment.
19814
198152013-02-08 Roland McGrath <roland@hack.frob.com>
19816
19817 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19818 the '\0' terminator.
19819
198202013-02-08 Joseph Myers <joseph@codesourcery.com>
19821
19822 [BZ #13550]
19823 * debug/segfault.c: Don't include <bp-checks.h>.
19824 * sysdeps/generic/bp-checks.h: Remove file.
19825 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19826 (__GETDENTS): Don't use CHECK_N.
19827 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19828 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19829 (__getgroups): Don't use CHECK_N.
19830 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19831 (setgroups): Don't use CHECK_N.
19832 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19833 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19834 (__libc_msgrcv): Don't use CHECK_N.
19835 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19836 (__libc_msgsnd): Don't use CHECK_N.
19837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19838 <bp-checks.h>.
19839 (__libc_pread): Don't use CHECK_N.
19840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19841 include <bp-checks.h>.
19842 (__libc_pread64): Don't use CHECK_N.
19843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19844 include <bp-checks.h>.
19845 (__libc_pwrite): Don't use CHECK_N.
19846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19847 include <bp-checks.h>.
19848 (__libc_pwrite64): Don't use CHECK_N.
19849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19850 <bp-checks.h>.
19851 (__libc_pread): Don't use CHECK_N.
19852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19853 include <bp-checks.h>.
19854 (__libc_pread64): Don't use CHECK_N.
19855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19856 include <bp-checks.h>.
19857 (__libc_pwrite): Don't use CHECK_N.
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19859 include <bp-checks.h>.
19860 (__libc_pwrite64): Don't use CHECK_N.
19861 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19862 (do_pread): Don't use CHECK_N.
19863 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19864 (do_pread64): Don't use CHECK_N.
19865 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19866 (do_pwrite): Don't use CHECK_N.
19867 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19868 (do_pwrite64): Don't use CHECK_N.
19869 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19870 (__libc_readv): Don't use CHECK_N.
19871 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19872 (semop): Don't use CHECK_N.
19873 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19874 <bp-checks.h>.
19875 (semtimedop): Don't use CHECK_N.
19876 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19877 (__libc_pread): Don't use CHECK_N.
19878 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19879 <bp-checks.h>.
19880 (__libc_pread64): Don't use CHECK_N.
19881 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19882 <bp-checks.h>.
19883 (__libc_pwrite): Don't use CHECK_N.
19884 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19885 <bp-checks.h>.
19886 (__libc_pwrite64): Don't use CHECK_N.
19887 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19888 <bp-checks.h>.
19889 (__libc_msgrcv): Don't use CHECK_N.
19890 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19891 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19892 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19893 (__libc_writev): Don't use CHECK_N.
19894
198952013-02-08 Roland McGrath <roland@hack.frob.com>
19896
19897 * string/strcpy.c: Removed unused variable.
19898
19899 * Makeconfig (+sysdep-includes): Define with := rather than =.
19900 Use an existing include/ subdir of each sysdeps dir before it.
19901
199022013-02-08 Carlos O'Donell <carlos@redhat.com>
19903
19904 * nscd/connection.c (register_traced_file): Comment function.
19905 [HAVE_INOTIFY] (union __inev): Define.
19906 [HAVE_INOTIFY] (inotify_check_files): New function.
19907 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19908 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19909 clear_db_cache.
19910 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19911
199122013-02-08 Carlos O'Donell <carlos@redhat.com>
19913
19914 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19915 loaded if not already and that a failure is permanent.
19916
199172013-02-08 Carlos O'Donell <carlos@redhat.com>
19918
19919 [BZ #15006]
19920 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19921 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19922
199232013-02-08 Joseph Myers <joseph@codesourcery.com>
19924
19925 [BZ #13550]
19926 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19927 (CHECK_1_NULL_OK): Likewise.
19928 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19929 (__fxstat): Do not use CHECK_1.
19930 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19931 <bp-checks.h>.
19932 (___fxstat64): Do not use CHECK_1.
19933 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19934 <bp-checks.h>.
19935 (__fxstatat): Do not use CHECK_1.
19936 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19937 <bp-checks.h>.
19938 (__fxstatat64): Do not use CHECK_1.
19939 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19940 <bp-checks.h>.
19941 (__fxstat): Do not use CHECK_1.
19942 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19943 <bp-checks.h>.
19944 (__fxstatat): Do not use CHECK_1.
19945 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19946 <bp-checks.h>.
19947 (__getresgid): Do not use CHECK_1.
19948 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19949 <bp-checks.h>.
19950 (__getresuid): Do not use CHECK_1.
19951 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19952 <bp-checks.h>.
19953 (__lxstat): Do not use CHECK_1.
19954 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19955 <bp-checks.h>.
19956 (__old_msgctl): Do not use CHECK_1.
19957 (__new_msgctl): Likewise.
19958 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19959 <bp-checks.h>.
19960 (__new_setrlimit): Do not use CHECK_1.
19961 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19962 <bp-checks.h>.
19963 (__old_shmctl): Do not use CHECK_1.
19964 (__new_shmctl): Likewise.
19965 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19966 <bp-checks.h>.
19967 (__xstat): Do not use CHECK_1.
19968 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19969 (__lxstat): Do not use CHECK_1.
19970 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19971 <bp-checks.h>.
19972 (___lxstat64): Do not use CHECK_1.
19973 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19974 (__old_msgctl): Do not use CHECK_1.
19975 (__new_msgctl): Likewise.
19976 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19977 <bp-checks.h>.
19978 (__gettimeofday): Do not use CHECK_1.
19979 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19980 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19981 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19982 <bp-checks.h>.
19983 (__gettimeofday): Do not use CHECK_1.
19984 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19985 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19986 (__new_shmctl): Do not use CHECK_1.
19987 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19988 <bp-checks.h>.
19989 (do_sigtimedwait): Do not use CHECK_1.
19990 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19991 <bp-checks.h>.
19992 (do_sigwaitinfo): Do not use CHECK_1.
19993 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19994 <bp-checks.h>.
19995 (msgctl): Do not use CHECK_1.
19996 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19997 <bp-checks.h>.
19998 (shmctl): Do not use CHECK_1.
19999 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20000 (ustat): Do not use CHECK_1.
20001 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20002 <bp-checks.h>.
20003 (__fxstat): Do not use CHECK_1.
20004 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20005 <bp-checks.h>.
20006 (__fxstatat): Do not use CHECK_1.
20007 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20008 <bp-checks.h>.
20009 (__lxstat): Do not use CHECK_1.
20010 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20011 <bp-checks.h>.
20012 (__xstat): Do not use CHECK_1.
20013 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20014 (__xstat): Do not use CHECK_1.
20015 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20016 (___xstat64): Do not use CHECK_1.
20017
20018 [BZ #13550]
20019 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20020 definitions.
20021 (CHECK_BOUNDS_HIGH): Likewise.
20022 * string/strcpy.c: Do not include <bp-checks.h>.
20023 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20024
200252013-02-07 Roland McGrath <roland@hack.frob.com>
20026
20027 * nscd/nscd-client.h (__nscd_drop_map_ref):
20028 Add __attribute__ ((unused)).
20029 * nis/nss-nisplus.h (niserr2nss): Likewise.
20030
20031 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20032 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20033
20034 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20035 Remove inline keyword.
20036 * include/rounding-mode.h (round_away): Likewise.
20037 * libio/wfileops.c (adjust_wide_data): Likewise.
20038 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20039 (__m128i_strloadu_tolower): Likewise.
20040 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20041 (__m128i_strloadu_tolower): Likewise.
20042 * time/mktime.c (ydhms_diff): Likewise.
20043 * locale/elem-hash.h (elem_hash): Likewise.
20044 * locale/setlocale.c (setdata): Likewise.
20045 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20046 (re_string_wchar_at): Likewise.
20047 (bitset_not, bitset_merge, bitset_mask): Likewise.
20048 [!(__GNUC__ > 3)] (inline): Remove macro.
20049 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20050 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20051 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20052 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20053 * string/memcmp.c (memcmp_bytes): Likewise.
20054 * locale/programs/locarchive.c (compute_hashval): Likewise.
20055 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20056 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20057 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20058 * nss/getent.c (print_rpc, print_protocols): Likewise.
20059 (print_passwd, print_group, print_aliases): Likewise.
20060 * nis/nss-nisplus.h (niserr2nss): Likewise.
20061 * nscd/connections.c (restart_p): Likewise.
20062 Change return type to bool.
20063
200642013-02-05 Roland McGrath <roland@hack.frob.com>
20065
20066 * Makeconfig (all-Depend-files): Add existing
20067 $(sorted-subdirs:=/Depend) files.
20068 (all-subdirs): Remove nss.
20069 * sysdeps/unix/inet/Subdirs: Add it here instead.
20070 * hesiod/Depend: New file.
20071
20072 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20073 instead of calling alloca.
20074
20075 * io/lseek.c (__lseek): Rename to __libc_lseek.
20076 Define __lseek as an alias.
20077
20078 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20079
200802013-02-04 Carlos O'Donell <carlos@redhat.com>
20081
20082 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20083 else clause and remove check for non-standard endianness.
20084
200852013-02-04 David S. Miller <davem@davemloft.net>
20086
20087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20088
200892013-02-04 Joseph Myers <joseph@codesourcery.com>
20090
20091 [BZ #13550]
20092 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20093 (__ubp_memchr): Remove prototype.
20094 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20095 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20096 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20097 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20098 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20099 Remove alias.
20100 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20101 (__ubp_memchr): Likewise.
20102 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20103 (__ubp_memchr): Likewise.
20104 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20105 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20106 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20107 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20108 CHECK_STRING.
20109 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20110 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20111 (__getcwd): Do not use CHECK_STRING.
20112 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20113 <bp-checks.h>.
20114 (__real_chown): Do not use CHECK_STRING.
20115 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20116 <bp-checks.h>.
20117 (fchownat): Do not use CHECK_STRING.
20118 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20119 CHECK_STRING.
20120 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20121 <bp-checks.h>.
20122 (__lchown): Do not use CHECK_STRING.
20123 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20124 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20125 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20126 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20128 include <bp-checks.h>.
20129 (truncate64): Do not use CHECK_STRING.
20130 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20131 <bp-checks.h>.
20132 (__real_chown): Do not use CHECK_STRING.
20133 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20134 <bp-checks.h>.
20135 (__lchown): Do not use CHECK_STRING.
20136 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20137 <bp-checks.h>.
20138 (__chown): Do not use CHECK_STRING.
20139 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20140 <bp-checks.h>.
20141 (truncate64): Do not use CHECK_STRING.
20142 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20143 Likewise.
20144 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20145 (__xmknod): Do not use CHECK_STRING.
20146 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20147 <bp-checks.h>.
20148 (__xmknodat): Do not use CHECK_STRING.
20149 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20150 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20151
201522013-02-04 Andreas Schwab <schwab@suse.de>
20153
20154 [BZ #14142]
20155 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20156 * include/netdb.h: Likewise for h_errno.
20157 * elf/tst-stackguard1.c: Include <tls.h>.
20158
201592013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20160
20161 * elf/link.h (struct link_map): Extend the l_addr comment.
20162 * include/link.h (struct link_map): Likewise.
20163
201642013-02-01 Joseph Myers <joseph@codesourcery.com>
20165
20166 [BZ #13550]
20167 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20168 (BOUNDED_1): Remove macro.
20169 * debug/backtrace.c: Don't include <bp-checks.h>.
20170 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20171 (__backtrace): Likewise.
20172 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20173 <bp-checks.h>.
20174 (__backtrace): Don't use BOUNDED_1.
20175 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20176 <bp-checks.h>.
20177 (__backtrace): Don't use BOUNDED_1.
20178 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20179 (__backtrace): Don't use BOUNDED_1.
20180 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20181 (shmat): Don't use BOUNDED_N.
20182
201832013-01-31 Joseph Myers <joseph@codesourcery.com>
20184
20185 [BZ #13550]
20186 * sysdeps/generic/bp-start.h: Remove file.
20187 * csu/libc-start.c: Don't include <bp-start.h>.
20188 (LIBC_START_MAIN): Set up __environ directly instead of using
20189 INIT_ARGV_and_ENVIRON.
20190 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20191 <bp-start.h>.
20192
20193 [BZ #13550]
20194 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20195 definitions.
20196 (CHECK_FCNTL): Likewise.
20197 (CHECK_N_PAGES): Likewise.
20198
20199 [BZ #13550]
20200 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20201 definitions.
20202 (CHECK_SIGSET_NULL_OK): Likewise.
20203 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20204 <bp-checks.h>.
20205 (sigpending): Don't use CHECK_SIGSET.
20206 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20207 <bp-checks.h>.
20208 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20209 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20210 <bp-checks.h>.
20211 (do_sigsuspend): Don't use CHECK_SIGSET.
20212 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20213 use CHECK_SIGSET.
20214 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20215 (do_sigwait): Don't use CHECK_SIGSET.
20216 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20217 use CHECK_SIGSET.
20218 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20219 include <bp-checks.h>.
20220 (sigpending): Don't use CHECK_SIGSET.
20221 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20222 include <bp-checks.h>.
20223 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20224 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20225 <bp-checks.h>.
20226 (sigpending): Don't use CHECK_SIGSET.
20227 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20228 <bp-checks.h>.
20229 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20230
20231 [BZ #13550]
20232 * sysdeps/generic/bp-semctl.h: Remove file.
20233 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20234 <bp-checks.h> and <bp-semctl.h>.
20235 (__old_semctl): Don't use CHECK_SEMCTL.
20236 (__new_semctl): Likewise.
20237 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20238 and <bp-semctl.h>.
20239 (__old_semctl): Don't use CHECK_SEMCTL.
20240 (__new_semctl): Likewise.
20241 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20242 <bp-checks.h> and <bp-semctl.h>.
20243 (__old_semctl): Don't use CHECK_SEMCTL.
20244 (__new_semctl): Likewise.
20245 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20246 <bp-checks.h> and <bp-semctl.h>.
20247 (semctl): Don't use CHECK_SEMCTL.
20248
20249 [BZ #13550]
20250 * Makerules (elide-bp-thunks): Remove variable.
20251 (elide-routines.oS): Don't use $(elide-bp-thunks).
20252 (elide-routines.os): Likewise.
20253 (elide-routines.o): Likewise.
20254 (elide-routines.op): Likewise.
20255 (elide-routines.og): Likewise.
20256 (objects): Don't use $(bp-thunks).
20257 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20258 include.
20259 (common-generated): Do not add s-proto-bp.d.
20260 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20261 (int): Likewise.
20262 (typ): Likewise.
20263 Do not generate makefile rules for bounded-pointer thunks.
20264 * sysdeps/generic/bp-thunks.h: Remove file.
20265 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20266 * sysdeps/unix/s-proto-bp.S: Likewise.
20267
20268 [BZ #15062]
20269 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20270 parts of result separately when argument is not close to line from
20271 -i to i and one part of argument is small.
20272 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20273 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20274 * math/libm-test.inc (cacos_test): Add more tests.
20275 (casin_test): Likewise.
20276 (casinh_test): Likewise.
20277 * sysdeps/i386/fpu/libm-test-ulps: Update.
20278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20279
202802013-01-31 David S. Miller <davem@davemloft.net>
20281
20282 * po/de.po: Update from translation team.
20283
202842013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20285
20286 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20287
202882013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20289
20290 * configure.in (_AC_PROG_CC_C89): New definition.
20291 * configure: Regenerate.
20292
20293 * configure.in (AC_PROG_CPP): New definition.
20294 * configure: Regenerate.
20295
202962013-01-23 Joseph Myers <joseph@codesourcery.com>
20297
20298 * debug/tst-backtrace.h: New file.
20299 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20300 (ret): Remove variable.
20301 (x): Likewise.
20302 (FAIL): Remove macro.
20303 (NO_INLINE): Likewise.
20304 (fn1): Use match function instead of strstr.
20305 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20306 (ret): Remove variable.
20307 (x): Likewise.
20308 (FAIL): Remove macro.
20309 (NO_INLINE): Likewise.
20310 (fn): Use match function instead of strstr.
20311 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20312 (ret): Remove variable.
20313 (x): Likewise.
20314 (FAIL): Remove macro.
20315 (NO_INLINE): Likewise.
20316 (handle_signal): Use match function instead of strstr.
20317 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20318 (ret): Remove variable.
20319 (x): Likewise.
20320 (FAIL): Remove macro.
20321 (NO_INLINE): Likewise.
20322 (handle_signal): Use match function instead of strstr.
20323
203242013-01-23 Roland McGrath <roland@hack.frob.com>
20325
20326 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20327
203282013-01-23 David S. Miller <davem@davemloft.net>
20329
20330 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20331 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20332 argument of CAS if possible.
20333 * sysdeps/sparc/sparc64/bits/atomic.h
20334 (__arch_compare_and_exchange_val_32_acq): Likewise.
20335 (__arch_compare_and_exchange_val_64_acq): Likewise.
20336
203372013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20338
20339 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20340 * sysdeps/posix/ulimit.c: ... this.
20341 Include <limits.h>.
20342 * sysdeps/unix/bsd/ulimit.c: Remove file.
20343
203442013-01-23 Adam Conrad <adconrad@0c3.net>
20345
20346 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20347 (LDFLAGS-tst-array5): Likewise.
20348
203492013-01-23 Joseph Myers <joseph@codesourcery.com>
20350
20351 [BZ #15036]
20352 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20353 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20354 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20355 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20356
203572013-01-21 David S. Miller <davem@davemloft.net>
20358
20359 * sysdeps/sparc/backtrace.c: New file.
20360 * sysdeps/sparc/sparc32/backtrace.h: New file.
20361 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20362 * sysdeps/sparc/sparc64/backtrace.h: New file.
20363 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20364 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20365 -funwind-tables.
20366
203672013-01-21 Andreas Schwab <schwab@suse.de>
20368
20369 [BZ #15020]
20370 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20371 closed its stdout.
20372
203732013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20374
20375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20376 "mpa2.h".
20377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20378
203792013-01-18 Joseph Myers <joseph@codesourcery.com>
20380 Mark Mitchell <mark@codesourcery.com>
20381 Tom de Vries <tom@codesourcery.com>
20382 Paul Pluzhnikov <ppluzhnikov@google.com>
20383
20384 * debug/tst-backtrace2.c: New file.
20385 * debug/tst-backtrace3.c: Likewise.
20386 * debug/tst-backtrace4.c: Likewise.
20387 * debug/tst-backtrace5.c: Likewise.
20388 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20389 (CFLAGS-tst-backtrace3.c): Likewise.
20390 (CFLAGS-tst-backtrace4.c): Likewise.
20391 (CFLAGS-tst-backtrace5.c): Likewise.
20392 (LDFLAGS-tst-backtrace2): Likewise.
20393 (LDFLAGS-tst-backtrace3): Likewise.
20394 (LDFLAGS-tst-backtrace4): Likewise.
20395 (LDFLAGS-tst-backtrace5): Likewise.
20396 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20397 tst-backtrace4 and tst-backtrace5.
20398
203992013-01-18 Anton Blanchard <anton@samba.org>
20400 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20401
20402 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20403 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20404 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20405 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20407 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20408 "+r" and remove output regs list as redundant. Add explicit inline
20409 asm to specify register of return val to work around compiler codegen
20410 bug. Remove (int) cast on return value. Add return type parameter to
20411 use in macro so that this macro does not truncate return value for
20412 64-bit values.
20413 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20414 pass to INTERNAL_VSYSCALL_NCS.
20415 (INLINE_VSYSCALL): Add 'long int' as return type to
20416 INTERNAL_VSYSCALL_NCS macro invocation.
20417 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20418 INTERNAL_VSYSCALL_NCS macro invocation.
20419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20420
204212013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20422
20423 [BZ #14496]
20424 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20425 Fix application of SIMD FP exception mask.
20426
20427 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20428 mp_no from a power of two.
20429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20430 __mpexp_twomm1. Use __pow_mp.
20431
20432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20433 multiplication.
20434
204352013-01-17 David S. Miller <davem@davemloft.net>
20436
20437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20438
204392013-01-17 Joseph Myers <joseph@codesourcery.com>
20440
20441 [BZ #15023]
20442 * include/complex.h: Condition contents on [!_COMPLEX_H].
20443 (__kernel_casinhf): New prototype.
20444 (__kernel_casinh): Likewise.
20445 (__kernel_casinhl): Likewise.
20446 * math/Makefile (libm_calls): Add k_casinh.
20447 * math/k_casinh.c: New file.
20448 * math/k_casinhf.c: Likewise.
20449 * math/k_casinhl.c: Likewise.
20450 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20451 finite nonzero arguments.
20452 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20453 finite nonzero arguments.
20454 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20455 finite nonzero arguments.
20456 * math/s_casinh.c: Do not include <float.h>.
20457 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20458 * math/s_casinhf.c: Do not include <float.h>.
20459 (__casinhf): Move code for finite nonzero arguments to
20460 k_casinhf.c.
20461 * math/s_casinhl.c: Do not include <float.h>.
20462 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20463 redefine.
20464 (__casinhl): Move code for finite nonzero arguments to
20465 k_casinhl.c.
20466 * math/libm-test.inc (cacos_test): Add more tests.
20467 * sysdeps/i386/fpu/libm-test-ulps: Update.
20468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20469
204702013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20471
20472 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20473 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20474 [!HAVE_MREMAP]: Remove [defined linux] case.
20475 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20476
204772013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20478
20479 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20480
204812013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20482
20483 * elf/elf.h (R_386_SIZE32): New relocation.
20484 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20485 R_386_SIZE32.
20486 (elf_machine_rela): Likewise.
20487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20488 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20489
204902013-01-17 Joseph Myers <joseph@codesourcery.com>
20491
20492 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20493 (FP_FAST_FMA): Do not define.
20494 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20495 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20496 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20497 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20498 !_SOFT_FLOAT]: Likewise.
20499 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20500 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20501 value.
20502 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20503 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20504 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20505 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20506 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20507 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20508 file.
20509
205102013-01-16 Andreas Schwab <schwab@suse.de>
20511
20512 [BZ #14327]
20513 * include/stdlib.h (__mktemp): Add declaration.
20514 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20515 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20516
205172013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20518
20519 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20520 definitions.
20521 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20522 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20523 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20524 definitions here.
20525 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20526 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20527 definitions.
20528 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20529 and ONE.
20530 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20531 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20532 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20533 definitions.
20534 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20535 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20536 definitions.
20537 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20538
20539 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20540
205412013-01-15 David S. Miller <davem@davemloft.net>
20542
20543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20544 trunc{,f} to libm-sysdep_routes.
20545 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20547 file.
20548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20550 file.
20551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20552 file.
20553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20555 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20556 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20557 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20558 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20559 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20560 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20561
20562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20563 nearbyint{,f} to libm-sysdep_routes.
20564 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20566 New file.
20567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20568 file.
20569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20570 New file.
20571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20572 file.
20573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20575 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20576 file.
20577 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20578 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20579 file.
20580 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20581 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20582 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20583
20584 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20585 libc_feholdexcept and libc_fesetenv.
20586
205872013-01-15 Mike Frysinger <vapier@gentoo.org>
20588
20589 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20590
205912013-01-14 David S. Miller <davem@davemloft.net>
20592
20593 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20594 (SPARC_ASM_VIS2_IFUNC): Likewise.
20595 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20597 use of 'siam' instruction.
20598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20599 Likewise.
20600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20601 Likewise.
20602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20603 Likewise.
20604 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20609 file.
20610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20611 file.
20612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20613 file.
20614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20615 file.
20616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20621 new VIS2 routines.
20622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20625 Likewise.
20626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20631 routines to libm-sysdep_routines.
20632 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20633
20634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20635 fdim/fdimf to libm-sysdep_routines.
20636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20637 file.
20638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20640 file.
20641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20644 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20645 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20646 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20647 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20648
206492013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20650
20651 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20652 to optimize copies.
20653
20654 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20657
20658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20659 local variable MPTWO.
20660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20661 Likewise.
20662
206632013-01-13 Mike Frysinger <vapier@gentoo.org>
20664
20665 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20666 GLOB_NOESCAPE.
20667
206682013-01-13 Mike Frysinger <vapier@gentoo.org>
20669
20670 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20671
206722013-01-13 Mike Frysinger <vapier@gentoo.org>
20673
20674 * manual/pattern.texi (glob_t): Document gl_flags.
20675 (glob64_t): Likewise.
20676
206772013-01-11 David S. Miller <davem@davemloft.net>
20678
20679 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20680 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20681 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20682 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20683 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20684 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20685 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20686 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20687 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20688 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20689 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20690 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20691 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20692
20693 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20694 sparc V9 rather than using V8 code.
20695 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20696 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20697
20698 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20699 Move to...
20700 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20701 Here.
20702
207032013-01-11 Roland McGrath <roland@hack.frob.com>
20704
20705 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20706 not in the main loop.
20707 * configure: Regenerated.
20708
207092013-01-11 Joseph Myers <joseph@codesourcery.com>
20710
20711 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20712 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20713 to just #else.
20714 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20715 [!__GLIBC_HAVE_LONG_LONG] case.
20716 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20717 condition to just #else.
20718 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20719 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20720 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20721 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20722 unconditional.
20723 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20724 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20725 #elif condition to just #else.
20726 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20727 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20728 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20729 #elif condition to just #else.
20730
207312013-01-11 Steve Ellcey <sellcey@mips.com>
20732
20733 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20734 (EF_MIPS_ARCH_64): Fix value.
20735 (EF_MIPS_ARCH_32R2): New.
20736 (EF_MIPS_ARCH_64R2): New.
20737
207382013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20739
20740 * Makeconfig (+link-pie-before-libc): New.
20741 (+link-pie-after-libc): Likewise.
20742 (+link-pie-tests): Likewise.
20743 (+link-pie): Rewritten.
20744 (link-before-libc): Remove $(config-LDFLAGS).
20745 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20746 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20747 (config-LDFLAGS): Renamed to ...
20748 (rtld-LDFLAGS): This.
20749 (rtld-tests-LDFLAGS): New macro.
20750 (link-libc-rpath-link): Likewise.
20751 (link-libc-tests-rpath-link): Likewise.
20752 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20753 (link-libc): Prepand $(link-libc-rpath-link).
20754 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20755 (test-program-prefix): New macro.
20756 (test-via-rtld-prefix): Likewise.
20757 (test-program-cmd): Likewise.
20758 (host-test-program-cmd): Likewise.
20759 * Makefile ($(common-objpfx)testrun.sh): Replace
20760 $(run-program-prefix) with $(test-program-prefix).
20761 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20762 $(rtld-LDFLAGS).
20763 ($(common-objpfx)shlib.lds): Likewise.
20764 (build-module-helper): Likewise.
20765 ($(common-objpfx)format.lds): Likewise.
20766 * Rules (binaries-pie-tests): New.
20767 (binaries-pie-notests): Likewise.
20768 (binaries-pie): Rewritten.
20769 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20770 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20771 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20772 (make-test-out): Replace $(host-built-program-cmd) with
20773 $(host-test-program-cmd).
20774 * config.make.in (build-hardcoded-path-in-tests): New variable.
20775 * configure.in (--enable-hardcoded-path-in-tests): New configure
20776 option.
20777 (hardcoded_path_in_tests): New AC_SUBST.
20778 * configure: Regenerated.
20779 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20780 $(built-program-cmd) with $(test-program-cmd).
20781 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20782 (test_program_cmd): This.
20783 * elf/Makefile ($(objpfx)order.out): Run test with
20784 $(test-program-prefix).
20785 ($(objpfx)order2.out): Likewise.
20786 ($(objpfx)tst-initorder.out): Likewise.
20787 ($(objpfx)tst-initorder2.out): Likewise.
20788 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20789 $(test-program-cmd).
20790 ($(objpfx)tst-array1-static.out): Likewise.
20791 ($(objpfx)tst-array2.out): Likewise.
20792 ($(objpfx)tst-array3.out): Likewise.
20793 ($(objpfx)tst-array4.out): Likewise.
20794 ($(objpfx)tst-array5.out): Likewise.
20795 ($(objpfx)tst-array5-static.out): Likewise.
20796 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20797 $(test-program-cmd).
20798 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20799 $(run-program-prefix) with $(test-program-prefix).
20800 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20801 (test_program_prefix): This.
20802 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20803 $(run-program-prefix) with $(test-program-prefix).
20804 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20805 (test_program_prefix): This.
20806 * iconvdata/tst-tables.sh: Likewise.
20807 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20808 $(run-program-prefix) with $(test-program-prefix).
20809 ($(objpfx)tst-translit.out): Likewise.
20810 ($(objpfx)tst-gettext2.out): Likewise.
20811 ($(objpfx)tst-gettext4.out): Likewise.
20812 ($(objpfx)tst-gettext6.out): Likewise.
20813 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20814 (test_program_prefix): This.
20815 * intl/tst-gettext2.sh: Likewise.
20816 * intl/tst-gettext4.sh Likewise.
20817 * intl/tst-gettext6.sh: Likewise.
20818 * intl/tst-translit.sh: Likewise.
20819 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20820 with $(test-program-cmd).
20821 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20822 $(run-program-prefix) with $(test-program-prefix).
20823 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20824 (test_program_prefix): This.
20825 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20826 $(run-program-prefix) with $(test-program-prefix).
20827 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20828 (test_program_prefix): This.
20829 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20830 * posix/Makefile ($(objpfx)globtest.out): Replace
20831 $(run-via-rtld-prefix) and $(test-wrapper) with
20832 $(test-program-prefix) and $(test-via-rtld-prefix).
20833 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20834 $(test-program-prefix).
20835 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20836 $(host-test-program-cmd).
20837 (tst-spawn-ARGS): Likewise.
20838 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20839 $(test-program-prefix).
20840 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20841 (test_via_rtld_prefix): This.
20842 (test_wrapper): Renamed to ...
20843 (test_program_prefix): This.
20844 (run_program_prefix): Replaced by test_program_prefix.
20845 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20846 (test_program_prefix): This.
20847 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20848 with $(host-test-program-cmd).
20849 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20850 $(run-program-prefix) with $(test-program-prefix).
20851 ($(objpfx)tst-printf.out): Likewise.
20852 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20853 $(test-program-cmd).
20854 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20855 (test_program_prefix): This.
20856 * stdio-common/tst-unbputc.sh: Likewise.
20857 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20858 $(run-program-prefix) with $(test-program-prefix).
20859 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20860 (test_program_prefix): This.
20861 * string/Makefile ($(objpfx)tst-svc.out): Replace
20862 $(built-program-cmd) with $(test-program-cmd).
20863
208642013-01-11 Andreas Jaeger <aj@suse.de>
20865
20866 [BZ #15003]
20867 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20868 value. Sync with Linux 3.7.
20869
208702013-01-10 David S. Miller <davem@davemloft.net>
20871
20872 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20873 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20874 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20875
208762013-01-10 Roland McGrath <roland@hack.frob.com>
20877
20878 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20879 never set.
20880 * configure: Regenerated.
20881
208822013-01-10 David S. Miller <davem@davemloft.net>
20883
20884 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20885 sparc V9 rather than using V8 code.
20886 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20887 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20888
208892013-01-10 Roland McGrath <roland@hack.frob.com>
20890
20891 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20892 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20893 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20894 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20895 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20896 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20897 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20898 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20899 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20900 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20901 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20902 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20903 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20904 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20905 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20906 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20907 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20908 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20909 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20910 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20911 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20912 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20913 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20914 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20915 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20916 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20917 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20918
209192013-01-10 David S. Miller <davem@davemloft.net>
20920
20921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20922
209232013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20924
20925 * posix/Makefile (tests-static): New variable.
20926 (tests): Add $(tests-static).
20927 (tst-exec-static-ARGS): New variable.
20928 (tst-spawn-static-ARGS): Likewise.
20929 * posix/tst-exec-static.c: New file.
20930 * posix/tst-spawn-static.c: Likewise.
20931 * posix/tst-exec.c: Support run directly.
20932 * posix/tst-spawn.c: Likewise.
20933
209342013-01-10 Joseph Myers <joseph@codesourcery.com>
20935
20936 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20937 long.
20938 * math/bits/mathcalls.h (llrint): Likewise.
20939 (llround): Likewise.
20940 * stdlib/stdlib.h (struct drand48_data): Likewise.
20941 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20942 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20943 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20944 Likewise.
20945 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20946 Likewise.
20947 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20948 (elf_greg_t): Likewise.
20949 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20950 (__jmp_buf): Likewise.
20951 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20952 definitions.
20953 (llrint): Likewise, for all definitions.
20954 (llrintl): Likewise.
20955
20956 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20957 Remove [__GNUC__] condition.
20958 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20959 condition to just [__USE_ISOC99].
20960 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20961
209622013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20963
20964 [BZ #14200]
20965 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20966 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20967 defined.
20968 (_POSIX_V6_ILP32_OFF32): Likewise.
20969 (_XBS5_ILP32_OFF32): Likewise.
20970 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20971 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20972
209732013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20974
20975 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20976
20977 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20978 doubles __mpexp_twomm1. Adjust usage.
20979 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20980 Remove.
20981
209822013-01-10 Andreas Schwab <schwab@suse.de>
20983
20984 [BZ #14964]
20985 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20986 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20987
209882013-01-09 David S. Miller <davem@davemloft.net>
20989
20990 [BZ #15003]
20991 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20992 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20993 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20994 (TCP_FASTOPEN): Define.
20995 (tcp_repair_opt): New structure.
20996 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20997 enum values.
20998 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20999 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21000 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21001 (tcp_cookie_transactions): New structure.
21002
210032013-01-09 Anton Blanchard <anton@samba.org>
21004
21005 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21006 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21007 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21008 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21009
210102013-01-09 Joseph Myers <joseph@codesourcery.com>
21011
21012 * include/features.h (__USE_ANSI): Remove.
21013
210142013-01-09 Roland McGrath <roland@hack.frob.com>
21015
21016 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21017
21018 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21019
210202013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21021
21022 * sysdeps/s390/fpu/libm-test-ulps: Update.
21023
21024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21025
21026 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21027 (__acr): Likewise.
21028 (__cpy): Likewise.
21029 (norm): Likewise.
21030 (denorm): Likewise.
21031 (__mp_dbl): Likewise.
21032 (__dbl_mp): Likewise.
21033 (add_magnitudes): Likewise.
21034 (sub_magnitudes): Likewise.
21035 (__add): Likewise.
21036 (__sub): Likewise.
21037 (__mul): Likewise.
21038 (__inv): Likewise.
21039 (__dvd): Likewise.
21040 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21041 (__acr): Likewise.
21042 (__cpy): Likewise.
21043 (norm): Likewise.
21044 (denorm): Likewise.
21045 (__mp_dbl): Likewise.
21046 (__dbl_mp): Likewise.
21047 (add_magnitudes): Likewise.
21048 (sub_magnitudes): Likewise.
21049 (__add): Likewise.
21050 (__sub): Likewise.
21051 (__mul): Likewise.
21052 (__inv): Likewise.
21053 (__dvd): Likewise.
21054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21055 (__acr): Likewise.
21056 (__cpy): Likewise.
21057 (norm): Likewise.
21058 (denorm): Likewise.
21059 (__mp_dbl): Likewise.
21060 (__dbl_mp): Likewise.
21061 (add_magnitudes): Likewise.
21062 (sub_magnitudes): Likewise.
21063 (__add): Likewise.
21064 (__sub): Likewise.
21065 (__mul): Likewise.
21066 (__inv): Likewise.
21067 (__dvd): Likewise.
21068
210692013-01-08 Joseph Myers <joseph@codesourcery.com>
21070
21071 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21072 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21073 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21074 2 && __USE_EXTERN_INLINES]: Likewise.
21075
210762013-01-08 Andreas Jaeger <aj@suse.de>
21077
21078 [BZ# 14985]
21079 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21080 Remove.
21081 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21082 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21083
210842013-01-07 Anton Blanchard <anton@samba.org>
21085
21086 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21087 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21088 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21089 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21090 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21091 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21092 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21093 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21095 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21096 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21097 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21098 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21099 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21100 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21101 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21102 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21103 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21104 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21106 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21107 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21109 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21110 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21111 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21112 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21113 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21114 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21115 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21116 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21118 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21119 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21120 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21121 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21122 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21123 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21124 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21125 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21126 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21127 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21128 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21129
211302013-01-07 Joseph Myers <joseph@codesourcery.com>
21131
21132 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21133 (__MALLOC_PMT): Likewise.
21134 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21135 [__GNUC__], only on [_LIBC].
21136 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21137 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21138 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21139 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21140 forward declaration.
21141 (realloc_hook_ini): Likewise.
21142 (memalign_hook_ini): Likewise.
21143 (__libc_memalign): Do not use __MALLOC_PMT in variable
21144 declaration.
21145 (__libc_valloc): Likewise.
21146 (__libc_pvalloc): Likewise.
21147 (__libc_calloc): Likewise.
21148 (__posix_memalign): Likewise.
21149
21150 [BZ #14996]
21151 * math/s_casinh.c: Include <float.h>.
21152 (__casinh): Do not do computation with squaring and square root
21153 for large arguments.
21154 * math/s_casinhf.c: Include <float.h>.
21155 (__casinhf): Do not do computation with squaring and square root
21156 for large arguments.
21157 * math/s_casinhl.c: Include <float.h>.
21158 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21159 (__casinhl): Do not do computation with squaring and square root
21160 for large arguments.
21161 * math/libm-test.inc (casin_test): Add more tests.
21162 (casinh_test): Likewise.
21163 * sysdeps/i386/fpu/libm-test-ulps: Update.
21164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21165
211662013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21167
21168 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21169 (__x86_64_raw_data_cache_size): Likewise.
21170 (__x86_64_data_cache_size_half): Likewise.
21171 (__x86_64_raw_data_cache_size_half): Likewise.
21172 (__x86_64_shared_cache_size): Likewise.
21173 (__x86_64_raw_shared_cache_size): Likewise.
21174 (__x86_64_shared_cache_size_half): Likewise.
21175 (__x86_64_raw_shared_cache_size_half): Likewise.
21176 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21177 to ...
21178 (__x86_data_cache_size): This.
21179 (__x86_64_raw_data_cache_size): Renamed to ...
21180 (__x86_raw_data_cache_size): This.
21181 (__x86_64_data_cache_size_half): Renamed to ...
21182 (__x86_data_cache_size_half): This.
21183 (__x86_64_raw_data_cache_size_half): Renamed to ...
21184 (__x86_raw_data_cache_size_half): This.
21185 (__x86_64_shared_cache_size): Renamed to ...
21186 (__x86_shared_cache_size): This.
21187 (__x86_64_raw_shared_cache_size): Renamed to ...
21188 (__x86_raw_shared_cache_size): This.
21189 (__x86_64_shared_cache_size_half): Renamed to ...
21190 (__x86_shared_cache_size_half): This.
21191 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21192 (__x86_raw_shared_cache_size_half): This.
21193 * sysdeps/x86_64/memcpy.S: Updated.
21194 * sysdeps/x86_64/memset.S: Likewise.
21195 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21197 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21198
211992013-01-04 David S. Miller <davem@davemloft.net>
21200
21201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21202
212032013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21204
21205 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21206 1 to avoid redefinition warning.
21207 (__USE_GNU): Don't define.
21208 (init_signaling_nan): Protoize.
21209
21210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21211
212122013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21213
21214 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21216 (__cpymn): Likewise.
21217 (norm): Remove commented code.
21218 (denorm): Likewise.
21219 (__mp_dbl): Likewise.
21220 (__inv): Likewise.
21221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21222 (__cpymn): Likewise.
21223 (norm): Remove commented code.
21224 (denorm): Likewise.
21225 (__mp_dbl): Likewise.
21226 (__inv): Likewise.
21227
21228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21229 mp_no value for 1.0 and 2.0.
21230 (norm): Use RADIXI instead of radixi.d.
21231 (denorm): Likewise.
21232 (__mul): Use 0.0 instead of zero.d.
21233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21234 mp_no value for 1.0 and 2.0.
21235 (norm): Use RADIXI instead of radixi.d.
21236 (denorm): Likewise.
21237 (__mul): Use 0.0 instead of zero.d.
21238
212392013-01-04 Joseph Myers <joseph@codesourcery.com>
21240
21241 [BZ #14994]
21242 * math/s_casinh.c (__casinh): Reduce finite argument to first
21243 quadrant then set signs of results at the end.
21244 * math/s_casinhf.c (__casinhf): Likewise.
21245 * math/s_casinhl.c (__casinhl): Likewise.
21246 * math/libm-test.inc (casin_test): Add more tests.
21247 (casinh_test): Likewise.
21248 * sysdeps/i386/fpu/libm-test-ulps: Update.
21249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21250
212512013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21252
21253 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21254
21255 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21256
21257 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21258 declarations.
21259 (denorm): Likewise.
21260 (__mp_dbl): Likewise.
21261 (__inv): Likewise.
21262
21263 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21264 and adjust the header comment.
21265
21266 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21267 variable name from declaration.
21268
212692013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21270
21271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21272 Initialize COMMON_CPUID_INDEX_7 element.
21273 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21274 (CPUID_RTM): Likewise.
21275 (HAS_RTM): Likewise.
21276 (COMMON_CPUID_INDEX_7): New enum.
21277
212782013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21279
21280 [BZ #14981]
21281 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21282 size is zero, record memory as freed.
21283
212842013-01-03 Andreas Jaeger <aj@suse.de>
21285
21286 * po/ia.po: Add new Interlingua translation.
21287
212882012-01-03 Allan McRae <allan@archlinux.org>
21289
21290 * locale/programs/localedef.c: Fix description of '--posix' flag.
21291
212922013-01-02 Joseph Myers <joseph@codesourcery.com>
21293
21294 * NEWS: Update dates in second copyright notice.
21295 * README: Update copyright dates in example.
21296 * manual/libc.texinfo: Update copyright dates.
21297 * scripts/test-installation.pl: Update copyright date in --version
21298 output.
21299
21300 * hurd/ctty-input.c: Fix copyright notice formatting.
21301 * hurd/ctty-output.c: Likewise.
21302 * hurd/dtable.c: Likewise.
21303 * hurd/hurd-raise.c: Likewise.
21304 * hurd/hurdprio.c: Likewise.
21305 * hurd/msgportdemux.c: Likewise.
21306 * misc/sys/file.h: Likewise.
21307 * misc/sys/ioctl.h: Likewise.
21308 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21309 * sysdeps/mach/hurd/chdir.c: Likewise.
21310 * sysdeps/mach/hurd/fchdir.c: Likewise.
21311 * sysdeps/mach/hurd/rename.c: Likewise.
21312 * sysdeps/mach/hurd/rmdir.c: Likewise.
21313 * sysdeps/mach/hurd/seekdir.c: Likewise.
21314 * sysdeps/mach/hurd/setsid.c: Likewise.
21315 * sysdeps/posix/wait3.c: Likewise.
21316
21317 * All files with FSF copyright notices: Update copyright dates
21318 using scripts/update-copyrights.
21319 * intl/plural.c: Regenerated.
21320 * locale/programs/charmap-kw.h: Likewise.
21321 * locale/programs/locfile-kw.h: Likewise.
21322
213232013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21324
21325 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21326 four values.
21327
21328 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21329 calculation loop and add branch prediction.
21330
21331 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21332 check access beyond bounds of m1np.
21333
21334 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21335 MPTWO.
21336 (__inv): Remove local variable MPTWO to use the global
21337 constant.
21338 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21339 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21340 variable MPTWO.
21341 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21342 MP3HALFS static const.
21343
213442013-01-01 David S. Miller <davem@davemloft.net>
21345
21346 * po/ca.po: Update from translation team.
21347
213482013-01-01 Joseph Myers <joseph@codesourcery.com>
21349
21350 * scripts/update-copyrights: New file.
21351 * Makeconfig: Reformat copyright notice.
21352 * ctype/ctype.h: Likewise.
21353 * debug/swprintf_chk.c: Likewise.
21354 * elf/dl-cache.c: Likewise.
21355 * elf/dl-debug.c: Likewise.
21356 * elf/dl-object.c: Likewise.
21357 * grp/initgroups.c: Likewise.
21358 * hurd/Makefile: Likewise.
21359 * hurd/hurd/signal.h: Likewise.
21360 * hurd/hurdfault.c: Likewise.
21361 * hurd/hurdioctl.c: Likewise.
21362 * hurd/hurdlookup.c: Likewise.
21363 * hurd/intr-msg.c: Likewise.
21364 * iconv/gconv_open.c: Likewise.
21365 * libio/swprintf.c: Likewise.
21366 * locale/lc-ctype.c: Likewise.
21367 * locale/nl_langinfo.c: Likewise.
21368 * mach/Machrules: Likewise.
21369 * mach/Makefile: Likewise.
21370 * malloc/obstack.h: Likewise.
21371 * manual/Makefile: Likewise.
21372 * manual/tsort.awk: Likewise.
21373 * misc/bits/stab.def: Likewise.
21374 * nis/nis_print_group_entry.c: Likewise.
21375 * nis/nis_table.c: Likewise.
21376 * nis/nss_compat/compat-pwd.c: Likewise.
21377 * nis/nss_compat/compat-spwd.c: Likewise.
21378 * po/Makefile: Likewise.
21379 * posix/fnmatch.c: Likewise.
21380 * posix/regex.h: Likewise.
21381 * resolv/Makefile: Likewise.
21382 * resolv/nss_dns/dns-network.c: Likewise.
21383 * resolv/res_hconf.c: Likewise.
21384 * scripts/gen-sorted.awk: Likewise.
21385 * soft-fp/soft-fp.h: Likewise.
21386 * stdio-common/printf.h: Likewise.
21387 * stdlib/monetary.h: Likewise.
21388 * stdlib/random.c: Likewise.
21389 * stdlib/random_r.c: Likewise.
21390 * sysdeps/generic/Makefile: Likewise.
21391 * sysdeps/gnu/Makefile: Likewise.
21392 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21393 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21394 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21396 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21397 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21398 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21399 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21400 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21401 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21402 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21403 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21404 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21405 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21406 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21407 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21408 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21409 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21410 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21411 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21412 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21413 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21414 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21415 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21416 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21417 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21418 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21419 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21420 * sysdeps/mach/hurd/errnos.awk: Likewise.
21421 * sysdeps/mach/hurd/fork.c: Likewise.
21422 * sysdeps/mach/hurd/getcwd.c: Likewise.
21423 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21424 * sysdeps/mach/hurd/mmap.c: Likewise.
21425 * sysdeps/mach/hurd/utimes.c: Likewise.
21426 * sysdeps/mach/hurd/xmknod.c: Likewise.
21427 * sysdeps/posix/profil.c: Likewise.
21428 * sysdeps/posix/readdir_r.c: Likewise.
21429 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21430 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21431 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21432 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21434 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21435 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21436 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21438 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21439 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21440 * sysdeps/pthread/lio_listio.c: Likewise.
21441 * sysdeps/sparc/dl-procinfo.h: Likewise.
21442 * sysdeps/unix/i386/sysdep.S: Likewise.
21443 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21444 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21445 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21446 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21448 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21449 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21450 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21451 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21452 * sysdeps/wordsize-32/divdi3.c: Likewise.
21453 * time/sys/time.h: Likewise.
21454 * wcsmbs/Makefile: Likewise.
21455
214562013-01-01 David S. Miller <davem@davemloft.net>
21457
21458 * po/fr.po: Update from translation team.
21459
21460 * catgets/gencat.c: Update copyright year.
21461 * csu/version.c: Likewise.
21462 * debug/catchsegv.sh: Likewise.
21463 * debug/pcprofiledump.c: Likewise.
21464 * debug/xtrace.sh: Likewise.
21465 * elf/ldconfig.c: Likewise.
21466 * elf/ldd.bash.in: Likewise.
21467 * elf/pldd.c: Likewise.
21468 * elf/sotruss.ksh: Likewise.
21469 * elf/sprof.c: Likewise.
21470 * iconv/iconv_prog.c: Likewise.
21471 * iconv/iconvconfig.c: Likewise.
21472 * locale/programs/locale.c: Likewise.
21473 * locale/programs/localedef.c: Likewise.
21474 * login/programs/pt_chown.c: Likewise.
21475 * malloc/memusage.sh: Likewise.
21476 * malloc/memusagestat.c: Likewise.
21477 * malloc/mtrace.pl: Likewise.
21478 * nscd/nscd.c: Likewise.
21479 * nss/getent.c: Likewise.
21480 * nss/makedb.c: Likewise.
21481 * posix/getconf.c: Likewise.
21482
214832012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21484
21485 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21486 numbers.
21487
214882012-12-30 Mike Frysinger <vapier@gentoo.org>
21489
21490 * math/bits/mathcalls.h (modf): Use __nonnull.
21491
214922012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21493
21494 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21495 (split): Use macro CN instead of the bare value.
21496 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21497 could be used.
21498 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21499 instead of the bare value.
21500 (power1): Likewise.
21501
215022012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21503
21504 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21505 __ATAN_TWOM.
21506 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21507
21508 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21509 their values.
21510 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21511 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21512 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21513 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21514
215152012-12-28 Andreas Jaeger <aj@suse.de>
21516
21517 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21518 values are from Linux 3.7.
21519
21520 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21521 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21522
215232012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21524
21525 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21526 TRUE case.
21527
21528 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21529 (norm): Likewise.
21530 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21531 variables with preprocessor constants.
21532 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21533 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21534 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21535
215362012-12-27 Bruno Haible <bruno@clisp.org>
21537
21538 [BZ #14317]
21539 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21540 only if needed.
21541
215422012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21543
21544 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21545 and use variable directly.
21546 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21547
21548 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21549 MPONE.
21550 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21551 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21552 variable MPONE.
21553 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21554 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21555 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21556 include directive. Remove local variable MPONE.
21557 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21558 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21559 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21560
215612012-12-25 David S. Miller <davem@davemloft.net>
21562
21563 * version.h (RELEASE): Set to "development".
21564 (VERSION): Set to "2.17.90".
21565 * NEWS: Add 2.18 section.
21566
215672012-12-21 David S. Miller <davem@davemloft.net>
21568
21569 * po/hr.po: Update from translation team.
21570
215712012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21572
21573 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21574
215752012-12-19 Steve Ellcey <sellcey@mips.com>
21576
21577 * NEWS: Mention new memcpy for MIPS.
21578
215792012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21580
21581 * manual/contrib.texi (Contributors): Spelling correction.
21582
215832012-12-15 David S. Miller <davem@davemloft.net>
21584
21585 * po/ru.po: Update from translation team.
21586
215872012-12-13 David S. Miller <davem@davemloft.net>
21588
21589 * NEWS: Mention IFUNC testsuite enhancements.
21590
21591 * po/pl.po: Update from translation team.
21592 * po/bg.po: Likewise.
21593
21594 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21595 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21596
215972012-12-11 David S. Miller <davem@davemloft.net>
21598
21599 * po/sv.po: Update from translation team.
21600
21601 * po/vi.po: Update from translation team.
21602
21603 * po/cs.po: Update from translation team.
21604
21605 * po/de.po: Update from translation team.
21606 * po/eo.po: Likewise.
21607 * po/nl.po: Likewise.
21608
216092012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21610
21611 [BZ #14246]
21612 * manual/argp.texi (Argp Helper Functions): Move node to follow
21613 Argp Parsing State.
21614
21615 [BZ #14872]
21616 * manual/conf.texi (Limits on File System Capacity): Mention if
21617 terminating null is included in the max size.
21618
216192012-12-10 Andreas Jaeger <aj@suse.de>
21620
21621 * po/cs.po: Update from translation team.
21622
216232012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21624
21625 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21626 void pointer and cast to uintptr_t.
21627 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21628 path.
21629 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21630 * sysdeps/s390/s390-64/memset.S: Likewise.
21631
216322012-12-08 Benno Schulenberg <bensberg@justemail.net>
21633
21634 [BZ #14833]
21635 * menual/message.texi (Message Translation): Fix typos.
21636 (Helper programs for gettext): Likewise.
21637
216382012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21639
21640 [BZ #14898]
21641 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21642 Change to -1.
21643
216442012-12-07 David S. Miller <davem@davemloft.net>
21645
21646 * po/libc.pot: Update.
21647
216482012-12-07 Richard Henderson <rth@redhat.com>
21649
21650 [BZ #10114]
21651 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21652 normal/normal case to before the switch.
21653 (_FP_DIV): Likewise.
21654
216552012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21656 Mike Frysinger <vapier@gentoo.org>
21657
21658 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21659 check for __NR_fadvise64_64.
21660
216612012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21662
21663 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21664 0, not just to plain "0" as a statement.
21665 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21666 with cw.
21667
216682012-12-06 Joseph Myers <joseph@codesourcery.com>
21669
21670 * NEWS: Use sourceware.org in Bugzilla URL.
21671
216722012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21673
21674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21675 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21676
21677 * stdio-common/tst-put-error.c (do_test): Add newline to the
21678 padded test to ensure flush.
21679
216802012-12-05 Jeff Law <law@redhat.com>
21681
21682 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21683
216842012-12-05 Joseph Myers <joseph@codesourcery.com>
21685
21686 * README: Don't refer to ports add-on as distributed separately.
21687 Mention AArch64 in list of systems supported in the ports add-on.
21688
21689 * LICENSES: Add more non-FSF copyright and license notices.
21690
21691 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21692 ((unused)).
21693
21694 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21695
21696 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21697 10000 as width of padded output.
21698
216992012-12-04 Joseph Myers <joseph@codesourcery.com>
21700
21701 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21702
21703 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21704 variable LX with __attribute__ ((unused)).
21705 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21706 Likewise.
21707 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21708 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21709 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21710 with __attribute__ ((unused)).
21711
217122012-12-04 David S. Miller <davem@abraco.davemloft.net>
21713
21714 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21715
217162012-12-04 Joseph Myers <joseph@codesourcery.com>
21717
21718 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21719 (CFLAGS-nldbl-acos.c): New variable.
21720 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21721 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21722 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21723 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21724 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21725 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21726 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21727 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21728 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21729 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21730 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21731 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21732 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21733 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21734 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21735 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21736 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21737 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21738 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21739 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21740 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21741 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21742 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21743 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21744 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21745 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21746 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21747 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21748 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21749 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21750 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21751 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21752 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21753 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21754 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21755 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21756 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21757 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21758 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21759 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21760 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21761 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21762 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21763 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21764 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21765 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21766 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21767 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21768 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21769 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21770 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21771 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21772 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21773 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21774 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21775 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21776 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21777 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21778 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21779 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21780 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21781 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21782 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21783 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21784 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21785 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21786 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21787 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21788 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21789 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21790 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21791 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21792 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21793 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21794 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21795 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21796 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21797 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21798 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21799 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21800 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21801 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21802 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21803 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21804 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21805 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21806 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21807 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21808 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21809 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21810 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21811 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21812 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21813 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21814 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21815 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21816 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21817
21818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21819 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21820
21821 [BZ #14914]
21822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21823 whole low double instead of just low 47 bits when splitting values
21824 into two parts.
21825
218262012-12-03 Allan McRae <allan@archlinux.org>
21827
21828 * manual/stdio.texi (Predefined Printf Handlers): Remove
21829 @hsep and @vsep usage.
21830
218312012-12-03 Mike Frysinger <vapier@gentoo.org>
21832
21833 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21834 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21835
218362012-12-03 Jeff Law <law@redhat.com>
21837
21838 * time/sys/time.h (settimeofday): Do not mark TV argument
21839 as __nonnull.
21840
218412012-12-01 Mike Frysinger <vapier@gentoo.org>
21842
21843 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21844 when currently writing and seek to current position when not.
21845 * libio/Makefile (tests): Remove bug-fclose1.
21846 * libio/bug-fclose1.c: Delete.
21847
218482012-12-01 Joseph Myers <joseph@codesourcery.com>
21849
21850 * manual/arith.texi (feenableexcept): Fix typo.
21851 (fedisableexcept): Likewise.
21852
218532012-11-30 Roland McGrath <roland@hack.frob.com>
21854
21855 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21856 second, differently-typed declaration, rather than a cast.
21857
218582012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21859
21860 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21861 * include/rpc/svc.h: ... here.
21862
218632012-11-30 Aurelien Jarno <aurel32@debian.org>
21864
21865 [BZ #13013]
21866 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21867 depending n and resplen2 to catch cases where answer
21868 equals answerp2.
21869
218702012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21871
21872 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21873 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21874
218752012-11-29 Mike Frysinger <vapier@gentoo.org>
21876
21877 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21878
218792012-11-29 Roland McGrath <roland@hack.frob.com>
21880
21881 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21882
218832012-11-28 Jeff Law <law@redhat.com>
21884
21885 [BZ #13761]
21886 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21887 dataset_temporary. Track alloca usage into alloca_used.
21888 If dataset is large allocate and release it via malloc/free.
21889
218902012-06-04 Florian Weimer <fweimer@redhat.com>
21891
21892 [BZ #14197]
21893 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21894
218952012-11-28 David S. Miller <davem@davemloft.net>
21896
21897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21898
218992012-11-28 Joseph Myers <joseph@codesourcery.com>
21900
21901 [BZ #14803]
21902 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21903 of pi/2 rounded to nearest to 64 bits.
21904 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21905 nearest to 64 bits.
21906 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21907 bits.
21908
219092012-11-28 Jeff Law <law@redhat.com>
21910 Martin Osvald <mosvald@redhat.com>
21911
21912 [BZ #14889]
21913 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21914 * sunrpc/svc.c: Include time.h.
21915 (__svc_accept_failed): New function.
21916 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21917 any reason other than EINTR, call __svc_accept_failed.
21918 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21919 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21920
219212012-11-28 Andreas Schwab <schwab@suse.de>
21922
21923 * scripts/abilist.awk: Also handle indirect functions in .opd
21924 section.
21925
219262012-11-28 Joseph Myers <joseph@codesourcery.com>
21927
21928 [BZ #13881]
21929 * sysdeps/x86/fpu/powl_helper.c: New file.
21930 * sysdeps/x86/fpu/Makefile: Likewise.
21931 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21932 (p3): New object.
21933 (__ieee754_powl): Use __powl_helper for finite arguments except
21934 integer exponents below 8.
21935 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21936 (p3): New object.
21937 (__ieee754_powl): Use __powl_helper for finite arguments except
21938 integer exponents below 8.
21939 * math/libm-test.inc (pow_test): Add more tests and enable some
21940 previously disabled tests.
21941 * sysdeps/i386/fpu/libm-test-ulps: Update.
21942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21943
219442012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21945 Carlos O'Donell <carlos_odonell@mentor.com>
21946
21947 * nss/makedb.c (is_prime): Assert that input is odd and greater
21948 than 4. Note that fact in a comment too.
21949 (next_prime): Add 4 to input.
21950
219512012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21952
21953 [BZ #11741]
21954 * libio/Makefile (tests): Add test case tst-fwrite-error.
21955 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21956 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21957 * libio/tst-fwrite-error.c: New test case.
21958
219592012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21960
21961 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21962 before casting to void *.
21963 * include/libc-internal.h (__pointer_type): New macro.
21964 (__integer_if_pointer_type_sub): Likewise.
21965 (__integer_if_pointer_type): Likewise.
21966 (cast_to_integer): Likewise.
21967 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21968 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21969 before casting to atomic64_t.
21970 (atomic_exchange_acq): Likewise.
21971 (__arch_exchange_and_add_body): Likewise.
21972 (__arch_add_body): Likewise.
21973 (atomic_add_negative): Likewise.
21974 (atomic_add_zero): Likewise.
21975
219762012-11-26 Joseph Myers <joseph@codesourcery.com>
21977
21978 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21979 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21980 (add_fdes): Likewise.
21981 (linear_search_fdes): Likewise.
21982 (binary_search_unencoded_fdes): Likewise.
21983
219842012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21985
21986 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21987
219882012-11-24 Adam Conrad <adconrad@0c3.net>
21989
21990 * configure.in: Autodetect C++ header directories.
21991 * configure: Regenerated.
21992
219932012-11-23 Mike Frysinger <vapier@gentoo.org>
21994
21995 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21996
219972012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21998
21999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22000
220012012-11-22 Joseph Myers <joseph@codesourcery.com>
22002
22003 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22004 LDBL_MANT_DIG == 106]: Disable some tests.
22005 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22006 Likewise.
22007 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22008 Likewise.
22009
22010 [BZ #14871]
22011 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22012 input for small inputs. Return +/- pi/2 for large inputs.
22013 * math/libm-test.inc (atan_test): Add more tests.
22014
22015 * sysdeps/generic/unwind-dw2-fde-glibc.c
22016 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22017 __attribute__ ((unused)).
22018
22019 [BZ #14645]
22020 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22021 x * y if x and y are nonzero and z is zero.
22022
22023 [BZ #14811]
22024 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22025 nonzero exponents with absolute value below 0x1p-117 to +/-
22026 0x1p-117.
22027
22028 [BZ #14869]
22029 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22030 up arguments below 2**-450, not just those below 2**-500.
22031 * math/libm-test.inc (hypot_test): Add another test.
22032
22033 [BZ #14868]
22034 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22035 Return a+b for ratio over 2**120, not 2**60.
22036 * math/libm-test.inc (hypot_test): Add another test.
22037
22038 * math/libm-test.inc (clog_test): Use
22039 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22040 (clog10_test): Likewise.
22041
22042 [BZ #6778]
22043 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22044
220452012-11-22 Andreas Schwab <schwab@suse.de>
22046
22047 * sysdeps/i386/fpu/libm-test-ulps: Update.
22048
220492012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22050
22051 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22052 printf output with newline.
22053
220542012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22055
22056 [BZ #14865]
22057 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22058 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22059 -z nodlopen, -z initfirst and -z execstack support.
22060 * configure: Regenerated.
22061
22062 * elf/elf.h (DF_1_NODIRECT): New macro.
22063 (DF_1_IGNMULDEF): Likewise.
22064 (DF_1_NOKSYMS): Likewise.
22065 (DF_1_NOHDR): Likewise.
22066 (DF_1_EDITED): Likewise.
22067 (DF_1_NORELOC): Likewise.
22068 (DF_1_SYMINTPOSE): Likewise.
22069 (DF_1_GLOBAUDIT): Likewise.
22070 (DF_1_SINGLETON): Likewise.
22071 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22072 DT_1_SUPPORTED_MASK bits.
22073 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22074
220752012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22076
22077 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22078
220792012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22080
22081 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22082 macro.
22083
22084 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22085 (sendmmsg): Move declarations...
22086 * socket/sys/socket.h: ... here.
22087 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22088 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22089 include it from...
22090 * socket/recvmmsg.c: ... this new file.
22091 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22092 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22093 definition of __sendmmsg hidden.
22094 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22095 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22096 Move ENOSYS stub into and include it from...
22097 * socket/sendmmsg.c: ... this new file.
22098 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22099 (sysdep_routines): Move recvmmsg and sendmmsg...
22100 * socket/Makefile (routines): ... here.
22101 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22102 (GLIBC_PRIVATE): Add __sendmmsg.
22103 * include/sys/socket.h (__sendmmsg): Add declarations.
22104 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22105 sendmmsg.
22106
221072012-11-20 Joseph Myers <joseph@codesourcery.com>
22108
22109 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22110 variable I1 with __attribute__ ((unused)).
22111 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22112
221132012-11-19 Joseph Myers <joseph@codesourcery.com>
22114
22115 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22116 DUMMY variables with __attribute__ ((unused)).
22117
22118 * bits/byteswap.h: Include <bits/types.h>.
22119 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22120
221212012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22122
22123 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22124 string_t. Do not manually set errno.
22125 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22126 length with __strnlen. Make sure to both set errno and return it on
22127 failure.
22128
221292012-11-19 David S. Miller <davem@davemloft.net>
22130
22131 With help from Joseph Myers.
22132 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22133 very large arguments properly.
22134 * math/libm-test.inc (atan_test): New tests.
22135 (atan2_test): New tests.
22136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22138
221392012-11-19 Joseph Myers <joseph@codesourcery.com>
22140
22141 [BZ #14856]
22142 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22143 Define to 3.
22144
22145 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22146 [POSIX] (EADDRNOTAVAIL): Likewise.
22147 [POSIX] (EAFNOSUPPORT): Likewise.
22148 [POSIX] (EALREADY): Likewise.
22149 [POSIX] (ECONNABORTED): Likewise.
22150 [POSIX] (ECONNREFUSED): Likewise.
22151 [POSIX] (ECONNRESET): Likewise.
22152 [POSIX] (EDESTADDRREQ): Likewise.
22153 [POSIX] (EDQUOT): Likewise.
22154 [POSIX] (EHOSTUNREACH): Likewise.
22155 [POSIX] (EIDRM): Likewise.
22156 [POSIX] (EISCONN): Likewise.
22157 [POSIX] (ELOOP): Likewise.
22158 [POSIX] (EMULTIHOP): Likewise.
22159 [POSIX] (ENETDOWN): Likewise.
22160 [POSIX] (ENETUNREACH): Likewise.
22161 [POSIX] (ENOBUFS): Likewise.
22162 [POSIX] (ENODATA): Likewise.
22163 [POSIX] (ENOLINK): Likewise.
22164 [POSIX] (ENOMSG): Likewise.
22165 [POSIX] (ENOPROTOOPT): Likewise.
22166 [POSIX] (ENOSR): Likewise.
22167 [POSIX] (ENOSTR): Likewise.
22168 [POSIX] (ENOTCONN): Likewise.
22169 [POSIX] (ENOTSOCK): Likewise.
22170 [POSIX] (EOPNOTSUPP): Likewise.
22171 [POSIX] (EOVERFLOW): Likewise.
22172 [POSIX] (EPROTO): Likewise.
22173 [POSIX] (EPROTONOSUPPORT): Likewise.
22174 [POSIX] (EPROTOTYPE): Likewise.
22175 [POSIX] (ESTALE): Likewise.
22176 [POSIX] (ETIME): Likewise.
22177 [POSIX] (ETXTBSY): Likewise.
22178 [POSIX] (EWOULDBLOCK): Likewise.
22179 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22180 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22181 [POSIX] (SEEK_CUR): Likewise.
22182 [POSIX] (SEEK_END): Likewise.
22183 [POSIX || UNIX98] (mode_t): Do not require.
22184 [POSIX] (off_t): Likewise.
22185 [POSIX] (pid_t): Likewise.
22186 [POSIX] (sys/stat.h): Do not allow header.
22187 [POSIX] (unistd.h): Likewise.
22188 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22189 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22190 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22191 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22192 require.
22193 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22194 sigevent): Specify elements.
22195 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22196 entry.
22197 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22198 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22199
22200 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22201 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22202 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22203 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22204 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22205 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22206 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22207 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22208 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22209 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22210 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22211 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22212 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22213 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22214 Likewise.
22215 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22216 Likewise.
22217 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22218 Likewise.
22219 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22220 Likewise.
22221 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22222 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22223 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22224 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22225 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22226 Specify lower bound on value.
22227 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22228 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22229 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22230 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22231 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22232 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22233 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22234 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22235 value.
22236 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22237 as optional.
22238 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22239 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22240 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22241 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22242 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22243 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22244 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22245 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22246 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22247 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22248 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22249 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22250 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22251 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22252 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22253 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22254 entry.
22255 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22256 optional.
22257 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22258 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22259 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22260 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22261 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22262 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22263 Likewise.
22264 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22265 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22266 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22267 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22268 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22269 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22270 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22271 as optional.
22272 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22273 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22274 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22275 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22276 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22277 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22278 specify as optional.
22279 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22280 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22281 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22282 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22283 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22284 [XPG3] (NL_LANGMAX): Likewise.
22285 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22286 [POSIX || XPG3] (NL_NMAX): Likewise.
22287 [POSIX || XPG3] (NL_SETMAX): Likewise.
22288 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22289 [XPG3] (NZERO): Likewise.
22290 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22291 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22292 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22293 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22294 (REG_ERANGE): Expect.
22295 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22296 optional-constant.
22297 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22298 Use (void) in prototype.
22299 [POSIX] (*_t): Allow.
22300 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22301 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22302 (WRDE_BADVAL): Expect.
22303
22304 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22305 expect.
22306 [XPG3 || XPG4] (O_RSYNC): Likewise.
22307 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22308 Likewise.
22309 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22310 [XPG3 || XPG4] (sigqueue): Likewise.
22311 [XPG3 || XPG4] (sigtimedwait): Likewise.
22312 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22313 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22314 [XPG3 || XPG4] (vsnprintf): Likewise.
22315 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22316 Likewise.
22317 [XPG3 || XPG4] (blksize_t): Likewise.
22318 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22319 Likewise.
22320 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22321 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22322 [XPG3 || XPG4] (struct itimerspec): Likewise.
22323 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22324 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22325 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22326 [XPG3 || XPG4] (clockid_t): Likewise.
22327 [XPG3 || XPG4] (timer_t): Likewise.
22328 [XPG3 || XPG4] (clock_getres): Likewise.
22329 [XPG3 || XPG4] (clock_gettime): Likewise.
22330 [XPG3 || XPG4] (clock_settime): Likewise.
22331 [XPG3 || XPG4] (nanosleep): Likewise.
22332 [XPG3 || XPG4] (timer_create): Likewise.
22333 [XPG3 || XPG4] (timer_delete): Likewise.
22334 [XPG3 || XPG4] (timer_gettime): Likewise.
22335 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22336 [XPG3 || XPG4] (timer_settime): Likewise.
22337 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22338 [XPG3 || XPG4] (getlogin_r): Likewise.
22339 [XPG3 || XPG4] (pread): Likewise.
22340 [XPG3 || XPG4] (pthread_atfork): Likewise.
22341 [XPG3 || XPG4] (pwrite): Likewise.
22342
22343 [BZ #14835]
22344 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22345 <bits/siginfo.h>.
22346
223472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22348
22349 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22350 finalizing MALLSTREAM.
22351
22352 * sysdeps/mach/hurd/syncfs.c: New file.
22353
223542012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22355
22356 [BZ #14719]
22357 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22358 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22359 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22360 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22361 (_nss_dns_gethostbyname4_r): Likewise.
22362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22363 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22364
223652012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22366
22367 [BZ #13763]
22368 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22369
223702012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22371
22372 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22373 * elf/cache.c (print_entry): Print ",AArch64" for
22374 FLAG_AARCH64_LIB64
22375
22376 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22377 * elf/cache.c (print_entry): Print ",hard-float" for
22378 FLAG_ARM_LIBHF.
22379
223802012-11-18 David S. Miller <davem@davemloft.net>
22381
22382 With help from Joseph Myers.
22383 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22384 cutoff to 2**-13.
22385 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22386 cutoff to 2**-25.
22387 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22388 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22389 small.
22390 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22391 * math/libm-test.inc (y0_test): New tests.
22392 (y1_test): New tests.
22393 * sysdeps/i386/fpu/libm-test-ulps: Update.
22394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22396
223972012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22398
22399 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22400 64-bit targets.
22401 * configure: Regenerated.
22402
224032012-11-17 David S. Miller <davem@davemloft.net>
22404
22405 [BZ #14811]
22406 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22407 nonzero exponents with absolute value below 0x1p-128 to +/-
22408 0x1p-128.
22409
224102012-11-17 Joseph Myers <joseph@codesourcery.com>
22411
22412 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22413
22414 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22415
22416 * posix/getconf-speclist.c: New file.
22417 * posix/posix-envs.def: Likewise.
22418 * posix/confstr.c (START_ENV_GROUP): New macro.
22419 (END_ENV_GROUP): Likewise.
22420 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22421 (KNOWN_PRESENT_ENV_STRING): Likewise.
22422 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22423 (UNKNOWN_ENVIRONMENT): Likewise.
22424 (confstr): Include posix-envs.def instead of handling
22425 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22426 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22427 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22428 (END_ENV_GROUP): Likewise.
22429 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22430 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22431 (UNKNOWN_ENVIRONMENT): Likewise.
22432 (__sysconf): Include posix-envs.def instead of handling associated
22433 cases directly here.
22434 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22435 preprocessing getconf-speclist.c rather than running getconf or
22436 generating empty file.
22437
224382012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22439
22440 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22441
224422012-11-16 Andrej Lajovic <natrij@gmail.com>
22443
22444 [BZ #14672]
22445 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22446
224472012-11-16 David S. Miller <davem@davemloft.net>
22448
22449 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22450 smaller than LDBL_EPSILON/2.0L, just return xm1.
22451
224522012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22453
22454 * elf/tst-array1.c (init): Set constructor priority to 1000.
22455 (fini): Set destructor priority to 1000.
22456 * elf/tst-array2dep.c: Likewise.
22457
224582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22459
22460 [BZ #11741]
22461 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22462 (_IO_new_file_xsputn): Also return EOF if none of the input
22463 data was written when overflow failed.
22464 * libio/iopadn.c (_IO_padn): Likewise.
22465 * libio/iowpadn.c (_IO_wpadn): Likewise.
22466 * stdio-common/tst-put-error.c: Add copyright notice.
22467 (do_test): Add case for printing padded string.
22468 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22469 _IO_padn returned error.
22470 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22471 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22472 return EOF.
22473
224742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22475
22476 * libio/libioP.h: Add comment note that the references to C++
22477 bits are now obsolete.
22478
224792012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22480
22481 * math/libm-test.inc (check_complex): Use asprintf.
22482
224832012-11-14 Joseph Myers <joseph@codesourcery.com>
22484
22485 * debug/pcprofiledump.c (print_version): Update copyright year.
22486 * malloc/memusagestat.c (print_version): Likewise.
22487
224882012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22489
22490 [BZ #14831]
22491 * elf/Makefile (tests): Add tst-audit8.
22492 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22493 ($(objpfx)tst-audit8.out): New target.
22494 (tst-audit8-ENV): New variable.
22495 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22496 audit if l_reloc_result is NULL.
22497 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22498 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22499 * elf/tst-audit8.c: New file.
22500
225012012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22502
22503 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22504 * misc/Makefile (CFLAGS-select.c): Define.
22505 * posix/Makefile (CFLAGS-pause.c): Define.
22506
225072012-11-13 David S. Miller <davem@davemloft.net>
22508
22509 * crypt/Makefile: Move test targets after toplevel Rules
22510 inclusion. Grab any necessary sysdep routines when linking.
22511 * crypt/md5.c (md5_process_block): Remove define, we will always
22512 name it __md5_process_block.
22513 (md5_finish_ctx): Update md5_process_block call.
22514 (md5_stream): Likewise.
22515 (md5_process_bytes): Likewise.
22516 (md5_process_block): Rename to __md5_process_block and move to ...
22517 * crypt/md5-block.c: ... here.
22518 * crypt/sha256.c (sha256_process_block): Move to ...
22519 * crypt/sha256-block.c: ... here.
22520 * crypt/sha512.c (sha512_process_block): Move to ...
22521 * crypt/sha512-block.c: ... here.
22522 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22523 path.
22524 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22525 * sysdeps/sparc/sparc64/multiarch/Makefile
22526 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22527 crypt subdir.
22528 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22529 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22530 multiarch changes.
22531 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22532 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22533 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22534 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22535 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22536 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22537 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22538 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22539 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22540 file.
22541 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22542 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22543 file.
22544 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22545
225462012-11-13 Joseph Myers <joseph@codesourcery.com>
22547
22548 * timezone/tzselect.ksh: Update from tzcode git revision
22549 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22550 * timezone/zdump.c: Likewise.
22551 * timezone/zic.c: Likewise.
22552 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22553 in TZVERSION setting, not $(PKGVERSION).
22554 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22555 REPORT_BUGS_TO settings.
22556
22557 [BZ #14838]
22558 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22559 macro.
22560
225612012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22562
22563 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22564 detection to immediately after _FP_ROUND().
22565 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22566 bits are 0.
22567
225682012-11-11 David S. Miller <davem@davemloft.net>
22569
22570 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22571 inttypes.h
22572 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22573 __close rather than their public counterparts.
22574
225752012-11-10 Joseph Myers <joseph@codesourcery.com>
22576
22577 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22578 file.
22579 [UNIX98] (sem_timedwait): Do not expect.
22580 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22581 [XPG4 || UNIX98] (sockatmark): Do not expect.
22582 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22583 (clock_getcpuclockid): Do not expect.
22584 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22585 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22586 Do not expect.
22587 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22588 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22589 [UNIX98] (vwscanf): Likewise.
22590 [UNIX98] (vswscanf): Likewise.
22591
225922012-11-09 Joseph Myers <joseph@codesourcery.com>
22593
22594 * timezone/version.h: Remove file.
22595 * timezone/README: Do not refer to version.h.
22596 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22597 $(objpfx)version.h.
22598 ($(objpfx)zdump.o): Likewise.
22599 ($(objpfx)version.h): New target.
22600
22601 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22602 2012i.
22603 * timezone/README: Don't mention modification to tzselect.ksh.
22604 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22605 work on unmodified tzselect.ksh. Substitute version numbers in
22606 tzselect.ksh.
22607
22608 * Makefile (format-me): Remove.
22609 (INSTALL): Adjust indentation. Use commands directly instead of
22610 using $(format-me).
22611
22612 * aclocal.m4 (ACX_PKGVERSION): New macro.
22613 (ACX_BUGURL): Likewise.
22614 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22615 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22616 (REPORT_BUGS_TO): Likewise.
22617 * configure: Regenerated.
22618 * config.h.in (PKGVERSION): New macro.
22619 (REPORT_BUGS_TO): Likewise.
22620 * config.make.in (PKGVERSION): New variable.
22621 (PKGVERSION_TEXI): Likewise.
22622 (REPORT_BUGS_TO): Likewise.
22623 (REPORT_BUGS_TEXI): Likewise.
22624 * Makefile (format-me): Use -I$(common-objpfx)manual.
22625 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22626 ($(common-objpfx)manual/%): New target.
22627 (manual/%): Remove target.
22628 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22629 (print_version): Use PKGVERSION.
22630 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22631 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22632 and REPORT_BUGS_TO.
22633 ($(objpfx)xtrace): Likewise.
22634 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22635 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22636 (print_version): Use PKGVERSION.
22637 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22638 (do_version): Use PKGVERSION.
22639 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22640 REPORT_BUGS_TO.
22641 (common-ldd-rewrite): Likewise.
22642 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22643 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22644 (print_version): Use PKGVERSION.
22645 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22646 * elf/pldd.c (argp_program_bug_address): Remove variable.
22647 (more_help): New function.
22648 (argp): Use more_help.
22649 (print_version): Use PKGVERSION.
22650 * elf/sln.c (main): Use PKGVERSION.
22651 (usage): Use REPORT_BUGS_TO.
22652 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22653 (top level): Use PKGVERSION.
22654 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22655 (print_version): Use PKGVERSION.
22656 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22657 (print_version): Use PKGVERSION.
22658 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22659 (print_version): Use PKGVERSION.
22660 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22661 (print_version): Use PKGVERSION.
22662 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22663 (print_version): Use PKGVERSION.
22664 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22665 (print_version): Use PKGVERSION.
22666 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22667 and BUGURL.
22668 ($(objpfx)memusage): Likewise.
22669 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22670 (do_version): Use PKGVERSION.
22671 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22672 (print_version): Use PKGVERSION.
22673 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22674 ($PKGVERSION): New variable.
22675 ($REPORT_BUGS_TO): Likewise.
22676 (usage): Use $REPORT_BUGS_TO.
22677 (top level): Use $PKGVERSION.
22678 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22679 ($(objpfx)pkgvers.texi): New rule.
22680 ($(objpfx)stamp-pkgvers): Likewise.
22681 * manual/install.texi: Include pkgvers.texi.
22682 (--with-pkgversion): Document new configure option.
22683 (--with-bugurl): Likewise.
22684 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22685 than necessarily for this particular distribution. Use
22686 REPORT_BUGS_TO for where to report bugs.
22687 * INSTALL: Regenerated.
22688 * manual/libc.texinfo: Include pkgvers.texi.
22689 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22690 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22691 (print_version): Use PKGVERSION.
22692 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22693 (print_version): Use PKGVERSION.
22694 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22695 (print_version): Use PKGVERSION.
22696 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22697 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22698 macro.
22699 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22700 (print_version): Use PKGVERSION.
22701 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22702 (print_version): Use PKGVERSION.
22703 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22704 and PKGVERSION.
22705
22706 * timezone/checktab.awk: Update from tzcode 2012i.
22707 * timezone/ialloc.c: Likewise.
22708 * timezone/private.h: Likewise.
22709 * timezone/scheck.c: Likewise.
22710 * timezone/tzfile.h: Likewise.
22711 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22712 (TZVERSION): Hardcode tzcode version number.
22713 * timezone/zdump.c: Update from tzcode 2012i.
22714 * timezone/zic.c: Likewise.
22715 * timezone/version.h: New file.
22716 * timezone/README: Describe version.h. Update upstream location.
22717
22718 [BZ #14824]
22719 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22720 (mktemp): Enable declaration.
22721 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22722 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22723 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22725 Likewise.
22726 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22727 Likewise.
22728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22729 Likewise.
22730 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22731 Likewise.
22732 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22733 Likewise.
22734 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22735 Likewise.
22736
22737 [BZ #14821]
22738 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22739 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22740 for copies of such integer values.
22741 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22742 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22743
227442012-11-09 Andreas Jaeger <aj@suse.de>
22745
22746 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22747 definitions and declarations that are provided by
22748 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22749
227502012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22751
22752 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22753 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22754 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22755 definition.
22756
227572012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22758
22759 * elf/elf.h: Update comment before AArch64 relocations.
22760
227612012-11-07 David S. Miller <davem@davemloft.net>
22762
22763 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22764 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22765 (__start_context): Declare.
22766 (__makecontext_ret): Delete.
22767 (__makecontext): Hook up __start_context instead of
22768 __makecontext_ret.
22769 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22770 (sysdep_routines): Add __start_context when in stdlib.
22771
227722012-11-07 Joseph Myers <joseph@codesourcery.com>
22773
22774 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22775 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22776 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22777 hardcoded "nm".
22778 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22779 (READELF): New variable. Use it instead of hardcoded "readelf".
22780
227812012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22782
22783 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22784 * sysdeps/x86/Makefile: Here.
22785 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22786 * sysdeps/x86/tst-xmmymm.sh: This.
22787
227882012-11-07 Joseph Myers <joseph@codesourcery.com>
22789
22790 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22791 expectations.
22792 [UNIX98] (pthread_barrier_t): Do not expect.
22793 [UNIX98] (pthread_barrierattr_t): Likewise.
22794 [UNIX98] (pthread_spinlock_t): Likewise.
22795 [UNIX98] (pthread_barrier_destroy): Likewise.
22796 [UNIX98] (pthread_barrier_init): Likewise.
22797 [UNIX98] (pthread_barrier_wait): Likewise.
22798 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22799 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22800 [UNIX98] (pthread_barrierattr_init): Likewise.
22801 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22802 [UNIX98] (pthread_getcpuclockid): Likewise.
22803 [UNIX98] (pthread_mutex_timedlock): Likewise.
22804 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22805 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22806 [UNIX98] (pthread_sigmask): Likewise.
22807 [UNIX98] (pthread_spin_destroy): Likewise.
22808 [UNIX98] (pthread_spin_init): Likewise.
22809 [UNIX98] (pthread_spin_lock): Likewise.
22810 [UNIX98] (pthread_spin_trylock): Likewise.
22811 [UNIX98] (pthread_spin_unlock): Likewise.
22812 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22813 Do not expect.
22814 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22815 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22816 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22817 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22818 [XPG3 || XPG4] (pthread_key_t): Likewise.
22819 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22820 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22821 [XPG3 || XPG4] (pthread_once_t): Likewise.
22822 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22823 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22824 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22825 [XPG3 || XPG4] (pthread_t): Likewise.
22826
22827 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22828 not expect.
22829 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22830
22831 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22832 Change function return type to int.
22833
22834 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22835 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22836 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22837 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22838 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22839 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22840 [!POSIX] (posix_madvise): Likewise.
22841 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22842 && !UNIX98].
22843 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22844 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22845 (mode_t): Likewise.
22846 (posix_mem_offset): Likewise.
22847 (posix_typed_mem_get_info): Likewise.
22848 (posix_typed_mem_open): Likewise.
22849
22850 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22851 Change condition to [XOPEN2K8].
22852
22853 * conform/conformtest.pl: Preprocess allow-header data with -x c
22854 instead of from stdin.
22855 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22856 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22857 [C99-based standards] (cerfc): Likewise.
22858 [C99-based standards] (cexp2): Likewise.
22859 [C99-based standards] (cexpm1): Likewise.
22860 [C99-based standards] (clog10): Likewise.
22861 [C99-based standards] (clog1p): Likewise.
22862 [C99-based standards] (clog2): Likewise.
22863 [C99-based standards] (clgamma): Likewise.
22864 [C99-based standards] (ctgamma): Likewise.
22865 [C99-based standards] (cerff): Likewise.
22866 [C99-based standards] (cerfcf): Likewise.
22867 [C99-based standards] (cexp2f): Likewise.
22868 [C99-based standards] (cexpm1f): Likewise.
22869 [C99-based standards] (clog10f): Likewise.
22870 [C99-based standards] (clog1pf): Likewise.
22871 [C99-based standards] (clog2f): Likewise.
22872 [C99-based standards] (clgammaf): Likewise.
22873 [C99-based standards] (ctgammaf): Likewise.
22874 [C99-based standards] (cerfl): Likewise.
22875 [C99-based standards] (cerfcl): Likewise.
22876 [C99-based standards] (cexp2l): Likewise.
22877 [C99-based standards] (cexpm1l): Likewise.
22878 [C99-based standards] (clog10l): Likewise.
22879 [C99-based standards] (clog1pl): Likewise.
22880 [C99-based standards] (clog2l): Likewise.
22881 [C99-based standards] (clgammal): Likewise.
22882 [C99-based standards] (ctgammal): Likewise.
22883 * conform/data/inttypes.h-data [C99-based standards]: Include
22884 stdint.h-data. Remove all expectations for stdint.h contents.
22885 [C99-based standards] (PRI*): Do not allow.
22886 [C99-based standards] (SCN*): Likewise.
22887 [C99-based standards] (*_t): Likewise.
22888 [C99-based-standards] (PRId8): Expect macro.
22889 [C99-based-standards] (PRIi8): Likewise.
22890 [C99-based-standards] (PRIo8): Likewise.
22891 [C99-based-standards] (PRIu8): Likewise.
22892 [C99-based-standards] (PRIx8): Likewise.
22893 [C99-based-standards] (PRIX8): Likewise.
22894 [C99-based-standards] (SCNd8): Likewise.
22895 [C99-based-standards] (SCNi8): Likewise.
22896 [C99-based-standards] (SCNo8): Likewise.
22897 [C99-based-standards] (SCNu8): Likewise.
22898 [C99-based-standards] (SCNx8): Likewise.
22899 [C99-based-standards] (PRIdLEAST8): Likewise.
22900 [C99-based-standards] (PRIiLEAST8): Likewise.
22901 [C99-based-standards] (PRIoLEAST8): Likewise.
22902 [C99-based-standards] (PRIuLEAST8): Likewise.
22903 [C99-based-standards] (PRIxLEAST8): Likewise.
22904 [C99-based-standards] (PRIXLEAST8): Likewise.
22905 [C99-based-standards] (SCNdLEAST8): Likewise.
22906 [C99-based-standards] (SCNiLEAST8): Likewise.
22907 [C99-based-standards] (SCNoLEAST8): Likewise.
22908 [C99-based-standards] (SCNuLEAST8): Likewise.
22909 [C99-based-standards] (SCNxLEAST8): Likewise.
22910 [C99-based-standards] (PRIdFAST8): Likewise.
22911 [C99-based-standards] (PRIiFAST8): Likewise.
22912 [C99-based-standards] (PRIoFAST8): Likewise.
22913 [C99-based-standards] (PRIuFAST8): Likewise.
22914 [C99-based-standards] (PRIxFAST8): Likewise.
22915 [C99-based-standards] (PRIXFAST8): Likewise.
22916 [C99-based-standards] (SCNdFAST8): Likewise.
22917 [C99-based-standards] (SCNiFAST8): Likewise.
22918 [C99-based-standards] (SCNoFAST8): Likewise.
22919 [C99-based-standards] (SCNuFAST8): Likewise.
22920 [C99-based-standards] (SCNxFAST8): Likewise.
22921 [C99-based-standards] (PRId16): Likewise.
22922 [C99-based-standards] (PRIi16): Likewise.
22923 [C99-based-standards] (PRIo16): Likewise.
22924 [C99-based-standards] (PRIu16): Likewise.
22925 [C99-based-standards] (PRIx16): Likewise.
22926 [C99-based-standards] (PRIX16): Likewise.
22927 [C99-based-standards] (SCNd16): Likewise.
22928 [C99-based-standards] (SCNi16): Likewise.
22929 [C99-based-standards] (SCNo16): Likewise.
22930 [C99-based-standards] (SCNu16): Likewise.
22931 [C99-based-standards] (SCNx16): Likewise.
22932 [C99-based-standards] (PRIdLEAST16): Likewise.
22933 [C99-based-standards] (PRIiLEAST16): Likewise.
22934 [C99-based-standards] (PRIoLEAST16): Likewise.
22935 [C99-based-standards] (PRIuLEAST16): Likewise.
22936 [C99-based-standards] (PRIxLEAST16): Likewise.
22937 [C99-based-standards] (PRIXLEAST16): Likewise.
22938 [C99-based-standards] (SCNdLEAST16): Likewise.
22939 [C99-based-standards] (SCNiLEAST16): Likewise.
22940 [C99-based-standards] (SCNoLEAST16): Likewise.
22941 [C99-based-standards] (SCNuLEAST16): Likewise.
22942 [C99-based-standards] (SCNxLEAST16): Likewise.
22943 [C99-based-standards] (PRIdFAST16): Likewise.
22944 [C99-based-standards] (PRIiFAST16): Likewise.
22945 [C99-based-standards] (PRIoFAST16): Likewise.
22946 [C99-based-standards] (PRIuFAST16): Likewise.
22947 [C99-based-standards] (PRIxFAST16): Likewise.
22948 [C99-based-standards] (PRIXFAST16): Likewise.
22949 [C99-based-standards] (SCNdFAST16): Likewise.
22950 [C99-based-standards] (SCNiFAST16): Likewise.
22951 [C99-based-standards] (SCNoFAST16): Likewise.
22952 [C99-based-standards] (SCNuFAST16): Likewise.
22953 [C99-based-standards] (SCNxFAST16): Likewise.
22954 [C99-based-standards] (PRId32): Likewise.
22955 [C99-based-standards] (PRIi32): Likewise.
22956 [C99-based-standards] (PRIo32): Likewise.
22957 [C99-based-standards] (PRIu32): Likewise.
22958 [C99-based-standards] (PRIx32): Likewise.
22959 [C99-based-standards] (PRIX32): Likewise.
22960 [C99-based-standards] (SCNd32): Likewise.
22961 [C99-based-standards] (SCNi32): Likewise.
22962 [C99-based-standards] (SCNo32): Likewise.
22963 [C99-based-standards] (SCNu32): Likewise.
22964 [C99-based-standards] (SCNx32): Likewise.
22965 [C99-based-standards] (PRIdLEAST32): Likewise.
22966 [C99-based-standards] (PRIiLEAST32): Likewise.
22967 [C99-based-standards] (PRIoLEAST32): Likewise.
22968 [C99-based-standards] (PRIuLEAST32): Likewise.
22969 [C99-based-standards] (PRIxLEAST32): Likewise.
22970 [C99-based-standards] (PRIXLEAST32): Likewise.
22971 [C99-based-standards] (SCNdLEAST32): Likewise.
22972 [C99-based-standards] (SCNiLEAST32): Likewise.
22973 [C99-based-standards] (SCNoLEAST32): Likewise.
22974 [C99-based-standards] (SCNuLEAST32): Likewise.
22975 [C99-based-standards] (SCNxLEAST32): Likewise.
22976 [C99-based-standards] (PRIdFAST32): Likewise.
22977 [C99-based-standards] (PRIiFAST32): Likewise.
22978 [C99-based-standards] (PRIoFAST32): Likewise.
22979 [C99-based-standards] (PRIuFAST32): Likewise.
22980 [C99-based-standards] (PRIxFAST32): Likewise.
22981 [C99-based-standards] (PRIXFAST32): Likewise.
22982 [C99-based-standards] (SCNdFAST32): Likewise.
22983 [C99-based-standards] (SCNiFAST32): Likewise.
22984 [C99-based-standards] (SCNoFAST32): Likewise.
22985 [C99-based-standards] (SCNuFAST32): Likewise.
22986 [C99-based-standards] (SCNxFAST32): Likewise.
22987 [C99-based-standards] (PRId64): Likewise.
22988 [C99-based-standards] (PRIi64): Likewise.
22989 [C99-based-standards] (PRIo64): Likewise.
22990 [C99-based-standards] (PRIu64): Likewise.
22991 [C99-based-standards] (PRIx64): Likewise.
22992 [C99-based-standards] (PRIX64): Likewise.
22993 [C99-based-standards] (SCNd64): Likewise.
22994 [C99-based-standards] (SCNi64): Likewise.
22995 [C99-based-standards] (SCNo64): Likewise.
22996 [C99-based-standards] (SCNu64): Likewise.
22997 [C99-based-standards] (SCNx64): Likewise.
22998 [C99-based-standards] (PRIdLEAST64): Likewise.
22999 [C99-based-standards] (PRIiLEAST64): Likewise.
23000 [C99-based-standards] (PRIoLEAST64): Likewise.
23001 [C99-based-standards] (PRIuLEAST64): Likewise.
23002 [C99-based-standards] (PRIxLEAST64): Likewise.
23003 [C99-based-standards] (PRIXLEAST64): Likewise.
23004 [C99-based-standards] (SCNdLEAST64): Likewise.
23005 [C99-based-standards] (SCNiLEAST64): Likewise.
23006 [C99-based-standards] (SCNoLEAST64): Likewise.
23007 [C99-based-standards] (SCNuLEAST64): Likewise.
23008 [C99-based-standards] (SCNxLEAST64): Likewise.
23009 [C99-based-standards] (PRIdFAST64): Likewise.
23010 [C99-based-standards] (PRIiFAST64): Likewise.
23011 [C99-based-standards] (PRIoFAST64): Likewise.
23012 [C99-based-standards] (PRIuFAST64): Likewise.
23013 [C99-based-standards] (PRIxFAST64): Likewise.
23014 [C99-based-standards] (PRIXFAST64): Likewise.
23015 [C99-based-standards] (SCNdFAST64): Likewise.
23016 [C99-based-standards] (SCNiFAST64): Likewise.
23017 [C99-based-standards] (SCNoFAST64): Likewise.
23018 [C99-based-standards] (SCNuFAST64): Likewise.
23019 [C99-based-standards] (SCNxFAST64): Likewise.
23020 [C99-based-standards] (PRIdMAX): Likewise.
23021 [C99-based-standards] (PRIiMAX): Likewise.
23022 [C99-based-standards] (PRIoMAX): Likewise.
23023 [C99-based-standards] (PRIuMAX): Likewise.
23024 [C99-based-standards] (PRIxMAX): Likewise.
23025 [C99-based-standards] (PRIXMAX): Likewise.
23026 [C99-based-standards] (SCNdMAX): Likewise.
23027 [C99-based-standards] (SCNiMAX): Likewise.
23028 [C99-based-standards] (SCNoMAX): Likewise.
23029 [C99-based-standards] (SCNuMAX): Likewise.
23030 [C99-based-standards] (SCNxMAX): Likewise.
23031 [C99-based-standards] (PRIdPTR): Likewise.
23032 [C99-based-standards] (PRIiPTR): Likewise.
23033 [C99-based-standards] (PRIoPTR): Likewise.
23034 [C99-based-standards] (PRIuPTR): Likewise.
23035 [C99-based-standards] (PRIxPTR): Likewise.
23036 [C99-based-standards] (PRIXPTR): Likewise.
23037 [C99-based-standards] (SCNdPTR): Likewise.
23038 [C99-based-standards] (SCNiPTR): Likewise.
23039 [C99-based-standards] (SCNoPTR): Likewise.
23040 [C99-based-standards] (SCNuPTR): Likewise.
23041 [C99-based-standards] (SCNxPTR): Likewise.
23042 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23043 allow.
23044 * conform/data/stdint.h-data: Update comments to clarify
23045 requirements.
23046 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23047 type.
23048 [C99-based standards] (INT8_MAX): Likewise.
23049 [C99-based standards] (INT16_MIN): Likewise.
23050 [C99-based standards] (INT16_MAX): Likewise.
23051 [C99-based standards] (INT32_MIN): Likewise.
23052 [C99-based standards] (INT32_MAX): Likewise.
23053 [C99-based standards] (INT64_MIN): Likewise.
23054 [C99-based standards] (INT64_MAX): Likewise.
23055 [C99-based standards] (UINT8_MAX): Likewise.
23056 [C99-based standards] (UINT16_MAX): Likewise.
23057 [C99-based standards] (UINT32_MAX): Likewise.
23058 [C99-based standards] (UINT64_MAX): Likewise.
23059 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23060 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23061 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23062 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23063 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23064 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23065 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23066 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23067 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23068 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23069 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23070 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23071 [C99-based standards] (INT_FAST8_MIN): Likewise.
23072 [C99-based standards] (INT_FAST8_MAX): Likewise.
23073 [C99-based standards] (INT_FAST16_MIN): Likewise.
23074 [C99-based standards] (INT_FAST16_MAX): Likewise.
23075 [C99-based standards] (INT_FAST32_MIN): Likewise.
23076 [C99-based standards] (INT_FAST32_MAX): Likewise.
23077 [C99-based standards] (INT_FAST64_MIN): Likewise.
23078 [C99-based standards] (INT_FAST64_MAX): Likewise.
23079 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23080 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23081 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23082 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23083 [C99-based standards] (INTPTR_MIN): Likewise.
23084 [C99-based standards] (INTPTR_MAX): Likewise.
23085 [C99-based standards] (UINTPTR_MAX): Likewise.
23086 [C99-based standards] (INTMAX_MIN): Likewise.
23087 [C99-based standards] (INTMAX_MAX): Likewise.
23088 [C99-based standards] (UINTMAX_MAX): Likewise.
23089 [C99-based standards] (PTRDIFF_MIN): Likewise.
23090 [C99-based standards] (PTRDIFF_MAX): Likewise.
23091 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23092 [C99-based standards] (SIZE_MAX): Likewise.
23093 [C99-based standards] (WCHAR_MAX): Likewise.
23094 [C99-based standards] (WINT_MAX): Likewise.
23095 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23096 constraint on value.
23097 [C99-based standards] (WCHAR_MIN): Likewise.
23098 [C99-based standards] (WINT_MIN): Likewise.
23099 [C99-based standards] (*_t): Allow.
23100 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23101 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23102 Include math.h-data and complex.h-data. Remove all expectations
23103 of math.h and complex.h contents.
23104 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23105 at end of line.
23106 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23107 (struct tm): Expect tag.
23108 [C99-based-standards] (wcstof): Expect function.
23109 [C99-based-standards] (wcstold): Likewise.
23110 [C99-based-standards] (wcstoll): Likewise.
23111 [C99-based-standards] (wcstoull): Likewise.
23112 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23113 macro-int-constant. Specify type.
23114 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23115 constraint on value.
23116 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23117 Specify type.
23118 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23119 Specify value.
23120 [ISO C standards]: Do not allow headers.
23121 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23122 wcs[abcdefghijklmnopqrstuvwxyz]*.
23123 [ISO C standards] (*_t): Do not allow.
23124 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23125 Expect function.
23126 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23127 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23128 Specify type.
23129 [ISO C standards]: Do not allow headers.
23130 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23131 is[abcdefghijklmnopqrstuvwxyz]*.
23132 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23133 to[abcdefghijklmnopqrstuvwxyz]*.
23134 [ISO C standards] (*_t): Do not allow.
23135 * conform/data/stdalign.h-data: New file.
23136 * conform/data/stdbool.h-data: Likewise.
23137 * conform/data/stdnoreturn.h-data: Likewise.
23138
231392012-11-07 Roland McGrath <roland@hack.frob.com>
23140
23141 [BZ #14815]
23142 * manual/filesys.texi (Directory Entries): Typo fix.
23143 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23144
231452012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23146
23147 * elf/elf.h (EM_AARCH64): New macro.
23148 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23149 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23150 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23151 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23152 (R_AARCH64_TLSDESC): Likewise.
23153 (NT_ARM_TLS): Likewise.
23154 (NT_ARM_HW_BREAK): Likewise.
23155 (NT_ARM_HW_WATCH): Likewise.
23156
231572012-11-07 Joseph Myers <joseph@codesourcery.com>
23158
23159 [BZ #14811]
23160 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23161 (__ieee754_powl): Saturate nonzero exponents with absolute value
23162 below 0x1p-79 to +/- 0x1p-79.
23163 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23164 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23165 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23166 nonzero exponents with absolute value below 0x1p-32 to +/-
23167 0x1p-32.
23168 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23169 (__ieee754_powl): Saturate nonzero exponents with absolute value
23170 below 0x1p-79 to +/- 0x1p-79.
23171 * math/libm-test.inc (pow_test): Add more tests.
23172
231732012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23174
23175 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23176 _dl_s390_cap_flags with kernel. Increase string length.
23177 (_dl_s390_platforms): Add z196 and zEC12.
23178
231792012-11-07 Joseph Myers <joseph@codesourcery.com>
23180
23181 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23182 Change XOPEN21K to XOPEN2K.
23183
231842012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23185
23186 * string/memmove.c: Use memcpy when possible.
23187
231882012-11-06 Andreas Jaeger <aj@suse.de>
23189
23190 * po/eo.po: Update from translation team.
23191
231922012-11-06 Joseph Myers <joseph@codesourcery.com>
23193
23194 [BZ #14793]
23195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23196 exponent and small x and y exponents, scale x or y up. Increase
23197 by 2 the exponent used in scaling up.
23198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23200 * math/libm-test.inc (fma_test): Add more tests.
23201 (fma_test_towardzero): Likewise.
23202 (fma_test_downward): Likewise.
23203 (fma_test_upward): Likewise.
23204
232052012-11-05 Joseph Myers <joseph@codesourcery.com>
23206
23207 [BZ #14805]
23208 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23209 fenv_t *.
23210
23211 [BZ #14801]
23212 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23213 namespace for names of struct fields.
23214 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23215 fenv_t fields.
23216 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23217 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23218
232192012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23220
23221 [BZ #3665]
23222 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23223
232242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23225
23226 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23227 PTR_DEMANGLE.
23228
23229 [BZ #5246]
23230 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23231 PTR_DEMANGLE.
23232
232332012-11-04 Joseph Myers <joseph@codesourcery.com>
23234
23235 [BZ #14797]
23236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23237 definitely overflow as x * y not x * y + z.
23238 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23239 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23240 * math/libm-test.inc (fma_test): Add more tests.
23241 (fma_test_towardzero): Likewise.
23242 (fma_test_downward): Likewise.
23243 (fma_test_upward): Likewise.
23244
232452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23246
23247 [BZ #157]
23248
23249 * include/stub-tag.h: Remove file.
23250 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23251 '#include' of it.
23252 * manual/maint.texi (Porting): Don't reference it.
23253 * Makerules ($(objpfx)stubs): Likewise.
23254 * dirent/closedir.c: Don't include <stub-tag.h>.
23255 * dirent/dirfd.c: Likewise.
23256 * dirent/fdopendir.c: Likewise.
23257 * dirent/getdents.c: Likewise.
23258 * dirent/getdents64.c: Likewise.
23259 * dirent/opendir.c: Likewise.
23260 * dirent/readdir.c: Likewise.
23261 * dirent/readdir64.c: Likewise.
23262 * dirent/readdir64_r.c: Likewise.
23263 * dirent/readdir_r.c: Likewise.
23264 * dirent/rewinddir.c: Likewise.
23265 * dirent/seekdir.c: Likewise.
23266 * dirent/telldir.c: Likewise.
23267 * gmon/profil.c: Likewise.
23268 * grp/setgroups.c: Likewise.
23269 * inet/if_index.c: Likewise.
23270 * io/access.c: Likewise.
23271 * io/chdir.c: Likewise.
23272 * io/chmod.c: Likewise.
23273 * io/chown.c: Likewise.
23274 * io/close.c: Likewise.
23275 * io/dup.c: Likewise.
23276 * io/dup2.c: Likewise.
23277 * io/dup3.c: Likewise.
23278 * io/euidaccess.c: Likewise.
23279 * io/faccessat.c: Likewise.
23280 * io/fchdir.c: Likewise.
23281 * io/fchmod.c: Likewise.
23282 * io/fchmodat.c: Likewise.
23283 * io/fchown.c: Likewise.
23284 * io/fchownat.c: Likewise.
23285 * io/fcntl.c: Likewise.
23286 * io/flock.c: Likewise.
23287 * io/fstatfs.c: Likewise.
23288 * io/fstatfs64.c: Likewise.
23289 * io/fstatvfs.c: Likewise.
23290 * io/fstatvfs64.c: Likewise.
23291 * io/futimens.c: Likewise.
23292 * io/fxstat.c: Likewise.
23293 * io/fxstat64.c: Likewise.
23294 * io/fxstatat.c: Likewise.
23295 * io/fxstatat64.c: Likewise.
23296 * io/getcwd.c: Likewise.
23297 * io/isatty.c: Likewise.
23298 * io/lchmod.c: Likewise.
23299 * io/lchown.c: Likewise.
23300 * io/link.c: Likewise.
23301 * io/linkat.c: Likewise.
23302 * io/lseek.c: Likewise.
23303 * io/lseek64.c: Likewise.
23304 * io/lxstat64.c: Likewise.
23305 * io/mkdir.c: Likewise.
23306 * io/mkdirat.c: Likewise.
23307 * io/mkfifo.c: Likewise.
23308 * io/mkfifoat.c: Likewise.
23309 * io/open.c: Likewise.
23310 * io/open64.c: Likewise.
23311 * io/openat.c: Likewise.
23312 * io/openat64.c: Likewise.
23313 * io/pipe.c: Likewise.
23314 * io/pipe2.c: Likewise.
23315 * io/poll.c: Likewise.
23316 * io/posix_fadvise.c: Likewise.
23317 * io/posix_fadvise64.c: Likewise.
23318 * io/posix_fallocate.c: Likewise.
23319 * io/posix_fallocate64.c: Likewise.
23320 * io/read.c: Likewise.
23321 * io/readlink.c: Likewise.
23322 * io/readlinkat.c: Likewise.
23323 * io/rmdir.c: Likewise.
23324 * io/sendfile.c: Likewise.
23325 * io/sendfile64.c: Likewise.
23326 * io/statfs.c: Likewise.
23327 * io/statfs64.c: Likewise.
23328 * io/statvfs.c: Likewise.
23329 * io/statvfs64.c: Likewise.
23330 * io/symlink.c: Likewise.
23331 * io/symlinkat.c: Likewise.
23332 * io/ttyname.c: Likewise.
23333 * io/ttyname_r.c: Likewise.
23334 * io/umask.c: Likewise.
23335 * io/unlink.c: Likewise.
23336 * io/unlinkat.c: Likewise.
23337 * io/utime.c: Likewise.
23338 * io/utimensat.c: Likewise.
23339 * io/write.c: Likewise.
23340 * io/xmknod.c: Likewise.
23341 * io/xmknodat.c: Likewise.
23342 * io/xstat.c: Likewise.
23343 * io/xstat64.c: Likewise.
23344 * login/getpt.c: Likewise.
23345 * login/grantpt.c: Likewise.
23346 * login/unlockpt.c: Likewise.
23347 * math/e_acoshl.c: Likewise.
23348 * math/e_acosl.c: Likewise.
23349 * math/e_asinl.c: Likewise.
23350 * math/e_atan2l.c: Likewise.
23351 * math/e_atanhl.c: Likewise.
23352 * math/e_coshl.c: Likewise.
23353 * math/e_expl.c: Likewise.
23354 * math/e_fmodl.c: Likewise.
23355 * math/e_gammal_r.c: Likewise.
23356 * math/e_hypotl.c: Likewise.
23357 * math/e_j0l.c: Likewise.
23358 * math/e_j1l.c: Likewise.
23359 * math/e_jnl.c: Likewise.
23360 * math/e_lgammal_r.c: Likewise.
23361 * math/e_log10l.c: Likewise.
23362 * math/e_log2l.c: Likewise.
23363 * math/e_logl.c: Likewise.
23364 * math/e_powl.c: Likewise.
23365 * math/e_rem_pio2l.c: Likewise.
23366 * math/e_sinhl.c: Likewise.
23367 * math/e_sqrtl.c: Likewise.
23368 * math/fclrexcpt.c: Likewise.
23369 * math/fedisblxcpt.c: Likewise.
23370 * math/feenablxcpt.c: Likewise.
23371 * math/fegetenv.c: Likewise.
23372 * math/fegetexcept.c: Likewise.
23373 * math/fegetround.c: Likewise.
23374 * math/feholdexcpt.c: Likewise.
23375 * math/fesetenv.c: Likewise.
23376 * math/fesetround.c: Likewise.
23377 * math/feupdateenv.c: Likewise.
23378 * math/fgetexcptflg.c: Likewise.
23379 * math/fraiseexcpt.c: Likewise.
23380 * math/fsetexcptflg.c: Likewise.
23381 * math/ftestexcept.c: Likewise.
23382 * math/k_cosl.c: Likewise.
23383 * math/k_rem_pio2l.c: Likewise.
23384 * math/k_sinl.c: Likewise.
23385 * math/k_tanl.c: Likewise.
23386 * math/s_asinhl.c: Likewise.
23387 * math/s_atanl.c: Likewise.
23388 * math/s_cbrtl.c: Likewise.
23389 * math/s_erfl.c: Likewise.
23390 * math/s_expm1l.c: Likewise.
23391 * math/s_log1pl.c: Likewise.
23392 * math/s_tanhl.c: Likewise.
23393 * misc/acct.c: Likewise.
23394 * misc/brk.c: Likewise.
23395 * misc/chflags.c: Likewise.
23396 * misc/chroot.c: Likewise.
23397 * misc/fchflags.c: Likewise.
23398 * misc/fgetxattr.c: Likewise.
23399 * misc/flistxattr.c: Likewise.
23400 * misc/fremovexattr.c: Likewise.
23401 * misc/fsetxattr.c: Likewise.
23402 * misc/fsync.c: Likewise.
23403 * misc/ftruncate.c: Likewise.
23404 * misc/futimes.c: Likewise.
23405 * misc/futimesat.c: Likewise.
23406 * misc/getdomain.c: Likewise.
23407 * misc/getdtsz.c: Likewise.
23408 * misc/gethostid.c: Likewise.
23409 * misc/gethostname.c: Likewise.
23410 * misc/getloadavg.c: Likewise.
23411 * misc/getpagesize.c: Likewise.
23412 * misc/getsysstats.c: Likewise.
23413 * misc/getxattr.c: Likewise.
23414 * misc/gtty.c: Likewise.
23415 * misc/ioctl.c: Likewise.
23416 * misc/lgetxattr.c: Likewise.
23417 * misc/listxattr.c: Likewise.
23418 * misc/llistxattr.c: Likewise.
23419 * misc/lremovexattr.c: Likewise.
23420 * misc/lsetxattr.c: Likewise.
23421 * misc/lutimes.c: Likewise.
23422 * misc/madvise.c: Likewise.
23423 * misc/mincore.c: Likewise.
23424 * misc/mlock.c: Likewise.
23425 * misc/mlockall.c: Likewise.
23426 * misc/mmap.c: Likewise.
23427 * misc/mprotect.c: Likewise.
23428 * misc/msync.c: Likewise.
23429 * misc/munlock.c: Likewise.
23430 * misc/munlockall.c: Likewise.
23431 * misc/munmap.c: Likewise.
23432 * misc/preadv.c: Likewise.
23433 * misc/preadv64.c: Likewise.
23434 * misc/ptrace.c: Likewise.
23435 * misc/pwritev.c: Likewise.
23436 * misc/pwritev64.c: Likewise.
23437 * misc/readv.c: Likewise.
23438 * misc/reboot.c: Likewise.
23439 * misc/remap_file_pages.c: Likewise.
23440 * misc/removexattr.c: Likewise.
23441 * misc/revoke.c: Likewise.
23442 * misc/select.c: Likewise.
23443 * misc/setdomain.c: Likewise.
23444 * misc/setegid.c: Likewise.
23445 * misc/seteuid.c: Likewise.
23446 * misc/sethostid.c: Likewise.
23447 * misc/sethostname.c: Likewise.
23448 * misc/setregid.c: Likewise.
23449 * misc/setreuid.c: Likewise.
23450 * misc/setxattr.c: Likewise.
23451 * misc/sstk.c: Likewise.
23452 * misc/stty.c: Likewise.
23453 * misc/swapoff.c: Likewise.
23454 * misc/swapon.c: Likewise.
23455 * misc/sync.c: Likewise.
23456 * misc/syncfs.c: Likewise.
23457 * misc/syscall.c: Likewise.
23458 * misc/truncate.c: Likewise.
23459 * misc/ualarm.c: Likewise.
23460 * misc/usleep.c: Likewise.
23461 * misc/ustat.c: Likewise.
23462 * misc/utimes.c: Likewise.
23463 * misc/vhangup.c: Likewise.
23464 * misc/writev.c: Likewise.
23465 * posix/_exit.c: Likewise.
23466 * posix/alarm.c: Likewise.
23467 * posix/execve.c: Likewise.
23468 * posix/fexecve.c: Likewise.
23469 * posix/fork.c: Likewise.
23470 * posix/fpathconf.c: Likewise.
23471 * posix/getaddrinfo.c: Likewise.
23472 * posix/getegid.c: Likewise.
23473 * posix/geteuid.c: Likewise.
23474 * posix/getgid.c: Likewise.
23475 * posix/getgroups.c: Likewise.
23476 * posix/getlogin.c: Likewise.
23477 * posix/getlogin_r.c: Likewise.
23478 * posix/getpgid.c: Likewise.
23479 * posix/getpid.c: Likewise.
23480 * posix/getppid.c: Likewise.
23481 * posix/getresgid.c: Likewise.
23482 * posix/getresuid.c: Likewise.
23483 * posix/getsid.c: Likewise.
23484 * posix/getuid.c: Likewise.
23485 * posix/glob64.c: Likewise.
23486 * posix/nanosleep.c: Likewise.
23487 * posix/pathconf.c: Likewise.
23488 * posix/pause.c: Likewise.
23489 * posix/posix_madvise.c: Likewise.
23490 * posix/pread.c: Likewise.
23491 * posix/pread64.c: Likewise.
23492 * posix/pwrite.c: Likewise.
23493 * posix/pwrite64.c: Likewise.
23494 * posix/sched_getaffinity.c: Likewise.
23495 * posix/sched_getp.c: Likewise.
23496 * posix/sched_gets.c: Likewise.
23497 * posix/sched_primax.c: Likewise.
23498 * posix/sched_primin.c: Likewise.
23499 * posix/sched_rr_gi.c: Likewise.
23500 * posix/sched_setaffinity.c: Likewise.
23501 * posix/sched_setp.c: Likewise.
23502 * posix/sched_sets.c: Likewise.
23503 * posix/sched_yield.c: Likewise.
23504 * posix/setgid.c: Likewise.
23505 * posix/setlogin.c: Likewise.
23506 * posix/setpgid.c: Likewise.
23507 * posix/setresgid.c: Likewise.
23508 * posix/setresuid.c: Likewise.
23509 * posix/setsid.c: Likewise.
23510 * posix/setuid.c: Likewise.
23511 * posix/sleep.c: Likewise.
23512 * posix/spawni.c: Likewise.
23513 * posix/sysconf.c: Likewise.
23514 * posix/times.c: Likewise.
23515 * posix/wait.c: Likewise.
23516 * posix/wait3.c: Likewise.
23517 * posix/wait4.c: Likewise.
23518 * posix/waitpid.c: Likewise.
23519 * resolv/gai_sigqueue.c: Likewise.
23520 * resource/getpriority.c: Likewise.
23521 * resource/getrlimit.c: Likewise.
23522 * resource/getrusage.c: Likewise.
23523 * resource/nice.c: Likewise.
23524 * resource/setpriority.c: Likewise.
23525 * resource/setrlimit.c: Likewise.
23526 * resource/ulimit.c: Likewise.
23527 * rt/aio_cancel.c: Likewise.
23528 * rt/aio_fsync.c: Likewise.
23529 * rt/aio_read.c: Likewise.
23530 * rt/aio_sigqueue.c: Likewise.
23531 * rt/aio_suspend.c: Likewise.
23532 * rt/aio_write.c: Likewise.
23533 * rt/clock_getres.c: Likewise.
23534 * rt/clock_gettime.c: Likewise.
23535 * rt/clock_nanosleep.c: Likewise.
23536 * rt/clock_settime.c: Likewise.
23537 * rt/lio_listio.c: Likewise.
23538 * rt/mq_close.c: Likewise.
23539 * rt/mq_getattr.c: Likewise.
23540 * rt/mq_notify.c: Likewise.
23541 * rt/mq_open.c: Likewise.
23542 * rt/mq_receive.c: Likewise.
23543 * rt/mq_send.c: Likewise.
23544 * rt/mq_setattr.c: Likewise.
23545 * rt/mq_timedreceive.c: Likewise.
23546 * rt/mq_timedsend.c: Likewise.
23547 * rt/mq_unlink.c: Likewise.
23548 * rt/shm_open.c: Likewise.
23549 * rt/shm_unlink.c: Likewise.
23550 * rt/timer_create.c: Likewise.
23551 * rt/timer_delete.c: Likewise.
23552 * rt/timer_getoverr.c: Likewise.
23553 * rt/timer_gettime.c: Likewise.
23554 * rt/timer_settime.c: Likewise.
23555 * setjmp/__longjmp.c: Likewise.
23556 * setjmp/setjmp.c: Likewise.
23557 * signal/kill.c: Likewise.
23558 * signal/killpg.c: Likewise.
23559 * signal/raise.c: Likewise.
23560 * signal/sigaction.c: Likewise.
23561 * signal/sigaltstack.c: Likewise.
23562 * signal/sigblock.c: Likewise.
23563 * signal/sigignore.c: Likewise.
23564 * signal/sigintr.c: Likewise.
23565 * signal/signal.c: Likewise.
23566 * signal/sigpause.c: Likewise.
23567 * signal/sigpending.c: Likewise.
23568 * signal/sigqueue.c: Likewise.
23569 * signal/sigreturn.c: Likewise.
23570 * signal/sigset.c: Likewise.
23571 * signal/sigsetmask.c: Likewise.
23572 * signal/sigstack.c: Likewise.
23573 * signal/sigsuspend.c: Likewise.
23574 * signal/sigtimedwait.c: Likewise.
23575 * signal/sigvec.c: Likewise.
23576 * signal/sigwait.c: Likewise.
23577 * signal/sigwaitinfo.c: Likewise.
23578 * signal/sysv_signal.c: Likewise.
23579 * socket/accept.c: Likewise.
23580 * socket/accept4.c: Likewise.
23581 * socket/bind.c: Likewise.
23582 * socket/connect.c: Likewise.
23583 * socket/getpeername.c: Likewise.
23584 * socket/getsockname.c: Likewise.
23585 * socket/getsockopt.c: Likewise.
23586 * socket/isfdtype.c: Likewise.
23587 * socket/listen.c: Likewise.
23588 * socket/recv.c: Likewise.
23589 * socket/recvfrom.c: Likewise.
23590 * socket/recvmsg.c: Likewise.
23591 * socket/send.c: Likewise.
23592 * socket/sendmsg.c: Likewise.
23593 * socket/sendto.c: Likewise.
23594 * socket/setsockopt.c: Likewise.
23595 * socket/shutdown.c: Likewise.
23596 * socket/sockatmark.c: Likewise.
23597 * socket/socket.c: Likewise.
23598 * socket/socketpair.c: Likewise.
23599 * stdio-common/ctermid.c: Likewise.
23600 * stdio-common/cuserid.c: Likewise.
23601 * stdio-common/remove.c: Likewise.
23602 * stdio-common/rename.c: Likewise.
23603 * stdio-common/renameat.c: Likewise.
23604 * stdio-common/tempname.c: Likewise.
23605 * stdlib/getcontext.c: Likewise.
23606 * stdlib/makecontext.c: Likewise.
23607 * stdlib/setcontext.c: Likewise.
23608 * stdlib/swapcontext.c: Likewise.
23609 * stdlib/system.c: Likewise.
23610 * streams/fattach.c: Likewise.
23611 * streams/fdetach.c: Likewise.
23612 * streams/getmsg.c: Likewise.
23613 * streams/getpmsg.c: Likewise.
23614 * streams/putmsg.c: Likewise.
23615 * streams/putpmsg.c: Likewise.
23616 * sysdeps/unix/bsd/getpt.c: Likewise.
23617 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23618 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23619 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23621 Likewise.
23622 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23623 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23624 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23625 * sysvipc/msgctl.c: Likewise.
23626 * sysvipc/msgget.c: Likewise.
23627 * sysvipc/msgrcv.c: Likewise.
23628 * sysvipc/msgsnd.c: Likewise.
23629 * sysvipc/semctl.c: Likewise.
23630 * sysvipc/semget.c: Likewise.
23631 * sysvipc/semop.c: Likewise.
23632 * sysvipc/semtimedop.c: Likewise.
23633 * sysvipc/shmat.c: Likewise.
23634 * sysvipc/shmctl.c: Likewise.
23635 * sysvipc/shmdt.c: Likewise.
23636 * sysvipc/shmget.c: Likewise.
23637 * termios/tcdrain.c: Likewise.
23638 * termios/tcflow.c: Likewise.
23639 * termios/tcflush.c: Likewise.
23640 * termios/tcgetattr.c: Likewise.
23641 * termios/tcgetpgrp.c: Likewise.
23642 * termios/tcsendbrk.c: Likewise.
23643 * termios/tcsetattr.c: Likewise.
23644 * termios/tcsetpgrp.c: Likewise.
23645 * time/adjtime.c: Likewise.
23646 * time/clock.c: Likewise.
23647 * time/getitimer.c: Likewise.
23648 * time/gettimeofday.c: Likewise.
23649 * time/setitimer.c: Likewise.
23650 * time/settimeofday.c: Likewise.
23651 * time/stime.c: Likewise.
23652 * time/time.c: Likewise.
23653
236542012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23655
23656 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23657 /usr/old/bin.
23658
23659 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23660 instead of spaces.
23661 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23662
236632012-11-03 Joseph Myers <joseph@codesourcery.com>
23664
23665 [BZ #14796]
23666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23667 FE_TONEAREST before applying Dekker multiplication and Knuth
23668 addition. Clear inexact exceptions and check for exact zero
23669 results afterwards.
23670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23671 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23672 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23673 * math/libm-test.inc (fma_test): Add more tests.
23674 (fma_test_towardzero): Likewise.
23675 (fma_test_downward): Likewise.
23676 (fma_test_upward): Likewise.
23677 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23678 function.
23679 (libc_fesetround): New macro.
23680 (libc_fesetroundf): Likewise.
23681 (libc_fesetroundl): Likewise.
23682 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23683 function.
23684 (libc_fesetround_387): Likewise.
23685 (libc_fesetroundf): New macro.
23686 (libc_fesetround): Likewise.
23687 (libc_fesetroundl): Likewise.
23688 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23689 function.
23690 (libc_fesetroundf): New macro.
23691 (libc_fesetround): Likewise.
23692 (libc_fesetroundl): Likewise.
23693 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23694 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23695 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23696 libm_hidden_ver.
23697 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23698 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23699 libm_hidden_def.
23700 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23701 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23702 libm_hidden_ver.
23703 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23704 libm_hidden_def.
23705
23706 [BZ #3439]
23707 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23708 integer constant usable in #if and use that to give value to enum
23709 constant.
23710 (FE_DIVBYZERO): Likewise.
23711 (FE_UNDERFLOW): Likewise.
23712 (FE_OVERFLOW): Likewise.
23713 (FE_INVALID): Likewise.
23714 (FE_INVALID_SNAN): Likewise.
23715 (FE_INVALID_ISI): Likewise.
23716 (FE_INVALID_IDI): Likewise.
23717 (FE_INVALID_ZDZ): Likewise.
23718 (FE_INVALID_IMZ): Likewise.
23719 (FE_INVALID_COMPARE): Likewise.
23720 (FE_INVALID_SOFTWARE): Likewise.
23721 (FE_INVALID_SQRT): Likewise.
23722 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23723 (FE_TONEAREST): Likewise.
23724 (FE_TOWARDZERO): Likewise.
23725 (FE_UPWARD): Likewise.
23726 (FE_DOWNWARD): Likewise.
23727 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23728 (FE_DIVBYZERO): Likewise.
23729 (FE_OVERFLOW): Likewise.
23730 (FE_UNDERFLOW): Likewise.
23731 (FE_INEXACT): Likewise.
23732 (FE_TONEAREST): Likewise.
23733 (FE_DOWNWARD): Likewise.
23734 (FE_UPWARD): Likewise.
23735 (FE_TOWARDZERO): Likewise.
23736 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23737 (FE_UNDERFLOW): Likewise.
23738 (FE_OVERFLOW): Likewise.
23739 (FE_DIVBYZERO): Likewise.
23740 (FE_INVALID): Likewise.
23741 (FE_TONEAREST): Likewise.
23742 (FE_TOWARDZERO): Likewise.
23743 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23744 (FE_OVERFLOW): Likewise.
23745 (FE_UNDERFLOW): Likewise.
23746 (FE_DIVBYZERO): Likewise.
23747 (FE_INEXACT): Likewise.
23748 (FE_TONEAREST): Likewise.
23749 (FE_TOWARDZERO): Likewise.
23750 (FE_UPWARD): Likewise.
23751 (FE_DOWNWARD): Likewise.
23752 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23753 (FE_DIVBYZERO): Likewise.
23754 (FE_OVERFLOW): Likewise.
23755 (FE_UNDERFLOW): Likewise.
23756 (FE_INEXACT): Likewise.
23757 (FE_TONEAREST): Likewise.
23758 (FE_DOWNWARD): Likewise.
23759 (FE_UPWARD): Likewise.
23760 (FE_TOWARDZERO): Likewise.
23761
237622012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23763
23764 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23765
237662012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23767
23768 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23769 commands. Quote $PWD.
23770 (blacklist_exports): Don't use remove_newlines. Replace "declare
23771 -x" by "export".
23772 (remove_newlines): Remove.
23773
237742012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23775
23776 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23777 * stdlib/stdlib.h (atof): Moved to ...
23778 * include/bits/stdlib-float.h: Here. New file.
23779 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23780 * stdlib/bits/stdlib-float.h: New file.
23781 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23782 -mno-sse -mno-mmx.
23783 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23784 <xmmintrin.h>.
23785
237862012-11-02 Joseph Myers <joseph@codesourcery.com>
23787
23788 * conform/conformtest.pl (@headers): Add fenv.h.
23789 * conform/data/fenv.h-data: New file.
23790 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23791 include of <math/fenv.h>.
23792
23793 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23794 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23795 && !UNIX98]. Enables tests for XOPEN2K8.
23796 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23797 POSIX2008]: Likewise.
23798
23799 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23800 (struct rusage): Do not expect type or its members.
23801
23802 [BZ #3439]
23803 * math/math.h (FP_NAN): Define macro to integer constant usable in
23804 #if and use that to give value to enum constant.
23805 (FP_INFINITE): Likewise.
23806 (FP_ZERO): Likewise.
23807 (FP_SUBNORMAL): Likewise.
23808 (FP_NORMAL): Likewise.
23809
238102012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23811
23812 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23813 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23814 arguments.
23815
238162012-11-02 Roland McGrath <roland@hack.frob.com>
23817
23818 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23819 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23820 autoconf-time if not.
23821 * configure.in: Remove AC_PREREQ.
23822
238232012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23824
23825 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23826 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23827 of the internal implementation.
23828
238292012-11-02 Joseph Myers <joseph@codesourcery.com>
23830
23831 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23832 except include of <misc/sys/syslog.h>.
23833
238342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23835
23836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23837 function returns with a NULL context exit with zero.
23838
238392012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23840
23841 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23842
238432012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23844
23845 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23846 (run_program_cmd): This.
23847 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23848 (tst_langinfo): New variable. Use it.
23849
238502012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23851
23852 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23853 floating point opcodes.
23854
238552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23856
23857 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23858 variable.
23859
23860 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23861
23862 * sysdeps/mach/hurd/powerpc: Remove directory.
23863 * sysdeps/mach/powerpc: Likewise.
23864
238652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23866
23867 * scripts/check-local-headers.sh: Ignore c++ headers.
23868
238692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23870
23871 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23872 __libc_cleanup_region_start argument.
23873
238742012-11-01 Joseph Myers <joseph@codesourcery.com>
23875
23876 [BZ #14784]
23877 [BZ #14785]
23878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23879 x * y using scaling, not as x * y + z.
23880 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23881 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23882 * math/libm-test.inc (fma_test): Add more tests.
23883 (fma_test_towardzero): Likewise.
23884 (fma_test_downward): Likewise.
23885 (fma_test_upward): Likewise.
23886
238872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23888
23889 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23890
238912012-10-31 Joseph Myers <joseph@codesourcery.com>
23892
23893 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23894 New variable.
23895
238962012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23897
23898 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23899
239002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23901
23902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23903 Fix sort order.
23904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23905 Likewise.
23906
239072012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23908
23909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23910 Fix the order of the list for glibc 2.17.
23911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23912 Likewise.
23913
239142012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23915
23916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23917
239182012-10-31 Joseph Myers <joseph@codesourcery.com>
23919
23920 [BZ #14610]
23921 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23922 for low part of x being zero before using __atanl (y).
23923 * math/libm-test.inc (atan2_test): Add another test.
23924
23925 * manual/install.texi (Configuring and compiling): Document
23926 general use of test-wrapper and test-wrapper-env.
23927 * INSTALL: Regenerated.
23928
23929 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23930 (__fma): Do not extract and scale down low bits on after-rounding
23931 systems when result rounded to normal precision would have normal
23932 exponent.
23933 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23934 (__fmal): Do not extract and scale down low bits on after-rounding
23935 systems when result rounded to normal precision would have normal
23936 exponent.
23937 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23938 (__fmal): Do not extract and scale down low bits on after-rounding
23939 systems when result rounded to normal precision would have normal
23940 exponent.
23941 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23942 macro.
23943 (fma_test): Add more tests.
23944 (fma_test_towardzero): Likewise.
23945 (fma_test_downward): Likewise.
23946 (fma_test_upward): Likewise.
23947
239482012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23949
23950 * sysdeps/i386/tininess.h: Renamed to ...
23951 * sysdeps/x86/tininess.h: This.
23952 * sysdeps/x86_64/tininess.h: Removed.
23953
239542012-10-30 Joseph Myers <joseph@codesourcery.com>
23955
23956 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23957 input. Use $(build-program-cmd).
23958 ($(objpfx)tst-array1-static.out): Likewise.
23959 ($(objpfx)tst-array2.out): Likewise.
23960 ($(objpfx)tst-array3.out): Likewise.
23961 ($(objpfx)tst-array4.out): Likewise.
23962 ($(objpfx)tst-array5.out): Likewise.
23963 ($(objpfx)tst-array5-static.out): Likewise.
23964
239652012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23966
23967 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23968 if defined.
23969
23970 * nss/nsswitch.h (nss_interface_function): Provide new
23971 macro for use with NSS functions.
23972 * grp/initgroups.c: Use new macro.
23973 * nss/getXXbyYY.c: Likewise.
23974 * nss/getXXbyYY_r.c: Likewise.
23975 * nss/getXXent.c: Likewise.
23976 * nss/getXXent_r.c: Likewise.
23977 * sysdeps/posix/getaddrinfo.c: Likewise.
23978
239792012-10-30 Andreas Jaeger <aj@suse.de>
23980
23981 * po/ru.po: Update Russion translation from translation project.
23982
239832012-10-30 Joseph Myers <joseph@codesourcery.com>
23984
23985 [BZ #14152]
23986 [BZ #14783]
23987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23988 result and shift together with sticky bit instead of replicating
23989 round-to-nearest rounding.
23990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23991 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23992 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23993 missing underflow exceptions.
23994 (fma_test_towardzero): Add more tests.
23995 (fma_test_downward): Likewise.
23996 (fma_test_upward): Likewise.
23997
23998 [BZ #14047]
23999 * sysdeps/generic/tininess.h: New file.
24000 * sysdeps/i386/tininess.h: Likewise.
24001 * sysdeps/sh/tininess.h: Likewise.
24002 * sysdeps/x86_64/tininess.h: Likewise.
24003 * stdlib/tst-strtod-underflow.c: Likewise.
24004 * stdlib/tst-tininess.c: Likewise.
24005 * stdlib/strtod_l.c: Include <tininess.h>.
24006 (round_and_return): Do not set errno for exact underflow cases.
24007 Force an underflow exception when setting errno for underflow.
24008 Determine underflow based on rounding to normal precision if
24009 TININESS_AFTER_ROUNDING.
24010 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24011 ERANGE for exact underflow cases.
24012 * stdlib/Makefile (tests): Add tst-tininess and
24013 tst-strtod-underflow.
24014 ($(objpfx)tst-tininess): Use $(link-libm).
24015 ($(objpfx)tst-strtod-underflow): Likewise.
24016
240172012-10-30 Andreas Jaeger <aj@suse.de>
24018
24019 [BZ#14767]
24020 * elf/Makefile (tests): Remove conditional for have-initfini-array
24021 since this is now always required and the variable does not exist
24022 anymore.
24023 (tests-static): Likewise.
24024 (modules-names): Likewise.
24025
24026 * po/eo.po: Add Esperanto translation from translation project.
24027
24028 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24029 merged with constructor/destructor.
24030 (init_array): Likewise.
24031 * elf/tst-array2dep.c (fini_array): Likewise.
24032 (init_array): Likewise.
24033
240342012-10-29 Mike Frysinger <vapier@gentoo.org>
24035
24036 * manual/message.texi: Delete @cartouche tags.
24037
240382012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24039
24040 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24041 EOPNOTSUPP.
24042 * sysdeps/mach/hurd/fsync.c: Likewise.
24043
24044 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24045 [_POSIX_REALTIME_SIGNALS]: Change condition to
24046 [_POSIX_REALTIME_SIGNALS > 0].
24047
240482012-10-27 Andreas Jaeger <aj@suse.de>
24049
24050 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24051 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24052 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24053 [__WORDSIZE != 64]: Likewise.
24054
240552012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24056
24057 * iconvdata/tst-table.sh: Remove ${SHELL}.
24058 * iconvdata/tst-tables.sh: Likewise.
24059
240602012-10-25 David S. Miller <davem@davemloft.net>
24061
24062 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24063 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24064 of strtoull.
24065
24066 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24067 ifunc-impl-list.c
24068 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24069 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24070 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24071 file.
24072
240732012-10-25 Roland McGrath <roland@hack.frob.com>
24074
24075 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24076 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24077 __getdirentries.
24078
240792012-10-25 Joseph Myers <joseph@codesourcery.com>
24080 Jim Blandy <jimb@codesourcery.com>
24081
24082 * scripts/cross-test-ssh.sh: New file.
24083 * manual/install.texi (Configuring and compiling): Document use of
24084 cross-test-ssh.sh.
24085 * INSTALL: Regenerated.
24086
240872012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24088
24089 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24090 EOPNOTSUPP.
24091
240922012-10-25 Joseph Myers <joseph@codesourcery.com>
24093
24094 * Makeconfig (run-program-prefix): Fix comment.
24095
240962012-10-24 Joseph Myers <joseph@codesourcery.com>
24097 Jim Blandy <jimb@codesourcery.com>
24098
24099 * Makeconfig (test-wrapper): New variable,
24100 (test-wrapper-env): Likewise.
24101 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24102 (run-built-tests): Define to yes.
24103 (run-program-prefix): Use $(test-wrapper).
24104 (built-program-cmd): Likewise.
24105 * Rules (make-test-out): Use $(test-wrapper-env) and
24106 $(host-built-program-cmd).
24107 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24108 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24109 tst-pathopt.sh.
24110 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24111 $(test-wrapper-env) to tst-rtld-load-self.sh.
24112 ($(objpfx)order2.out): Use $(test-wrapper).
24113 ($(objpfx)tst-initorder.out): Likewise.
24114 ($(objpfx)tst-initorder2.out): Likewise.
24115 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24116 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24117 (test_wrapper_env): New variable. Use it to run ld.so.
24118 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24119 Use it to run ld.so.
24120 (test_wrapper_env): Likewise.
24121 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24122 $(test-wrapper) to run-iconv-test.sh.
24123 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24124 (ICONV): Use $test_wrapper.
24125 * posix/Makefile ($(objpfx)globtest.out): Pass
24126 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24127 globtest.sh, not $(run-program-prefix).
24128 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24129 (test_wrapper): Likewise.
24130 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24131 set together with run_via_rtld_prefix.
24132 (run_program_prefix): Define in terms of test_wrapper and
24133 run_via_rtld_prefix.
24134
241352012-10-24 Roland McGrath <roland@hack.frob.com>
24136
24137 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24138 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24139 Targets removed.
24140
24141 [BZ #14743]
24142 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24143 Declare __clock_getres, __clock_gettime, __clock_settime,
24144 __clock_nanosleep, and __clock_getcpuclockid.
24145 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24146 Remove librt_hidden_def (clock_gettime).
24147 * sysdeps/unix/clock_gettime.c: Likewise.
24148 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24149 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24150 * rt/clock_getres.c: Define __clock_getres as an alias.
24151 * sysdeps/posix/clock_getres.c: Likewise.
24152 * rt/clock_settime.c: Define __clock_settime as an alias.
24153 * sysdeps/unix/clock_settime.c: Likewise.
24154 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24155 * sysdeps/unix/clock_nanosleep.c: Likewise.
24156 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24157 * rt/clock-compat.c: New file.
24158 * rt/Makefile (librt-routines): Add clock-compat and move
24159 $(clock-routines) to ...
24160 (routines): ... here, new variable.
24161 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24162 Don't add get_clockfreq here.
24163 * rt/Versions (libc: GLIBC_2.17): New version set.
24164 Add clock_* symbols here.
24165 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24166 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24167 (GLIBC_2.17): Add clock_* symbols.
24168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24170 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24172 Likewise.
24173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24174 Likewise.
24175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24179 * NEWS: Mention the move.
24180
24181 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24182 Use __open, __read, __close rather than their public counterparts.
24183 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24184 (__get_clockfreq_via_cpuinfo): Likewise.
24185 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24186 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24187
24188 * config.h.in (HAVE_IFUNC): New #undef.
24189 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24190 was successful.
24191 * configure: Regenerated.
24192
241932012-10-24 Mike Frysinger <vapier@gentoo.org>
24194
24195 * configure.in: Move READELF check to start of file.
24196 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24197 libc_cv_asm_gnu_indirect_function in the process.
24198 * configure: Regenerated.
24199
242002012-10-24 Mike Frysinger <vapier@gentoo.org>
24201
24202 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24203 send the output to /dev/null.
24204 (libc_cv_cc_with_libunwind): Likewise.
24205 (libc_cv_as_noexecstack): Likewise.
24206 * configure: Regenerate.
24207
242082012-10-24 Joseph Myers <joseph@codesourcery.com>
24209
24210 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24211
24212 * posix/globtest.sh (TMPDIR): Do not set.
24213 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24214 (testout): Likewise.
24215
242162012-10-24 Andreas Jaeger <aj@suse.de>
24217
24218 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24219 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24220 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24221 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24222 posix_fadvise64, posix_fallocate64.
24223
24224 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24225 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24226 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24227 Likewise.
24228 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24229 Likewise.
24230 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24231
24232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24233 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24234 <bits/fcntl-linux.h>.
24235 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24236
24237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24238 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24239 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24240 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24241 [__WORDSIZE != 64]: Likewise.
24242
242432012-10-23 Joseph Myers <joseph@codesourcery.com>
24244
24245 * Makeconfig (run-built-tests): New variable.
24246 * Rules [$(cross-compiling) = yes]: Change condition to
24247 [$(run-built-tests) = no].
24248 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24249 to [$(run-built-tests) = yes].
24250 * elf/Makefile [$(cross-compiling) = no]: Likewise
24251 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24252 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24253 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24254 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24255 * io/Makefile [$(cross-compiling) = no]: Likewise.
24256 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24257 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24258 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24259 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24260 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24261 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24262 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24263 * string/Makefile [$(cross-compiling) = no]: Likewise.
24264
24265 * posix/Makefile ($(objpfx)globtest.out): Pass
24266 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24267 $(rtld-installed-name).
24268 * posix/globtest.sh (elf_objpfx): Remove variable.
24269 (rtld_installed_name): Likewise.
24270 (library_path): Likewise.
24271 (run_program_prefix): New variable. Use for running globtest
24272 binary.
24273
242742012-10-23 Jim Blandy <jimb@codesourcery.com>
24275 Joseph Myers <joseph@codesourcery.com>
24276
24277 * Makeconfig (host-built-program-cmd): New variable.
24278 * elf/Makefile (tst-stackguard1-ARGS): Use
24279 $(host-built-program-cmd).
24280 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24281 (tst-spawn-ARGS): Likewise.
24282 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24283
242842012-10-23 Joseph Myers <joseph@codesourcery.com>
24285 Jim Blandy <jimb@codesourcery.com>
24286
24287 * Makeconfig (run-via-rtld-prefix): New variable.
24288 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24289 (built-program-cmd): Likewise.
24290
242912012-10-22 Andreas Jaeger <aj@suse.de>
24292
24293 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24294 __O_RSYNC if it exists, otherwise to O_SYNC.
24295
242962012-10-22 Jim Blandy <jimb@codesourcery.com>
24297 Joseph Myers <joseph@codesourcery.com>
24298
24299 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24300 /dev/null.
24301 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24302 from /dev/null
24303 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24304 /dev/null.
24305
243062012-10-22 Andreas Jaeger <aj@suse.de>
24307
24308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24309 Define always.
24310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24311
24312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24313 bits/fcntl-linux.h.
24314
24315 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24316 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24317
24318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24319 to __O_LARGEFILE.
24320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24321 to __O_LARGEFILE.
24322
243232012-10-21 Jim Blandy <jimb@codesourcery.com>
24324 Joseph Myers <joseph@codesourcery.com>
24325
24326 * config.make.in (NM): New variable.
24327
243282012-10-21 Andreas Jaeger <aj@suse.de>
24329
24330 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24331 definitions and declarations that are provided by
24332 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24333
243342012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24335
24336 [BZ #14683]
24337 * elf/Makefile (tests-static): Add tst-leaks1-static.
24338 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24339 ($(objpfx)tst-leaks1-static): New rule.
24340 ($(objpfx)tst-leaks1-static-mem): Likewise.
24341 (tst-leaks1-static-ENV): New macro.
24342 * elf/dl-open.c (dl_open_worker): Check the main application
24343 only if SHARED is defined.
24344 * elf/tst-leaks1-static.c: New file.
24345
243462012-10-20 Andreas Jaeger <aj@suse.de>
24347
24348 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24349 generic values for Linux.
24350 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24351 and declarations that are provided by <bits/fcntl-linux.h> and
24352 include <bits/fcntl-linux.h>.
24353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24355
243562012-10-20 Roland McGrath <roland@hack.frob.com>
24357
24358 * io/fcntl.h: Move include of <bits/types.h> to the top and
24359 include it unconditionally.
24360
243612012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24362
24363 * wcsmbs/Makefile (tests-ifunc): New variable.
24364 (tests): Add $(tests-ifunc).
24365 * wcsmbs/test-wcschr-ifunc.c: New file.
24366 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24367 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24368 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24369 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24370 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24371
24372 * string/Makefile (tests-ifunc): New variable.
24373 (tests): Add $(tests-ifunc).
24374 * string/test-memccpy.c (TEST_NAME): New macro.
24375 * string/test-memchr.c (TEST_NAME): Likewise.
24376 * string/test-memcmp.c (TEST_NAME): Likewise.
24377 * string/test-memcpy.c (TEST_NAME): Likewise.
24378 * string/test-memmem.c (TEST_NAME): Likewise.
24379 * string/test-memmove.c (TEST_NAME): Likewise.
24380 * string/test-memset.c (TEST_NAME): Likewise.
24381 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24382 * string/test-stpcpy.c (TEST_NAME): Likewise.
24383 * string/test-stpncpy.c (TEST_NAME): Likewise.
24384 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24385 * string/test-strcasestr.c (TEST_NAME): Likewise.
24386 * string/test-strcat.c (TEST_NAME): Likewise.
24387 * string/test-strchr.c (TEST_NAME): Likewise.
24388 * string/test-strcmp.c(TEST_NAME): Likewise.
24389 * string/test-strcpy.c (TEST_NAME): Likewise.
24390 * string/test-strcspn.c (TEST_NAME): Likewise.
24391 * string/test-strlen.c (TEST_NAME): Likewise.
24392 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24393 * string/test-strncmp.c (TEST_NAME): Likewise.
24394 * string/test-strncpy.c (TEST_NAME): Likewise.
24395 * string/test-strnlen.c (TEST_NAME): Likewise.
24396 * string/test-strpbrk.c (TEST_NAME): Likewise.
24397 * string/test-strrchr.c (TEST_NAME): Likewise.
24398 * string/test-strspn.c (TEST_NAME): Likewise.
24399 * string/test-strstr.c (TEST_NAME): Likewise.
24400 * string/test-bcopy-ifunc.c: New file.
24401 * string/test-bzero-ifunc.c: Likewise.
24402 * string/test-memccpy-ifunc.c: Likewise.
24403 * string/test-memchr-ifunc.c: Likewise.
24404 * string/test-memcmp-ifunc.c: Likewise.
24405 * string/test-memcpy-ifunc.c: Likewise.
24406 * string/test-memmem-ifunc.c: Likewise.
24407 * string/test-memmove-ifunc.c: Likewise.
24408 * string/test-mempcpy-ifunc.c: Likewise.
24409 * string/test-memset-ifunc.c: Likewise.
24410 * string/test-rawmemchr-ifunc.c: Likewise.
24411 * string/test-stpcpy-ifunc.c: Likewise.
24412 * string/test-stpncpy-ifunc.c: Likewise.
24413 * string/test-strcasecmp-ifunc.c: Likewise.
24414 * string/test-strcasestr-ifunc.c: Likewise.
24415 * string/test-strcat-ifunc.c: Likewise.
24416 * string/test-strchr-ifunc.c: Likewise.
24417 * string/test-strchrnul-ifunc.c: Likewise.
24418 * string/test-strcmp-ifunc.c: Likewise.
24419 * string/test-strcpy-ifunc.c: Likewise.
24420 * string/test-strcspn-ifunc.c: Likewise.
24421 * string/test-strlen-ifunc.c: Likewise.
24422 * string/test-strncasecmp-ifunc.c: Likewise.
24423 * string/test-strncat-ifunc.c: Likewise.
24424 * string/test-strncmp-ifunc.c: Likewise.
24425 * string/test-strncpy-ifunc.c: Likewise.
24426 * string/test-strnlen-ifunc.c: Likewise.
24427 * string/test-strpbrk-ifunc.c: Likewise.
24428 * string/test-strrchr-ifunc.c: Likewise.
24429 * string/test-strspn-ifunc.c: Likewise.
24430 * string/test-strstr-ifunc.c: Likewise.
24431
24432 * debug/Makefile (tests-ifunc): New variable.
24433 (tests): Add $(tests-ifunc).
24434 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24435 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24436 * debug/test-stpcpy_chk-ifunc.c: New file.
24437 * debug/test-strcpy_chk-ifunc.c: Likewise.
24438
244392012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24440
24441 [BZ #13601]
24442 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24443 header is not read in.
24444
244452012-10-19 Joseph Myers <joseph@codesourcery.com>
24446
24447 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24448 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24449 directly. Pass built executable to script as
24450 $(built-program-cmd).
24451 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24452 $testprogram without using LD_LIBRARY_PATH and $ldso.
24453
24454 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24455 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24456 $(rtld-installed-name).
24457 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24458 (rtld_installed_name): Likewise.
24459 (library_path): Likewise.
24460 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24461 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24462 $(run-program-prefix) to tst-tables.sh.
24463 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24464 it to run tst-table-from and tst-table-to.
24465 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24466 Pass it to tst-table.sh.
24467 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24468 $(run-program-prefix) to tst-gettext.sh.
24469 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24470 tst-translit.sh.
24471 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24472 tst-gettext2.sh.
24473 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24474 to run tst-gettext.
24475 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24476 to run tst-gettext2.
24477 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24478 to run tst-translit.
24479 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24480 $(run-program-prefix) to tst-mtrace.sh.
24481 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24482 to run tst-mtrace.
24483 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24484 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24485 $(rtld-installed-name).
24486 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24487 (rtld_installed_name): Likewise.
24488 (run_program_prefix): New variable. Use it to run wordexp-test.
24489
24490 * Makeconfig (ARCH): Remove all definitions.
24491 (machine): Likewise.
24492 [ARCH]: Remove conditional code.
24493 [!objdir]: Give error.
24494 [!objdir] (objpfx): Remove.
24495 [!objdir] (common-objpfx): Likewise.
24496 [!objdir] (common-objdir): Likewise.
24497 * configure.in (config_makefile): Remove. Hardcode Makefile in
24498 AC_CONFIG_FILES call.
24499 * configure: Regenerated.
24500
24501 [BZ #13888]
24502 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24503 or TMPDIR.
24504 (testout): Likewise.
24505
24506 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24507 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24508 $(rtld-installed-name).
24509 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24510 (rtld_installed_name): Likwise.
24511 (runit): Remove function.
24512 (run_getconf): New variable, Use it for running getconf binary.
24513
245142012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24515
24516 [BZ #14716]
24517 * string/test-memmem.c (check_result): New function.
24518 (do_one_test): Use it.
24519 (check1): New function.
24520 (test_main): Use it.
24521
245222012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24523
24524 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24525
245262012-10-18 Joseph Myers <joseph@codesourcery.com>
24527
24528 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24529 (_G_LSEEK64): Likewise.
24530 (_G_MMAP64): Likewise.
24531 (_G_FSTAT64): Likewise.
24532 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24533 (_G_LSEEK64): Likewise.
24534 (_G_MMAP64): Likewise.
24535 (_G_FSTAT64): Likewise.
24536 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24537 unconditional. Call __mmap64 directly.
24538 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24539 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24540 __lseek64 directly.
24541 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24542 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24543 __mmap64 directly.
24544 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24545 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24546 __lseek64 directly.
24547 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24548 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24549 __lseek64 directly.
24550 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24551 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24552 __lseek64 directly.
24553 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24554 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24555 __fxstat64 directly.
24556 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24557 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24558 unconditional.
24559 (freopen64) [!_G_OPEN64]: Remove conditional code.
24560 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24561 unconditional.
24562 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24563 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24564 unconditional.
24565 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24566 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24567 unconditional.
24568 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24569 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24570 unconditional.
24571 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24572 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24573 unconditional.
24574 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24575 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24576 unconditional.
24577 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24578 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24579 unconditional.
24580 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24581
245822012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24583
24584 [BZ #12140]
24585 * manual/memory.texi (Malloc Tunable Parameters): Add note
24586 about free list pointers overwriting some perturb bytes.
24587 Wording suggested by Roland McGrath.
24588
245892012-10-17 Joseph Myers <joseph@codesourcery.com>
24590
24591 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24592 (lgamma_test): Likewise.
24593 (tgamma_test): Likewise.
24594
245952012-10-16 Florian Weimer <fweimer@redhat.com>
24596
24597 [BZ #14700]
24598 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24599 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24600
246012012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24602
24603 * NEWS: Mention BZ #14716.
24604 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24605 when removing AVAILABLE1_USES_J macro.
24606
246072012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24608
24609 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24610 (__bswap_64): __uint64_t for unsigned 64-bit int.
24611
246122012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24613
24614 * include/string.h (memmem): Declare libc hidden alias.
24615 * string/memmem.c (memmem): Define libc hidden alias.
24616 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24617 __read, __close instead of open, read, close.
24618
246192012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24620
24621 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24622 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24623 global and hidden.
24624 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24625 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24626 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24627 Likewise.
24628 (__rawmemchr_sse2): Likewise.
24629 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24630 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24631 (__strchr_sse2): Likewise.
24632 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24633 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24634 (__strcasecmp_sse2): Likewise.
24635 (__strncasecmp_sse2): Likewise.
24636 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24637 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24638 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24639 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24640 (__strrchr_sse2): Likewise.
24641 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24642 ifunc-impl-list.c.
24643 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24644 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24645 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24646 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24647 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24648 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24649 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24650 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24651 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24652 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24653 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24654 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24655 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24656 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24657 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24658 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24659 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24660 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24661 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24662 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24663 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24664 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24665 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24666 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24667 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24668 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24669 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24670 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24671 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24672 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24673
24674 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24675 global and hidden.
24676 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24677 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24678 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24679 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24680 Likewise.
24681 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24682 Likewise.
24683 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24684 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24685 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24686 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24687 ifunc-impl-list.c.
24688 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24689 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24690 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24691 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24692 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24693 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24694 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24695 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24696 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24697 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24698 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24699 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24700 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24701 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24702 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24703 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24704 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24705 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24706 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24707 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24708 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24709 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24710 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24711 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24712 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24713 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24714 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24715 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24716 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24717 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24718 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24719 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24720 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24721 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24722 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24723 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24724 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24725 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24726 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24727 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24728 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24729
24730 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24731 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24732 * include/ifunc-impl-list.h: New file.
24733 * misc/ifunc-impl-list.c: Likewise.
24734 * misc/Makefile (routines): Add ifunc-impl-list.
24735 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24736 * string/test-string.h: Include <ifunc-impl-list.h>.
24737 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24738 TEST_NAME]: New variables.
24739 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24740 are defined.
24741 (test_init): Call __libc_ifunc_impl_list to initialize
24742 func_list if TEST_IFUNC and TEST_NAME are defined.
24743
24744 * string/Makefile (strop-tests): Add bcopy and bzero.
24745 * string/test-bcopy.c: New file.
24746 * string/test-bzero.c: Likewise.
24747 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24748 defined.
24749 * string/test-memset.c: Support bzero test if TEST_BZERO is
24750 defined.
24751 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24752 __libc_memmove.
24753 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24754 __libc_memset.
24755 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24756 of memset.
24757
247582012-10-10 Joseph Myers <joseph@codesourcery.com>
24759
24760 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24761 * configure: Regenerated.
24762
24763 * Makeconfig (+link-static-before-libc): Don't include
24764 $(link-static-libc).
24765
24766 * libio/libio.h (_IO_pos_t): Remove.
24767
247682012-10-10 Alexandre Oliva <aoliva@redhat.com>
24769
24770 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24771 McGrath.
24772
247732012-10-10 Alexandre Oliva <aoliva@redhat.com>
24774
24775 * crypt/crypt-entry.c: Include fips-private.h.
24776 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24777 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24778 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24779 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24780
247812012-10-10 Alexandre Oliva <aoliva@redhat.com>
24782
24783 * crypt/crypt-private.h: Include stdbool.h.
24784 (_ufc_setup_salt_r): Return bool.
24785 * crypt/crypt-entry.c: Include errno.h.
24786 (__crypt_r): Return NULL with EINVAL for bad salt.
24787 * crypt/crypt_util.c (bad_for_salt): New.
24788 (_ufc_setup_salt_r): Check that salt is long enough and within
24789 the specified alphabet.
24790 * crypt/badsalttest.c: New file.
24791 * crypt/Makefile (tests): Add it.
24792 ($(objpfx)badsalttest): New.
24793
247942012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24795
24796 * NEWS: Add entry for BZ #14602.
24797
247982012-10-09 Joseph Myers <joseph@codesourcery.com>
24799
24800 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24801 type-generic.
24802 * math/libm-test.inc: Update comment listing what functions and
24803 macros are tested.
24804 (isgreater_test): New function.
24805 (isgreaterequal_test): Likewise.
24806 (isless_test): Likewise.
24807 (islessequal_test): Likewise.
24808 (islessgreater_test): Likewise.
24809 (isunordered_test): Likewise.
24810 (main): Call the new functions.
24811
248122012-10-09 Roland McGrath <roland@hack.frob.com>
24813
24814 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24815 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24816 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24817 * sysdeps/i386/configure: Regenerated.
24818 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24819 * sysdeps/mach/configure: Regenerated.
24820 * sysdeps/mach/hurd/configure: Regenerated.
24821 * sysdeps/powerpc/configure: Regenerated.
24822 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24823 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24824 * sysdeps/s390/s390-32/configure: Regenerated.
24825 * sysdeps/s390/s390-64/configure: Regenerated.
24826 * sysdeps/sh/configure: Regenerated.
24827 * sysdeps/sparc/configure: Regenerated.
24828 * sysdeps/unix/sysv/linux/configure: Regenerated.
24829 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24830 * sysdeps/x86_64/configure: Regenerated.
24831
24832 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24833 defined. Don't check if MAP is NULL.
24834
248352012-10-09 Joseph Myers <joseph@codesourcery.com>
24836
24837 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24838 (_G_stat64): Likewise.
24839 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24840 (_G_stat64): Likewise.
24841 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24842 instead of struct _G_stat64.
24843 * libio/fileops.c (mmap_remap_check): Likewise.
24844 (decide_maybe_mmap): Likewise.
24845 (_IO_new_file_seekoff): Likewise.
24846 (_IO_file_stat): Likewise.
24847 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24848 _G_off64_t.
24849 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24850 instead of struct _G_stat64.
24851 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24852
248532012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24854
24855 [BZ #14602]
24856 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24857 Replace with ...
24858 (CHECK_EOL): New macro.
24859 (two_way_short_needle): Check beginning of haystack for EOL. Use
24860 CHECK_EOL.
24861 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24862 Replace with CHECK_EOL.
24863 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24864 Replace with CHECK_EOL.
24865
248662012-10-08 Joseph Myers <joseph@codesourcery.com>
24867
24868 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24869 type-generic.
24870 * math/libm-test.inc: Update comment listing what functions and
24871 macros are tested.
24872 (finite_test): New function.
24873 (isinf_test): Likewise.
24874 (isnan_test): Likewise.
24875 (fpclassify_test): Test subnormal input.
24876 (isfinite_test): Likewise.
24877 (isnormal_test): Likewise.
24878 (main): Call the new functions.
24879
248802012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24881
24882 [BZ #14660]
24883 * Makerules (%.dynsym): Force C locale when running
24884 $(OBJDUMP) --dynamic-syms.
24885
248862012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24887
24888 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24889 <stdint.h>.
24890
248912012-10-06 David S. Miller <davem@davemloft.net>
24892
24893 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24894 upper 32-bits of the length value in %o2 since we use branch-on-register
24895 tests which consider the entire 64-bit register.
24896
248972012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24898
24899 * string/test-strstr.c (check2): Add a test for page boundary.
24900
249012012-10-05 David S. Miller <davem@davemloft.net>
24902
24903 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24904 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24905 file.
24906 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24907 sysdep_routines.
24908 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24909 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24910 and bzero when HWCAP_SPARC_CRYPTO is present.
24911
249122012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24913
24914 [BZ #14602]
24915 * string/test-strstr.c (check2): New function.
24916 (test_main): Call check2.
24917
24918 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24919 and bug-strchr1.
24920 * string/bug-strcasestr1.c (do_test): Moved to ...
24921 * string/test-strcasestr.c (check1): Here. New function.
24922 (do_one_test): Break out result checking code into ...
24923 (check_result): This. New function.
24924 (do_one_test): Call check_result.
24925 (test_main): Call check1.
24926 * string/bug-strchr1.c (do_test): Moved to ...
24927 * string/test-strchr.c (check1): Here. New function.
24928 (do_one_test): Break out result checking code into ...
24929 (check_result): This. New function.
24930 (do_one_test): Call check_result.
24931 (test_main): Call check1.
24932 * string/bug-strstr1.c (main): Moved to ...
24933 * string/test-strstr.c (check1): Here. New function.
24934 (do_one_test): Break out result checking code into ...
24935 (check_result): This. New function.
24936 (do_one_test): Call check_result.
24937 (test_main): Call check1.
24938 * string/bug-strcasestr1.c: Removed.
24939 * string/bug-strchr1.c: Likewise.
24940 * string/bug-strstr1.c: Likewise.
24941
24942 * elf/Makefile (dl-routines): Add hwcaps.
24943 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24944 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24945 (_dl_important_hwcaps): Moved to ...
24946 * elf/dl-hwcaps.c: Here. New file.
24947 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24948
24949 [BZ #14557]
24950 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24951 if IS_IN_rtld isn't defined.
24952
24953 * elf/dl-support.c (_dl_sysinfo_map): New.
24954 Include "get-dynamic-info.h" and "setup-vdso.h".
24955 (_dl_non_dynamic_init): Call setup_vdso.
24956 * elf/dynamic-link.h: Don't include <assert.h>.
24957 (elf_get_dynamic_info): Moved to ...
24958 * elf/get-dynamic-info.h: Here. New file.
24959 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24960 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24961 * elf/setup-vdso.h: Here. New file.
24962 * elf/rtld.c: Include "setup-vdso.h".
24963 (dl_main): Call setup_vdso.
24964
249652012-10-05 Joseph Myers <joseph@codesourcery.com>
24966
24967 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24968 creal in comment listing functions tested. List finite, isinf,
24969 isnan, isless, islessequal, isgreater, isgreaterequal,
24970 islessgreater, isunordered, lgamma_r and pow10 as functions and
24971 macros not tested. Mention which functions not tested are aliases
24972 for other functions. Fix typo. Note that signs of NaNs are not
24973 tested.
24974
24975 * scripts/config.guess: Update from config.git.
24976 * scripts/config.sub: Likewise.
24977
249782012-10-04 Roland McGrath <roland@hack.frob.com>
24979
24980 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24981 * misc/madvise.c (madvise): Renamed to __madvise.
24982 Make madvise a weak alias.
24983 * include/sys/mman.h: Declare __madvise.
24984 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24985 * sysdeps/unix/syscalls.list
24986 (madvise): Make __madvise the strong name, and madvise a weak alias.
24987 * sysdeps/unix/sysv/linux/syscalls.list
24988 (madvise, mmap): Remove redundant entries.
24989 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24990 * malloc/malloc.c (mtrim): Likewise.
24991 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24992
249932012-10-03 Roland McGrath <roland@hack.frob.com>
24994
24995 * sysdeps/mach/hurd/dl-cache.c: File removed.
24996 * config.h.in (USE_LDCONFIG): New #undef.
24997 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24998 * configure: Regenerated.
24999 * elf/Makefile (dl-routines): Add dl-cache only under
25000 [$(use-ldconfig) = yes].
25001 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25002 cache on [USE_LDCONFIG].
25003 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25004 [USE_LDCONFIG].
25005 * elf/rtld.c (dl_main): Likewise.
25006
250072012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25008
25009 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25010 _SC_LEVEL4_CACHE_LINESIZE.
25011
250122012-10-03 Roland McGrath <roland@hack.frob.com>
25013
25014 * sysdeps/unix/bsd/confstr.h: File removed.
25015
250162012-10-02 Alexandre Oliva <aoliva@redhat.com>
25017
25018 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25019 sys/sdt-config.h.
25020
250212012-10-02 Roland McGrath <roland@hack.frob.com>
25022
25023 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25024 Make 'mapoff' field ElfW(Off) rather than off_t.
25025
250262012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25027
25028 * nscd/Makefile: Remove nscd-cflags and all its users.
25029 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25030 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25031
25032 [BZ #10631]
25033 * malloc.c (malloc_printerr): Clarify error message.
25034
250352012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25036
25037 [BZ #14648]
25038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25039 Set bit_FMA_Usable if FMA is supported.
25040 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25041 macro.
25042 (bit_FMA4_Usable): Updated.
25043 (index_FMA_Usable): New macro.
25044 (CPUID_FMA): Likewise
25045 (HAS_FMA): Defined with bit_FMA_Usable.
25046
250472012-10-01 Roland McGrath <roland@hack.frob.com>
25048
25049 * bits/types.h (__swblk_t): Type removed.
25050 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25051 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25052 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25053 (__SWBLK_T_TYPE): Likewise.
25054 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25055 (__SWBLK_T_TYPE): Likewise.
25056 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25057 (__SWBLK_T_TYPE): Likewise.
25058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25059 (__SWBLK_T_TYPE): Likewise.
25060
250612012-10-01 Patsy Franklin <pfrankli@redhat.com>
25062 Honza Horak <hhorak@redhat.com>
25063
25064 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25065 (xdr_mapname): Use YPMAXMAP as maxsize.
25066 (xdr_peername): Use YPMAXPEER as maxsize.
25067 (xdr_keydat): Use YPAXRECORD as maxsize.
25068 (xdr_valdat): Use YPMAXRECORD as maxsize.
25069
250702012-10-01 Roland McGrath <roland@hack.frob.com>
25071
25072 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25073
25074 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25075 * csu/init-first.c: ... here.
25076 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25077 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25078 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25079 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25080 * sysdeps/i386/init-first.c: File removed.
25081 * sysdeps/sh/init-first.c: File removed.
25082
250832012-10-01 Joseph Myers <joseph@codesourcery.com>
25084
25085 [BZ #14645]
25086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25087 if x * y might underflow to zero and z is zero.
25088 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25089 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25090 * math/libm-test.inc (min_subnorm_value): New variable.
25091 (fma_test): Add more tests.
25092 (fma_test_towardzero): Likewise.
25093 (fma_test_downward): Likewise
25094 (fma_test_upward): Likewise.
25095 (initialize): Set min_subnorm_value.
25096
250972012-09-29 Joseph Myers <joseph@codesourcery.com>
25098
25099 [BZ #14638]
25100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25101 0 + 0.
25102 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25103 mode for addition resulting in exact zero.
25104 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25105 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25106 exact 0 + 0.
25107 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25108 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25109 * math/libm-test.inc (fma_test): Add more tests.
25110 (fma_test_towardzero): New function.
25111 (fma_test_downward): Likewise.
25112 (fma_test_upward): Likewise.
25113 (main): Call the new functions.
25114
251152012-09-28 David S. Miller <davem@davemloft.net>
25116
25117 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25118
251192012-09-28 Roland McGrath <roland@hack.frob.com>
25120
25121 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25122 instead of SIGALRM.
25123
25124 * sysdeps/gnu/_G_config.h: Moved to ...
25125 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25126 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25127 * sysdeps/generic/_G_config.h: ... here.
25128
25129 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25130
25131 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25132
25133 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25134 Conditionalize target on [libnss_test1.so-version].
25135
25136 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25137
25138 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25139 (elfobjdir): Move out of conditionals.
25140
25141 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25142 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25143 (__nss_lookup_function): Conditionalize label remove_from_tree on
25144 [!DO_STATIC_NSS || SHARED], matching its only use.
25145
251462012-09-28 David S. Miller <davem@davemloft.net>
25147
25148 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25149 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25150 file.
25151 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25152 sysdep_routines.
25153 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25154 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25155 when HWCAP_SPARC_CRYPTO is present.
25156
251572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25158
25159 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25160
251612012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25162
25163 [BZ #6530]
25164 * stdio-common/vfprintf.c (process_string_arg): Revert
25165 2000-07-22 change.
25166
251672011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25168
25169 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25170 for testcase.
25171 * stdio-common/tst-sprintf.c: Include <locale.h>
25172 (main): Test sprintf's handling of incomplete multibyte
25173 characters.
25174
251752012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25176
25177 * elf/dl-runtime.c (VERSYMIDX): Removed.
25178 * elf/dl-version.c (VERSYMIDX): Likewise.
25179 * elf/do-rel.h (VERSYMIDX): Likewise.
25180 (VALIDX): Likewise.
25181 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25182 * elf/rtld.c (VALIDX): Likewise.
25183 (ADDRIDX): Likewise.
25184 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25185 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25186 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25187 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25188 (VALIDX): Likewise.
25189 (ADDRIDX): Likewise.
25190
251912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25192
25193 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25194
251952012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25196
25197 [BZ #11438]
25198 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25199 to global scope.
25200 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25201 addresses are in the same scope as 192.0.2/24.
25202 * posix/gai.conf: Document new scope table defaults.
25203
252042012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25205
25206 [BZ #5298]
25207 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25208 for ftell. Compute offsets from write pointers instead.
25209 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25210
252112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25212
25213 [BZ #14543]
25214 * libio/Makefile (tests): New test case tst-fseek.
25215 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25216 combination works in wide mode.
25217 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25218 state when the external buffer state changes.
25219
252202012-09-27 David S. Miller <davem@davemloft.net>
25221
25222 [BZ #14376]
25223 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25224 pass reloc->r_addend in as the 'high' argument to
25225 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25226
25227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25228
252292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25230
25231 * rt/tst-aio2.c: Include <pthread.h>.
25232 * rt/tst-aio3.c: Likewise.
25233
252342012-09-27 Steve Ellcey <sellcey@mips.com>
25235
25236 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25237
252382012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25239
25240 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25241 contents on [SHARED].
25242
252432012-09-26 Marek Polacek <polacek@redhat.com>
25244
25245 [BZ #14530]
25246 [BZ #13741]
25247 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25248 for C++ and GCC <4.3 as well as for non GCC compilers.
25249
252502012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25251
25252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25253
252542012-09-25 Roland McGrath <roland@hack.frob.com>
25255
25256 * Makefile.in (all, install): Declare with .PHONY.
25257 Reported by Michael Hope <michael.hope@linaro.org>.
25258
252592012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25260
25261 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25262 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25263 system header.
25264 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25265 Likewise.
25266 (sydep_routines): Add the new and the internal functions.
25267 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25268 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25270 (GLIBC_2.17): Add the new function.
25271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25272 (GLIBC_2.17): Likewise.
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25274 (GLIBC_2.17): Likewise.
25275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25276 (GLIBC_2.17): Likewise.
25277 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25278
252792012-09-25 Alan Modra <amodra@gmail.com>
25280
25281 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25282 Add release barrier before setting once_control to say
25283 initialisation is done. Add hints on lwarx. Use macro in
25284 place of isync.
25285 (clear_once_control): Add release barrier.
25286
252872012-09-25 Joseph Myers <joseph@codesourcery.com>
25288
25289 [BZ #13629]
25290 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25291 specially.
25292 * math/s_clog10.c (__clog10): Likewise.
25293 * math/s_clog10f.c (__clog10f): Likewise.
25294 * math/s_clog10l.c (__clog10l): Likewise.
25295 * math/s_clogf.c (__clogf): Likewise.
25296 * math/s_clogl.c (__clogl): Likewise.
25297 * math/Makefile (libm-calls): Add x2y2m1.
25298 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25299 (__x2y2m1): Likewise.
25300 (__x2y2m1l): Likewise.
25301 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25302 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25303 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25304 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25305 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25306 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25307 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25308 * sysdeps/i386/fpu/libm-test-ulps: Update.
25309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25310
25311 [BZ #14621]
25312 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25313 int as type of variable DEPTH.
25314 (glob): Use size_t instead of int as type of variables NEWCOUNT
25315 and OLD_PATHC.
25316
253172012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25318
25319 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25320 Add s_sincosf-sse2.
25321 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25322 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25323 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25324 macros for using routine as __sincosf_ia32.
25325 Use macro for function declaration and weak_alias.
25326 * sysdeps/i386/fpu/libm-test-ulps: Update.
25327
25328 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25330
25331 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25332 subnormal argument.
25333 * math/s_cexpf.c (__cexpf): Likewise.
25334 * math/s_csinf.c (__csinf): Likewise.
25335 * math/s_csinhf.c (__csinhf): Likewise.
25336 * math/s_ctanf.c (__ctanf): Likewise.
25337 * math/s_ctanhf.c (__ctanhf): Likewise.
25338 * math/s_ccosh.c (__ccoshf): Likewise.
25339 * math/s_cexp.c (__cexpl): Likewise.
25340 * math/s_csin.c (__csin): Likewise.
25341 * math/s_csinh.c (__csinh): Likewise.
25342 * math/s_ctan.c (__ctan): Likewise.
25343 * math/s_ctanh.c (ctanh): Likewise.
25344 * math/s_ccoshl.c (__ccoshl): Likewise.
25345 * math/s_cexpl.c (__cexpl): Likewise.
25346 * math/s_csinl.c (__csinl): Likewise.
25347 * math/s_csinhl.c (__csinhl): Likewise.
25348 * math/s_ctanl.c (__ctanl): Likewise.
25349 * math/s_ctanhl.c (__ctanhl): Likewise.
25350
253512012-09-25 Joseph Myers <joseph@codesourcery.com>
25352
25353 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25354 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25355 (_IO_off_t): Define to __off_t, not _G_off_t.
25356 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25357 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25358 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25359 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25360 type of __dummy and __dummy2 fields.
25361 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25362 (_G_ssize_t): Likewise.
25363 (_G_off_t): Likewise.
25364 (_G_pid_t): Likewise.
25365 (_G_uid_t): Likewise.
25366 (_G_wchar_t): Likewise.
25367 (_G_wint_t): Likewise.
25368 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25369 (_G_ssize_t): Likewise.
25370 (_G_off_t): Likewise.
25371 (_G_pid_t): Likewise.
25372 (_G_uid_t): Likewise.
25373 (_G_wchar_t): Likewise.
25374 (_G_wint_t): Likewise.
25375 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25376 (_G_ssize_t): Likewise.
25377 (_G_off_t): Likewise.
25378 (_G_pid_t): Likewise.
25379 (_G_uid_t): Likewise.
25380 (_G_wchar_t): Likewise.
25381 (_G_wint_t): Likewise.
25382
253832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25384
25385 * malloc/arena.c: Include malloc-sysdep.h.
25386 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25387 is sufficient to shrink the heap or an unmap is needed.
25388 * sysdeps/generic/malloc-sysdep.h: New file. Define
25389 new function check_may_shrink_heap.
25390 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25391 new function check_may_shrink_heap.
25392
253932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25394
25395 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25396 comments.
25397
253982012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25399
25400 * catgets/test-gencat.sh: Add "set -e".
25401 * elf/tst-pathopt.sh: Likewise.
25402 * grp/tst_fgetgrent.sh: Likewise.
25403 * iconvdata/run-iconv-test.sh: Likewise.
25404 * intl/tst-gettext.sh: Likewise.
25405 * intl/tst-gettext2.sh: Likewise.
25406 * intl/tst-gettext4.sh: Likewise.
25407 * intl/tst-gettext6.sh: Likewise.
25408 * intl/tst-translit.sh: Likewise.
25409 * io/ftwtest-sh: Likewise.
25410 * libio/test-freopen.sh: Likewise.
25411 * malloc/tst-mtrace.sh: Likewise.
25412 * posix/globtest.sh: Likewise.
25413 * posix/tst-getconf.sh: Likewise.
25414 * posix/wordexp-tst.sh: Likewise.
25415 * stdio-common/tst-printf.sh: Likewise.
25416 * stdio-common/tst-unbputc.sh: Likewise.
25417 * stdlib/tst-fmtmsg.sh: Likewise.
25418 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25419 * catgets/Makefile: Do not specify -e option when running
25420 testsuite shell scripts.
25421 * elf/Makefile: Likewise.
25422 * grp/Makefile: Likewise.
25423 * iconvdata/Makefile: Likewise.
25424 * intl/Makefile: Likewise.
25425 * io/Makefile: Likewise.
25426 * libio/Makefile: Likewise.
25427 * malloc/Makefile: Likewise.
25428 * posix/Makefile: Likewise.
25429 * stdio-common/Makefile: Likewise.
25430 * stdlib/Makefile: Likewise.
25431 * sysdeps/x86_64/Makefile: Likewise.
25432
25433 * io/ftwtest-sh: Add copyright header.
25434 * posix/globtest.sh: Likewise.
25435 * posix/tst-getconf.sh: Likewise.
25436 * posix/wordexp-tst.sh: Likewise.
25437 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25438
254392012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25440
25441 [BZ #13679]
25442 * Makeconfig (+link): Defined as $(+link-static) if
25443 $(build-shared) isn't yes.
25444 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25445 isn't yes.
25446 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25447
25448 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25449
25450 [BZ #14562]
25451 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25452 new chunk size with MALLOC_ALIGN_MASK.
25453
254542012-09-24 Joseph Myers <joseph@codesourcery.com>
25455
25456 [BZ #5044]
25457 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25458 <rounding-mode.h>.
25459 (__printf_fphex): Determine rounding using get_rounding_mode and
25460 round_away.
25461 * stdio-common/tst-printf-round.c (struct hex_test): New
25462 structure.
25463 (hex_tests): New variable.
25464 (test_hex_in_one_mode): New function.
25465 (do_test): Also run tests for hex float output.
25466
254672012-09-21 Joseph Myers <joseph@codesourcery.com>
25468
25469 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25470 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25471 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25472 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25473 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25474 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25475 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25476 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25477
254782012-09-20 Joseph Myers <joseph@codesourcery.com>
25479
25480 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25481 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25482 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25483 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25484
254852012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25486
25487 [BZ #14579]
25488 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25489 mode only.
25490 * elf/tst-rtld-load-self.sh: New test.
25491 * elf/Makefile: Run it.
25492
254932012-09-18 Joseph Myers <joseph@codesourcery.com>
25494
25495 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25496 (tst-writev-ENV): Remove.
25497 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25498
254992012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25500
25501 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25502
255032012-09-17 Joseph Myers <joseph@codesourcery.com>
25504
25505 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25506 unconditional.
25507 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25508 Likewise.
25509 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25510 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25511 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25512 Likewise.
25513
255142012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25515
25516 [BZ #14587]
25517 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25518 * config.make.in (have-cpp-asm-debuginfo): Removed.
25519 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25520 * configure: Regenerated.
25521
255222012-09-14 Joseph Myers <joseph@codesourcery.com>
25523
25524 [BZ #5044]
25525 * stdio-common/printf_fp.c: Include <stdbool.h> and
25526 <rounding-mode.h>.
25527 (___printf_fp): Determine rounding using get_rounding_mode and
25528 round_away.
25529 * stdio-common/tst-printf-round.c: New file.
25530 * stdio-common/Makefile (tests): Add tst-printf-round.
25531 (link-libm): New variable.
25532 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25533
255342012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25535
25536 [BZ #14576]
25537 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25538 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25539 Likewise.
25540 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25541 Likewise.
25542
255432012-09-13 Joseph Myers <joseph@codesourcery.com>
25544
25545 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25546 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25547 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25548 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25549
255502012-09-12 Joseph Myers <joseph@codesourcery.com>
25551
25552 [BZ #14518]
25553 * include/rounding-mode.h: New file.
25554 * sysdeps/generic/get-rounding-mode.h: Likewise.
25555 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25556 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25557 (MAX_VALUE): New macro.
25558 (MIN_VALUE): Likewise.
25559 (overflow_value): New function.
25560 (underflow_value): Likewise.
25561 (round_and_return): Use overflow_value and underflow_value to
25562 determine return values in overflow and underflow cases. Use
25563 round_away to determine rounding depending on rounding mode.
25564 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25565 determine return values in overflow and underflow cases.
25566 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25567 (struct test_results): New structure.
25568 (struct test): Use struct test_results to store expected results
25569 for all rounding modes.
25570 (TEST): Include expected results for all rounding modes.
25571 (test_in_one_mode): New function.
25572 (do_test): Use test_in_one_mode to compute and check results.
25573 Check results for all rounding modes.
25574 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25575 $(link-libm).
25576
255772012-12-09 Allan McRae <allan@archlinux.org>
25578
25579 * sysdeps/i386/fpu/libm-test-ulps: Update
25580
255812012-09-11 Joseph Myers <joseph@codesourcery.com>
25582
25583 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25584 (_G_int32_t): Likewise.
25585 (_G_uint16_t): Likewise.
25586 (_G_uint32_t): Likewise.
25587 (_G_HAVE_BOOL): Likewise.
25588 (_G_HAVE_ATEXIT): Likewise.
25589 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25590 (_G_HAVE_IO_FILE_OPEN): Likewise.
25591 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25592 (_G_int32_t): Likewise.
25593 (_G_uint16_t): Likewise.
25594 (_G_uint32_t): Likewise.
25595 (_G_HAVE_BOOL): Likewise.
25596 (_G_HAVE_ATEXIT): Likewise.
25597 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25598 (_G_HAVE_IO_FILE_OPEN): Likewise.
25599 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25600 (_G_int32_t): Likewise.
25601 (_G_uint16_t): Likewise.
25602 (_G_uint32_t): Likewise.
25603 (_G_HAVE_BOOL): Likewise.
25604 (_G_HAVE_ATEXIT): Likewise.
25605 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25606 (_G_HAVE_IO_FILE_OPEN): Likewise.
25607
256082012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25609
25610 * csu/libc-tls.c: Update copyright years.
25611
256122012-09-10 Joseph Myers <joseph@codesourcery.com>
25613
25614 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25615 [!_G_USING_THUNKS]: Remove conditional code.
25616 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25617 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25618
25619 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25620 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25621 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25622 (_G_VTABLE_LABEL_PREFIX): Likewise.
25623 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25624 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25625 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25626 (_G_VTABLE_LABEL_PREFIX): Likewise.
25627 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25628 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25629 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25630 (_G_VTABLE_LABEL_PREFIX): Likewise.
25631 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25632
256332012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25634
25635 * libio/Makefile: Include ../Makeconfig before tests.
25636 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25637 only if $(build-shared) is yes.
25638
25639 * iconv/gconv_db.c: Update copyright years.
25640
256412012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25642
25643 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25644 unwind info if defined PIC. Fix special cases description.
25645 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25646
25647 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25648 DP_HI_MASK entry.
25649 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25650
256512012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25652
25653 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25654
25655 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25656 is NULL.
25657
25658 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25659 (LDLIBS-tst-chk4): This.
25660 (LDFLAGS-tst-chk5): Renamed to ...
25661 (LDLIBS-tst-chk5): This.
25662 (LDFLAGS-tst-chk6): Renamed to ...
25663 (LDLIBS-tst-chk6): This.
25664 (LDFLAGS-tst-lfschk4): Renamed to ...
25665 (LDLIBS-tst-lfschk4): This.
25666 (LDFLAGS-tst-lfschk5): Renamed to ...
25667 (LDLIBS-tst-lfschk5): This.
25668 (LDFLAGS-tst-lfschk6): Renamed to ...
25669 (LDLIBS-tst-lfschk6): This.
25670
25671 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25672 on $(common-objpfx)soversions.mk.
25673
256742012-09-07 Joseph Myers <joseph@codesourcery.com>
25675
25676 [BZ #10014]
25677 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25678 example host name.
25679
256802012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25681
25682 * malloc/arena.c (arena_get_retry): New function that gets
25683 another arena for the caller to try its request on.
25684 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25685 current arena cannot fulfill the request.
25686 (__libc_memalign): Likewise.
25687 (__libc_memalign): Likewise.
25688 (__libc_pvalloc): Likewise.
25689 (__libc_calloc): Likewise.
25690
256912012-09-05 John Tobey <john.tobey@gmail.com>
25692
25693 [BZ #13542]
25694 * manual/arith.texi (Operations on Complex): Fix description
25695 of carg branch cut.
25696
256972012-09-06 Joseph Myers <joseph@codesourcery.com>
25698
25699 [BZ #10014]
25700 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25701 host name.
25702
25703 [BZ #10038]
25704 * manual/memory.texi (Memory): Make order of menu items match
25705 order of sections.
25706
257072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25708
25709 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25710 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25711 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25712
257132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25714
25715 * csu/libc-tls.c (static_dtv): Renamed to ...
25716 (_dl_static_dtv): This. Make it global.
25717 (_dl_initial_dtv): Removed.
25718 (__libc_setup_tls): Updated.
25719 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25720 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25721 DL_INITIAL_DTV.
25722
257232012-09-06 Petr Machata <pmachata@redhat.com>
25724
25725 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25726 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25727 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25728 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25729
257302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25731
25732 [BZ #14545]
25733 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25734 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25735 freeing dtv[-1].
25736
257372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25738
25739 [BZ #14544]
25740 * Makeconfig (link-static-before-libc): Replace $(+prector)
25741 with $(+prectorT).
25742 (link-static-after-libc): Replace $(+postctor) with
25743 $(+postctorT).
25744 (link-bounded): Replace $(+prector)/$(+postctor) with
25745 $(+prectorT)/$(+postctorT).
25746 (+prectorT): New macro.
25747 (+postctorT): Likewise.
25748
257492012-09-06 Joseph Myers <joseph@codesourcery.com>
25750
25751 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25752 (round_str): Handle values above the maximum for IBM long double
25753 as inexact.
25754 * stdlib/tst-strtod-round.c (tests): Regenerated.
25755
257562012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25757
25758 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25759 assembler flag.
25760 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25761 zarch_nohighgprs around the zarch optimized routines.
25762 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25763 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25764 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25765 for zarch.
25766
257672012-09-05 David S. Miller <davem@davemloft.net>
25768
25769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25770
25771 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25772 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25773 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25774 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25775 entries.
25776
257772012-09-05 Alexandre Oliva <aoliva@redhat.com>
25778
25779 * malloc/arena.c: Fold copyright years.
25780 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25781
257822012-09-05 Alexandre Oliva <aoliva@redhat.com>
25783
25784 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25785
257862012-09-05 Alexandre Oliva <aoliva@redhat.com>
25787
25788 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25789
257902012-09-05 Alexandre Oliva <aoliva@redhat.com>
25791
25792 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25793 change internal state upon failure.
25794
257952012-09-05 Alexandre Oliva <aoliva@redhat.com>
25796
25797 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25798 * malloc/memusage.c (mmap): Likewise.
25799 (mmap64, mremap): Likewise. Adjust name in comment.
25800
258012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25802
25803 * libio/fileops.c: Fix typos in comments.
25804 * libio/oldfileops.c: Likewise.
25805 * libio/wfileops.c: Likewise.
25806
258072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25808
25809 [BZ #1349]
25810 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25811 (tst-malloc-usable-ENV): Set environment for test case.
25812 * malloc/hooks.c (malloc_check_get_size): New function to get
25813 requested size.
25814 * malloc/malloc.c (musable): Use malloc_check_get_size.
25815 * malloc/tst-malloc-usable.c: New test case.
25816
258172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25818
25819 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25820
258212012-09-05 Allan McRae <allan@archlinux.org>
25822
25823 [BZ #13966]
25824 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25825 determine header location.
25826 * configure: Regenerated.
25827
258282012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25829
25830 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25831 float format.
25832 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25833 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25834 format.
25835 (test): Regenerate.
25836
258372012-09-04 David S. Miller <davem@davemloft.net>
25838
25839 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25840 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25841 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25842
258432012-09-04 Florian Weimer <fweimer@redhat.com>
25844
25845 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25846 failures.
25847
25848 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25849
258502012-09-04 Joseph Myers <joseph@codesourcery.com>
25851
25852 [BZ #9914]
25853 * libio/iogetdelim.c: Include <limits.h>.
25854 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25855 + len + 1 would overflow.
25856
258572012-09-03 Andreas Jaeger <aj@suse.de>
25858
25859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25860 * sysdeps/i386/fpu/libm-test-ulps: Update.
25861
258622012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25863
25864 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25865 Add s_sinf-sse2, s_conf-sse2.
25866
25867 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25868 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25869 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25870 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25871
25872 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25873 for using routine as __sinf_ia32.
25874 Use macro for function declaration and weak_alias.
25875 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25876 for using routine as __cosf_ia32.
25877 Use macro for function declaration and weak_alias.
25878
25879 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25880 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25881
25882 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25883 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25884 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25885
25886 * math/libm-test.inc (cos_test): Add more test cases.
25887 (sin_test): Likewise.
25888 (sincos_test): Likewise.
25889
258902012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25891
25892 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25893 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25894 hidden.
25895 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25896
258972012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25898
25899 [BZ #14538]
25900 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25901 first element of the GOT.
25902 (elf_machine_load_address): Return the difference between
25903 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25904
259052012-09-01 Allan McRae <allan@archlinux.org>
25906
25907 [BZ #13412]
25908 * configure.in (AWK): Require gawk version 3.0 or later.
25909 * configure: Regenerated.
25910
259112012-09-01 Joseph Myers <joseph@codesourcery.com>
25912
25913 * sysdeps/unix/sysv/linux/kernel-features.h
25914 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25915 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25916 [__NR_clock_getres]: Make code unconditional.
25917 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25918 (clock_getcpuclockid): Remove code left unreachable by removal of
25919 conditionals.
25920 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25921 code unconditional.
25922 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25923 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25924 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25925 Make code unconditional.
25926 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25927 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25928 * sysdeps/unix/sysv/linux/clock_settime.c
25929 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25930 conditional code.
25931 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25932 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25933
259342012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25935
25936 [BZ #14476]
25937 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25938 scripts/test-installation.pl.
25939
25940 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25941 and $ld_so_version if it is set.
25942
259432012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25944
25945 [BZ #14516]
25946 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25947 failure if reading from procfs failed.
25948 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25949
259502012-08-27 Joseph Myers <joseph@codesourcery.com>
25951
25952 * sysdeps/unix/sysv/linux/kernel-features.h
25953 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25954 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25955 Remove conditional code.
25956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25957 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25958 Remove conditional code.
25959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25960 * sysdeps/unix/sysv/linux/i386/fxstat.c
25961 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25963 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25964 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25966 * sysdeps/unix/sysv/linux/i386/lxstat.c
25967 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25968 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25969 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25970 Remove conditional code.
25971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25972 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25973 Remove conditional code.
25974 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25975 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25976 <kernel-features.h>.
25977 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25978 Remove.
25979 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25980 Remove conditional code.
25981 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25982 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25983 Remove conditional.
25984
259852012-08-27 Mike Frysinger <vapier@gentoo.org>
25986
25987 [BZ #5400]
25988 * NEWS: Add fixed bug number.
25989
259902012-08-27 Joseph Myers <joseph@codesourcery.com>
25991
25992 [BZ #14519]
25993 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25994 underflowing exponent in case of negative sign.
25995 * stdlib/tst-strtod-round-data: Add more tests.
25996 * stdlib/tst-strtod-round.c (tests): Regenerated.
25997
25998 [BZ #3479]
25999 * stdlib/strtod_l.c (NDIG): Remove.
26000 (HEXNDIG): Likewise.
26001 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26002 smallest representable value.
26003 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26004 lie within an exact representation of 1/2 ulp of the result.
26005 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26006 unconditionally.
26007 (TENS_P9_IDX): Define unconditionally.
26008 (TENS_P9_SIZE): Likewise.
26009 (TENS_P10_IDX): Likewise.
26010 (TENS_P10_SIZE): Likewise.
26011 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26012 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26013 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26014 entries for 10^2^13 and 10^2^14.
26015 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26016 (TENS_P13_IDX): Define.
26017 (TENS_P13_SIZE): Likewise.
26018 (TENS_P14_IDX): Likewise.
26019 (TENS_P14_SIZE): Likewise.
26020 (_fpioconst_pow10): Change array size to
26021 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26022 unconditional.
26023 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26024 1024]: Add entries for 10^2^13 and 10^2^14.
26025 [LAST_POW10 > _LAST_POW10]: Remove #error.
26026 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26027 (_fpioconst_pow10): Change array size to
26028 FPIOCONST_POW10_ARRAY_SIZE.
26029 * stdlib/gen-fpioconst.c: New file.
26030 * stdlib/gen-tst-strtod-round.c: Likewise.
26031 * stdlib/tst-strtod-round-data: Likewise.
26032 * stdlib/tst-strtod-round.c: Likewise.
26033 * stdlib/Makefile (tests): Add tst-strtod-round.
26034
26035 [BZ #14459]
26036 * stdlib/strtod_l.c: Include <stdint.h>.
26037 (NDEBUG): Do not define.
26038 (round_and_return): Change EXPONENT parameter to type intmax_t.
26039 Rearrange calculations to avoid internal overflow possibilities.
26040 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26041 Rearrange calculations to avoid internal overflow possibilities.
26042 Assert that number fits inside MPNSIZE limbs.
26043 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26044 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26045 calculations and add assertions to avoid internal overflow
26046 possibilities. Add casts to avoid signed/unsigned operations.
26047 * stdlib/tst-strtod-overflow.c: New file.
26048 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26049
260502012-08-25 Marek Polacek <polacek@redhat.com>
26051
26052 * time/time.h: Fix some typos in comments.
26053
260542012-08-23 Roland McGrath <roland@hack.frob.com>
26055
26056 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26057 * posix/tst-rfc3484-2.c: Likewise.
26058 * posix/tst-rfc3484-3.c: Likewise.
26059
260602012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26061
26062 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26063 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26064
260652012-08-23 Joseph Myers <joseph@codesourcery.com>
26066
26067 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26068 #include of fxstatat64.c.
26069
260702012-08-22 Roland McGrath <roland@hack.frob.com>
26071
26072 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26073 * shadow/getspent_r.c: Likewise.
26074 * shadow/getspnam.c: Likewise.
26075 * shadow/getspnam_r.c: Likewise.
26076 * gshadow/getsgent.c: Likewise.
26077 * gshadow/getsgent_r.c: Likewise.
26078 * gshadow/getsgnam.c: Likewise.
26079 * gshadow/getsgnam_r.c: Likewise.
26080 * inet/getnetbyad.c: Likewise.
26081 * inet/getnetbyad_r.c: Likewise.
26082 * inet/getnetbynm.c: Likewise.
26083 * inet/getnetbynm_r.c: Likewise.
26084 * inet/getnetent.c: Likewise.
26085 * inet/getnetent_r.c: Likewise.
26086 * inet/getproto.c: Likewise.
26087 * inet/getproto_r.c: Likewise.
26088 * inet/getprtent.c: Likewise.
26089 * inet/getprtent_r.c: Likewise.
26090 * inet/getprtname.c: Likewise.
26091 * inet/getprtname_r.c: Likewise.
26092 * inet/getrpcbyname.c: Likewise.
26093 * inet/getrpcbyname_r.c: Likewise.
26094 * inet/getrpcbynumber.c: Likewise.
26095 * inet/getrpcbynumber_r.c: Likewise.
26096 * inet/getrpcent.c: Likewise.
26097 * inet/getrpcent_r.c: Likewise.
26098 * inet/getaliasent.c: Likewise.
26099 * inet/getaliasent_r.c: Likewise.
26100 * inet/getaliasname.c: Likewise.
26101 * inet/getaliasname_r.c: Likewise.
26102 * nscd/getgrgid_r.c: Likewise.
26103 * nscd/getgrnam_r.c: Likewise.
26104 * nscd/gethstbyad_r.c: Likewise.
26105 * nscd/gethstbynm3_r.c: Likewise.
26106 * nscd/getpwnam_r.c: Likewise.
26107 * nscd/getpwuid_r.c: Likewise.
26108 * nscd/getsrvbynm_r.c: Likewise.
26109 * nscd/getsrvbypt_r.c: Likewise.
26110 * nscd/gai.c: Likewise.
26111
26112 * configure.in (build_nscd): New substituted variable, set
26113 by --disable-build-nscd and defaults to $use_nscd.
26114 * configure: Regenerated.
26115 * config.make.in (build-nscd): New substituted variable.
26116 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26117 Change conditional to require [$(build-nscd) = yes] as well.
26118 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26119
26120 [BZ# 13696]
26121 * configure.in (use_nscd): New substituted variable, set by
26122 --disable-nscd. If enabled, define USE_NSCD.
26123 * configure: Regenerated.
26124 * config.h.in: Add USE_NSCD.
26125 * config.make.in (use-nscd): New substituted variable.
26126 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26127 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26128 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26129 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26130 (CFLAGS-getgrnam_r.c): Likewise.
26131 (CFLAGS-initgroups.c): Likewise.
26132 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26133 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26134 Variables removed.
26135 * inet/getnetgrent_r.c
26136 (nscd_setnetgrent): New function, broken out of ...
26137 (setnetgrent): ... here. Call it.
26138 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26139 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26140 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26141 * nscd/Makefile (routines, aux): Move definitions after include of
26142 Makeconfig. Conditionalize on [$(use-nscd) != no].
26143 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26144 Conditionalize on [USE_NSCD].
26145 (is_nscd, nscd_init_cb): Likewise.
26146 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26147 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26148 * nss/nss_db/db-init.c: Likewise.
26149 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26150 [USE_NSCD].
26151 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26152 (make_request): Use it.
26153 (cache_valid_p): New function.
26154 (__check_pf): Use it.
26155 * NEWS: Add item for --disable-nscd.
26156
261572012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26158
26159 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26160 to support sed >= 4.2.1-20-ga9bf076.
26161 * configure: Regenerated.
26162
261632012-08-22 Roland McGrath <roland@hack.frob.com>
26164
26165 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26166 Conditionalize whole body on [IREL].
26167
261682012-08-22 Jeff Law <law@redhat.com>
26169
26170 [BZ #14505]
26171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26172 if the family is PF_UNSPEC.
26173
261742012-08-22 Mike Frysinger <vapier@gentoo.org>
26175
26176 * Makerules (lib-version): Rename from V.
26177 (install-lib-nosubdir): Change V to lib-version.
26178
261792012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26180
26181 [BZ #14252]
26182 * powerpc32/power6/wcschr.c: New file.
26183 * powerpc32/power6/wcscpy.c: New file.
26184 * powerpc32/power6/wcsrchr.c: New file.
26185 * powerpc64/power6/wcschr.c: New file.
26186 * powerpc64/power6/wcscpy.c: New file.
26187 * powerpc64/power6/wcsrchr.c: New file.
26188
261892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26190
26191 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26192 (two_way_short_needle): Use it.
26193 * string/strstr.c (AVAILABLE1_USES_J): Define.
26194 * string/strcasestr.c: Likewise.
26195
26196 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26197 array references.
26198 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26199
26200 [BZ #11607]
26201 * NEWS: Add an entry.
26202 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26203 define their defaults.
26204 (two_way_short_needle): Detect end-of-string on-the-fly.
26205 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26206 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26207 * string/bug-strcasestr1.c: New test.
26208 * string/Makefile: Run it.
26209
262102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26211
26212 [BZ #11607]
26213 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26214 the first character.
26215
262162012-08-21 Roland McGrath <roland@hack.frob.com>
26217
26218 * csu/elf-init.c (__libc_csu_irel): Function removed.
26219 * csu/libc-start.c (apply_irel): New function.
26220 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26221
262222012-08-21 Joseph Myers <joseph@codesourcery.com>
26223
26224 * sysdeps/unix/sysv/linux/kernel-features.h
26225 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26226 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26227 <kernel-features.h>.
26228 [__NR_fadvise64_64]: Make code unconditional.
26229 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26230 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26231 !__NR_fadvise64_64)]: Likewise.
26232 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26233 !__NR_fadvise64_64))]: Likewise.
26234 [__NR_fadvise64]: Make code unconditional.
26235 [!__NR_fadvise64]: Remove conditional code.
26236 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26237 <kernel-features.h>.
26238 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26239 unconditional.
26240 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26241 conditional code.
26242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26243 not include <kernel-features.h>.
26244 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26245 unconditional.
26246 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26247 conditional code.
26248 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26249 include <kernel-features.h>.
26250 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26251 unconditional.
26252 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26253 conditional code.
26254
262552012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26256
26257 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26258 slight instruction rearrangements per scrollpipe analysis.
26259 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26260
262612012-08-20 Roland McGrath <roland@hack.frob.com>
26262
26263 * manual/syslog.texi (syslog; vsyslog, closelog):
26264 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26265 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26266
26267 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26268 DSOCAPS to match condition on defining it.
26269
262702012-08-20 Joseph Myers <joseph@codesourcery.com>
26271
26272 * sysdeps/unix/sysv/linux/kernel-features.h
26273 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26275 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26276 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26278 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26279 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26281 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26282 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26283
26284 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26285 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26286
26287 * sysdeps/unix/sysv/linux/kernel-features.h
26288 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26289 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26290 unconditional.
26291 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26292 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26293 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26294 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26295 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26296 Make code unconditional.
26297 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26298 (__mmap64) [!__NR_mmap2]: Likewise.
26299 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26300 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26301 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26302 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26303 [__NR_mmap2]: Make code unconditional.
26304 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26305 (__mmap64) [!__NR_mmap2]: Likewise.
26306
263072012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26308
26309 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26310
263112012-08-18 Andreas Jaeger <aj@suse.de>
26312
26313 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26314
263152012-08-18 Mike Frysinger <vapier@gentoo.org>
26316
26317 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26318 * include/unistd.h (__have_sock_cloexec): Likewise.
26319 (__have_pipe2): Likewise.
26320 (__have_dup3): Likewise.
26321
263222012-08-18 Mike Frysinger <vapier@gentoo.org>
26323
26324 [BZ #9685]
26325 * include/unistd.h (__have_pipe2): Change define into an extern int.
26326 (__have_dup3): Likewise.
26327 * socket/have_sock_cloexec.c: Include fcntl.h.
26328 (__have_pipe2): New variable.
26329 (__have_dup3): Likewise.
26330
263312012-08-17 Mike Frysinger <vapier@gentoo.org>
26332
26333 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26334
263352012-08-17 Marek Polacek <polacek@redhat.com>
26336
26337 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26338 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26339
263402012-08-17 Roland McGrath <roland@hack.frob.com>
26341
26342 * configure.in: Add AC_SUBST for sysheaders.
26343 * configure: Regenerated.
26344 * config.make.in (sysheaders): New substituted variable.
26345
26346 * sysdeps/unix/mkfifo.c: Moved ...
26347 * sysdeps/posix/mkfifo.c: ... here.
26348 * sysdeps/unix/mkfifoat.c: Moved ...
26349 * sysdeps/posix/mkfifoat.c: ... here.
26350
26351 * sysdeps/unix/utime.c: Moved ...
26352 * sysdeps/posix/utime.c: ... here.
26353
26354 * sysdeps/unix/time.c: Moved ...
26355 * sysdeps/posix/time.c: ... here.
26356 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26357 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26358
26359 * sysdeps/unix/nice.c: Moved ...
26360 * sysdeps/posix/nice.c: ... here.
26361
26362 * sysdeps/unix/alarm.c: Moved ...
26363 * sysdeps/posix/alarm.c: ... here.
26364
26365 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26366
263672012-08-17 Jeff Law <law@redhat.com>
26368
26369 * intl/Makefile (codeset_mo): New variable.
26370 ($(codeset_mo)): New target.
26371 (tst-codeset.out): Depend on that. Remove explicit rule.
26372 (tst-gettext3.out, tst-gettext5.out): Likewise.
26373 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26374 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26375 * intl/tst-codeset.sh: Remove.
26376 * intl/tst-gettext3.sh: Likewise.
26377 * intl/tst-gettext5.sh: Likewise.
26378
263792012-08-17 Roland McGrath <roland@hack.frob.com>
26380
26381 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26382 * sysdeps/unix/syscalls.list: ... here.
26383
26384 * sysdeps/posix/getaddrinfo.c
26385 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26386 (gaiconf_init, gaiconf_reload): Use them.
26387 [!_STATBUF_ST_NSEC]
26388 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26389 Define using time_t rather than struct timespec.
26390
26391 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26392 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26393 Macros removed.
26394 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26395 [!NO_THREADS].
26396 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26397 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26398 Likewise.
26399
26400 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26401 __libc_cleanup_push argument.
26402
26403 * bits/param.h: New file.
26404 * misc/sys/param.h: New file.
26405 * include/sys/param.h: New file.
26406 * misc/Makefile (headers): Add bits/param.h.
26407 * sysdeps/generic/sys/param.h: File removed.
26408 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26409 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26410 * sysdeps/mach/hurd/bits/param.h: New file.
26411 * sysdeps/mach/hurd/sys/param.h: File removed.
26412
26413 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26414 last change.
26415
26416 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26417 [_IO_MTSAFE_IO].
26418 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26419 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26420 New macros.
26421
26422 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26423 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26424 rather than -D_IO_MTSAFE_IO conditionally.
26425 * stdio-common/Makefile (CPPFLAGS): Likewise.
26426 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26427 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26428 Use $(libio-mtsafe).
26429 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26430 of -D_IO_MTSAFE_IO.
26431 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26432 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26433 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26434 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26435 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26436 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26437 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26438 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26439 (CFLAGS-fread_u_chk.c): Likewise.
26440 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26441 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26442 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26443 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26444 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26445 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26446 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26447 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26448 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26449
26450 * libio/Makefile: Test [$(libc-reentrant) = yes]
26451 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26452
26453 * Makeconfig
26454 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26455 * sysdeps/pthread/configure: File removed.
26456 * sysdeps/pthread/Makeconfig: New file.
26457 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26458 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26459
264602012-08-16 Gary Benson <gbenson@redhat.com>
26461
26462 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26463 unmapping the first object in a namespace.
26464
264652012-08-16 Roland McGrath <roland@hack.frob.com>
26466
26467 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26468 (__internal_setnetgrent): ... this. Add internal_function to
26469 definition. Add libc_hidden_def.
26470 (setnetgrent): Update caller.
26471 (internal_endnetgrent): Renamed to ...
26472 (__internal_endnetgrent): ... this. Add internal_function to
26473 definition. Add libc_hidden_def.
26474 (endnetgrent): Update caller.
26475 (internal_getnetgrent_r): Renamed to ...
26476 (__internal_getnetgrent_r): ... this. Add internal_function to
26477 definition. Add libc_hidden_def.
26478 (__getnetgrent_r): Update caller.
26479 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26480
264812012-08-16 Joseph Myers <joseph@codesourcery.com>
26482
26483 * stdlib/longlong.h: Update from GCC.
26484
264852012-08-16 Roland McGrath <roland@hack.frob.com>
26486
26487 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26488 on _QL, which is set by umul_ppmm but never used.
26489 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26490 variables, which are set by GMP macros but never used.
26491 * stdio-common/_itowa.c (_itowa): Likewise.
26492 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26493 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26494
264952012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26496
26497 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26498 struct La_sh_regs is not constant.
26499 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26500 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26501 and struct La_sparc64_regs are not constant.
26502
265032012-08-16 Joseph Myers <joseph@codesourcery.com>
26504
26505 * sysdeps/unix/sysv/linux/kernel-features.h
26506 (__ASSUME_POSIX_TIMERS): Remove.
26507 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26508 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26509 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26510 Make code unconditional.
26511 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26512 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26513 Make code unconditional.
26514 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26515 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26516 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26517 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26518 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26519 Make code unconditional.
26520 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26521 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26522 (__libc_missing_posix_timers): Remove.
26523
265242012-08-15 Roland McGrath <roland@hack.frob.com>
26525
26526 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26527 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26528
26529 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26530
26531 * elf/dl-sym.c: Include <stdlib.h>.
26532
26533 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26534 constants, which avoids warnings in 32-bit builds.
26535
26536 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26537 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26538
26539 * misc/lseek.c: File moved to ...
26540 * io/lseek.c: ... here.
26541
26542 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26543
26544 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26545 shifting LEN more than 31 bits at once.
26546
265472012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26548
26549 [BZ #14195]
26550 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26551 segmentation fault for a case of two empty input strings.
26552 * string/test-strncasecmp.c (check1): Renamed to...
26553 (bz12205): ...this.
26554 (bz14195): Add new testcase for two empty input strings and N > 0.
26555 (test_main): Call new testcase, adapt for renamed function.
26556
265572012-08-15 Andreas Jaeger <aj@suse.de>
26558
26559 [BZ #14090]
26560 * crypt/md5test2.c: New test, based on test supplied by Serge
26561 Belyshev <belyshev@depni.sinp.msu.ru>.
26562 * crypt/Makefile (xtests): Add md5test-giant..
26563 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26564
265652012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26566
26567 [BZ #14090]
26568 * crypt/md5.c (md5_process_block): Don't assume the buffer
26569 length is less than 2**32.
26570 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26571 length is less than 2**64.
26572
265732012-08-15 Roland McGrath <roland@hack.frob.com>
26574
26575 * string/str-two-way.h: Include <sys/param.h>.
26576 (MAX): Macro removed.
26577
26578 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26579 Move #define and #undef of memmove to just before and after
26580 including <string.h>.
26581
26582 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26583 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26584 and after including <string.h>. Move declarations of
26585 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26586 to before #include "string/memmove.c".
26587
26588 * include/dirent.h: Declare __getdirentries.
26589
26590 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26591 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26592
265932012-08-14 Mike Frysinger <vapier@gentoo.org>
26594
26595 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26596 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26597 * sysdeps/i386/configure: Regenerated.
26598 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26599 STABS_CURRENT_FILE, and STABS_FUN.
26600 (END): Remove call to STABS_FUN_END.
26601 (STABS_CURRENT_FILE1): Delete.
26602 (STABS_CURRENT_FILE): Likewise.
26603 (STABS_FUN): Likewise.
26604 (STABS_FUN_END): Likewise.
26605 (STABS_FUN2): Likewise.
26606 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26607 * sysdeps/x86_64/configure: Regenerated.
26608
266092012-08-14 Roland McGrath <roland@hack.frob.com>
26610
26611 * elf/dl-open.c: Include <atomic.h>.
26612 * elf/dl-lookup.c: Likewise.
26613
266142012-08-14 Joseph Myers <joseph@codesourcery.com>
26615
26616 * sysdeps/unix/sysv/linux/kernel-features.h
26617 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26618 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26619 unconditionally.
26620 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26621 unconditionally.
26622 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26623 condition on __ASSUME_CLONE_THREAD_FLAGS.
26624
266252012-08-14 Andreas Jaeger <aj@suse.de>
26626
26627 * sysdeps/i386/fpu/libm-test-ulps: Update.
26628
266292012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26630
26631 * include/atomic.h (atomic_exchange_and_add): Split into ...
26632 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26633 New atomic macros.
26634
266352012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26636
26637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26638
266392012-08-13 Jeff Law <law@redhat.com>
26640
26641 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26642 null byte in the output string.
26643
266442012-08-10 Joseph Myers <joseph@codesourcery.com>
26645
26646 * sysdeps/unix/sysv/linux/kernel-features.h
26647 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26648 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26649 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26650 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26651 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26652 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26653 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26654
266552012-08-09 Jeff Law <law@redhat.com>
26656
26657 [BZ #13939]
26658 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26659 When avoid_arena is set, don't retry in the that arena. Pick the
26660 next one, whatever it might be.
26661 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26662 (arena_lock): Pass in new parameter to arena_get2.
26663 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26664 arena_get2.
26665 (__libc_malloc): Unify retrying after main arena failure with
26666 __libc_memalign version.
26667 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26668
266692012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26670
26671 [BZ #14166]
26672 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26673 to __redirect_strstr.
26674 (__strstr_sse42): Use typeof __redirect_strstr.
26675 (__strstr_ia32): Likewise.
26676 (__libc_strstr): New prototype.
26677 (strstr): Renamed to ...
26678 (__libc_strstr): This.
26679 (strstr): New strong alias of __libc_strstr.
26680 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26681 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26682 __redirect_time.
26683 Include <time.h>.
26684 (__libc_time): New prototype.
26685 (time_ifunc): Replace time with __libc_time.
26686 (time): New strong alias and hidden definition of __libc_time.
26687 (__GI_time): Remove strong alias.
26688 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26689 Include <stddef.h>.
26690 (memmove): Redefined to __redirect_memmove.
26691 (__memmove_sse2): Use typeof __redirect_memmove.
26692 (__memmove_ssse3): Likewise.
26693 (__memmove_ssse3_back): Likewise.
26694 (__libc_memmove): New prototype.
26695 (memmove): Renamed to ...
26696 (__libc_memmove): This.
26697 (memmove): New strong alias of __libc_memmove.
26698
266992012-08-08 Mark Salter <msalter@redhat.com>
26700
26701 * elf/elf.h
26702 (R_MN10300_TLS_GD): Define.
26703 (R_MN10300_TLS_LD): Likewise.
26704 (R_MN10300_TLS_LDO): Likewise.
26705 (R_MN10300_TLS_GOTIE): Likewise.
26706 (R_MN10300_TLS_IE): Likewise.
26707 (R_MN10300_TLS_LE): Likewise.
26708 (R_MN10300_TLS_DTPMOD): Likewise.
26709 (R_MN10300_TLS_DTPOFF): Likewise.
26710 (R_MN10300_TLS_TPOFF): Likewise.
26711 (R_MN10300_SYM_DIFF): Likewise.
26712 (R_MN10300_ALIGN): Likewise.
26713 (R_MN10300_NUM): Update.
26714
267152012-08-08 Joseph Myers <joseph@codesourcery.com>
26716
26717 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26718 Remove.
26719
267202012-08-08 Roland McGrath <roland@hack.frob.com>
26721
26722 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26723
26724 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26725 sysdeps/unix -> sysdeps/posix move.
26726 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26727
267282012-08-07 Allan McRae <allan@archlinux.org>
26729
26730 [BZ #14303]
26731 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26732 (SUNOS_CPP): Likewise.
26733 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26734 not found.
26735 (open_input): Call CPP using execvp.
26736
267372012-08-07 Joseph Myers <joseph@codesourcery.com>
26738
26739 * sysdeps/unix/sysv/linux/kernel-features.h
26740 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26741 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26742 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26743 (__ASSUME_WAITID_SYSCALL): Likewise.
26744 * sysdeps/unix/sysv/linux/dl-execstack.c
26745 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26746 code unconditional.
26747 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26748 conditional code.
26749 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26750 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26751 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26752 code.
26753 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26754 unconditional.
26755 [__ASSUME_WAITID_SYSCALL]: Likewise.
26756 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26757
267582012-08-07 Roland McGrath <roland@hack.frob.com>
26759
26760 * sysdeps/unix/closedir.c: Renamed to ...
26761 * sysdeps/posix/closedir.c: ... here.
26762 * sysdeps/unix/dirfd.c: Renamed to ...
26763 * sysdeps/posix/dirfd.c: ... here.
26764 * sysdeps/unix/dirstream.h: Renamed to ...
26765 * sysdeps/posix/dirstream.h: ... here.
26766 * sysdeps/unix/fdopendir.c: Renamed to ...
26767 * sysdeps/posix/fdopendir.c: ... here.
26768 * sysdeps/unix/opendir.c: Renamed to ...
26769 * sysdeps/posix/opendir.c: ... here.
26770 * sysdeps/unix/readdir.c: Renamed to ...
26771 * sysdeps/posix/readdir.c: ... here.
26772 * sysdeps/unix/readdir_r.c: Renamed to ...
26773 * sysdeps/posix/readdir_r.c: ... here.
26774 * sysdeps/unix/rewinddir.c: Renamed to ...
26775 * sysdeps/posix/rewinddir.c: ... here.
26776 * sysdeps/unix/seekdir.c: Renamed to ...
26777 * sysdeps/posix/seekdir.c: ... here.
26778 * sysdeps/unix/telldir.c: Renamed to ...
26779 * sysdeps/posix/telldir.c: ... here.
26780 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26781 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26782 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26783 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26784
26785 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26786 * bits/fcntl.h: ... here.
26787
26788 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26789 not 0.
26790 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26791 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26792 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26793 (struct flock): Move l_start, l_len to the beginning.
26794 Use __pid_t for l_pid.
26795 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26796 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26797 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26798 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26799 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26800 [__USE_LARGEFILE64] (struct flock64): New type.
26801 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26802
26803 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26804 * bits/dirent.h: ... here.
26805
26806 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26807 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26808
268092012-08-07 Joseph Myers <joseph@codesourcery.com>
26810
26811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26812 Change from 2.6.0 to 2.6.16.
26813 * sysdeps/unix/sysv/linux/configure: Regenerated.
26814 * sysdeps/unix/sysv/linux/kernel-features.h
26815 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26816 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26817 version.
26818 (__ASSUME_UTIMES): Likewise.
26819 (__ASSUME_CLONE_STOPPED): Remove.
26820 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26821 architectures, not kernel version.
26822 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26823 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26824 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26825 (__ASSUME_WAITID_SYSCALL): Likewise.
26826 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26827 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26828 * README: State 2.6.16 as minimum Linux kernel version. Do not
26829 refer to older versions.
26830
268312012-08-06 Roland McGrath <roland@hack.frob.com>
26832
26833 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26834 Define alphasort64 as an alias.
26835 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26836 Define versionsort64 as an alias.
26837 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26838 Define scandir64 as an alias.
26839 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26840 Define scandirat64 as an alias.
26841 * dirent/alphasort64.c (alphasort64):
26842 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26843 * dirent/versionsort64.c: Likewise.
26844 * dirent/scandir64.c: Likewise.
26845 * dirent/scandirat64.c: Likewise.
26846 * sysdeps/wordsize-64/alphasort.c: File removed.
26847 * sysdeps/wordsize-64/alphasort64.c: File removed.
26848 * sysdeps/wordsize-64/scandir.c: File removed.
26849 * sysdeps/wordsize-64/scandir64.c: File removed.
26850 * sysdeps/wordsize-64/scandirat.c: File removed.
26851 * sysdeps/wordsize-64/scandirat64.c: File removed.
26852 * sysdeps/wordsize-64/versionsort.c: File removed.
26853 * sysdeps/wordsize-64/versionsort64.c: File removed.
26854 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26855 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26856 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26857 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26858 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26859 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26860 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26861 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26862
26863 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26865 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26867 [defined __arch64__ || defined __sparcv9]
26868 (__INO_T_MATCHES_INO64_T): New macro.
26869 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26870 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26871 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26872 * sysdeps/unix/sysv/linux/bits/dirent.h
26873 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26874 (_DIRENT_MATCHES_DIRENT64): New macro.
26875
26876 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26877 Define lockf64 as an alias.
26878 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26879 Define fseeko64 as an alias.
26880 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26881 Define ftello64 as an alias.
26882 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26883 Define _IO_fgetpos64 and fgetpos64 as aliases.
26884 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26885 Define _IO_fsetpos64 and fsetpos64 as aliases.
26886 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26887 Conditionalize body on this.
26888 * libio/fseeko64.c: Likewise.
26889 * libio/ftello64.c: Likewise.
26890 * libio/iofgetpos64.c: Likewise.
26891 * libio/iofsetpos64.c: Likewise.
26892 * sysdeps/wordsize-64/lockf.c: File removed.
26893 * sysdeps/wordsize-64/lockf64.c: File removed.
26894 * sysdeps/wordsize-64/fseeko.c: File removed.
26895 * sysdeps/wordsize-64/fseeko64.c: File removed.
26896 * sysdeps/wordsize-64/ftello.c: File removed.
26897 * sysdeps/wordsize-64/ftello64.c: File removed.
26898 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26899 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26900 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26901 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26902 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26903 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26904 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26905 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26906 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26907 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26908 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26909 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26910 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26911 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26912
26913 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26914 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26915 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26917 [defined __arch64__ || defined __sparcv9]
26918 (__OFF_T_MATCHES_OFF64_T): New macro.
26919 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26920 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26922 (__OFF_T_MATCHES_OFF64_T): New macro.
26923
269242012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26925
26926 * stdlib/secure-getenv.c (__secure_getenv): Replace
26927 GLIBC_2_16 with GLIBC_2_17.
26928
269292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26930
26931 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26932 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26933
269342012-08-03 David S. Miller <davem@davemloft.net>
26935
26936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26937
269382012-08-03 Joseph Myers <joseph@codesourcery.com>
26939
26940 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26941 Remove.
26942 (__ASSUME_CORRECT_SI_PID): Likewise.
26943 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26944 (__ASSUME_TMPFS_NAME): Likewise.
26945 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26946 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26947 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26948 (HAVE_AUX_SECURE): Make definition unconditional.
26949 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26950 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26951
269522012-08-03 Roland McGrath <roland@hack.frob.com>
26953
26954 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26955 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26956 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26957 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26958 __eloop_threshold instead of SYMLOOP_MAX.
26959
26960 * sysdeps/generic/eloop-threshold.h: New file.
26961 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26962 of MAXSYMLINKS.
26963 * elf/chroot_canon.c (chroot_canon): Likewise.
26964
269652012-08-03 Joseph Myers <joseph@codesourcery.com>
26966
26967 [BZ #13717]
26968 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26969 Change to 2.6.0 everywhere.
26970 * sysdeps/unix/sysv/linux/configure: Regenerated.
26971 * sysdeps/unix/sysv/linux/kernel-features.h
26972 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26973 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26974 kernel versions.
26975 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26976 (__ASSUME_FUTEX_REQUEUE): Remove.
26977 (__ASSUME_STATFS64): Define unconditionally.
26978 (__ASSUME_AT_SECURE): Likewise.
26979 (__ASSUME_CORRECT_SI_PID): Likewise.
26980 (__ASSUME_TGKILL): Define without depending on kernel version for
26981 i386.
26982 (__ASSUME_UTIMES): Likewise.
26983 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26984 kernel version.
26985 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26986 (__ASSUME_TMPFS_NAME): Likewise.
26987 * README: Update reference to Linux kernel versions.
26988
269892012-08-02 Marek Polacek <polacek@redhat.com>
26990
26991 [BZ# 14150]
26992 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26993 libc_cv_asm_type_prefix with %.
26994 * configure: Regenerated.
26995 * include/libc-symbols.h: Remove comment about
26996 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26997 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26998 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26999 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27000 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27001 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27002 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27003 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27004 * elf/tst-unique2mod1.c: Likewise.
27005 * elf/tst-unique1mod2.c: Likewise.
27006 * elf/tst-unique1mod1.c: Likewise.
27007 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27008 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27009 Replace ASM_TYPE_DIRECTIVE with .type.
27010 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27011 * sysdeps/i386/sysdep.h: Likewise.
27012 * sysdeps/x86_64/sysdep.h: Likewise.
27013 * sysdeps/sh/sysdep.h: Likewise.
27014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27015 Do not define ASM_TYPE_DIRECTIVE.
27016 * sysdeps/powerpc/sysdep.h: Likewise.
27017 * sysdeps/powerpc/powerpc32/sysdep.h:
27018 Replace ASM_TYPE_DIRECTIVE with .type.
27019 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27020 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27021 * sysdeps/i386/fpu/e_powf.S: Likewise.
27022 * sysdeps/i386/fpu/e_expl.S: Likewise.
27023 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27024 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27025 * sysdeps/i386/fpu/e_pow.S: Likewise.
27026 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27027 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27028 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27029 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27030 * sysdeps/i386/fpu/e_log2.S: Likewise.
27031 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27032 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27033 * sysdeps/i386/fpu/e_powl.S: Likewise.
27034 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27035 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27036 * sysdeps/i386/fpu/e_logl.S: Likewise.
27037 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27038 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27039 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27040 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27041 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27042 * sysdeps/i386/fpu/e_log.S: Likewise.
27043 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27044 * sysdeps/i386/fpu/e_logf.S: Likewise.
27045 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27046 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27047 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27048 * sysdeps/i386/fpu/e_log10.S: Likewise.
27049 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27050 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27051 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27052 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27053 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27054 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27055 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27056 * sysdeps/i386/i686/strtok.S: Likewise.
27057 * sysdeps/i386/i386-mcount.S: Likewise.
27058 * sysdeps/i386/strtok.S: Likewise.
27059 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27060 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27061 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27062 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27063 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27064 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27065 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27066 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27067 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27068 * sysdeps/x86_64/_mcount.S: Likewise.
27069 * sysdeps/x86_64/strtok.S: Likewise.
27070 * sysdeps/sh/_mcount.S: Likewise.
27071
270722012-08-01 Roland McGrath <roland@hack.frob.com>
27073
27074 * libio/iofopen.c: Include <fcntl.h>.
27075 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27076 (_IO_fopen64, fopen64): Define as aliases.
27077 * libio/iofopen64.c: Include <fcntl.h>.
27078 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27079 Conditionalize body on this.
27080 * sysdeps/wordsize-64/iofopen.c: File removed.
27081 * sysdeps/wordsize-64/iofopen64.c: File removed.
27082
270832012-08-01 Marek Polacek <polacek@redhat.com>
27084
27085 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27086 Use dlfcn directly instead of a variable.
27087 (binfmt-subdir): Do not define.
27088 (dlfcn): Likewise.
27089
270902012-08-01 Joseph Myers <joseph@codesourcery.com>
27091
27092 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27093 Remove all definitions.
27094 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27095 <kernel-features.h>.
27096 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27097 (miss_F_GETOWN_EX): Remove all definitions.
27098 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27099 macro definition.
27100 [!__ASSUME_FCNTL64]: Remove conditional code.
27101 [__ASSUME_FCNTL64]: Make code unconditional.
27102 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27103 <kernel-features.h>.
27104 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27105 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27106 (lockf64) [__NR_fcntl64]: Make code unconditional.
27107 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27108
27109 * sysdeps/unix/sysv/linux/kernel-features.h
27110 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27111 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27112 Make code unconditional.
27113 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27114 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27116 [__NR_vfork]: Make code unconditional.
27117 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27118 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27120 [__NR_vfork]: Make code unconditional.
27121 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27122 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27123
271242012-08-01 Roland McGrath <roland@hack.frob.com>
27125
27126 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27127 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27128
27129 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27130 Define mkstemp64 as an alias.
27131 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27132 Define mkstemps64 as an alias.
27133 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27134 Define mkostemp64 as an alias.
27135 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27136 Define mkostemps64 as an alias.
27137 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27138 Conditionalize body on this.
27139 * misc/mkostemp64.c: Likewise.
27140 * misc/mkostemps64.c: Likewise.
27141 * misc/mkstemps64.c: Likewise.
27142 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27143 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27144 * sysdeps/wordsize-64/mkostemp.c: File removed.
27145 * sysdeps/wordsize-64/mkstemp.c: File removed.
27146 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27147 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27148 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27149 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27150
27151 [BZ #14138]
27152 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27153 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27154 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27155 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27156
27157 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27158 compat_symbol macros from <shlib-compat.h> rather than the underlying
27159 default_symbol_version and symbol_version macros, so that DEFAULT
27160 lines in shlib-versions are respected.
27161 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27162
271632012-08-01 Florian Weimer <fweimer@redhat.com>
27164
27165 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27166 Declare with warn_unused_result.
27167 (setgid, setregid, setegid, setresgid): Likewise.
27168 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27169 Likewise.
27170 * WUR-REPORT: Remove set*id functions.
27171
271722012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27173
27174 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27175
271762012-07-31 Roland McGrath <roland@hack.frob.com>
27177
27178 [BZ #10191]
27179 * include/sys/socket.h (__libc_accept, __libc_accept4):
27180 Add attribute_hidden.
27181 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27182
27183 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27184 use of PTR_MANGLE.
27185 * inet/getnetgrent_r.c (setup): Likewise.
27186
27187 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27188
271892012-07-31 David S. Miller <davem@davemloft.net>
27190
27191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27192
271932012-07-31 Joseph Myers <joseph@codesourcery.com>
27194
27195 [BZ #13629]
27196 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27197 value between 1.0 and 2.0 and smaller part has absolute value less
27198 than 1.0.
27199 * math/s_clog10.c (__clog10): Likewise.
27200 * math/s_clog10f.c (__clog10f): Likewise.
27201 * math/s_clog10l.c (__clog10l): Likewise.
27202 * math/s_clogf.c (__clogf): Likewise.
27203 * math/s_clogl.c (__clogl): Likewise.
27204 * math/libm-test.inc (clog_test): Add more tests.
27205 (clog10_test): Likewise.
27206 * sysdeps/i386/fpu/libm-test-ulps: Update.
27207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27208
272092012-07-31 Florian Weimer <fweimer@redhat.com>
27210
27211 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27212 Exit with zero in case no suitable GID is found, and write a
27213 message to standard error.
27214
272152012-07-30 Roland McGrath <roland@hack.frob.com>
27216
27217 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27218 rather than to 1.
27219 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27220 (MAXPATHLEN): Removed.
27221 (NOGROUP, NODEV): New macros.
27222 (setbit, clrbit, isset, isclr): New macros.
27223 (howmany, roundup, powerof2): New macros.
27224 (DEV_BSIZE): New macro.
27225
27226 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27227 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27228
27229 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27230 definition on [!__NO_LONG_DOUBLE_MATH].
27231
27232 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27233 PTR_MANGLE and PTR_DEMANGLE.
27234
27235 * socket/accept4.c (accept4): Rename to __libc_accept4.
27236 Define accept4 as a weak alias.
27237
27238 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27239 on [_DIRENT_HAVE_D_TYPE].
27240 * io/ftw.c (ftw_dir): Likewise.
27241
27242 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27243
27244 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27245
27246 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27247 Use the BSD numbers rather than the arbitrary ones we had.
27248 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27249 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27250 (SIGXCPU, SIGXFSZ): New macros.
27251 (_NSIG): Now 32.
27252
27253 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27254 initializer on [_LIBC_REENTRANT].
27255
27256 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27257 definitions inside [_POSIX_MAPPED_FILES].
27258
27259 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27260
27261 * dirent/opendir.c: Include <fcntl.h>.
27262
27263 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27264 (__libc_getspecific): Likewise.
27265 (__libc_key_create): Likewise.
27266
27267 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27268 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27269 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27270 (tmpfile64): Define as alias.
27271 * sysdeps/wordsize-64/tmpfile.c: File removed.
27272 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27273 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27274 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27275
27276 * stdio-common/vfscanf.c: Include <stdbool.h>.
27277 * nss/makedb.c: Likewise.
27278 * stdio-common/_i18n_number.h: Likewise.
27279 * argp/argp-help.c: Likewise.
27280 * posix/wordexp.c: Likewise.
27281 * sysdeps/posix/spawni.c: Likewise.
27282 * nss/nss_files/files-initgroups.c: Likewise.
27283 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27284 * nss/nss_files/files-initgroups.c: Likewise.
27285 * nss/nss_db/db-netgrp.c: Likewise.
27286 * nss/nss_db/db-initgroups.c: Likewise.
27287 * io/fchmodat.c: Include <sys/stat.h>.
27288
27289 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27290 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27291
27292 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27293 [HAVE_MMAP].
27294
27295 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27296 Add multiple inclusion protection.
27297
272982012-07-27 David S. Miller <davem@davemloft.net>
27299
27300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27301
273022012-07-27 Gary Benson <gbenson@redhat.com>
27303
27304 [BZ #14298]
27305 * elf/rtld.c: Include <stap-probe.h>.
27306 (dl_main): Added static probes "init_start" and "init_complete".
27307 * elf/dl-load.c: Include <stap-probe.h>.
27308 (lose): Take new parameter "nsid".
27309 Added static probe "map_failed".
27310 (_dl_map_object_from_fd): Pass namespace id to lose.
27311 Added static probe "map_start".
27312 (open_verify): Pass namespace id to lose.
27313 * elf/dl-open.c: Include <stap-probe.h>.
27314 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27315 and "reloc_complete".
27316 * elf/dl-close.c: Include <stap-probe.h>.
27317 (_dl_close_worker): Added static probes "unmap_start" and
27318 "unmap_complete".
27319 * elf/rtld-debugger-interface.txt: New file documenting the above.
27320
273212012-07-26 Roland McGrath <roland@hack.frob.com>
27322
27323 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27324 rather than a string variable.
27325 * sunrpc/rpc_main.c (h_output): Likewise.
27326 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27327
273282012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27329
27330 * inet/check_native.c: New file.
27331
273322012-07-26 Joseph Myers <joseph@codesourcery.com>
27333
27334 [BZ #13629]
27335 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27336 if larger part has absolute value 1.0.
27337 * math/s_clog10.c (__clog10): Likewise.
27338 * math/s_clog10f.c (__clog10f): Likewise.
27339 * math/s_clog10l.c (__clog10l): Likewise.
27340 * math/s_clogf.c (__clogf): Likewise.
27341 * math/s_clogl.c (__clogl): Likewise.
27342 * math/libm-test.inc (clog_test): Add more tests.
27343 (clog10_test): Likewise.
27344 * sysdeps/i386/fpu/libm-test-ulps: Update.
27345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27346
27347 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27348 (pltexit): Likewise.
27349 (La_regs): Likewise.
27350 (La_retval): Likewise.
27351 (int_retval): Likewise.
27352 Update #error for removed macros to refer only to definitions in
27353 tst-audit.h.
27354 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27355 macro.
27356 (pltexit): Likewise.
27357 (La_regs): Likewise.
27358 (La_retval): Likewise.
27359 (int_retval): Likewise.
27360 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27361 macro.
27362 (pltexit): Likewise.
27363 (La_regs): Likewise.
27364 (La_retval): Likewise.
27365 (int_retval): Likewise.
27366 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27367 macro.
27368 (pltexit): Likewise.
27369 (La_regs): Likewise.
27370 (La_retval): Likewise.
27371 (int_retval): Likewise.
27372 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27373 macro.
27374 (pltexit): Likewise.
27375 (La_regs): Likewise.
27376 (La_retval): Likewise.
27377 (int_retval): Likewise.
27378 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27379 macro.
27380 (pltexit): Likewise.
27381 (La_regs): Likewise.
27382 (La_retval): Likewise.
27383 (int_retval): Likewise.
27384 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27385 macro.
27386 (pltexit): Likewise.
27387 (La_regs): Likewise.
27388 (La_retval): Likewise.
27389 (int_retval): Likewise.
27390 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27391 macro definitions in tst-audit.h.
27392 * sysdeps/i386/tst-audit.h: New file.
27393 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27394 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27395 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27396 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27397 * sysdeps/sh/tst-audit.h: Likewise.
27398 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27399 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27400 * sysdeps/x86_64/tst-audit.h: Likewise.
27401
274022012-07-26 Andreas Jaeger <aj@suse.de>
27403
27404 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27405 ptrace.
27406
27407 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27408 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27409 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27410 PTRACE_O_MASK.
27411 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27412 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27413 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27414
27415 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27416 value.
27417
27418 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27419 _sigsys.
27420 (si_call_addr, si_syscall, si_arch): Define new macro.
27421 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27422 _sigsys.
27423 (si_call_addr, si_syscall, si_arch): Define new marcro.
27424 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27425 _sigsys.
27426 (si_call_addr, si_syscall, si_arch): Define new macro.
27427 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27428 _sigsys.
27429 (si_call_addr, si_syscall, si_arch): Define new macro.
27430
274312012-07-25 Joseph Myers <joseph@codesourcery.com>
27432
27433 [BZ #13717]
27434 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27435 Change to 2.4.21 where previously 2.4.1.
27436 * sysdeps/unix/sysv/linux/configure: Regenerated.
27437 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27438 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27439 Linux kernel version.
27440 (__ASSUME_STD_AUXV): Remove.
27441 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27442 kernel version.
27443 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27444 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27445 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27446 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27447 (__ASSUME_NETLINK_SUPPORT): Likewise.
27448 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27449 (__no_netlink_support): Remove conditional definition.
27450 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27451 Remove.
27452 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27453 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27454 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27455 (if_nameindex_ioctl): Remove.
27456 (if_nameindex_netlink): Do not handle __no_netlink_support.
27457 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27458 code.
27459 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27460 Remove conditional code.
27461 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27462 code.
27463 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27464 unconditional.
27465 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27466 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27467 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27468 Remove.
27469 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27470 [!__ASSUME_STD_AUXV]: Remove conditional code.
27471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27472 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27473 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27475 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27476 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27477 code.
27478 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27480 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27481 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27482 conditional code.
27483 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27485 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27486 code.
27487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27488 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27489 conditional code.
27490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27491 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27492 code unconditional.
27493 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27494 conditional code.
27495 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27496 unconditional.
27497 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27498 conditional code.
27499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27500 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27501 unconditional.
27502 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27503 conditional code.
27504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27505 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27506 code unconditional.
27507 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27508 conditional code.
27509 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27510 unconditional.
27511 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27512 conditional code.
27513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27514 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27515 code unconditional.
27516 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27517 conditional code.
27518 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27519 unconditional.
27520 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27521 conditional code.
27522
275232012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27524
27525 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27526 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27527 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27528 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27529 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27530 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27531 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27532 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27533 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27534 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27535 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27536 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27537 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27538 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27539 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27540 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27541 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27542 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27543 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27544 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27545 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27546 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27547 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27548
275492012-07-25 Florian Weimer <fweimer@redhat.com>
27550
27551 * Versions.def: Add GLIBC_2.17.
27552 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27553 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27554 Introduce __libc_secure_getenv.
27555 * stdlib/Versions (2.17): Add secure_getenv
27556 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27557 * stdlib/secure-getenv.c: Rename __secure_getenv to
27558 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27559 symbol __secure_getenv for GLIBC_2.0.
27560 * stdlib/tst-secure-getenv.c: New.
27561 * stdlib/Makefile (tests): Add testcase.
27562 * manual/startup.texi (Environment Access): Document
27563 secure_getenv.
27564 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27565 __libc_secure_getenv.
27566 * inet/ruserpass.c (ruserpass): Likewise.
27567 * malloc/mtrace.c (mtrace): Likewise.
27568 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27569 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27570 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27571 * sysdeps/posix/tempname.c: Likewise. Evaluate
27572 HAVE_SECURE_GETENV.
27573 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27574 __secure_getenv to __libc_secure_getenv.
27575 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27577 Likewise.
27578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27579 Likewise.
27580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27582 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27587
275882012-07-25 Joseph Myers <joseph@codesourcery.com>
27589
27590 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27591 (struct La_i86_retval): Likewise.
27592 (struct La_x86_64_regs): Likewise.
27593 (struct La_x86_64_retval): Likewise.
27594 (struct La_x32_regs): Likewise.
27595 (struct La_x32_retval): Likewise.
27596 (struct La_ppc32_regs): Likewise.
27597 (struct La_ppc32_retval): Likewise.
27598 (struct La_ppc64_regs): Likewise.
27599 (struct La_ppc64_retval): Likewise.
27600 (struct La_sh_regs): Likewise.
27601 (struct La_sh_retval): Likewise.
27602 (struct La_s390_32_regs): Likewise.
27603 (struct La_s390_32_retval): Likewise.
27604 (struct La_s390_64_regs): Likewise.
27605 (struct La_s390_64_retval): Likewise.
27606 (struct La_sparc32_regs): Likewise.
27607 (struct La_sparc32_retval): Likewise.
27608 (struct La_sparc64_regs): Likewise.
27609 (struct La_sparc64_retval): Likewise.
27610 (struct audit_ifaces): Remove architecture-specific pltenter and
27611 pltexit members.
27612 * sysdeps/i386/ldsodefs.h: New file.
27613 * sysdeps/powerpc/ldsodefs.h: Likewise.
27614 * sysdeps/s390/ldsodefs.h: Likewise.
27615 * sysdeps/sh/ldsodefs.h: Likewise.
27616 * sysdeps/sparc/ldsodefs.h: Likewise.
27617 * sysdeps/x86_64/ldsodefs.h: Likewise.
27618
276192012-07-25 Marek Polacek <polacek@redhat.com>
27620
27621 [BZ #6808]
27622 * math/libm-test.inc (yn_test): Add another test.
27623 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27624 to ERANGE when the result is +-Inf.
27625 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27626 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27627 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27628 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27629
276302012-07-24 Joseph Myers <joseph@codesourcery.com>
27631
27632 * conform/data/time.h-data (NULL): Use macro-constant. Require
27633 equal to 0.
27634 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27635 clock_t.
27636 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27637
276382012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27639
27640 * configure.in <sysdeps resolving>: Correct printing
27641 Implies_before.
27642 * configure: Regenerate.
27643
276442012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27645
27646 * math/w_ilogb.c: Include <limits.h>.
27647 * math/w_ilogbl.c: Likewise.
27648
276492012-07-20 Joseph Myers <joseph@codesourcery.com>
27650
27651 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27652 va_copy. Document allowing for unavailable va_copy only as
27653 pre-C99 compatibility.
27654 * manual/string.texi (Copying and Concatenation): Use va_copy
27655 instead of __va_copy in concat example.
27656
276572012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27658
27659 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27660 (__sendto): Use create_address_port. Initialize APORT and deallocate
27661 it if not null.
27662
27663 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27664 with O_NOLINK passed to __file_name_lookup.
27665
27666 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27667 with O_NOLINK passed to __file_name_lookup.
27668
27669 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27670 negative N or less than NGIDS.
27671
27672 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27673 type to string_t. Set ERANGE as errno and return it if NAME is not big
27674 enough. Use memcpy instead of strncpy.
27675
276762012-07-20 Joseph Myers <joseph@codesourcery.com>
27677
27678 * elf/Makefile (check-data): Remove.
27679 (localplt.data): New vpath directive.
27680 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27681 instead of $(check-data).
27682 * scripts/data/localplt-generic.data: Move to ...
27683 * sysdeps/generic/localplt.data: ... here.
27684 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27685 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27686 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27688 ... here.
27689 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27691 ... here.
27692 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27694 ... here.
27695 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27697 ... here.
27698 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27700 ... here.
27701 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27703 ... here.
27704
277052012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27706
27707 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27708 PPC32 and PPC64 files.
27709 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27710 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27711
277122012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27713
27714 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27715 __makecontext_ret to ...
27716 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27717 ... here and call exit if uc_link is NULL. New file.
27718 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27719 __makecontext_ret.S.
27720 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27721 __makecontext_ret to ...
27722 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27723 ... here and call exit if uc_link is NULL. New file.
27724 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27725 __makecontext_ret.S.
27726
277272012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27728
27729 * elf/elf.h (R_390_IRELATIVE): New definition.
27730 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27731 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27732 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27733 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27734 (elf_machine_lazy_rel): Likewise.
27735 * sysdeps/s390/dl-irel.h: New file.
27736 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27737 * sysdeps/s390/s390-64/memset.S: New asm code.
27738 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27739 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27740 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27741 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27742 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27743 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27744 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27745 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27746 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27747 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27748 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27749 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27750 * sysdeps/s390/s390-32/memset.S: New asm code.
27751 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27752
277532012-07-17 Marek Polacek <polacek@redhat.com>
27754
27755 [BZ #14349]
27756 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27757 * sysdeps/s390/s390-64/configure.in: Likewise.
27758 * sysdeps/sparc/configure.in: Likewise.
27759 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27760 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27761 * sysdeps/i386/configure.in: Likewise.
27762 * sysdeps/x86_64/configure.in: Likewise.
27763 * sysdeps/sh/configure.in: Likewise.
27764 * sysdeps/s390/s390-32/configure: Regenerated.
27765 * sysdeps/s390/s390-64/configure: Likewise.
27766 * sysdeps/x86_64/configure: Likewise.
27767 * sysdeps/sh/configure: Likewise.
27768 * sysdeps/powerpc/powerpc64/configure: Likewise.
27769 * sysdeps/powerpc/powerpc32/configure: Likewise.
27770 * sysdeps/sparc/configure: Likwise.
27771 * sysdeps/i386/configure: Likewise.
27772
27773 * elf/dl-open.c: Comment fixes.
27774
277752012-07-17 Joseph Myers <joseph@codesourcery.com>
27776
27777 * Makefile [CXX] (check-data): Remove.
27778 [CXX] (c++-types.data): New vpath directive.
27779 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27780 vpath. Do not allow for C++ type data being missing.
27781 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27782 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27783 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27784 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27785 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27786 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27787 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27789 ... here.
27790 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27792 ... here.
27793 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27795 ... here.
27796 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27798 ... here.
27799 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27801 ... here.
27802 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27804 ... here.
27805 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27807 ... here.
27808 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27810
27811 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27812 definitions to architecture-specific files.
27813 (TLS_IE): Likewise.
27814 (TLS_LD): Likewise.
27815 (TLS_GD): Likewise.
27816 * sysdeps/i386/tls-macros.h: New file.
27817 * sysdeps/powerpc/tls-macros.h: Likewise.
27818 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27819 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27820 * sysdeps/sh/tls-macros.h: Likewise.
27821 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27822 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27823 * sysdeps/x86_64/tls-macros.h: Likewise.
27824
278252012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27826
27827 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27828 zero value for regular exit case.
27829
27830 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27831 (__start_context): Preserve zero value for regular exit case.
27832
278332012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27834 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27835
27836 * manual/setjmp.texi (setcontext): Clarify normal process
27837 termination when uc_link is the null pointer.
27838 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27839 exit call.
27840
278412012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27842
27843 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27844 preprocessor. Test for each exception mask separately.
27845
278462012-07-16 Andreas Jaeger <aj@suse.de>
27847
27848 * po/ru.po: Update from translation team.
27849
278502012-07-15 Joseph Myers <joseph@codesourcery.com>
27851
27852 * conform/data/string.h-data (NULL): Use macro-constant. Require
27853 equal to 0.
27854 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27855 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27856 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27857 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27858 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27859
278602012-07-13 Andreas Jaeger <aj@suse.de>
27861
27862 * po/fr.po: Update from translation team.
27863
278642012-07-12 Marek Polacek <polacek@redhat.com>
27865
27866 [BZ #14173]
27867 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27868 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27869 loop condition.
27870
278712012-07-12 Joseph Myers <joseph@codesourcery.com>
27872
27873 [BZ #13717]
27874 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27875 Change to 2.4.1 where previously 2.4.0.
27876 * sysdeps/unix/sysv/linux/configure: Regenerated.
27877 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27878 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27879 version.
27880 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27881 (__ASSUME_AT_CLKTCK): Remove.
27882 (__ASSUME_AT_PAGESIZE): Likewise.
27883 (__ASSUME_AT_XID): Likewise.
27884 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27885 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27886 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27887 unconditionally.
27888 (HAVE_AUX_PAGESIZE): Likewise.
27889 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27890 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27891 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27892
278932012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27894
27895 [BZ #14307]
27896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27897 the temporary buffer used to invoke __gethostbyname2_r,
27898 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27899 host_data / struct gaih_addrtuple.
27900 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27901 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27902 header file nss/nsswitch.h.
27903 * nss/nsswitch.h (global scope): Add definition of implementation
27904 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27905 resolv/nss_dns/dns-host.c).
27906
279072012-07-11 Andreas Jaeger <aj@suse.de>
27908
27909 * po/fr.po: Update from translation team.
27910
27911 * po/sv.po: Update from translation team
27912 * po/fr.po: Another update from translation team.
27913
279142012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27915
27916 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27917 for subnormals or multiply small sinh result by itself.
27918 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27920
279212012-07-11 David S. Miller <davem@davemloft.net>
27922
27923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27924
279252012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27926
27927 [BZ #14347]
27928 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27929 (INTERNAL_MARK): Shift it here.
27930
279312012-07-10 Marek Polacek <polacek@redhat.com>
27932
27933 [BZ #14151]
27934 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27935 libc_cv_asm_global_directive with .globl.
27936 * configure: Regenerated.
27937 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27938 with .globl.
27939 * sysdeps/i386/configure: Regenerated.
27940 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27941 with .globl.
27942 * sysdeps/x86_64/configure: Regenerated.
27943 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27944 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27945 * elf/tst-unique2mod2.c: Likewise.
27946 * elf/tst-unique2mod1.c: Likewise.
27947 * elf/tst-unique1mod2.c: Likewise.
27948 * elf/tst-unique1mod1.c: Likewise.
27949 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27950 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27951 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27952 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27953 * sysdeps/mach/sysdep.h: Likewise.
27954 * sysdeps/i386/sysdep.h: Likewise.
27955 * sysdeps/i386/i386-mcount.S: Likewise.
27956 * sysdeps/x86_64/_mcount.S: Likewise.
27957 * sysdeps/x86_64/sysdep.h: Likewise.
27958 * sysdeps/sh/_mcount.S: Likewise.
27959 * sysdeps/sh/sysdep.h: Likewise.
27960 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27961 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27962 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27963 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27964 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27965 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27966 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27967 * locale/localeinfo.h: Likewise.
27968 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27969 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27970
279712012-07-09 Roland McGrath <roland@hack.frob.com>
27972
27973 [BZ #14336]
27974 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27975 system".
27976 * manual/message.texi (The Uniforum approach): Likewise.
27977 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27978 (glibc iconv Implementation): Likewise.
27979
279802012-07-09 Joseph Myers <joseph@codesourcery.com>
27981
27982 [BZ #14337]
27983 * math/s_clog.c (__clog): Avoid scaling a value down where that
27984 could result in underflow.
27985 * math/s_clog10.c (__clog10): Likewise.
27986 * math/s_clog10f.c (__clog10f): Likewise.
27987 * math/s_clog10l.c (__clog10l): Likewise.
27988 * math/s_clogf.c (__clogf): Likewise.
27989 * math/s_clogl.c (__clogl): Likewise.
27990 * math/libm-test.inc (clog_test): Add more tests.
27991 (clog10_test): Likewise.
27992 * sysdeps/i386/fpu/libm-test-ulps: Update.
27993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27994
279952012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27996
27997 [BZ #14283]
27998 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27999 by 7 not 8 to examine high bit of fractional part.
28000
28001 [BZ #14042]
28002 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28003 for call to __mcount_internal.
28004 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28005 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28006 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28007
280082012-07-06 Joseph Myers <joseph@codesourcery.com>
28009
28010 [BZ #14154]
28011 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28012 approximation for values within 0x1p-13f of an odd multiple of
28013 pi/4.
28014 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28015 exception. Add more tests.
28016 * sysdeps/i386/fpu/libm-test-ulps: Update.
28017
28018 [BZ #6778]
28019 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28020 inputs and return -1 for them. Do not check for +Inf in case not
28021 reachable for +Inf.
28022 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28023 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28024 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28025 and return -1 for them. Do not check for +Inf in case not
28026 reachable for +Inf.
28027 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28028 define.
28029 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28030 and return -1 for them. Do not check for +Inf in case not
28031 reachable for +Inf.
28032 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28033 spurious underflow.
28034 * sysdeps/i386/fpu/libm-test-ulps: Update.
28035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28036
280372012-07-06 Mike Frysinger <vapier@gentoo.org>
28038
28039 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28040
280412012-07-05 Joseph Myers <joseph@codesourcery.com>
28042
28043 [BZ #14157]
28044 [BZ #14331]
28045 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28046 could result in spurious underflow. Scale down values above
28047 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28048 * math/s_csqrtf.c (__csqrtf): Likewise.
28049 * math/s_csqrtl.c (__csqrtl): Likewise.
28050 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28051 spurious underflow.
28052 * sysdeps/i386/fpu/libm-test-ulps: Update.
28053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28054
280552012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28056
28057 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28058 xopen-msg.sed.
28059 * catgets/xopen-msg.awk: New file.
28060 * catgets/xopen-msg.sed: Removed.
28061
28062 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28063 po2text.sed.
28064 * intl/po2test.awk: New file.
28065 * intl/po2test.sed: Removed.
28066
280672012-07-04 Joseph Myers <joseph@codesourcery.com>
28068
28069 [BZ #14328]
28070 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28071 or multiply small sinh result by itself.
28072 * math/s_ctanf.c (__ctanf): Likewise.
28073 * math/s_ctanh.c (__ctanh): Likewise.
28074 * math/s_ctanhf.c (__ctanhf): Likewise.
28075 * math/s_ctanhl.c (__ctanhl): Likewise.
28076 * math/s_ctanl.c (__ctanl): Likewise.
28077 * math/libm-test.inc (ctan_test_tonearest): New function.
28078 (ctan_test_towardzero): Likewise.
28079 (ctan_test_downward): Likewise.
28080 (ctan_test_upward): Likewise.
28081 (ctanh_test_tonearest): Likewise.
28082 (ctanh_test_towardzero): Likewise.
28083 (ctanh_test_downward): Likewise.
28084 (ctanh_test_upward): Likewise.
28085 (main): Call these new functions.
28086 * sysdeps/i386/fpu/libm-test-ulps: Update.
28087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28088
280892012-07-03 Mike Frysinger <vapier@gentoo.org>
28090
28091 * .gitignore: Delete /ports entry.
28092
280932012-07-03 Andreas Jaeger <aj@suse.de>
28094
28095 * po/bg.po: Update from translation team.
28096 * po/cs.po: Likewise.
28097 * po/de.po: Likewise.
28098 * po/hr.po: Likewise.
28099 * po/nl.pl: Likewise.
28100 * po/pl.po: Likewise.
28101 * po/vi.po: Likewise.
28102
281032012-07-03 Joseph Myers <joseph@codesourcery.com>
28104
28105 * Makeconfig [!+link] (+link-before-libc): New variable.
28106 [!+link] (+link-after-libc): Likewise.
28107 [!+link] (+link-tests): Likewise.
28108 [!+link] (+link): Define in terms of $(+link-before-libc) and
28109 $(+link-after-libc).
28110 [!+link-static] (+link-static-before-libc): New variable.
28111 [!+link-static] (+link-static-after-libc): Likewise.
28112 [!+link-static] (+link-static-tests): Likewise.
28113 [!+link-static] (+link-static): Define in terms of
28114 $(+link-static-before-libc) and $(+link-static-after-libc).
28115 [build-shared] (link-libc-before-gnulib): New variable.
28116 [build-shared] (link-libc-tests): Likewise.
28117 [build-shared] (link-libc): Define in terms of
28118 $(link-libc-before-gnulib).
28119 [!build-shared] (link-libc-tests): New variable.
28120 (link-libc-static-tests): New variable.
28121 [!gnulib] (gnulib-arch): New variable.
28122 [!gnulib] (gnulib-tests): Likewise.
28123 [!gnulib] (static-gnulib-arch): Likewise.
28124 [!gnulib] (static-gnulib-tests): Likewise.
28125 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28126 Define with "=" instead of ":=".
28127 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28128 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28129 * Rules (binaries-all-notests): New variable.
28130 (binaries-all-tests): Likewise.
28131 (binaries-static-notests): Likewise.
28132 (binaries-static-tests): Likewise.
28133 (binaries-all): Define using $(binaries-all-notests) and
28134 $(binaries-all-tests).
28135 (binaries-static): Define using $(binaries-static-notests) and
28136 $(binaries-static-tests).
28137 (binaries-shared-tests): New variable.
28138 (binaries-shared-notests): Likewise.
28139 (binaries-shared): Remove variable.
28140 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28141 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28142 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28143 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28144 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28145 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28146 * elf/Makefile (sln-modules): New variable.
28147 (extra-objs): Add $(sln-modules:=.o).
28148 (ldconfig-modules): Add static-stubs.
28149 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28150 * elf/static-stubs.c: New file.
28151
28152 [BZ #14283]
28153 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28154 by 7 not 8 to examine high bit of fractional part. Use volatile
28155 variables when splitting into final array of floats if
28156 __FLT_EVAL_METHOD__ != 0.
28157 * math/libm-test.inc (cos_test): Add another test.
28158 (sin_test): Likewise.
28159 * sysdeps/i386/fpu/libm-test-ulps: Update.
28160
28161 [BZ #14273]
28162 * math/libm-test.inc (cosh_test): Add more tests.
28163
28164 * version.h (RELEASE): Set to "development".
28165 (VERSION): Set to "2.16.90".
28166
281672012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28168
28169 * NEWS: Update copyright. Remove last-updated date.
28170 Mention math library bug fixes and timezone data changes.
28171 * README: Mention GNU/Hurd, x32, and HPPA support status.
28172
281732012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28174
28175 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28176
281772012-06-27 Andreas Jaeger <aj@suse.de>
28178
28179 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28180
281812012-06-25 Andreas Jaeger <aj@suse.de>
28182
28183 * sysdeps/s390/fpu/libm-test-ulps: Update.
28184
281852012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28186 Thomas Schwinge <thomas@codesourcery.com>
28187
28188 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28189 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28190 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28191 fanotify_mark.
28192
281932012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28194
28195 * sysdeps/mach/start.c: Remove file.
28196 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28197 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28198 * sysdeps/sh/init-first.c: Likewise.
28199
28200 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28201 registers for frame unwinding purposes, add CFI directives.
28202 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28203 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28204 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28205 Likewise.
28206
28207 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28208 __fortify_fail returning.
28209 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28210
28211 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28212 sysdeps/sh/____longjmp_chk.S.
28213 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28214 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28215 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28216 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28217
28218 * sysdeps/sh/abort-instr.h: New file.
28219 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28220 process in case exit returns.
28221
28222 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28223 initialize the GOT register before use.
28224
28225 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28226 calculation of ARGC > 4.
28227
28228 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28229 meaningful names to some local labels.
28230
282312012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28232 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28233
28234 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28235 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28236 (__arch_compare_and_exchange_val_16_acq): Likewise.
28237 (__arch_compare_and_exchange_val_32_acq): Likewise.
28238 (atomic_exchange_and_add): Fix gUSA sequence.
28239 (atomic_add): Likewise.
28240 (atomic_add_negative): Likewise.
28241 (atomic_add_zero): Likewise.
28242 (atomic_bit_test_set): Likewise.
28243
282442012-06-22 Andreas Schwab <schwab@redhat.com>
28245
28246 [BZ #13579]
28247 * include/link.h (struct link_map): Add l_free_initfini.
28248 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28249 l_initfini.
28250 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28251 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28252 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28253 set.
28254
282552012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28256
28257 * configure.in: Use AC_LANG_SOURCE.
28258 * configure: Regenerate.
28259
282602012-06-22 Roland McGrath <roland@hack.frob.com>
28261
28262 * configure.in (libc_cv_localstatedir): New substituted variable.
28263 * configure: Regenerated.
28264 * config.make.in (localstatedir): New variable, substituted from
28265 libc_cv_localstatedir.
28266 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28267 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28268 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28269 * sysdeps/gnu/configure: Regenerated.
28270
282712012-06-21 Jeff Law <law@redhat.com>
28272
28273 [BZ #14277]
28274 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28275 free. Simplify list management for _LIBC case.
28276
282772012-06-21 Joseph Myers <joseph@codesourcery.com>
28278
28279 [BZ #14273]
28280 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28281 Clear sign bit of 64-bit integer value before comparing against
28282 overflow value.
28283
28284 * sysdeps/mach/configure: Regenerated.
28285
282862012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28287
28288 [BZ #14278]
28289 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28290
282912012-06-21 Jeff Law <law@redhat.com>
28292
28293 [BZ #13882]
28294 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28295 uint16_t for elements in the "seen" array to avoid char overflows.
28296 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28297 * elf/dl-open.c (dl_open_worker): Likewise.
28298
282992012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28300
28301 * scripts/list-sources.sh: Scan PORTS for translations.
28302 * po/libc.pot: Regenerated.
28303
283042012-06-21 Andreas Jaeger <aj@suse.de>
28305
28306 [BZ #12194]
28307 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28308 warning.
28309 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28310 * bits/byteswap-16.h (__bswap_16): Likewise.
28311 * bits/byteswap.h (__bswap_constant_16): Likewise.
28312
283132012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28314
28315 [BZ #14117]
28316 * sysdeps/i386/fpu_control.h: Removed.
28317 * sysdeps/x86_64/fpu_control.h: Moved to ...
28318 * sysdeps/x86/fpu_control.h: Here.
28319
28320 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28321 (_FPU_SETCW): Likewise.
28322
283232012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28324
28325 [BZ #14117]
28326 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28327 * sysdeps/x86/fpu/bits/mathinline.h: This.
28328 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28329
28330 [BZ #14050]
28331 [BZ #14117]
28332 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28333 functions if __x86_64__ is defined.
28334
283352012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28336
28337 * string/endian.h: Add !__ASSEMBLER__ condition for including
28338 conversion interfaces.
28339
283402012-06-15 Joseph Myers <joseph@codesourcery.com>
28341
28342 [BZ #14241]
28343 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28344 of ABS(x) in calculating zero to negative powers other than odd
28345 integers.
28346 * math/libm-test.inc (pow_test): Add more tests.
28347
283482012-06-15 Andreas Jaeger <aj@suse.de>
28349
28350 * manual/contrib.texi (Contributors): Update entry of Liubov
28351 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28352 Machado Filho.
28353
283542012-06-15 Cyril Hrubis <metan@ucw.cz>
28355
28356 * string/string.h: Add __wur to GNU version of strerror_r.
28357
283582012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28359
28360 [BZ #14229]
28361 * string/Makefile (tests): Add tst-strtok_r.
28362 * string/tst-strtok_r.c: New file.
28363 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28364 RAX_LP/RDX_LP on SAVE_PTR.
28365
283662012-06-14 Roland McGrath <roland@hack.frob.com>
28367
28368 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28369
283702012-06-14 Joseph Myers <joseph@codesourcery.com>
28371
28372 * libm_test.inc (csqrt_test): Allow more spurious underflow
28373 exceptions.
28374 (j0_test): Likewise.
28375 (j1_test): Likewise.
28376 (y0_test): Likewise.
28377 (y1_test): Likewise.
28378
283792012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28380
28381 * po/Makefile (libc.pot): Use UTF-8 charset.
28382
283832012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28384
28385 [BZ #14210]
28386 Suppress sign-conversion warning from FD_SET.
28387 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28388 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28389 not unsigned long int.
28390 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28391
283922012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28393
28394 [BZ #14050]
28395 [BZ #14117]
28396 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28397 __extern_always_inline instead of __extern_inline.
28398 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28399 (__signbit): Likewise.
28400 (__signbitl): Support C++ namespace.
28401 (lrintf): New inline function.
28402 (lrint): Likewise.
28403 (llrintf): Likewise.
28404 (llrint): Likewise.
28405 (fmaxf): Likewise.
28406 (fmax): Likewise.
28407 (fminf): Likewise.
28408 (fmin): Likewise.
28409 (rint): Likewise.
28410 (rintf): Likewise.
28411 (ceil): Likewise.
28412 (ceilf): Likewise.
28413 (floor): Likewise.
28414 (floorf): Likewise.
28415 (nearbyint): Likewise.
28416 (nearbyintf): Likewise.
28417
284182012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28419
28420 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28421 non-default versions.
28422
284232012-06-11 Roland McGrath <roland@hack.frob.com>
28424
28425 [BZ #14218]
28426 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28427
284282012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28429
28430 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28431 (FE_UPWARD, FE_DOWNWARD): Don't define.
28432 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28433 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28434
28435 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28436 reading it.
28437 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28438 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28439
284402012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28441
28442 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28443 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28444 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28445 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28446
284472012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28448
28449 [BZ #14117]
28450 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28451 * sysdeps/i386/fpu/Implies: New file.
28452 * sysdeps/x86_64/fpu/Implies: Likewise.
28453 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28454 * sysdeps/x86/fpu/bits/fenv.h: This.
28455
28456 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28457 __SSE_MATH__.
28458
284592012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28460
28461 [BZ #14134]
28462 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28463 character 0xffff that matches the last element of the
28464 conversion table.
28465
284662012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28467
28468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28469 fmodl commit.
28470
284712012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28472
28473 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28474 values higher than 25.6283.
28475
284762012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28477
28478 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28479 subnormal exponent extraction and add some __builtin_expect.
28480 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28481 Fix for subnormal mantissa calculation.
28482
284832012-06-04 Mike Frysinger <vapier@gentoo.org>
28484
28485 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28486 cpu2 is -1 and errno is not ENOSYS.
28487
284882012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28489
28490 [BZ #14117]
28491 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28492 * sysdeps/x86/bits/string.h: This.
28493 * sysdeps/x86_64/bits/string.h: Removed.
28494
28495 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28496 if not compiling for x86-64, but compiling for >= i486.
28497
28498 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28499 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28500
28501 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28502 New macro from Linux kernel 3.4.0.
28503 (FP_XSTATE_MAGIC2): Likewise.
28504 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28505 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28506 (struct _fpx_sw_bytes): New struct.
28507 (struct _xsave_hdr): Likewise.
28508 (struct _ymmh_state): Likewise.
28509 (struct _xstate): Likewise.
28510
28511 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28512 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28513 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28514 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28515 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28516 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28517
28518 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28519 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28520 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28521 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28522 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28523 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28524
285252012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28526
28527 [BZ #13743]
28528 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28529 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28530 (sysdep_headers): Include sys/platform/ppc.h.
28531 * sysdeps/powerpc/test-gettimebase.c: Test for
28532 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28533 * manual/Makefile (appendices): Include platform.texi.
28534 * manual/contrib.texi (Contributors): Update @node pointers.
28535 * manual/maint.texi (Maintenance): Likewise.
28536 (Platform): New node.
28537 * manual/platform.texi: New file. Document the new features.
28538
285392012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28540 Jakub Jelinek <jakub@redhat.com>
28541
28542 [BZ #14188]
28543 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28544 where __builtin_expect is unavailable.
28545
285462012-06-03 David S. Miller <davem@davemloft.net>
28547
28548 * stdlib/longlong.h: Updated from GCC.
28549
285502012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28551
28552 [BZ #14042]
28553 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28554 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28555 __mcount_internal.
28556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28557 (GLIBC_2.16): Likewise.
28558
285592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28560
28561 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28562
285632012-06-01 Joseph Myers <joseph@codesourcery.com>
28564
28565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28566 (default-abi): New variable.
28567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28568 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28569 variable.
28570 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28571 Likewise.
28572 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28573 Likewise.
28574 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28575 Likewise.
28576
28577 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28578 definition. Document in comment.
28579
285802012-06-01 David S. Miller <davem@davemloft.net>
28581
28582 * stdlib/longlong.h: Updated from GCC.
28583
285842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28585
28586 [BZ #14117]
28587 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28588 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28589 sys/debugreg.h sys/io.h here.
28590 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28591 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28592 sys/io.h.
28593 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28594 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28595 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28596 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28597 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28598 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28599
28600 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28601 Define only if __x86_64__ is defined.
28602
286032012-06-01 Joseph Myers <joseph@codesourcery.com>
28604
28605 [BZ #14048]
28606 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28607 Use int64_t for variable i.
28608 * math/libm-test.inc (fmod_test): Add more tests.
28609
28610 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28611 z computation is not scheduled after fetestexcept.
28612 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28613 Use math_force_eval instead of asm to ensure calculation scheduled
28614 before exception test.
28615 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28616 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28617
286182012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28619
28620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28621 computation is not scheduled after fetestexcept.
28622
286232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28624
28625 [BZ #14117]
28626 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28627 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28628
286292012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28630
28631 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28632 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28633
286342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28635
28636 [BZ #14117]
28637 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28638 <bits/wordsize.h>.
28639 (__WCHAR_MIN): Support __WORDSIZE == 64.
28640 (__WCHAR_MAX): Likewise.
28641
28642 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28643 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28644
28645 [BZ #14183]
28646 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28647 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28648
28649 [BZ #14117]
28650 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28651 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28652
28653 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28654 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28655
28656 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28657 Defined to 1 if __x86_64__ isn't defined.
28658 (_STAT_VER_LINUX_OLD): New.
28659 (st_atime): Remove duplicate.
28660 (st_mtime): Likewise.
28661 (st_ctime): Likewise.
28662
286632012-05-31 David S. Miller <davem@davemloft.net>
28664
28665 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28666 entries.
28667
286682012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28669
28670 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28671 gen-libm-test.pl.
28672
28673 [BZ #14132]
28674 * elf/dl-reloc.c: Include <_itoa.h>.
28675 (_dl_reloc_bad_type): Remove use of INTUSE.
28676 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28677 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28678 * stdio-common/psiginfo.c (psiginfo): Likewise.
28679 * stdio-common/psignal.c (psignal): Likewise.
28680 * string/strsignal.c (strsignal): Likewise.
28681 * include/signal.h (_sys_siglist): Declare hidden proto.
28682 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28683 INTVARDEF with libc_hidden_data_def.
28684 * stdio-common/itoa-udigits.c: Likewise.
28685 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28686 (_itoa_lower_digits_internal): Remove declaration.
28687 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28688 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28689 (_sys_sigabbrev_internal): Remove aliases.
28690 (_sys_siglist): Define hidden alias.
28691
286922012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28693
28694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28695 bits/sysctl.h.
28696
286972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28698
28699 [BZ #14117]
28700 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28701 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28702
28703 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28704 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28705 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28706 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28707 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28708 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28709
28710 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28711 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28712 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28713
28714 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28715 with __addr.
28716 (insw): Likewise.
28717 (insl): Likewise.
28718 (outsb): Likewise.
28719 (outsw): Likewise.
28720 (outsl): Likewise.
28721
28722 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28723 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28724 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28725
28726 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28727 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28728 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28729 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28730 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28731 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28732
28733 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28734 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28735
28736 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28737 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28738
28739 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28740 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28741 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28742
28743 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28744 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28745 to ...
28746 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28747
28748 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28749 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28750 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28751
28752 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28753 for x86-64.
28754 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28755
287562012-05-31 Joseph Myers <joseph@codesourcery.com>
28757
28758 * math/math.h (M_El): Use two more decimal places.
28759 (M_LOG2El): Likewise.
28760 (M_LOG10El): Likewise.
28761 (M_LN2l): Likewise.
28762 (M_LN10l): Likewise.
28763 (M_PIl): Likewise.
28764 (M_PI_2l): Likewise.
28765 (M_PI_4l): Likewise.
28766 (M_1_PIl): Likewise.
28767 (M_2_PIl): Likewise.
28768 (M_2_SQRTPIl): Likewise.
28769 (M_SQRT2l): Likewise.
28770 (M_SQRT1_2l): Likewise.
28771
287722012-05-31 David S. Miller <davem@davemloft.net>
28773
28774 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28775 values between float registers.
28776 * sysdeps/sparc/sparc64/memset.S: Likewise.
28777 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28778
287792012-05-31 Mike Frysinger <vapier@gentoo.org>
28780
28781 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28782 -D_FORTIFY_SOURCE=1.
28783 (CPPFLAGS-tst-longjmp_chk.c): Define.
28784 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28785 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28786 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28787 CFLAGS-tst-wchar-h.c.
28788
287892012-05-31 Marek Polacek <polacek@redhat.com>
28790
28791 [BZ #14132]
28792 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28793 __endmntent_internal): Remove declaration.
28794 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28795 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28796 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28797
287982012-05-30 David S. Miller <davem@davemloft.net>
28799
28800 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28801 (___Q_simulate_exceptions): Use real FP ops rather than writing
28802 into the %fsr.
28803 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28804 Likewise.
28805
288062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28807
28808 [BZ #14117]
28809 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28810 * sysdeps/x86/bits/xtitypes.h: This.
28811
28812 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28813 * sysdeps/x86/bits/wordsize.h: This.
28814
28815 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28816 * sysdeps/x86/bits/huge_vall.h: This.
28817
28818 * sysdeps/i386/bits/select.h: Removed.
28819 * sysdeps/x86_64/bits/select.h: Renamed to ...
28820 * sysdeps/x86/bits/select.h: This.
28821
28822 * sysdeps/i386/bits/setjmp.h: Removed.
28823 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28824 * sysdeps/x86/bits/setjmp.h: This.
28825
28826 * sysdeps/i386/bits/mathdef.h: Removed.
28827 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28828 * sysdeps/x86/bits/mathdef.h: This.
28829
288302012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28831
28832 [BZ #14132]
28833 * include/sys/socket.h (__connect_internal)
28834 (__libc_sa_len_internal): Remove declaration.
28835 (__connect, __libc_sa_len): Declare hidden_proto.
28836 (SA_LEN): Remove use of INTUSE.
28837 * socket/connect.c: Add libc_hidden_def.
28838 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28839 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28840 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28841 alias.
28842 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28843 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28844 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28845 of adding _internal alias.
28846
288472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28848
28849 [BZ #14117]
28850 * sysdeps/i386/bits/link.h: Removed.
28851 * sysdeps/i386/bits/linkmap.h: Likewise.
28852 * sysdeps/x86_64/bits/link.h: Renamed to ...
28853 * sysdeps/x86/bits/link.h: This.
28854 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28855 * sysdeps/x86/bits/linkmap.h: This.
28856
28857 * sysdeps/i386/bits/endian.h: Removed.
28858 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28859 * sysdeps/x86/bits/endian.h: This.
28860
28861 * sysdeps/i386/bits/byteswap.h: Removed.
28862 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28863 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28864 * sysdeps/x86/bits/byteswap.h: This.
28865 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28866 * sysdeps/x86/bits/byteswap-16.h: This.
28867 * sysdeps/i386/Implies: Add x86.
28868 * sysdeps/x86_64/Implies: Likewise.
28869
288702012-05-30 David S. Miller <davem@davemloft.net>
28871
28872 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28873 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28874 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28875 (FP_TRAPPING_EXCEPTIONS): Define.
28876 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28877 (FP_TRAPPING_EXCEPTIONS): Define.
28878 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28879 subnormals only when inexact has been signalled or underflow
28880 exceptions are enabled.
28881 (_FP_PACK_CANONICAL): Likewise.
28882
288832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28884
28885 [BZ #14183]
28886 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28887 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28888
288892012-05-30 Richard Henderson <rth@twiddle.net>
28890
28891 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28892 with #ifndef NOT_IN_libc.
28893
28894 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28895 marked to avoid plt entry.
28896
288972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28898
28899 [BZ #14112]
28900 * Makeconfig (default-abi): New macro.
28901 (abi-includes): Likewise.
28902 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28903 $(abi-$(default-abi)-lib-soname) for soname if defined.
28904 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28905 abi-variants.
28906 * Makefile (installed-stubs): Likewise.
28907 * include/stubs-biarch.h: Removed.
28908 * scripts/lib-names.awk: Only handle one library at a time.
28909 * scripts/soversions.awk: Remove WORDSIZE support.
28910 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28911 entries.
28912 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28913 Removed.
28914 (syscall-list-default-condition): Likewise.
28915 (syscall-list-default-condition): Likewise.
28916 (syscall-list-includes): Likewise.
28917 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28918 syscall-list-* with abi-*. Handle undefined abi-variants.
28919 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28920 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28921 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28922 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28923 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28924 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28925 Removed.
28926 (syscall-list-32-options): Likewise.
28927 (syscall-list-32-condition): Likewise.
28928 (syscall-list-64-options): Likewise.
28929 (syscall-list-64-condition): Likewise.
28930 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28931 macro.
28932 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28933 Renamed to ...
28934 (abi-*): This.
28935 (abi-64-ld-soname): New macro.
28936 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28937 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28938 Renamed to ...
28939 (abi-*): This.
28940 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28941 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28942
289432012-05-30 Joseph Myers <joseph@codesourcery.com>
28944
28945 * sysdeps/unix/sysv/linux/kernel-features.h
28946 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28947 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28948 include <kernel-features.h>.
28949 [!__NR_ftruncate64]: Remove conditional code.
28950 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28951 [__NR_ftruncate64]: Make code unconditional.
28952 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28953 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28954 include <kernel-features.h>.
28955 [!__NR_ftruncate64]: Remove conditional code.
28956 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28957 [__NR_ftruncate64]: Make code unconditional.
28958 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28960 include <kernel-features.h>.
28961 [!__NR_ftruncate64]: Remove conditional code.
28962 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28963 [__NR_ftruncate64]: Make code unconditional.
28964 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28966 include <kernel-features.h>.
28967 [!__NR_ftruncate64]: Remove conditional code.
28968 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28969 [__NR_ftruncate64]: Make code unconditional.
28970 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28971
28972 * configure.in (libc_cv_fpie): Weaken to a compile test using
28973 LIBC_TRY_CC_OPTION.
28974 * configure: Regenerated.
28975
289762012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28977
28978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28982 Refreshed.
28983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28989 Refreshed.
28990
289912012-05-27 David S. Miller <davem@davemloft.net>
28992
28993 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28994 (___Q_zero): New.
28995 (__Q_simulate_exceptions): Return void. Change to simulate
28996 exceptions by writing into the %fsr.
28997 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28998 (__Qp_handle_exceptions): Likewise.
28999 (numbers): Delete.
29000 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29001 __Qp_handle_exceptions.
29002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29003 __Qp_handle_exceptions.
29004 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29005 as unused and give dummy FP_RND_NEAREST initializer.
29006 (FP_INHIBIT_RESULTS): Define.
29007 (___Q_simulate_exceptions): Update declaration.
29008 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29009 formatting.
29010 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29011 as unused and give dummy FP_RND_NEAREST initializer.
29012 (__Qp_handle_exceptions): Update declaration.
29013 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29014 formatting.
29015
290162012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29017
29018 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29019 the temporary FPU control word.
29020 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29021 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29022 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29023 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29024 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29025 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29026 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29027 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29028 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29029 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29030 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29031
290322012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29033
29034 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29035 fields.
29036
290372012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29038
29039 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29040 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29041 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29042 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29043 Likewise.
29044 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29045 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29046 Likewise.
29047
290482012-05-27 Ulrich Drepper <drepper@gmail.com>
29049
29050 * po/h.po: Update from translation team.
29051
290522012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29053
29054 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29055
29056 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29057 handling of denormals.
29058 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29059 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29060 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29061 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29062 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29063 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29064 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29065 Likewise.
29066
290672012-05-26 Marek Polacek <polacek@redhat.com>
29068
29069 [BZ #14152]
29070 * math/libm-test.inc (fma_test): Don't always expect underflow
29071 exception.
29072
290732012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29074
29075 [BZ #12416]
29076 * elf/tst-execstack.c: Include stackinfo.h.
29077 (do_test): Adjust test case to ensure that pthread_getattr_np
29078 behaviour remains the same after marking stack executable.
29079
290802012-05-25 Joseph Myers <joseph@codesourcery.com>
29081
29082 * sysdeps/unix/sysv/linux/kernel-features.h
29083 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29084 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29085 kernel-features.h.
29086 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29087 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29088 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29089 kernel-features.h.
29090 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29091 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29092
290932012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29094
29095 * configure.in: Define the default includes to being none.
29096 * configure: Regenerated.
29097
290982012-05-25 Roland McGrath <roland@hack.frob.com>
29099
29100 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29101 * sysdeps/x86_64/setjmp.S: Likewise.
29102 * sysdeps/i386/bsd-setjmp.S: Likewise.
29103 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29104 * sysdeps/i386/setjmp.S: Likewise.
29105 * sysdeps/i386/__longjmp.S: Likewise.
29106 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29107 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29108
29109 * include/stap-probe.h: New file.
29110 * configure.in: Handle --enable-systemtap.
29111 * configure: Regenerated.
29112 * config.h.in (USE_STAP_PROBE): New #undef.
29113 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29114 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29115 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29116
291172012-05-25 Joseph Myers <joseph@codesourcery.com>
29118
29119 [BZ #13717]
29120 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29121 to 2.4.0 where earlier.
29122 * sysdeps/unix/sysv/linux/configure: Regenerated.
29123 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29124 <kernel-features.h>.
29125 [__ASSUME_32BITUIDS]: Make code unconditional.
29126 [!__ASSUME_32BITUIDS]: Remove conditional code.
29127 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29128 <kernel-features.h>.
29129 [__ASSUME_32BITUIDS]: Make code unconditional.
29130 [!__ASSUME_32BITUIDS]: Remove conditional code.
29131 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29132 [__ASSUME_32BITUIDS]: Make code unconditional.
29133 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29134 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29135 <kernel-features.h>.
29136 [__ASSUME_32BITUIDS]: Make code unconditional.
29137 [!__ASSUME_32BITUIDS]: Remove conditional code.
29138 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29139 <kernel-features.h>.
29140 [__ASSUME_32BITUIDS]: Make code unconditional.
29141 [!__ASSUME_32BITUIDS]: Remove conditional code.
29142 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29143 <kernel-features.h>.
29144 [__ASSUME_32BITUIDS]: Make code unconditional.
29145 [!__ASSUME_32BITUIDS]: Remove conditional code.
29146 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29147 <kernel-features.h>.
29148 [__ASSUME_32BITUIDS]: Make code unconditional.
29149 [!__ASSUME_32BITUIDS]: Remove conditional code.
29150 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29151 <kernel-features.h>.
29152 [__ASSUME_32BITUIDS]: Make code unconditional.
29153 [!__ASSUME_32BITUIDS]: Remove conditional code.
29154 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29155 <kernel-features.h>.
29156 [__ASSUME_32BITUIDS]: Make code unconditional.
29157 [!__ASSUME_32BITUIDS]: Remove conditional code.
29158 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29159 <kernel-features.h>.
29160 [__ASSUME_32BITUIDS]: Make code unconditional.
29161 [!__ASSUME_32BITUIDS]: Remove conditional code.
29162 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29163 <kernel-features.h>.
29164 [__ASSUME_32BITUIDS]: Make code unconditional.
29165 [!__ASSUME_32BITUIDS]: Remove conditional code.
29166 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29167 <kernel-features.h>.
29168 [__ASSUME_32BITUIDS]: Make code unconditional.
29169 [!__ASSUME_32BITUIDS]: Remove conditional code.
29170 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29171 <kernel-features.h>.
29172 [__ASSUME_32BITUIDS]: Make code unconditional.
29173 [!__ASSUME_32BITUIDS]: Remove conditional code.
29174 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29175 <kernel-features.h>.
29176 [__NR_setresgid] (__setresgid): Do not declare.
29177 [__ASSUME_32BITUIDS]: Make code unconditional.
29178 [!__ASSUME_32BITUIDS]: Remove conditional code.
29179 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29180 <kernel-features.h>.
29181 [__NR_setresuid] (__setresuid): Do not declare.
29182 [__ASSUME_32BITUIDS]: Make code unconditional.
29183 [!__ASSUME_32BITUIDS]: Remove conditional code.
29184 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29185 <kernel-features.h>.
29186 [__ASSUME_32BITUIDS]: Make code unconditional.
29187 [!__ASSUME_32BITUIDS]: Remove conditional code.
29188 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29189 <kernel-features.h>.
29190 [__ASSUME_32BITUIDS]: Make code unconditional.
29191 [!__ASSUME_32BITUIDS]: Remove conditional code.
29192 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29193 <kernel-features.h>.
29194 [__ASSUME_32BITUIDS]: Make code unconditional.
29195 [!__ASSUME_32BITUIDS]: Remove conditional code.
29196 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29197 <kernel-features.h>.
29198 [__ASSUME_32BITUIDS]: Make code unconditional.
29199 [!__ASSUME_32BITUIDS]: Remove conditional code.
29200 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29201 <kernel-features.h>.
29202 [__ASSUME_32BITUIDS]: Make code unconditional.
29203 [!__ASSUME_32BITUIDS]: Remove conditional code.
29204 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29205 <kernel-features.h>.
29206 [__ASSUME_32BITUIDS]: Make code unconditional.
29207 [!__ASSUME_32BITUIDS]: Remove conditional code.
29208 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29209 <kernel-features.h>.
29210 [__ASSUME_32BITUIDS]: Make code unconditional.
29211 [!__ASSUME_32BITUIDS]: Remove conditional code.
29212 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29213 <kernel-features.h>.
29214 [__ASSUME_32BITUIDS]: Make code unconditional.
29215 [!__ASSUME_32BITUIDS]: Remove conditional code.
29216 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29217 <kernel-features.h>.
29218 [__ASSUME_32BITUIDS]: Make code unconditional.
29219 [!__ASSUME_32BITUIDS]: Remove conditional code.
29220 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29221 <kernel-features.h>.
29222 [__ASSUME_32BITUIDS]: Make code unconditional.
29223 [!__ASSUME_32BITUIDS]: Remove conditional code.
29224 * sysdeps/unix/sysv/linux/kernel-features.h
29225 (__ASSUME_SETRESUID_SYSCALL): Remove.
29226 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29227 (__ASSUME_32BITUIDS): Likewise.
29228 (__ASSUME_LDT_WORKS): Likewise.
29229 (__ASSUME_O_DIRECTORY): Likewise.
29230 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29231 architecture but not kernel version.
29232 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29233 (__ASSUME_MMAP2_SYSCALL): Likewise.
29234 (__ASSUME_STAT64_SYSCALL): Likewise.
29235 (__ASSUME_IPC64): Likewise.
29236 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29237 <kernel-features.h>.
29238 [__ASSUME_32BITUIDS]: Make code unconditional.
29239 [!__ASSUME_32BITUIDS]: Remove conditional code.
29240 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29241 <kernel-features.h>.
29242 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29243 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29244 132096]: Remove conditional code.
29245 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29246 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29247 <kernel-features.h>.
29248 [__ASSUME_32BITUIDS]: Make code unconditional.
29249 [!__ASSUME_32BITUIDS]: Remove conditional code.
29250 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29251 <kernel-features.h>.
29252 [__ASSUME_32BITUIDS]: Make code unconditional.
29253 [!__ASSUME_32BITUIDS]: Remove conditional code.
29254 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29255 <kernel-features.h>.
29256 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29257 unconditional.
29258 (__setresgid): Do not declare.
29259 [__ASSUME_32BITUIDS]: Make code unconditional.
29260 [!__ASSUME_32BITUIDS]: Remove conditional code.
29261 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29262 <kernel-features.h>.
29263 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29264 unconditional.
29265 (__setresuid): Do not declare.
29266 [__ASSUME_32BITUIDS]: Make code unconditional.
29267 [!__ASSUME_32BITUIDS]: Remove conditional code.
29268 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29269 <kernel-features.h>.
29270 [__ASSUME_32BITUIDS]: Make code unconditional.
29271 [!__ASSUME_32BITUIDS]: Remove conditional code.
29272 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29273 <kernel-features.h>.
29274 [__ASSUME_32BITUIDS]: Make code unconditional.
29275 [!__ASSUME_32BITUIDS]: Remove conditional code.
29276
292772012-05-25 Richard Henderson <rth@twiddle.net>
29278
29279 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29280 dl_hwcap to ifunc resolver.
29281 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29282 elf_ifunc_invoke.
29283 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29284 dl_hwcap to ifunc resolver.
29285 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29286
292872012-05-24 Joseph Myers <joseph@codesourcery.com>
29288
29289 [BZ #14153]
29290 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29291 for |x| <= 2**-26, not 2**-57.
29292 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29293 exception.
29294
292952012-05-24 Jeff Law <law@redhat.com>
29296
29297 * stdio-common/Makefile (tests): Add bug25.
29298 * stdio-common/bug25.c: New test.
29299
293002012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29301
29302 [BZ #13576]
29303 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29304 multiple of MALLOC_ALIGNMENT in size.
29305 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29306
293072012-05-24 Joseph Myers <joseph@codesourcery.com>
29308
29309 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29310 Require >= 256.
29311 (FILENAME_MAX): Use macro-int-constant.
29312 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29313 (_IOFBF): Use macro-int-constant.
29314 (_IOLBF): Likewise.
29315 (_IONBF): Likewise.
29316 (SEEK_CUR): Likewise.
29317 (SEEK_END): Likewise.
29318 (SEEK_SET): Likewise.
29319 (TMP_MAX): Likewise.
29320 (EOF): Use macro-int-constant. Require < 0.
29321 (NULL): Use macro-constant. Require == 0.
29322 (stdin): Require type to be FILE *.
29323 (stdout): Likewise.
29324 (stderr): Likewise.
29325 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29326 macro-int-constant.
29327 (EXIT_SUCCESS): Likewise.
29328 (NULL): Use macro-constant. Require == 0.
29329 (RAND_MAX): Use macro-int-constant.
29330 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29331 [C99-based standards] (strtof): Require function.
29332 [C99-based standards] (strtold): Likewise.
29333 [C99-based standards] (strtoll): Likewise.
29334 [C99-based standards] (strtoull): Likewise.
29335 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29336 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29337 [ISO || ISO99 || ISO11] (math.h): Likewise.
29338 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29339 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29341
293422012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29343
29344 [BZ #14132]
29345 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29346 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29347 * intl/dgettext.c (DCGETTEXT): Likewise.
29348 * intl/gettext.c (DCGETTEXT): Likewise.
29349 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29350 * posix/regex_internal.h (gettext): Likewise.
29351 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29352 Remove declaration.
29353 * include/argz.h (__argz_count_internal)
29354 (__argz_stringify_internal): Remove declaration.
29355 (__argz_count, __argz_stringify): Declare hidden proto.
29356 * intl/dcgettext.c: Remove use of INTDEF.
29357 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29358 * string/argz-stringify.c: Likewise.
29359 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29360 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29361 Declare hidden proto.
29362 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29363 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29364 Declare hidden proto.
29365 * include/stdio.h (__asprintf_internal): Don't declare.
29366 (__asprintf): Don't define as macro. Declare hidden proto.
29367 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29368 (__fsetlocking): Declare hidden proto.
29369 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29370 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29371 hidden proto.
29372 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29373 (_IO_setlinebuf): Remove use of INTUSE.
29374 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29375 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29376 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29377 Remove declaration.
29378 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29379 (_IO_do_flush): Remove use of INTUSE.
29380 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29381 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29382 (_IO_adjust_column, _IO_least_wmarker)
29383 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29384 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29385 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29386 (_IO_default_doallocate, _IO_wdefault_doallocate)
29387 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29388 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29389 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29390 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29391 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29392 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29393 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29394 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29395 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29396 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29397 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29398 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29399 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29400 proto.
29401 (_IO_flush_all_internal, _IO_adjust_column_internal)
29402 (_IO_default_uflow_internal, _IO_default_finish_internal)
29403 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29404 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29405 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29406 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29407 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29408 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29409 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29410 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29411 (_IO_file_close_internal, _IO_file_close_it_internal)
29412 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29413 (_IO_file_init_internal, _IO_file_attach_internal)
29414 (_IO_file_fopen_internal, _IO_file_read_internal)
29415 (_IO_file_sync_internal, _IO_file_seek_internal)
29416 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29417 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29418 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29419 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29420 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29421 (_IO_list_all_internal, _IO_link_in_internal)
29422 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29423 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29424 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29425 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29426 (_IO_do_write_internal, _IO_padn_internal)
29427 (_IO_getline_info_internal, _IO_getline_internal)
29428 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29429 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29430 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29431 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29432 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29433 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29434 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29435 with libc_hidden_ver, remove use of INTUSE.
29436 * libio/genops.c: Likewise.
29437 * libio/freopen.c: Likewise.
29438 * libio/freopen64.c: Likewise.
29439 * libio/iofclose.c: Likewise.
29440 * libio/iofdopen.c: Likewise.
29441 * libio/iofflush.c: Likewise.
29442 * libio/iofflush_u.c: Likewise.
29443 * libio/iofgets.c: Likewise.
29444 * libio/iofgets_u.c: Likewise.
29445 * libio/iofopen.c: Likewise.
29446 * libio/iofopncook.c: Likewise.
29447 * libio/iofread.c: Likewise.
29448 * libio/iofread_u.c: Likewise.
29449 * libio/ioftell.c: Likewise.
29450 * libio/iofwrite.c: Likewise.
29451 * libio/iogetline.c: Likewise.
29452 * libio/iogets.c: Likewise.
29453 * libio/iogetwline.c: Likewise.
29454 * libio/iopadn.c: Likewise.
29455 * libio/iopopen.c: Likewise.
29456 * libio/ioseekoff.c: Likewise.
29457 * libio/ioseekpos.c: Likewise.
29458 * libio/iosetbuffer.c: Likewise.
29459 * libio/iosetvbuf.c: Likewise.
29460 * libio/ioungetc.c: Likewise.
29461 * libio/ioungetwc.c: Likewise.
29462 * libio/iovdprintf.c: Likewise.
29463 * libio/iovsprintf.c: Likewise.
29464 * libio/iovsscanf.c: Likewise.
29465 * libio/memstream.c: Likewise.
29466 * libio/obprintf.c: Likewise.
29467 * libio/oldfileops.c: Likewise.
29468 * libio/oldiofclose.c: Likewise.
29469 * libio/oldiofdopen.c: Likewise.
29470 * libio/oldiofopen.c: Likewise.
29471 * libio/oldiopopen.c: Likewise.
29472 * libio/oldstdfiles.c: Likewise.
29473 * libio/putc.c: Likewise.
29474 * libio/setbuf.c: Likewise.
29475 * libio/setlinebuf.c: Likewise.
29476 * libio/stdfiles.c: Likewise.
29477 * libio/strops.c: Likewise.
29478 * libio/vasprintf.c: Likewise.
29479 * libio/vscanf.c: Likewise.
29480 * libio/vsnprintf.c: Likewise.
29481 * libio/vswprintf.c: Likewise.
29482 * libio/wfiledoalloc.c: Likewise.
29483 * libio/wfileops.c: Likewise.
29484 * libio/wgenops.c: Likewise.
29485 * libio/wmemstream.c: Likewise.
29486 * libio/wstrops.c: Likewise.
29487 * libio/__fpurge.c: Likewise.
29488 * libio/__fsetlocking.c: Likewise.
29489 * assert/assert.c: Likewise.
29490 * debug/fgets_chk.c: Likewise.
29491 * debug/fgets_u_chk.c: Likewise.
29492 * debug/fread_chk.c: Likewise.
29493 * debug/fread_u_chk.c: Likewise.
29494 * debug/gets_chk.c: Likewise.
29495 * debug/obprintf_chk.c: Likewise.
29496 * debug/vasprintf_chk.c: Likewise.
29497 * debug/vdprintf_chk.c: Likewise.
29498 * debug/vsnprintf_chk.c: Likewise.
29499 * debug/vsprintf_chk.c: Likewise.
29500 * malloc/mtrace.c: Likewise.
29501 * misc/error.c: Likewise.
29502 * misc/syslog.c: Likewise.
29503 * stdio-common/asprintf.c: Likewise.
29504 * stdio-common/fxprintf.c: Likewise.
29505 * stdio-common/getw.c: Likewise.
29506 * stdio-common/isoc99_fscanf.c: Likewise.
29507 * stdio-common/isoc99_scanf.c: Likewise.
29508 * stdio-common/isoc99_vfscanf.c: Likewise.
29509 * stdio-common/isoc99_vscanf.c: Likewise.
29510 * stdio-common/isoc99_vsscanf.c: Likewise.
29511 * stdio-common/printf-prs.c: Likewise.
29512 * stdio-common/printf_fp.c: Likewise.
29513 * stdio-common/printf_fphex.c: Likewise.
29514 * stdio-common/printf_size.c: Likewise.
29515 * stdio-common/putw.c: Likewise.
29516 * stdio-common/scanf.c: Likewise.
29517 * stdio-common/sprintf.c: Likewise.
29518 * stdio-common/tmpfile.c: Likewise.
29519 * stdio-common/vfprintf.c: Likewise.
29520 * stdio-common/vfscanf.c: Likewise.
29521 * stdlib/strfmon_l.c: Likewise.
29522 * sunrpc/openchild.c: Likewise.
29523 * sunrpc/xdr_stdio.c: Likewise.
29524 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29525 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29526
295272012-05-24 Roland McGrath <roland@hack.frob.com>
29528
29529 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29530
29531 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29532 in the third column, to generate for the shared library an IFUNC
29533 that uses _dl_vdso_vsym.
29534 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29535 * Makeconfig (object-suffixes-noshared): New variable.
29536
29537 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29538 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29539 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29540 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29541
29542 [BZ #14132]
29543 * include/sys/time.h (__gettimeofday): Remove macro.
29544 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29545 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29546 Remove INTDEF.
29547 (__gettimeofday): Add libc_hidden_def.
29548 (gettimeofday): Add libc_hidden_weak.
29549 * sysdeps/mach/gettimeofday.c: Likewise.
29550 * sysdeps/posix/gettimeofday.c: Likewise.
29551 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29552 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29553 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29554 (__gettimeofday_internal): Remove strong_alias.
29555 (__gettimeofday): Add libc_hidden_def.
29556 (gettimeofday): Add libc_hidden_weak.
29557 * sysdeps/unix/syscalls.list (gettimeofday):
29558 Remove __gettimeofday_internal alias.
29559
295602012-05-24 Daniel Jacobowitz <drow@false.org>
29561 H.J. Lu <hongjiu.lu@intel.com>
29562
29563 [BZ #12495]
29564 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29565 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29566 (largebin_index_32_big): New.
29567 (largebin_index): Use it for 16-byte alignment.
29568 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29569 correction with front_misalign.
29570
295712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29572
29573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29575 Likewise.
29576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29577 Likewise.
29578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29579 Likewise.
29580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29581 Likewise.
29582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29583 Likewise.
29584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29585 Likewise.
29586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29587 Likewise.
29588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29589 Likewise.
29590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29591 Likewise.
29592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29593 Likewise.
29594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29595 Likewise.
29596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29597 Likewise.
29598
29599 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29600 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29601
296022012-05-24 Joseph Myers <joseph@codesourcery.com>
29603
29604 [BZ #10846]
29605 [BZ #14036]
29606 * math/libm-test.inc (exp_test): Add test from bug 14036.
29607 (pow_test): Add test from bug 10846.
29608
29609 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29610 and other flags.
29611 (special_function): Do not include flags in test name.
29612 (parse_args): Likewise.
29613 * sysdeps/i386/fpu/libm-test-ulps: Update.
29614 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29615 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29616 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29618
29619 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29620 exceptions.
29621 * math/libm-test.inc ("Philosophy"): Update comment about
29622 exception testing.
29623 (UNDERFLOW_EXCEPTION): New macro.
29624 (UNDERFLOW_EXCEPTION_OK): Likewise.
29625 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29626 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29627 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29628 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29629 (INVALID_EXCEPTION_OK): Update value.
29630 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29631 (OVERFLOW_EXCEPTION_OK): Likewise.
29632 (IGNORE_ZERO_INF_SIGN): Likewise.
29633 (test_exceptions): Handle underflow exceptions.
29634 (acos_test): Update for underflow exception expectations.
29635 (cexp_test): Likewise.
29636 (clog_test): Likewise.
29637 (clog10_test): Likewise.
29638 (csqrt_test): Likewise.
29639 (ctan_test): Likewise.
29640 (ctanh_test): Likewise.
29641 (exp_test): Likewise.
29642 (exp10_test): Likewise.
29643 (exp2_test): Likewise.
29644 (expm1_test): Likewise.
29645 (fma_test): Likewise.
29646 (j0_test): Likewise.
29647 (jn_test): Likewise.
29648 (nexttoward_test): Likewise.
29649 (pow_test): Likewise.
29650 (scalbn_test): Likewise.
29651 (scalbln_test): Likewise.
29652 (tan_test): Likewise.
29653 (y1_test): Likewise.
29654 * sysdeps/i386/fpu/libm-test-ulps: Update.
29655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29656
296572012-05-23 David S. Miller <davem@davemloft.net>
29658
29659 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29660 (__libc_sigaction): Remove unused local variables.
29661
296622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29663
29664 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29665
296662012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29667
29668 mktime: avoid signed integer overflow
29669 * time/mktime.c (__mktime_internal): Do not mishandle the case
29670 where diff == INT_MIN.
29671
29672 mktime: simplify computation of average
29673 * time/mktime.c (ranged_convert): Use new time_t_avg function
29674 instead of rolling our own (probably-slower) code.
29675
29676 mktime: do not assume signed right shift propagates sign bit
29677 * time/mktime.c (isdst_differ): New static function.
29678 (__mktime_internal): No need to normalize tm_isdst now.
29679 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29680 tm_isdst values.
29681
29682 mktime: merge another wrapv change from gnulib
29683 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29684 from some compilers.
29685
29686 mktime: remove incorrect attempt at unusual arithmetics
29687 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29688 The code didn't really work on such machines anyway.
29689 (TYPE_MINIMUM): Assume two's complement.
29690 (twos_complement_arithmetic): Verify that long_int and time_t
29691 are two's complement (or unsigned, in the latter case).
29692
29693 mktime: check signed shifts on long_int and time_t, too
29694 * time/mktime.c (SHR): Check that shifts work as desired
29695 on the types long_int and time_t too, as SHR is used on
29696 such types.
29697
29698 mktime: do not assume 'long' is wide enough
29699 * time/mktime.c (verify): Move decl up.
29700 (long_int): New type.
29701 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29702 to remove assumption in the code that 'long' is wide enough to
29703 store year values. This assumption is not true on x32 and on
29704 some non-glibc platforms.
29705
29706 mktime: merge wrapv change from gnulib
29707 * time/mktime.c (WRAPV): New macro.
29708 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29709 (guess_time_tm, __mktime_internal): Do not assume that signed
29710 integer overflow wraps around; modern compilers generate code
29711 where this assumption is no longer valid.
29712
297132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29714
29715 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29716 Replace "jmp L(pseudo_end)" with "ret".
29717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29718 Likewise.
29719
297202012-05-23 Andreas Jaeger <aj@suse.de>
29721
29722 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29723 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29724
297252012-05-23 Andreas Jaeger <aj@suse.de>
29726 Maximilian Attems <max@stro.at>
29727
29728 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29729 New macros.
29730
297312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29732
29733 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29734 code so that pseudo_end is just ret and the stack pointer is
29735 correct also for static library in error case.
29736
297372012-05-23 Joseph Myers <joseph@codesourcery.com>
29738
29739 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29740 move to syscalls.list.
29741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29745
29746 * manual/install.texi (Running make install): Do not mention Linux
29747 kernel version for which pt_chown is not needed.
29748 (Linux): Do not mention problems with nscd with 2.0 kernels.
29749 * INSTALL: Regenerated.
29750
297512012-05-23 Andreas Jaeger <aj@suse.de>
29752
29753 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29754 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29755 macro.
29756 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29757 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29758 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29759 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29760 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29761 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29762 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29763 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29764 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29765 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29766 * sysdeps/unix/sysv/linux/bits/in.h
29767 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29768
297692012-05-22 Roland McGrath <roland@hack.frob.com>
29770
29771 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29772 (PREPARE_VERSION): Just use assert instead, it will be elided
29773 under [NDEBUG] anyway.
29774
297752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29776
29777 * sysdeps/unix/sysv/linux/Makefile: Include
29778 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29779 (sysdep_routines): Remove sysctl.
29780 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29781 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29782 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29783 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29784 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29785
297862012-05-22 Andreas Jaeger <aj@suse.de>
29787
29788 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29789 that pseudo_end is just ret and the stack pointer is correct also
29790 for static library in error case.
29791
297922012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29793
29794 [BZ #14122]
29795 * nss/nsswitch.c (defconfig_entries): New variable.
29796 (__nss_database_lookup): Don't leak defconfig entries.
29797 (nss_parse_service_list): Don't leak on error paths.
29798 (free_database_entries): New function.
29799 (free_defconfig): New function.
29800 (free_mem): Move common code to free_database_entries.
29801
298022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29803
29804 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29805 Add arch_prctl.
29806 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29807
29808 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29809 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29811 New macro.
29812 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29813 (INTERNAL_SYSCALL_TYPES): Likewise.
29814 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29815 (LOAD_REGS_TYPES_[1-6]): Likewise.
29816 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29817 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29818
298192012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29820
29821 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29822 copysignl for GLIBC_2_0.
29823 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29824 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29825 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29826 logbl for GLIBC_2_0.
29827 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29828 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29829
298302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29831
29832 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29833 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29834
29835 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29836 Use "neg %eax".
29837
29838 * time/mktime.c: Update copyright years.
29839
298402012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29841
29842 mktime: merge comment-quoting-style change from gnulib
29843 * time/mktime.c: Quote 'like this' in comments.
29844 The GNU coding standards suggest that we no longer quote `like this',
29845 as "`" and "'" are typically rendered asymmetrically nowadays.
29846 The typical gnulib style is to quote 'like this' when quoting
29847 code, and "like this" when quoting English.
29848
29849 * time/mktime.c (compile-command): Add "-I.".
29850
29851 mktime: merge mktime-internal.h change from gnulib
29852 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29853
29854 mktime: merge time_r change from gnulib
29855 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29856
29857 mktime: merge DEBUG change from gnulib
29858 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29859 case system <time.h> has a #define.
29860
29861 mktime: merge <sys/types.h> change from gnulib
29862 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29863 since <time.t> is now guaranteed to define time_t.
29864
29865 mktime: merge HAVE_CONFIG_H change from gnulib
29866 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29867
298682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29869
29870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29871 Use "neg %eax".
29872
29873 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29874 __rlim_t cast.
29875 (struct rusage): Use anonymous union to pad each field to
29876 __syscall_slong_t.
29877
298782012-05-21 David S. Miller <davem@davemloft.net>
29879
29880 * Makefules (o-iterator): Remove .s cases.
29881 (compile-command.s): Delete.
29882 (COMPILE.s): Delete.
29883 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29884
298852012-05-21 Joseph Myers <joseph@codesourcery.com>
29886
29887 * configure.in (libc_cv_predef_stack_protector): Only consider
29888 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29889 * configure: Regenerated.
29890
298912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29892
29893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29894 New macro. Use R*LP on int and pointer.
29895 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29896 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29897 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29898 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29899
29900 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29901 [__WORDSIZE_TIME64_COMPAT32] instead of
29902 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29903 (struct utmp): Likewise.
29904 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29905 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29906 Renamed to ...
29907 (__WORDSIZE_TIME64_COMPAT32): This.
29908 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29909 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29910 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29911 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29912 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29913 (__WORDSIZE_TIME64_COMPAT32): New macro.
29914
299152012-05-21 Andreas Jaeger <aj@suse.de>
29916
29917 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29918 only if [SHARED]. Add prototype for __wcschr_ia32.
29919
299202012-05-21 Roland McGrath <roland@hack.frob.com>
29921
29922 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29923 of %rbp unmolested in the jmp_buf while mangling the low bits.
29924 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29925 unmolested high bits of %rbp while demangling the low bits.
29926 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29927
299282012-05-21 Andreas Jaeger <aj@suse.de>
29929
29930 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29931 * sunrpc/svc_simple.c: Use it for registerrpc.
29932 * sunrpc/xcrypt.c: Use it for passwd2des.
29933
29934 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29935
299362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29937
29938 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29939 Don't define if [__SYSCALL_WORDSIZE != 32].
29940 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29941 New macro.
29942
299432012-05-21 Bruno Haible <bruno@clisp.org>
29944 Andreas Jaeger <aj@suse.de>
29945
29946 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29947 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29948 inptr and inend for must_buffer_ch.
29949 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29950 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29951 * stdio-common/Makefile (tests): Remove bug15.
29952 (bug15-ENV): Remove macro.
29953 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29954 anymore.
29955
299562012-05-19 Andreas Jaeger <aj@suse.de>
29957 Roland McGrath <roland@hack.frob.com>
29958
29959 * manual/contrib.texi: Completely rewritten. It contains now an
29960 alphabetical list of contributors and their contributions.
29961
299622012-05-21 Richard Henderson <rth@twiddle.net>
29963
29964 * misc/getauxval.c (__getauxval): Use unsigned long int.
29965 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29966 (getauxval): Use unsigned long int.
29967
299682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29969
29970 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29971
299722012-05-21 Roland McGrath <roland@hack.frob.com>
29973
29974 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29975 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29976 __alignof__ (long double).
29977
299782012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29979
29980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29981
299822012-05-20 Richard Henderson <rth@twiddle.net>
29983
29984 * misc/getauxval.c: New file.
29985 * misc/sys/auxv.h: New file.
29986 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29987 (routines): Add getauxval.
29988 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29989 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29990 * elf/dl-sysdep.c (_dl_auxv): Remove.
29991 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29992 * elf/dl-support.c (_dl_auxv): New variable.
29993 (_dl_aux_init): Initialize it.
29994 * manual/startup.texi (Auxiliary Vector): New node.
29995 * sysdeps/generic/bits/hwcap.h: New file.
29996 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29997 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29998 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29999 * sysdeps/sparc/sysdep.h: ... here. Include it.
30000 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30001 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30003 Update.
30004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30007 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30012
300132012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30014
30015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30016
300172012-05-19 David S. Miller <davem@davemloft.net>
30018
30019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30020
300212012-05-19 Joseph Myers <joseph@codesourcery.com>
30022
30023 [BZ #14123]
30024 * math/s_ccosh.c: Include <float.h>
30025 (__ccosh): Avoid internal overflow calculating sinh and cosh
30026 values before multiplying by sin and cos values.
30027 * math/s_ccoshf.c: Likewise.
30028 * math/s_ccoshl.c: Likewise.
30029 * math/s_csin.c: Likewise.
30030 * math/s_csinf.c: Likewise.
30031 * math/s_csinl.c: Likewise.
30032 * math/s_csinh.c: Likewise.
30033 * math/s_csinhf.c: Likewise.
30034 * math/s_csinhl.c: Likewise.
30035 * math/libm-test.inc (ccos_test): Add more tests.
30036 (ccosh_test): Likewise.
30037 (csin_test): Likewise.
30038 (csinh_test): Likewise.
30039 * sysdeps/i386/fpu/libm-test-ulps: Update.
30040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30041
300422012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30043
30044 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30045 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30046
30047 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30048
300492012-05-19 Joseph Myers <joseph@codesourcery.com>
30050
30051 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30052 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30053 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30054 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30055 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30056 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30057 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30058 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30059 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30060 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30061 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30062 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30063 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30064 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30065 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30066 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30067 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30068 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30069 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30070 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30071 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30072 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30073 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30074 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30075 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30076 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30077 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30078 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30079 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30080 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30081 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30082
300832012-05-18 Andreas Jaeger <aj@suse.de>
30084
30085 * csu/.gitignore: Delete.
30086
300872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30088
30089 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30090 (timex): Use __syscall_slong_t.
30091
300922012-05-18 Andreas Jaeger <aj@suse.de>
30093 Carlos O'Donell <carlos_odonell@mentor.com>
30094
30095 * manual/install.texi (Configuring and compiling): Update
30096 description about files modified in the source directory.
30097 * INSTALL: Regenerated.
30098
300992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30100
30101 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30102 value. Use "or" to set return value to -1.
30103 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30104 negate return value.
30105
301062012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30107
30108 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30109 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30110 failure if the compiler has Graphite support disabled.
30111 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30112 Likewise.
30113 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30114 (CFLAGS-memmove.c): Likewise.
30115 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30116 Likewise.
30117
301182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30119
30120 * sysdeps/x86_64/x32/_itoa.h: New file.
30121
30122 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30123 getdents system call only if kernel and user dirents have the
30124 same d_ino and d_off.
30125
30126 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30127 LLONG_MAX != LONG_MAX.
30128 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30129 (_fitoa_word): Likewise.
30130
30131 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30132 years.
30133 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30134 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30135 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30136
30137 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30138 include <bits/wordsize.h>. Check __x86_64__ instead of
30139 __WORDSIZE.
30140 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30141 if __x86_64__ is defined. Use anonymous union on fpstate.
30142
30143 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30144 anonymous union.
30145
301462012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30147
30148 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30149 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30150 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30151 Refer to _rtld_local_ro instead of _rtld_global_ro.
30152 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30153 Likewise.
30154 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30155 Likewise.
30156 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30157 Likewise.
30158 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30159 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30160 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30161
30162 * sysdeps/powerpc/powerpc32/dl-machine.c
30163 (__elf_machine_runtime_setup) [PROF]: Don't reference
30164 _dl_prof_resolve.
30165
301662012-05-18 Andreas Jaeger <aj@suse.de>
30167
30168 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30169 function only available for GCCs before 3.4 since GCC 3.4
30170 introduced a builtin.
30171 (lrint): Likewise.
30172 (llrintf): Likewise.
30173 (llrint): Likewise.
30174 (fmaxf): Likewise.
30175 (fmax): Likewise.
30176 (fminf): Likewise.
30177 (fmin): Likewise.
30178 (rint): Likewise.
30179 (rintf): Likewise.
30180 (nearbyint): Likewise.
30181 (nearbyintf): Likewise.
30182 (ceil): Likewise.
30183 (ceilf): Likewise.
30184 (floor): Likewise.
30185 (floorf): Likewise.
30186
301872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30188
30189 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30190 on both fields and cast pointer to __syscall_ulong_t.
30191
30192 * bits/types.h (__fsword_t): New type.
30193 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30194 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30195 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30196 (__FSWORD_T_TYPE): Likewise.
30197 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30198 (__FSWORD_T_TYPE): Likewise.
30199 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30200 (__FSWORD_T_TYPE): Likewise.
30201 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30202 (__FSWORD_T_TYPE): Likewise.
30203 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30204 __SWORD_TYPE with __fsword_t.
30205 (statfs64): Likewise.
30206
302072012-05-17 David S. Miller <davem@davemloft.net>
30208
30209 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30210
302112012-05-17 Andreas Jaeger <aj@suse.de>
30212
30213 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30214 warning.
30215
302162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30217
30218 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30219
302202012-05-17 Andreas Jaeger <aj@suse.de>
30221
30222 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30223 when it is used.
30224
302252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30226
30227 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30228
302292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30230
30231 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30232 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30233
302342012-05-17 Andreas Jaeger <aj@suse.de>
30235 Carlos O'Donell <carlos_odonell@mentor.com>
30236
30237 [BZ #14059]
30238 * sysdeps/x86_64/multiarch/init-arch.h
30239 (bit_YMM_Usable): Rename to...
30240 (bit_AVX_Usable): ... this.
30241 (bit_FMA4_Usable): New macro.
30242 (bit_XMM_state): New macro.
30243 (bit_YMM_state): New macro.
30244 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30245 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30246 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30247 (CPUID_OSXSAVE): New macro.
30248 (CPUID_AVX): New macro.
30249 (CPUID_FMA4): New macro.
30250 (index_YMM_Usable): Rename to...
30251 (index_AVX_Usable): ... this.
30252 (HAS_AVX): Use HAS_ARCH_FEATURE.
30253 (HAS_FMA4): Likewise.
30254 (HAS_YMM_USABLE): Remove.
30255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30256 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30257 are present.
30258 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30259 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30260 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30261 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30262 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30263
302642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30265
30266 * math/libm-test.c: Support platforms without multiple rounding modes.
30267 * math/bug-nextafter.c: Support platforms without FP exceptions.
30268 * math/bug-nexttoward.c: Likewise.
30269 * math/test-fenv.c: Likewise.
30270 * math/test-misc.c: Likewise.
30271 * stdlib/bug-getcontext.c: Likewise.
30272
302732012-05-17 Andreas Jaeger <aj@suse.de>
30274
30275 * manual/examples/search.c (critter_cmp): Change signature to
30276 avoid warnings.
30277 * manual/string.texi (Collation Functions): Likewise.
30278
302792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30280
30281 * bits/types.h: Fold copyright years.
30282 * bits/typesizes.h: Likewise.
30283 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30287 * time/time.h: Likewise.
30288
302892012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30290
30291 [BZ #208]
30292 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30293 in instead of returning them. Return void.
30294 (__libc_mallinfo): Accumulate over all arenas.
30295 (__malloc_stats): Adjust for change in int_mallinfo interface.
30296
302972012-05-16 Roland McGrath <roland@hack.frob.com>
30298
30299 [BZ #10375]
30300 * configure.in (NM): Add AC_CHECK_TOOL for it.
30301 (libc_extra_cflags): New substituted variable.
30302 Check for -fstack-protector being used implicitly.
30303 * configure: Regenerated.
30304 * config.make.in (config-extra-cflags): New variable,
30305 gets @libc_extra_cflags@.
30306 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30307
30308 [BZ #10375]
30309 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30310 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30311 * configure: Regenerated.
30312 * config.make.in (CPPUNDEFS): New substituted variable.
30313 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30314 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30315 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30316
303172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30318
30319 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30320 (mq_attr): Use __syscall_slong_t.
30321
303222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30323
30324 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30325 Check __x86_64__ instead of __WORDSIZE.
30326 (_STAT_VER_LINUX): Likewise.
30327 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30328 __syscall_ulong_t and __syscall_slong_t.
30329 (stat64): Likewise.
30330
303312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30332
30333 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30334
303352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30336
30337 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30338
303392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30340
30341 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30342 __syscall_ulong_t.
30343
30344 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30345 include <bits/wordsize.h>. Check __x86_64__ instead of
30346 __WORDSIZE.
30347 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30348 defined.
30349 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30350
30351 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30352 include <bits/wordsize.h>. Check __x86_64__ instead of
30353 __WORDSIZE.
30354 (user_regs_struct): Use "__extension__ unsigned long long"
30355 instead of "unsigned long" if __x86_64__ is defined.
30356 (user): Likewise. Pad after pointer field if __ILP32__ is
30357 defined.
30358
303592012-05-16 Joseph Myers <joseph@codesourcery.com>
30360
30361 * configure.in (makeinfo): Require version 4.5 or later. Allow
30362 versions 5 to 9.
30363 * configure: Regenerated.
30364 * manual/install.texi (texinfo): Increase version requirement to
30365 4.5 or later.
30366 * INSTALL: Regenerated.
30367
30368 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30369
303702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30371
30372 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30373
30374 * sysdeps/x86_64/x32/ffs.c: New file.
30375
30376 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30377 __syscall_ulong_t.
30378 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30379 defined. Use __syscall_ulong_t.
30380 (shminfo): Use __syscall_ulong_t.
30381 (shm_info): Likewise.
30382
30383 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30384 __syscall_ulong_t.
30385
30386 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30387 <bits/wordsize.h>.
30388 (msgqnum_t): Use __syscall_ulong_t.
30389 (msglen_t): Likewise.
30390 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30391 __syscall_ulong_t.
30392
30393 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30394 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30395
30396 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30397
30398 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30399 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30400
30401 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30402 __syscall_slong_t.
30403
30404 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30405 include <bits/wordsize.h>. Check __x86_64__ instead of
30406 __WORDSIZE.
30407
30408 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30409 "unsigned long long int" if __x86_64__ is defined.
30410 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30411
30412 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30413 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30414 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30415
30416 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30417 <stdint.h>.
30418 (GET_PC): Cast to uintptr_t first.
30419 (GET_FRAME): Likewise.
30420 (GET_STACK): Likewise.
30421
30422 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30423 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30424 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30425 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30426 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30427 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30428 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30429 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30430 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30431 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30432 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30433 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30434 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30435 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30436 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30437 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30438 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30439 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30440 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30441 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30442 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30443 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30444 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30445 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30446 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30447 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30448 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30449 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30450 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30451
304522012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30453
30454 * Makerules (+depfiles): Also collect depfiles from .oS in
30455 $(extra-objs).
30456 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30457 .oS, $(libnldbl-routines)).
30458
30459 * Makerules (native-compile-mkdep-flags): Define.
30460 * sunrpc/Makefile (extra-objs): Add $(addprefix
30461 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30462 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30463 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30464 calling $(make-target-directory).
30465
304662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30467
30468 * bits/types.h (__snseconds_t): Removed.
30469 * time/time.h (struct timespec): Replace __snseconds_t with
30470 __syscall_slong_t.
30471 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30472 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30473 Likewise.
30474 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30475 (__SNSECONDS_T_TYPE): Likewise.
30476 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30477 (__SNSECONDS_T_TYPE): Likewise.
30478 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30479 (__SNSECONDS_T_TYPE): Likewise.
30480
304812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30482
30483 * sysdeps/mach/hurd/bits/typesizes.h
30484 (__SYSCALL_SLONG_TYPE): New macro.
30485 (__SYSCALL_ULONG_TYPE): Likewise.
30486
304872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30488
30489 * bits/types.h (__syscall_slong_t): New type.
30490 (__syscall_ulong_t): Likewise.
30491
30492 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30493 (__SYSCALL_ULONG_TYPE): Likewise.
30494 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30495 (__SYSCALL_SLONG_TYPE): Likewise.
30496 (__SYSCALL_ULONG_TYPE): Likewise.
30497 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30498 (__SYSCALL_SLONG_TYPE): Likewise.
30499 (__SYSCALL_ULONG_TYPE): Likewise.
30500 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30501 (__SYSCALL_SLONG_TYPE): Likewise.
30502 (__SYSCALL_ULONG_TYPE): Likewise.
30503
305042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30505
30506 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30507 Add sigaltstack-offsets.sym.
30508 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30509 <sigaltstack-offsets.h>.
30510 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30511 longjmp_msg pointer.
30512 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30513 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30514 signal stack.
30515 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30516
305172012-05-15 Joseph Myers <joseph@codesourcery.com>
30518
30519 * elf/stackguard-macros.h: Remove file.
30520 * sysdeps/generic/stackguard-macros.h: New file.
30521 * sysdeps/i386/stackguard-macros.h: Likewise.
30522 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30523 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30524 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30525 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30526 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30527 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30528 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30529 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30530 <elf/stackguard-macros.h>.
30531
30532 [BZ #14109]
30533 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30534 __aligned__ in attribute.
30535 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30536 (gregset_t): Likewise.
30537
305382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30539
30540 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30541 * sysdeps/x86_64/64/Implies-after: Here. New file.
30542 * sysdeps/x86_64/x32/Implies-after: New file.
30543
305442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30545
30546 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30547 and access return value for _dl_profile_fixup. Use R10_LP to
30548 load frame size.
30549
305502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30551
30552 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30553
305542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30555
30556 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30557 * sysdeps/x86_64/x32/sysdep.h: New file.
30558
305592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30560
30561 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30562 * sysdeps/x86_64/setjmp.S: Likewise.
30563
305642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30565
30566 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30567 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30568 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30569 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30570 remove unused global constant.
30571
305722012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30573
30574 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30575 include of <not-cancel.h>.
30576
305772012-05-15 Roland McGrath <roland@hack.frob.com>
30578
30579 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30580
305812012-05-15 Jeff Law <law@redhat.com>
30582 Andreas Jaeger <aj@suse.de>
30583
30584 [BZ #13594]
30585 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30586 out from...
30587 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30588 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30589 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30590 code changing __hst_map_handle.map.
30591
305922012-05-15 Roland McGrath <roland@hack.frob.com>
30593
30594 * configure.in (sysnames): Look for Implies-before and Implies-after
30595 files.
30596 * configure: Regenerated.
30597
305982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30599
30600 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30601 8-byte data alignment with LP_SIZE alignment.
30602
306032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30604
30605 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30606 into R10_LP.
30607
306082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30609
30610 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30611
306122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30613
30614 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30615 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30616 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30617 Likewise.
30618 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30619
306202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30621
30622 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30623 (stackinfo_sub_sp): Likewise.
30624
306252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30626
30627 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30628 RAX_LP.
30629
306302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30631
30632 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30633 into R*_LP.
30634
306352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30636
30637 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30638 sizes into R*_LP.
30639
306402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30641
30642 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30643
306442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30645
30646 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30647 into R11_LP and load __x86_64_shared_cache_size_half into
30648 R8_LP.
30649
306502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30651
30652 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30653 R8_LP.
30654
306552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30656
30657 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30658 logb for POWER7.
30659 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30660 logbf for POWER7.
30661 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30662 logbl for POWER7.
30663 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30664 powerpc32/power7/fpu/s_logb.c via #include.
30665 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30666 powerpc32/power7/fpu/s_logbf.c via #include.
30667 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30668 powerpc32/power7/fpu/s_logbl.c via #include.
30669
306702012-05-15 Joseph Myers <joseph@codesourcery.com>
30671
30672 * README.libm: Remove file.
30673
306742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30675
30676 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30677 count for x32. Use R*_LP and omit operand-size suffix.
30678
306792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30680
30681 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30682 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30683 * sysdeps/x86_64/x32/shlib-versions: New file.
30684
306852012-05-14 Roland McGrath <roland@hack.frob.com>
30686
30687 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30688 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30689 Use _dl_fatal_printf instead.
30690
306912012-05-14 Joseph Myers <joseph@codesourcery.com>
30692
30693 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30694 set if not set by the user. Do not allow for being unset.
30695 * sysdeps/unix/sysv/linux/configure: Regenerated.
30696
306972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30698
30699 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30700 the `q' suffix from lea and replace .quad with ASM_ADDR.
30701
307022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30703
30704 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30705 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30706 instead of $17.
30707 (PTR_DEMANGLE): Likewise.
30708
307092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30710
30711 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30712 (LP_OP): Likewise.
30713 (ASM_ADDR): Likewise.
30714 (RAX_LP): Likewise.
30715 (RBP_LP): Likewise.
30716 (RBX_LP): Likewise.
30717 (RCX_LP): Likewise.
30718 (RDI_LP): Likewise.
30719 (RSI_LP): Likewise.
30720 (RSP_LP): Likewise.
30721 (R8_LP): Likewise.
30722 (R9_LP): Likewise.
30723 (R10_LP): Likewise.
30724 (R10_LP): Likewise.
30725 (R11_LP): Likewise.
30726 (R12_LP): Likewise.
30727 (R13_LP): Likewise.
30728 (R14_LP): Likewise.
30729 (R15_LP): Likewise.
30730
307312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30732
30733 * sysdeps/x86_64/x32/dl-machine.h: New file.
30734
307352012-05-14 Andreas Jaeger <aj@suse.de>
30736
30737 * manual/Makefile (subdir): Remove export of subdir.
30738 (all): Remove target.
30739 (.PHONY): Remove all from list.
30740 (mkinstalldirs): Remove.
30741 (.PHONY): Remove installdirs from list.
30742 ($(inst_infodir)/libc.info): Use make-target-directory.
30743 (installdirs): Remove.
30744 (subdir_%): Remove.
30745 (glibc-targets): Remove.
30746 (lib): Remove.
30747 (stubs): Remove.
30748 ($(objpfx)stubs ../po/manual.pot): Remove.
30749 ($(objpfx)stamp%): Remove.
30750 (make-target-directory): Remove.
30751 (subdir_install): Remove.
30752 (routines): Remove.
30753 (aux): Remove.
30754 (sources): Remove.
30755 (objects): Remove.
30756 (headers): Remove.
30757
30758 [BZ #13750]
30759 * manual/.gitignore: Remove, it's not needed anymore.
30760 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30761 all files in it.
30762 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30763 directory.
30764 (texis): Renamed to $(objpfx)texis.
30765 (texis-path): New, contains path to generated files.
30766 (chapters.%): Use texis-path for complete path, add extra argument
30767 libc-texinfo.sh.
30768 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30769 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30770 (summary,texi, stamp-summary): Use complete path of
30771 files. Generate files in build dir.
30772 (dir-add.texi): Build in build dir.
30773 (libm-err.texi,stamp-libm-err): Likewise.
30774 (version.texi, stamp-version): Likewise.
30775 (.%c.texi): Likewise.
30776 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30777 (mostlyclean): Remove target.
30778 (realclean): Remove target.
30779 (generated): Add new variable with contents from mostlyclean and
30780 realclean, remove entries duplicated in common-mostlyclean, add
30781 stamp-libm-err and stamp-version.
30782 (generated-dirs): Add libc directory.
30783 ($(inst_infodir)/libc.info): Install files from build dir.
30784
30785 * manual/install.texi (Configuring and compiling): Adjust since
30786 the info files are not part of the tar ball anymore.
30787
307882012-05-14 Andreas Jaeger <aj@suse.de>
30789
30790 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30791 variable.
30792
307932012-05-14 Joseph Myers <joseph@codesourcery.com>
30794
30795 [BZ #13717]
30796 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30797 to 2.2.0 where earlier.
30798 * sysdeps/unix/sysv/linux/configure: Regenerated.
30799 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30800 Remove conditional code.
30801 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30802 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30803 Remove conditional code.
30804 [!__NR_lchown]: Likewise.
30805 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30806 [__NR_lchown]: Likewise.
30807 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30808 comment referencing __ASSUME_LCHOWN_SYSCALL.
30809 * sysdeps/unix/sysv/linux/i386/sigaction.c
30810 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30811 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30812 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30813 Remove conditional code.
30814 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30815 (__protocol_available): Remove #if 0 code.
30816 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30817 conditional code.
30818 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30819 * sysdeps/unix/sysv/linux/kernel-features.h
30820 (__ASSUME_GETCWD_SYSCALL): Don't define.
30821 (__ASSUME_REALTIME_SIGNALS): Likewise.
30822 (__ASSUME_PREAD_SYSCALL): Likewise.
30823 (__ASSUME_PWRITE_SYSCALL): Likewise.
30824 (__ASSUME_POLL_SYSCALL): Likewise.
30825 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30826 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30827 non-SPARC.
30828 (__ASSUME_SIOCGIFNAME): Don't define.
30829 (__ASSUME_MSG_NOSIGNAL): Likewise.
30830 (__ASSUME_SENDFILE): Define unconditionally.
30831 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30832 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30833 conditional code.
30834 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30835 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30836 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30837 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30838 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30839 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30840 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30842 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30843 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30845 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30846 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30848 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30849 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30851 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30852 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30854 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30857 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30858 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30860 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30861 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30863 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30864 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30865 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30866 Remove conditional code.
30867 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30868 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30869 Remove conditional code.
30870 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30871 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30872 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30873 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30874 Remove conditional code.
30875 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30876 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30877 Remove conditional code.
30878 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30879 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30880 Remove conditional code.
30881 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30882 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30883 Remove conditional code.
30884 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30885 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30886 Remove conditional code.
30887 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30888 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30889 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30890 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30891 * sysdeps/unix/sysv/linux/sigaction.c
30892 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30893 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30894 * sysdeps/unix/sysv/linux/sigpending.c
30895 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30896 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30897 * sysdeps/unix/sysv/linux/sigprocmask.c
30898 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30899 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30900 * sysdeps/unix/sysv/linux/sigsuspend.c
30901 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30902 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30903 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30904 (__libc_missing_rt_sigs): Remove.
30905 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30906 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30907 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30908 Remove conditional code.
30909 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30910 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30911 return 1.
30912 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30913 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30914 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30915 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30916
309172012-05-14 Andreas Jaeger <aj@suse.de>
30918
30919 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30920 it's not used in glibc.
30921 (__coshm1): Likewise.
30922 (__acosh1p): Likewise.
30923 (__sgn): Likewise.
30924
30925 * manual/string.texi (Copying and Concatenation): Add missing
30926 variable in concat example.
30927 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30928
309292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30930
30931 [BZ #14103]
30932 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30933 __builtin_clzl with __builtin_clzll.
30934
309352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30936
30937 [BZ #14104]
30938 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30939 libc_freeres_ptr.
30940
309412012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30942
30943 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30944 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30945 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30946 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30947
309482012-05-14 Mike Frysinger <vapier@gentoo.org>
30949
30950 * NEWS: Update ia64 info.
30951
309522012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30953
30954 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30955 used as bcopy.
30956
309572012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30958
30959 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30960 * sysdeps/unix/syscalls.list (dup3): Likewise.
30961 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30962 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30963
309642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30965
30966 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30967 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30968
309692012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30970
30971 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30972 thread pointer.
30973 (TLS_IE): Use mov/add instead of movq/addq to load thread
30974 pointer.
30975 (TLS_GD_PREFIX): New.
30976 (TLS_GD): Use it.
30977
309782012-05-11 David S. Miller <davem@davemloft.net>
30979
30980 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30981 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30982 (_FPU_SETCW): Likewise.
30983
309842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30985
30986 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30987 is 32-byte aligned.
30988
309892012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30990
30991 [BZ #11837]
30992 * iconvdata/gb18030.c: Update tables.
30993 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30994 characters specially.
30995 (BODY for TO_LOOP): Add encoding of missing ranges.
30996
309972012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30998
30999 [BZ #13673]
31000 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31001 * sysdeps/mach/hurd/dup3.c: Likewise.
31002 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31003 * sysdeps/powerpc/memmove.c:: Likewise.
31004
310052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31006
31007 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31008 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31009
310102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31011
31012 * elf/elf.h (R_X86_64_RELATIVE64): New.
31013 (R_X86_64_NUM): Updated.
31014 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31015 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31016 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31017 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31018 tst-quad1pie tst-quad2pie
31019 (modules-names): Add tst-quadmod1 tst-quadmod2.
31020 ($(objpfx)tst-quad1): New dependency.
31021 ($(objpfx)tst-quad2): Likewise.
31022 ($(objpfx)tst-quad1pie): Likewise.
31023 ($(objpfx)tst-quad2pie): Likewise.
31024 * sysdeps/x86_64/tst-quad1.c: New file.
31025 * sysdeps/x86_64/tst-quad1pie.c: New file.
31026 * sysdeps/x86_64/tst-quad2.c: Likewise.
31027 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31028 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31029 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31030 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31031 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31032
310332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31034
31035 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31036 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31037 * streams/stropts.h (t_scalar_t): Define type.
31038
31039 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31040 (_PATH_PRESERVE): Set to "/var/lib".
31041 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31042
31043 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31044 instead of int.
31045
31046 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31047 if __dir_mkfile succeeded.
31048
31049 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31050 checking for _hurd_dtablesize. Unlock it right after having
31051 finished _hurd_dtable allocation.
31052
310532012-05-10 Thomas Schwinge <thomas@schwinge.name>
31054
31055 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31056 * sysdeps/mach/hurd/configure: Regenerated.
31057 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31058 special-casing to...
31059 * sysdeps/gnu/configure.in: ... this new file.
31060 * sysdeps/unix/sysv/linux/configure: Regenerated.
31061 * sysdeps/gnu/configure: New generated file.
31062
31063 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31064 for Linux: use nsec instead of usec, as well as:
31065 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31066 members of type struct timespec.
31067 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31068 New macros.
31069 (struct stat64): Likewise.
31070 (_STATBUF_ST_NSEC): New macro.
31071 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31072
31073 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31074 __strtoul_internal rather than strtoul.
31075
310762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31077
31078 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31079 and reject them.
31080
310812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31082
31083 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31084 which preserves existing values.
31085 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31086
310872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31088
31089 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31090 TIMEOUT values. Return EINVAL for NFDS values either negative or
31091 greater than FD_SETSIZE.
31092
310932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31094
31095 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31096 allocated, call __vm_protect to finish enabling the existing space, and
31097 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31098 allocate the remainder.
31099
311002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31101
31102 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31103 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31104
311052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31106
31107 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31108 sysdeps/mach/hurd/readlink.c.
31109
31110 * posix/tst-sysconf.c (posix_options): Only use
31111 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31112 _POSIX_SYNCHRONIZED_IO when they are defined
31113 * sysdeps/mach/hurd/bits/posix_opt.h:
31114 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31115 (_XOPEN_REALTIME): Undefine macro.
31116 (_XOPEN_REALTIME_THREADS): Undefine macro.
31117 (_XOPEN_SHM): Undefine macro.
31118 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31119 macro to -1.
31120 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31121 macro to -1.
31122 (_POSIX_ASYNC_IO): Undefine macro.
31123 (_POSIX_PRIORITIZED_IO): Undefine macro.
31124 (_POSIX_SPIN_LOCKS): Define macro to -1.
31125
31126 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31127 SA_NODEFER, SA_RESETHAND.
31128 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31129 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31130 F_DUPFD_CLOEXEC.
31131
311322012-05-10 Thomas Schwinge <thomas@schwinge.name>
31133
31134 * elf/Makefile (pldd-modules): Define unconditionally.
31135
311362012-05-10 Thomas Schwinge <thomas@schwinge.name>
31137
31138 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31139
311402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31141
31142 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31143 Return ENOENT when name is empty.
31144 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31145
311462012-05-10 Thomas Schwinge <thomas@schwinge.name>
31147
31148 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31149
31150 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31151
311522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31153
31154 Fix mlock in all cases except non-readable pages.
31155 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31156 instead of VM_PROT_ALL as parameter to __vm_wire function.
31157
31158 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31159 (__mkdir): When path is `/', just fail with EEXIST.
31160 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31161
311622012-05-10 Thomas Schwinge <thomas@schwinge.name>
31163
31164 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31165 <sys/uio.h> (for writev).
31166 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31167 and <sys/param.h> (for MIN).
31168
311692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31170
31171 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31172 REQUESTED_TIME. Properly set the remaining time and return EINTR
31173 if interrupted.
31174
311752012-05-10 Thomas Schwinge <thomas@schwinge.name>
31176
31177 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31178 Depend on against $(link-rpcuserlibs).
31179
311802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31181
31182 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31183 (__libc_stack_end): Do not use attribute_relro.
31184 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31185 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31186 to libthread-provided value.
31187 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31188 attribute_relro.
31189
311902012-05-10 Thomas Schwinge <thomas@schwinge.name>
31191
31192 [BZ #3748]
31193 * bits/libc-lock.h (__libc_once_get): New macro.
31194 * sysdeps/mach/bits/libc-lock.h: Likewise.
31195 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31196 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31197 instead of using implementation details.
31198
31199 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31200 * libio/freopen.c: Likewise.
31201 * libio/freopen64.c: Likewise.
31202 * misc/syslog.c: Likewise.
31203 * nscd/connections.c: Likewise.
31204 * nscd/netgroupcache.c: Likewise.
31205 * sysdeps/posix/getcwd.c: Likewise.
31206
312072012-05-10 Roland McGrath <roland@hack.frob.com>
31208
31209 * math/w_ilogbf.c: Add #include <limits.h>.
31210
312112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31212
31213 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31214 path instead of returning without unlocking.
31215
31216 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31217 immediate-write ioctls.
31218 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31219
312202012-05-10 Thomas Schwinge <thomas@schwinge.name>
31221
31222 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31223 __builtin_frame_address instead of making assumptions about the
31224 location of the return address relative to DATA. Force early load of
31225 the return address.
31226 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31227 __builtin_frame_address.
31228
31229 dup3 for GNU Hurd.
31230 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31231 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31232 implement dup3 and do some further code clean-ups.
31233 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31234 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31235
312362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31237
31238 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31239
31240 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31241 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31242 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31243 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31244 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31245 d->port.lock.
31246
31247 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31248 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31249 when handler == SIG_ERR, not when handler != SIG_ERR.
31250
312512012-05-10 Thomas Schwinge <thomas@schwinge.name>
31252
31253 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31254 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31255 definitions.
31256
31257 accept4 for GNU Hurd.
31258 * include/sys/socket.h (__libc_accept4): New prototype.
31259 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31260 to implement __libc_accept4.
31261 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31262 __libc_accept4.
31263 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31264
31265 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31266 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31267 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31268 signal-defines.sym.
31269
312702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31271
31272 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31273
312742012-05-10 Thomas Schwinge <thomas@schwinge.name>
31275
31276 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31277 assertion on O_CLOEXEC flag.
31278 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31279 * hurd/intern-fd.c: Likewise.
31280 * hurd/port2fd.c: Likewise.
31281
312822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31283
31284 [BZ #3906]
31285 * bits/in.h (IPV6_PKTINFO): Define new macro.
31286 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31287
312882012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31289
31290 [BZ #13954]
31291 [BZ #13955]
31292 [BZ #13956]
31293 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31294 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31295 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31296 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31297 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31298 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31299 * math/libm-test.inc (logb_test) : Additional logb tests.
31300
313012012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31302 Andreas Jaeger <aj@suse.de>
31303
31304 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31305 * configure: Regenerated.
31306 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31307 * config.make.in (link-obsolete-rpc): New substituted variable.
31308 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31309 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31310 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31311 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31312 so that libc.a contains the symbols.
31313 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31314 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31315 * sunrpc/auth_none.c: Likewise.
31316 * sunrpc/auth_unix.c: Likewise.
31317 * sunrpc/authdes_prot.c: Likewise.
31318 * sunrpc/authuxprot.c: Likewise.
31319 * sunrpc/clnt_gen.c: Likewise.
31320 * sunrpc/clnt_perr.c: Likewise.
31321 * sunrpc/clnt_raw.c: Likewise.
31322 * sunrpc/clnt_simp.c: Likewise.
31323 * sunrpc/clnt_tcp.c: Likewise.
31324 * sunrpc/clnt_udp.c: Likewise.
31325 * sunrpc/clnt_unix.c: Likewise.
31326 * sunrpc/des_crypt.c: Likewise.
31327 * sunrpc/des_soft.c: Likewise.
31328 * sunrpc/get_myaddr.c: Likewise.
31329 * sunrpc/key_call.c: Likewise.
31330 * sunrpc/key_prot.c: Likewise.
31331 * sunrpc/netname.c: Likewise.
31332 * sunrpc/pm_getmaps.c: Likewise.
31333 * sunrpc/pm_getport.c: Likewise.
31334 * sunrpc/pmap_clnt.c: Likewise.
31335 * sunrpc/pmap_prot.c: Likewise.
31336 * sunrpc/pmap_prot2.c: Likewise.
31337 * sunrpc/pmap_rmt.c: Likewise.
31338 * sunrpc/publickey.c: Likewise.
31339 * sunrpc/rpc_cmsg.c: Likewise.
31340 * sunrpc/rpc_common.c: Likewise.
31341 * sunrpc/rpc_dtable.c: Likewise.
31342 * sunrpc/rpc_prot.c: Likewise.
31343 * sunrpc/rpc_thread.c: Likewise.
31344 * sunrpc/rtime.c: Likewise.
31345 * sunrpc/svc.c: Likewise.
31346 * sunrpc/svc_auth.c: Likewise.
31347 * sunrpc/svc_raw.c: Likewise.
31348 * sunrpc/svc_run.c: Likewise.
31349 * sunrpc/svc_tcp.c: Likewise.
31350 * sunrpc/svc_udp.c: Likewise.
31351 * sunrpc/svc_unix.c: Likewise.
31352 * sunrpc/svcauth_des.c: Likewise.
31353 * sunrpc/xcrypt.c: Likewise.
31354 * sunrpc/xdr.c: Likewise.
31355 * sunrpc/xdr_array.c: Likewise.
31356 * sunrpc/xdr_float.c: Likewise.
31357 * sunrpc/xdr_intXX_t.c: Likewise.
31358 * sunrpc/xdr_mem.c: Likewise.
31359 * sunrpc/xdr_rec.c: Likewise.
31360 * sunrpc/xdr_ref.c: Likewise.
31361 * sunrpc/xdr_sizeof.c: Likewise.
31362 * sunrpc/xdr_stdio.c: Likewise.
31363
313642012-05-10 Roland McGrath <roland@hack.frob.com>
31365
31366 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31367 change. Update copyright years.
31368
313692012-05-10 Joseph Myers <joseph@codesourcery.com>
31370
31371 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31372
313732012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31374 Joseph Myers <joseph@codesourcery.com>
31375 Paul Pluzhnikov <ppluzhnikov@google.com>
31376
31377 [BZ #14012]
31378 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31379 requiring rpcgen.
31380 [cross-compiling] (extra-libs): Likewise.
31381 [cross-compiling] (extra-libs-others): Likewise.
31382 [cross-compiling] (librpcsvc-routines): Likewise.
31383 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31384 [cross-compiling] (omit-deps): Likewise.
31385 (sunrpc-CPPFLAGS): New variable.
31386 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31387 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31388 (cross-rpcgen-objs): New variable.
31389 (extra-objs): Append $(cross-rpcgen-objs).
31390 ($(cross-rpcgen-objs)): New rule.
31391 ($(objpfx)cross-rpcgen): Likewise.
31392 (rpcgen-cmd): Define to use $(built-program-file). Expand
31393 comment.
31394 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31395 ($(objpfx)x%.stmp): Likewise.
31396 * sunrpc/proto.h [IS_IN_build] (_): Define.
31397 [IS_IN_build] (_libc_intl_domainname): Likewise.
31398
313992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31400
31401 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31402 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31403 and R_X86_64_TPOFF64.
31404
314052012-05-10 Joseph Myers <joseph@codesourcery.com>
31406
31407 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31408 sysdeps/unix/sysv/syscalls.list.
31409 (stime): Likewise.
31410 (utime): Likewise.
31411 * sysdeps/unix/sysv/syscalls.list: Remove file.
31412
314132012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31414
31415 [BZ #3440]
31416 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31417 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31418 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31419 (__LC_IDENTIFICATION): Make these macros useful in #if
31420 expressions, as required by C99.
31421
314222012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31423
31424 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31425 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31426 after this.
31427
314282012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31429
31430 * stdlib/longlong.h: Updated from GCC.
31431
314322012-05-09 Andreas Jaeger <aj@suse.de>
31433
31434 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31435 default is first entry.
31436 (run_mode): Set type.
31437 (main): Remove informal message about syslog.
31438 (options): Fix typo.
31439
31440 [BZ #14053]
31441 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31442 to asm.
31443 (lrint): Likewise.
31444 (llrintf): Likewise.
31445 (llrint): Likewise.
31446 (rint): Likewise.
31447 (rintf): Likewise.
31448 (nearbyint): Likewise.
31449 (nearbyintf): Likewise.
31450
314512012-05-09 Andreas Jaeger <aj@suse.de>
31452 Pedro Alves <palves@redhat.com>
31453
31454 * nscd/nscd.c (run_mode): Use enum.
31455 (main): Cleanup coding style issue.
31456
314572012-05-09 Alexandre Oliva <aoliva@redhat.com>
31458 Andreas Jaeger <aj@suse.de>
31459
31460 * nscd/nscd.c (go_background): Replaced with...
31461 (run_mode): ... this.
31462 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31463 (options): Add -F --foreground.
31464 (main): Implement it.
31465 (parse_opt): Parse it.
31466
314672012-05-09 Andreas Jaeger <aj@suse.de>
31468
31469 [BZ #14083]
31470 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31471 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31472 -Wconversion warning.
31473 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31474 Likewise.
31475
314762012-05-09 Joseph Myers <joseph@codesourcery.com>
31477
31478 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31479 == 0.
31480 (LC_ALL): Use macro-int-constant.
31481 (LC_COLLATE): Likewise.
31482 (LC_CTYPE): Likewise.
31483 (LC_MESSAGES): Likewise.
31484 (LC_MONETARY): Likewise.
31485 (LC_NUMERIC): Likewise.
31486 (LC_TIME): Likewise.
31487 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31488 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31490 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31491 Specify type.
31492 [C99-based standards] (float_t): Expect type.
31493 [C99-based standards] (double_t): Expect type.
31494 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31495 type.
31496 [C99-based standards] (HUGE_VALL): Likewise.
31497 [C99-based standards] (INFINITY): Likewise.
31498 [C99-based standards] (NAN): Likewise.
31499 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31500 [C99-based standards] (FP_NAN): Likewise.
31501 [C99-based standards] (FP_NORMAL): Likewise.
31502 [C99-based standards] (FP_SUBNORMAL): Likewise.
31503 [C99-based standards] (FP_ZERO): Likewise.
31504 [C99-based standards] (FP_FAST_FMA): Use
31505 optional-macro-int-constant. Specify type. Require == 1.
31506 [C99-based standards] (FP_FAST_FMAF): Likewise.
31507 [C99-based standards] (FP_FAST_FMAL): Likewise.
31508 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31509 [C99-based standards] (FP_ILOGBNAN): Likewise.
31510 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31511 Specify type.
31512 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31513 [C99-based standards] (math_errhandling): Specify type.
31514 [ISO99 || ISO11] (signgam): Do not allow.
31515 [non-C99-based standards] (copysignf): Do not allow.
31516 [non-C99-based standards] (exp2f): Likewise.
31517 [non-C99-based standards] (log2f): Likewise.
31518 [non-C99-based standards] (modff): Allow.
31519 [non-C99-based standards] (erff): Do not allow.
31520 [non-C99-based standards] (erfcf): Likewise.
31521 [non-C99-based standards] (gammaf): Likewise.
31522 [non-C99-based standards] (hypotf): Likewise.
31523 [non-C99-based standards] (j0f): Likewise.
31524 [non-C99-based standards] (j1f): Likewise.
31525 [non-C99-based standards] (jnf): Likewise.
31526 [non-C99-based standards] (lgammaf): Likewise.
31527 [non-C99-based standards] (tgammaf): Likewise.
31528 [non-C99-based standards] (y0f): Likewise.
31529 [non-C99-based standards] (y1f): Likewise.
31530 [non-C99-based standards] (ynf): Likewise.
31531 [non-C99-based standards] (isnanf): Likewise.
31532 [non-C99-based standards] (acoshf): Likewise.
31533 [non-C99-based standards] (asinhf): Likewise.
31534 [non-C99-based standards] (atanhf): Likewise.
31535 [non-C99-based standards] (cbrtf): Likewise.
31536 [non-C99-based standards] (expm1f): Likewise.
31537 [non-C99-based standards] (ilogbf): Likewise.
31538 [non-C99-based standards] (log1pf): Likewise.
31539 [non-C99-based standards] (logbf): Likewise.
31540 [non-C99-based standards] (nextafterf): Likewise.
31541 [non-C99-based standards] (remainderf): Likewise.
31542 [non-C99-based standards] (rintf): Likewise.
31543 [non-C99-based standards] (scalbf): Likewise.
31544 [non-C99-based standards] (copysignl): Likewise.
31545 [non-C99-based standards] (exp2l): Likewise.
31546 [non-C99-based standards] (log2l): Likewise.
31547 [non-C99-based standards] (modfl): Allow.
31548 [non-C99-based standards] (erfl): Do not allow.
31549 [non-C99-based standards] (erfcl): Likewise.
31550 [non-C99-based standards] (gammal): Likewise.
31551 [non-C99-based standards] (hypotl): Likewise.
31552 [non-C99-based standards] (j0l): Likewise.
31553 [non-C99-based standards] (j1l): Likewise.
31554 [non-C99-based standards] (jnl): Likewise.
31555 [non-C99-based standards] (lgammal): Likewise.
31556 [non-C99-based standards] (tgammal): Likewise.
31557 [non-C99-based standards] (y0l): Likewise.
31558 [non-C99-based standards] (y1l): Likewise.
31559 [non-C99-based standards] (ynl): Likewise.
31560 [non-C99-based standards] (isnanl): Likewise.
31561 [non-C99-based standards] (acoshl): Likewise.
31562 [non-C99-based standards] (asinhl): Likewise.
31563 [non-C99-based standards] (atanhl): Likewise.
31564 [non-C99-based standards] (cbrtl): Likewise.
31565 [non-C99-based standards] (expm1l): Likewise.
31566 [non-C99-based standards] (ilogbl): Likewise.
31567 [non-C99-based standards] (log1pl): Likewise.
31568 [non-C99-based standards] (logbl): Likewise.
31569 [non-C99-based standards] (nextafterl): Likewise.
31570 [non-C99-based standards] (remainderl): Likewise.
31571 [non-C99-based standards] (rintl): Likewise.
31572 [non-C99-based standards] (scalbl): Likewise.
31573 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31574 [non-C99-based standards] (FP_*): Do not allow.
31575 [C99-based standards] (FP_*): Change to
31576 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31577 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31578 allow.
31579 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31580 (SIG_ERR): Likewise.
31581 [X/Open-based standards] (SIG_HOLD): Likewise.
31582 (SIG_IGN): Likewise.
31583 (SIGABRT): Use macro-int-constant. Specify type. Require
31584 positive value.
31585 (SIGFPE): Likewise.
31586 (SIGILL): Likewise.
31587 (SIGINT): Likewise.
31588 (SIGSEGV): Likewise.
31589 (SIGTER): Likewise.
31590 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31591 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31592 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31593 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31594 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31595 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31596 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31597 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31598 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31599 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31600 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31601 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31602 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31603 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31604 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31605 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31606 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31607 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31608 [X/Open-based standards] (SIGTRAP): Likewise.
31609 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31610 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31611 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31612 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31613 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31614 allow.
31615
316162012-05-08 Ian Wienand <ianw@vmware.com>
31617
31618 [BZ #14080]
31619 * time/tzset.c (__tzset_parse_tz): Update default rules for
31620 daylight time changes in the Energy Policy Act of 2005.
31621
316222012-05-09 Andreas Jaeger <aj@suse.de>
31623
31624 [BZ #13983]
31625 * elf/ldconfig.c (parse_conf): Change string to make clear that
31626 ldconfig only issued a warning if ld.so.conf does not exist.
31627
316282012-05-08 David S. Miller <davem@davemloft.net>
31629
31630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31631 movxtod instead of popping the value on the stack.
31632
31633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31634
316352012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31636
31637 * config.h.in: Add HAVE_ARM_PCS_VFP.
31638
316392012-05-08 Roland Mc Grath <roland@hack.frob.com>
31640
31641 [BZ #13979]
31642 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31643 checking but the checks are disabled for any reason.
31644
316452012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31646
31647 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31648 and ELF64_R_TYPE with ELFW(R_TYPE).
31649
316502012-05-08 Joseph Myers <joseph@codesourcery.com>
31651
31652 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31653 (ulimit): Likewise.
31654
31655 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31656 (settimeofday): Likewise.
31657
316582012-05-08 Mike Frysinger <vapier@gentoo.org>
31659
31660 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31661 a struct th_u2 inside the union, and move tu_block/tu_code into
31662 a new th_u3 union of tu_block/tu_code inside of that. Move
31663 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31664 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31665 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31666 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31667 (th_stuff): Change to th_u1.tu_stuff.
31668 (th_data): Define.
31669 (th_msg): Change to th_u1.th_u2.tu_data.
31670
316712012-05-07 David S. Miller <davem@davemloft.net>
31672
31673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31674
31675 [BZ #14074]
31676 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31677 (SETUP_PIC_REG): Use it.
31678 (SETUP_PIC_REG_LEAF): Use it.
31679
316802012-05-07 Joseph Myers <joseph@codesourcery.com>
31681
31682 [BZ #13885]
31683 [BZ #13923]
31684 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31685 USE_AS_EXPM1L.
31686 (EXPL_FINITE): Likewise.
31687 (FLDLOG): Likewise.
31688 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31689 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31690 e_expl.S.
31691 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31692 USE_AS_EXPM1L.
31693 (EXPL_FINITE): Likewise.
31694 (FLDLOG): Likewise.
31695 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31696 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31697 e_expl.S.
31698 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31699 test of -max_value argument for long double.
31700 * sysdeps/i386/fpu/libm-test-ulps: Update.
31701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31702
317032012-05-06 David S. Miller <davem@davemloft.net>
31704
31705 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31706 quad soft-float symbols whose references which are compiler
31707 generated.
31708 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31709
317102012-05-06 Joseph Myers <joseph@codesourcery.com>
31711
31712 [BZ #13884]
31713 [BZ #13914]
31714 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31715 USE_AS_EXP10L.
31716 (EXPL_FINITE): Likewise.
31717 (FLDLOG): Likewise.
31718 (c0): Likewise.
31719 (c1): Likewise.
31720 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31721 Adjust comments for base varying.
31722 (__expl_finite): Change alias to EXPL_FINITE.
31723 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31724 e_expl.S.
31725 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31726 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31727 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31728 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31729 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31730 USE_AS_EXP10L.
31731 (EXPL_FINITE): Likewise.
31732 (FLDLOG): Likewise.
31733 (c0): Likewise.
31734 (c1): Likewise.
31735 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31736 Adjust comments for base varying.
31737 (__expl_finite): Change alias to EXPL_FINITE.
31738 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31739 tests for bugs.
31740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31741
31742 [BZ #14064]
31743 * math/libm-test.inc (check_float_internal): Correct ulp
31744 calculation for subnormal expected results.
31745
317462012-05-06 Andreas Jaeger <aj@suse.de>
31747
31748 * Makeconfig (+math-flags): New, set to -frounding-math.
31749 (+cflags): Add +math-flags so that all of glibc gets compiled with
31750 it.
31751
31752 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31753
317542012-05-05 Joseph Myers <joseph@codesourcery.com>
31755
31756 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31757 Disable one test.
31758
31759 [BZ #13787]
31760 [BZ #13922]
31761 [BZ #14036]
31762 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31763 (__ieee754_expl): Allow for and saturate large arguments.
31764 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31765 (u_threshold): Likewise.
31766 (__exp): Call __ieee754_exp before checking for overflow and
31767 underflow.
31768 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31769 (u_threshold): Likewise.
31770 (__expf): Call __ieee754_expf before checking for overflow and
31771 underflow.
31772 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31773 (u_threshold): Likewise.
31774 (__expl): Call __ieee754_expl before checking for overflow and
31775 underflow.
31776 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31777 (__ieee754_expl): Allow for and saturate large arguments.
31778 * math/libm-test.inc (exp_test): Add another test. Do not allow
31779 missing overflow exception on overflow.
31780 (expm1_test): Do not allow missing overflow exception on overflow.
31781
31782 * sysdeps/i386/fpu/e_expl.c: Move to ...
31783 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31784 rather than using inline asm.
31785 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31786 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31787 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31788
31789 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31790 (nice): Likewise.
31791 (poll): Likewise.
31792 (signal): Likewise.
31793 (time): Likewise.
31794 (times): Likewise.
31795
317962012-05-04 Joseph Myers <joseph@codesourcery.com>
31797
31798 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31799 sysdeps/unix/common/syscalls.list.
31800 (fchmod): Likewise.
31801 (fchown): Likewise.
31802 (ftruncate): Likewise.
31803 (getrusage): Likewise.
31804 (gettimeofday): Likewise.
31805 (setpgid): Likewise.
31806 (setregid): Likewise.
31807 (setreuid): Likewise.
31808 (sigaction): Likewise.
31809 (truncate): Likewise.
31810 (vhangup): Likewise.
31811 * sysdeps/unix/common/syscalls.list: Remove file.
31812 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31813 * sysdeps/unix/sysv/linux/Implies: Likewise.
31814
318152012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31816
31817 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31819 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31820 Moved to ...
31821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31822 Here.
31823 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31824 to ...
31825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31826 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31827 to ...
31828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31829 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31830 to ...
31831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31832 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31833 to ...
31834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31835 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31836 to ...
31837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31838 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31839 to ...
31840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31841 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31842 to ...
31843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31844 Here.
31845 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31846 to ...
31847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31848 Here.
31849 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31850 to ...
31851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31852 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31853 Moved to ...
31854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31855 Here.
31856 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31857 to ...
31858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31859
318602012-05-04 Joseph Myers <joseph@codesourcery.com>
31861
31862 * sysdeps/unix/common/bits/dirent.h: Remove file.
31863 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31864
31865 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31866 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31867 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31868 * sysdeps/unix/bsd/isatty.c: Likewise.
31869 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31870 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31871 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31872
318732012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31874
31875 [BZ #13563]
31876 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31877 long double comparison inaccuracies.
31878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31880
318812012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31882
31883 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31884 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31885
318862012-05-04 Joseph Myers <joseph@codesourcery.com>
31887
31888 [BZ #14049]
31889 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31890 nonzero digits before rounding a hex value.
31891 * stdlib/tst-strtod.c (tests): Add another test.
31892
318932012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31894
31895 * sysdeps/s390/fpu/libm-test-ulps: Update.
31896
318972012-05-03 Andreas Jaeger <aj@suse.de>
31898
31899 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31900 does not get optimized out.
31901 (malloc_opt_barrier): New.
31902
319032012-05-03 Andreas Jaeger <aj@suse.de>
31904 Roland McGrath <roland@hack.frob.com>
31905
31906 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31907 intermediate file deletion.
31908 (generated): Add .symlist files.
31909
319102012-05-03 Joseph Myers <joseph@codesourcery.com>
31911
31912 [BZ #13775]
31913 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31914 Redirect under this condition.
31915 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31916 [__USE_GNU] (__dprintf_chk): Not under this condition.
31917 [__USE_GNU] (__vdprintf_chk): Likewise.
31918 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31919 under this condition.
31920 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31921 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31922 [__USE_XOPEN2K8] (vdprintf): Likewise.
31923 [__USE_GNU] (__dprintf_chk): Not under this condition.
31924 [__USE_GNU] (__vdprintf_chk): Likewise.
31925 [__USE_GNU] (dprintf): Likewise.
31926 [__USE_GNU] (vdprintf): Likewise.
31927
319282012-05-03 Roland McGrath <roland@hack.frob.com>
31929
31930 * elf/Makefile (common-generated): Set this instead of generated for
31931 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31932 $(all-built-dso)-derived lists.
31933
319342012-05-03 Andreas Jaeger <aj@suse.de>
31935
31936 * sysdeps/i386/fpu/libm-test-ulps: Update.
31937
31938 * FAQ: Removed.
31939 * FAQ.in: Likewise.
31940 * scripts/gen-FAQ.pl: Likewise.
31941 * manual/install.texi (Installation): Point to online location of
31942 FAQ.
31943 * Makefile (files-for-dist): Remove FAQ.
31944 (FAQ): Remove.
31945
319462012-05-02 Allan McRae <allan@archlinux.org>
31947
31948 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31949 (LDFLAGS-reldepmod5.so): Likewise.
31950 (LDFLAGS-reldep6mod1.so): Likewise.
31951 (LDFLAGS-reldep6mod4.so): Likewise.
31952 (LDFLAGS-reldep8mod3.so): Likewise.
31953 (LDFLAGS-unload4mod1.so): Likewise.
31954 (LDFLAGS-unload4mod2.so): Likewise.
31955 (LDFLAGS-tst-initorder): Likewise.
31956 (LDFLAGS-tst-initordera2.so): Likewise.
31957 (LDFLAGS-tst-initordera3.so): Likewise.
31958 (LDFLAGS-tst-initordera4.so): Likewise.
31959 (LDFLAGS-tst-initorderb2.so): Likewise.
31960 (LDFLAGS-noload): Likewise.
31961 (LDFLAGS-next): Likewise.
31962 (LDFLAGS-order2mod1.so): Likewise.
31963 (LDFLAGS-order2mod2.so): Likewise.
31964 (LDFLAGS-tst-initorder2): Likewise.
31965 (LDFLAGS-tst-initorder2a.so): Likewise.
31966 (LDFLAGS-tst-initorder2b.so): Likewise.
31967 (LDFLAGS-tst-initorder2c.so): Likewise.
31968 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31969
319702012-05-02 David S. Miller <davem@davemloft.net>
31971
31972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31973
319742012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31975
31976 [BZ #14055]
31977 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31978
319792012-05-02 Andreas Jaeger <aj@suse.de>
31980
31981 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31982 since we manipulate rounding mode.
31983 (CPPFLAGS-test-idouble.c): Likewise.
31984 (CPPFLAGS-test-ifloat.c): Likewise.
31985 (CFLAGS-test-ldouble.c): Likewise.
31986 (CFLAGS-test-double.c): Likewise.
31987 (CFLAGS-test-float.c): Likewise.
31988 (CFLAGS-test-misc.c): Likewise.
31989 (CFLAGS-test-test-fenv.c): Likewise.
31990
319912012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31992
31993 [BZ #2550]
31994 [BZ #2570]
31995 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31996 comparisons to determine direction to adjust input.
31997
319982012-05-01 Roland McGrath <roland@hack.frob.com>
31999
32000 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32001 output to the target.
32002
32003 * scripts/localplt.awk: New file.
32004 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32005 (check-localplt-CFLAGS): Variable removed.
32006 ($(all-built-dso:=.jmprel)): New static pattern rule.
32007 (generated): Add those targets.
32008 (localplt-built-dso): New variable.
32009 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32010
32011 * elf/check-localplt.c: File removed.
32012
32013 * scripts/check-execstack.awk: New file.
32014 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32015 (check-execstack-CFLAGS): Variable removed.
32016 ($(objpfx)check-execstack.h): Target removed.
32017 ($(objpfx)execstack-default): New target.
32018 (generated): Add that instead of check-execstack.h.
32019 ($(all-built-dso:=.phdr)): New static pattern rule.
32020 (generated): Add those targets.
32021 * elf/check-execstack.c: File removed.
32022
32023 * scripts/check-textrel.awk: New file.
32024 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32025 (check-textrel-CFLAGS): Variable removed.
32026 (all-built-dso): Use := to define.o
32027 ($(all-built-dso:=.dyn)): New static pattern rule.
32028 (generated): Add those targets.
32029 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32030 * config.make.in (READELF): New substituted variable.
32031 * elf/check-textrel.c: File removed.
32032
320332012-05-01 Joseph Myers <joseph@codesourcery.com>
32034
32035 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32036 allow.
32037 * conform/data/ctype.h-data [C99-based standards] (isblank):
32038 Expect function.
32039 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32040 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32041 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32042 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32043 Specify type. Require positive value.
32044 (EILSEQ): Likewise.
32045 (ERANGE): Likewise.
32046 [ISO || POSIX] (EILSEQ): Do not expect.
32047 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32048 Specify type. Require positive value.
32049 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32050 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32051 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32052 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32053 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32054 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32055 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32056 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32057 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32058 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32059 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32060 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32061 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32062 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32063 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32064 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32065 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32066 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32067 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32068 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32069 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32070 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32071 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32072 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32073 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32074 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32075 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32076 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32077 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32078 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32079 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32080 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32081 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32082 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32083 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32084 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32085 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32086 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32087 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32088 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32089 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32090 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32091 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32092 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32093 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32094 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32095 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32096 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32097 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32098 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32099 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32100 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32101 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32102 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32103 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32104 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32105 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32106 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32107 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32108 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32109 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32110 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32111 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32112 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32113 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32114 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32115 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32116 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32117 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32118 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32119 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32120 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32121 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32122 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32123 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32124 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32125 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32126 Require >= 2.
32127 (FLT_ROUNDS): Expect as macro, not constant.
32128 (FLT_MANT_DIG): Use macro-int-constant.
32129 (DBL_MANT_DIG): Likewise.
32130 (LDBL_MANT_DIG): Likewise.
32131 (FLT_DIG): Likewise.
32132 (DBL_DIG): Likewise.
32133 (LDBL_DIG): Likewise.
32134 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32135 (DBL_MIN_EXP): Likewise.
32136 (LDBL_MIN_EXP): Likewise.
32137 (FLT_MAX_EXP): Use macro-int-constant.
32138 (DBL_MAX_EXP): Likewise.
32139 (LDBL_MAX_EXP): Likewise.
32140 (FLT_MAX_10_EXP): Likewise.
32141 (DBL_MAX_10_EXP): Likewise.
32142 (LDBL_MAX_10_EXP): Likewise.
32143 (FLT_MAX): Use macro-constant.
32144 (DBL_MAX): Likewise.
32145 (LDBL_MAX): Likewise.
32146 (FLT_EPSILON): Use macro-constant. Give upper bound.
32147 (DBL_EPSILON): Likewise.
32148 (LDBL_EPSILON): Likewise.
32149 (FLT_MIN): Likewise.
32150 (DBL_MIN): Likewise.
32151 (LDBL_MIN): Likewise.
32152 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32153 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32154 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32155 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32156 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32157 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32158 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32159 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32160 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32161 [ISO11] (FLT_TRUE_MIN): Likewise.
32162 [ISO11] (LDBL_TRUE_MIN): Likewise.
32163 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32164 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32165 (SCHAR_MIN): Use macro-int-constant. Specify type.
32166 (SCHAR_MAX): Likewise.
32167 (UCHAR_MAX): Likewise.
32168 (CHAR_MIN): Likewise.
32169 (CHAR_MAX): Likewise.
32170 (MB_LEN_MAX): Use macro-int-constant.
32171 (SHRT_MIN): Use macro-int-constant. Specify type.
32172 (SHRT_MAX): Likewise.
32173 (USHRT_MAX): Likewise.
32174 (INT_MAX): Likewise.
32175 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32176 bound negative.
32177 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32178 bound with "U".
32179 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32180 bound with "L".
32181 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32182 bound negative. Suffix upper bound with "L".
32183 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32184 bound with "UL".
32185 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32186 Specify type.
32187 [C99-based standards] (LLONG_MAX): Likewise.
32188 [C99-based standards] (ULLONG_MAX): Likewise.
32189 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32190 == 0.
32191 [ISO11] (max_align_t): Require type.
32192 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32193
32194 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32195 from $CFLAGS, without defining away __attribute__ calls.
32196 (checknamespace): Use $CFLAGS_namespace.
32197
32198 * conform/conformtest.pl (@keywords): Only include C99 keywords
32199 for standards based on C99 or C11.
32200
32201 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32202 Disable tests.
32203 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32204 UNIX98]: Likewise.
32205
32206 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32207 usability of symbols in #if.
32208
32209 * conform/conformtest.pl: If macro or constant types start
32210 "promoted:", expect the symbol to be of the following type
32211 promoted by the integer promotions.
32212
32213 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32214 in one place. Also handle "macro-constant".
32215
32216 * conform/conformtest.pl: Only accept expected macro values with
32217 "==". Parse all "macro" lines in one place.
32218 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32219
32220 * conform/conformtest.pl: Handle braced types on "constant" lines
32221 instead of handling "typed-constant".
32222 * conform/data/signal.h-data: Use "constant" instead of
32223 "typed-constant".
32224
32225 * conform/conformtest.pl: Handle "optional-" at start of lines in
32226 one place rather than duplicating several cases. Handle each
32227 format of "macro" line with initial "optional-".
32228
32229 * conform/conformtest.pl: Only accept expected constant or
32230 optional-constant values with "==". Parse all "constant" lines in
32231 one place. Parse all "optional-constant" lines in one place.
32232 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32233 * conform/data/fmtmsg.h-data: Likewise.
32234 * conform/data/netinet/in.h-data: Likewise.
32235 * conform/data/tar.h-data: Likewise.
32236 * conform/data/limits.h-data: Use "==" form on "constant" and
32237 "optional-constant" lines.
32238
32239 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32240 Use -std=c99 for XOPEN2K.
32241 (@knownproblems): Remove.
32242 (newtoken): Don't check %isknown.
32243
32244 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32245 Do not expect macro.
32246 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32247 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32248 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32249 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32250 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32251 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32252 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32253 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32254 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32255 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32256 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32257 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32258 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32259 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32260 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32261 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32262 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32263 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32264 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32265 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32266 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32267 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32268 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32269 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32270 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32271 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32272 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32273 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32274 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32275 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32276 [XPG3] (acosh): Likewise.
32277 [XPG3] (asinh): Likewise.
32278 [XPG3] (atanh): Likewise.
32279 [XPG3] (cbrt): Likewise.
32280 [XPG3] (expm1): Likewise.
32281 [XPG3] (ilogb): Likewise.
32282 [XPG3] (log1p): Likewise.
32283 [XPG3] (logb): Likewise.
32284 [XPG3] (nextafter): Likewise.
32285 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32286 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32287 [XPG3] (remainder): Likewise.
32288 [XPG3] (rint): Likewise.
32289 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32290 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32291 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32292 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32293 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32294 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32295 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32296 [UNIX98 || XOPEN2K] (scalb): Expect.
32297 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32298 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32299 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32300 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32301 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32302 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32303 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32304 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32305 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32306 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32307 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32308 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32309 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32310 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32311 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32312 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32313 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32314 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32315 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32316 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32317 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32318 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32319 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32320 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32321 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32322 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32323 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32324 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32325 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32326 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32327 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32328 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32329 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32330 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32331 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32332 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32333 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32334 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32335 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32336 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32337 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32338 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32339 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32340 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32341 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32342 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32343 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32344 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32345 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32346 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32347 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32348 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32349 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32350 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32351 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32352 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32353 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32354 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32355 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32356 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32357 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32358 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32359 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32360 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32361 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32362 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32363 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32364 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32365 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32366 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32367 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32368 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32369 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32370 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32371 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32372 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32373 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32374 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32375 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32376 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32377 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32378 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32379 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32380 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32381 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32382 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32383 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32384 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32385 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32386 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32387 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32388 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32389 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32390 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32391 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32392 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32393 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32394 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32395 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32396 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32397 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32398 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32399 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32400 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32401 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32402 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32403 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32404 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32405 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32406 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32407 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32408 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32409 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32410 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32411 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32412 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32413 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32414 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32415 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32416 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32417 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32418 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32419 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32420 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32421 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32422 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32423 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32424 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32425 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32426 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32427 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32428 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32429 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32430 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32431 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32432 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32433 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32434
32435 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32436 _XOPEN_SOURCE_EXTENDED for XPG4.
32437
32438 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32439
32440 * Makeconfig (localtime): Remove variable.
32441 (inst_localtime-file): Likewise.
32442
324432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32444
32445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32446 Update.
32447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32448 Update.
32449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32450 Update.
32451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32452 Update.
32453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32454 Update.
32455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32456 Update.
32457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32458 Update.
32459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32460 Update.
32461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32462 Update.
32463
324642012-05-01 Joseph Myers <joseph@codesourcery.com>
32465
32466 [BZ #2550]
32467 [BZ #2570]
32468 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32469 comparisons to determine direction to adjust input.
32470 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32471 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32472 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32473 Likewise.
32474 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32475 Likewise.
32476 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32477 Likewise.
32478 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32479 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32480 Likewise.
32481 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32482 Likewise.
32483 * math/libm-test.inc (nexttoward_test): Add more tests.
32484
324852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32486
32487 [BZ #14040]
32488 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32489 in version GLIBC_2.1, not GLIBC_2.0.
32490 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32491 Likewise.
32492
324932012-04-30 Joseph Myers <joseph@codesourcery.com>
32494
32495 [BZ #13942]
32496 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32497 (1 - x) * (1 + x).
32498 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32499 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32500 * math/libm-test.inc (acos_test): Add more tests.
32501 (asin_test): Likewise.
32502 * sysdeps/i386/fpu/libm-test-ulps: Update.
32503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32504
32505 [BZ #14034]
32506 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32507 of square root.
32508 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32509 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32510 * math/libm-test.inc (acos_test_tonearest): New function.
32511 (acos_test_towardzero): Likewise.
32512 (acos_test_downward): Likewise.
32513 (acos_test_upward): Likewise.
32514 (asin_test_tonearest): Likewise.
32515 (asin_test_towardzero): Likewise.
32516 (asin_test_downward): Likewise.
32517 (asin_test_upward): Likewise.
32518 (main): Call the new functions.
32519 * sysdeps/i386/fpu/libm-test-ulps: Update.
32520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32521
32522 [BZ #13884]
32523 [BZ #13924]
32524 * math/e_exp10.c: Include <float.h>.
32525 (__ieee754_exp10): Handle underflow here rather than multiplying
32526 large negative argument by M_LN10.
32527 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32528 of __ieee754_expf.
32529 * math/e_exp10l.c: Include <float.h>.
32530 (__ieee754_exp10l): Handle underflow here rather than multiplying
32531 large negative argument by M_LN10l.
32532 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32533 spurious overflow exception on underflow.
32534
325352012-04-29 Marek Polacek <polacek@redhat.com>
32536
32537 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32538 (__fortify_function): New macro.
32539 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32540 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32541 __extern_always_inline.
32542 * libio/bits/stdio2.h: Likewise.
32543 * libio/bits/stdio.h: Likewise.
32544 * string/string.h: Likewise.
32545 * string/bits/string3.h: Likewise.
32546 * include/stdio.h: Likewise.
32547 * stdlib/bits/stdlib.h: Likewise.
32548 * stdlib/stdlib.h: Likewise.
32549 * rt/bits/mqueue2.h: Likewise.
32550 * rt/mqueue.h: Likewise.
32551 * posix/bits/unistd.h: Likewise.
32552 * posix/unistd.h: Likewise.
32553 * io/bits/poll2.h: Likewise.
32554 * io/bits/fcntl2.h: Likewise.
32555 * io/fcntl.h: Likewise.
32556 * io/sys/poll.h: Likewise.
32557 * misc/bits/syslog.h: Likewise.
32558 * misc/bits/syslog-ldbl.h: Likewise.
32559 * misc/sys/syslog.h: Likewise.
32560 * socket/bits/socket2.h: Likewise.
32561 * socket/sys/socket.h: Likewise.
32562 * debug/tst-chk1.c: Likewise.
32563 * wcsmbs/bits/wchar2.h: Likewise.
32564 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32565 * wcsmbs/wchar.h: Likewise.
32566
325672012-04-29 Andreas Jaeger <aj@suse.de>
32568
32569 * Makerules (tests): Remove enable-check-abi protection.
32570 (check-abi-warn): Remove.
32571 (check-abi-%): Remove check-abi-warn usage.
32572
32573 * configure.in: Remove check-abi configure option.
32574 * configure: Regenerated.
32575 * config.make.in (enable-check-abi): Remove.
32576
325772012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32578
32579 [BZ #14033]
32580 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32581 double functions to double *_finite functions.
32582
32583 [BZ #13941]
32584 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32585 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32586 LDBL_MIN_EXP.
32587 * stdio-common/Makefile (tests): Add tst-sprintf3.
32588 * stdio-common/tst-sprintf3.c: New file.
32589
32590 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32591 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32592
325932012-04-28 Joseph Myers <joseph@codesourcery.com>
32594
32595 * conform/conformtest.pl: Remove duplicate typed-constant
32596 handling.
32597
325982012-04-28 David S. Miller <davem@davemloft.net>
32599
32600 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32601 (check-abi-%): Remove AWK script prerequisite and explicit
32602 abilist directory.
32603 (check-abi): Rewrite to just diff the symlist with the abilist.
32604 (config-tls, config-abi-config): Delete, no longer used.
32605 (update-abi-%): Remove AWK script and explicit abilist directory.
32606 (update-abi): Rewrite to simply compare and conditionally copy the
32607 symlist and the sysdep abilist file. Remove update-abi-config
32608 checks.
32609 * abilist/ld.abilist: Remove.
32610 * abilist/libBrokenLocale.abilist: Remove.
32611 * abilist/libanl.abilist: Remove.
32612 * abilist/libcrypt.abilist: Remove.
32613 * abilist/libdl.abilist: Remove.
32614 * abilist/librt.abilist: Remove.
32615 * abilist/libthread_db.abilist: Remove.
32616 * abilist/libutil.abilist: Remove.
32617 * scripts/extract-abilist.awk: Remove.
32618 * scripts/merge-abilist.awk: Remove.
32619 * sysdeps/generic/libcidn.abilist: New file.
32620 * sysdeps/generic/libnss_compat.abilist: New file.
32621 * sysdeps/generic/libnss_db.abilist: New file.
32622 * sysdeps/generic/libnss_dns.abilist: New file.
32623 * sysdeps/generic/libnss_files.abilist: New file.
32624 * sysdeps/generic/libnss_hesiod.abilist: New file.
32625 * sysdeps/generic/libnss_nis.abilist: New file.
32626 * sysdeps/generic/libnss_nisplus.abilist: New file.
32627 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32628 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32629 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32630 file.
32631 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32632 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32633 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32634 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32635 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32636 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32637 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32638 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32639 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32640 file.
32641 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32642 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32643 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32644 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32645 file.
32646 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32647 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32648 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32649 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32650 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32651 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32652 file.
32653 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32654 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32655 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32656 file.
32657 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32659 New file.
32660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32661 New file.
32662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32663 New file.
32664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32665 New file.
32666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32667 New file.
32668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32669 New file.
32670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32671 New file.
32672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32673 New file.
32674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32675 New file.
32676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32677 New file.
32678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32679 New file.
32680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32681 New file.
32682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32683 New file.
32684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32685 file.
32686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32687 New file.
32688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32689 New file.
32690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32691 file.
32692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32693 New file.
32694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32695 New file.
32696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32697 file.
32698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32699 New file.
32700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32701 New file.
32702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32703 New file.
32704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32705 New file.
32706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32707 New file.
32708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32709 New file.
32710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32712 file.
32713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32714 New file.
32715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32716 file.
32717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32718 file.
32719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32720 file.
32721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32722 file.
32723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32724 file.
32725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32726 New file.
32727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32728 file.
32729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32730 file.
32731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32732 New file.
32733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32734 file.
32735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32737 file.
32738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32739 New file.
32740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32741 file.
32742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32743 file.
32744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32745 file.
32746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32747 file.
32748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32749 file.
32750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32751 New file.
32752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32753 file.
32754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32755 file.
32756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32757 New file.
32758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32759 file.
32760 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32761 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32762 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32763 file.
32764 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32765 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32766 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32767 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32768 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32769 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32770 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32771 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32772 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32773 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32776 file.
32777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32778 New file.
32779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32780 file.
32781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32782 file.
32783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32784 file.
32785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32786 file.
32787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32788 file.
32789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32790 New file.
32791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32792 New file.
32793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32794 file.
32795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32796 New file.
32797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32798 file.
32799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32801 file.
32802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32803 New file.
32804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32805 file.
32806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32807 file.
32808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32809 file.
32810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32811 file.
32812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32813 file.
32814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32815 New file.
32816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32817 New file.
32818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32819 file.
32820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32821 New file.
32822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32823 file.
32824
328252012-04-28 Joseph Myers <joseph@codesourcery.com>
32826
32827 * conform/conformtest.pl: Fix typo in handling typed-constant from
32828 allow-header.
32829
328302012-04-27 Joseph Myers <joseph@codesourcery.com>
32831
32832 * README: Cut down references to pre-2.6 Linux kernels and
32833 Linuxthreads. Update lists of configurations in libc and ports
32834 and sort alphabetically. Say "or newer" with Linux kernel version
32835 requirements.
32836
32837 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32838
328392012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32840
32841 [BZ #887]
32842 * math/libm-test.inc (logb_test_downward): New test to expose
32843 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32844 rounding mode.
32845
328462012-04-27 Joseph Myers <joseph@codesourcery.com>
32847
32848 [BZ #14027]
32849 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32850 to be done.
32851 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32852 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32853
328542012-04-26 Joseph Myers <joseph@codesourcery.com>
32855
32856 * sysdeps/unix/i386/brk.S: Remove file.
32857 * sysdeps/unix/i386/dl-brk.S: Likewise.
32858 * sysdeps/unix/i386/pipe.S: Likewise.
32859 * sysdeps/unix/i386/sigreturn.S: Likewise.
32860 * sysdeps/unix/i386/syscall.S: Likewise.
32861 * sysdeps/unix/i386/vfork.S: Likewise.
32862 * sysdeps/unix/i386/wait.S: Likewise.
32863
32864 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32865 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32866
32867 * configure.in (arm*-none*): Do not allow without
32868 --enable-hacker-mode.
32869 (netbsd*): Remove case setting base_os.
32870 (386bsd*): Likewise.
32871 (freebsd*): Likewise.
32872 (bsdi*): Likewise.
32873 (osf*): Likewise.
32874 (sunos*): Likewise.
32875 (ultrix*): Likewise.
32876 (newsos*): Likewise.
32877 (dynix*): Likewise.
32878 (*bsd*): Likewise.
32879 (sysv*): Likewise.
32880 (isc*): Likewise.
32881 (esix*): Likewise.
32882 (sco*): Likewise.
32883 (minix*): Likewise.
32884 (irix4*): Likewise.
32885 (irix6*): Likewise.
32886 (solaris[2-9]*): Likewise.
32887 (none): Likewise.
32888 * configure: Regenerated.
32889
328902012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32891
32892 [BZ #11521]
32893 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32894 overflow or cancellation in calculating denominator.
32895 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32896 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32897 down expression to avoid unexpected rounding in newer GCCs.
32898 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32899
329002012-04-26 David S. Miller <davem@davemloft.net>
32901
32902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32903 long-double compat symbols.
32904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32917
329182012-04-25 David S. Miller <davem@davemloft.net>
32919
32920 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32921 HWCAP_* values only after the memory barriers have been defined.
32922 (atomic_full_barrier): Define.
32923 (atomic_read_barrier): Define.
32924 (atomic_write_barrier): Define.
32925
329262012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32927
32928 * shlib-versions: Add libgcc_s version information.
32929 * sysdeps/generic/libgcc_s.h: Remove.
32930 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32931 libgcc_s.h.
32932 * sysdeps/gnu/unwind-resume.c: Likewise.
32933 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32934
329352012-04-25 David S. Miller <davem@davemloft.net>
32936
32937 * sysdeps/unix/sparc/brk.S: Delete.
32938 * sysdeps/unix/sparc/dl-brk.S: Delete.
32939 * sysdeps/unix/sparc/pipe.S: Delete.
32940 * sysdeps/unix/sparc/sysdep.S: Delete.
32941 * sysdeps/unix/sparc/sysdep.h: Delete.
32942 * sysdeps/unix/sparc/vfork.S: Delete.
32943 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32944 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32945 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32946 (ret_ERRVAL, r0, r1, MOVE): Define.
32947 (JUMPTARGET): Remove.
32948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32949 sysdeps/unix/sparc/sysdep.h
32950 (ENTRY, END): Remove.
32951 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32952
329532012-04-25 Joseph Myers <joseph@codesourcery.com>
32954
32955 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32956 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32957 -DIS_IN_build.
32958
32959 * timezone/README: Update upstream location and email address for
32960 tzcode and tzdata.
32961 * timezone/zdump.c: Update from tzcode 2012b.
32962 * timezone/zic.c: Likewise.
32963
32964 * configure.in (libc_cv_as_needed): Remove test.
32965 * configure: Regenerated.
32966 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32967 conditional definition.
32968 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32969 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32970 * config.make.in (have-as-needed): Remove variable.
32971
329722012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32973 Paul Pluzhnikov <ppluzhnikov@google.com>
32974
32975 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32976 strings correctly.
32977
329782012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32979
32980 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32981 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32982 * sysdeps/sh/strlen.S: Likewise.
32983
329842012-04-24 Joseph Myers <joseph@codesourcery.com>
32985
32986 * sysdeps/unix/fork.S: Remove file.
32987 * sysdeps/unix/i386/fork.S: Likewise.
32988 * sysdeps/unix/sparc/fork.S: Likewise.
32989
32990 * sysdeps/unix/system.c: Remove file.
32991 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32992
32993 * sysdeps/unix/getegid.S: Remove file.
32994 * sysdeps/unix/geteuid.S: Likewise.
32995
329962012-04-24 Roland McGrath <roland@hack.frob.com>
32997
32998 * scripts/check-localplt.awk: New file.
32999 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33000 of diff.
33001 * scripts/data/localplt-generic.data: Add a comment.
33002
33003 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33004 NODE when __dir_mkfile failed.
33005 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33006 Reported by Ludovic Courtès <ludo@gnu.org>.
33007
330082012-04-24 Andreas Jaeger <aj@suse.de>
33009
33010 * Makerules (common-clean): Also remove gen-as-const-headers
33011 files.
33012
330132012-04-24 Joseph Myers <joseph@codesourcery.com>
33014
33015 * Makerules (native-compile): Do not change working directory for
33016 build. Use $(OUTPUT_OPTION) in command.
33017 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33018
330192012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33020
33021 [BZ #13886]
33022 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33023 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33024 * math/libm-test.inc (floor_test): Add more tests.
33025 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33026
330272012-04-24 Joseph Myers <joseph@codesourcery.com>
33028
33029 * sysdeps/unix/getdents.c: Remove file.
33030 * sysdeps/unix/sysv/getdents.c: Likewise.
33031 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33032
33033 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33034 sysdeps/unix/mman/syscalls.list.
33035 (mmap): Likewise.
33036 (mprotect): Likewise.
33037 (msync): Likewise.
33038 (munmap): Likewise.
33039 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33040 * sysdeps/unix/mman/syscalls.list: Remove.
33041 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33042
33043 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33044 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33045 * configure: Regenerated.
33046 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33047 $(libgcc_s_suffix).
33048 * config.make.in (libgcc_s_suffix): Remove variable.
33049
330502012-04-23 Joseph Myers <joseph@codesourcery.com>
33051
33052 * sysdeps/unix/sysv/gethostname.c: Move to ...
33053 * sysdeps/posix/gethostname.c: ... here.
33054
33055 * sysdeps/unix/execve.S: Remove file.
33056
33057 * sysdeps/unix/_exit.S: Remove file.
33058
330592012-04-23 Andreas Jaeger <aj@suse.de>
33060
33061 [BZ #13739]
33062 * manual/Makefile: Remove make dist support, there's no
33063 need for a stand-alone documentation tar ball.
33064 (TEXI2DVI): Define always, it's not in Makeconfig.
33065 (dist): Removed.
33066 (tar-it): Removed.
33067 (edition): Removed.
33068 (glibc-doc-$(edition).tar): Removed
33069 (%.Z): Removed.
33070 (%.gz): Removed.
33071 (%.uu): Removed.
33072 (ETAGS): Remove, it's in Makeconfig.
33073 (move-if-change): Remove, it's in Makeconfig.
33074
330752012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33076
33077 [BZ #13970]
33078 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33079 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33080 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33081 (strtod_l, strtof_l, strtold_l): Remove __wur.
33082 It is not necessarily an error to ignore strtol's return value.
33083 One can reliably look at the stored endptr to decide whether
33084 the number had valid syntax.
33085
330862012-04-21 Andreas Jaeger <aj@suse.de>
33087
33088 [BZ #13739]
33089 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33090
330912012-04-21 Joseph Myers <joseph@codesourcery.com>
33092
33093 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33094 * sysdeps/unix/sysv/Versions: Remove file.
33095
330962012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33097
33098 [BZ #13927]
33099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33100
331012012-04-21 Nick Alcock <nick.alcock@oracle.com>
33102
33103 [BZ #7064]
33104 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33105 version from __vm86.
33106
331072012-04-20 Joseph Myers <joseph@codesourcery.com>
33108
33109 * sysdeps/unix/common/lxstat.c: Remove file.
33110 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33111
33112 * sysdeps/unix/sysv/Makefile: Remove file.
33113
33114 * sysdeps/unix/sysv/direct.h: Remove file.
33115
33116 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33117 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33118 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33119 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33120 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33121 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33122 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33123
33124 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33125
33126 * sysdeps/unix/xmknod.c: Remove file.
33127 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33128
33129 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33130
33131 * sysdeps/unix/sysv/i386/time.S: Remove file.
33132
33133 * sysdeps/unix/fxstat.c: Remove file.
33134 * sysdeps/unix/xstat.c: Likewise.
33135 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33136
33137 * sysdeps/unix/sysv/sigaction.c: Remove file.
33138
33139 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33140 (sysdep_headers): Remove variable.
33141 [termio.h not in sysdep_headers] (generated): Likewise.
33142 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33143 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33144 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33145 * sysdeps/unix/sysv/tcflow.c: Likewise.
33146 * sysdeps/unix/sysv/tcflush.c: Likewise.
33147 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33148 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33149 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33150 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33151 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33152
33153 * sysdeps/unix/siglist.c: Remove file.
33154
33155 * sysdeps/unix/getppid.S: Remove file.
33156
33157 * sysdeps/unix/mkdir.c: Remove file.
33158 * sysdeps/unix/rmdir.c: Likewise.
33159
331602012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33161
33162 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33163 ERR_MAX value.
33164 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33165 errlist-compat value.
33166
331672012-04-18 David S. Miller <davem@davemloft.net>
33168
33169 * sysdeps/generic/memcopy.h (reg_char): Delete.
33170 * debug/strcat_chk.c: Use char, not reg_char.
33171 * debug/strcpy_chk.c: Likewise.
33172 * debug/strncat_chk.c: Likewise.
33173 * debug/strncpy_chk.c: Likewise.
33174 * string/memchr.c: Likewise.
33175 * string/memrchr.c: Likewise.
33176 * string/rawmemchr.c: Likewise.
33177 * string/strcat.c: Likewise.
33178 * string/strchr.c: Likewise.
33179 * string/strchrnul.c: Likewise.
33180 * string/strcmp.c: Likewise.
33181 * string/strcpy.c: Likewise.
33182 * string/strncat.c: Likewise.
33183 * string/strncmp.c: Likewise.
33184 * string/strncpy.c: Likewise.
33185
331862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33187
33188 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33189 __builtin_memcopy is called when src and dest ranges are known to not
33190 overlap.
33191
331922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33193
33194 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33195 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33196 fwd_align_merge macro call.
33197 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33198 bwd_align_merge macro call.
33199 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33200
332012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33202
33203 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33204 bwd_align_merge macros.
33205 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33206 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33207 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33208
332092012-04-18 David S. Miller <davem@davemloft.net>
33210
33211 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33212
332132012-04-18 Andreas Jaeger <aj@suse.de>
33214
33215 [BZ# 6794]
33216 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33217 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33218 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33219
33220 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33221 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33222 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33223
33224 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33225 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33226 Adjust for changed ldbl-128 files.
33227
33228 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33229 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33230 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33231
332322012-04-17 David S. Miller <davem@davemloft.net>
33233
33234 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33235
332362012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33237
33238 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33239 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33240 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33241 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33242 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33243 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33244
332452012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33246
33247 [BZ #6794]
33248 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33249 * math/libm-test.inc: Add ilogb errno and exception tests.
33250 * math/w_ilogb.c: New file: ilogb wrapper.
33251 * math/w_ilogbf.c: New file: ilogbf wrapper.
33252 * math/w_ilogbl.c: New file: ilogbl wrapper.
33253 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33254 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33255 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33256 exception being thrown with 0.0 as argument.
33257 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33258 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33259 exception being thrown with 0.0 as argument.
33260 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33261 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33262 exception being thrown with 0.0 as argument.
33263 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33264 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33265 exception being thrown with 0.0 as argument.
33266 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33267 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33268 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33269 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33270 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33271 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33272 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33273 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33274 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33275
332762012-04-17 Petr Baudis <pasky@ucw.cz>
33277
33278 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33279 with altivec.
33280
332812012-04-16 Marek Polacek <polacek@redhat.com>
33282
33283 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33284
332852012-04-16 Marek Polacek <polacek@redhat.com>
33286
33287 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33288 operands of fdivp instruction.
33289
332902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33291
33292 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33293 * elf/tst-auditmod3b.c: Likewise.
33294 * elf/tst-auditmod4b.c: Likewise.
33295 * elf/tst-auditmod5b.c: Likewise.
33296 * elf/tst-auditmod6b.c: Likewise.
33297 * elf/tst-auditmod6c.c: Likewise.
33298 * elf/tst-auditmod7b.c: Likewise.
33299 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33300 * sysdeps/x86_64/preconfigure.in: Likewise.
33301 * sysdeps/x86_64/preconfigure: Regenerated.
33302
333032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33304
33305 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33306 __ILP32__.
33307
333082012-04-13 Antoine Balestrat <merkil33@gmail.com>
33309
33310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33311 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33312
333132012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33314
33315 [BZ #13973]
33316 * locale/iso-639.def: Fix gl language name. Spotted by
33317 Yaron Shahrabani.
33318
333192012-04-12 Roland McGrath <roland@hack.frob.com>
33320
33321 [BZ #2074]
33322 * libio/libio.h (__io_write_fn): Update comment.
33323
333242012-04-12 Petr Baudis <pasky@ucw.cz>
33325
33326 [BZ #2074]
33327 * stdio.texi (Hook Functions): The user provided writer function
33328 is not allowed to return -1.
33329
333302012-04-11 David S. Miller <davem@davemloft.net>
33331
33332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33333
333342012-04-11 Mike Frysinger <vapier@gentoo.org>
33335
33336 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33337 Add a leading slash to rtkaio.
33338
333392012-04-11 Jim Meyering <meyering@redhat.com>
33340
33341 [BZ #11959]
33342 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33343 It is not necessarily an error to ignore fwrite's return
33344 value. One can reliably use ferror to test for errors after
33345 the fact.
33346
333472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33348
33349 * bits/types.h (__snseconds_t): New type.
33350 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33351
33352 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33353 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33354 (__SNSECONDS_T_TYPE): Likewise.
33355 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33356 (__SNSECONDS_T_TYPE): Likewise.
33357 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33358 (__SNSECONDS_T_TYPE): Likewise.
33359
333602012-04-10 Andreas Jaeger <aj@suse.de>
33361
33362 [BZ #2636]
33363 * manual/time.texi (Processor Time): Return type of times is
33364 elapsed real time since an arbitrary point in the past.
33365 (CPU Time): Move CLK_TCK from here...
33366 (Processor Time): ...to here. Correct description.
33367 * manual/conf.texi (Constants for Sysconf): Correct description of
33368 _SC_CLK_TCK.
33369
333702012-04-10 David S. Miller <davem@davemloft.net>
33371
33372 [BZ #13967]
33373 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33374 where the is a gap between DT_REL(A) and DT_JMPREL.
33375
333762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33377
33378 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33379 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33380 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33381
333822012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33383
33384 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33385 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33386 (dl_main): Handle --inhibit-cache.
33387 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33388 _dl_inhibit_cache.
33389 * elf/dl-load.c (_dl_map_object): Use it.
33390 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33391
333922012-04-09 Joseph Myers <joseph@codesourcery.com>
33393
33394 [BZ #13872]
33395 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33396 (__ieee754_powl): Saturate large exponents rather than testing for
33397 overflow of y*log2(x).
33398 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33399 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33400 exceptions.
33401
33402 [BZ #11521]
33403 * math/s_ctan.c: Include <float.h>.
33404 (__ctan): Avoid internal overflow or cancellation in calculating
33405 denominator.
33406 * math/s_ctanf.c: Likewise.
33407 * math/s_ctanl.c: Likewise.
33408 * math/s_ctanh.c: Likewise.
33409 * math/s_ctanhf.c: Likewise.
33410 * math/s_ctanhl.c: Likewise.
33411 * math/libm-test.inc (ctan_test): Add more tests.
33412 (ctanh_test): Likewise.
33413 * sysdeps/i386/fpu/libm-test-ulps: Update.
33414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33415
334162012-04-09 Andreas Jaeger <aj@suse.de>
33417
33418 [BZ #6894]
33419 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33420 is an optional BSD extension.
33421
33422 [BZ #10254]
33423 * manual/stdio.texi (Opening Streams): Document additional fopen
33424 parameters.
33425
334262012-04-09 Roland McGrath <roland@hack.frob.com>
33427
33428 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33429 %eax without telling the compiler.
33430
334312012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33432
33433 [BZ # 13963]
33434 * manual/install.texi: Use sourceware.org.
33435
334362012-04-09 Joseph Myers <joseph@codesourcery.com>
33437
33438 [BZ #13873]
33439 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33440 (__ieee754_pow): Generate overflow and underflow using huge*huge
33441 and tiny*tiny rather than just returning constant infinity or zero
33442 for large exponents.
33443 * math/libm-test.inc (pow_test): Require overflow exceptions for
33444 applicable cases of large exponents.
33445
33446 [BZ #706]
33447 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33448 (__ieee754_pow): Use iterative multiplication algorithm only for
33449 integer exponents with absolute value below 1024. Check for odd
33450 integer exponents when using algorithm for real exponents.
33451 * math/libm-test.inc (pow_test): Add more tests.
33452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33453
334542012-04-08 Joseph Myers <joseph@codesourcery.com>
33455
33456 [BZ #13705]
33457 * math/libm-test.inc (exp_test): Do not allow overflow exception
33458 on underflow test.
33459
334602012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33461
33462 [BZ #13705]
33463 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33464 instead of __kernel_standard_f.
33465
334662012-04-08 Mike Frysinger <vapier@gentoo.org>
33467
33468 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33469 * sysdeps/x86_64/memset_chk.S: Likewise.
33470
334712012-04-08 Andreas Jaeger <aj@suse.de>
33472
33473 [BZ #10153]
33474 * manual/startup.texi (Environment Access): Describe return value
33475 for putenv and setenv.
33476
33477 [BZ #6895]
33478 * manual/filesys.texi (Directory Entries): Add description for
33479 DT_LNK.
33480
33481 [BZ #6890]
33482 * manual/filesys.texi (Directory Entries): Clarify that it's file
33483 system not operating system in the description of DT_UNKNOWN.
33484
33485 [BZ #6578]
33486 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33487
334882012-04-08 Stephen Compall <s11@member.fsf.org>
33489
33490 [BZ #6649]
33491 * manual/llio.texi (Opening and Closing Files): Add cross
33492 reference to explain mode argument.
33493
334942012-04-07 Mike Frysinger <vapier@gentoo.org>
33495
33496 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33497 * sysdeps/x86_64/memset_chk.S: Likewise.
33498
334992012-04-07 David S. Miller <davem@davemloft.net>
33500
33501 * elf/elf.h (R_SPARC_WDISP10): Define.
33502 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33503 R_SPARC_SIZE32.
33504 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33505 R_SPARC_SIZE64 and R_SPARC_H34.
33506
335072012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33508
33509 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33510 conditions and remove no longer applicable assertion.
33511
335122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33513
33514 * bits/byteswap.h: Include <features.h>.
33515 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33516 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33517
335182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33519
33520 * bits/byteswap.h (__bswap_16): Removed.
33521 Include <bits/byteswap-16.h> to get __bswap_16.
33522 * sysdeps/i386/bits/byteswap.h: Likewise.
33523 * sysdeps/s390/bits/byteswap.h: Likewise.
33524 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33525 * bits/byteswap-16.h: New file.
33526 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33527 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33528 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33529 * string/Makefile (headers): Add bits/byteswap-16.h.
33530
335312012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33532
33533 [BZ #13895]
33534 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33535 extra indirection.
33536 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33537 * nss/tst-nss-static.c: New.
33538
335392012-04-06 Robert Millan <rmh@gnu.org>
33540
33541 [BZ #6486]
33542 * manual/llio.texi (File Position Primitive): lseek
33543 refers to WHENCE when it really means OFFSET.
33544
335452012-04-06 Andreas Jaeger <aj@suse.de>
33546
33547 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33548 strncmp declarations.
33549
33550 * abilist/libc.abilist: Add __poll and __ppoll.
33551
335522012-04-05 David S. Miller <davem@davemloft.net>
33553
33554 * scripts/check-local-headers.sh: Accept a host triplet in the
33555 path matched by the exclude regexp.
33556
33557 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33558 definition.
33559 * sysdeps/powerpc/powerpc32/dl-machine.h
33560 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33561 * sysdeps/s390/s390-32/dl-machine.h
33562 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33563 * sysdeps/sparc/sparc32/dl-machine.h
33564 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33565 * sysdeps/sparc/sparc64/dl-machine.h
33566 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33567
33568 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33569 lazy binding.
33570 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33571 undefined symbol errors.
33572
33573 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33574 DT_NEEDED entries.
33575
335762012-04-05 Michael Matz <matz@suse.de>
33577
33578 [BZ #13592]
33579 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33580
335812012-04-05 Andreas Jaeger <aj@suse.de>
33582
33583 [BZ #13908]
33584 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33585 comment.
33586
335872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33588
33589 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33590 which ROUND is no valid rounding mode.
33591
335922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33593
33594 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33595 read again.
33596 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33597
335982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33599
33600 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33601 an exception using FPU order intentionally.
33602
336032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33604
33605 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33606 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33607 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33608 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33609
336102012-04-05 Simon Josefsson <simon@josefsson.org>
33611
33612 [BZ #12340]
33613 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33614 EINVAL when BUFLEN is too smal.
33615
336162012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33617
33618 [BZ #13553]
33619 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33620 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33621
336222012-04-03 Andreas Jaeger <aj@suse.de>
33623
33624 [BZ #13938]
33625 * manual/setjmp.texi (System V contexts): Fix sentence.
33626
33627 [BZ #13926]
33628 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33629 New macro for this case.
33630 [!__GNUC__] (__bswap_64): New inline function for this case.
33631 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33632 * bits/byteswap.h: Likewise.
33633 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33634 ull, guard with __GLIBC_HAVE_LONG_LONG.
33635
33636 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33637 __GLIBC_HAVE_LONG_LONG.
33638
33639 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33640 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33641
336422012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33643
33644 [BZ #13691]
33645 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33646 inptr and inend, rather than using last_ch.
33647
336482012-04-02 David S. Miller <davem@davemloft.net>
33649
33650 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33651 * stdio-common/printf-parse.h (read_int): Change return type to
33652 'int', return -1 on INT_MAX overflow.
33653 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33654 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33655 overflows INT_MAX. Check for overflow of in-format-string precision
33656 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33657 SIZE_MAX not INT_MAX for integer overflow test.
33658 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33659 skip the construct in the format string but do not record anything.
33660 * stdio-common/bug22.c: Adjust to test both width/prevision
33661 INT_MAX overflow as well as total length INT_MAX overflow. Check
33662 explicitly for proper errno values.
33663
336642012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33665
33666 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33667 CHAR_MAX.
33668 * string/test-strcmp.c [! WIDE]: Likewise.
33669 * time/tst-mktime2.c: Likewise for INT_MAX.
33670 * string/test-string.h: #include <sys/param.h> for MIN.
33671
33672 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33673 * sysdeps/i386/init-first.c (init): Likewise.
33674 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33675 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33676 * sysdeps/sh/init-first.c (init): Likewise.
33677
336782012-04-01 Ulrich Drepper <drepper@gmail.com>
33679
33680 * po/ru.po: Update from translation team.
33681 * po/vi.po: Likewise.
33682
336832012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33684
33685 * resolv/nss_dns/dns-host.c: Merge copyright years.
33686
336872012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33688
33689 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33690 Optimize memcpy with prefetch if
33691 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33692 src, dst pointers have unequal 16 byte alignments.
33693
336942012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33695
33696 [BZ #13928]
33697 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33698 from a CNAME entry and return the minimum ttl for the query.
33699 (gaih_getanswer_slice): Likewise.
33700
337012012-03-30 Jeff Law <law@redhat.com>
33702
33703 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33704 due to long keys.
33705 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33706 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33707
33708 * resolv/nss_dns/dns-host.c: Update copyright year.
33709
337102012-03-30 Ulrich Drepper <drepper@gmail.com>
33711
33712 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33713 requests to save a system call. Fix check that all bytes are sent.
33714
33715 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33716 comments for sendmmsg.
33717
337182012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33719
33720 [BZ #13691]
33721 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33722 with only 1 character between 0x0041 and 0x01b0.
33723 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33724 * wcsmbs/tst-mbsnrtowcs.c: New file.
33725
337262012-03-29 David S. Miller <davem@davemloft.net>
33727
33728 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33729 small copies by hand.
33730
337312012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33732
33733 [BZ #13761]
33734 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33735 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33736 group memberships.
33737
337382012-03-28 David S. Miller <davem@davemloft.net>
33739
33740 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33741 that branches into memcpy.
33742 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33743 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33744 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33745 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33746 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33747 bits.
33748 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33749 implementation too.
33750 * sysdeps/sparc/mempcpy.S: New file.
33751
33752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33753 the IFUNC routine in the libc case.
33754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33755
33756 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33757 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33758 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33759 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33760 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33761 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33762 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33763 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33764
33765 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33766 loop to 256 bytes instead of 64 bytes and fix test signedness.
33767
33768 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33769 * sysdeps/sparc/sparc32/Makefile: rather than here...
33770 * sysdeps/sparc/sparc64/Makefile: and here.
33771
337722012-03-28 Ulrich Drepper <drepper@gmail.com>
33773
33774 * malloc/mallocbug.c: Avoid warnings about unused variables.
33775
337762012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33777
33778 [BZ #13760]
33779 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33780 in the right place. Discard and retry query if response is
33781 larger than input buffer size.
33782
337832012-03-28 Joseph Myers <joseph@codesourcery.com>
33784
33785 [BZ #369]
33786 [BZ #2678]
33787 [BZ #3866]
33788 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33789 x for large integer exponent.
33790 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33791 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33792 sign of result as needed afterwards.
33793 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33794 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33795 result for underflowing pow the same as for overflow.
33796 (__kernel_standard_l): Handle powl overflow and underflow here
33797 rather than calling __kernel_standard.
33798 * math/libm-test.inc (pow_test): Add more tests.
33799
33800 [BZ #3868]
33801 [BZ #13879]
33802 [BZ #13910]
33803 [BZ #13911]
33804 [BZ #13912]
33805 [BZ #13913]
33806 [BZ #13915]
33807 [BZ #13916]
33808 [BZ #13917]
33809 [BZ #13918]
33810 [BZ #13919]
33811 [BZ #13920]
33812 [BZ #13921]
33813 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33814 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33815 (__kernel_standard_l): New function.
33816 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33817 __kernel_standard.
33818 * math/w_acosl.c (__acosl): Likewise.
33819 * math/w_asinl.c (__asinl): Likewise.
33820 * math/w_atan2l.c (__atan2l): Likewise.
33821 * math/w_atanhl.c (__atanhl): Likewise.
33822 * math/w_coshl.c (__coshl): Likewise.
33823 * math/w_exp10l.c (__exp10l): Likewise.
33824 * math/w_exp2l.c (__exp2l): Likewise.
33825 * math/w_fmodl.c (__fmodl): Likewise.
33826 * math/w_hypotl.c (__hypotl): Likewise.
33827 * math/w_j0l.c (__j0l, __y0l): Likewise.
33828 * math/w_j1l.c (__j1l, __y1l): Likewise.
33829 * math/w_jnl.c (__jnl, __ynl): Likewise.
33830 * math/w_lgammal.c (__lgammal): Likewise.
33831 * math/w_log10l.c (__log10l): Likewise.
33832 * math/w_log2l.c (__log2l): Likewise.
33833 * math/w_logl.c (__logl): Likewise.
33834 * math/w_powl.c (__powl): Likewise.
33835 * math/w_remainderl.c (__remainderl): Likewise.
33836 * math/w_scalbl.c (sysv_scalbl): Likewise.
33837 * math/w_sinhl.c (__sinhl): Likewise.
33838 * math/w_sqrtl.c (__sqrtl): Likewise.
33839 * math/w_tgammal.c (__tgammal): Likewise.
33840 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33841 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33842 * math/libm-test.inc (acos_test): Add more tests.
33843 (acosh_test): Likewise.
33844 (asin_test): Likewise.
33845 (atanh_test): Likewise.
33846 (exp_test): Likewise.
33847 (exp10_test): Likewise.
33848 (exp2_test): Likewise.
33849 (expm1_test): Likewise.
33850 (lgamma_test): Likewise.
33851 (log_test): Likewise.
33852 (log10_test): Likewise.
33853 (log1p_test): Likewise.
33854 (log2_test): Likewise.
33855 (pow_test): Do not allow some spurious overflow exceptions.
33856 (sqrt_test): Add more tests.
33857 (tgamma_test): Likewise.
33858 (y0_test): Likewise.
33859 (y1_test): Likewise.
33860 (yn_test): Likewise.
33861
338622012-03-27 Anton Blanchard <anton@samba.org>
33863
33864 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33865 MAP_HUGETLB.
33866 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33867 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33868 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33869
338702012-03-27 David S. Miller <davem@davemloft.net>
33871
33872 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33873
33874 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33875 have-as-vis3 check.
33876
338772012-03-27 Andreas Jaeger <aj@suse.de>
33878
33879 * sysdeps/x86_64/elf/configure.in: Moved to ...
33880 * sysdeps/x86_64/configure.in: ... here.
33881 * sysdeps/x86_64/elf/start.S: Moved to ...
33882 * sysdeps/x86_64/start.S: ... here.
33883 * sysdeps/x86_64/elf/configure: Delete.
33884
33885 * sysdeps/x86_64/configure.in: Merge contents from
33886 sysdeps/i386/configure.in (without i686 check).
33887
33888 * sysdeps/i386/elf/Versions: Merge into ...
33889 * sysdeps/i386/Versions: ... this.
33890 * sysdeps/i386/elf/Versions: Delete file.
33891 * sysdeps/i386/elf/start.S: Moved to ...
33892 * sysdeps/i386/start.S: ...here.
33893 * sysdeps/i386/elf/configure.in: Merge into...
33894 * sysdeps/i386/configure.in: ...here.
33895 * sysdeps/i386/elf/configure.in: Delete file.
33896 * sysdeps/i386/elf/configure: Delete file.
33897
33898 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33899 * debug/backtracesyms.c: ... here.
33900 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33901 * debug/backtracesymsfd.c: ... here.
33902 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33903 * sysdeps/generic/ifunc-sel.h: ... here.
33904
33905 * sysdeps/unix/i386/start.c: Delete file.
33906 * sysdeps/unix/sparc/start.c: Delete file.
33907 * sysdeps/unix/start.c: Delete file.
33908
33909 * sysdeps/sh/elf/configure.in: Moved to ...
33910 * sysdeps/sh/configure.in: ... here.
33911 * sysdeps/sh/elf/start.S: Moved to ...
33912 * sysdeps/sh/start.S: ... here.
33913 * sysdeps/sh/elf/configure: Delete file.
33914
33915 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33916 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33917 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33918 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33919 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33920 * sysdeps/powerpc/powerpc64/start.S: here.
33921 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33922 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33923 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33924 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33925 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33926
33927 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33928 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33929 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33930 * sysdeps/powerpc/powerpc32/start.S: ... here.
33931 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33932 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33933 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33934
33935 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33936 * sysdeps/powerpc/ifunc-sel.h: ... here.
33937 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33938 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33939
33940 * sysdeps/sparc/elf/configure.in: Moved to ...
33941 * sysdeps/sparc/configure.in: ... here.
33942 * sysdeps/sparc/elf/configure: Delete file.
33943 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33944 * sysdeps/sparc/sparc32/start.S: ... here.
33945 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33946 * sysdeps/sparc/sparc64/start.S: ... here.
33947 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33948 * sysdeps/sparc/sparc32/Makefile: ... this.
33949 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33950 * sysdeps/sparc/sparc64/Makefile: ... this.
33951
33952 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33953 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33954 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33955 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33956 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33957 * sysdeps/s390/s390-32/setjmp.S: ... here.
33958 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33959 * sysdeps/s390/s390-32/configure.in: ... here.
33960 * sysdeps/s390/s390-32/elf/configure: Delete file.
33961 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33962 * sysdeps/s390/s390-32/start.S: ... here.
33963
33964 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33965 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33966 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33967 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33968 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33969 * sysdeps/s390/s390-64/setjmp.S: ... here.
33970 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33971 * sysdeps/s390/s390-64/configure.in: ... here
33972 * sysdeps/s390/s390-64/elf/configure: Delete file.
33973 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33974 * sysdeps/s390/s390-64/start.S: ... here.
33975 * sysdeps/s390/s390-64/elf/configure: Delete.
33976
33977 * configure.in: Remove support for elf directories in sysdeps.
33978
33979 * configure: Regenerated.
33980 * sysdeps/i386/configure: Regenerated.
33981 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33982 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33983 * sysdeps/s390/s390-32/configure: Regenerated.
33984 * sysdeps/s390/s390-64/configure: Regenerated.
33985 * sysdeps/sh/configure: Regenerated.
33986 * sysdeps/sparc/configure: Regenerated.
33987 * sysdeps/x86_64/configure: Regenerated.
33988
339892012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33990
33991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33992
33993 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33994 denormal result into account.
33995
339962012-03-25 Roland McGrath <roland@hack.frob.com>
33997
33998 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33999 Reported by Allan McRae <allan@archlinux.org>.
34000
340012012-03-23 Jeff Law <law@redhat.com>
34002
34003 * nss/getnssent.c (__nss_getent): Fix typo.
34004
340052012-03-23 David S. Miller <davem@davemloft.net>
34006
34007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34008
340092012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34010
34011 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34012 to pad to uint64_t for each field.
34013 (dl_tls_index): Replace unsigned long with uint64_t.
34014
340152012-03-23 Daniel Jacobowitz <dmj@google.com>
34016 Paul Pluzhnikov <ppluzhnikov@google.com>
34017
34018 [BZ #6528]
34019 * grp/Makefile (otherlibs): Don't set it.
34020 * inet/Makefile (otherlibs): Likewise.
34021 * login/Makefile (otherlibs): Likewise.
34022 * nscd/Makefile (otherlibs): Likewise.
34023 * posix/Makefile (otherlibs): Likewise.
34024 * pwd/Makefile (otherlibs): Likewise.
34025 * rt/Makefile (otherlibs): Likewise.
34026 * sunrpc/Makefile (otherlibs): Likewise.
34027 * nss/Makefile (otherlibs): Likewise.
34028 Add libnss_files to routines and static-only-routines.
34029 ($(objpfx)getent): Remove rule.
34030 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34031 static-only-routines.
34032
340332012-03-22 Joseph Myers <joseph@codesourcery.com>
34034
34035 [BZ #13892]
34036 * math/s_cexp.c: Include <float.h>.
34037 (__cexp): Handle exp result overflowing not necessarily
34038 overflowing both real and imaginary parts of result.
34039 * math/s_cexpf.c: Likewise.
34040 * math/s_cexpl.c: Likewise.
34041 * math/libm-test.inc (cexp_test): Add more tests.
34042 * sysdeps/i386/fpu/libm-test-ulps: Update.
34043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34044
340452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34046
34047 * include/link.h (ELFW): New macro.
34048 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34049 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34050
340512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34052
34053 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34054 with uint64_t.
34055
340562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34057
34058 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34059 declaration.
34060 (struct La_x32_retval): Likewise.
34061
340622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34063
34064 * sysdeps/x86_64/preconfigure.in: New file.
34065 * sysdeps/x86_64/preconfigure: New generated file.
34066
340672012-03-22 Joseph Myers <joseph@codesourcery.com>
34068
34069 [BZ #13824]
34070 * math/e_exp2l.c: Include <float.h>.
34071 (__ieee754_exp2l): Handle overflow and underflow cases
34072 separately. Only pass fractional part of argument to
34073 __ieee754_expl.
34074 * math/libm-test.inc (exp2_test): Add more tests.
34075
34076 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34077 negating x to take absolute value.
34078 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34079 Likewise.
34080 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34081 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34082 Likewise.
34083 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34084 computing low part if x was negated.
34085 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34086
340872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34088
34089 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34090 la_x32_gnu_pltexit.
34091 (pltexit): Cast int_retval to ptrdiff_t.
34092 * elf/tst-auditmod3b.c: Likewise.
34093 * elf/tst-auditmod4b.c: Likewise.
34094 * elf/tst-auditmod5b.c: Likewise.
34095 * elf/tst-auditmod6b.c: Likewise.
34096 * elf/tst-auditmod6c.c: Likewise.
34097 * elf/tst-auditmod7b.c: Likewise.
34098
34099 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34100 and x32_gnu_pltexit.
34101
34102 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34103 __ELF_NATIVE_CLASS.
34104 (La_x32_regs): New macro.
34105 (La_x32_retval): Likewise.
34106 (la_x32_gnu_pltenter): New function prototype.
34107 (la_x32_gnu_pltexit): Likewise.
34108
341092012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34110
34111 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34112 exponent.
34113
34114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34115
34116 * configure.in (libc_cv_cc_nofma): Check for option to disable
34117 generation of FMA instructions.
34118 * configure: Regenerate.
34119 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34120 * sysdeps/ieee754/dbl-64/Makefile: New file.
34121 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34122 Remove brandred-fma4.
34123 (CFLAGS-brandred-fma4.c): Remove.
34124 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34125 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34126 define.
34127 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34128 define.
34129
341302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34131
34132 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34133 LLONG_MAX != LONG_MAX.
34134 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34135 (_fitoa_word): Likewise.
34136 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34137 LLONG_MAX != LONG_MAX.
34138 * stdio-common/_itowa.h: Include <_itoa.h>.
34139 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34140 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34141 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34142 only if not defined.
34143 (_ITOA_WORD_TYPE): Likewise.
34144 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34145 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34146
341472012-03-21 David S. Miller <davem@davemloft.net>
34148
34149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34150
341512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34152
34153 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34154 of x86_64 when setting libc_cv_slibdir, libdir and
34155 libc_cv_localedir.
34156 * sysdeps/unix/sysv/linux/configure: Regenerated.
34157
341582012-03-21 Joseph Myers <joseph@codesourcery.com>
34159
34160 * manual/lang.texi (Old Varargs): Remove section.
34161 (How Variadic): Update menu.
34162 (va_start): Do not mention varargs.h.
34163
341642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34165 Joseph Myers <joseph@codesourcery.com>
34166
34167 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34168 link test.
34169 * configure: Regenerated.
34170
341712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34172
34173 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34174 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34175 conformtest.pl
34176
341772012-03-21 Joseph Myers <joseph@codesourcery.com>
34178
34179 * NOTES: Remove.
34180 * Makefile (files-for-dist): Remove NOTES.
34181 (NOTES): Remove rule.
34182 * README: Don't refer to NOTES.
34183 * manual/creature.texi: Don't include macros.texi.
34184 * manual/intro.texi (creature.texi): Remove comment referring to
34185 NOTES.
34186
34187 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34188 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34189 * configure: Regenerated.
34190 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34191 LIBC_TRY_CC_OPTION.
34192 (libc_cv_as_i686): Likewise.
34193 (libc_cv_cc_avx): Likewise.
34194 (libc_cv_cc_sse2avx): Likewise.
34195 (libc_cv_cc_fma4): Likewise.
34196 (libc_cv_cc_novzeroupper): Likewise.
34197 * sysdeps/i386/configure: Regenerated.
34198
34199 [BZ #13883]
34200 * sysdeps/i386/fpu/s_cexp.S: Remove.
34201 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34202 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34203 * math/libm-test.inc (cexp_test): Add more tests.
34204 * sysdeps/i386/fpu/libm-test-ulps: Update.
34205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34206
342072012-03-21 Allan McRae <allan@archlinux.org>
34208
34209 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34210
342112012-03-21 Joseph Myers <joseph@codesourcery.com>
34212
34213 [BZ #13871]
34214 * math/w_exp2.c: Do not include <float.h>.
34215 (o_threshold, u_threshold): Remove.
34216 (__exp2): Calculate result before checking finiteness and calling
34217 __kernel_standard.
34218 * math/w_exp2f.c: Likewise.
34219 * math/w_exp2l.c: Likewise.
34220 * math/libm-test.inc (exp2_test): Require overflow exception for
34221 1e6 input.
34222
34223 [BZ #3866]
34224 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34225 range of signed 64-bit integers before using fistpll. Remove
34226 checks for whether integers fit in mantissa bits.
34227 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34228 the range of signed 32-bit integers before using fistpl. Remove
34229 checks for whether integers fit in mantissa bits.
34230 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34231 (__ieee754_powl): Test for y outside the range of signed 64-bit
34232 integers before using fistpll. Reduce 64-bit values to 63-bit
34233 ones as needed.
34234 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34235 divide-by-zero is raised for zero to large negative powers.
34236 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34237 (__ieee754_powl): Test for y outside the range of signed 64-bit
34238 integers before using fistpll. Reduce 64-bit values to 63-bit
34239 ones as needed.
34240 * math/libm-test.inc (pow_test): Add more tests.
34241
342422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34243
34244 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34245 <stdio-common/_itoa.h>.
34246 * debug/segfault.c: Likewise.
34247 * elf/dl-cache.c: Likewise.
34248 * elf/dl-minimal.c: Likewise.
34249 * elf/dl-misc.c: Likewise.
34250 * elf/dl-sysdep.c: Likewise.
34251 * elf/dl-version.c: Likewise.
34252 * elf/rtld.c: Likewise.
34253 * hurd/hurdsock.c: Likewise.
34254 * hurd/lookup-retry.c: Likewise.
34255 * malloc/malloc.c: Likewise.
34256 * malloc/mtrace.c: Likewise.
34257 * nscd/nscd_getgr_r.c: Likewise.
34258 * nscd/nscd_getpw_r.c: Likewise.
34259 * nscd/nscd_getserv_r.c: Likewise.
34260 * posix/getopt_init.c: Likewise.
34261 * posix/wordexp.c: Likewise.
34262 * stdio-common/_itoa.c: Likewise.
34263 * stdio-common/printf_fphex.c: Likewise.
34264 * stdio-common/vfprintf.c: Likewise.
34265 * string/_strerror.c: Likewise.
34266 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34267 * sysdeps/i386/i686/hp-timing.h: Likewise.
34268 * sysdeps/mach/_strerror.c: Likewise.
34269 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34270 * sysdeps/mach/hurd/sethostid.c: Likewise.
34271 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34272 * sysdeps/mach/xpg-strerror.c: Likewise.
34273 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34274 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34275 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34276 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34277 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34278 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34279 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34280 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34281 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34282 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34283 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34284 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34285 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34286 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34287 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34288 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34289 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34290 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34291 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34292 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34293 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34294
34295 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34296
34297 * stdio-common/_itoa.h: Moved to ...
34298 * sysdeps/generic/_itoa.h: Here.
34299
34300 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34301
34302 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34303 instead of "_itoa.h" and "_itowa.h".
34304 * stdio-common/vfprintf.: Likewise.
34305
343062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34307
34308 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34309 <bits/wordsize.h>.
34310 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34311 (__signbit): Likwise.
34312 (llrintf): Likwise.
34313 (llrint): Likwise.
34314
343152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34316
34317 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34318 __WORDSIZE != 64.
34319
343202012-03-20 Joseph Myers <joseph@codesourcery.com>
34321
34322 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34323 OVERFLOW_EXCEPTION_OK.
34324 * math/libm-test.inc ("Philosophy"): Update comment about
34325 exception testing.
34326 (OVERFLOW_EXCEPTION): Define.
34327 (OVERFLOW_EXCEPTION_OK): Likewise.
34328 (INVALID_EXCEPTION_OK): Renumber.
34329 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34330 (IGNORE_ZERO_INF_SIGN): Likewise.
34331 (test_exceptions): Handle FE_OVERFLOW.
34332 (exp10_test): Expect overflow exceptions.
34333 (exp2_test): Likewise.
34334 (expm1_test): Likewise.
34335 (nextafter_test): Likewise.
34336 (pow_test): Likewise.
34337 (scalbn_test): Likewise.
34338 (scalbln_test): Likewise.
34339
343402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34341
34342 * sysdeps/x86_64/bits/atomic.h
34343 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34344 64bit integer.
34345 (atomic_exchange_acq): Likewise.
34346 (__arch_exchange_and_add_body): Likewise.
34347 (__arch_add_body): Likewise.
34348 (atomic_add_negative): Likewise.
34349 (atomic_add_zero): Likewise.
34350
343512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34352
34353 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34354 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34355
343562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34357
34358 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34359 Check __x86_64__ instead of __WORDSIZE.
34360
343612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34362
34363 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34364
343652012-03-19 David S. Miller <davem@davemloft.net>
34366
34367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34368
34369 * sysdeps/sparc/fpu/fenv_private.h: New file.
34370 * sysdeps/sparc/fpu/math_private.h: Use it.
34371 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34372 Remove.
34373 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34374 (libc_feholdexcept_setroundl): Remove.
34375 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34376 Remove.
34377 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34378 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34379
343802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34381
34382 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34383 int64_t instead of long int.
34384 (INSERT_WORDS64): Likwise.
34385
343862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34387
34388 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34389 _Unwind_GetCFA return to _Unwind_Ptr first.
34390
343912012-03-19 Joseph Myers <joseph@codesourcery.com>
34392
34393 [BZ #13629]
34394 * math/s_clog.c: Include <float.h>.
34395 (__clog): Scale large or subnormal inputs.
34396 * math/s_clogf.c: Likewise.
34397 * math/s_clogl.c: Likewise.
34398 * math/s_clog10.c: Include <float.h>.
34399 (M_LOG10_2): Define.
34400 (__clog10): Scale large or subnormal inputs.
34401 * math/s_clog10f.c: Likewise.
34402 * math/s_clog10l.c: Likewise.
34403 * math/libm-test.inc (clog_test): Add more tests.
34404 (clog10_test): Likewise.
34405 * sysdeps/i386/fpu/libm-test-ulps: Update.
34406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34407
34408 [BZ #11451]
34409 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34410 x and y.
34411 * math/libm-test.inc (atan2_test): Add another test.
34412
34413 * Makerules (common-objdir-compile): Remove.
34414 * sysdeps/unix/Makefile (config-generated): Do not add
34415 $(unix-generated) to variable.
34416 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34417 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34418 Remove rule.
34419 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34420 Likewise.
34421 [generic bits/local_lim.h] (before-compile): Do not append to
34422 variable.
34423 [generic bits/local_lim.h] (common-generated): Likewise.
34424 [generic sys/param.h] (before-compile): Do not append to variable.
34425 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34426 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34427 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34428 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34429 include.
34430 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34431 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34432 [generic sys/param.h] ($(addprefix
34433 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34434 [generic sys/param.h] (common-generated): Do not append to
34435 variable.
34436 [generic sys/param.h] (sysdep_headers): Likewise.
34437 [generic bits/errno.h] (before-compile): Do not append to
34438 variable.
34439 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34440 rule.
34441 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34442 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34443 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34444 [generic bits/errno.h] (common-generated): Do not append to
34445 variable.
34446 [generic bits/ioctls.h] (before-compile): Do not append to
34447 variable.
34448 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34449 rule.
34450 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34451 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34452 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34453 rule.
34454 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34455 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34456 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34457 [generic bits/ioctls.h] (common-generated): Do not append to
34458 variable.
34459 [generic sys/syscall.h] (syscall.h): Remove variable.
34460 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34461 rule.
34462 [generic sys/syscall.h] (before-compile): Do not append to
34463 variable.
34464 [generic sys/syscall.h] (common-generated): Likewise.
34465 * sysdeps/unix/errnos-tmpl.c: Remove file.
34466 * sysdeps/unix/errnos.awk: Likewise.
34467 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34468 * sysdeps/unix/ioctls.awk: Likewise.
34469 * sysdeps/unix/mk-local_lim.c: Likewise.
34470 * sysdeps/unix/snarf-ioctls: Likewise.
34471
344722012-03-19 Richard Henderson <rth@twiddle.net>
34473
34474 * sysdeps/i386/fpu/fenv_private.h: New file.
34475 * sysdeps/i386/fpu/math_private.h: Use it.
34476 (math_opt_barrier, math_force_eval): Remove.
34477 (libc_feholdexcept_setround_53bit): Remove.
34478 (libc_feupdateenv_53bit): Remove.
34479 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34480 (math_opt_barrier, math_force_eval): Remove.
34481 (libc_feholdexcept): Remove.
34482 (libc_feholdexcept_setround): Remove.
34483 (libc_fetestexcept, libc_fesetenv): Remove.
34484 (libc_feupdateenv_test): Remove.
34485 (libc_feupdateenv, libc_feholdsetround): Remove.
34486 (libc_feresetround): Remove.
34487
34488 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34489 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34490
34491 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34492 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34493 (libc_feupdateenv_testl): New.
34494 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34495 (libc_feupdateenv_testf): New.
34496 (libc_feupdateenv): Use libc_feupdateenv_test.
34497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34498 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34499
34500 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34501 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34502 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34503 (libc_feresetround_noex): New.
34504 (libc_feresetround_noexf): New.
34505 (libc_feresetround_noexl): New.
34506 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34507 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34508 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34509 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34510 SET_RESTORE_ROUND.
34511 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34512 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34513 (__cos): Likewise.
34514 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34515 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34516 SET_RESTORE_ROUND_NOEX.
34517 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34518 SET_RESTORE_ROUND_NOEXF.
34519 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34520 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34521 (libc_feholdsetroundf): New.
34522 (libc_feresetround, libc_feresetroundf): New.
34523
34524 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34525 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34526 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34527
34528 * sysdeps/generic/math_private.h: Include <fenv.h>.
34529 (default_libc_feholdexcept): New.
34530 (default_libc_feholdexcept_setround): New.
34531 (default_libc_fesetenv, default_libc_feupdateenv): New.
34532 (libc_feholdexcept): Only define if undefined.
34533 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34534 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34535 (libc_feholdexcept_setroundl): Likewise.
34536 (libc_feholdexcept_setround_53bit): Likewise.
34537 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34538 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34539 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34540 (libc_feupdateenv_53bit): Likewise.
34541 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34542 (libc_feholdexcept): Convert from macro to inline function.
34543 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34544 (libc_fesetenv, libc_feupdateenv): Likewise.
34545
34546 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34547 not previously defined.
34548 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34549 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34550 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34551 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34552 * sysdeps/ieee754/flt-32/math_private.h: New file.
34553 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34554 math_private.h below SET_FLOAT_WORD.
34555 (__isnan, __isinf_ns, __finite): Remove.
34556 (__isnanf, __isinf_nsf, __finitef): Remove.
34557
345582012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34559
34560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34561
345622012-03-17 David S. Miller <davem@davemloft.net>
34563
34564 [BZ #6471]
34565 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34566 for 2.16.
34567
345682012-03-16 David S. Miller <davem@davemloft.net>
34569
34570 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34571 warnings.
34572
34573 [BZ #6471]
34574 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34575 properly.
34576 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34577 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34578 sysdep_routines when subdir is sysvipc.
34579 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34580 __getshmlba helper.
34581
34582 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34583
345842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34585
34586 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34587 [__LP64__].
34588
345892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34590
34591 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34592 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34593 (__lround): Renamed to ...
34594 (__llround): This. Replace long int with long long int.
34595 Define lround functions as aliases of llround functions.
34596 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34597
345982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34599
34600 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34601 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34602 adresses to uintptr_t. Replace "long int" and "unsigned long
34603 int" with "greg_t" on va_arg.
34604
346052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34606
34607 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34608 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34609
34610 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34611 Move e_machine check before EI_CLASS check. Handle x32
34612 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34613 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34614 SKIP_EM_IA_64 and include
34615 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34616
34617 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34618 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34619 (add_system_dir): New macro.
34620
34621 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34622 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34623
346242012-03-16 Joseph Myers <joseph@codesourcery.com>
34625
34626 [BZ #2551]
34627 [BZ #2552]
34628 [BZ #2553]
34629 [BZ #2554]
34630 [BZ #2562]
34631 [BZ #2563]
34632 [BZ #2565]
34633 [BZ #2566]
34634 [BZ #2576]
34635 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34636 (y0): Likewise.
34637 * math/w_j0f.c (j0f): Likewise.
34638 (y0f): Likewise.
34639 * math/w_j0l.c (__j0l): Likewise.
34640 (__y0l): Likewise.
34641 * math/w_j1.c (j1): Likewise.
34642 (y1): Likewise.
34643 * math/w_j1f.c (j1f): Likewise.
34644 (y1f): Likewise.
34645 * math/w_j1l.c (__j1l): Likewise.
34646 (__y1l): Likewise.
34647 * math/w_jn.c (jn): Likewise.
34648 (yn): Likewise.
34649 * math/w_jnf.c (jnf): Likewise.
34650 (ynf): Likewise.
34651 * math/w_jnl.c (__jnl): Likewise.
34652 (__ynl): Likewise.
34653 * math/libm-test.inc (j0_test): Add more tests.
34654 (j1_test): Likewise.
34655 (jn_test): Likewise. Add trailing semicolon to existing test.
34656 (y0_test): Likewise.
34657 (y1_test): Likewise.
34658 * sysdeps/i386/fpu/libm-test-ulps: Update.
34659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34660
34661 [BZ #13851]
34662 [BZ #13854]
34663 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34664 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34665 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34666 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34667 (__tanl): Set errno for infinite argument.
34668 * sysdeps/i386/fpu/mptan.c: Remove.
34669 * sysdeps/i386/fpu/s_tan.S: Likewise.
34670 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34671 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34672 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34673 * math/libm-test.inc (tan_test): Add more tests and enable more
34674 tests for double and long double.
34675 * sysdeps/i386/fpu/libm-test-ulps: Update.
34676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34677
346782012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34679
34680 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34681 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34682
346832012-03-16 Roland McGrath <roland@hack.frob.com>
34684
34685 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34686 * configure.in: Use it for both main tree and add-ons.
34687 * configure: Regenerated.
34688
346892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34690
34691 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34692
346932012-03-16 Joseph Myers <joseph@codesourcery.com>
34694
34695 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34696 in comment.
34697
34698 [BZ #13851]
34699 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34700 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34701 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34702 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34703 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34704 infinite argument.
34705 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34706 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34707 != 0 for prec == 2.
34708 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34709 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34710 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34711 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34712 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34713 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34714 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34715 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34716 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34717 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34718 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34719 * math/libm-test.inc (cos_test): Add more tests and enable more
34720 tests for long double.
34721 (sin_test): Likewise.
34722 (sincos_test): Likewise.
34723 * sysdeps/i386/fpu/libm-test-ulps: Update.
34724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34725
347262012-03-16 David S. Miller <davem@davemloft.net>
34727
34728 * sysdeps/sparc/fpu/math_private.h: New file.
34729
347302012-03-15 David S. Miller <davem@davemloft.net>
34731
34732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34733 file.
34734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34736 file.
34737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34743 sysdep routines.
34744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34745
34746 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34747 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34748
34749 * sysdeps/sparc/sparc-ifunc.h: New file.
34750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34751 sparc-ifunc.h
34752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34754 Likewise.
34755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34756 Likewise.
34757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34761 Likewise.
34762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34767 Likewise.
34768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34769 Likewise.
34770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34781 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34782 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34788 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34789 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34790 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34791 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34794
347952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34796
34797 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34798 scaling.
34799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34800
348012012-03-15 Andreas Jaeger <aj@suse.de>
34802
34803 [BZ #13852]
34804 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34805 ieee754/flt-32 implementation for sin, cos and sincos.
34806 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34807 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34808 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34809 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34810 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34811 ieee754/flt-32 implementation for tan.
34812
34813 * math/libm-test.inc (cos_test): Enable some large input tests for
34814 float as well
34815 (sin_test): Likewise.
34816 (sincos_test): Likewise.
34817 (tan_test): Add tests for large input.
34818
34819 * sysdeps/i386/fpu/libm-test-ulps: Update.
34820
348212012-03-15 Andreas Jaeger <aj@suse.de>
34822
34823 [BZ #13658]
34824 * math/libm-test.inc (cos_test): Add more test cases.
34825 (sin_test): Likewise.
34826 (sincos_test): Likewise.
34827
348282012-03-15 Andreas Jaeger <aj@suse.de>
34829
34830 [BZ #13837]
34831 * math/libm-test.inc (cos_test): Add a test case for large input
34832 value.
34833 (sin_test): Likewise.
34834 (sincos_test): Likewise.
34835
348362012-03-15 Andreas Jaeger <aj@suse.de>
34837 Joseph Myers <joseph@codesourcery.com>
34838
34839 [BZ #13658]
34840 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34841 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34842 * sysdeps/i386/fpu/branred.c: Likewise.
34843 * sysdeps/i386/fpu/dosincos.c: Likewise.
34844 * sysdeps/i386/fpu/mpa.c: Likewise.
34845 * sysdeps/i386/fpu/s_cos.S: Likewise.
34846 * sysdeps/i386/fpu/s_sin.S: Likewise.
34847 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34848 * sysdeps/i386/fpu/sincos32.c: Likewise.
34849
34850 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34851 Define.
34852 (libc_feupdateenv_53bit): Define.
34853 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34854 Define.
34855 (libc_feupdateenv_53bit): Define.
34856
34857 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34858 53 bit (without extend i386 double precision).
34859
34860 * math/libm-test.inc (sincos_test): Add tests for large input.
34861 (sin): Likewise.
34862 (cos): Likewise.
34863
34864 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34865
348662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34867
34868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34869
348702012-03-15 David S. Miller <davem@davemloft.net>
34871
34872 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34873 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34874 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34875 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34888 file.
34889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34891 file.
34892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34894 file.
34895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34897 file.
34898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34900 fmin/fmax sysdep routines.
34901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34902
349032012-03-14 David S. Miller <davem@davemloft.net>
34904
34905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34909 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34910 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34911 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34912 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34913 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34919 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34925 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34926 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34927 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34928 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34929 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34930 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34931 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34932 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34933 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34934 routines.
34935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34936 file.
34937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34939 file.
34940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34942 file.
34943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34945 file.
34946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34948 file.
34949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34951 file.
34952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34953 file.
34954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34955 file.
34956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34957 file.
34958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34959 New file.
34960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34961 file.
34962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34963 file.
34964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34966 file.
34967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34969 file.
34970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34972 file.
34973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34975 VIS3 routines.
34976
34977 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34978 New file.
34979
34980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34981
34982 * sysdeps/sparc/configure.in: New file.
34983 * sysdeps/sparc/configure: Generate.
34984 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34985 * configure: Regenerate.
34986 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34987 * config.make.in (have-as-vis3): New.
34988 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34989 available use -Av9d instead of -Av9a.
34990 * sysdeps/sparc/sparc64/Makefile: Likewise.
34991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34993 New file.
34994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34995 file.
34996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34997 New file.
34998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34999 file.
35000 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35001 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35002 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35003 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35004 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35005
35006 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35007 fzeros/fnegs to load 0x80000000 into a float register instead of
35008 using the stack.
35009 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35010
350112012-03-14 Joseph Myers <joseph@codesourcery.com>
35012
35013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35014 bits/syscall.h.
35015 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35016 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35017 ($(inst_includedir)/bits/syscall.h): Remove rule.
35018 ($(objpfx)bits/syscall.d): Include instead of
35019 $(objpfx)syscall-list.d.
35020 (generated): Change syscall-list.h and syscall-list.d to
35021 bits/syscall.h and bits/syscall.d.
35022
350232012-03-14 Roland McGrath <roland@hack.frob.com>
35024
35025 [BZ #13846]
35026 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35027
350282012-03-14 Joseph Myers <joseph@codesourcery.com>
35029
35030 [BZ #13841]
35031 * math/s_csqrt.c: Include <float.h>.
35032 (__csqrt): Scale large or subnormal inputs.
35033 * math/s_csqrtf.c: Likewise.
35034 * math/s_csqrtl.c: Likewise.
35035 * math/libm-test.inc (csqrt_test): Add more tests.
35036 * sysdeps/i386/fpu/libm-test-ulps: Update.
35037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35038
35039 [BZ #13840]
35040 * math/libm-test.inc (hypot_test): Add more tests.
35041
350422012-03-13 David S. Miller <davem@davemloft.net>
35043
35044 [BZ #13840]
35045 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35046 double-precision for the calculation instead of scaling.
35047
350482012-03-13 Joseph Myers <joseph@codesourcery.com>
35049
35050 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35051 manipulate bits before adding and subtracting TWO52[sx].
35052 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35053 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35054 Likewise.
35055 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35056
350572012-03-13 David S. Miller <davem@davemloft.net>
35058
35059 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35060 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35061 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35062 rtld-global-offsets.h
35063 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35064
35065 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35066 large parameters.
35067
35068 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35069
35070 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35071 'err' in the ifdef scope in which it is actually used.
35072
35073 * nss/nss_db/db-init.c: Include string.h
35074
350752012-03-12 David S. Miller <davem@davemloft.net>
35076
35077 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35078 masking out of the most significant byte of random value used.
35079 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35080 Fix coding style in previous change.
35081
35082 * sysdeps/unix/sysv/linux/kernel-features.h
35083 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35084 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35085 expression.
35086 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35087 later.
35088
350892012-03-11 David S. Miller <davem@davemloft.net>
35090
35091 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35092 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35093 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35094 for 'resultvar' otherwise things get truncated on 64-bit.
35095
35096 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35097 Fix masking out of the most significant byte of random value used.
35098
35099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35100
351012012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35102
35103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35104
351052012-03-09 David S. Miller <davem@davemloft.net>
35106
35107 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35108 variables with appropriate CPP guards.
35109 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35110 from the frame pointer, not the stack pointer. Correct layout
35111 comments. Fix test on resulting framesize and the management of
35112 the outregs buffer for pltexit. Preserve floating point return
35113 values across _dl_call_pltexit call.
35114 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35115 framesize and the management of the outregs buffer for pltexit.
35116 Preserve floating point return values across _dl_call_pltexit
35117 call.
35118 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35119 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35120 (la_sparc64_gnu_pltexit): New functions.
35121 (print_exit): Fix format string for return register value.
35122
351232012-03-10 Joseph Myers <joseph@codesourcery.com>
35124
35125 * sunrpc/Makefile (others): Add rpcgen.
35126 ($(objpfx)rpcgen): Remove special build rule and dependency on
35127 libc.
35128 * sunrpc/rpcgen.c: New file.
35129
351302012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35131
35132 [BZ #13673]
35133 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35134 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35135 * sysdeps/i386/crti.S: Likewise.
35136 * sysdeps/i386/crtn.S: Likewise.
35137 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35138 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35139 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35140 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35141 * sysdeps/sh/crti.S: Likewise.
35142 * sysdeps/sh/crtn.S: Likewise.
35143 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35144
35145 [BZ #13673]
35146 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35147 with URL.
35148 * locale/programs/locfile-kw.gperf: Likewise.
35149 * locale/programs/charmap-kw.h: Regenerated.
35150 * locale/programs/locfile-kw.h: Likewise.
35151
35152 [BZ #13673]
35153 * intl/plural.y: Replace FSF snail mail address with URL.
35154 * intl/plural.c: Regenerated.
35155
351562012-03-09 Richard Henderson <rth@twiddle.net>
35157
35158 * include/math_private.h: Remove file.
35159 * math/math_private.h: Move file ...
35160 * sysdeps/generic/math_private.h: ... here.
35161
35162 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35163 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35164 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35165
35166 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35167 and <math_private.h>.
35168 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35169 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35170 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35171 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35172 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35173 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35174 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35175 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35176 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35177 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35178 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35179 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35180 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35181 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35182 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35183 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35184 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35185 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35186 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35187 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35188 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35189 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35190 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35191 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35192 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35193 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35194 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35195 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35196 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35197 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35198 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35199 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35200 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35201 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35202 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35203 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35204 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35205 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35206 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35207 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35208 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35209 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35210 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35211 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35212 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35213 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35214 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35215 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35216 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35217 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35218 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35219 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35220 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35221 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35222 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35223 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35224 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35225 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35226 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35227 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35228 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35229 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35230 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35231 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35232 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35233 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35234 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35235 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35236 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35237 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35238 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35239 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35240 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35241 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35242 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35243 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35244 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35245 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35246 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35247 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35248 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35249 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35250 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35251 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35252 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35255 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35256 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35257 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35258 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35259 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35260 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35261 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35262 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35263 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35264 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35265 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35266 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35267 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35268 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35269 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35270 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35271 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35272 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35273 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35274 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35275 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35276 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35277 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35278 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35279 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35280 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35281 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35282 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35283 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35284 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35285 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35286 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35287 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35288 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35289 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35290 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35291 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35292 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35293 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35294 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35295 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35296 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35297 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35298 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35299 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35300 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35301 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35302 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35303 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35304 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35305 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35306 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35307 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35308 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35309 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35310 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35311 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35312 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35313 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35314 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35315 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35316 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35317 * sysdeps/ieee754/k_standard.c: Likewise.
35318 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35319 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35320 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35321 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35322 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35323 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35324 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35325 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35326 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35327 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35328 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35329 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35330 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35331 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35332 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35333 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35334 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35335 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35336 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35337 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35338 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35339 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35340 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35341 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35342 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35343 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35344 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35345 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35346 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35347 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35348 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35349 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35350 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35351 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35352 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35353 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35354 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35355 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35356 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35357 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35358 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35359 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35360 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35361 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35362 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35363 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35364 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35365 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35366 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35367 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35368 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35369 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35370 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35371 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35372 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35373 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35374 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35375 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35376 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35377 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35378 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35379 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35380 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35381 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35382 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35383 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35384 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35385 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35386 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35387 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35388 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35389 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35390 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35391 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35392 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35393 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35394 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35395 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35396 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35397 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35398 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35399 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35400 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35401 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35402 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35403 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35404 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35405 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35406 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35407 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35408 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35409 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35410 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35411 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35412 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35413 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35414 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35415 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35416 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35417 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35418 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35419 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35420 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35421 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35422 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35423 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35424 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35425 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35426 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35427 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35428 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35429 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35430 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35431 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35432 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35433 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35434 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35435 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35436 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35437 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35438 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35439 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35440 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35441 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35442 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35443 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35444 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35445 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35446 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35447 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35448 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35449 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35450 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35451 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35452 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35453 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35454 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35455 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35456 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35457 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35458 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35459 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35460 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35461 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35462 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35463 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35464 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35465 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35466 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35467 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35468 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35469 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35470 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35471 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35472 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35473 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35474 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35475 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35476 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35477 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35478 * sysdeps/ieee754/s_lib_version.c: Likewise.
35479 * sysdeps/ieee754/s_matherr.c: Likewise.
35480 * sysdeps/ieee754/s_signgam.c: Likewise.
35481 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35482 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35483 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35484 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35485 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35486 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35487 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35488 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35489 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35490 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35491 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35492 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35493 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35494 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35495 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35496 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35497 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35498 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35499 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35500 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35501 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35502
355032012-03-09 Joseph Myers <joseph@codesourcery.com>
35504
35505 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35506 * sunrpc/rpc_main.c: Likewise.
35507 * sunrpc/rpc_svcout.c: Likewise.
35508
355092012-03-09 David S. Miller <davem@davemloft.net>
35510
35511 * include/math_private.h: New file.
35512
355132012-03-09 Joseph Myers <joseph@codesourcery.com>
35514
35515 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35516 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35517 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35518 from <bits/socket_type.h>.
35519 (enum __socket_type): Don't define here.
35520 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35522 bits/socket_type.h.
35523
35524 [BZ #13566]
35525 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35526 checking __USE_GNU.
35527
35528 * Makerules ($(inst_includedir)/%.h): New rule.
35529 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35530 (install-others): Remove variable setting.
35531 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35532
355332012-03-08 Richard Henderson <rth@twiddle.net>
35534
35535 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35536 from macro to inline function; merge with the
35537 !__LIBC_INTERNAL_MATH_INLINES version.
35538 (__ieee754_sqrtf): Likewise.
35539
35540 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35541 to inline function.
35542 (__rintf, __floor, __floorf): Likewise.
35543
35544 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35545 macro to inline function.
35546 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35547
35548 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35549 not <math/math_private.h>.
35550
355512012-03-08 David S. Miller <davem@davemloft.net>
35552
35553 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35554 copyright year.
35555 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35556
355572012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35558
35559 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35560 normalization.
35561 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35562 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35563
355642012-03-08 Ulrich Drepper <drepper@gmail.com>
35565
35566 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35567 be defined individually, they must be defined as a block. Define
35568 S for printing a string instead of hidint the different by using a
35569 macro for adding the 'l'.
35570 * stdio-common/tst-fphex-wide.c: Adjust.
35571
355722012-03-07 Marek Polacek <polacek@redhat.com>
35573
35574 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35575
355762012-03-08 Marek Polacek <polacek@redhat.com>
35577
35578 [BZ #13806]
35579 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35580 * stdio-common/tst-fphex.c: Define a few macros to make the
35581 test reusable. Use them.
35582 * stdio-common/tst-fphex-wide.c: New file.
35583
355842012-03-08 Joseph Myers <joseph@codesourcery.com>
35585
35586 [BZ #6911]
35587 * manual/macros.texi (gnusystems): New macro.
35588 (nongnusystems): Likewise.
35589 (gnulinuxhurdsystems): Likewise.
35590 (gnuhurdsystems): Likewise..
35591 (gnulinuxsystems): Likewise.
35592 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35593 variants of the GNU system, not "GNU system".
35594 * manual/conf.texi: Likewise.
35595 * manual/errno.texi: Likewise. Update example of errno macro
35596 expansion.
35597 * manual/filesys.texi: Likewise.
35598 (getumask): Document as specific to GNU/Hurd.
35599 * manual/install.texi: Likewise. Reword some references to
35600 GNU/Linux.
35601 * manual/intro.texi: Likewise.
35602 * manual/io.texi: Likewise.
35603 (File Name Portability): Detail which constraints are inapplicable
35604 to all GNU systems and which are only inapplicable to GNU/Hurd.
35605 * manual/job.texi: Likewise.
35606 * manual/llio.texi: Likewise.
35607 (O_NOCTTY): Document as present on GNU/Linux.
35608 * manual/maint.texi: Likewise.
35609 * manual/memory.texi: Likewise.
35610 * manual/pattern.texi: Likewise.
35611 * manual/pipe.texi: Likewise.
35612 * manual/process.texi: Likewise.
35613 * manual/resource.texi: Likewise.
35614 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35615 child on GNU/Hurd.
35616 * manual/setjmp.texi: Likewise.
35617 * manual/signal.texi: Likewise.
35618 * manual/startup.texi: Likewise.
35619 * manual/stdio.texi: Likewise.
35620 * manual/terminal.texi: Likewise.
35621 (ONLCR): Document as POSIX.
35622 (OXTABS): Document availability on GNU/Linux as XTABS.
35623 (ONOEOT): Document availability separately from other bits.
35624 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35625 * manual/time.texi: Likewise.
35626 * manual/users.texi: Likewise.
35627 * INSTALL: Regenerated.
35628 * sysdeps/gnu/errlist.c: Regenerated.
35629
35630 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35631 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35632 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35633 puts.
35634 * configure: Regenerated.
35635
356362012-03-07 Joseph Myers <joseph@codesourcery.com>
35637
35638 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35639 default includes instead of AC_HEADER_CHECK.
35640 * sysdeps/i386/configure: Regenerated.
35641
35642 [BZ #10716]
35643 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35644 * math/s_cacoshf.c (__cacoshf): Likewise.
35645 * math/s_cacoshl.c (__cacoshl): Likewise.
35646 * math/s_casinh.c (__casinh): Set signs of result from argument.
35647 * math/s_casinhf.c (__casinhf): Likewise.
35648 * math/s_casinhl.c (__casinhl): Likewise.
35649 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35650 (casinh_test): Add more tests.
35651 * sysdeps/i386/fpu/libm-test-ulps: Update.
35652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35653
356542012-03-07 Ulrich Drepper <drepper@gmail.com>
35655
35656 * po/zh_TW.po: Update from translation team.
35657
35658 * login/Makefile (distribute): Remove variable.
35659 * catgets/Makefile: Likewise.
35660 * mach/Makefile: Likewise.
35661 * malloc/Makefile: Likewise.
35662 * misc/Makefile: Likewise.
35663 * iconv/Makefile: Likewise.
35664 * nscd/Makefile: Likewise.
35665 * hurd/Makefile: Likewise.
35666 * manual/Makefile: Likewise.
35667 * locale/Makefile: Likewise.
35668 * intl/Makefile: Likewise.
35669 * conform/Makefile: Likewise.
35670 * nss/Makefile: Likewise.
35671 * time/Makefile: Likewise.
35672 * soft-fp/Makefile: Likewise.
35673 * dirent/Makefile: Likewise.
35674 * gmon/Makefile: Likewise.
35675 * po/Makefile: Likewise.
35676 * rt/Makefile: Likewise.
35677 * socket/Makefile: Likewise.
35678 * math/Makefile: Likewise.
35679 * signal/Makefile: Likewise.
35680 * debug/Makefile: Likewise.
35681 * elf/Makefile: Likewise.
35682 * timezone/Makefile: Likewise.
35683 * stdlib/Makefile: Likewise.
35684 * iconvdata/Makefile: Likewise.
35685 * sunrpc/Makefile: Likewise.
35686 * io/Makefile: Likewise.
35687 * argp/Makefile: Likewise.
35688 * inet/Makefile: Likewise.
35689 * hesiod/Makefile: Likewise.
35690 * grp/Makefile: Likewise.
35691 * csu/Makefile: Likewise.
35692 * wctype/Makefile: Likewise.
35693 * crypt/Makefile: Likewise.
35694 * libio/Makefile: Likewise.
35695 * string/Makefile: Likewise.
35696 * nis/Makefile: Likewise.
35697 * resolv/Makefile: Likewise.
35698 * stdio-common/Makefile: Likewise.
35699 * wcsmbs/Makefile: Likewise.
35700 * dlfcn/Makefile: Likewise.
35701 * posix/Makefile: Likewise.
35702
35703 [BZ #6959]
35704 * timezone/Makefile: Don't install timezone files, just the programs
35705 and scripts.
35706
357072012-03-06 Ulrich Drepper <drepper@gmail.com>
35708
35709 * nss/databases.def: Add missing gshadow entry.
35710
35711 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35712
357132012-03-06 Marek Polacek <polacek@redhat.com>
35714
35715 [BZ #13726]
35716 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35717 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35718 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35719 * stdio-common/tst-long-dbl-fphex.c: New file.
35720
357212012-03-06 David S. Miller <davem@davemloft.net>
35722
35723 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35724 (set_obp_int): New function.
35725 (get_obp_int): New function.
35726 (__get_clockfreq_via_dev_openprom): Likewise.
35727 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35728 Avoid unused variable warnings on 'val' and use builtin_expect.
35729 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35730 __builtin_expect.
35731 (INLINE_CLONE_SYSCALL): Likewise.
35732
357332012-03-05 David S. Miller <davem@davemloft.net>
35734
35735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35736
357372012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35738
35739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35740
35741 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35742 only for |x| >= 40.
35743 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35744
357452012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35746
35747 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35748 Replace gettimeofday with __vdso_gettimeofday.
35749
35750 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35751 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35752 __vdso_clock_gettime and __vdso_getcpu.
35753
35754 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35755 time with __vdso_time.
35756
357572012-03-05 Joseph Myers <joseph@codesourcery.com>
35758
35759 * manual/lang.texi (size_t): Note types to which size_t may be
35760 equivalent with the GNU C Library, but do not describe when
35761 differences between them are significant.
35762
357632012-03-05 Andreas Jaeger <aj@suse.de>
35764
35765 * sysdeps/i386/fpu/libm-test-ulps: Update.
35766
357672012-03-05 Joseph Myers <joseph@codesourcery.com>
35768
35769 [BZ #3976]
35770 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35771 (__ieee754_pow): Save and restore rounding mode and use
35772 round-to-nearest for main computations.
35773 * math/libm-test.inc (pow_test_tonearest): New function.
35774 (pow_test_towardzero): Likewise.
35775 (pow_test_downward): Likewise.
35776 (pow_test_upward): Likewise.
35777 (main): Call the new functions.
35778 * sysdeps/i386/fpu/libm-test-ulps: Update.
35779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35780
35781 [BZ #3976]
35782 * math/libm-test.inc (cosh_test_tonearest): New function.
35783 (cosh_test_towardzero): Likewise.
35784 (cosh_test_downward): Likewise.
35785 (cosh_test_upward): Likewise.
35786 (sinh_test_tonearest): Likewise.
35787 (sinh_test_towardzero): Likewise.
35788 (sinh_test_downward): Likewise.
35789 (sinh_test_upward): Likewise.
35790 (main): Call the new functions.
35791 * sysdeps/i386/fpu/libm-test-ulps: Update.
35792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35793
357942012-03-05 Tom de Vries <tom@codesourcery.com>
35795
35796 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35797 default stack guard is set in last bytes.
35798 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35799
358002012-03-05 Kees Cook <keescook@chromium.org>
35801
35802 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35803
35804 [BZ #13656]
35805 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35806 possibly allocate from heap instead of stack.
35807 * stdio-common/bug-vfprintf-nargs.c: New file.
35808 * stdio-common/Makefile (tests): Add nargs overflow test.
35809
358102012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35811
35812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35813
358142012-03-03 Marek Polacek <polacek@redhat.com>
35815
35816 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35817 * math/math_private.h: Likewise.
35818 * stdlib/tst-strtod.c: Likewise.
35819 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35820 * sysdeps/x86_64/bits/atomic.h: Likewise.
35821
358222012-03-02 David S. Miller <davem@davemloft.net>
35823
35824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35828 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35829 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35830 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35831 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35832
358332012-03-02 Roland McGrath <roland@hack.frob.com>
35834
35835 [BZ #13792]
35836 * manual/examples/README: New file, says the example source files
35837 can be used under GPL>=2.
35838 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35839 line containing just "*/".
35840 * manual/examples/add.c: Add copyright header (GPL>=2).
35841 * manual/examples/argp-ex1.c: Likewise.
35842 * manual/examples/argp-ex2.c: Likewise.
35843 * manual/examples/argp-ex3.c: Likewise.
35844 * manual/examples/argp-ex4.c: Likewise.
35845 * manual/examples/atexit.c: Likewise.
35846 * manual/examples/db.c: Likewise.
35847 * manual/examples/dir.c: Likewise.
35848 * manual/examples/dir2.c: Likewise.
35849 * manual/examples/execinfo.c: Likewise.
35850 * manual/examples/filecli.c: Likewise.
35851 * manual/examples/filesrv.c: Likewise.
35852 * manual/examples/fmtmsgexpl.c: Likewise.
35853 * manual/examples/genpass.c: Likewise.
35854 * manual/examples/inetcli.c: Likewise.
35855 * manual/examples/inetsrv.c: Likewise.
35856 * manual/examples/isockad.c: Likewise.
35857 * manual/examples/longopt.c: Likewise.
35858 * manual/examples/memopen.c: Likewise.
35859 * manual/examples/memstrm.c: Likewise.
35860 * manual/examples/mkfsock.c: Likewise.
35861 * manual/examples/mkisock.c: Likewise.
35862 * manual/examples/mygetpass.c: Likewise.
35863 * manual/examples/pipe.c: Likewise.
35864 * manual/examples/popen.c: Likewise.
35865 * manual/examples/rprintf.c: Likewise.
35866 * manual/examples/search.c: Likewise.
35867 * manual/examples/select.c: Likewise.
35868 * manual/examples/setjmp.c: Likewise.
35869 * manual/examples/sigh1.c: Likewise.
35870 * manual/examples/sigusr.c: Likewise.
35871 * manual/examples/stpcpy.c: Likewise.
35872 * manual/examples/strdupa.c: Likewise.
35873 * manual/examples/strftim.c: Likewise.
35874 * manual/examples/strncat.c: Likewise.
35875 * manual/examples/subopt.c: Likewise.
35876 * manual/examples/swapcontext.c: Likewise.
35877 * manual/examples/termios.c: Likewise.
35878 * manual/examples/testopt.c: Likewise.
35879 * manual/examples/testpass.c: Likewise.
35880 * manual/examples/timeval_subtract.c: Likewise.
35881
35882 [BZ #13792]
35883 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35884 function to ...
35885 * manual/timeval_subtract.c.texi: ... here, new file.
35886
358872012-03-02 David S. Miller <davem@davemloft.net>
35888
35889 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35890
358912012-03-02 Joseph Myers <joseph@codesourcery.com>
35892
35893 [BZ #3976]
35894 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35895 (__sin): Save and restore rounding mode and use round-to-nearest
35896 for all computations.
35897 (__cos): Save and restore rounding mode and use round-to-nearest
35898 for all computations.
35899 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35900 <fenv.h>.
35901 (tan): Save and restore rounding mode and use round-to-nearest for
35902 all computations.
35903 * math/libm-test.inc (cos_test_tonearest): New function.
35904 (cos_test_towardzero): Likewise.
35905 (cos_test_downward): Likewise.
35906 (cos_test_upward): Likewise.
35907 (sin_test_tonearest): Likewise.
35908 (sin_test_towardzero): Likewise.
35909 (sin_test_downward): Likewise.
35910 (sin_test_upward): Likewise.
35911 (tan_test_tonearest): Likewise.
35912 (tan_test_towardzero): Likewise.
35913 (tan_test_downward): Likewise.
35914 (tan_test_upward): Likewise.
35915 (main): Call the new functions.
35916 * sysdeps/i386/fpu/libm-test-ulps: Update.
35917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35918
35919 [BZ #10135]
35920 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35921 small n, then large n, before computing and testing k+n.
35922 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35924 Likewise.
35925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35926 Likewise.
35927 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35928 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35929 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35930 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35931 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35932 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35933 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35934 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35935 * math/libm-test.inc (scalbn_test): Add more tests.
35936 (scalbln_test): Likewise.
35937
35938 * manual/filesys.texi (mode_t): Describe constraints on size and
35939 signedness, not exact equivalence to a particular type.
35940 (ino_t): Likewise.
35941 (ino64_t): Likewise.
35942 (dev_t): Likewise.
35943 (nlink_t): Likewise.
35944 (blkcnt_t): Likewise.
35945 (blkcnt64_t): Likewise.
35946 * manual/llio.texi (off_t): Likewise.
35947
35948 [BZ #3976]
35949 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35950 (__ieee754_exp): Save and restore rounding mode and use
35951 round-to-nearest for all computations.
35952 * math/libm-test.inc (exp_test_tonearest): New function.
35953 (exp_test_towardzero): Likewise.
35954 (exp_test_downward): Likewise.
35955 (exp_test_upward): Likewise.
35956 (main): Call the new functions.
35957 * sysdeps/i386/fpu/libm-test-ulps: Update.
35958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35959
359602012-03-01 Chris Demetriou <cgd@google.com>
35961
35962 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35963 have predictable order.
35964
359652012-03-01 David S. Miller <davem@davemloft.net>
35966
35967 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35968
35969 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35970 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35971 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35972 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35973
35974 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35975 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35976 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35978 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35979 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35980 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35981 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35982 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35983
35984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35985
35986 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35987 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35988 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35989
35990 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35991 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35992 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35993 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35994 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35995 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35996 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35997 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35998 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35999 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36000 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36001 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36002 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36003 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36004 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36005 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36006 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36007 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36008 * sysdeps/sparc/elf/configure: Regenerated.
36009
360102012-03-01 Joseph Myers <joseph@codesourcery.com>
36011
36012 * configure.in (AS, LD): Require binutils 2.20 or later.
36013 * configure: Regenerated.
36014 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36015 as required minimum version.
36016 * INSTALL: Regenerated.
36017
36018 [BZ #2541]
36019 [BZ #4108]
36020 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36021 before squaring exponent.
36022 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36023 bottom long double and 27 bits of top long double before squaring
36024 exponent.
36025 * math/libm-test.inc (erfc_test): Add more tests.
36026 * sysdeps/i386/fpu/libm-test-ulps: Update.
36027 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36029
360302012-03-01 Kai Tietz <ktietz@redhat.com>
36031
36032 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36033 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36034 containing bit-fields.
36035 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36036 * soft-fp/single.h (_FP_UNION_S): Likewise.
36037 * soft-fp/double.h (_FP_UNION_D): Likewise.
36038
360392012-02-29 Joseph Myers <joseph@codesourcery.com>
36040
36041 [BZ #13786]
36042 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36043 not include ../strcmp.S.
36044 [USE_AS_STRNCASECMP_L]: Likewise.
36045 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36046 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36047 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36048 (__strncasecmp_l_ia32): Define as alias to
36049 __strncasecmp_l_nonascii.
36050
36051 [BZ #5794]
36052 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36053 * sysdeps/i386/fpu/libm-test-ulps: Update.
36054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36055
36056 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36058
360592012-02-29 Jeff Law <law@redhat.com>
36060
36061 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36062 out of bounds read.
36063
360642012-02-29 Marek Polacek <polacek@redhat.com>
36065
36066 [BZ #13706]
36067 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36068 * elf/Makefile: Add rules to run tst-unused-dep.out.
36069
360702012-02-28 David S. Miller <davem@davemloft.net>
36071
36072 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36073 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36074 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36075 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36076 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36077 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36078
360792012-02-29 Joseph Myers <joseph@codesourcery.com>
36080
36081 * math/libm-test.inc (llround_test): Move one test from
36082 lround_test. Use TEST_f_L in moved test.
36083 (lround_test): Move misplaced test to llround_test. Add testcase
36084 from bug 2561.
36085
360862012-02-28 Ulrich Drepper <drepper@gmail.com>
36087
36088 * sysdeps/x86_64/fpu/e_expf.S: New file.
36089 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36090
360912012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36092
36093 [BZ #13637]
36094 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36095 of remain_len that may cause incomplete multi-byte character and
36096 false match.
36097 * posix/bug-regex33.c: New file.
36098 * posix/Makefile (tests): Add bug-regex33.
36099
361002012-02-28 Joseph Myers <joseph@codesourcery.com>
36101
36102 * manual/macros.texi: New file.
36103 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36104 * manual/libc.texinfo: Include macros.texi.
36105 * manual/creatute.texi: Likewise.
36106 * manual/install.texi: Likewise.
36107 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36108 @glibcadj{} in references to the GNU C Library.
36109 * manual/charset.texi: Likewise.
36110 * manual/conf.texi: Likewise.
36111 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36112 when not using those macros.
36113 * manual/creature.texi: Likewise.
36114 * manual/crypt.texi: Likewise.
36115 * manual/errno.texi: Likewise.
36116 * manual/filesys.texi: Likewise.
36117 * manual/header.texi: Likewise.
36118 * manual/install.texi: Likewise.
36119 * manual/intro.texi: Likewise.
36120 * manual/io.texi: Likewise.
36121 * manual/job.texi: Likewise.
36122 * manual/lang.texi: Likewise.
36123 * manual/libc.texiinfo: Likewise.
36124 * manual/llio.texi: Likewise.
36125 * manual/locale.texi: Likewise.
36126 * manual/maint.texi: Likewise.
36127 * manual/math.texi: Likewise.
36128 * manual/memory.texi: Likewise.
36129 * manual/message.texi: Likewise.
36130 * manual/nss.texi: Likewise.
36131 * manual/pattern.texi: Likewise.
36132 * manual/process.texi: Likewise.
36133 * manual/resource.texi: Likewise.
36134 * manual/search.texi: Likewise.
36135 * manual/setjmp.texi: Likewise.
36136 * manual/signal.texi: Likewise.
36137 * manual/socket.texi: Likewise.
36138 * manual/startup.texi: Likewise.
36139 * manual/stdio.texi: Likewise.
36140 * manual/string.texi: Likewise.
36141 * manual/sysinfo.texi: Likewise.
36142 * manual/syslog.texi: Likewise.
36143 * manual/terminal.texi: Likewise.
36144 * manual/time.texi: Likewise.
36145 * manual/users.texi: Likewise.
36146 * INSTALL: Regenerated.
36147 * NOTES: Regenerated.
36148 * sysdeps/gnu/errlist.c: Regenerated.
36149
361502012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36151
36152 * include/dirent.h: Include <dirstream.h> before
36153 <dirent/dirent.h>.
36154
361552012-02-28 David S. Miller <davem@davemloft.net>
36156
36157 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36158 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36159 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36160 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36161
361622012-02-27 David S. Miller <davem@davemloft.net>
36163
36164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36166 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36167 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36168
36169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36170 frame pointer instead of stack pointer relative arg slot.
36171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36172 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36173 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36174
361752012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36176
36177 [BZ #3992]
36178 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36179
361802012-02-27 David S. Miller <davem@davemloft.net>
36181
36182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36186 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36187 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36188 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36189 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36190
361912012-02-27 Joseph Myers <joseph@codesourcery.com>
36192
36193 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36194 later. Allow versions 5-9.
36195 * configure: Regenerated.
36196 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36197 required minimum version and 4.6 as recommended version. Do not
36198 mention bugs in GCC 2.7 and 2.8.
36199 * INSTALL: Regenerated.
36200
362012012-02-27 David S. Miller <davem@davemloft.net>
36202
36203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36207 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36208 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36209 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36210 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36211
36212 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36213 manipulate bits before adding and subtracting TWO112[sx].
36214 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36215
362162012-02-27 Roland McGrath <roland@hack.frob.com>
36217
36218 [BZ #13775]
36219 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36220 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36221 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36222 being in POSIX, because they are in 1003.1-2008.
36223
36224 * rt/tst-aio.c: Include <fcntl.h>.
36225 * rt/tst-aio7.c: Likewise.
36226 * rt/tst-aio64.c: Likewise.
36227
36228 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36229
362302012-02-27 Joseph Myers <joseph@codesourcery.com>
36231
36232 * manual/install.texi (--with-headers): Describe headers as
36233 interface headers, not private headers.
36234 (Specific advice for GNU/Linux systems): Describe use of headers
36235 from "make headers_install", not private headers from older
36236 kernels.
36237 * INSTALL: Regenerated.
36238 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36239 Change to 2.6.19.
36240 * sysdeps/unix/sysv/linux/configure: Regenerated.
36241
36242 * manual/llio.texi (fclean): Remove documentation.
36243
36244 * manual/Makefile (libc-texi-generated): New variable. Include
36245 version.texi.
36246 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36247 $(libc-texi-generated), not duplicated list of files.
36248 (version.texi, stamp-version): New rules.
36249 (realclean): Remove $(libc-texi-generated), not individual files
36250 from that list. Do not remove dir-add.texinfo.
36251 * manual/libc.texinfo: Comment out uses of edition numbers and
36252 references to printed manual. Remove last-updated dates.
36253 (EDITION): Comment out.
36254 (ISBN): Likewise.
36255 (VERSION, UPDATED): Remove.
36256 (version.texi): Include.
36257
362582012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36259
36260 * sysdeps/posix/spawni.c: Include <signal.h>.
36261 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36262 * sysdeps/pthread/aio_fsync.c: Likewise.
36263
362642012-02-26 Ulrich Drepper <drepper@gmail.com>
36265
36266 * conform/Makefile (tests): Run only when not cross-compiling and
36267 when fast-check is not defined.
36268
36269 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36270 * conform/data/limits.h-data: Fixes for POSIX2008.
36271 * conform/run-conformtest.sh: Run all tests.
36272 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36273 headers.
36274 * include/bits/dlfcn.h: Likewise.
36275 * include/langinfo.h: Likewise.
36276 * include/monetary.h: Likewise.
36277 * include/sys/poll.h: Likewise.
36278
36279 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36280 for __USE_GNU.
36281 * posix/spawn.h: Define __need_sigset_t.
36282 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36283 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36284 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36285 to get sigevent_t only.
36286 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36287 only for __USE_GNU.
36288 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36289 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36290 process_vm_writev only for __USE_GNU.
36291 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36292
36293 * conform/Makefile: For now ignore errors from run-conformtest.
36294 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36295 POSIX to avoid namespace pollution. Don't prepend headers.
36296 * conform/data/aio.h-data: Fixes for POSIX testing.
36297 * conform/data/fcntl.h-data: Likewise.
36298 * conform/data/glob.h-data: Likewise.
36299 * conform/data/grp.h-data: Likewise.
36300 * conform/data/pthread.h-data: Likewise.
36301 * conform/data/pwd.h-data: Likewise.
36302 * conform/data/signal.h-data: Likewise.
36303 * conform/data/spawn.h-data: Likewise.
36304 * conform/data/stdio.h-data: Likewise.
36305 * conform/data/stdlib.h-data: Likewise.
36306 * conform/data/stropts.h-data: Likewise.
36307 * conform/data/sys/mman.h-data: Likewise.
36308 * conform/data/sys/stat.h-data: Likewise.
36309 * conform/data/sys/types.h-data: Likewise.
36310 * conform/data/sys/wait.h-data: Likewise.
36311 * conform/data/time.h-data: Likewise.
36312 * conform/data/unistd.h-data: Likewise.
36313 * conform/data/utime.h-data: Likewise.
36314
36315 * io/sys/stat.h: fchmod was always in POSIX.
36316 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36317 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36318 * rt/aio.h: Define __need_timespec before including <time.h>.
36319 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36320 struct. Add forward declaration of pthread_attr_t and use it in
36321 sigevent.
36322 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36323 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36324 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36325 always remove CLK_TCK definition.
36326
363272012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36328
36329 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36330
363312012-02-25 Ulrich Drepper <drepper@gmail.com>
36332
36333 * conform/run-conformtest.sh: New file.
36334 * conform/Makefile: Run run-conformtest for tests.
36335 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36336 support.
36337
36338 * conform/data/uchar.h-data: New file.
36339 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36340 * conform/data/arpa/inet.h-data: Likewise.
36341 * conform/data/assert.h-data: Likewise.
36342 * conform/data/complex.h-data: Likewise.
36343 * conform/data/cpio.h-data: Likewise.
36344 * conform/data/ctype.h-data: Likewise.
36345 * conform/data/dirent.h-data: Likewise.
36346 * conform/data/dlfcn.h-data: Likewise.
36347 * conform/data/errno.h-data: Likewise.
36348 * conform/data/fcntl.h-data: Likewise.
36349 * conform/data/float.h-data: Likewise.
36350 * conform/data/fmtmsg.h-data: Likewise.
36351 * conform/data/fnmatch.h-data: Likewise.
36352 * conform/data/ftw.h-data: Likewise.
36353 * conform/data/glob.h-data: Likewise.
36354 * conform/data/grp.h-data: Likewise.
36355 * conform/data/iconv.h-data: Likewise.
36356 * conform/data/inttypes.h-data: Likewise.
36357 * conform/data/langinfo.h-data: Likewise.
36358 * conform/data/libgen.h-data: Likewise.
36359 * conform/data/limits.h-data: Likewise.
36360 * conform/data/locale.h-data: Likewise.
36361 * conform/data/math.h-data: Likewise.
36362 * conform/data/monetary.h-data: Likewise.
36363 * conform/data/mqueue.h-data: Likewise.
36364 * conform/data/ndbm.h-data: Likewise.
36365 * conform/data/net/if.h-data: Likewise.
36366 * conform/data/netdb.h-data: Likewise.
36367 * conform/data/netinet/in.h-data: Likewise.
36368 * conform/data/nl_types.h-data: Likewise.
36369 * conform/data/poll.h-data: Likewise.
36370 * conform/data/pthread.h-data: Likewise.
36371 * conform/data/pwd.h-data: Likewise.
36372 * conform/data/regex.h-data: Likewise.
36373 * conform/data/sched.h-data: Likewise.
36374 * conform/data/search.h-data: Likewise.
36375 * conform/data/semaphore.h-data: Likewise.
36376 * conform/data/setjmp.h-data: Likewise.
36377 * conform/data/signal.h-data: Likewise.
36378 * conform/data/spawn.h-data: Likewise.
36379 * conform/data/stdarg.h-data: Likewise.
36380 * conform/data/stdio.h-data: Likewise.
36381 * conform/data/stdlib.h-data: Likewise.
36382 * conform/data/string.h-data: Likewise.
36383 * conform/data/strings.h-data: Likewise.
36384 * conform/data/stropts.h-data: Likewise.
36385 * conform/data/sys/ipc.h-data: Likewise.
36386 * conform/data/sys/mman.h-data: Likewise.
36387 * conform/data/sys/msg.h-data: Likewise.
36388 * conform/data/sys/resource.h-data: Likewise.
36389 * conform/data/sys/select.h-data: Likewise.
36390 * conform/data/sys/sem.h-data: Likewise.
36391 * conform/data/sys/shm.h-data: Likewise.
36392 * conform/data/sys/socket.h-data: Likewise.
36393 * conform/data/sys/stat.h-data: Likewise.
36394 * conform/data/sys/statvfs.h-data: Likewise.
36395 * conform/data/sys/time.h-data: Likewise.
36396 * conform/data/sys/timeb.h-data: Likewise.
36397 * conform/data/sys/times.h-data: Likewise.
36398 * conform/data/sys/types.h-data: Likewise.
36399 * conform/data/sys/uio.h-data: Likewise.
36400 * conform/data/sys/un.h-data: Likewise.
36401 * conform/data/sys/utsname.h-data: Likewise.
36402 * conform/data/sys/wait.h-data: Likewise.
36403 * conform/data/syslog.h-data: Likewise.
36404 * conform/data/tar.h-data: Likewise.
36405 * conform/data/termios.h-data: Likewise.
36406 * conform/data/utime.h-data: Likewise.
36407 * conform/data/utmpx.h-data: Likewise.
36408 * conform/data/varargs.h-data: Likewise.
36409 * conform/data/wchar.h-data: Likewise.
36410 * conform/data/wctype.h-data: Likewise.
36411 * conform/data/wordexp.h-data: Likewise.
36412
36413 * include/stropts.h: New file.
36414 * include/uchar.h: New file.
36415 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36416 * include/assert.h: Likewise.
36417 * include/ctype.h: Likewise.
36418 * include/dirent.h: Likewise.
36419 * include/dlfcn.h: Likewise.
36420 * include/fcntl.h: Likewise.
36421 * include/fnmatch.h: Likewise.
36422 * include/glob.h: Likewise.
36423 * include/grp.h: Likewise.
36424 * include/libio.h: Likewise.
36425 * include/locale.h: Likewise.
36426 * include/math.h: Likewise.
36427 * include/net/if.h: Likewise.
36428 * include/netdb.h: Likewise.
36429 * include/netinet/in.h: Likewise.
36430 * include/pthread.h: Likewise.
36431 * include/pwd.h: Likewise.
36432 * include/regex.h: Likewise.
36433 * include/sched.h: Likewise.
36434 * include/search.h: Likewise.
36435 * include/setjmp.h: Likewise.
36436 * include/signal.h: Likewise.
36437 * include/stdio.h: Likewise.
36438 * include/stdlib.h: Likewise.
36439 * include/string.h: Likewise.
36440 * include/sys/cdefs.h: Likewise.
36441 * include/sys/mman.h: Likewise.
36442 * include/sys/msg.h: Likewise.
36443 * include/sys/resource.h: Likewise.
36444 * include/sys/select.h: Likewise.
36445 * include/sys/socket.h: Likewise.
36446 * include/sys/stat.h: Likewise.
36447 * include/sys/statvfs.h: Likewise.
36448 * include/sys/time.h: Likewise.
36449 * include/sys/times.h: Likewise.
36450 * include/sys/uio.h: Likewise.
36451 * include/sys/utsname.h: Likewise.
36452 * include/sys/wait.h: Likewise.
36453 * include/termios.h: Likewise.
36454 * include/time.h: Likewise.
36455 * include/ulimit.h: Likewise.
36456 * include/unistd.h: Likewise.
36457 * include/utime.h: Likewise.
36458 * include/wchar.h: Likewise.
36459 * include/wctype.h: Likewise.
36460 * include/wordexp.h: Likewise.
36461
36462 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36463
36464 * time/time.h: TIME_UTC must be a macro.
36465 Make timespec_get available for ISO C11 only as well.
36466
364672012-02-24 Ulrich Drepper <drepper@gmail.com>
36468
36469 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36470 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36471
364722012-02-24 Joseph Myers <joseph@codesourcery.com>
36473
36474 * configure.in: Use -o not -a in test for unsupported multi-arch.
36475
364762012-02-24 Joseph Myers <joseph@codesourcery.com>
36477
36478 * manual/texinfo.tex: Update to version 2012-01-19.16.
36479
364802012-02-24 Joseph Myers <joseph@codesourcery.com>
36481
36482 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36483
364842012-02-24 Roland McGrath <roland@hack.frob.com>
36485
36486 [BZ #13738]
36487 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36488 * manual/fdl-1.3.texi: New file.
36489 * manual/fdl-1.1.texi: File removed.
36490
36491 [BZ #13738]
36492 * manual/libc.texinfo (FDL_VERSION): New @set.
36493 Use it for mention of FDL in cover text.
36494 (Documentation License): Use it in @include file name.
36495
364962012-02-22 Joseph Myers <joseph@codesourcery.com>
36497 Roland McGrath <roland@hack.frob.com>
36498
36499 [BZ #5461]
36500 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36501 (not LONG_LONG_MAX and LONG_LONG_MIN.
36502 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36503 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36504 name.
36505 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36506
365072012-02-22 Joseph Myers <joseph@codesourcery.com>
36508
36509 [BZ #2547]
36510 [BZ #11365]
36511 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36512 manipulate bits before adding and subtracting TWO23[sx].
36513 * math/libm-test.inc (nearbyint_test): Add more tests.
36514
365152012-02-22 Joseph Myers <joseph@codesourcery.com>
36516
36517 [BZ #2548]
36518 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36519 bits before adding and subtracting TWO23[sx].
36520 * math/libm-test.inc (rint_test): Add more tests.
36521 (rint_test_tonearest): Likewise.
36522 (rint_test_towardzero): Likewise.
36523 (rint_test_downward): Likewise.
36524 (rint_test_upward: Likewise.
36525
365262012-02-22 Joseph Myers <joseph@codesourcery.com>
36527
36528 [BZ #10110]
36529 * include/stdc-predef.h: New file. Extracted from features.h.
36530 * include/features.h: Include stdc-predef.h.
36531 * Makefile (headers): Add stdc-predef.h.
36532 * CONFORMANCE (Compiler limitations): Update.
36533
365342012-02-22 Joseph Myers <joseph@codesourcery.com>
36535
36536 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36537
365382012-02-21 David S. Miller <davem@davemloft.net>
36539
36540 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36541 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36542
365432012-02-20 David S. Miller <davem@davemloft.net>
36544
36545 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36546 using a normal save/restore sequence, rather than allocating a
36547 dummy stack frame just to store a frame pointer and restore.
36548 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36549
365502012-02-21 Joseph Myers <joseph@codesourcery.com>
36551
36552 * manual/install.texi: Fix stray word in line-wrapped comment.
36553
365542012-02-20 David S. Miller <davem@davemloft.net>
36555
36556 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36557 both binutils and gcc support GOTDATA.
36558
36559 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36560 "rd %pc" in the PIC register setup sequences.
36561
36562 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36563 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36564 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36565 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36566 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36567 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36568 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36569 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36571 (SYSCALL_ERROR_HANDLER): Likewise.
36572 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36573 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36574 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36575 (SYSCALL_ERROR_HANDLER): Likewise.
36576
36577 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36578 (HAVE_GCC_GOTDATA): New.
36579 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36580 relocation support in both binutils and gcc.
36581 * sysdeps/sparc/elf/configure: Regenerate.
36582
36583 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36584 * sysdeps/sparc/sparc32/elf/configure: Delete.
36585 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36586 * sysdeps/sparc/sparc64/elf/configure: Delete.
36587 * sysdeps/sparc/elf/configure.in: New file.
36588 * sysdeps/sparc/elf/configure: Generate.
36589
36590 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36591 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36592 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36593 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36594 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36595
365962012-02-21 Joseph Myers <joseph@codesourcery.com>
36597
36598 * manual/install.texi: Do not mention specific glibc version
36599 numbers.
36600 * manual/libc.texinfo (VERSION, UPDATED): Update.
36601 (@copying): Use @copyright{} and range of years.
36602
366032012-02-21 Joseph Myers <joseph@codesourcery.com>
36604
36605 [BZ #13695]
36606 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36607 [crti.S not in sysdirs] (generated): Do not append.
36608 [crti.S not in sysdirs] (omit-deps): Likewise.
36609 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36610 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36611 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36612 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36613 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36614 Likewise.
36615 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36616 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36617 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36618 * csu/defs.awk: Remove file.
36619 * sysdeps/generic/initfini.c: Likewise.
36620 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36621 variable.
36622 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36623 Likewise.
36624
366252012-02-20 Joseph Myers <joseph@codesourcery.com>
36626
36627 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36628 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36629 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36630 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36631 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36632 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36633 <bits/epoll.h>.
36634 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36635 (__EPOLL_PACKED): Define to empty if not defined by
36636 <bits/epoll.h>.
36637 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36639 bits/epoll.h.
36640
366412012-02-20 Joseph Myers <joseph@codesourcery.com>
36642
36643 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36644 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36645 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36646 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36647 <bits/timerfd.h>.
36648 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36650 bits/timerfd.h.
36651
366522012-02-20 Joseph Myers <joseph@codesourcery.com>
36653
36654 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36655 in C locale.
36656 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36657 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36658 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36660
366612012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36662
36663 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36664 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36665
366662012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36667
36668 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36669 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36670 defined.
36671 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36672 Likewise.
36673 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36674 entry for 2.16.
36675
366762012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36677
36678 * math/w_acos.c: Use non-signaling floating-point comparisons.
36679 * math/w_acosf.c: Likewise.
36680 * math/w_acosh.c: Likewise.
36681 * math/w_acoshf.c: Likewise.
36682 * math/w_acoshl.c: Likewise.
36683 * math/w_acosl.c: Likewise.
36684 * math/w_asin.c: Likewise.
36685 * math/w_asinf.c: Likewise.
36686 * math/w_asinl.c: Likewise.
36687 * math/w_atanh.c: Likewise.
36688 * math/w_atanhf.c: Likewise.
36689 * math/w_atanhl.c: Likewise.
36690 * math/w_exp2.c: Likewise.
36691 * math/w_exp2f.c: Likewise.
36692 * math/w_exp2l.c: Likewise.
36693 * math/w_j0.c: Likewise.
36694 * math/w_j0f.c: Likewise.
36695 * math/w_j0l.c: Likewise.
36696 * math/w_j1.c: Likewise.
36697 * math/w_j1f.c: Likewise.
36698 * math/w_j1l.c: Likewise.
36699 * math/w_jn.c: Likewise.
36700 * math/w_jnf.c: Likewise.
36701 * math/w_log.c: Likewise.
36702 * math/w_log10.c: Likewise.
36703 * math/w_log10f.c: Likewise.
36704 * math/w_log10l.c: Likewise.
36705 * math/w_log2.c: Likewise.
36706 * math/w_log2f.c: Likewise.
36707 * math/w_log2l.c: Likewise.
36708 * math/w_logf.c: Likewise.
36709 * math/w_logl.c: Likewise.
36710 * math/w_sqrt.c: Likewise.
36711 * math/w_sqrtf.c: Likewise.
36712 * math/w_sqrtl.c: Likewise.
36713 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36714 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36715 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36716 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36717 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36718
367192012-02-19 Joseph Myers <joseph@codesourcery.com>
36720
36721 [BZ #9739]
36722 * manual/string.texi (strnlen): Use correct parameter name in
36723 equivalent expression.
36724
367252012-02-19 Joseph Myers <joseph@codesourcery.com>
36726
36727 [BZ #11174]
36728 * manual/users.texi (seteuid): Consistently use neweuid for
36729 argument name.
36730
367312012-02-19 Joseph Myers <joseph@codesourcery.com>
36732
36733 [BZ #13704]
36734 * manual/nss.texi (Services in the NSS configuration): Correct
36735 list of services in example configuration file.
36736
367372012-02-19 Nick Bowler <nbowler@draconx.ca>
36738
36739 [BZ #11322]
36740 * manual/arith.texi: Remove statements about negative zero
36741 behaving identically to zero.
36742
367432012-02-18 Joseph Myers <joseph@codesourcery.com>
36744
36745 [BZ #5993]
36746 * manual/install.texi: Do not document upgrading from libc5.
36747
367482012-02-18 Joseph Myers <joseph@codesourcery.com>
36749
36750 [BZ #4596]
36751 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36752
367532012-02-18 David S. Miller <davem@davemloft.net>
36754
36755 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36756 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36757 %o7 across the call.
36758 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36759 instead.
36760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36761 SETUP_PIC_REG_LEAF.
36762 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36763 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36764 * sysdeps/sparc/crtn.S: Likewise.
36765
367662012-02-17 Ulrich Drepper <drepper@gmail.com>
36767
36768 * aout/Makefile: Remove.
36769
367702012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36771
36772 [BZ #13058]
36773 * manual/examples/argp-ex1.c (main): Format definition in GNU
36774 style.
36775 * manual/examples/argp-ex2.c (main): Likewise.
36776 * manual/examples/argp-ex3.c (main): Likewise.
36777 * manual/examples/argp-ex4.c (main): Likewise.
36778 * manual/examples/longopt.c (main): Use new-style prototype
36779 definition.
36780 * manual/examples/strncat.c (main): Specify return type and use
36781 (void) for arguments.
36782 * manual/examples/subopt.c (main): Use char **argv argument.
36783
367842012-02-17 Joseph Myers <joseph@codesourcery.com>
36785
36786 [BZ #5077]
36787 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36788 rounding modes.
36789
367902012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36791
36792 [BZ #6907]
36793 * manual/string.texi (strchr): Change when strchrnul is
36794 recommended.
36795
367962012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36797
36798 [BZ #174]
36799 * manual/locale.texi (setlocale): Document LOCPATH.
36800
368012012-02-17 Joseph Myers <joseph@codesourcery.com>
36802
36803 [BZ #10210]
36804 * manual/process.texi (execle): Move @dots{} before last argument.
36805
368062012-02-17 Paul Bolle <pebolle@tiscali.nl>
36807
36808 [BZ #12047]
36809 * manual/charset.texi (Generic Charset Conversion): Fix typo
36810 (LC_TYPE -> LC_CTYPE).
36811
368122012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36813
36814 [BZ #5805]
36815 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36816 (scalbnf): Likewise.
36817 (scalbnl): Likewise.
36818 (scalbln): Likewise.
36819 (scalblnf): Likewise.
36820 (scalblnl): Likewise.
36821 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36822 (vwarnx): Likewise.
36823 (verr): Likewise.
36824 (verrx): Likewise.
36825 * manual/filesys.texi (telldir): Use braces around return type.
36826 * manual/llio.texi (mmap): Add space after comma.
36827 (mmap64): Likewise.
36828 * manual/math.texi (jn): Use @var{} on parameter names.
36829 (jnf): Likewise.
36830 (jnl): Likewise.
36831 (yn): Likewise.
36832 (ynf): Likewise.
36833 (ynl): Likewise.
36834 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36835 line.
36836 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36837 "...".
36838 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36839 (sched_get_priority_max): Likewise.
36840 * manual/signal.texi (sigvec): Add space after comma.
36841 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36842 names.
36843 (if_indextoname): Likewise.
36844 (if_freenameindex): Likewise.
36845 (sendto): Use ',' instead of '.' in prototype.
36846 * manual/startup.texi (syscall): Use @dots{} instead of literal
36847 "...".
36848 * manual/stdio.texi (__fpending): Separate initial words of
36849 paragraph from @deftypefun line.
36850 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36851 "...".
36852 (vsyslog): Use @var{} on parameter names.
36853 * manual/terminal.texi (stty): Use @var{} on parameter names.
36854 * manual/users.texi (getutmp): Use @var{} on parameter names.
36855 (getutmpx): Likewise.
36856
368572012-02-17 Joseph Myers <joseph@codesourcery.com>
36858
36859 [BZ #6884]
36860 * manual/stdio.texi (fopen): Fix typos in description of
36861 ",ccs=STRING".
36862
368632012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36864
36865 [BZ #4026]
36866 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36867 get clock_id definition.
36868
368692012-02-17 Thomas Schwinge <thomas@schwinge.name>
36870
36871 [BZ #4822]
36872 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36873 (madvise): Cast every argument to void on its own.
36874
368752012-02-17 Joseph Myers <joseph@codesourcery.com>
36876
36877 [BZ #9902]
36878 * manual/startup.texi (Exit Status): Fix typo.
36879
368802012-02-17 Joseph Myers <joseph@codesourcery.com>
36881
36882 [BZ #10140]
36883 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36884 * manual/examples/argp-ex2.c: Likewise.
36885 * manual/examples/argp-ex3.c: Likewise.
36886
368872012-02-16 Richard Henderson <rth@redhat.com>
36888
36889 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36890 * sysdeps/s390/s390-32/initfini.c: Remove.
36891 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36892 * sysdeps/s390/s390-64/initfini.c: Remove.
36893
368942012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36895
36896 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36897 compiler output for sysdeps/generic/initfini.c.
36898 * sysdeps/sh/elf/initfini.c: Remove file.
36899
369002012-02-16 David S. Miller <davem@davemloft.net>
36901
36902 [BZ #11494]
36903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36904
36905 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36906 * sysdeps/sparc/crti.S: New file.
36907 * sysdeps/sparc/crtn.S: New file.
36908 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36909 * sysdeps/sparc/sparc64/Makefile: Likewise.
36910
369112012-02-15 Mike Frysinger <vapier@gentoo.org>
36912
36913 [BZ #3335]
36914 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36915
369162012-02-15 Roland McGrath <roland@hack.frob.com>
36917
36918 [BZ #4822]
36919 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36920
36921 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36922 (write, read, close): Likewise.
36923 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36924
369252012-02-15 Joseph Myers <joseph@codesourcery.com>
36926
36927 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36928 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36929 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36930 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36931 <bits/signalfd.h>.
36932 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36934 bits/signalfd.h.
36935
369362012-02-14 Marek Polacek <polacek@redhat.com>
36937
36938 * sysdeps/x86_64/crti.S: New file.
36939 * sysdeps/x86_64/crtn.S: New file.
36940 * sysdeps/x86_64/elf/initfini.c: Remove file.
36941
369422012-02-13 Joseph Myers <joseph@codesourcery.com>
36943
36944 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36945 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36946 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36947 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36948 <bits/inotify.h>.
36949 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36951 bits/inotify.h.
36952
369532012-02-13 Joseph Myers <joseph@codesourcery.com>
36954
36955 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36956 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36957 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36958 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36959 <bits/eventfd.h>.
36960 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36961 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36962 bits/eventfd.h.
36963
369642012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36965
36966 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36967 __feraiseexcept instead of feraiseexcept.
36968
36969 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36970 nanosleep invocations.
36971 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36972 strings, and add error checking for a nanosleep invocations.
36973
369742012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36975
36976 Replace FSF snail mail address with URLs, as per GNU coding standards.
36977 Most of the snail mail addresses were wrong anyway, and omitting
36978 them makes the source code easier to maintain. Almost all of the
36979 changes are to license notices and to locale LC_IDENTIFICATION
36980 addresses, except for this one:
36981 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36982 not its snail mail address.
36983
369842012-02-09 Richard Henderson <rth@twiddle.net>
36985
36986 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36987 of kernel-features.h.
36988
36989 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36990
369912012-02-08 Marek Polacek <polacek@redhat.com>
36992
36993 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36994 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36995 * sysdeps/gnu/_G_config.h: Likewise.
36996 * sysdeps/generic/_G_config.h: Likewise.
36997
369982012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36999
37000 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37001 tests.
37002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37003
37004 * sysdeps/powerpc/powerpc32/crti.S: New file.
37005 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37006 * sysdeps/powerpc/powerpc64/crti.S: New file.
37007 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37008
37009 * Makeconfig (have-initfini): Don't set.
37010 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37011 * configure.in (nopic_initfini): Don't substitute.
37012 * config.h.in (HAVE_INITFINI): Don't #undef.
37013 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37014 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37015
370162012-02-08 Joseph Myers <joseph@codesourcery.com>
37017
37018 Support crti.S and crtn.S provided directly by architectures.
37019 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37020 [crti.S in sysdirs] (omit-deps): Likewise.
37021 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37022 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37023 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37024 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37025 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37026 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37027 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37028 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37029 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37030 compiler output for sysdeps/generic/initfini.c.
37031 * sysdeps/i386/elf/Makefile: Remove file.
37032 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37033
370342012-02-07 Marek Polacek <polacek@redhat.com>
37035
37036 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37037 * sysdeps/gnu/_G_config.h: Likewise.
37038 * sysdeps/mach/hurd/_G_config.h: Likewise.
37039
370402012-02-07 Marek Polacek <polacek@redhat.com>
37041
37042 * math/Makefile (tests): Add tst-CMPLX2.
37043 * math/tst-CMPLX2.c: New file.
37044
370452012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37046
37047 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37048
37049 * math/libm-test.inc (jn_test): Add missing L suffix.
37050
370512012-02-06 Marek Polacek <polacek@redhat.com>
37052
37053 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37054 * sysdeps/i386/fpu/e_powf.S: Likewise.
37055 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37056 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37057 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37058 * sysdeps/i386/fpu/e_pow.S: Likewise.
37059 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37060 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37061 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37062 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37063 * sysdeps/i386/fpu/e_log2.S: Likewise.
37064 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37065 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37066 * sysdeps/i386/fpu/e_powl.S: Likewise.
37067 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37068 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37069 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37070 * sysdeps/i386/fpu/e_logl.S: Likewise.
37071 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37072 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37073 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37074 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37075 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37076 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37077 * sysdeps/i386/fpu/e_log.S: Likewise.
37078 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37079 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37080 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37081 * sysdeps/i386/fpu/e_logf.S: Likewise.
37082 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37083 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37084 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37085 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37086 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37087 * sysdeps/i386/fpu/e_log10.S: Likewise.
37088 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37089 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37090 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37091 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37092 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37093 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37094 * sysdeps/i386/asm-syntax.h: Likewise.
37095 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37096 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37097 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37098 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37099 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37100 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37101 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37102 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37103 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37104 * sysdeps/powerpc/sysdep.h: Likewise.
37105 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37106 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37107
371082012-02-06 Joseph Myers <joseph@codesourcery.com>
37109
37110 [BZ #411]
37111 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37112
371132012-02-06 Joseph Myers <joseph@codesourcery.com>
37114
37115 * sysdeps/i386/sysdep.h: Include <features.h>.
37116 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37117 version.
37118
371192012-02-05 Joseph Myers <joseph@codesourcery.com>
37120
37121 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37122 Define.
37123 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37124 LOAD_PIC_REG_STR.
37125
371262012-02-03 Joseph Myers <joseph@codesourcery.com>
37127
37128 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37129 (SETUP_PIC_REG): Use GET_PC_THUNK.
37130 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37131 macro.
37132
371332012-02-03 Joseph Myers <joseph@codesourcery.com>
37134
37135 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37136 for non-PIC compilation.
37137 (SETUP_PIC_REG): Add .p2align directive.
37138 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37139 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37140 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37141 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37142 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37143 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37144 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37145 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37146 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37147 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37148 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37149 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37150 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37151 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37152 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37153 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37154 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37155 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37156 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37157 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37158 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37159 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37160 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37161 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37162 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37163 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37164 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37165 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37166 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37167 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37168 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37169 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37170 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37171 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37172 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37173 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37174 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37175 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37176 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37177 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37178 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37179
371802012-02-03 Joseph Myers <joseph@codesourcery.com>
37181
37182 * math/tst-CMPLX.c: Include <stdio.h>.
37183
371842012-01-31 Joseph Myers <joseph@codesourcery.com>
37185
37186 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37187 float.
37188 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37189 * sysdeps/sparc/bits/mathdef.h: Likewise.
37190
371912012-01-31 Marek Polacek <polacek@redhat.com>
37192
37193 * libio/libio.h: Don't define _PARAMS.
37194 * locale/programs/config.h: Don't define PARAMS.
37195 * stdlib/strtol_l.c: Likewise.
37196 (__strtol_l): Remove PARAMS from the prototype.
37197
371982012-01-31 Ulrich Drepper <drepper@gmail.com>
37199
37200 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37201 names. Just use the correct names. Remove unnecessary wrapper
37202 functions.
37203 * malloc/arena.c: Likewise.
37204 * malloc/hooks.c: Likewise.
37205
37206 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37207 ARENA_TEST says not to. Simplify test for creation of a new arena.
37208 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37209
372102012-01-30 Ulrich Drepper <drepper@gmail.com>
37211
37212 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37213 into tail calls.
37214 (update_get_addr): New function.
37215 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37216 GET_ADDR_MODULE parameter.
37217
372182012-01-30 Joseph Myers <joseph@codesourcery.com>
37219
37220 * crypt/cert.c: Remove __STDC__ conditionals.
37221 * crypt/crypt-entry.c: Likewise.
37222 * crypt/crypt_util.c: Likewise.
37223 * libio/filedoalloc.c: Likewise.
37224 * libio/fileops.c: Likewise.
37225 * libio/genops.c: Likewise.
37226 * libio/iofclose.c: Likewise.
37227 * libio/iofdopen.c: Likewise.
37228 * libio/iofopen.c: Likewise.
37229 * libio/iofopen64.c: Likewise.
37230 * libio/iogetdelim.c: Likewise.
37231 * libio/iopopen.c: Likewise.
37232 * libio/obprintf.c: Likewise.
37233 * libio/oldfileops.c: Likewise.
37234 * libio/oldiofclose.c: Likewise.
37235 * libio/oldiofdopen.c: Likewise.
37236 * libio/oldiofopen.c: Likewise.
37237 * libio/oldiopopen.c: Likewise.
37238 * libio/wfiledoalloc.c: Likewise.
37239 * libio/wgenops.c: Likewise.
37240 * locale/programs/xmalloc.c: Likewise.
37241 * misc/syslog.c: Likewise.
37242 * stdio-common/xbug.c: Likewise.
37243 * string/memchr.c: Likewise.
37244 * string/memcmp.c: Likewise.
37245 * string/memrchr.c: Likewise.
37246 * string/rawmemchr.c: Likewise.
37247 * sysdeps/posix/getcwd.c: Likewise.
37248 * time/strftime_l.c: Likewise.
37249
372502012-01-30 Joseph Myers <joseph@codesourcery.com>
37251
37252 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37253 * config.make.in (config-cflags-sse2avx): Define.
37254 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37255 Fix typo.
37256
372572012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37258
37259 * scripts/config.guess: Update from upstream config git repository.
37260 * scripts/config.sub: Likewise.
37261
372622012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37263
37264 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37265 (EM_NUM): Update.
37266 (R_TILEPRO_*, R_TILEGX_*): New macros.
37267
37268 * scripts/firstversions.awk: Fix bug in version range handling.
37269
37270 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37271
37272 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37273
37274 * include/sys/epoll.h: New file.
37275 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37276 libc_hidden_def.
37277
372782012-01-28 Ulrich Drepper <drepper@gmail.com>
37279
37280 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37281 Avoid unnecessary __WORDSIZE == 64 test.
37282 (fmaxf): Use VEX format if possible.
37283 (fmax): Likewise.
37284 (fminf): Likewise.
37285 (fmin): Likewise.
37286
37287 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37288 * math/math_private.h: Remove libc_fegetround* and
37289 libc_fesetround*.
37290 * sysdeps/i386/configure.in: Check for -msse2avx.
37291 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37292 also if SSE2AVX is defined.
37293 Remove libc_fegetround* and libc_fesetround*.
37294 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37295 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37296 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37297 of HAS_YMM_USABLE.
37298 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37299 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37300 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37301 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37302 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37303
37304 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37305
373062012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37307
37308 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37309 size is not set.
37310 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37311
373122012-01-27 Ulrich Drepper <drepper@gmail.com>
37313
37314 [BZ #13618]
37315 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37316 relocation.
37317 * Makeconfig (libm): Define.
37318 * elf/Makefile: Add rules to build and run tst-relsort1.
37319 * elf/tst-relsort1.c: New file.
37320 * elf/tst-relsort1mod1.c: New file.
37321 * elf/tst-relsort1mod2.c: New file.
37322
373232012-01-27 Joseph Myers <joseph@codesourcery.com>
37324
37325 * math/s_ldexp.c: Remove __STDC__ conditionals.
37326 * math/s_ldexpf.c: Likewise.
37327 * math/s_ldexpl.c: Likewise.
37328 * math/s_nextafter.c: Likewise.
37329 * math/s_nexttowardf.c: Likewise.
37330 * math/s_significand.c: Likewise.
37331 * math/s_significandf.c: Likewise.
37332 * math/s_significandl.c: Likewise.
37333 * math/w_jnl.c: Likewise.
37334 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37335 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37336 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37337 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37338 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37339 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37340 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37341 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37342 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37343 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37344 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37345 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37346 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37347 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37348 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37349 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37350 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37351 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37353 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37354 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37355 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37356 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37357 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37358 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37359 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37360 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37361 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37362 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37363 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37364 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37365 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37366 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37367 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37368 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37369 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37370 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37371 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37372 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37373 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37374 * sysdeps/ieee754/k_standard.c: Likewise.
37375 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37376 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37378 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37379 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37380 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37381 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37382 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37383 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37384 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37385 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37386 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37387 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37388 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37389 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37390 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37391 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37392 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37393 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37394 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37395 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37396 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37397 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37398 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37399 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37400 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37401 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37402 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37403 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37404 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37405 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37406 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37407 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37408 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37409 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37410 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37411 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37412 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37413 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37414 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37415 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37416 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37417 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37418 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37419 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37420 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37421 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37422 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37423 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37424 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37425 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37426 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37427 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37428 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37429 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37430 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37431 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37432 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37433 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37434 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37435 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37436 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37437 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37438 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37439 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37440 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37441 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37442 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37443 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37444 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37445 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37446 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37447 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37448 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37449 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37450 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37451 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37452 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37453 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37454 * sysdeps/ieee754/s_matherr.c: Likewise.
37455 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37456 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37457 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37458 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37459
374602012-01-26 Joseph Myers <joseph@codesourcery.com>
37461
37462 * crypt/md5.h: Remove __STDC__ conditionals.
37463 * libio/libioP.h: Likewise.
37464 * locale/programs/config.h: Likewise.
37465 * sysdeps/generic/sysdep.h: Likewise.
37466 * sysdeps/i386/asm-syntax.h: Likewise.
37467 * sysdeps/s390/asm-syntax.h: Likewise.
37468 * sysdeps/unix/sysdep.h: Likewise.
37469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37471
374722012-01-26 Joseph Myers <joseph@codesourcery.com>
37473
37474 * libio/libio.h: Remove __STDC__ conditionals.
37475 * malloc/obstack.h: Likewise.
37476 * math/complex.h: Likewise.
37477 * math/math.h: Likewise.
37478 * sysdeps/generic/_G_config.h: Likewise.
37479 * sysdeps/gnu/_G_config.h: Likewise.
37480 * sysdeps/mach/hurd/_G_config.h: Likewise.
37481 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37482 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37483 * sysdeps/sparc/bits/mathdef.h: Likewise.
37484
374852012-01-26 Ulrich Drepper <drepper@gmail.com>
37486
37487 [BZ #13583]
37488 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37489 Clean up HAS_* macros.
37490 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37491 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37492 possible.
37493 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37494 HAS_AVX.
37495 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37496 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37497 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37498 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37499 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37500
375012012-01-25 Joseph Myers <joseph@codesourcery.com>
37502
37503 * elf/tst-unique3.cc (gets): Remove declaration.
37504 * elf/tst-unique3lib.cc (gets): Likewise.
37505 * elf/tst-unique3lib2.cc (gets): Likewise.
37506 * elf/tst-unique4.cc (gets): Likewise.
37507
375082012-01-24 Ulrich Drepper <drepper@gmail.com>
37509
37510 * include/stdio.h: Add C++ protection. Add gets declarations and
37511 definitions.
37512 * debug/tst-chk1.c: Don't declare gets here.
37513 * stdio-common/tst-gets.c: Likewise.
37514
375152012-01-24 Joseph Myers <joseph@codesourcery.com>
37516
37517 * posix/glob: Remove directory.
37518
375192012-01-24 Joseph Myers <joseph@codesourcery.com>
37520
37521 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37522
375232012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37524
37525 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37526 of the non-standard EPFNOSUPPORT.
37527
375282011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37529
37530 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37531 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37532 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37533
375342012-01-21 Ulrich Drepper <drepper@gmail.com>
37535
37536 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37537
375382012-01-20 Ulrich Drepper <drepper@gmail.com>
37539
37540 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37541 transient errors.
37542 * nscd/grpcache.c (cache_addgr): Likewise.
37543 * nscd/hstcache.c (cache_addhst): Likewise.
37544 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37545 * nscd/pwdcache.c (cache_addpw): Likewise.
37546 * nscd/servicescache.c (cache_addserv): Likewise.
37547
375482012-01-16 Ulrich Drepper <drepper@gmail.com>
37549
37550 * malloc/malloc.c: Various cleanups.
37551 * malloc/hooks.c: Likewise.
37552
37553 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37554 * stdlib/bug-fmtmsg1.c: New file.
37555
37556 * stdlib/fmtmsg.c (init): Add missing unlock.
37557 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37558
375592012-01-12 Marek Polacek <polacek@redhat.com>
37560
37561 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37562 and _GNU_SOURCE.
37563
375642012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37565
37566 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37567 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37568 macro to ensure uniqueness of label name.
37569 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37570 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37571
375722012-01-11 Ulrich Drepper <drepper@gmail.com>
37573
37574 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37575
37576 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37577 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37578 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37580
375812012-01-10 Ulrich Drepper <drepper@gmail.com>
37582
37583 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37584
37585 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37586 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37587 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37588
37589 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37590
37591 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37592 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37595
37596 * math/bits/math-finite.h: Add ldexp support.
37597
375982012-01-10 Marek Polacek <polacek@redhat.com>
37599
37600 * locale/programs/localedef.h (show_archive_content): Add noreturn
37601 attribute.
37602
376032012-01-09 Ulrich Drepper <drepper@gmail.com>
37604
37605 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37606
376072012-01-08 Ulrich Drepper <drepper@gmail.com>
37608
37609 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37610
37611 * io/Makefile (headers): Add bits/poll2.h.
37612
376132011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37614
37615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37616 typo #include statement.
37617
376182012-01-08 Ulrich Drepper <drepper@gmail.com>
37619
37620 * include/sys/cdefs.h: Define __attribute_alloc_size.
37621 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37622 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37623 * elf/pldd.c: Likewise.
37624 * iconv/iconv_charmap.c: Likewise.
37625 * iconv/iconvconfig.c: Likewise.
37626 * iconv/strtab.c: Likewise.
37627 * locale/programs/locale.c: Likewise.
37628 * locale/programs/localedef.h: Likewise.
37629 * locale/programs/simple-hash.c: Likewise.
37630 * nscd/nscd.h: Likewise.
37631 * nss/makedb.c: Likewise.
37632 * sysdeps/generic/ldconfig.h: Likewise.
37633 * locale/programs/localedef.c: Remove xmalloc prototype.
37634 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37635
376362012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37637
37638 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37639 appropriate.
37640
376412012-01-08 Ulrich Drepper <drepper@gmail.com>
37642
37643 * math/Makefile (tests): Add tst-CMPLX.
37644 * math/tst-CMPLX.c: New file.
37645
37646 * math/complex.h (CMPLXL): Fix typo.
37647
37648 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37649 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37650 GLIBC_2.16.
37651 * debug/tst-chk1.c: Add poll and ppoll tests.
37652 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37653 * include/sys/poll.h: Add hidden proto for ppoll.
37654 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37655 * sysdeps/mach/hurd/ppoll.c: Likewise.
37656 * io/ppoll.c: Likewise.
37657 * debug/poll_chk.c: New file.
37658 * debug/ppoll_chk.c: New file.
37659 * include/bits/poll2.h: New file.
37660 * io/bits/poll2.h: New file.
37661
37662 [BZ #1350]
37663 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37664
37665 * configure.in: static is always set to yes. Remove.
37666 * config.make.in: Don't set build-static.
37667 * Makeconfig: Remove use of build-static.
37668 * dlfcn/Makefile: Likewise.
37669 * elf/Makefile: Likewise.
37670 * math/Makefile: Likewise.
37671 * misc/Makefile: Likewise.
37672 * nptl/Makefile: Likewise.
37673 * sysdeps/mach/hurd/Makefile: Likewise.
37674
37675 * configure.in: PWD_P is not used anymore.
37676 * config.make.in: Remove PWD_P entry.
37677
37678 * configure.in: Remove last remnants of RANLIB.
37679 No need to check for signed size_t anymore.
37680 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37681 and IA-64.
37682 Remove __builtin_expect test because we require at least gcc 3.4.
37683 * aclocal.m4: Likewise.
37684
37685 * wcsmbs/mbrtoc16.c: Implement using towc function.
37686 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37687 * wcsmbs/wcsmbsload.c: Likewise.
37688 * iconv/gconv_simple.c: Likewise.
37689 * iconv/gconv_int.h: Likewise.
37690 * iconv/gconv_builtin.h: Likewise.
37691 * iconv/iconv_prog.c: Remove CHAR16 handling.
37692
37693 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37694
37695 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37696
37697 * configure.in: Remove --with-elf and --enable-bounded options.
37698 Dont set base_machine for ia64. More non-ELF conditions removed.
37699 Remove testing and setting of leading underscore information.
37700 * config.make.in (build-bounded): Set to no.
37701 * config.h.in: Remove NO_UNDERSCORES entry.
37702 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37703 them.
37704 * csu/start.c: Remove !NO_UNDERSCORE code.
37705 * locale/localeinfo.h: Likewise.
37706 * sysdeps/generic/machine-gmon.h: Likewise.
37707 * sysdeps/generic/sysdep.h: Likewise.
37708 * sysdeps/i386/sysdep.h: Likewise.
37709 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37710 * sysdeps/mach/sysdep.h: Likewise.
37711 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37712 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37713 * sysdeps/sh/sysdep.h: Likewise.
37714 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37715 * sysdeps/unix/i386/sysdep.S: Likewise.
37716 * sysdeps/unix/sparc/start.c: Likewise.
37717 * sysdeps/unix/sparc/sysdep.S: Likewise.
37718 * sysdeps/unix/sparc/sysdep.h: Likewise.
37719 * sysdeps/unix/start.c: Likewise.
37720 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37721 * sysdeps/x86_64/sysdep.h: Likewise.
37722
377232012-01-07 Ulrich Drepper <drepper@gmail.com>
37724
37725 [BZ #13553]
37726 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37727 for non-gcc.
37728 * argp/argp-fmtstream.h: Use const instead __const.
37729 * argp/argp.h: Likewise.
37730 * assert/assert.h: Likewise.
37731 * bits/fenv.h: Likewise.
37732 * bits/sched.h: Likewise.
37733 * bits/sigset.h: Likewise.
37734 * bits/sigthread.h: Likewise.
37735 * catgets/nl_types.h: Likewise.
37736 * conform/data/pthread.h-data: Likewise.
37737 * crypt/crypt-private.h: Likewise.
37738 * crypt/crypt.h: Likewise.
37739 * crypt/crypt_util.c: Likewise.
37740 * ctype/ctype.h: Likewise.
37741 * debug/execinfo.h: Likewise.
37742 * debug/mbsnrtowcs_chk.c: Likewise.
37743 * debug/mbsrtowcs_chk.c: Likewise.
37744 * debug/wcsnrtombs_chk.c: Likewise.
37745 * debug/wcsrtombs_chk.c: Likewise.
37746 * debug/wcstombs_chk.c: Likewise.
37747 * dirent/dirent.h: Likewise.
37748 * dlfcn/dlfcn.h: Likewise.
37749 * elf/neededtest4.c: Likewise.
37750 * grp/grp.h: Likewise.
37751 * gshadow/gshadow.h: Likewise.
37752 * iconv/gconv.h: Likewise.
37753 * iconv/gconv_int.h: Likewise.
37754 * iconv/gconv_simple.c: Likewise.
37755 * iconv/iconv.h: Likewise.
37756 * iconv/loop.c: Likewise.
37757 * iconv/skeleton.c: Likewise.
37758 * include/aio.h: Likewise.
37759 * include/aliases.h: Likewise.
37760 * include/argz.h: Likewise.
37761 * include/arpa/inet.h: Likewise.
37762 * include/assert.h: Likewise.
37763 * include/dirent.h: Likewise.
37764 * include/dlfcn.h: Likewise.
37765 * include/execinfo.h: Likewise.
37766 * include/fcntl.h: Likewise.
37767 * include/fenv.h: Likewise.
37768 * include/glob.h: Likewise.
37769 * include/grp.h: Likewise.
37770 * include/libintl.h: Likewise.
37771 * include/mntent.h: Likewise.
37772 * include/netdb.h: Likewise.
37773 * include/pwd.h: Likewise.
37774 * include/rpc/netdb.h: Likewise.
37775 * include/sched.h: Likewise.
37776 * include/search.h: Likewise.
37777 * include/shadow.h: Likewise.
37778 * include/signal.h: Likewise.
37779 * include/stdio.h: Likewise.
37780 * include/stdlib.h: Likewise.
37781 * include/string.h: Likewise.
37782 * include/sys/socket.h: Likewise.
37783 * include/sys/stat.h: Likewise.
37784 * include/sys/statfs.h: Likewise.
37785 * include/sys/statvfs.h: Likewise.
37786 * include/sys/syslog.h: Likewise.
37787 * include/sys/time.h: Likewise.
37788 * include/sys/uio.h: Likewise.
37789 * include/time.h: Likewise.
37790 * include/unistd.h: Likewise.
37791 * include/utmp.h: Likewise.
37792 * include/wchar.h: Likewise.
37793 * include/wctype.h: Likewise.
37794 * inet/aliases.h: Likewise.
37795 * inet/arpa/inet.h: Likewise.
37796 * inet/netinet/ether.h: Likewise.
37797 * inet/netinet/in.h: Likewise.
37798 * intl/libintl.h: Likewise.
37799 * io/bits/fcntl2.h: Likewise.
37800 * io/fcntl.h: Likewise.
37801 * io/ftw.h: Likewise.
37802 * io/sys/poll.h: Likewise.
37803 * io/sys/stat.h: Likewise.
37804 * io/sys/statfs.h: Likewise.
37805 * io/sys/statvfs.h: Likewise.
37806 * io/utime.h: Likewise.
37807 * libio/bits/stdio.h: Likewise.
37808 * libio/bits/stdio2.h: Likewise.
37809 * libio/libio.h: Likewise.
37810 * libio/libioP.h: Likewise.
37811 * libio/stdio.h: Likewise.
37812 * locale/lc-ctype.c: Likewise.
37813 * locale/locale.h: Likewise.
37814 * login/utmp.h: Likewise.
37815 * malloc/arena.c: Likewise.
37816 * malloc/malloc.c: Likewise.
37817 * malloc/malloc.h: Likewise.
37818 * malloc/mcheck.c: Likewise.
37819 * malloc/mtrace.c: Likewise.
37820 * math/bits/mathcalls.h: Likewise.
37821 * math/fenv.h: Likewise.
37822 * math/math_private.h: Likewise.
37823 * misc/bits/error.h: Likewise.
37824 * misc/bits/syslog.h: Likewise.
37825 * misc/err.h: Likewise.
37826 * misc/error.h: Likewise.
37827 * misc/fstab.h: Likewise.
37828 * misc/mntent.h: Likewise.
37829 * misc/regexp.h: Likewise.
37830 * misc/search.h: Likewise.
37831 * misc/sgtty.h: Likewise.
37832 * misc/sys/mman.h: Likewise.
37833 * misc/sys/syslog.h: Likewise.
37834 * misc/sys/uio.h: Likewise.
37835 * misc/sys/xattr.h: Likewise.
37836 * misc/ttyent.h: Likewise.
37837 * nis/rpcsvc/ypclnt.h: Likewise.
37838 * nss/nss.h: Likewise.
37839 * posix/bits/unistd.h: Likewise.
37840 * posix/fnmatch.h: Likewise.
37841 * posix/glob.h: Likewise.
37842 * posix/sched.h: Likewise.
37843 * posix/spawn.h: Likewise.
37844 * posix/sys/wait.h: Likewise.
37845 * posix/unistd.h: Likewise.
37846 * posix/wordexp.h: Likewise.
37847 * pwd/pwd.h: Likewise.
37848 * resolv/netdb.h: Likewise.
37849 * resource/sys/resource.h: Likewise.
37850 * rt/aio.h: Likewise.
37851 * rt/bits/mqueue2.h: Likewise.
37852 * rt/mqueue.h: Likewise.
37853 * shadow/shadow.h: Likewise.
37854 * signal/signal.h: Likewise.
37855 * socket/send.c: Likewise.
37856 * socket/sendto.c: Likewise.
37857 * socket/sys/socket.h: Likewise.
37858 * stdio-common/printf.h: Likewise.
37859 * stdlib/bits/stdlib.h: Likewise.
37860 * stdlib/fmtmsg.h: Likewise.
37861 * stdlib/monetary.h: Likewise.
37862 * stdlib/stdlib.h: Likewise.
37863 * stdlib/ucontext.h: Likewise.
37864 * streams/stropts.h: Likewise.
37865 * string/argz.h: Likewise.
37866 * string/bits/string2.h: Likewise.
37867 * string/string.h: Likewise.
37868 * string/strings.h: Likewise.
37869 * sunrpc/rpc/auth.h: Likewise.
37870 * sunrpc/rpc/auth_des.h: Likewise.
37871 * sunrpc/rpc/clnt.h: Likewise.
37872 * sunrpc/rpc/netdb.h: Likewise.
37873 * sunrpc/rpc/pmap_clnt.h: Likewise.
37874 * sunrpc/rpc/xdr.h: Likewise.
37875 * sysdeps/generic/inttypes.h: Likewise.
37876 * sysdeps/generic/net/if.h: Likewise.
37877 * sysdeps/generic/sys/swap.h: Likewise.
37878 * sysdeps/gnu/net/if.h: Likewise.
37879 * sysdeps/gnu/utmpx.h: Likewise.
37880 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37881 * sysdeps/i386/i486/bits/string.h: Likewise.
37882 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37883 * sysdeps/s390/bits/string.h: Likewise.
37884 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37885 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37886 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37887 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37888 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37889 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37890 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37891 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37892 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37893 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37894 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37895 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37896 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37897 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37898 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37899 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37900 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37901 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37902 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37903 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37904 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37905 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37906 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37907 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37908 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37909 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37910 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37911 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37912 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37913 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37914 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37915 * sysvipc/sys/ipc.h: Likewise.
37916 * sysvipc/sys/msg.h: Likewise.
37917 * sysvipc/sys/sem.h: Likewise.
37918 * sysvipc/sys/shm.h: Likewise.
37919 * termios/termios.h: Likewise.
37920 * time/sys/time.h: Likewise.
37921 * time/time.h: Likewise.
37922 * wcsmbs/bits/wchar2.h: Likewise.
37923 * wcsmbs/uchar.h: Likewise.
37924 * wcsmbs/wchar.h: Likewise.
37925 * wctype/wctype.h: Likewise.
37926
37927 [BZ #13551]
37928 * Makeconfig: Remove all but ELF support including AIX support.
37929 * Makerules: Likewise.
37930 * config.h.in: Likewise.
37931 * config.make.in: Likewise.
37932 * configure: Likewise.
37933 * configure.in: Likewise.
37934 * csu/Makefile: Likewise.
37935 * csu/version.c: Likewise.
37936 * debug/Makefile: Likewise.
37937 * dlfcn/Makefile: Likewise.
37938 * elf/Makefile: Likewise.
37939 * extra-lib.mk: Likewise.
37940 * iconv/Makefile: Likewise.
37941 * include/libc-symbols.h: Likewise.
37942 * include/shlib-compat.h: Likewise.
37943 * resolv/Makefile: Likewise.
37944 * resolv/res_libc.c: Likewise.
37945 * rt/Makefile: Likewise.
37946 * sysdeps/i386/asm-syntax.h: Likewise.
37947 * sysdeps/i386/sysdep.h: Likewise.
37948 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37949 * sysdeps/mach/sysdep.h: Likewise.
37950 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37951 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37952 * sysdeps/s390/asm-syntax.h: Likewise.
37953 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37954 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37955 * sysdeps/sh/sysdep.h: Likewise.
37956 * sysdeps/unix/sparc/sysdep.h: Likewise.
37957 * sysdeps/wordsize-32/divdi3.c: Likewise.
37958 * sysdeps/x86_64/sysdep.h: Likewise.
37959
37960 * argp/Versions: Remove _argp_unlock_xxx.
37961
37962 [BZ #13559]
37963 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37964 * abilist/libBrokenLocale.abilist: Likewise.
37965 * abilist/libanl.abilist: Likewise.
37966 * abilist/libc.abilist: Likewise.
37967 * abilist/libcrypt.abilist: Likewise.
37968 * abilist/libdl.abilist: Likewise.
37969 * abilist/libm.abilist: Likewise.
37970 * abilist/libnsl.abilist: Likewise.
37971 * abilist/libpthread.abilist: Likewise.
37972 * abilist/libresolv.abilist: Likewise.
37973 * abilist/librt.abilist: Likewise.
37974 * abilist/libthread_db.abilist: Likewise.
37975 * abilist/libutil.abilist: Likewise.
37976 * abilist/libnss_db.abilist: New file.
37977
37978 * scripts/abilist.awk: Add support for indirect functions.
37979
37980 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37981
37982 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37983
37984 * shlib-versions: Remove entries for ports architectures.
37985
37986 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37987 files in ports.
37988 * elf/stackguard-macros.h: Remove support for IA-64.
37989 * elf/tst-auditmod1.c: Likewise.
37990 * sysdeps/generic/ldsodefs.h: Likewise.
37991
37992 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37993 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37994 configure files.
37995
37996 [BZ #13552]
37997 * configure.in: Remove --enable-omitfp support.
37998 * FAQ.in: Adjust.
37999 * config.make.in: Likewise.
38000 * Makeconfig: Likewise.
38001 * manual/install.texi: Likewise.
38002
38003 In case anyone cares, the IA-64 architecture could move to ports.
38004 * sysdeps/ia64/*: Removed.
38005 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38006 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38007
38008 [BZ #13555]
38009 * configure.in: Remove entries for unsupported architectures.
38010
38011 [BZ #13533]
38012 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38013 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38014 routines.
38015 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38016 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38017 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38018 fall back to using wcrtomb.
38019 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38020 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38021 renaming.
38022 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38023 * wcsmbs/tst-c16c32-1.c: New file.
38024
38025 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38026 local variable.
38027
38028 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38029
38030 * elf/tst-unique3.cc: Add explicit declaration of gets.
38031 * elf/tst-unique3lib.cc: Likewise.
38032 * elf/tst-unique3lib2.cc: Likewise.
38033 * elf/tst-unique4.cc: Likewise.
38034
38035 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38036
380372012-01-06 Joseph Myers <joseph@codesourcery.com>
38038
38039 [BZ #13566]
38040 * assert/assert.h (static_assert): Don't define for C++.
38041 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38042 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38043
380442012-01-03 Ulrich Drepper <drepper@gmail.com>
38045
38046 * iconv/loop.c (single loop): Fix assertion in storing of
38047 remaining bytes.
38048
38049 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38050
380512012-01-01 Ulrich Drepper <drepper@gmail.com>
38052
38053 * posix/getconf.c: Update copyright year.
38054 * nss/getent.c: Likewise.
38055 * nss/makedb.c: Likewise.
38056 * iconv/iconvconfig.c: Likewise.
38057 * iconv/iconv_prog.c: Likewise.
38058 * elf/ldconfig.c: Likewise.
38059 * elf/pldd.c: Likewise.
38060 * elf/sotruss.ksh: Likewise.
38061 * catgets/gencat.c: Likewise.
38062 * csu/version.c: Likewise.
38063 * elf/ldd.bash.in: Likewise.
38064 * elf/sprof.c (print_version): Likewise.
38065 * locale/programs/locale.c: Likewise.
38066 * locale/programs/localedef.c: Likewise.
38067 * login/programs/pt_chown.c: Likewise.
38068 * nscd/nscd.c (print_version): Likewise.
38069 * debug/xtrace.sh: Likewise.
38070 * malloc/memusage.sh: Likewise.
38071 * malloc/mtrace.pl: Likewise.
38072 * debug/catchsegv.sh: Likewise.
38073
380742011-12-30 Jakub Jelinek <jakub@redhat.com>
38075
38076 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38077 pure attribute.
38078
380792011-12-24 Ulrich Drepper <drepper@gmail.com>
38080
38081 [BZ #13533]
38082 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38083 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38084 transformations.
38085 * iconv/gconv_int.h: Likewise.
38086 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38087 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38088 from libc for GLIBC_2.16.
38089 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38090 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38091 * wcsmbs/uchar.h: Really define mbstate_t.
38092 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38093 * wcsmbs/c16rtomb.c: New file.
38094 * wcsmbs/mbrtoc16.c: New file.
38095 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38096 for C/POSIX locale.
38097 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38098 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38099
38100 * wcsmbs/wchar.h: Add missing __restrict.
38101
381022011-12-23 Ulrich Drepper <drepper@gmail.com>
38103
38104 [BZ #13532]
38105 * time/Makefile (routines): Add timespec_get.
38106 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38107 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38108 timespec for ISO C11.
38109 * time/timespec_get.c: New file.
38110 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38111 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38112
38113 [BZ #13531]
38114 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38115 * stdlib/stdlib.h: Declare aligned_alloc.
38116 * Versions.def: Add GLIBC_2.16 for libc.
38117 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38118
38119 [BZ 13527]
38120 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38121 ISO C11.
38122
38123 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38124 code.
38125
38126 [BZ #13528]
38127 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38128
38129 [BZ #13529]
38130 * assert/assert.h (static_assert): Define.
38131
38132 * version.h: Update for 2.16 development version.
38133
38134 [BZ #13526]
38135 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38136 _ISOC11_SOURCE.
38137
38138 * version.h (RELEASE): Bump for 2.15 release.
38139 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38140
38141 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38142 Patch by Marek Polacek <mpolacek@redhat.com>.
38143
38144 * bits/byteswap.h: Protect long long constants with __extension__.
38145 * sysdeps/i386/bits/byteswap.h: Likewise.
38146 * sysdeps/ia64/bits/byteswap.h: Likewise.
38147 * sysdeps/s390/bits/byteswap.h: Likewise.
38148 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38149
381502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38151
38152 [BZ #13540]
38153 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38154 destination buffer.
38155 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38156
381572011-12-23 Marek Polacek <polacek@redhat.com>
38158
38159 * elf/dl-addr.c (determine_info): Add inline keyword.
38160 * elf/tst-auditmod4b.c (check_avx): Likewise.
38161 * elf/tst-auditmod6b.c (check_avx): Likewise.
38162 * elf/tst-auditmod6c.c (check_avx): Likewise.
38163 * elf/tst-auditmod7b.c (check_avx): Likewise.
38164
381652011-12-23 Ulrich Drepper <drepper@gmail.com>
38166
38167 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38168 !__SSE_MATH__.
38169
381702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38171
38172 [BZ #13540]
38173 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38174 processing for last bytes.
38175
381762011-08-06 Bruno Haible <bruno@clisp.org>
38177
38178 [BZ #13061]
38179 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38180 U+0385, not to U+1FEE.
38181
38182 [BZ #13062]
38183 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38184 entry for U+00A5 U+0301.
38185
381862011-12-22 Ulrich Drepper <drepper@gmail.com>
38187
38188 [BZ #13166]
38189 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38190 buffer for the output is too small.
38191
38192 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38193 optimization.
38194
38195 [BZ #13185]
38196 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38197 SSE flags if possible.
38198
381992011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38200
38201 [BZ #13540]
38202 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38203 processing for last bytes.
38204
382052011-12-22 Joseph Myers <joseph@codesourcery.com>
38206
38207 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38208 (syscall-list-default-options, syscall-list-default-condition)
38209 (syscall-list-includes): Define.
38210 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38211 list of ABIs and options and #if conditions for each ABI. Do not
38212 handle common syscalls between ABIs specially.
38213 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38214 Remove.
38215 (syscall-list-variants, syscall-list-32bit-options)
38216 (syscall-list-32bit-condition, syscall-list-64bit-options)
38217 (syscall-list-64bit-condition): Define.
38218 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38219 (syscall-list-variants, syscall-list-32bit-options)
38220 (syscall-list-32bit-condition, syscall-list-64bit-options)
38221 (syscall-list-64bit-condition): Define.
38222 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38223 Remove.
38224 (syscall-list-variants, syscall-list-32bit-options)
38225 (syscall-list-32bit-condition, syscall-list-64bit-options)
38226 (syscall-list-64bit-condition): Define.
38227 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38228 Remove.
38229 (syscall-list-variants, syscall-list-32bit-options)
38230 (syscall-list-32bit-condition, syscall-list-64bit-options)
38231 (syscall-list-64bit-condition): Define.
38232
382332011-12-22 Ulrich Drepper <drepper@gmail.com>
38234
38235 * locale/iso-639.def: Add brx entry.
38236
38237 [BZ #13328]
38238 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38239 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38240
38241 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38242 __feraiseexcept_renamed.
38243
382442011-12-21 Ulrich Drepper <drepper@gmail.com>
38245
38246 [BZ #13538]
38247 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38248 EPOLLET with unsigned values.
38249 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38250 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38251
38252 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38253 to large cancellation.
38254 * math/s_cacoshf.c: Likewise.
38255 * math/s_cacoshl.c: Likewise.
38256
382572011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38258
38259 [BZ #13305]
38260 [BZ #12786]
38261 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38262 * math/s_cacoshf.c: Likewise.
38263 * math/s_cacoshl.c: Likewise.
38264
382652011-12-21 Ulrich Drepper <drepper@gmail.com>
38266
38267 [BZ #13439]
38268 * iconv/gconv.h: Define __GCONV_SWAP.
38269 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38270 * iconvdata/utf-16.c: Likewise.
38271 * iconvdata/utf-32.c: Likewise.
38272
382732011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38274
38275 [BZ #13524]
38276 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38277 numerator after shifting it by one limb.
38278
382792011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38280
38281 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38282 under [__USE_EXTERN_INLINES].
38283
382842011-12-17 Ulrich Drepper <drepper@gmail.com>
38285
38286 [BZ #13446]
38287 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38288
382892011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38290
38291 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38292 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38293 optimized code.
38294 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38295 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38296 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38297 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38298 for strncasecmp/strncasecmp_l compilation.
38299 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38300 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38301
383022011-12-08 Marek Polacek <mpolacek@redhat.com>
38303
38304 [BZ #13484]
38305 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38306 of __asm__.
38307
383082011-12-17 Ulrich Drepper <drepper@gmail.com>
38309
38310 [BZ #13506]
38311 * time/tzfile.c (__tzfile_read): Check values from file header.
38312
383132011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38314
38315 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38316 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38317 * powerpc/powerpc32/dl-start.S: Likewise.
38318 * powerpc/powerpc32/elf/start.S: Likewise.
38319 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38320 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38321 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38322 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38323 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38324 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38325 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38326 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38327 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38328 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38329 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38330 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38331 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38332 * powerpc/powerpc32/memset.S: Likewise.
38333 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38334 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38335 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38336 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38337 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38338 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38339 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38340 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38341 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38342 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38343 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38344 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38345 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38346
383472011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38348
38349 * math/libm-test.inc: Added more nearbyint tests.
38350 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38351 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38352 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38353 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38354
383552011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38356
38357 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38358 FD_CLOEXEC.
38359
383602011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38361
38362 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38363 Add wcscpy-ssse3 wcscpy-c.
38364 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38365 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38366 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38367 * sysdeps/x86_64/wcschr.S: New file.
38368 * sysdeps/x86_64/wcsrchr.S: New file.
38369 * string/test-strcmp.c: Remove checking of wcscmp function for
38370 wrong alignments.
38371 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38372 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38373 wcsrchr-sse2 wcsrchr-c.
38374 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38375 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38376 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38377 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38378 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38379 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38380 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38381 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38382 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38383 * wcsmbc/wcschr.c (WCSCHR): New macro.
38384
383852011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38386
38387 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38388 * wcsmbs/test-wcsrchr.c: New file.
38389 * string/test-strrchr.c: Add wcsrchr support.
38390 (WIDE): New macro.
38391 * wcsmbs/test-wcscpy.c: New file.
38392 * string/test-strcpy.c: Add wcscpy support.
38393 (WIDE): New macro.
38394
383952011-12-10 Ulrich Drepper <drepper@gmail.com>
38396
38397 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38398 the inner loop.
38399
384002011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38401
38402 [BZ #13472]
38403 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38404
384052011-12-04 Ulrich Drepper <drepper@gmail.com>
38406
38407 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38408 Minor optimizations.
38409
38410 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38411 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38412 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38413
384142011-12-03 Ulrich Drepper <drepper@gmail.com>
38415
38416 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38417 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38418 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38419 for gcc to avoid warnings.
38420 * inet/Makefile (tests): Add tst-checks.
38421 * inet/tst-checks.c: New file.
38422
38423 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38424 warning.
38425
38426 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38427 __wmemcmp_sse2.
38428
38429 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38430 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38431
38432 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38433
384342011-12-02 Ulrich Drepper <drepper@gmail.com>
38435
38436 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38437 problem.
38438
38439 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38440
384412011-11-29 Joseph Myers <joseph@codesourcery.com>
38442
38443 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38444 conditional on GCC version.
38445 (__arch_compare_and_exchange_val_8_acq)
38446 (__arch_compare_and_exchange_val_16_acq)
38447 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38448 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38449 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38450
384512011-12-02 Joseph Myers <joseph@codesourcery.com>
38452
38453 * sysdeps/sh/backtrace.c: New file.
38454
384552011-12-02 Andreas Schwab <schwab@redhat.com>
38456
38457 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38458 parenthesis.
38459
384602011-12-01 Andreas Schwab <schwab@redhat.com>
38461
38462 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38463 falling back to utime.
38464
384652011-11-30 Andreas Schwab <schwab@redhat.com>
38466
38467 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38468 expectations for float.
38469
384702011-11-29 Andreas Schwab <schwab@redhat.com>
38471
38472 * locale/weight.h (findidx): Add parameter len.
38473 * locale/weightwc.h (findidx): Likewise.
38474 * posix/fnmatch_loop.c (FCT): Adjust caller.
38475 * posix/regcomp.c (build_equiv_class): Likewise.
38476 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38477 * posix/regexec.c (check_node_accept_bytes): Likewise.
38478 * string/strcoll_l.c (STRCOLL): Likewise.
38479 * string/strxfrm_l.c (STRXFRM): Likewise.
38480
384812011-11-17 Ulrich Drepper <drepper@gmail.com>
38482
38483 * Makefile.in: Remove CVSOPT handling.
38484 * configure.in: Remove use of AC_REVISION.
38485 * iconvdata/Makefile (distribute): No need to filter out CVS.
38486 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38487 handling.
38488
384892011-11-16 Andreas Schwab <schwab@redhat.com>
38490
38491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38492 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38493 [USE_AS_STRNCASECMP_L]: Likewise.
38494 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38495 NO_TLS_DIRECT_SEG_REFS.
38496 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38497 Fix argument offsets for non-PIC.
38498 [USE_AS_STRNCASECMP_L]: Likewise.
38499 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38500 NO_TLS_DIRECT_SEG_REFS.
38501
385022011-11-15 Ulrich Drepper <drepper@gmail.com>
38503
38504 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38505 O_CLOEXEC.
38506 * locale/loadlocale.c (_nl_load_locale): Likewise.
38507
385082011-11-15 Andreas Schwab <schwab@redhat.com>
38509
38510 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38511 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38512 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38513 (SYSCALL_GETTIME): Set errno on error.
38514
38515 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38516 count references to noai6ai_cached.
38517
385182011-11-15 Ulrich Drepper <drepper@gmail.com>
38519
38520 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38521
38522 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38523 FD_CLOEXEC for /proc/self/maps.
38524
38525 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38526 FD_CLOEXEC for /proc/meminfo.
38527
38528 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38529 gai.conf.
38530
38531 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38532 FD_CLOEXEC for given file.
38533
38534 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38535
38536 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38537 FD_CLOEXEC for /etc/hosts.
38538 (_gethtent): Likewise.
38539
38540 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38541
38542 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38543 cancellation and set FD_CLOEXEC for /etc/netgroup.
38544
38545 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38546 reading /etc/publickey.
38547
38548 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38549 allow cancellation when reading /etc/group.
38550
38551 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38552 cancellation.
38553 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38554
38555 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38556 when using data file.
38557
38558 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38559
38560 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38561 (write_nis_obj): Use "c" and "e" in fopen.
38562
38563 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38564
38565 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38566
38567 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38568
38569 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38570
38571 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38572 locale.alias.
38573
38574 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38575
38576 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38577
38578 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38579
38580 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38581 file parsing and set FD_CLOEXEC.
38582
385832011-11-14 Ulrich Drepper <drepper@gmail.com>
38584
38585 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38586
385872011-11-14 Andreas Schwab <schwab@redhat.com>
38588
38589 * malloc/arena.c (arena_get2): Don't call reused_arena when
38590 _int_new_arena failed.
38591
385922011-11-14 Ulrich Drepper <drepper@gmail.com>
38593
38594 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38595 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38596 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38597 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38598 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38599 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38600 to compile strcasecmp and strncasecmp.
38601 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38602 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38603
38604 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38605
386062011-11-13 Ulrich Drepper <drepper@gmail.com>
38607
38608 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38609 locale-defines.sym to gen-as-const-headers.
38610 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38611 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38612 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38613 to compile strcasecmp and strncasecmp.
38614 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38615 strcasecmp_l and strncasecmp_l.
38616 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38617 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38618 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38619 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38620 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38621 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38622 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38623 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38624 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38625 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38626 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38627
386282011-11-12 Ulrich Drepper <drepper@gmail.com>
38629
38630 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38631 result of SYSDEP_GETTIME_CPU to retval.
38632 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38633 parameter list to macro. Remove trailing semicolon. Adjust users.
38634
38635 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38636 variable.
38637
38638 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38639 mantissa words.
38640 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38641
38642 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38643 from unused variable.
38644
38645 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38646 DWARF definitions.
38647 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38648 for assembling.
38649
38650 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38651 over namespaces.
38652
38653 * sunrpc/rpc_prot.c (rejected): Fix case value.
38654
38655 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38656 unsigned long long int to avoid warnings in shift.
38657
38658 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38659 of use of trans.
38660 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38661 variable tmp.
38662
38663 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38664 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38665 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38666
38667 * nis/nis_table.c (nis_list): Use variable of correct type for
38668 result of __follow_path call.
38669
386702011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38671
38672 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38673 of math functions ceil, trunc, floor, round, and sqrt, when
38674 avaliable on the platform.
38675 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38676 name clash.
38677 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38678 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38679 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38680
386812011-10-30 Marek Polacek <mpolacek@redhat.com>
38682
38683 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38684 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38685
386862011-11-11 Roland McGrath <roland@hack.frob.com>
38687
38688 * include/unistd.h: Fix __readlink return type.
38689 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38690
386912011-11-11 Ulrich Drepper <drepper@gmail.com>
38692
38693 * stdlib/ucontext.h: Undo last change for makecontext.
38694
386952011-11-11 Andreas Schwab <schwab@redhat.com>
38696
38697 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38698
38699 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38700 * setjmp/setjmp.h: Mark functions as non-leaf.
38701 * setjmp/bits/setjmp2.h: Likewise.
38702 * stdlib/ucontext.h: Likewise.
38703
387042011-11-10 Andreas Schwab <schwab@redhat.com>
38705
38706 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38707 (reused_arena): Don't check arena limit.
38708 (arena_get2): Atomically check arena limit.
38709
387102011-11-08 Ulrich Drepper <drepper@gmail.com>
38711
38712 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38713 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38714
38715 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38716 instructions.
38717
387182011-11-07 Andreas Schwab <schwab@redhat.com>
38719
38720 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38721 handler when locking.
38722
38723 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38724 Fix size of allocated buffer.
38725
387262011-11-04 Andreas Schwab <schwab@redhat.com>
38727
38728 [BZ #10103]
38729 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38730 declarations for long double functions.
38731 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38732
38733 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38734
387352011-11-03 Andreas Schwab <schwab@redhat.com>
38736
38737 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38738 installed.
38739
38740 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38741 is disabled.
38742
387432011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38744
38745 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38746
387472011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38748
38749 * include/alloca.h (stackinfo_alloca_round): Define.
38750 (extend_alloca): Use it.
38751 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38752 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38753 here.
38754
38755 * scripts/check-local-headers.sh: Ignore libaudit.h.
38756
38757 * nscd/Makefile (extra-objs): Make recursively expanded.
38758
387592011-11-01 Ulrich Drepper <drepper@gmail.com>
38760
38761 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38762 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38763
38764 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38765 * posix/tst-rfc3484-2.c: Likewise.
38766 * posix/tst-rfc3484-3.c: Likewise.
38767
38768 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38769 process_vm_writev.
38770 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38771 process_vm_writev.
38772 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38773 process_vm_writev from libc using GLIBC_2.15 version.
38774
38775 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38776
387772011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38778
38779 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38780 stack usage.
38781
387822011-10-31 Ulrich Drepper <drepper@gmail.com>
38783
38784 [BZ #13367]
38785 * nss/getent.c (initgroups_keys): Show error message in case no group
38786 names are given.
38787
38788 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38789 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38790 __bump_nl_timestamp.
38791 * nscd/connections (nscd_init): When host database is served open
38792 netlink socket and request notification about configuration changes.
38793 (main_loop_poll): Track netlink file descriptor and bump timestamp
38794 in case data becomes available.
38795 (main_loop_epoll): Likewise.
38796 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38797 (database_pers_head): Add extra_data fileds.
38798 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38799 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38800 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38801 Adjust caller.
38802 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38803 in6ai data, call __free_in6ai.
38804 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38805 Add -DHAVE_NETLINK.
38806 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38807 interface information. Reuse previous data if netlink timestamp
38808 is not changed.
38809 (__bump_nl_timestamp): New function.
38810 (__free_in6ai): New function.
38811
388122011-10-30 Ulrich Drepper <drepper@gmail.com>
38813
38814 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38815 close_not_cancel_no_status here.
38816 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38817
388182011-10-29 Ulrich Drepper <drepper@gmail.com>
38819
38820 [BZ #13276]
38821 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38822 return value.
38823
38824 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38825 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38826 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38827
388282011-07-03 Andreas Jaeger <aj@suse.de>
38829
38830 [BZ #10709]
38831 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38832 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38833 * math/libm-test.inc (sin_test): Add test case.
38834
388352011-10-29 Ulrich Drepper <drepper@gmail.com>
38836
38837 [BZ #13337]
38838 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38839 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38840
38841 * elf/chroot_canon.c (chroot_canon): Cleanups.
38842
38843 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38844
38845 [BZ #13335]
38846 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38847 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38848
38849 * string/test-strchr.c: Make usable for strchrnul testing.
38850 * string/test-strchrnul.c: New file.
38851 * string/Makefile (strop-tests): Add strchrnul.
38852
38853 * po/it.po: Update from translation team.
38854 * po/es.po: Likewise.
38855
388562011-10-28 Ulrich Drepper <drepper@gmail.com>
38857
38858 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38859 the three constants needed as parameters. Drop the others.
38860 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38861 __m128i_strloadu_tolower.
38862 Create and initialize variable zero and use it in all the places
38863 where _mm_setzero_si128 was used.
38864
38865 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38866 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38867 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38868 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38869 anymore.
38870 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38871 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38872 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38873 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38874 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38875 __mpranred, __mptan.
38876 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38877 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38878 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38879 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38880 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38881 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38882 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38883 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38884 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38885
388862011-10-28 Andreas Schwab <schwab@redhat.com>
38887
38888 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38889 redefine if SHARED.
38890 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38891
38892 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38893 wide char related routines to wcsmbs subdir.
38894
388952011-10-27 Andreas Schwab <schwab@redhat.com>
38896
38897 [BZ #13344]
38898 * misc/sys/cdefs.h (__THROWNL): Define.
38899 * posix/unistd.h: Use __THREADNL instead of __THREAD
38900 for memory synchronization functions.
38901
389022011-10-26 Roland McGrath <roland@hack.frob.com>
38903
38904 [BZ #13349]
38905 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38906 doesn't exist.
38907 * manual/stdio.texi (Obstack Streams): Node removed.
38908
389092011-10-26 Andreas Schwab <schwab@redhat.com>
38910
38911 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38912 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38913 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38914
38915 * math/math_private.h (math_force_eval): Allow non-addressable
38916 arguments.
38917 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38918
389192011-10-25 Ulrich Drepper <drepper@gmail.com>
38920
38921 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38922 file is not needed.
38923
38924 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38925 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38926 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38927 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38928 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38929 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38930 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38931 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38932 Add AVX variants.
38933 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38934 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38935 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38936 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38937 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38938 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38939 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38940 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38941 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38942 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38943 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38944 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38945 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38946 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38947 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38948 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38949 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38950 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38951 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38952
38953 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38954 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38955
38956 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38957 place. Use VEX encoding when compiling for AVX.
38958
389592011-10-25 Andreas Schwab <schwab@redhat.com>
38960
38961 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38962 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38963
38964 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38965
389662011-10-25 Ulrich Drepper <drepper@gmail.com>
38967
38968 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38969 useless if() expression.
38970 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38971 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38972 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38973 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38974 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38975 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38976 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38977 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38978 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38979 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38980 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38981 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38982 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38983 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38984 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38985 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38986 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38987 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38988 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38989
38990 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38991
389922011-10-25 Andreas Schwab <schwab@redhat.com>
38993
38994 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38995 condition.
38996 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38997
389982011-10-25 Ulrich Drepper <drepper@gmail.com>
38999
39000 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39001 .text section. Avoid duplicate constants.
39002 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39004 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39005 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39006 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39010 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39011 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39012 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39013 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39014 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39015 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39016 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39017 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39018 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39019 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39020 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39022 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39023 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39024 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39025 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39026 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39027 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39028 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39029 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39030 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39031 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39032 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39033 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39034 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39035 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39036 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39037 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39038 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39039 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39040 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39041 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39042 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39043 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39044 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39045 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39046 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39047
390482011-10-24 Ulrich Drepper <drepper@gmail.com>
39049
39050 * sysdeps/x86_64/dla.h: Move to ...
39051 * sysdeps/x86_64/fpu/dla.h: ...here.
39052 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39053 situations. Use __builtin_fma only for gcc 4.6 and up.
39054
39055 * config.make.in: Add have-mfma4 entry.
39056 * configure.in: Substitute libc_cv_cc_fma4.
39057 * math/Makefile (dbl-only-routines): Add sincostab.
39058 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39059 Use __sincostab not sincos.
39060 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39061 name is a macro.
39062 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39063 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39064 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39065 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39066 using __copysign.
39067 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39068 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39069 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39070 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39071 and __inv.
39072 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39073 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39074 __copysign.
39075 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39076 define aliases when function name is a macro.
39077 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39078 sysdeps/ieee754/dbl-64/sincos.tbl.
39079 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39080 fma4-enabled routines.
39081 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39082 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39083 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39084 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39085 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39086 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39087 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39088 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39089 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39090 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39091 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39092 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39093 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39094 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39095 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39096 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39097 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39098 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39099 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39100 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39101 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39102 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39103 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39104 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39105 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39106 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39107 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39108 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39109 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39110 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39111
39112 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39113 rename.
39114 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39115 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39119 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39120 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39121 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39122
391232011-10-24 Andreas Schwab <schwab@redhat.com>
39124
39125 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39126
391272011-10-23 Ulrich Drepper <drepper@gmail.com>
39128
39129 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39130
39131 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39132 prediction.
39133 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39134
39135 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39136 Remove unused variable magic_bits.
39137 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39138
39139 * string/strnlen.c: Define and use STRNLEN macro.
39140 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39141 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39142 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39143 * wcsmbs/wcslen.c: Define and use WCSLEN.
39144 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39145 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39146 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39147 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39148 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39149 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39150 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39151
391522011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39153
39154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39155 strnlen-sse2-no-bsf.
39156 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39157 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39158 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39159 Add strnlen support.
39160 (USE_AS_STRNLEN): New macro.
39161 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39162 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39163 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39164 * sysdeps/x86_64/wcslen.S: New file.
39165
391662011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39167
39168 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39169 XMM-moves are used for copying on small sizes.
39170
391712011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39172
39173 * wcsmbs/Makefile (strop-tests): Add wcschr.
39174 * wcsmbs/test-wcschr.c: New file.
39175 * string/test-strchr.c: Update.
39176 Add wcschr support.
39177 (WIDE): New macro.
39178
391792011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39180
39181 * wcsmbs/Makefile (strop-tests): Add wcslen.
39182 * wcsmbs/test-wcslen.c: New file.
39183 * string/test-strlen.c: Update.
39184 Add wcslen support.
39185 (WIDE): New macro.
39186
391872011-10-23 Ulrich Drepper <drepper@gmail.com>
39188
39189 * po/it.po: Update from translation team.
39190
391912011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39192
39193 * sysdeps/x86_64/wcscmp.S: Update.
39194 Fix wrong comparison semantics.
39195 wcscmp shall use signed comparison not unsigned.
39196 Don't use substraction to avoid overflow bug.
39197 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39198 * wcsmbc/wcscmp.c: Likewise.
39199 * string/test-strcmp.c: Likewise.
39200 Add new tests to check cases with negative values.
39201
392022011-10-23 Ulrich Drepper <drepper@gmail.com>
39203
39204 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39205 * sysdeps/x86_64/dla.h: ...here. New file.
39206 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39207 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39208 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39209 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39210 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39211 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39212 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39213 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39214 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39215
392162011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39217
39218 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39219 __ynl_finite aliases.
39220
392212011-10-22 Ulrich Drepper <drepper@gmail.com>
39222
39223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39224
39225 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39226 define DLA_FMA.
39227 [DLA_FMA] (EMULV): Use DLA_FMA.
39228 [DLA_FMA] (MUL12): Use EMULV.
39229 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39230 that are not needed.
39231 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39235 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39236 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39237 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39238
392392011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39240
39241 * math/s_nan.c: Undef __nan.
39242 * math/s_nanf.c: Undef __nanf.
39243 * math/s_nanl.c: Undef __nanl.
39244 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39245 "math_private.h".
39246
392472011-10-22 Ulrich Drepper <drepper@gmail.com>
39248
39249 * math/s_catan.c: Add branch predictions.
39250 * math/s_catanf.c: Likewise.
39251 * math/s_catanh.c: Likewise.
39252 * math/s_catanhf.c: Likewise.
39253 * math/s_catanhl.c: Likewise.
39254 * math/s_catanl.c: Likewise.
39255 * math/s_cexp.c: Likewise.
39256 * math/s_cexpf.c: Likewise.
39257 * math/s_cexpl.c: Likewise.
39258 * math/s_clog.c: Likewise.
39259 * math/s_clog10.c: Likewise.
39260 * math/s_clog10f.c: Likewise.
39261 * math/s_clog10l.c: Likewise.
39262 * math/s_clogf.c: Likewise.
39263 * math/s_clogl.c: Likewise.
39264 * math/s_csqrt.c: Likewise.
39265 * math/s_csqrtf.c: Likewise.
39266 * math/s_csqrtl.c: Likewise.
39267 * math/s_ctanf.c: Likewise.
39268 * math/s_ctanh.c: Likewise.
39269 * math/s_ctanhf.c: Likewise.
39270 * math/s_ctanhl.c: Likewise.
39271 * math/s_ctanl.c: Likewise.
39272
39273 * math/math_private.h: Define __nan, __nanf, __nanl.
39274 * math/s_cacosh.c: Include <math_private.h>.
39275 * math/s_cacoshl.c: Likewise.
39276 * math/s_casinh.c: Likewise.
39277 * math/s_casinhf.c: Likewise.
39278 * math/s_casinhl.c: Likewise.
39279 * math/s_ccos.c: Rely entire on ccosh.
39280 * math/s_ccosf.c: Rely entire on ccoshf.
39281 * math/s_ccosl.c: Rely entirely on ccoshl.
39282 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39283 Remove tests for FE_INVALID.
39284 * math/s_ccoshf.c: Likewise.
39285 * math/s_ccoshl.c: Likewise.
39286 * math/s_csin.c: Likewise.
39287 * math/s_csinf.c: Likewise.
39288 * math/s_csinh.c Likewise.
39289 * math/s_csinhf.c: Likewise.
39290 * math/s_csinhl.c: Likewise.
39291 * math/s_csinl.c: Likewise.
39292 * math/s_ctan.c: Likewise.
39293 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39294 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39295 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39296
392972011-10-21 Ulrich Drepper <drepper@gmail.com>
39298
39299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39300 compilation problems.
39301
39302 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39303 __builtin_expect.
39304
393052011-10-20 Ulrich Drepper <drepper@gmail.com>
39306
39307 * sysdeps/i386/configure.in: Test for -mfma4 option.
39308 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39309 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39310 COMMON_CPUID_INDEX_80000001.
39311 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39312 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39313 use it if FMA3 is not supported.
39314 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39315
39316 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39317 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39318
393192011-10-20 Andreas Schwab <schwab@redhat.com>
39320
39321 [BZ #12892]
39322 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39323 it would create a cycle with a link time dependency.
39324
393252011-10-19 Ulrich Drepper <drepper@gmail.com>
39326
39327 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39328 instruction.
39329 * string/Makefile (strop-tests): Add rawmemchr.
39330 * string/test-rawmemchr.c: New file.
39331
39332 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39333 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39334 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39335 when compiling str{,n}casecmp and when AVX is available. Hook up
39336 new optimized code in initializers.
39337
393382011-10-19 Andreas Schwab <schwab@redhat.com>
39339
39340 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39341 __feraiseexcept instead of feraiseexcept.
39342
393432011-10-18 Ulrich Drepper <drepper@gmail.com>
39344
39345 * math/math_private.h: Define defaults for libc_fetestexcept and
39346 libc_feupdateenv.
39347 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39348 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39349 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39350 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39351 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39352 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39353 libc_fetestexcept and libc_feupdateenv.
39354
39355 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39356 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39357 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39358 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39359 libc_feholdexcept_setround.
39360
39361 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39362 Add s_nearbyint-c and s_nearbyintf-c.
39363 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39364 nearbyintf inlines.
39365 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39366 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39367 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39368 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39369
39370 * math/math_private.h: Define defaults for libc_fegetround,
39371 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39372 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39373 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39374 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39375 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39376 standard functions.
39377 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39378 Remove comments and hacks for old compiler versions.
39379 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39380 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39381 libc_feholdexceptl.
39382
393832011-10-18 Andreas Schwab <schwab@redhat.com>
39384
39385 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39386 (__feraiseexcept_renamed): Add __NTH.
39387 (feraiseexcept): Add __NTH. Rename local variables to fix
39388 namespace violations.
39389
393902011-10-17 Ulrich Drepper <drepper@gmail.com>
39391
39392 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39393
39394 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39395
39396 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39397 recently added interfaces.
39398 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39399
39400 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39401 about macro parameter expansion.
39402
39403 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39404 __NO_MATH_INLINES is defined. Cleanups.
39405
39406 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39407 and __floorf is target has SSE4.1.
39408 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39409 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39410 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39411 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39412
39413 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39414 name.
39415 (floorf): Likewise.
39416
39417 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39418
394192011-10-17 Andreas Schwab <schwab@redhat.com>
39420
39421 * misc/sys/cdefs.h: Fix last change.
39422
39423 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39424 database lookup.
39425
394262011-10-16 Ulrich Drepper <drepper@gmail.com>
39427
39428 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39429
39430 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39431 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39432 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39433 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39435 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39436 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39437 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39438 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39439 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39440 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39441 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39442 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39443 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39444 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39445 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39446 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39447 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39448 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39449 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39450 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39451 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39452
39453 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39454 ceil, ceilf, floor, floorf.
39455
39456 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39457 Perform IRELATIVE relocations last.
39458
39459 * elf/do-rel.h: Add another parameter nrelative, replacing the
39460 local variable with the same name. Change name of the function
39461 to end in Rel or Rela (uppercase).
39462 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39463 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39464 elf_dynamic_do_##reloc function.
39465
394662011-10-15 Ulrich Drepper <drepper@gmail.com>
39467
39468 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39469 is sufficient, at least on modern CPUs.
39470
39471 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39472
39473 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39474 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39475
39476 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39477 __expl_finite.
39478 * math/bits/math-finite.h: Add entries for exp.
39479 * math/e_expl.c: Add __*_finite alias.
39480 * sysdeps/i386/fpu/e_exp.S: Likewise.
39481 * sysdeps/i386/fpu/e_expf.S: Likewise.
39482 * sysdeps/i386/fpu/e_expl.c: Likewise.
39483 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39484 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39485 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39486 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39487 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39488 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39489 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39490
39491 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39492 is sufficient, at least on modern CPUs.
39493
39494 * ctype/ctype-info.c (__ctype_init): Define.
39495 * include/ctype.h (__ctype_init): Declare.
39496 (__ctype_b_loc): The variable is always initialized.
39497 (__ctype_toupper_loc): Likewise.
39498 (__ctype_tolower_loc): Likewise.
39499 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39500 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39501
395022011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39503
39504 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39505
39506 * configure.in: Also look in $cxxmachine/include for C++ system
39507 headers.
39508
395092011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39510
39511 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39512 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39513 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39514 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39515 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39516 (USE_AS_WMEMCMP): New macro.
39517 Fixing indents.
39518 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39519 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39520 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39521 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39523 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39524 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39525 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39526 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39527 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39528 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39529 (USE_AS_WMEMCMP): New macro.
39530 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39531 * sysdeps/string/test-memcmp.c: Update.
39532 Fix simple_wmemcmp.
39533 Add new tests.
39534 * wcsmbs/wmemcmp.c: Update.
39535 (WMEMCMP): New macro.
39536 Fix overflow bug.
39537
395382011-10-12 Andreas Jaeger <aj@suse.de>
39539
39540 [BZ #13268]
39541 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39542
395432011-10-15 Ulrich Drepper <drepper@gmail.com>
39544
39545 * libio/iofwide.c (do_length): Avoid warning.
39546
39547 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39548
395492011-10-14 Ulrich Drepper <drepper@gmail.com>
39550
39551 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39552
39553 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39554 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39555 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39556 * sysdeps/i386/i686/fpu/e_log.S: New file.
39557 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39558 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39559
39560 * ctype/ctype.h: Add support for inlined isXXX functions when
39561 compiling C++ code.
39562
395632011-10-14 Andreas Schwab <schwab@redhat.com>
39564
39565 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39566
39567 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39568
395692011-10-13 Roland McGrath <roland@hack.frob.com>
39570
39571 [BZ #13291]
39572 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39573
395742011-10-13 Andreas Schwab <schwab@redhat.com>
39575
39576 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39577 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39578 feraiseexcept.
39579
39580 * sysdeps/x86_64/memrchr.S: Check for zero size.
39581
39582 * string/stratcliff.c: Add memrchr tests.
39583
395842011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39585
39586 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39587 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39588 rawmemchr-sse2 rawmemchr-sse2-bsf.
39589 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39590 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39591 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39592 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39593 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39594 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39595 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39596 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39597 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39598 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39599 * string/memrchr.c (MEMRCHR): New macro.
39600
396012011-10-12 Ulrich Drepper <drepper@gmail.com>
39602
39603 Add integration with gcc's -ffinite-math-only and optimize wrapper
39604 functions in libm.
39605 * Versions.def: Define GLIBC_2.15 version for libm.
39606 * math/Makefile (headers): Add bits/math-finite.h.
39607 * math/bits/math-finite.h: New file.
39608 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39609 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39610 * math/e_acoshl.c: Add __*_finite alias.
39611 * math/e_acosl.c: Likewise.
39612 * math/e_asinl.c: Likewise.
39613 * math/e_atan2l.c: Likewise.
39614 * math/e_atanhl.c: Likewise.
39615 * math/e_coshl.c: Likewise.
39616 * math/e_exp10.c: Likewise.
39617 * math/e_exp10f.c: Likewise.
39618 * math/e_exp10l.c: Likewise.
39619 * math/e_exp2l.c: Likewise.
39620 * math/e_fmodl.c: Likewise.
39621 * math/e_gammal_r.c: Likewise.
39622 * math/e_hypotl.c: Likewise.
39623 * math/e_j0l.c: Likewise.
39624 * math/e_j1l.c: Likewise.
39625 * math/e_jnl.c: Likewise.
39626 * math/e_lgammal_r.c: Likewise.
39627 * math/e_log10l.c: Likewise.
39628 * math/e_log2l.c: Likewise.
39629 * math/e_logl.c: Likewise.
39630 * math/e_powl.c: Likewise.
39631 * math/e_sinhl.c: Likewise.
39632 * math/e_sqrtl.c: Likewise.
39633 * math/e_scalb.c: Completely rewritten and optimized.
39634 * math/e_scalbf.c: Likewise.
39635 * math/e_scalbl.c: Likewise.
39636 * math/w_acos.c: Likewise.
39637 * math/w_acosf.c: Likewise.
39638 * math/w_acosl.c: Likewise.
39639 * math/w_acosh.c: Likewise.
39640 * math/w_acoshf.c: Likewise.
39641 * math/w_acoshl.c: Likewise.
39642 * math/w_asin.c: Likewise.
39643 * math/w_asinf.c: Likewise.
39644 * math/w_asinl.c: Likewise.
39645 * math/w_atan2.c: Likewise.
39646 * math/w_atan2f.c: Likewise.
39647 * math/w_atan2l.c: Likewise.
39648 * math/w_atanh.c: Likewise.
39649 * math/w_atanhf.c: Likewise.
39650 * math/w_atanhl.c: Likewise.
39651 * math/w_exp10.c: Likewise.
39652 * math/w_exp10f.c: Likewise.
39653 * math/w_exp10l.c: Likewise.
39654 * math/w_fmod.c: Likewise.
39655 * math/w_fmodf.c: Likewise.
39656 * math/w_fmodl.c: Likewise.
39657 * math/w_j0.c: Likewise.
39658 * math/w_j0f.c: Likewise.
39659 * math/w_j0l.c: Likewise.
39660 * math/w_j1.c: Likewise.
39661 * math/w_j1f.c: Likewise.
39662 * math/w_j1l.c: Likewise.
39663 * math/w_jn.c: Likewise.
39664 * math/w_jnf.c: Likewise.
39665 * math/w_log.c: Likewise.
39666 * math/w_logf.c: Likewise.
39667 * math/w_logl.c: Likewise.
39668 * math/w_log10.c: Likewise.
39669 * math/w_log10f.c: Likewise.
39670 * math/w_log10l.c: Likewise.
39671 * math/w_log2.c: Likewise.
39672 * math/w_log2f.c: Likewise.
39673 * math/w_log2l.c: Likewise.
39674 * math/w_pow.c: Likewise.
39675 * math/w_powf.c: Likewise.
39676 * math/w_powl.c: Likewise.
39677 * math/w_remainder.c: Likewise.
39678 * math/w_remainderf.c: Likewise.
39679 * math/w_remainderl.c: Likewise.
39680 * math/w_scalb.c: Likewise.
39681 * math/w_scalbf.c: Likewise.
39682 * math/w_scalbl.c: Likewise.
39683 * math/w_sqrt.c: Likewise.
39684 * math/w_sqrtf.c: Likewise.
39685 * math/w_sqrtl.c: Likewise.
39686 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39687 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39688 used.
39689 * math/math_private.h: Declare __kernel_standard_f.
39690 * math/w_cosh.c: Remove cruft and optimize a bit.
39691 * math/w_coshf.c: Likewise.
39692 * math/w_coshl.c: Likewise.
39693 * math/w_exp2.c: Likewise.
39694 * math/w_exp2f.c: Likewise.
39695 * math/w_exp2l.c: Likewise.
39696 * math/w_hypot.c: Likewise.
39697 * math/w_hypotf.c: Likewise.
39698 * math/w_hypotl.c: Likewise.
39699 * math/w_lgamma.c: Likewise.
39700 * math/w_lgamma_r.c: Likewise.
39701 * math/w_lgammaf.c: Likewise.
39702 * math/w_lgammaf_r.c: Likewise.
39703 * math/w_lgammal.c: Likewise.
39704 * math/w_lgammal_r.c: Likewise.
39705 * math/w_sinh.c: Likewise.
39706 * math/w_sinhf.c: Likewise.
39707 * math/w_sinhl.c: Likewise.
39708 * math/w_tgamma.c: Likewise.
39709 * math/w_tgammaf.c: Likewise.
39710 * math/w_tgammal.c: Likewise.
39711 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39712 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39713 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39714 Minor optimizations. Pretty printing. Remove cruft.
39715 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39716 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39717 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39718 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39719 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39720 * sysdeps/i386/fpu/e_asin.S: Likewise.
39721 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39722 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39723 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39724 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39725 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39726 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39727 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39728 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39729 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39730 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39731 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39732 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39733 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39734 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39735 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39736 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39737 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39738 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39739 * sysdeps/i386/fpu/e_log.S: Likewise.
39740 * sysdeps/i386/fpu/e_log10.S: Likewise.
39741 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39742 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39743 * sysdeps/i386/fpu/e_log2.S: Likewise.
39744 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39745 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39746 * sysdeps/i386/fpu/e_logf.S: Likewise.
39747 * sysdeps/i386/fpu/e_logl.S: Likewise.
39748 * sysdeps/i386/fpu/e_pow.S: Likewise.
39749 * sysdeps/i386/fpu/e_powf.S: Likewise.
39750 * sysdeps/i386/fpu/e_powl.S: Likewise.
39751 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39752 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39753 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39754 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39755 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39756 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39757 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39758 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39759 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39760 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39761 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39762 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39763 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39764 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39765 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39766 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39767 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39768 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39769 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39770 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39771 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39773 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39774 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39776 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39777 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39778 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39779 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39780 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39781 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39782 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39783 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39784 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39785 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39786 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39787 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39788 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39789 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39790 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39791 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39792 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39793 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39794 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39795 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39796 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39797 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39798 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39799 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39800 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39801 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39802 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39803 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39804 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39805 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39806 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39807 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39808 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39809 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39810 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39811 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39812 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39813 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39814 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39815 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39816 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39817 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39818 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39819 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39820 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39821 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39822 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39823 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39824 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39825 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39826 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39827 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39828 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39829 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39830 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39831 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39832 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39833 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39834 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39835 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39836 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39837 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39838 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39839 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39840 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39842 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39843 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39844 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39845 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39846 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39847 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39848 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39849 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39850 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39851 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39852 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39853 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39854 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39855 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39856 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39857 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39858 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39859 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39860 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39861 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39862 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39863 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39864 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39865 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39866 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39867 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39868 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39869 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39870 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39871 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39872 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39873 (__isnanf): Likewise.
39874 (__isinf_ns): Likewise.
39875 (__isinf_nsf): Likewise.
39876 (__finite): Likewise.
39877 (__finitef): Likewise.
39878 (__ieee754_sqrt): Define as macro.
39879 (__ieee754_sqrtf): Define as macro.
39880 (__ieee754_sqrtl): Define as macro.
39881 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39882 inlined copy.
39883 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39884 __FINITE_MATH_ONLY__ consistent.
39885 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39886
398872011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39888
39889 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39890 of rawmemchr.
39891
39892 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39893
398942011-10-09 Ulrich Drepper <drepper@gmail.com>
39895
39896 * po/ja.po: Update from translation team.
39897
398982011-10-08 Roland McGrath <roland@hack.frob.com>
39899
39900 * locale/programs/locarchive.c (prepare_address_space): New function.
39901 (create_archive, enlarge_archive, open_archive): Use it.
39902
39903 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39904 inside [SHARED], where it is used.
39905
39906 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39907
39908 * nss/getent.c (netgroup_keys): Remove unused variable.
39909 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39910
399112011-10-08 Ulrich Drepper <drepper@gmail.com>
39912
39913 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39914 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39916 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39917 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39918 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39919 * math/Makefile (libm-calls): Add s_isinf_ns.
39920 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39921 * math/multc3.c: Likewise.
39922 * math/s_casin.c: Likewise.
39923 * math/s_casinf.c: Likewise.
39924 * math/s_casinl.c: Likewise.
39925 * math/s_ccos.c: Likewise.
39926 * math/s_ccosf.c: Likewise.
39927 * math/s_ccosl.c: Likewise.
39928 * math/s_ctan.c: Likewise.
39929 * math/s_ctanf.c: Likewise.
39930 * math/s_ctanh.c: Likewise.
39931 * math/s_ctanhf.c: Likewise.
39932 * math/s_ctanhl.c: Likewise.
39933 * math/s_ctanl.c: Likewise.
39934 * math/w_fmod.c: Likewise.
39935 * math/w_fmodf.c: Likewise.
39936 * math/w_fmodl.c: Likewise.
39937 * math/w_remainder.c: Likewise.
39938 * math/w_remainderf.c: Likewise.
39939 * math/w_remainderl.c: Likewise.
39940 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39941 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39942 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39943 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39944 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39945 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39946 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39947 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39948
39949 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39950 of the number.
39951 * stdio-common/printf_fphex.c: Likewise.
39952 * stdio-common/printf_size.c: Likewise.
39953
39954 * math/e_exp10.c: Include math_private.h using <...> not "...".
39955 * math/e_exp10f.c: Likewise.
39956 * math/e_exp10l.c: Likewise.
39957 * math/e_exp2l.c: Likewise.
39958 * math/e_j0l.c: Likewise.
39959 * math/e_j1l.c: Likewise.
39960 * math/e_jnl.c: Likewise.
39961 * math/e_lgammal_r.c: Likewise.
39962 * math/e_rem_pio2l.c: Likewise.
39963 * math/e_scalb.c: Likewise.
39964 * math/e_scalbf.c: Likewise.
39965 * math/e_scalbl.c: Likewise.
39966 * math/k_cosl.c: Likewise.
39967 * math/k_sinl.c: Likewise.
39968 * math/k_tanl.c: Likewise.
39969 * math/s_cacoshf.c: Likewise.
39970 * math/s_catan.c: Likewise.
39971 * math/s_catanf.c: Likewise.
39972 * math/s_catanh.c: Likewise.
39973 * math/s_catanhf.c: Likewise.
39974 * math/s_catanhl.c: Likewise.
39975 * math/s_catanl.c: Likewise.
39976 * math/s_ccosh.c: Likewise.
39977 * math/s_ccoshf.c: Likewise.
39978 * math/s_ccoshl.c: Likewise.
39979 * math/s_cexp.c: Likewise.
39980 * math/s_cexpf.c: Likewise.
39981 * math/s_cexpl.c: Likewise.
39982 * math/s_clog.c: Likewise.
39983 * math/s_clog10.c: Likewise.
39984 * math/s_clog10f.c: Likewise.
39985 * math/s_clog10l.c: Likewise.
39986 * math/s_clogf.c: Likewise.
39987 * math/s_clogl.c: Likewise.
39988 * math/s_csin.c: Likewise.
39989 * math/s_csinf.c: Likewise.
39990 * math/s_csinh.c: Likewise.
39991 * math/s_csinhf.c: Likewise.
39992 * math/s_csinhl.c: Likewise.
39993 * math/s_csinl.c: Likewise.
39994 * math/s_csqrt.c: Likewise.
39995 * math/s_csqrtf.c: Likewise.
39996 * math/s_csqrtl.c: Likewise.
39997 * math/s_ctan.c: Likewise.
39998 * math/s_ctanf.c: Likewise.
39999 * math/s_ctanh.c: Likewise.
40000 * math/s_ctanhf.c: Likewise.
40001 * math/s_ctanhl.c: Likewise.
40002 * math/s_ctanl.c: Likewise.
40003 * math/s_ldexp.c: Likewise.
40004 * math/s_ldexpf.c: Likewise.
40005 * math/s_ldexpl.c: Likewise.
40006 * math/s_significand.c: Likewise.
40007 * math/s_significandf.c: Likewise.
40008 * math/s_significandl.c: Likewise.
40009 * math/w_acos.c: Likewise.
40010 * math/w_acosf.c: Likewise.
40011 * math/w_acosh.c: Likewise.
40012 * math/w_acoshf.c: Likewise.
40013 * math/w_acoshl.c: Likewise.
40014 * math/w_acosl.c: Likewise.
40015 * math/w_asin.c: Likewise.
40016 * math/w_asinf.c: Likewise.
40017 * math/w_asinl.c: Likewise.
40018 * math/w_atan2.c: Likewise.
40019 * math/w_atan2f.c: Likewise.
40020 * math/w_atan2l.c: Likewise.
40021 * math/w_atanh.c: Likewise.
40022 * math/w_atanhf.c: Likewise.
40023 * math/w_atanhl.c: Likewise.
40024 * math/w_cosh.c: Likewise.
40025 * math/w_coshf.c: Likewise.
40026 * math/w_coshl.c: Likewise.
40027 * math/w_dremf.c: Likewise.
40028 * math/w_exp10.c: Likewise.
40029 * math/w_exp10f.c: Likewise.
40030 * math/w_exp10l.c: Likewise.
40031 * math/w_exp2.c: Likewise.
40032 * math/w_exp2f.c: Likewise.
40033 * math/w_fmod.c: Likewise.
40034 * math/w_fmodf.c: Likewise.
40035 * math/w_fmodl.c: Likewise.
40036 * math/w_hypot.c: Likewise.
40037 * math/w_hypotf.c: Likewise.
40038 * math/w_hypotl.c: Likewise.
40039 * math/w_j0.c: Likewise.
40040 * math/w_j0f.c: Likewise.
40041 * math/w_j0l.c: Likewise.
40042 * math/w_j1.c: Likewise.
40043 * math/w_j1f.c: Likewise.
40044 * math/w_j1l.c: Likewise.
40045 * math/w_jn.c: Likewise.
40046 * math/w_jnf.c: Likewise.
40047 * math/w_jnl.c: Likewise.
40048 * math/w_lgamma.c: Likewise.
40049 * math/w_lgamma_r.c: Likewise.
40050 * math/w_lgammaf.c: Likewise.
40051 * math/w_lgammaf_r.c: Likewise.
40052 * math/w_lgammal.c: Likewise.
40053 * math/w_lgammal_r.c: Likewise.
40054 * math/w_log.c: Likewise.
40055 * math/w_log10.c: Likewise.
40056 * math/w_log10f.c: Likewise.
40057 * math/w_log10l.c: Likewise.
40058 * math/w_log2.c: Likewise.
40059 * math/w_log2f.c: Likewise.
40060 * math/w_log2l.c: Likewise.
40061 * math/w_logf.c: Likewise.
40062 * math/w_logl.c: Likewise.
40063 * math/w_pow.c: Likewise.
40064 * math/w_powf.c: Likewise.
40065 * math/w_powl.c: Likewise.
40066 * math/w_remainder.c: Likewise.
40067 * math/w_remainderf.c: Likewise.
40068 * math/w_remainderl.c: Likewise.
40069 * math/w_scalb.c: Likewise.
40070 * math/w_scalbf.c: Likewise.
40071 * math/w_scalbl.c: Likewise.
40072 * math/w_sinh.c: Likewise.
40073 * math/w_sinhf.c: Likewise.
40074 * math/w_sinhl.c: Likewise.
40075 * math/w_sqrt.c: Likewise.
40076 * math/w_sqrtf.c: Likewise.
40077 * math/w_sqrtl.c: Likewise.
40078 * math/w_tgamma.c: Likewise.
40079 * math/w_tgammaf.c: Likewise.
40080 * math/w_tgammal.c: Likewise.
40081
40082 * po/ja.po: Update from translation team.
40083
400842011-09-29 Andreas Jaeger <aj@suse.de>
40085
40086 [BZ #13179]
40087 * sunrpc/netname.c (netname2host): Fix logic.
40088
40089 [BZ #6779]
40090 [BZ #6783]
40091 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40092 correctly.
40093 * math/w_remainder.c (__remainder): Likewise.
40094 * math/w_remainderf.c (__remainderf): Likewise.
40095 * math/libm-test.inc (remainder_test): Add test cases.
40096
400972011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40098
40099 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40100 sdiv_qrnnd.
40101
401022011-10-07 Ulrich Drepper <drepper@gmail.com>
40103
40104 * string/test-memcmp.c: Avoid unncessary #defines.
40105 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40106
401072011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40108
40109 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40110 Use new sse2 version for core i3 - i7 as it's faster
40111 than sse42 version.
40112 (bit_Prefer_PMINUB_for_stringop): New.
40113 * sysdeps/x86_64/rawmemchr.S: Update.
40114 Replace with faster SSE2 version.
40115 * sysdeps/x86_64/memrchr.S: New file.
40116 * sysdeps/x86_64/memchr.S: Update.
40117 Replace with faster SSE2 version.
40118
401192011-09-12 Marek Polacek <mpolacek@redhat.com>
40120
40121 * elf/dl-load.c (lose): Add cast to avoid warning.
40122
401232011-10-07 Ulrich Drepper <drepper@gmail.com>
40124
40125 * po/ca.po: Update from translation team.
40126
40127 * inet/getnetgrent_r.c: Hook up nscd.
40128 * nscd/Makefile (routines): Add nscd_netgroup.
40129 (nscd-modules): Add netgroupcache.
40130 (CFLAGS-netgroupcache.c): Define.
40131 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40132 (cache_search): Add const to second parameter.
40133 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40134 INNETGR.
40135 (dbs): Add netgrdb entry.
40136 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40137 (verify_persistent_db): Handle netgrdb.
40138 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40139 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40140 GETFDNETGR.
40141 (netgroup_response_header): Define.
40142 (innetgroup_response_header): Define.
40143 (datahead): Add netgroup_response_header and innetgroup_response_header
40144 elements.
40145 * nscd/nscd.conf: Add entries for netgroup cache.
40146 * nscd/nscd.h (dbtype): Add netgrdb.
40147 (_PATH_NSCD_NETGROUP_DB): Define.
40148 (netgroup_iov_disabled): Declare.
40149 (xmalloc, xcalloc, xrealloc): Move declarations here.
40150 (cache_search): Adjust prototype.
40151 Add netgroup-related prototypes.
40152 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40153 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40154 (__nscd_innetgr): Declare.
40155 * nscd/selinux.c (perms): Use access_vector_t as element type and
40156 add netgroup-related initializers.
40157 * nscd/netgroupcache.c: New file.
40158 * nscd/nscd_netgroup.c: New file.
40159 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40160 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40161 For four parameters use innetgr.
40162 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40163 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40164 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40165 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40166
40167 * nscd/connections.c (register_traced_file): Don't register file
40168 for disabled databases.
40169
401702011-10-06 Ulrich Drepper <drepper@gmail.com>
40171
40172 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40173
40174 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40175 from tree and freeing node.
40176
401772011-09-25 Jiri Olsa <jolsa@redhat.com>
40178
40179 * nss/nsswitch.c (__nss_database_lookup): Handle
40180 nss_parse_service_list out of memory case.
40181
401822011-09-15 Jiri Olsa <jolsa@redhat.com>
40183
40184 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40185 out of memory case.
40186
401872011-10-04 Andreas Schwab <schwab@redhat.com>
40188
40189 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40190 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40191 pass it down.
40192 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40193 elf_machine_rela, elf_machine_lazy_rel.
40194 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40195 (ELF_DYNAMIC_DO_REL): Likewise.
40196 (ELF_DYNAMIC_DO_RELA): Likewise.
40197 (ELF_DYNAMIC_RELOCATE): Likewise.
40198 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40199 to ELF_DYNAMIC_DO_REL.
40200 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40201 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40202 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40203 elf_machine_rela.
40204 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40205 skip_ifunc, don't call ifunc function if non-zero.
40206 (elf_machine_rela): Likewise.
40207 (elf_machine_lazy_rel): Likewise.
40208 (elf_machine_lazy_rela): Likewise.
40209 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40210 (elf_machine_lazy_rel): Likewise.
40211 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40212 Likewise.
40213 (elf_machine_lazy_rel): Likewise.
40214 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40215 Likewise.
40216 (elf_machine_lazy_rel): Likewise.
40217 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40218 (elf_machine_lazy_rel): Likewise.
40219 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40220 (elf_machine_lazy_rel): Likewise.
40221 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40222 (elf_machine_lazy_rel): Likewise.
40223 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40224 (elf_machine_lazy_rel): Likewise.
40225 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40226 (elf_machine_lazy_rel): Likewise.
40227 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40228 (elf_machine_lazy_rel): Likewise.
40229
402302011-09-28 Ulrich Drepper <drepper@gmail.com>
40231
40232 * nss/nss_files/files-init.c (_nss_files_init): Use static
40233 initialization for all the *_traced_file variables.
40234
402352011-09-28 Andreas Schwab <schwab@redhat.com>
40236
40237 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40238
402392011-09-27 Roland McGrath <roland@hack.frob.com>
40240
40241 [BZ #13226]
40242 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40243
402442011-09-27 Andreas Schwab <schwab@redhat.com>
40245
40246 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40247 Reread the line before reparsing it.
40248
402492011-09-26 Andreas Schwab <schwab@redhat.com>
40250
40251 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40252
402532011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40254 Maxim Kuvyrkov <maxim@codesourcery.com>
40255 Joseph Myers <joseph@codesourcery.com>
40256
40257 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40258 if needed for __stack_chk_guard.
40259
402602011-09-19 Roland McGrath <roland@hack.frob.com>
40261
40262 * sysdeps/posix/spawni.c (script_execute): Always define it.
40263 It will be optimized away if unused.
40264 (maybe_script_execute): New function.
40265 (__spawni): Call it.
40266
40267 * Makerules: Don't include tls.make.
40268 (config-tls): Always set to thread.
40269 * tls.make.c: File removed.
40270
402712011-09-19 Mike Frysinger <vapier@gentoo.org>
40272
40273 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40274 * config.make.in (CPPFLAGS-config): New substituted variable.
40275
402762011-09-15 Ulrich Drepper <drepper@gmail.com>
40277
40278 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40279
40280 [BZ #13192]
40281 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40282 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40283
402842011-09-15 Roland McGrath <roland@hack.frob.com>
40285
40286 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40287 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40288 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40289 (CALL_FAIL): Likewise.
40290 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40291 (CALL_FAIL): Macro removed.
40292 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40293
402942011-09-15 Ulrich Drepper <drepper@gmail.com>
40295
40296 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40297 for __FINITE_MATH_ONLY__ == 1.
40298
402992011-09-15 Andreas Schwab <schwab@redhat.com>
40300
40301 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40302 __ieee754_sqrt instead of sqrt.
40303 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40304 __ieee754_sqrtf instead of sqrtf.
40305 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40306 __floorf instead of floorf.
40307 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40308 __floorf, __truncf instead of floorf, truncf.
40309
403102011-09-14 Ulrich Drepper <drepper@gmail.com>
40311
40312 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40313
40314 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40315 __extern_always_inline.
40316 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40317 32-bit.
40318
403192011-09-14 Andreas Schwab <schwab@redhat.com>
40320
40321 * elf/rtld.c (dl_main): Also relocate in dependency order when
40322 doing symbol dependency testing.
40323
403242011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40325
40326 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40327 Always define `refsym'.
40328
403292011-09-13 Andreas Schwab <schwab@redhat.com>
40330
40331 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40332 (__FD_ELT): Renamed from __FDELT.
40333 * misc/bits/select2.h (__FD_ELT): Likewise.
40334 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40335 __FD_MASK instead of __FDELT, __FDMASK.
40336 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40337 Likewise.
40338 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40339 Likewise.
40340
40341 * elf/Makefile (gen-ldd): Fix pattern.
40342
40343 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40344 (init_tls): Likewise.
40345
403462011-09-12 Ulrich Drepper <drepper@gmail.com>
40347
40348 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40349
403502011-09-12 Andreas Schwab <schwab@redhat.com>
40351
40352 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40353 `struct cmsghdr *' instead of `void *'.
40354 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40355 Likewise.
40356
403572011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40358
40359 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40360 if non-absolute.
40361 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40362 ldd_rewrite_script.
40363
403642011-09-11 Ulrich Drepper <drepper@gmail.com>
40365
40366 * configure.in: Remove --with-tls option.
40367 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40368 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40369 out in case it is missing.
40370 * sysdeps/ia64/elf/configure.in: Likewise.
40371 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40372 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40373 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40374 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40375 * sysdeps/sh/elf/configure.in: Likewise.
40376 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40377 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40378 * sysdeps/x86_64/elf/configure.in: Likewise.
40379 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40380 * sysdeps/mach/hurd/tls.h: Likewise.
40381
40382 [BZ #13067]
40383 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40384
40385 [BZ #13090]
40386 * configure.in: Fix use of AC_INIT.
40387
40388 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40389
403902011-09-10 Ulrich Drepper <drepper@gmail.com>
40391
40392 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40393 __set_errno.
40394 * malloc/hooks.c: Likewise.
40395
40396 [BZ #11929]
40397 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40398 variables statically.
40399 (narenas): Initialize.
40400 (list_lock): Initialize.
40401 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40402 initializtion of main_arena and list_lock. Small cleanups.
40403 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40404 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40405 Add initializers to main_arena and mp_.
40406 (malloc_state): Remove pagesize member. Change all users to use
40407 GLRO(dl_pagesize).
40408
40409 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40410 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40411 is always initialized.
40412
40413 * malloc/malloc.c: Removed unused configurations and dead code.
40414 * malloc/arena.c: Likewise.
40415 * malloc/hooks.c: Likewise.
40416 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40417
40418 * include/tls.h: Removed. USE___THREAD must always be defined.
40419 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40420 * elf/dl-libc.c: Likewise.
40421 * elf/dl-tsd.c: Likewise.
40422 * include/errno.h: Likewise.
40423 * include/netdb.h: Likewise.
40424 * include/resolv.h: Likewise.
40425 * inet/herrno-loc.c: Likewise.
40426 * inet/herrno.c: Likewise.
40427 * malloc/arena.c: Likewise.
40428 * malloc/hooks.c: Likewise.
40429 * malloc/malloc.c: Likewise.
40430 * resolv/res-state.c: Likewise.
40431 * resolv/res_libc.c: Likewise.
40432 * sysdeps/i386/dl-machine.h: Likewise.
40433 * sysdeps/ia64/dl-machine.h: Likewise.
40434 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40435 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40436 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40437 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40438 * sysdeps/sh/dl-machine.h: Likewise.
40439 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40440 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40441 * sysdeps/unix/i386/sysdep.S: Likewise.
40442 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40443 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40444 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40445 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40446 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40447 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40448 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40449 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40450 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40451 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40452 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40453 * sysdeps/x86_64/dl-machine.h: Likewise.
40454 * tls.make.c: Likewise.
40455
40456 * configure.in: Remove --with-__thread option. Make tests for
40457 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40458 tls_model attribute fail if no support is available. Remove
40459 USE_IN_LIBIO.
40460 * Makeconfig: Adjust for dropped configure option. All features are
40461 now mandatory.
40462 * Makerules: Likewise.
40463 * Versions.def: Likewise.
40464 * argp/argp-fmtstream.c: Likewise.
40465 * argp/argp-fmtstream.h: Likewise.
40466 * argp/argp-help.c: Likewise.
40467 * assert/assert.c: Likewise.
40468 * config.h.in: Likewise.
40469 * config.make.in: Likewise.
40470 * configure: Likewise.
40471 * configure.in: Likewise.
40472 * csu/Versions: Likewise.
40473 * csu/init.c: Likewise.
40474 * elf/tst-audit2.c: Likewise.
40475 * elf/tst-tls10.c: Likewise.
40476 * elf/tst-tls10.h: Likewise.
40477 * elf/tst-tls11.c: Likewise.
40478 * elf/tst-tls12.c: Likewise.
40479 * elf/tst-tls14.c: Likewise.
40480 * elf/tst-tlsmod11.c: Likewise.
40481 * elf/tst-tlsmod12.c: Likewise.
40482 * elf/tst-tlsmod13.c: Likewise.
40483 * elf/tst-tlsmod13a.c: Likewise.
40484 * elf/tst-tlsmod14a.c: Likewise.
40485 * elf/tst-tlsmod15b.c: Likewise.
40486 * elf/tst-tlsmod16a.c: Likewise.
40487 * elf/tst-tlsmod16b.c: Likewise.
40488 * elf/tst-tlsmod7.c: Likewise.
40489 * elf/tst-tlsmod8.c: Likewise.
40490 * elf/tst-tlsmod9.c: Likewise.
40491 * gmon/gmon.c: Likewise.
40492 * grp/fgetgrent_r.c: Likewise.
40493 * grp/putgrent.c: Likewise.
40494 * hurd/fopenport.c: Likewise.
40495 * include/libc-symbols.h: Likewise.
40496 * include/tls.h: Likewise.
40497 * intl/gettextP.h: Likewise.
40498 * intl/loadinfo.h: Likewise.
40499 * locale/global-locale.c: Likewise.
40500 * locale/localeinfo.h: Likewise.
40501 * mach/devstream.c: Likewise.
40502 * malloc/arena.c: Likewise.
40503 * malloc/set-freeres.c: Likewise.
40504 * misc/err.c: Likewise.
40505 * misc/getttyent.c: Likewise.
40506 * misc/mntent_r.c: Likewise.
40507 * posix/getopt.c: Likewise.
40508 * posix/wordexp.c: Likewise.
40509 * pwd/fgetpwent_r.c: Likewise.
40510 * resolv/Versions: Likewise.
40511 * resolv/res_hconf.c: Likewise.
40512 * shadow/fgetspent_r.c: Likewise.
40513 * shadow/putspent.c: Likewise.
40514 * stdio-common/printf_fphex.c: Likewise.
40515 * stdio-common/tmpfile.c: Likewise.
40516 * stdlib/abort.c: Likewise.
40517 * stdlib/fmtmsg.c: Likewise.
40518 * sunrpc/auth_unix.c: Likewise.
40519 * sunrpc/clnt_perr.c: Likewise.
40520 * sunrpc/clnt_tcp.c: Likewise.
40521 * sunrpc/clnt_udp.c: Likewise.
40522 * sunrpc/clnt_unix.c: Likewise.
40523 * sunrpc/openchild.c: Likewise.
40524 * sunrpc/svc_simple.c: Likewise.
40525 * sunrpc/svc_tcp.c: Likewise.
40526 * sunrpc/svc_udp.c: Likewise.
40527 * sunrpc/svc_unix.c: Likewise.
40528 * sunrpc/xdr.c: Likewise.
40529 * sunrpc/xdr_array.c: Likewise.
40530 * sunrpc/xdr_rec.c: Likewise.
40531 * sunrpc/xdr_ref.c: Likewise.
40532 * sunrpc/xdr_stdio.c: Likewise.
40533
405342011-09-09 Ulrich Drepper <drepper@gmail.com>
40535
40536 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40537
405382011-07-03 Andreas Jaeger <aj@suse.de>
40539
40540 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40541 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40542 regenerate with gen-libm-tests.pl.
40543
405442010-05-12 Petr Baudis <pasky@suse.cz>
40545
40546 [BZ #11589]
40547 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40548 around j0() zero points by switching to j1().
40549 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40550 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40552 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40553
405542011-09-09 Ulrich Drepper <drepper@gmail.com>
40555
40556 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40557 instead of 0.
40558 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40559 instead of 0.
40560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40561 Patch in part by Pavel Roskin <proski@gnu.org>.
40562
40563 [BZ #13138]
40564 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40565 realloc.
40566 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40567 Free memory block if necessary.
40568
40569 [BZ #12847]
40570 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40571 be NULL. Don't lock in this case.
40572
405732011-09-09 Roland McGrath <roland@hack.frob.com>
40574
40575 * elf/elf.h (ELFOSABI_GNU): New macro.
40576 (ELFOSABI_LINUX): Define to that.
40577
405782011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40579
40580 * string/strncat.c (strncat): Undef the symbol in case it has been
40581 defined in bits/string.h.
40582
405832011-09-09 Ulrich Drepper <drepper@gmail.com>
40584
40585 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40586
40587 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40588 link map.
40589
405902011-08-17 Andreas Jaeger <aj@suse.de>
40591
40592 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40593
405942011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40595 Ian Lance Taylor <iant@google.com>
40596
40597 * math/libm-test.inc (lround_test): New testcase.
40598 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40599
406002011-09-08 Ulrich Drepper <drepper@gmail.com>
40601
40602 * Makefile: Remove support for automatic cvs check-ins.
40603 * Makerules: Likewise.
40604 * config.make.in: Likewise.
40605 * configure.in: Likewise.
40606 * intl/Makefile: Likewise.
40607 * locale/Makefile: Likewise.
40608 * po/Makefile: Likewise.
40609 * posix/Makefile: Likewise.
40610 * sysdeps/gnu/Makefile: Likewise.
40611 * sysdeps/mach/hurd/Makefile: Likewise.
40612 * sysdeps/sparc/sparc32/Makefile: Likewise.
40613
40614 [BZ #13118]
40615 * posix/Makefile (bug-regex32-ENV): Define.
40616 Patch by John Stanley <jpsinthemix@verizon.net>.
40617
40618 * misc/Makefile (headers): Add bits/select2.h.
40619 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40620 * misc/bits/select2.h: New file.
40621 * include/bits/select2.h: New file.
40622 * debug/Makefile (routines): Add fdelt_chk.
40623 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40624 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40625 FD_ISSET.
40626 * debug/fdelt_chk.c: New file.
40627
40628 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40629 * wcsmbs/test-wmemcmp.c: Likewise.
40630 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40631 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40632
406332011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40634
40635 * string/Makefile (strop-tests): Add memcmp.
40636 * string/test-wmemcmp.c: New file.
40637 * string/test-memcmp.c: Add wmemcmp support.
40638
406392011-09-08 Roland McGrath <roland@hack.frob.com>
40640
40641 [BZ #13153]
40642 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40643 2011-07-19 change.
40644
40645 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40646 garbage value in a __mach_port_mod_refs call in the cases of the
40647 task-self and thread-self ports.
40648
406492011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40650
40651 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40652
406532011-09-08 Andreas Schwab <schwab@redhat.com>
40654
40655 * elf/dl-load.c (lose): Check for non-null L.
40656
406572011-09-07 Ulrich Drepper <drepper@gmail.com>
40658
40659 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40660
40661 * elf/dl-libc.c (dlerror_run): Pass back error code from
40662 dl_catch_error.
40663
40664 [BZ #13123]
40665 * elf/dl-load.c (lose): Free l_origin if it is valid.
40666
40667 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40668 names.
40669 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40670 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40671 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40672 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40673 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40674 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40675
406762011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40677
40678 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40679 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40680 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40681 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40682 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40683 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40684 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40685 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40686 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40687 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40688
406892011-08-15 Alan Modra <amodra@gmail.com>
40690
40691 [BZ #13092]
40692 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40693 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40694 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40695 ppc_mcount to static-only-routines.
40696 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40697 __mcount_internal.
40698 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40699 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40700
407012011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40702
40703 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40704 for finite and infinity parameters.
40705
407062011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40707
40708 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40709 and add nop instructions for throughput optimization.
40710 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40711
407122011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40713
40714 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40715 aligned copy for power7 with vector-scalar instructions.
40716 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40717
407182011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40719
40720 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40721 AVX check.
40722
407232011-09-07 Andreas Schwab <schwab@redhat.com>
40724
40725 [BZ #13144]
40726 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40727 last change.
40728
407292011-09-07 Ulrich Drepper <drepper@gmail.com>
40730
40731 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40732 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40733 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40734 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40735 clock_gettime.
40736
407372011-09-06 Ulrich Drepper <drepper@gmail.com>
40738
40739 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40740 Forgot to demangle the pointer.
40741
40742 * sysdeps/i386/sysdep.h: Define atom_text_section.
40743 * sysdeps/x86_64/sysdep.h: Likewise.
40744 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40745 section with atom_text_section.
40746 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40747 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40748 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40749 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40750 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40751
40752 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40753 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40754 already be defined. Change to take two parameters and don't assign
40755 result to variable. Adjust all users.
40756 Define INTERNAL_GETTIME if not already defined.
40757 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40758 call.
40759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40760 HAVE_CLOCK_GETTIME_VSYSCALL.
40761 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40762
40763 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40764 gettimeofday vsyscall, just use time.
40765
407662011-09-06 Andreas Schwab <schwab@redhat.com>
40767
40768 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40769 <errno.h>.
40770
407712011-09-06 Ulrich Drepper <drepper@gmail.com>
40772
40773 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40774 syscall on x86-64.
40775 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40776 syscall.
40777 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40778 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40779 syscall if possible.
40780
407812011-09-05 Ulrich Drepper <drepper@gmail.com>
40782
40783 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40784 e_ident. Don't pass to find_mapsXX.
40785 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40786
407872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40788
40789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40790 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40791 * sysdeps/x86_64/multiarch/strchr.S: Update.
40792 Check bit_slow_BSF bit.
40793 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40794 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40795 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40796
407972011-09-05 Ulrich Drepper <drepper@gmail.com>
40798
40799 [BZ #13134]
40800 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40801 before glibc 2.15.
40802 (tryshell): Define.
40803 (__spawni): Change last parameter to be flag. Test
40804 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40805 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40806 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40807 * posix/spawni.c: Likewise.
40808 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40809 * posix/spawnp.c: Likewise. Change normal version to use
40810 SPAWN_XFLAGS_USE_PATH.
40811 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40812 SPAWN_XFLAGS_TRY_SHELL.
40813
40814 [BZ #13150]
40815 * posix/glob.h: Remove gcc 1.x support.
40816
40817 [BZ #13068]
40818 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40819
408202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40821
40822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40823 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40824 strrchr-sse2-bsf
40825 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40826 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40827 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40828 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40829 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40830 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40831
408322011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40833
40834 * sysdeps/x86_64/wcscmp.S: New file.
40835
40836 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40837 wcscmp-c wcscmp-sse2
40838 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40839 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40840 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40841 * wcsmbs/wcscmp.c: Allow renaming.
40842
408432011-09-05 David S. Miller <davem@davemloft.net>
40844
40845 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40846 stack slot, rather than the struct return pointer slot.
40847 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40848 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40850 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40851
408522011-09-05 Ulrich Drepper <drepper@gmail.com>
40853
40854 * po/ja.po: Update from translation team.
40855
40856 [BZ #13144]
40857 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40858 kernel in 64-bit binaries.
40859
408602011-09-01 David S. Miller <davem@davemloft.net>
40861
40862 * elf/elf.h (HWCAP_SPARC_*): Move to..
40863 * sysdeps/sparc/sysdep.h: this new file and add new values.
40864 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40865 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40866 _DL_HWCAP_COUNT to 24.
40867 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40868 entries.
40869 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40870 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40871 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40872 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40873 instead of magic constants.
40874 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40875
408762011-08-31 David S. Miller <davem@davemloft.net>
40877
40878 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40880 Reimplement to do errno handling inline.
40881 (SYSCALL_ERROR_HANDLER): New macro.
40882 (__SYSCALL_STRING): Do not do errno handling in asm.
40883 (__CLONE_SYSCALL_STRING): Delete.
40884 (__INTERNAL_SYSCALL_STRING): Delete.
40885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40886 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40887 (PSEUDO): Reimplement to do errno handling inline.
40888 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40889 (SYSCALL_ERROR_HANDLER): New macro.
40890 (__SYSCALL_STRING): Do not do errno handling in asm.
40891 (__CLONE_SYSCALL_STRING): Delete.
40892 (__INTERNAL_SYSCALL_STRING): Delete.
40893 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40894 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40895 i386.
40896 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40897 (inline_syscall*): Add 'err' argument.
40898 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40899 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40900 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40901 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40902
40903 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40904 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40905
409062011-08-30 Andreas Schwab <schwab@redhat.com>
40907
40908 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40909
409102011-08-29 Jiri Olsa <jolsa@redhat.com>
40911
40912 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40913 directive.
40914
409152011-08-24 David S. Miller <davem@davemloft.net>
40916
40917 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40918
409192011-08-24 Andreas Schwab <schwab@redhat.com>
40920
40921 * elf/Makefile: Add rules to build and run unload8 test.
40922 * elf/unload8.c: New file.
40923 * elf/unload8mod1.c: New file.
40924 * elf/unload8mod1x.c: New file.
40925 * elf/unload8mod2.c: New file.
40926 * elf/unload8mod3.c: New file.
40927
40928 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40929 it wasn't used.
40930
409312011-08-23 David S. Miller <davem@davemloft.net>
40932
40933 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40934 subtract stack bias.
40935 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40936 %sp not %fp in calculations.
40937 (_JMPBUF_UNWINDS_ADJ): Likewise.
40938
40939 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40940 (aio_suspend): Call it to force an exception region around the
40941 AIO_MISC_WAIT() invocation.
40942
409432011-08-23 Andreas Schwab <schwab@redhat.com>
40944
40945 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40946 backslash.
40947
409482011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40949
40950 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40951 protection macro.
40952 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40953 and <dl-machine.h>.
40954 (Elf64_FuncDesc): Remove.
40955
409562011-08-22 David S. Miller <davem@davemloft.net>
40957
40958 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40959 sigaltstack check, add missing cfi directives.
40960 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40961 missing cfi directives, and sigaltstack handling.
40962
409632011-08-16 Andreas Schwab <schwab@redhat.com>
40964
40965 [BZ #11724]
40966 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40967 object is seen twice.
40968 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40969
40970 * elf/Makefile (distribute): Add tst-initorder2.c.
40971 (tests): Add tst-initorder2.
40972 (modules-names): Add tst-initorder2a tst-initorder2b
40973 tst-initorder2c tst-initorder2d. Add rules to build them.
40974 ($(objpfx)tst-initorder2.out): New rule.
40975 * elf/tst-initorder2.c: New file.
40976 * elf/tst-initorder2.exp: New file.
40977
409782011-08-22 Andreas Schwab <schwab@redhat.com>
40979
40980 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40981
40982 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40983 dependencies back to end of function.
40984
40985 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40986 $(elfobjdir)/ld.so.
40987
409882011-08-21 Ulrich Drepper <drepper@gmail.com>
40989
40990 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40991 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40993 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40994 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40995 of __vdso_gettimeofday.
40996 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40997 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40998 attribute_hidden.
40999 (_libc_vdso_platform_setup): Remove initialization of
41000 __vdso_gettimeofday and __vdso_time.
41001
410022011-08-20 Ulrich Drepper <drepper@gmail.com>
41003
41004 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41005 and fgetc_unlocked.
41006 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41007 getc_unlocked.
41008
41009 * elf/dl-open.c (add_to_global): Report additions to the global scope
41010 for LD_DEBUG=scopes.
41011 (dl_open_worker): Also print scope of newly loaded dependencies.
41012 (_dl_show_scope): Indicate if there is no scope.
41013
41014 [BZ #13114]
41015 * stdio-common/Makefile (tests): Add bug24.
41016 * stdio-common/bug24.c: New file.
41017
410182011-08-19 Andreas Jaeger <aj@suse.de>
41019
41020 [BZ #13114]
41021 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41022 non-existant file when using close-on-exec mode.
41023
410242011-08-20 Ulrich Drepper <drepper@gmail.com>
41025
41026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41027 the very first instruction.
41028
41029 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41030 the CFI state in the end.
41031 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41032 inclusion of dl-trampoline.h.
41033 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41034
410352011-08-19 Andreas Schwab <schwab@redhat.com>
41036
41037 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41038 expectations for long double.
41039
41040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41041 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41042
410432011-08-14 David S. Miller <davem@davemloft.net>
41044
41045 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41046 artificual limit depends upon the system page size.
41047
410482011-08-17 Ulrich Drepper <drepper@gmail.com>
41049
41050 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41051 * resolv/Makefile: Define CFLAGS-libresolv.
41052
410532011-08-17 Andreas Schwab <schwab@redhat.com>
41054
41055 * nss/makedb.c (compute_tables): Make variables used in nested
41056 function static.
41057
410582011-08-17 Ulrich Drepper <drepper@gmail.com>
41059
41060 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41061 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41062 if buffer was too small.
41063
41064 * elf/pldd.c (main): Attach to all threads in the process.
41065 Rewrite /proc handling to use *at functions.
41066
410672011-08-16 Ulrich Drepper <drepper@gmail.com>
41068
41069 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41070 specifies first scope to show.
41071 (dl_open_worker): Update callers. Move printing scope of new
41072 object to before the relocation.
41073 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41074 * sysdeps/generic/ldsodefs.h: Update declaration.
41075
41076 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41077 string for the scope number.
41078
410792011-08-14 Ulrich Drepper <drepper@gmail.com>
41080
41081 * nscd/servicescache.c (cache_addserv): Make sure written is always
41082 initialized.
41083
410842011-08-14 Roland McGrath <roland@hack.frob.com>
41085
41086 * sysdeps/i386/i486/bits/atomic.h
41087 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41088 statement expression, so as to suppress "set but not used" warning.
41089 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41090
41091 * string/strncat.c (STRNCAT): Use prototype definition.
41092
41093 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41094 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41095 -Iprograms here.
41096 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41097 (localedef-modules): Add localedef.
41098 (locale-modules): Add locale.
41099
41100 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41101 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41102 to avoid a warning.
41103
411042011-08-14 David S. Miller <davem@davemloft.net>
41105
41106 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41107 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41108
411092011-08-13 Ulrich Drepper <drepper@gmail.com>
41110
41111 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41112 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41113 * elf/rtld.c (dl_main): Set l_name of vDSO.
41114 Call _dl_show_scope when DL_DEBUG_SCOPES.
41115 (process_dl_debug): Recognize scopes flag and also set it for all.
41116 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41117 Declare _dl_show_scope.
41118
41119 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41120 (do_dlopen): Pass caller_dlopen to dl_open.
41121 (__libc_dlopen_mode): Initialize caller_dlopen.
41122
41123 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41124 of libc. Make tolower call locale-independent. Optimize a bit by
41125 using isdigit instead of isalnum.
41126 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41127
411282011-08-12 Ulrich Drepper <drepper@gmail.com>
41129
41130 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41131 was a dependency or dynamically loaded.
41132
411332011-08-11 Ulrich Drepper <drepper@gmail.com>
41134
41135 * intl/l10nflist.c: Allow architecture-specific pop function.
41136 * sysdeps/x86_64/l10nflist.c: New file.
41137
41138 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41139 classification.
41140
411412011-08-10 Andreas Schwab <schwab@redhat.com>
41142
41143 * include/dirent.h: Add libc_hidden_proto for scandirat and
41144 scandirat64. Don't declare __scandirat64.
41145 * dirent/scandirat.c: Add libc_hidden_def.
41146 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41147 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41148
411492011-08-10 David S. Miller <davem@davemloft.net>
41150
41151 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41152 enum.
41153 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41154 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41155 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41156
411572011-08-09 Ulrich Drepper <drepper@gmail.com>
41158
41159 * Versions.def [libc]: Add GLIBC_2.15.
41160 * dirent/Makefile (routines): Add scandirat and scandirat64.
41161 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41162 GLIBC_2.15.
41163 * dirent/dirent.h: Declare scandirat and scandirat64.
41164 * dirent/scandirat.c: New file.
41165 * dirent/scandirat64.c: New file.
41166 * sysdeps/wordsize-64/scandirat.c: New file.
41167 * sysdeps/wordsize-64/scandirat64.c: New file.
41168 * dirent/opendir.c: Define opendirat.
41169 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41170 using scandirat.
41171 * dirent/scandir64.c: Adjust for scandir.c change.
41172 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41173 __scandirat64, and __scandir_cancel_handler.
41174 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41175 additional parameter and use openat instead of open (outside of ld.so).
41176 Add new __opendir as wrapper around __opendirat.
41177 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41178 here without requiring old scandirat implementation.
41179
411802011-08-08 Ulrich Drepper <drepper@gmail.com>
41181
41182 * dirent/scandir.c (cancel_handler): Renamed to
41183 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41184 defined. Adjust users.
41185 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41186 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41187
411882011-08-04 Ulrich Drepper <drepper@gmail.com>
41189
41190 * string/test-string.h (IMPL): Use __STRING to expand name and then
41191 stringify it.
41192
41193 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41194 of cleanups.
41195
411962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41197
41198 * string/Makefile: Update.
41199 (strop-tests): Append strncat.
41200 * string/test-wcscmp.c: New file.
41201 New comprehensive test for wcscmp.
41202 * string/test-strcmp.c: Update.
41203 (WIDE): New define.
41204
412052011-07-22 Andreas Schwab <schwab@redhat.com>
41206
41207 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41208 line.
41209
412102011-07-26 Andreas Schwab <schwab@redhat.com>
41211
41212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41213 encoding to ACE if AI_IDN.
41214
412152011-08-01 Jakub Jelinek <jakub@redhat.com>
41216
41217 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41218 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41219
412202011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41221
41222 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41223 Fix overflow bug in strncat.
41224 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41225
41226 * string/test-strncat.c: Update.
41227 Add new tests for checking overflow bugs.
41228
412292011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41230
41231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41232 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41233 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41234 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41235 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41236 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41237 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41238 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41239 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41240
41241 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41242 (USE_AS_STRCAT): Define.
41243 Add strcat and strncat support.
41244 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41245
412462011-07-25 Andreas Schwab <schwab@redhat.com>
41247
41248 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41249 __n bigger than INT_MAX+1.
41250 (__strncmp_g): Likewise.
41251
412522011-07-23 Ulrich Drepper <drepper@gmail.com>
41253
41254 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41255 * libio/stido.h: Likewise.
41256
41257 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41258 (AF_NFC): Define.
41259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41260 (AF_NFC): Define.
41261
41262 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41263 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41264 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41265 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41266 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41267
41268 [BZ #13021]
41269 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41270 installed.
41271
41272 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41273 typo.
41274 (_dl_x86_64_save_sse): Likewise.
41275
412762011-07-22 Ulrich Drepper <drepper@gmail.com>
41277
41278 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41279 OSXSAVE.
41280 (_dl_x86_64_save_sse): Likewise.
41281
41282 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41283
41284 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41285
412862011-07-21 Andreas Schwab <schwab@redhat.com>
41287
41288 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41289 change.
41290 (_dl_x86_64_save_sse): Use correct AVX check.
41291
412922011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41293
41294 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41295 bug in strncpy/strncat.
41296 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41297
412982011-07-21 Ulrich Drepper <drepper@gmail.com>
41299
41300 * string/tester.c (test_strcat): Add tests for different alignments
41301 of source and destination.
41302 (test_strncat): Likewise.
41303
413042011-07-20 Ulrich Drepper <drepper@gmail.com>
41305
41306 [BZ #12852]
41307 * posix/glob.c (glob): Check passed in values before using them in
41308 expressions to avoid some overflows.
41309 (glob_in_dir): Likewise.
41310
41311 [BZ #13007]
41312 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41313 check for AVX enablement so that we don't crash with old kernels and
41314 new hardware.
41315 * elf/tst-audit4.c: Add same checks here.
41316 * elf/tst-audit6.c: Likewise.
41317
41318 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41319
413202011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41321
41322 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41323
413242011-07-20 Ulrich Drepper <drepper@gmail.com>
41325
41326 * po/cs.po: Update from translation team.
41327 * po/bg.po: Likewise.
41328
413292011-07-12 Marek Polacek <mpolacek@redhat.com>
41330
41331 * misc/sys/cdefs.h: Add support for const attribute.
41332 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41333 to gnu_dev_{major,minor,makedev} functions.
41334
413352011-07-20 Marek Polacek <mpolacek@redhat.com>
41336
41337 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41338
413392011-07-20 Andreas Schwab <schwab@redhat.com>
41340
41341 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41342 strlen results.
41343
413442011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41345
41346 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41347 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41348 register in order to avoid conflicts with the soft frame pointer
41349 being held in r11 when necessary.
41350 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41351 (INTERNAL_VSYSCALL_NCS): Likewise.
41352
413532011-07-14 Marek Polacek <mpolacek@redhat.com>
41354
41355 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41356 * elf/dl-fini.c (_dl_fini): Adjust caller.
41357 * elf/dl-close.c (_dl_close_worker): Likewise.
41358 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41359
413602011-07-15 Marek Polacek <mpolacek@redhat.com>
41361
41362 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41363 "aux_cache->nlibs < 0".
41364
41365 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41366 in the reload-count case.
41367
413682011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41369
41370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41371 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41372 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41373 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41374 * sysdeps/x86_64/multiarch/strcat.S: New file.
41375 * sysdeps/x86_64/multiarch/strncat.S: New file.
41376 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41377 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41378 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41379 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41380 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41381 (USE_AS_STRCAT): Define.
41382 Add strcat and strncat support.
41383 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41384 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41385 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41386 * string/strncat.c: Update.
41387 (USE_AS_STRNCAT): Define.
41388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41389 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41390 and i7.
41391 * sysdeps/x86_64/multiarch/init-arch.h
41392 (bit_Prefer_PMINUB_for_stringop): New.
41393 (index_Prefer_PMINUB_for_stringop): Likewise.
41394 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41395 bit_Prefer_PMINUB_for_stringop.
41396
413972011-07-19 Ulrich Drepper <drepper@gmail.com>
41398
41399 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41400 buffer64.
41401 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41402 of casting of buffer.
41403 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41404 buffer32 and buffer64.
41405 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41406 writes instead of casting of buffer.
41407 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41408 buffer32.
41409 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41410 casting of buffer.
41411
414122011-07-19 Andreas Schwab <schwab@redhat.com>
41413
41414 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41415
414162011-07-19 Ulrich Drepper <drepper@gmail.com>
41417
41418 * nscd/nscd.c (termination_handler): Don't do anything for a database
41419 if it has not yet been initialized.
41420
414212011-07-18 Ulrich Drepper <drepper@gmail.com>
41422
41423 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41424
414252011-07-15 Marek Polacek <mpolacek@redhat.com>
41426
41427 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41428
414292011-07-18 Ulrich Drepper <drepper@gmail.com>
41430
41431 * po/nl.po: Update from translation team.
41432 * po/sv.po: Likewise.
41433
414342011-07-16 Roland McGrath <roland@hack.frob.com>
41435
41436 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41437 now disallowed by GCC.
41438
41439 * configure.in (use-default-link): Default to yes if a test -shared
41440 link meets our qualifications.
41441 * configure: Regenerated.
41442
41443 * config.make.in (output-format): New variable.
41444 * configure.in: Check for ld --print-output-format support.
41445 * configure: Regenerated.
41446 * Makerules ($(common-objpfx)format.lds)
41447 [$(output-format) != unknown]: Just use $(output-format),
41448 instead of the linker-script munging.
41449
414502011-07-14 Roland McGrath <roland@hack.frob.com>
41451
41452 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41453 of $(common-objpfx)shlib.lds.
41454 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41455
41456 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41457 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41458
41459 * configure.in (-z relro check): Adjust test code to add a large
41460 writable data section after it.
41461 * configure: Regenerated.
41462
414632011-07-11 Roland McGrath <roland@hack.frob.com>
41464
41465 * configure.in (-z relro check): Fix test code to make the variable
41466 truly const.
41467 * configure: Regenerated.
41468
414692011-07-11 Ulrich Drepper <drepper@gmail.com>
41470
41471 * nscd/nscd.h (struct traced_file): Define.
41472 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41473 elements. Add traced_files.
41474 (inotify_fd): Declare.
41475 (register_traced_file): Declare.
41476 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41477 (inotify_fd): Export.
41478 (resolv_conf_descr): Remove.
41479 (nscd_init): Move inotify descriptor creation to main.
41480 Don't register files for notification here.
41481 (register_traced_file): New function.
41482 (invalidate_cache): Don't use reset_res to determine whether to call
41483 res_init, go through the list of registered files.
41484 (main_loop_poll): The inotify descriptors are now stored in the
41485 structures for the traced files.
41486 (main_loop_epoll): Likewise
41487 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41488 to __nss_disable_nscd.
41489 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41490 for a database anymore. Check the records for all the registered
41491 files instead.
41492 * nss/Makefile (libnss_files-routines): Add files-init.
41493 (libnss_db-routines): Add db-init.
41494 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41495 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41496 * nss/nss_db/db-init.c: New file.
41497 * nss/nss_files/files-init.c: New file.
41498 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41499 __nss_lookup_function.
41500 (__nss_lookup_function): Call nss_load_library.
41501 (nss_load_all_libraries): New function.
41502 (__nss_disable_nscd): Take parameter with callback function for files
41503 to register. Set is_nscd. Load all the DSOs for the NSS modules
41504 used for the cached services.
41505 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41506 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41507 options for features to all the files in nscd.
41508
41509 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41510
415112011-07-10 Roland McGrath <roland@hack.frob.com>
41512
41513 * csu/elf-init.c (__libc_csu_init): Comment typo.
41514
415152011-07-09 Ulrich Drepper <drepper@gmail.com>
41516
41517 * po/pl.po: Update from translation team.
41518 * po/ja.po: Likewise.
41519 * po/ru.po: Likewise.
41520 * po/ko.po: Likewise.
41521 * po/fr.po: Likewise.
41522
415232011-07-09 Roland McGrath <roland@hack.frob.com>
41524
41525 * configure.in (.ctors/.dtors header and trailer check):
41526 Use an empirical test on a built program.
41527 * configure: Regenerated.
41528
41529 * configure.in (-z relro check): Use an empirical test on a built DSO.
41530 Detect, but do not require, on ia64.
41531 * configure: Regenerated.
41532
41533 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41534 Update tests that use readelf to use $READELF instead.
41535 * configure: Regenerated.
41536
415372011-07-08 Ulrich Drepper <drepper@gmail.com>
41538
41539 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41540 if the result is not used.
41541
415422011-07-05 Andreas Jaeger <aj@suse.de>
41543
41544 [BZ#9696]
41545 * stdlib/tst-strtod.c: Add testcase.
41546
415472011-07-07 Ulrich Drepper <drepper@gmail.com>
41548
41549 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41550 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41551 The latter has a higher limit. Take additional parameter to pass to
41552 the new function.
41553 (__pathconf): Pass file to __statfs_link_max.
41554 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41555 __statfs_link_max.
41556 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41557 __statfs_link_max.
41558
41559 [BZ #12868]
41560 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41561 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41562 Handle Lustre.
41563 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41564 (__statfs_filesize_max): Likewise.
41565 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41566
415672011-07-05 Andreas Jaeger <aj@suse.de>
41568
41569 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41570
415712011-07-06 Marek Polacek <mpolacek@redhat.com>
41572
41573 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41574 `status' variable.
41575 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41576 Likewise.
41577
415782011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41579
41580 * Makefile (strop-tests): Add strncat.
41581 * string/test-strncat.c: New file.
41582
415832011-06-30 Marek Polacek <mpolacek@redhat.com>
41584
41585 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41586
415872011-06-21 Andreas Jaeger <aj@suse.de>
41588
41589 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41590 Copy rule from iconvdata/Makefile.
41591
415922011-07-06 Ulrich Drepper <drepper@gmail.com>
41593
41594 [BZ #12922]
41595 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41596 but no long options are defined, just return 'W'.
41597
415982011-06-22 Marek Polacek <mpolacek@redhat.com>
41599
41600 [BZ #9696]
41601 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41602
416032011-07-06 Ulrich Drepper <drepper@gmail.com>
41604
41605 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41606 netgroups to read.
41607 (innetgr): Likewise.
41608
416092011-07-05 Roland McGrath <roland@hack.frob.com>
41610
41611 * config.make.in (install_root): Default to $(DESTDIR).
41612
416132011-07-05 Ulrich Drepper <drepper@gmail.com>
41614
41615 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41616
416172011-07-02 Roland McGrath <roland@hack.frob.com>
41618
41619 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41620
41621 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41622 containing directory rather than embedding absolute directory names.
41623
41624 * scripts/check-local-headers.sh: Rewritten using awk.
41625 Match by word, not by line. Print error messages for matches.
41626 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41627
41628 * Makerules [shlib-lds-flags empty]:
41629 ($(common-objpfx)libc_pic.opts): New target.
41630 ($(common-objpfx)libc_pic.os.clean): New target.
41631 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41632
41633 * config.make.in (OBJCOPY): New variable.
41634 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41635 * configure: Regenerated.
41636
41637 * config.make.in (use-default-link): New variable.
41638 * configure.in (use_default_link): Grok --with-default-link to set it.
41639 * configure: Regenerated.
41640 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41641 (shlib-lds, shlib-lds-flags): Define to empty.
41642
41643 * Makerules (shlib-lds): New variable.
41644 (shlib-lds-flags): New variable.
41645 (build-shlib, build-moduile, build-module-asneeded): Use it.
41646 ($(common-objpfx)libc.so): Use $(shlib-lds).
41647 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41648 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41649
41650 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41651 DT_FLAGS/DT_FLAGS_1 with zero flags.
41652
41653 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41654 linker script munging.
41655
416562011-07-02 Ulrich Drepper <drepper@gmail.com>
41657
41658 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41659 as 128-bit value.
41660 * crypt/sha512.c (sha512_process_block): Perform total addition using
41661 128-bit if possible.
41662 (__sha512_finish_ctx): Likewise.
41663 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41664 as 64-bit value.
41665 * crypt/sha256.c (SWAP64): Define.
41666 (sha256_process_block): Perform total addition using 64-bit if
41667 possible.
41668 (__sha256_finish_ctx): Likewise.
41669
416702011-07-01 Ulrich Drepper <drepper@gmail.com>
41671
41672 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41673 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41674 * nscd/hstcache.c (cache_addhst): Likewise.
41675 * nscd/grpcache.c (cache_addgr): Likewise.
41676 * nscd/aicache.c (addhstaiX): Likewise
41677 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41678
416792011-07-01 Thorsten Kukuk <kukuk@suse.de>
41680
41681 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41682 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41683 * nscd/hstcache.c (cache_addhst): Likewise.
41684 * nscd/grpcache.c (cache_addgr): Likewise.
41685 * nscd/aicache.c (addhstaiX): Likewise
41686
416872011-07-01 Andreas Schwab <schwab@redhat.com>
41688
41689 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41690 domain only when needed.
41691
416922011-06-30 Andreas Schwab <schwab@redhat.com>
41693
41694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41695 is always restored.
41696
416972011-06-29 Ulrich Drepper <drepper@gmail.com>
41698
41699 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41700 are re-adding the entry.
41701 * nscd/servicescache.c (cache_addserv): Likewise.
41702
417032011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41704
41705 * sysdeps/generic/dl-irel.h: fix protection against multiple
41706 inclusions.
41707 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41708
417092011-06-28 Ulrich Drepper <drepper@gmail.com>
41710
41711 [BZ #12935]
41712 * malloc/memusage.sh: Fix quoting in message.
41713 * debug/xtrace.sh: Likewise.
41714
41715 * configure.in: Remove support for --experimental-malloc option, make
41716 it the default.
41717 * config.make.in: Likewise.
41718 * malloc/Makefile: Likewise.
41719
417202011-06-27 Andreas Schwab <schwab@redhat.com>
41721
41722 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41723 two-byte characters.
41724
417252011-06-27 Roland McGrath <roland@hack.frob.com>
41726
41727 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41728 AC_CACHE_CHECK invocation.
41729 * configure: Regenerated.
41730
41731 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41732
417332011-06-27 Ulrich Drepper <drepper@gmail.com>
41734
41735 [BZ #12350]
41736 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41737 bit from old_res_options.
41738
41739 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41740
41741 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41742 value type for setfct.
41743
417442011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41745
41746 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41747 __gettimeofday instead of gettimeofday.
41748
417492011-06-26 Ulrich Drepper <drepper@gmail.com>
41750
41751 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41752
417532011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41754
41755 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41756
41757 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41758 info.
41759
417602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41761
41762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41763 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41764 strcpy-sse2-unaligned strncpy-sse2-unaligned
41765 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41766 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41767 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41768 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41769 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41770 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41771 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41772 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41773 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41774 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41775 (STRCPY): Support SSE2 and SSSE3 versions.
41776
417772011-06-24 Ulrich Drepper <drepper@gmail.com>
41778
41779 [BZ #12874]
41780 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41781 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41782 kernels which artificially limit size of requests.
41783
417842011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41785
41786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41787 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41788 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41789 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41790 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41791 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41792 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41793 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41794 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41795 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41796 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41797 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41798 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41799 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41800 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41802 Enable unaligned load optimization for Intel Core i3, i5 and i7
41803 processors.
41804 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41805 Define.
41806 (index_Fast_Unaligned_Load): Define.
41807 (HAS_FAST_UNALIGNED_LOAD): Define.
41808
418092011-06-23 Marek Polacek <mpolacek@redhat.com>
41810
41811 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41812
418132011-06-22 Ulrich Drepper <drepper@gmail.com>
41814
41815 [BZ #12907]
41816 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41817 until it is clear that the information is realy needed.
41818 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41819
418202011-06-22 Andreas Schwab <schwab@redhat.com>
41821
41822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41823
418242011-06-22 Ulrich Drepper <drepper@gmail.com>
41825
41826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41827 /sys/devices/system/cpu/online if it is usable.
41828
41829 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41830 reading the information from the /proc filesystem to once a second.
41831
418322011-06-21 Andreas Jaeger <aj@suse.de>
41833
41834 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41835 NULL after inclusion of kernel headers.
41836
418372011-06-21 Ulrich Drepper <drepper@gmail.com>
41838
41839 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41840 calls to internal_setent.
41841
41842 [BZ #12885]
41843 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41844 addresses using gethostbyname4_r ignore IPv4 addresses.
41845
41846 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41847 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41848
41849 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41850
418512011-06-20 David S. Miller <davem@davemloft.net>
41852
41853 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41854 inclusions.
41855 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41856
41857 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41858 (elf_irel): Use it.
41859 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41860 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41861 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41862 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41863 * sysdeps/x86_64/dl-irel.h: Likewise.
41864
41865 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41866 * elf/dl-sym.c: Likewise.
41867
418682011-06-15 Ulrich Drepper <drepper@gmail.com>
41869
41870 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41871 need to dereference resplen2.
41872
418732011-06-14 Andreas Schwab <schwab@redhat.com>
41874
41875 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41876
418772011-06-15 Ulrich Drepper <drepper@gmail.com>
41878
41879 * Makeconfig: Define vardbdir and inst_vardbdir.
41880 * nss/Makefile: Add rules to install db-Makefile.
41881
41882 * nss/nss_db/db-XXX.c: Cleanup.
41883
41884 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41885 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41886 GLIBC_PRIVATE.
41887 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41888 * nss/makedb.c: Implement -g option to specify that value strings
41889 are generated and should not be added to table iterated over for
41890 get*ent calls.
41891 * nss/nss_db/db-initgroups.c: New file.
41892
41893 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41894 interface.
41895
41896 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41897 (internal_getgrouplist): Adjust to name change.
41898 Update use_initgroups_entry if this is not the first call.
41899 * nss/databases.def: Add initgroups entry.
41900
41901 * nss/makedb.c (compute_tables): Check result of multiple hash table
41902 sizes to minimize maximum chain length.
41903
419042011-06-14 Ulrich Drepper <drepper@gmail.com>
41905
41906 * Versions.def: Add entry for libnss_db.
41907 * shlib-versions: Likewise.
41908 * nss/Makefile: Add rules to build libnss_db.
41909 * nss/Versions: Add libnss_db information. Organize libnss_files
41910 entries better.
41911 * nss/db-Makefile: Add gshadow support. Change rules for the new
41912 makedb progra. Some minor improvements to generate smaller files.
41913 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41914 here from...
41915 * nss/makedb.c: ...here.
41916 Improve database format to be smaller and require less memory at
41917 runtime.
41918 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41919 db anymore.
41920 * nss/nss_db/db-netgrp.c: Likewise.
41921 * nss/nss_db/db-open.c: Likewise.
41922 * nss/nss_files/flies-XXX.x: Adjust comments.
41923 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41924 * nss/nss_files/files-grp.c: Likewise.
41925 * nss/nss_files/files-hosts.c: Likewise.
41926 * nss/nss_files/files-network.c: Likewise.
41927 * nss/nss_files/files-proto.c: Likewise.
41928 * nss/nss_files/files-pwd.c: Likewise.
41929 * nss/nss_files/files-rpc.c: Likewise.
41930 * nss/nss_files/files-service.c: Likewise.
41931 * nss/nss_files/files-sgrp.c: Likewise.
41932 * nss/nss_files/files-spwd.c: Likewise.
41933 * nss/nss_db/db-alias.c: Removed.
41934 * nss/nss_db/dummy-db.h: Removed.
41935
419362011-06-02 Ulrich Drepper <drepper@gmail.com>
41937
41938 * nss/makedb.c: Rewritten to not use database library.
41939 * nss/Makefile: Update to build new makedb program.
41940
419412011-06-14 Andreas Jaeger <aj@suse.de>
41942
41943 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41944 memset declaration.
41945
419462011-06-10 Andreas Schwab <schwab@redhat.com>
41947
41948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41949 tmpbuf.
41950
419512011-06-10 Roland McGrath <roland@hack.frob.com>
41952
41953 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41954 * elf/Makefile ($(objpfx)ld.so): Likewise.
41955
41956 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41957 Don't list ld.so twice in dependencies.
41958
41959 * posix/bug-regex31.c: Include <stdlib.h>.
41960
41961 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41962
41963 * nis/nss_compat/compat-spwd.c
41964 (getspent_next_nss_netgr): Remove unused variable.
41965 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41966
41967 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41968 nonmembers" output to use the right array.
41969
41970 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41971
41972 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41973
41974 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41975 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41976 * catgets/gencat.c (read_input_file): Likewise.
41977 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41978
41979 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41980 variable definition inside #if's controlling its use.
41981
41982 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41983
41984 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41985
41986 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41987
41988 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41989 unreachable code.
41990
41991 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41992
41993 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41994 * configure: Regenerated.
41995
41996 * Makerules: Revert last change.
41997 * elf/Makefile: Likewise.
41998
419992011-06-09 Roland McGrath <roland@hack.frob.com>
42000
42001 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42002 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42003 (reloc-link): Likewise.
42004
420052011-06-09 Ulrich Drepper <drepper@gmail.com>
42006
42007 * elf/Makefile: Add rules to build pldd.
42008 * elf/pldd.c: New file.
42009 * elf/pldd-xx.c: New file.
42010
420112011-06-07 Ulrich Drepper <drepper@gmail.com>
42012
42013 * version.h: Update for 2.15 development version.
42014
420152011-06-07 David S. Miller <davem@davemloft.net>
42016
42017 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42018 ifuncs.
42019 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42020 elf_machine_lazy_rel): Likewise.
42021 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42022 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42023 elf_machine_lazy_rel): Likewise.
42024 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42025 dl_hwcap via passed in argument.
42026 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42027 Likewise.
42028
420292011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42030
42031 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42032
420332011-06-06 Roland McGrath <roland@hack.frob.com>
42034
42035 [BZ #12849]
42036 * manual/fdl-1.1.texi: New file, verbatim from:
42037 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42038 * manual/lgpl-2.1.texi: New file, verbatim from:
42039 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42040 * manual/Makefile (licenses): New variable, list those new file names.
42041 (texis): Use it.
42042 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42043
42044 * manual/fdl.texi: File removed.
42045 * manual/lesser.texi: File removed.
42046 * manual/libc.texinfo (Copying, Documentation License):
42047 Use new @include file names, put @appendix directive before @include.
42048
420492011-06-04 Jakub Jelinek <jakub@redhat.com>
42050
42051 [BZ #12841]
42052 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42053 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42054 (mq_open): Add __NTH.
42055
420562011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42057
42058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42059 Assume Intel Core i3/i5/i7 processor if AVX is available.
42060
420612011-05-31 Ulrich Drepper <drepper@gmail.com>
42062
42063 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42064 typo.
42065
420662011-05-31 Andreas Schwab <schwab@redhat.com>
42067
42068 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42069 memory. Use alloca_account. Fix memory leak when retrying.
42070
420712011-05-31 Ulrich Drepper <drepper@gmail.com>
42072
42073 * version.h (RELEASE): Bump for 2.14 release.
42074 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42075
42076 * config.make.in (RANLIB): Remove entry.
42077
420782011-05-30 Ulrich Drepper <drepper@gmail.com>
42079
42080 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42081 (libc.pot): Work around missing support for .ksh extension in xgettext.
42082
42083 [BZ #12684]
42084 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42085 if both request failed.
42086 (send_dg): In case of server errors clear resplen or *resplen2.
42087
42088 [BZ #12454]
42089 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42090 when there are multiple maps.
42091 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42092 (_dl_fini): Remove test here.
42093
42094 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42095
420962011-05-29 Ulrich Drepper <drepper@gmail.com>
42097
42098 [BZ #12350]
42099 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42100 bit from old_res_options.
42101 (gaih_inet): Likewise.
42102
42103 [BZ #11099]
42104 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42105 as signed.
42106
42107 * resolv/res_init.c (res_setoptions): Make the code more compact.
42108
42109 [BZ #11558]
42110 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42111 set RES_USEVC.
42112
42113 [BZ #11634]
42114 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42115
42116 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42117
42118 [BZ #11781]
42119 * malloc/malloc.h: Declare malloc hook variables as volatile.
42120
42121 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42122 in last patch.
42123
42124 [BZ #11799]
42125 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42126 raise in the comment.
42127 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42128 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42129 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42130
421312011-05-28 Ulrich Drepper <drepper@gmail.com>
42132
42133 [BZ #12811]
42134 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42135 grow the buffers more if it already has to be sufficient.
42136 (build_wcs_upper_buffer): Likewise.
42137 * posix/regexec.c (check_matching): Likewise.
42138 (clean_state_log_if_needed): Likewise.
42139 (extend_buffers): Don't enlarge buffers beyond size of the input
42140 buffer.
42141 Patches mostly by Emil Wojak <emil@wojak.eu>.
42142 * posix/bug-regex32.c: New file.
42143 * posix/Makefile (tests): Add bug-regex32.
42144
42145 * locale/findlocale.c (_nl_find_locale): Return right away if
42146 _nl_explode_name failed.
42147 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42148
42149 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42150
42151 * debug/xtrace.sh: Unify messages.
42152 * malloc/memusage.sh: Likewise.
42153
42154 [BZ #12813]
42155 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42156 time symbol from vDSO. Substitute with vsyscall if not available.
42157 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42158 __vdso_time.
42159
42160 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42161 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42162 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42163 Add sendmmsg and internal_sendmmsg.
42164 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42165 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42166 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42167
42168 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42169 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42170 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42171
421722011-05-27 Ulrich Drepper <drepper@gmail.com>
42173
42174 [BZ #12813]
42175 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42176 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42177 available.
42178 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42179 __vdso_getcpu.
42180
42181 [BZ #12814]
42182 * iconvdata/Makefile (tests): Add bug-iconv9.
42183 * iconvdata/bug-iconv9.c: New file.
42184
421852011-05-27 Andreas Schwab <schwab@redhat.com>
42186
42187 [BZ #12814]
42188 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42189
421902011-05-25 Jakub Jelinek <jakub@redhat.com>
42191
42192 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42193 (struct user_regs_struct): Change intcs field back to cs.
42194
421952011-05-25 Ulrich Drepper <drepper@gmail.com>
42196
42197 * po/ja.po: Update from translation team.
42198
421992011-05-23 Ulrich Drepper <drepper@gmail.com>
42200
42201 [BZ #12795]
42202 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42203 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42204
422052011-05-20 Andreas Schwab <schwab@redhat.com>
42206
42207 * stdlib/longlong.h: Update from GCC.
42208
422092011-05-23 Andreas Schwab <schwab@redhat.com>
42210
42211 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42212 parameter name.
42213 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42214 Add parameter name.
42215 (__sysconf): Pass it down.
42216
422172011-05-22 Ulrich Drepper <drepper@gmail.com>
42218
42219 [BZ #12671]
42220 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42221 some situations.
42222 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42223 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42224 add in in __libc_use_alloca calls. Adjust callers.
42225 (glob): Use malloc in some situations.
42226
42227 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42228 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42229 pltexit.
42230
422312011-05-21 Ulrich Drepper <drepper@gmail.com>
42232
42233 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42234 and CLOCK_BOOTTIME_ALARM.
42235
42236 [BZ #12782]
42237 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42238 is returned.
42239
42240 * string/_strerror.c (__strerror_r): Print negative errors as signed
42241 numbers.
42242
42243 [BZ #12777]
42244 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42245 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42246 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42247
42248 * configure.in: Fix typo in redirection and correct removal of test
42249 files in two cases.
42250
42251 [BZ #12788]
42252 * locale/setlocale.c (new_composite_name): Fix test to check for
42253 identical name of all categories.
42254
42255 [BZ #12792]
42256 * libio/filedoalloc.c (local_isatty): New function.
42257 (_IO_file_doallocate): Use local_isatty.
42258 * stdio-common/perror.c (perror): In case a new stream is used
42259 forward the stream error.
42260 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42261 error flag.
42262
422632011-05-20 Ulrich Drepper <drepper@gmail.com>
42264
42265 [BZ #11869]
42266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42267 alloca.
42268 * include/alloca.h (extend_alloca_account): Define.
42269
42270 [BZ #11857]
42271 * posix/regex.h: Fix comments with documentation of user-accessible
42272 fields after compilation and describe correct free'ing of pattern
42273 after re_compile_pattern.
42274 Patch by Reuben Thomas <rrt@sc3d.org>.
42275
422762011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42277
42278 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42279 and -mno-altivec to prevent the compiler from using Altivec and/or
42280 VSX instructions when the corresponding registers are not available.
42281
422822011-05-19 Andreas Schwab <schwab@redhat.com>
42283
42284 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42285
422862011-05-19 Ulrich Drepper <drepper@gmail.com>
42287
42288 * libio/freopen.c (freopen): Use __dup2, not dup2.
42289 * libio/freopen64.c (freopen64): Likewise.
42290
422912011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42292
42293 [BZ #12775]
42294 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42295 * math/Makefile (tests): Add test-powl.
42296 (CFLAGS-test-powl.c): Define.
42297 * math/test-powl.c: New file.
42298
422992011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42300
42301 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42302
423032011-05-17 Ulrich Drepper <drepper@gmail.com>
42304
42305 [BZ #11837]
42306 * iconvdata/gb18030.c: Update to GB18020-2005.
42307
423082011-05-16 Ulrich Drepper <drepper@gmail.com>
42309
42310 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42311 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42312 Patch by Aharon Robbins <arnold@skeeve.com>.
42313
42314 [BZ #11892]
42315 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42316 on the stack.
42317
42318 [BZ #11895]
42319 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42320 through underflows.
42321
42322 [BZ #12766]
42323 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42324 point to strings before performing equality test for error_one_per_line
42325 mode.
42326
42327 [BZ #11697]
42328 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42329
42330 [BZ #11820]
42331 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42332 (struct user_fpregs_struct): Avoid __uint*_t types.
42333
42334 [BZ #6420]
42335 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42336 symbol info. Use it instead of calling _dl_addr locally.
42337 (lock_and_info): New function.
42338 (tr_freehook): Call lock_and_info and pass symbol info as additional
42339 parameter to tr_where.
42340 (tr_mallochook): Likewise.
42341 (tr_reallochook): Likewise.
42342 (tr_memalignhook): Likewise.
42343
42344 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42345 used and couldn't be at all thread-safe.
42346
423472011-05-15 Ulrich Drepper <drepper@gmail.com>
42348
42349 * libio/freopen.c (freopen): Don't close old file descriptor
42350 before the new one is opened. Instead dup the new file descriptor
42351 to the old one after the new stream is created.
42352 * libio/freopen64.c (freopen64): Likewise.
42353 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42354 * libio/fileops.c (_IO_new_file_close_it): Handle new
42355 _IO_FLAGS2_NOCLOSE flag.
42356 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42357 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42358 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42359 _IO_FLAGS2_NOCLOSE flag.
42360 * include/unistd.h: Add hidden_proto for dup3.
42361 Define __have_dup3.
42362 * io/dup3.c: Define hidden symbol.
42363 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42364
42365 [BZ #7101]
42366 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42367 when an incomplete long option is used.
42368 * posix/tst-getopt_long1.c: New file.
42369 * posix/Makefile (tests): Add tst-getopt_long1.
42370
42371 [BZ #10138]
42372 * scripts/config.guess: Update from autoconf-2.68.
42373 * scripts/config.sub: Likewise.
42374
42375 [BZ #10157]
42376 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42377 tests into ...
42378 (has_cpuclock): ...this. New function.
42379 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42380 macro here based on has_cpuclock code.
42381
42382 [BZ #10149]
42383 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42384 First byte (not low byte) is now always NUL.
42385 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42386
42387 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42388 Use non-cancelable interfaces.
42389
42390 [BZ #9809]
42391 * locale/iso-639.def: Add entry for Sorani.
42392
42393 [BZ #11901]
42394 * include/stdlib.h: Move include protection to the right place.
42395 Define abort_msg_s. Declare __abort_msg with it.
42396 * stdlib/abort.c (__abort_msg): Adjust type.
42397 * assert/assert.c (__assert_fail_base): New function. Majority
42398 of code from __assert_fail. Allocate memory for __abort_msg with
42399 mmap.
42400 (__assert_fail): Now call __assert_fail_base.
42401 * assert/assert-perr.c: Remove bulk of implementation. Use
42402 __assert_fail_base.
42403 * include/assert.hL Declare __assert_fail_base.
42404 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42405 mmap.
42406 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42407
424082011-05-14 Ulrich Drepper <drepper@gmail.com>
42409
42410 [BZ #11952]
42411 [BZ #12453]
42412 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42413 until all modules are registered in the DTV.
42414 * elf/Makefile: Add rules to build and run tst-tls19.
42415 * elf/tst-tls19.c: New file.
42416 * elf/tst-tls19mod1.c: New file.
42417 * elf/tst-tls19mod2.c: New file.
42418 * elf/tst-tls19mod3.c: New file.
42419 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42420
42421 [BZ #12083]
42422 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42423 correctly.
42424
42425 [BZ #12601]
42426 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42427 two-byte sequence errors.
42428 * iconvdata/Makefile (tests): Add bug-iconv8.
42429 * iconvdata/bug-iconv8.c: New file.
42430
42431 [BZ #12626]
42432 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42433 buf2 definition.
42434
42435 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42436
42437 [BZ #12432]
42438 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42439 (dummy_getcfa): New function.
42440 (init): Get _Unwind_GetCFA address, use dummy if not found.
42441 (backtrace_helper): In recursion check, also check whether CFA changes.
42442 (__backtrace): Completely initialize arg.
42443
42444 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42445 storing incomplete byte sequence in state object. Avoid testing for
42446 guaranteed too small input if we know there is enough data available.
42447
424482011-05-11 Andreas Schwab <schwab@redhat.com>
42449
42450 * Makeconfig (+link-pie): Indent.
42451 * Rules (binaries-pie): Define if $(have-fpie) and
42452 $(build-shared).
42453 (binaries-shared): Also filter out $(binaries-pie).
42454 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42455 * nscd/Makefile (others-pie): Add nscd.
42456 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42457 ($(objpfx)nscd): Remove command override.
42458 * login/Makefile (others-pie): Add pt_chown.
42459 ($(objpfx)pt_chown): Remove command override.
42460 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42461 remove command overrides.
42462
424632011-05-13 Ulrich Drepper <drepper@gmail.com>
42464
42465 * libio/tst_putwc.c: Fix error messages.
42466
42467 [BZ #12724]
42468 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42469 currently writing and seek to current position when not.
42470 * libio/Makefile (tests): Add bug-fclose1.
42471 * libio/bug-fclose1.c: New file.
42472
424732011-05-12 Ulrich Drepper <drepper@gmail.com>
42474
42475 [BZ #12511]
42476 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42477 don't set DF_1_NODELETE here.
42478 (do_lookup_x): When entering new entry test for copy relocation
42479 and if necessary set DF_1_NODELETE flag.
42480 * elf/tst-unique4.cc: New file.
42481 * elf/tst-unique4.h: New file.
42482 * elf/tst-unique4lib.cc: New file.
42483 * elf/Makefile: Add rules to build and run tst-unique4.
42484 Patch by Piotr Bury <pbury@goahead.com>.
42485
424862011-05-11 Ulrich Drepper <drepper@gmail.com>
42487
42488 [BZ #12052]
42489 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42490
42491 [BZ #12625]
42492 * misc/mntent_r.c (addmntent): Flush the stream after the output
42493
42494 [BZ #12393]
42495 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42496 (is_trusted_path_normalize): Skip initial colon. Append slash
42497 to empty buffer. Duplicate is_trusted_path code but allow
42498 constructed patch to be prefix.
42499 (is_dst): Allow $ORIGIN followed by /.
42500 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42501 Correct testing of result of is_trusted_path_normalize
42502 (decompose_rpath): Fix warning.
42503
425042011-05-10 Ulrich Drepper <drepper@gmail.com>
42505
42506 [BZ #11257]
42507 * grp/initgroups.c (internal_getgrouplist): When we found the service
42508 list through the initgroups entry in nsswitch.conf do not always
42509 continue on a successful lookup. Don't always use the
42510 __nss_group_database value if it is set.
42511 * nss/nsswitch.conf (initgroups): Change action for successful db
42512 lookup to continue for compatibility.
42513
425142011-05-09 Ulrich Drepper <drepper@gmail.com>
42515
42516 [BZ #11532]
42517 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42518 and CP774 modules.
42519 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42520 and CP774 modules.
42521 * iconvdata/tst-tables.sh: Likewise.
42522 * iconvdata/cp770.c: New file.
42523 * iconvdata/cp771.c: New file.
42524 * iconvdata/cp772.c: New file.
42525 * iconvdata/cp773.c: New file.
42526 * iconvdata/cp774.c: New file.
42527 * iconvdata/testdata/CP770: New file.
42528 * iconvdata/testdata/CP770..UTF8: New file.
42529 * iconvdata/testdata/CP771: New file.
42530 * iconvdata/testdata/CP771..UTF8: New file.
42531 * iconvdata/testdata/CP772: New file.
42532 * iconvdata/testdata/CP772..UTF8: New file.
42533 * iconvdata/testdata/CP773: New file.
42534 * iconvdata/testdata/CP773..UTF8: New file.
42535 * iconvdata/testdata/CP774: New file.
42536 * iconvdata/testdata/CP774..UTF8: New file.
42537
42538 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42539 END CHARMAP line.
42540 * iconvdata/gen-8bit-gap.sh: Likewise.
42541 * iconvdata/gen-8bit.sh: Likewise.
42542
42543 * locale/iso-639.def: Add ary entry.
42544
42545 [BZ #11258]
42546 * locale/C-translit.h.in: Add U20A1 transliteration.
42547
42548 [BZ #12178]
42549 * locale/iso-639.def: Add wae entry.
42550 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42551
42552 [BZ #12545]
42553 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42554 for n.
42555
42556 [BZ #12711]
42557 * locale/C-translit.h.in: Add entry for U20B9.
42558 Patch by pravin.d.s@gmail.com.
42559
425602011-05-08 Ulrich Drepper <drepper@gmail.com>
42561
42562 [BZ #12713]
42563 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42564 ENAMETOOLONG use generic getcwd.
42565 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42566 in rtld. Use *stat64.
42567 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42568 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42569 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42570 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42571 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42572 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42573 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42574 __fstatat64 macros.
42575 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42576 * dirent/rewinddir.c: Add libc_hidden_def.
42577 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42578 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42579
42580 * include/dirent.h (__alloc_dir): Add flags parameter.
42581 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42582 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42583 __alloc_dir.
42584 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42585 from fdopendir if O_CLOEXEC is already set.
42586
425872011-03-15 Alan Modra <amodra@gmail.com>
42588
42589 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42590 l_tls_firstbyte_offset non-zero. Save padding offset in
42591 l_tls_firstbyte_offset for later use.
42592 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42593 freeing static tls block.
42594
425952011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42596
42597 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42598 where #ifdef was intended. The intent is to prevent ARG_MAX from
42599 being defined by the kernel headers.
42600
426012011-05-07 Ulrich Drepper <drepper@gmail.com>
42602
42603 [BZ #12734]
42604 * resolv/resolv.h: Define RES_NOTLDQUERY.
42605 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42606 no-tld-query and set RES_NOTLDQUERY.
42607 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42608 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42609 modern BIND to search name as TLD unless forbidden.
42610
426112011-05-07 Petr Baudis <pasky@suse.cz>
42612 Ulrich Drepper <drepper@gmail.com>
42613
42614 [BZ #12393]
42615 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42616 (is_trusted_path): ...to here.
42617 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42618 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42619 using is_trusted_path_normalize() in setuid scripts.
42620
426212011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42622
42623 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42624 __BEGIN/__END_DECLS.
42625
426262011-05-06 Ulrich Drepper <drepper@gmail.com>
42627
42628 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42629 NSS_STATUS_NOTFOUND if no record was found.
42630
426312011-05-05 Andreas Schwab <schwab@redhat.com>
42632
42633 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42634 (headers-not-in-tirpc): Remove rpc/netdb.h
42635 * resolv/netdb.h: Revert last change.
42636
426372011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42638
42639 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42640 circular dependency between libgcc.a and libc.a.
42641
426422011-05-05 Andreas Schwab <schwab@redhat.com>
42643
42644 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42645 * nis/Makefile: Don't install rpcsvc/*.
42646 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42647 instead of <rpc/types.h>.
42648 (MAXHOSTNAMELEN): Define.
42649
426502011-05-03 Andreas Schwab <schwab@redhat.com>
42651
42652 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42653
426542011-04-28 Maciej Babinski <mbabinski@google.com>
42655
42656 [BZ #12714]
42657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42658 gethostbyname4_r when IPv6 results are possible.
42659
426602011-05-02 Ulrich Drepper <drepper@gmail.com>
42661
42662 [BZ #12723]
42663 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42664 _PC_PIPE_BUF handling.
42665
426662011-04-30 Bruno Haible <bruno@clisp.org>
42667
42668 [BZ #12717]
42669 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42670 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42671 to 'int'.
42672 * inet/getnameinfo.c (getnameinfo): Likewise.
42673
426742011-04-29 Ulrich Drepper <drepper@gmail.com>
42675
42676 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42677 to groups setting in database lookup.
42678 * nss/nsswitch.conf: Add initgroups entry.
42679
426802011-04-22 Ulrich Drepper <drepper@gmail.com>
42681
42682 [BZ #12685]
42683 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42684 mode string.
42685 Patch by Eric Blake <eblake@redhat.com>.
42686
426872011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42688
42689 * sunrpc/Makefile (need-export-routines): Add svc_run.
42690 (routines): Remove svc_run.
42691 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42692 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42693 * sunrpc/svc_run.c (svc_run): Likewise.
42694 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42695
426962011-04-21 Ulrich Drepper <drepper@gmail.com>
42697
42698 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42699 problem in reallocation in last patch.
42700
427012011-04-20 Ulrich Drepper <drepper@gmail.com>
42702
42703 * sunrpc/Makefile: Move inclusion of Rules.
42704
427052011-04-19 Ulrich Drepper <drepper@gmail.com>
42706
42707 * nss/nss_files/files-initgroups.c: New file.
42708 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42709 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42710 _nss_files_initgroups_dyn.
42711
427122011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42713
42714 * elf/elf.h (R_ARM_IRELATIVE): Define.
42715
427162011-04-19 Ulrich Drepper <drepper@gmail.com>
42717
42718 * po/ru.po: Update from translation team.
42719
427202011-04-17 Ulrich Drepper <drepper@gmail.com>
42721
42722 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42723 dependencies.
42724
427252011-02-06 Mike Frysinger <vapier@gentoo.org>
42726
42727 [BZ #12653]
42728 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42729 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42730 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42731 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42732 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42733
427342011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42735
42736 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42737 differing bytes.
42738 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42739 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42740 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42741
427422011-04-17 Ulrich Drepper <drepper@gmail.com>
42743
42744 [BZ #12420]
42745 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42746 storing it.
42747 * stdlib/bug-getcontext.c: New file.
42748 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42749
427502011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42751
42752 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42753 instructions into .machine "z9-109".
42754 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42755 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42756
427572011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42758
42759 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42760 between environment variables and auxiliary vector.
42761
427622011-04-16 Ulrich Drepper <drepper@gmail.com>
42763
42764 * Makefile: Add rules to build linkobj/libc.so.
42765 * include/libc-symbols.h: Define libc_hidden_nolink.
42766 * include/rpc/auth.h: Mark functions which are to be hidden.
42767 * include/rpc/auth_des.h: Likewise.
42768 * include/rpc/auth_unix.h: Likewise.
42769 * include/rpc/clnt.h: Likewise.
42770 * include/rpc/des_crypt.h: Likewise.
42771 * include/rpc/key_prot.h: Likewise.
42772 * include/rpc/pmap_clnt.h: Likewise.
42773 * include/rpc/pmap_prot.h: Likewise.
42774 * include/rpc/pmap_rmt.h: Likewise.
42775 * include/rpc/rpc_msg.h: Likewise.
42776 * include/rpc/svc.h: Likewise.
42777 * include/rpc/svc_auth.h: Likewise.
42778 * include/rpc/xdr.h: Likewise.
42779 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42780 * nss/Makefile: Likewise.
42781 * sunrpc/Makefile: Don't install headers. Build library with normal
42782 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42783 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42784 for the compat linking library. Remove use of INTDEF/INTUSE.
42785 * sunrpc/auth_none.c: Likewise.
42786 * sunrpc/auth_unix.c: Likewise.
42787 * sunrpc/authdes_prot.c: Likewise.
42788 * sunrpc/authuxprot.c: Likewise.
42789 * sunrpc/clnt_gen.c: Likewise.
42790 * sunrpc/clnt_perr.c: Likewise.
42791 * sunrpc/clnt_raw.c: Likewise.
42792 * sunrpc/clnt_simp.c: Likewise.
42793 * sunrpc/clnt_tcp.c: Likewise.
42794 * sunrpc/clnt_udp.c: Likewise.
42795 * sunrpc/clnt_unix.c: Likewise.
42796 * sunrpc/des_crypt.c: Likewise.
42797 * sunrpc/des_soft.c: Likewise.
42798 * sunrpc/get_myaddr.c: Likewise.
42799 * sunrpc/key_call.c: Likewise.
42800 * sunrpc/key_prot.c: Likewise.
42801 * sunrpc/netname.c: Likewise.
42802 * sunrpc/pm_getmaps.c: Likewise.
42803 * sunrpc/pm_getport.c: Likewise.
42804 * sunrpc/pmap_clnt.c: Likewise.
42805 * sunrpc/pmap_prot.c: Likewise.
42806 * sunrpc/pmap_prot2.c: Likewise.
42807 * sunrpc/pmap_rmt.c: Likewise.
42808 * sunrpc/publickey.c: Likewise.
42809 * sunrpc/rpc_cmsg.c: Likewise.
42810 * sunrpc/rpc_common.c: Likewise.
42811 * sunrpc/rpc_dtable.c: Likewise.
42812 * sunrpc/rpc_prot.c: Likewise.
42813 * sunrpc/rpc_thread.c: Likewise.
42814 * sunrpc/rtime.c: Likewise.
42815 * sunrpc/svc.c: Likewise.
42816 * sunrpc/svc_auth.c: Likewise.
42817 * sunrpc/svc_authux.c: Likewise.
42818 * sunrpc/svc_raw.c: Likewise.
42819 * sunrpc/svc_run.c: Likewise.
42820 * sunrpc/svc_simple.c: Likewise.
42821 * sunrpc/svc_tcp.c: Likewise.
42822 * sunrpc/svc_udp.c: Likewise.
42823 * sunrpc/svc_unix.c: Likewise.
42824 * sunrpc/svcauth_des.c: Likewise.
42825 * sunrpc/xcrypt.c: Likewise.
42826 * sunrpc/xdr.c: Likewise.
42827 * sunrpc/xdr_array.c: Likewise.
42828 * sunrpc/xdr_float.c: Likewise.
42829 * sunrpc/xdr_intXX_t.c: Likewise.
42830 * sunrpc/xdr_mem.c: Likewise.
42831 * sunrpc/xdr_rec.c: Likewise.
42832 * sunrpc/xdr_ref.c: Likewise.
42833 * sunrpc/xdr_sizeof.c: Likewise.
42834 * sunrpc/xdr_stdio.c: Likewise.
42835
428362011-04-10 Ulrich Drepper <drepper@gmail.com>
42837
42838 [BZ #12650]
42839 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42840 * sysdeps/ia64/dl-tls.h: Likewise.
42841 * sysdeps/powerpc/dl-tls.h: Likewise.
42842 * sysdeps/s390/dl-tls.h: Likewise.
42843 * sysdeps/sh/dl-tls.h: Likewise.
42844 * sysdeps/sparc/dl-tls.h: Likewise.
42845 * sysdeps/x86_64/dl-tls.h: Likewise.
42846 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42847
428482011-03-14 Andreas Schwab <schwab@redhat.com>
42849
42850 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42851 rpath element also skip the following colon.
42852 (expand_dynamic_string_token): Add is_path parameter and pass
42853 down to DL_DST_REQUIRED and _dl_dst_substitute.
42854 (decompose_rpath): Call expand_dynamic_string_token with
42855 non-zero is_path. Ignore empty rpaths.
42856 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42857 with zero is_path.
42858
428592011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42860
42861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42862 Make cancelable.
42863
428642011-04-09 Ulrich Drepper <drepper@gmail.com>
42865
42866 [BZ #12655]
42867 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42868 Patch by Filipe David Manana <fdmanana@apache.org>.
42869
428702011-04-07 Andreas Schwab <schwab@redhat.com>
42871
42872 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42873 Maintain aligned stack.
42874 (CHECK_RSP): Remove unused macro.
42875
428762011-04-03 Ulrich Drepper <drepper@gmail.com>
42877
42878 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42879 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42880
428812011-04-02 Ulrich Drepper <drepper@gmail.com>
42882
42883 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42884
42885 * include/features.h: Mention __USE_XOPEN2K8 in comment.
42886
428872011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42888
42889 [BZ #12518]
42890 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42891 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42892 * sysdeps/x86_64/memmove.c: New file.
42893 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42894 (memcpy): Renamed to ...
42895 (__new_memcpy): This.
42896 (memcpy): Provide GLIBC_2_14 memcpy.
42897 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42898 (memcpy): Provide GLIBC_2_2_5 memcpy.
42899
429002011-04-01 Ulrich Drepper <drepper@gmail.com>
42901
42902 [BZ #12631]
42903 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42904
429052011-03-30 Andreas Schwab <schwab@redhat.com>
42906
42907 * misc/syncfs.c: New file.
42908 * misc/Makefile (routines): Add syncfs.
42909 * posix/unistd.h: Declare syncfs.
42910 * sysdeps/unix/syscalls.list: Add syncfs.
42911
429122011-04-01 Andreas Schwab <schwab@redhat.com>
42913
42914 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42915 open_by_handle_at.
42916 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42917 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42919 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42921 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42922 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42923
429242011-04-01 Ulrich Drepper <drepper@gmail.com>
42925
42926 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42927 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42928 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42930 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42932 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42933
42934 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42935 sync_file_range.c with -fexceptions.
42936 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42937 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42938 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42939 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42940 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42941 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42942 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42943 sync_file_range as cancellation point
42944 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42945 now a wrapper around __call_sync_file_range with cancellation handling.
42946 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42947 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42948 function name to __call_sync_file_range.
42949 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42950 Add call_sync_file_range.
42951
429522011-04-01 Andreas Schwab <schwab@redhat.com>
42953
42954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42955 bits/timex.h.
42956
429572011-04-01 Ulrich Drepper <drepper@gmail.com>
42958
42959 * iconv/iconv.h: Fix typo in comment.
42960 * io/fcntl.h: Likewise.
42961 * libio/stdio.h: Likewise.
42962 * posix/spawn.h: Likewise.
42963 * posix/unistd.h: Likewise.
42964 * stdlib/stdlib.h: Likewise.
42965 * time/time.h: Likewise.
42966 * wcsmbs/wchar.h: Likewise.
42967
42968 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42969 open_by_handle): Add.
42970 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42971 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42972 Augment a few comments.
42973 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42974 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42975 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42977 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42978 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42979 open_by_handle.
42980
42981 * io/fcntl.h (AT_EMPTY_PATH): Define.
42982
429832011-03-30 Ulrich Drepper <drepper@gmail.com>
42984
42985 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42986 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42987 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42988 to...
42989 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42990 * Versions.def: Add GLIBC_2.14.
42991 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42992 Export.
42993
429942011-03-22 Ulrich Drepper <drepper@gmail.com>
42995
42996 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42997 round counter.
42998 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42999
430002011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43001
43002 [BZ #12597]
43003 * string/test-strncmp.c (do_page_test): New function.
43004 (check2): Likewise.
43005 (test_main): Call check2.
43006 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43007
430082011-03-20 Ulrich Drepper <drepper@gmail.com>
43009
43010 [BZ #12587]
43011 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43012 Handle cache information in CPU leaf 4.
43013 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43014
430152011-03-18 Ulrich Drepper <drepper@gmail.com>
43016
43017 [BZ #12583]
43018 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43019 character representation.
43020 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43021
430222011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43023
43024 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43025 END(__isnan) to END(__isnanf) to match function entry point/label
43026 EALIGN(__isnanf,...).
43027
430282011-03-10 Jakub Jelinek <jakub@redhat.com>
43029
43030 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43031
430322011-03-10 Ulrich Drepper <drepper@gmail.com>
43033
43034 [BZ #12510]
43035 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43036 copy from the symbol referenced in the relocation to initialize the
43037 used variable.
43038 Patch by Piotr Bury <pbury@goahead.com>.
43039 * elf/Makefile: Add rules to build and tst-unique3.
43040 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43041 * elf/tst-unique3.cc: New file.
43042 * elf/tst-unique3.h: New file.
43043 * elf/tst-unique3lib.cc: New file.
43044 * elf/tst-unique3lib2.cc: New file.
43045
43046 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43047
430482011-03-10 Mike Frysinger <vapier@gentoo.org>
43049
43050 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43051 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43052 to _start.
43053
430542011-03-06 Ulrich Drepper <drepper@gmail.com>
43055
43056 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43057 to-be-loaded object along a path to loader is ld.so.
43058
430592011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43060 Ulrich Drepper <drepper@gmail.com>
43061
43062 * sysdeps/x86_64/memset.S: After aligning destination, code
43063 branches to different locations depending on the value of
43064 misalignment, when multiarch is enabled. Fix this.
43065
430662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43067
43068 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43069 Set _x86_64_preferred_memory_instruction for AMD processsors.
43070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43071 Set bit_Prefer_SSE_for_memop for AMD processors.
43072
430732011-03-04 Ulrich Drepper <drepper@gmail.com>
43074
43075 * libio/fmemopen.c (fmemopen): Optimize a bit.
43076
430772011-03-03 Andreas Schwab <schwab@redhat.com>
43078
43079 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43080
430812011-03-03 Roland McGrath <roland@redhat.com>
43082
43083 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43084
430852011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43086
43087 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43088 __bzero_ultra1 instead of __memset_ultra1.
43089
430902011-02-23 Andreas Schwab <schwab@redhat.com>
43091 Ulrich Drepper <drepper@gmail.com>
43092
43093 [BZ #12509]
43094 * include/link.h (struct link_map): Add l_orig_initfini.
43095 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43096 returning unsuccessfully.
43097 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43098 close of a file loaded at startup, restore the original l_initfini
43099 list.
43100 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43101 list, store the pointer.
43102 * elf/Makefile ($(objpfx)noload-mem): New rule.
43103 (noload-ENV): Define.
43104 (tests): Add $(objpfx)noload-mem.
43105 * elf/noload.c: Include <memcheck.h>.
43106 (main): Call mtrace. Close all opened handles.
43107
431082011-02-17 Andreas Schwab <schwab@redhat.com>
43109
43110 [BZ #12454]
43111 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43112 dependencies are missing.
43113
431142011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43115
43116 Fix __if_freereq crash: Unlike the generic version which uses free,
43117 Hurd needs munmap.
43118 * sysdeps/mach/hurd/ifreq.h: New file.
43119
431202011-01-27 Petr Baudis <pasky@suse.cz>
43121 Ulrich Drepper <drepper@gmail.com>
43122
43123 [BZ 12445]#
43124 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43125 to extend_alloca().
43126 * stdio-common/bug23.c: New file.
43127 * stdio-common/Makefile (tests): Add bug23.
43128
431292010-09-28 Andreas Schwab <schwab@redhat.com>
43130 Ulrich Drepper <drepper@gmail.com>
43131
43132 [BZ #12489]
43133 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43134 before performing relro protection. At old place add assertion
43135 to make sure nothing changed.
43136
431372011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43138 Glauber de Oliveira Costa <glommer@gmail.com>
43139
43140 * elf/elf.h: Add new ARM TLS relocs.
43141
431422011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43143
43144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43145 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43146 cast from r3.
43147 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43148 'tests' variable.
43149 * sysdeps/wordsize-64/tst-writev.c: New file.
43150
431512011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43152
43153 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43154 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43155 insns in _dl_start to prevent a TOC reference before relocs are
43156 resolved.
43157
431582011-02-15 Ulrich Drepper <drepper@gmail.com>
43159
43160 [BZ #12469]
43161 * Makeconfig: Remove RANLIB definition.
43162 * Makerules: Don't use RANLIB.
43163 * aclocal.m4: Remove ranlib test.
43164 * configure.in: No need to check for ranlib.
43165 * elf/rtld-Rules: Don't use RANLIB.
43166
431672011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43168
43169 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43170 protection macro.
43171 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43172 inclusion protection macro.
43173
43174 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43175 SIGRTMIN and SIGRTMAX and print information in that case only when
43176 SIGRTMIN is defined.
43177
431782011-02-11 Jakub Jelinek <jakub@redhat.com>
43179
43180 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43181 arginfo fn returning -1.
43182
43183 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43184 and thousands string is zero terminated.
43185
431862011-02-03 Andreas Schwab <schwab@redhat.com>
43187
43188 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43189 sysdeps/unix/sysv/linux/bits/socket.h.
43190
431912011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43192
43193 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43194 (__CPU_COUNT): Remove old macros.
43195 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43196 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43197 (__CPU_ALLOC, __CPU_FREE): Add macros.
43198 (__sched_cpualloc, __sched_cpufree): Add declarations.
43199
432002011-02-05 Ulrich Drepper <drepper@gmail.com>
43201
43202 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43203 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43204 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43205 (readdhstai): Return value of addhstaiX call.
43206 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43207 (addgrbyX): Return value returned by cache_addgr.
43208 (readdgrbyname): Return value returned by addgrbyX.
43209 (readdgrbygid): Likewise.
43210 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43211 (addpwbyX): Return value returned by cache_addpw.
43212 (readdpwbyname): Return value returned by addhstbyX.
43213 (readdpwbyuid): Likewise.
43214 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43215 (addservbyX): Return value returned by cache_addserv.
43216 (readdservbyname): Return value returned by addservbyX:
43217 (readdservbyport): Likewise.
43218 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43219 (addhstbyX): Return value returned by cache_addhst.
43220 (readdhstbyname): Return value returned by addhstbyX.
43221 (readdhstbyaddr): Likewise.
43222 (readdhstbynamev6): Likewise.
43223 (readdhstbyaddrv6): Likewise.
43224 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43225 (readdinitgroups): Return value returned by addinitgroupsX.
43226 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43227 (prune_cache): Keep track of timeout value of re-added entries.
43228 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43229 * nscd/nscd.h: Adjust prototypes of readd* functions.
43230
432312011-02-04 Roland McGrath <roland@redhat.com>
43232
43233 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43234 (nis_stats): Likewise.
43235 * nis/nis_modify.c (nis_modify): Likewise.
43236 * nis/nis_remove.c (nis_remove): Likewise.
43237 * nis/nis_add.c (nis_add): Likewise.
43238
43239 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43240
43241 * posix/fnmatch_loop.c: Add some consts.
43242
43243 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43244
432452011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43246
43247 [BZ #12460]
43248 * config.make.in (config-cflags-novzeroupper): Define.
43249 * configure.in: Substitute libc_cv_cc_novzeroupper.
43250 * elf/Makefile (AVX-CFLAGS): Define.
43251 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43252 (CFLAGS-tst-auditmod4a.c): Likewise.
43253 (CFLAGS-tst-auditmod4b.c): Likewise.
43254 (CFLAGS-tst-auditmod6b.c): Likewise.
43255 (CFLAGS-tst-auditmod6c.c): Likewise.
43256 (CFLAGS-tst-auditmod7b.c): Likewise.
43257 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43258
432592011-02-02 Ulrich Drepper <drepper@gmail.com>
43260
43261 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43262 function to the callback.
43263 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43264
432652011-02-02 Andreas Schwab <schwab@redhat.com>
43266
43267 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43268 of errno.
43269
432702011-01-19 Ulrich Drepper <drepper@gmail.com>
43271
43272 [BZ #11724]
43273 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43274 of constructors.
43275 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43276 of destructors.
43277 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43278
43279 [BZ #11724]
43280 * elf/Makefile: Add rules to build and run new test.
43281 * elf/tst-initorder.c: New file.
43282 * elf/tst-initorder.exp: New file.
43283 * elf/tst-initordera1.c: New file.
43284 * elf/tst-initordera2.c: New file.
43285 * elf/tst-initordera3.c: New file.
43286 * elf/tst-initordera4.c: New file.
43287 * elf/tst-initorderb1.c: New file.
43288 * elf/tst-initorderb2.c: New file.
43289 * elf/tst-order-a1.c: New file.
43290 * elf/tst-order-a2.c: New file.
43291 * elf/tst-order-a3.c: New file.
43292 * elf/tst-order-a4.c: New file.
43293 * elf/tst-order-b1.c: New file.
43294 * elf/tst-order-b2.c: New file.
43295 * elf/tst-order-main.c: New file.
43296 New test case by George Gensure <werkt0@gmail.com>.
43297
432982010-10-01 Andreas Schwab <schwab@redhat.com>
43299
43300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43301 decoding ACE if AI_CANONIDN.
43302
433032011-01-18 Ulrich Drepper <drepper@gmail.com>
43304
43305 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43306
433072011-01-17 Ulrich Drepper <drepper@gmail.com>
43308
43309 * version.h (RELEASE): Bump for 2.13 release.
43310 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43311
43312 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43313
43314 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43315 MADV_NOHUGEPAGE.
43316 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43317 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43318 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43319 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43320 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43321 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43322
43323 * posix/getconf.c: Update copyright year.
43324 * catgets/gencat.c: Likewise.
43325 * csu/version.c: Likewise.
43326 * debug/catchsegv.sh: Likewise.
43327 * debug/xtrace.sh: Likewise.
43328 * elf/ldconfig.c: Likewise.
43329 * elf/ldd.bash.in: Likewise.
43330 * elf/sprof.c (print_version): Likewise.
43331 * iconv/iconv_prog.c: Likewise.
43332 * iconv/iconvconfig.c: Likewise.
43333 * locale/programs/locale.c: Likewise.
43334 * locale/programs/localedef.c: Likewise.
43335 * malloc/memusage.sh: Likewise.
43336 * malloc/mtrace.pl: Likewise.
43337 * nscd/nscd.c (print_version): Likewise.
43338 * nss/getent.c: Likewise.
43339
43340 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43341 PF_CAIF, and PF_ALG.
43342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43343
433442011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43345
43346 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43347 (modules-names): Use them.
43348 (ifunc-test-modules, ifunc-pie-tests): Define.
43349 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43350 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43351 (test-extras): Likewise.
43352 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43353 $(compile-command.c).
43354 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43355 (all-built-dso): Define.
43356 (check-textrel.out, check-execstack.out): Depend on it.
43357
43358 * configure.in: Don't override --enable-multi-arch.
43359
433602011-01-15 Ulrich Drepper <drepper@gmail.com>
43361
43362 [BZ #6812]
43363 * nscd/hstcache.c (tryagain): Define.
43364 (cache_addhst): Return tryagain not notfound for temporary errors.
43365 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43366 failed.
43367
433682011-01-14 Ulrich Drepper <drepper@gmail.com>
43369
43370 [BZ #10563]
43371 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43372 to make the syscall.
43373 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43374
43375 [BZ #12378]
43376 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43377 and fall back to matching as normal character if the string ends before
43378 the matching ']' is found. This is what POSIX requires.
43379 * posix/testfnm.c: Adjust test result.
43380 * posix/globtest.sh: Adjust test result. Add new test.
43381 * posix/tst-fnmatch.input: Likewise.
43382 * posix/tst-fnmatch2.c: Add new test.
43383
433842010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43385
43386 * elf/Makefile (check-execstack): Revert last change. Depend on
43387 check-execstack.h.
43388 (check-execstack.h): New target.
43389 (generated): Add check-execstack.h.
43390 * elf/check-execstack.c: Include "check-execstack.h".
43391 (main): Revert last change.
43392 (handle_file): Return zero if GNU_STACK is absent and
43393 DEFAULT_STACK_PERMS doesn't include PF_X.
43394
433952011-01-13 Ulrich Drepper <drepper@gmail.com>
43396
43397 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43398 in child fails because the descriptor is already closed.
43399 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43400 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43401 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43402
43403 [BZ #12397]
43404 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43405 syscall.
43406
43407 [BZ #10484]
43408 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43409 temporary buffer used to handle multi lookups locally.
43410 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43411
434122011-01-12 Ulrich Drepper <drepper@gmail.com>
43413
43414 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43415 loader is ld.so.
43416
434172011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43418
43419 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43420 alignment for SSE2.
43421
434222011-01-12 Ulrich Drepper <drepper@gmail.com>
43423
43424 [BZ #12394]
43425 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43426 characters. When rounding increased number of integer digits recompute
43427 number of groups.
43428 * stdio-common/tst-grouping.c: New file.
43429 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43430
434312011-01-09 Ulrich Drepper <drepper@gmail.com>
43432
43433 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43434 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43435
43436 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43437 void.
43438 * bits/select.h: Likewise.
43439
434402011-01-08 Ulrich Drepper <drepper@gmail.com>
43441
43442 * po/ja.po: Update from translation team.
43443
434442011-01-04 David S. Miller <davem@sunset.davemloft.net>
43445
43446 [BZ #11155]
43447 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43448 implementation just like for lxstat, fxstatat, et al.
43449
434502010-12-27 Jim Meyering <meyering@redhat.com>
43451
43452 [BZ #12348]
43453 * posix/regexec.c (build_trtable): Return failure indication upon
43454 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43455
434562010-12-25 Ulrich Drepper <drepper@gmail.com>
43457
43458 [BZ #12201]
43459 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43460 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43461 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43462 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43463
43464 [BZ #12207]
43465 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43466
43467 [BZ #12204]
43468 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43469 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43470
434712010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43472
43473 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43474 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43475 script has SORT_BY_INIT_PRIORITY.
43476 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43477 NO_CTORS_DTORS_SECTIONS is defined.
43478 * elf/soinit.c: Likewise.
43479 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43480 NO_CTORS_DTORS_SECTIONS is defined.
43481 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43482 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43483 * sysdeps/sh/init-first.c: Likewise.
43484 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43485
434862010-12-24 Ulrich Drepper <drepper@gmail.com>
43487
43488 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43489 always use the slow path.
43490
434912010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43492
43493 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43494 similar rule which adds the sysdep directories to the header search in
43495 order to pick up the correct platform stackinfo.h.
43496 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43497 perform test if it is, otherwise return successfully without testing.
43498 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43499 DEFAULT_STACK_PERMS define in stackinfo.h.
43500 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43501 defined in stackinfo.h.
43502 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43503 DEFAULT_STACK_PERMS defined in stackinfo.h.
43504 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43505 * sysdeps/ia64/stackinfo.h: Likewise.
43506 * sysdeps/s390/stackinfo.h: Likewise.
43507 * sysdeps/sh/stackinfo.h: Likewise.
43508 * sysdeps/sparc/stackinfo.h: Likewise.
43509 * sysdeps/x86_64/stackinfo.h: Likewise.
43510 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43511 PF_X for powerpc64. Retain PF_X for powerpc32.
43512
435132010-12-19 Ulrich Drepper <drepper@gmail.com>
43514
43515 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43516 accurately.
43517 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43518 GETDENTS_64BIT_ALIGNED.
43519
435202010-12-14 Ulrich Drepper <dreper@gmail.com>
43521
43522 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43523
435242010-12-10 Andreas Schwab <schwab@redhat.com>
43525
43526 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43527 _GNU_SOURCE.
43528
43529 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43530 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43531 Remove __restrict.
43532 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43533 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43534
435352010-12-09 Ulrich Drepper <drepper@gmail.com>
43536
43537 [BZ #11655]
43538 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43539 are initialized.
43540
435412010-12-09 Jakub Jelinek <jakub@redhat.com>
43542
43543 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43544
435452010-12-03 Ulrich Drepper <drepper@gmail.com>
43546
43547 * po/it.po: Update from translation team.
43548
435492010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43550
43551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43552 unused codes.
43553
435542010-11-30 Ulrich Drepper <drepper@gmail.com>
43555
43556 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43557
435582010-11-24 Andreas Schwab <schwab@redhat.com>
43559
43560 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43561 specially.
43562 (gaih_getanswer_slice): Likewise.
43563
435642010-10-20 Jakub Jelinek <jakub@redhat.com>
43565
43566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43567
435682010-05-31 Petr Baudis <pasky@suse.cz>
43569
43570 [BZ #11149]
43571 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43572 silently even in the chroot mode.
43573
435742010-11-22 Ulrich Drepper <drepper@gmail.com>
43575
43576 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43577 last patch a bit. Pretty printing
43578
435792010-05-31 Petr Baudis <pasky@suse.cz>
43580
43581 [BZ #10085]
43582 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43583 initialization of skip_initgroups_dyn.
43584
435852010-11-19 Ulrich Drepper <drepper@gmail.com>
43586
43587 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43588 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43589
435902010-11-16 Ulrich Drepper <drepper@gmail.com>
43591
43592 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43593
435942010-11-11 Andreas Schwab <schwab@redhat.com>
43595
43596 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43597 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43598 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43599 ($(objpfx)tst-fnmatch-mem): New rule.
43600 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43601 * posix/tst-fnmatch.c (main): Call mtrace.
43602
436032010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43604
43605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43606 Support Intel processor model 6 and model 0x2c.
43607
436082010-11-10 Luis Machado <luisgpm@br.ibm.com>
43609
43610 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43611 signed comparison.
43612
436132010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43614
43615 [BZ #12205]
43616 * string/test-strncasecmp.c (check_result): New function.
43617 (do_one_test): Use it.
43618 (check1): New function.
43619 (test_main): Use it.
43620 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43621 Support strcasecmp and strncasecmp.
43622
436232010-11-08 Ulrich Drepper <drepper@gmail.com>
43624
43625 [BZ #12194]
43626 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43627 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43628
436292010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43630
43631 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43632 IFUNC support.
43633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43634 memset-x86-64.
43635 * sysdeps/x86_64/multiarch/bzero.S: New file.
43636 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43637 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43638 * sysdeps/x86_64/multiarch/memset.S: New file.
43639 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43641 Set bit_Prefer_SSE_for_memop for Intel processors.
43642 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43643 Define.
43644 (index_Prefer_SSE_for_memop): Define.
43645 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43646
436472010-11-04 Luis Machado <luisgpm@br.ibm.com>
43648
43649 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43650 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43651
436522010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43653
43654 [BZ #12191]
43655 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43656 (__x86_64_raw_data_cache_size_half): Likewise.
43657 (__x86_64_raw_shared_cache_size): Likewise.
43658 (__x86_64_raw_shared_cache_size_half): Likewise.
43659
43660 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43661 (__x86_64_raw_data_cache_size_half): Likewise.
43662 (__x86_64_raw_shared_cache_size): Likewise.
43663 (__x86_64_raw_shared_cache_size_half): Likewise.
43664 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43665 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43666 and __x86_64_raw_shared_cache_size_half. Round
43667 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43668 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43669 to multiple of 256 bytes.
43670
436712010-11-03 Ulrich Drepper <drepper@gmail.com>
43672
43673 [BZ #12167]
43674 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43675 of inacessible symlinks. Verify result of symlink before returning it.
43676 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43677 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43678
436792010-10-28 Erich Ritz <erichritz@gmail.com>
43680
43681 * math/math.h (isinf): Fix typo in comment.
43682
436832010-11-01 Ulrich Drepper <drepper@gmail.com>
43684
43685 * po/da.po: Update from translation team.
43686
436872010-10-26 Ulrich Drepper <drepper@gmail.com>
43688
43689 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43690 is added to the list.
43691
436922010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43693 Ulrich Drepper <drepper@gmail.com>
43694
43695 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43696 the global list here. Move code to...
43697 (_dl_add_to_namespace_list): ...here. New function.
43698 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43699 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43700 * elf/dl-load.c (lose): Don't remove the element from the list.
43701 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43702 (_dl_map_object): Likewise.
43703
437042010-10-25 Ulrich Drepper <drepper@gmail.com>
43705
43706 [BZ #12159]
43707 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43708 into all bytes of SSE register.
43709 Patch by Richard Li <richardpku@gmail.com>.
43710
437112010-10-24 Ulrich Drepper <drepper@gmail.com>
43712
43713 [BZ #12140]
43714 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43715 perturbing.
43716
437172010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43718
43719 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43720 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43721 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43722 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43724 submachine.
43725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43726
437272010-10-22 Andreas Schwab <schwab@redhat.com>
43728
43729 * include/dlfcn.h (__RTLD_SECURE): Define.
43730 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43731 mode & __RTLD_SECURE instead.
43732 (open_path): Rename preloaded parameter to secure.
43733 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43734 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43735 * elf/dl-deps.c (openaux): Likewise.
43736 * elf/rtld.c (struct map_args): Remove is_preloaded.
43737 (map_doit): Don't use it.
43738 (dl_main): Likewise.
43739 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43740 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43741
437422010-09-09 Andreas Schwab <schwab@redhat.com>
43743
43744 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43745 (sysd-rules-targets): Remove duplicates.
43746 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43747 rtld-%.$o dependency.
43748
437492010-10-18 Andreas Schwab <schwab@redhat.com>
43750
43751 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43752 _dl_map_object do it.
43753
437542010-10-19 Ulrich Drepper <drepper@gmail.com>
43755
43756 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43757 fast fma builtins, define the macros in the C99 standard.
43758 (FP_FAST_FMAF): Likewise.
43759 (FP_FAST_FMAL): Likewise.
43760 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43761
43762 * bits/mathdef.h: Update copyright year.
43763 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43764
437652010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43766
43767 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43768 builtins, define the macros in the C99 standard.
43769 (FP_FAST_FMAF): Likewise.
43770 (FP_FAST_FMAL): Likewise.
43771 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43772 multiply/add.
43773 (FP_FAST_FMAF): Likewise.
43774
437752010-10-15 Jakub Jelinek <jakub@redhat.com>
43776
43777 [BZ #3268]
43778 * math/libm-test.inc (fma_test): Some new testcases.
43779 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43780 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43781 y and infinite z. Do multiplication by C already in long double.
43782 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43784 y and infinite z. Do bitwise or of inexact bit into u.d.
43785 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43786 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43787 * sysdeps/i386/fpu/s_fma.S: Removed.
43788 * sysdeps/i386/fpu/s_fmal.S: Removed.
43789
437902010-10-16 Jakub Jelinek <jakub@redhat.com>
43791
43792 [BZ #3268]
43793 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43794 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43795 computation is not scheduled after fetestexcept. Fix value
43796 of minimum denormal long double.
43797
437982010-10-14 Jakub Jelinek <jakub@redhat.com>
43799
43800 [BZ #3268]
43801 * math/libm-test.inc (fma_test): Add some more tests.
43802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43803 correctly.
43804
438052010-10-15 Andreas Schwab <schwab@redhat.com>
43806
43807 * scripts/data/localplt-s390-linux-gnu.data: New file.
43808 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43809
438102010-10-13 Jakub Jelinek <jakub@redhat.com>
43811
43812 [BZ #3268]
43813 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43814 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43815 instead of dbl-64.
43816 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43817 inlines.
43818 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43820 if one of x and y is very large and the other is subnormal.
43821 * sysdeps/s390/fpu/s_fmaf.c: New file.
43822 * sysdeps/s390/fpu/s_fma.c: New file.
43823 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43824 * sysdeps/powerpc/fpu/s_fma.S: New file.
43825 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43826 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43827 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43828
438292010-10-12 Jakub Jelinek <jakub@redhat.com>
43830
43831 [BZ #3268]
43832 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43833 fma tests.
43834 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43835 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43836 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43837 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43838 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43839 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43840 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43841
438422010-10-12 Ulrich Drepper <drepper@redhat.com>
43843
43844 [BZ #12078]
43845 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43846 * posix/bug-regex31.input: Add test case.
43847
438482010-10-11 Ulrich Drepper <drepper@gmail.com>
43849
43850 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43851 * posix/bug-regex31.input: New file.
43852
43853 [BZ #12078]
43854 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43855 (parse_sub_exp): Fix last change, use postorder.
43856
43857 * posix/bug-regex31.c: New file.
43858 * posix/Makefile: Add rules to build and run bug-regex31.
43859
43860 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43861
43862 [BZ #12078]
43863 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43864
43865 [BZ #12108]
43866 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43867 to have entries in sys_siglist.
43868
43869 [BZ #12093]
43870 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43871 be NULL.
43872
438732010-10-07 Jakub Jelinek <jakub@redhat.com>
43874
43875 [BZ #3268]
43876 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43877 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43878 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43879 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43880 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43881 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43882 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43883 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43884 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43885 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43886 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43887 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43888 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43889 * math/ftestexcept.c (fetestexcept): Likewise.
43890 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43891 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43892 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43893 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43894 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43895 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43896 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43897
438982010-10-11 Ulrich Drepper <drepper@gmail.com>
43899
43900 [BZ #12107]
43901 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43902 newline.
43903
439042010-10-06 Ulrich Drepper <drepper@gmail.com>
43905
43906 * string/bug-strstr1.c: New file.
43907 * string/Makefile: Add rules to build and run bug-strstr1.
43908
439092010-10-05 Eric Blake <eblake@redhat.com>
43910
43911 [BZ #12092]
43912 * string/str-two-way.h (two_way_long_needle): Always clear memory
43913 when skipping input due to the shift table.
43914
439152010-10-03 Ulrich Drepper <drepper@gmail.com>
43916
43917 [BZ #12005]
43918 * malloc/mcheck.c: Handle large requests.
43919
43920 [BZ #12077]
43921 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43922 for strncmp and strncasecmp.
43923 * string/stratcliff.c: Add tests for strcmp and strncmp.
43924 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43925
439262010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43927
43928 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43929 __set_fpscr.
43930
439312010-09-30 Andreas Jaeger <aj@suse.de>
43932
43933 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43934 (CGROUP_SUPER_MAGIC): Define.
43935 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43936 Handle btrfs and cgroup file systems.
43937 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43938 Likewise.
43939
439402010-09-27 Luis Machado <luisgpm@br.ibm.com>
43941
43942 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43943 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43944
439452010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43946
43947 [BZ #12067]
43948 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43949 trying to locate the ELF header.
43950
439512010-09-27 Andreas Schwab <schwab@redhat.com>
43952
43953 [BZ #11611]
43954 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43955 Mask out sign-bit copies when constructing f_fsid.
43956
439572010-09-24 Petr Baudis <pasky@suse.cz>
43958
43959 * debug/stack_chk_fail_local.c: Add missing licence exception.
43960 * debug/warning-nop.c: Likewise.
43961
439622010-09-15 Joseph Myers <joseph@codesourcery.com>
43963
43964 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43965 implementing getdents64 using getdents syscall, set d_type if
43966 __ASSUME_GETDENTS32_D_TYPE.
43967
439682010-09-16 Andreas Schwab <schwab@redhat.com>
43969
43970 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43971 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43972
439732010-09-21 Ulrich Drepper <drepper@redhat.com>
43974
43975 [BZ #12037]
43976 * posix/unistd.h: Undo change of feature selection for ftruncate from
43977 2010-01-11.
43978
439792010-09-20 Ulrich Drepper <drepper@redhat.com>
43980
43981 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43982 detection.
43983
439842010-09-20 Andreas Schwab <schwab@redhat.com>
43985
43986 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43987 fanotify_mark.
43988 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43989
439902010-09-14 Andreas Schwab <schwab@redhat.com>
43991
43992 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43993 variables after CHECK_SP call.
43994 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43995
439962010-09-13 Andreas Schwab <schwab@redhat.com>
43997 Ulrich Drepper <drepper@redhat.com>
43998
43999 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44000 re-relocationg ld.so.
44001 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44002 _dl_init_paths call.
44003 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44004 here anymore.
44005
440062010-09-14 Ulrich Drepper <drepper@redhat.com>
44007
44008 * resolv/res_init.c (__res_vinit): Count the default server we added.
44009
440102010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44011 Ulrich Drepper <drepper@redhat.com>
44012
44013 [BZ #11968]
44014 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44015 (____longjmp_chk): Use %ebx for saving value across system call.
44016 Add unwind info.
44017
440182010-09-06 Andreas Schwab <schwab@redhat.com>
44019
44020 * manual/Makefile: Don't mix pattern rules with normal rules.
44021
440222010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44023
44024 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44025 operation.
44026 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44027 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44028 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44029 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44030 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44031 Likewise.
44032
440332010-09-04 Ulrich Drepper <drepper@redhat.com>
44034
44035 [BZ #11979]
44036 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44037 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44038
440392010-09-02 Ulrich Drepper <drepper@redhat.com>
44040
44041 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44042 * sysdeps/x86_64/addmul_1.S: Likewise.
44043 * sysdeps/x86_64/lshift.S: Likewise.
44044 * sysdeps/x86_64/mul_1.S: Likewise.
44045 * sysdeps/x86_64/rshift.S: Likewise.
44046 * sysdeps/x86_64/sub_n.S: Likewise.
44047 * sysdeps/x86_64/submul_1.S: Likewise.
44048
440492010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44050
44051 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44052 Define __sched_param instead of SCHED_* and sched_param when
44053 <bits/sched.h> is included with __need_schedparam defined.
44054 * bits/sched.h [__need_schedparam]
44055 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44056 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44057 (__defined_schedparam): Define to 1.
44058 (__sched_param): New structure, identical to sched_param.
44059 (__need_schedparam): Undefine.
44060
440612010-08-31 Mike Frysinger <vapier@gentoo.org>
44062
44063 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44064 (epoll_create1): Declare.
44065
44066 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44067
440682010-08-31 Andreas Schwab <schwab@redhat.com>
44069
44070 [BZ #7066]
44071 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44072 shifting retval into place.
44073
440742010-09-01 Ulrich Drepper <drepper@redhat.com>
44075
44076 * nis/rpcsvc/nis.h: Update copyright notice.
44077 * nis/rpcsvc/nis.x: Likewise.
44078 * nis/rpcsvc/nis_callback.h: Likewise.
44079 * nis/rpcsvc/nis_callback.x: Likewise.
44080 * nis/rpcsvc/nis_object.x: Likewise.
44081 * nis/rpcsvc/nis_tags.h: Likewise.
44082 * nis/rpcsvc/yp.h: Likewise.
44083 * nis/rpcsvc/yp.x: Likewise.
44084 * nis/rpcsvc/ypupd.h: Likewise.
44085 * nis/yp_xdr.c: Likewise.
44086 * nis/ypupdate_xdr.c: Likewise.
44087
44088 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44089 mainly the body of pmap_getport. Add parameters to specify timeouts.
44090 (pmap_getport): Use __libc_rpc_getport.
44091 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44092 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44093 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44094
440952010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44096
44097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44098 fanotify_mark.
44099
441002010-08-27 Roland McGrath <roland@redhat.com>
44101
44102 * sysdeps/i386/i686/multiarch/Makefile
44103 (CFLAGS-varshift.c): New variable.
44104
441052010-08-27 Ulrich Drepper <drepper@redhat.com>
44106
44107 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44108 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44109
44110 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44111
44112 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44113
441142010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44115
44116 * sysdeps/x86_64/strlen.S: Unroll the loop.
44117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44118 strlen-sse2 strlen-sse2-bsf.
44119 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44120 __strlen_no_bsf if bit_Slow_BSF is set.
44121 (__strlen_sse42): Removed.
44122 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44123 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44124
441252010-08-25 Roland McGrath <roland@redhat.com>
44126
44127 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44128 * sysdeps/x86_64/multiarch/varshift.c: New file.
44129 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44130 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44131 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44132 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44133
441342010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44135
44136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44137 strlen-sse2 strlen-sse2-bsf.
44138 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44139 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44140 (__strlen_sse2): Removed.
44141 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44142 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44144 bit_Slow_BSF for Atom.
44145 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44146 (index_Slow_BSF): Define.
44147 (HAS_SLOW_BSF): Define.
44148
441492010-08-25 Ulrich Drepper <drepper@redhat.com>
44150
44151 [BZ #10851]
44152 * resolv/res_init.c (__res_vinit): When no server address at all
44153 is given default to loopback.
44154
441552010-08-24 Roland McGrath <roland@redhat.com>
44156
44157 * configure.in: Remove config-name.h generation.
44158 * configure: Regenerated.
44159 * config-name.in: File removed.
44160 * scripts/config-uname.sh: New file.
44161 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44162 ($(objdir)config-name.h): New target.
44163
44164 * sunrpc/rpc_parse.h: Avoid nested comment.
44165
441662010-08-24 Richard Henderson <rth@redhat.com>
44167 Ulrich Drepper <drepper@redhat.com>
44168 H.J. Lu <hongjiu.lu@intel.com>
44169
44170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44172 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44173 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44174 _mm_alignr_epi8 with _mm_loadu_si128.
44175 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44176 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44177 (__m128i_shift_right): Removed.
44178 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44179 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44180 * sysdeps/x86_64/multiarch/varshift.h: New file.
44181 * sysdeps/x86_64/multiarch/varshift.S: New file.
44182
441832010-08-21 Mike Frysinger <vapier@gentoo.org>
44184
44185 * configure.in: Move assembler checks to before sysdep dir checking.
44186
441872010-08-20 Petr Baudis <pasky@suse.cz>
44188
44189 * LICENSES: Sync the sunrpc license.
44190
441912010-08-19 Ulrich Drepper <drepper@redhat.com>
44192
44193 * sunrpc/auth_des.c: Update copyright notice once again.
44194 * sunrpc/auth_none.c: Likewise.
44195 * sunrpc/auth_unix.c: Likewise.
44196 * sunrpc/authdes_prot.c: Likewise.
44197 * sunrpc/authuxprot.c: Likewise.
44198 * sunrpc/bindrsvprt.c: Likewise.
44199 * sunrpc/clnt_gen.c: Likewise.
44200 * sunrpc/clnt_perr.c: Likewise.
44201 * sunrpc/clnt_raw.c: Likewise.
44202 * sunrpc/clnt_simp.c: Likewise.
44203 * sunrpc/clnt_tcp.c: Likewise.
44204 * sunrpc/clnt_udp.c: Likewise.
44205 * sunrpc/clnt_unix.c: Likewise.
44206 * sunrpc/des_crypt.c: Likewise.
44207 * sunrpc/des_soft.c: Likewise.
44208 * sunrpc/get_myaddr.c: Likewise.
44209 * sunrpc/getrpcport.c: Likewise.
44210 * sunrpc/key_call.c: Likewise.
44211 * sunrpc/key_prot.c: Likewise.
44212 * sunrpc/openchild.c: Likewise.
44213 * sunrpc/pm_getmaps.c: Likewise.
44214 * sunrpc/pm_getport.c: Likewise.
44215 * sunrpc/pmap_clnt.c: Likewise.
44216 * sunrpc/pmap_prot.c: Likewise.
44217 * sunrpc/pmap_prot2.c: Likewise.
44218 * sunrpc/pmap_rmt.c: Likewise.
44219 * sunrpc/rpc/auth.h: Likewise.
44220 * sunrpc/rpc/auth_unix.h: Likewise.
44221 * sunrpc/rpc/clnt.h: Likewise.
44222 * sunrpc/rpc/des_crypt.h: Likewise.
44223 * sunrpc/rpc/key_prot.h: Likewise.
44224 * sunrpc/rpc/netdb.h: Likewise.
44225 * sunrpc/rpc/pmap_clnt.h: Likewise.
44226 * sunrpc/rpc/pmap_prot.h: Likewise.
44227 * sunrpc/rpc/pmap_rmt.h: Likewise.
44228 * sunrpc/rpc/rpc.h: Likewise.
44229 * sunrpc/rpc/rpc_des.h: Likewise.
44230 * sunrpc/rpc/rpc_msg.h: Likewise.
44231 * sunrpc/rpc/svc.h: Likewise.
44232 * sunrpc/rpc/svc_auth.h: Likewise.
44233 * sunrpc/rpc/types.h: Likewise.
44234 * sunrpc/rpc/xdr.h: Likewise.
44235 * sunrpc/rpc_clntout.c: Likewise.
44236 * sunrpc/rpc_cmsg.c: Likewise.
44237 * sunrpc/rpc_common.c: Likewise.
44238 * sunrpc/rpc_cout.c: Likewise.
44239 * sunrpc/rpc_dtable.c: Likewise.
44240 * sunrpc/rpc_hout.c: Likewise.
44241 * sunrpc/rpc_main.c: Likewise.
44242 * sunrpc/rpc_parse.c: Likewise.
44243 * sunrpc/rpc_parse.h: Likewise.
44244 * sunrpc/rpc_prot.c: Likewise.
44245 * sunrpc/rpc_sample.c: Likewise.
44246 * sunrpc/rpc_scan.c: Likewise.
44247 * sunrpc/rpc_scan.h: Likewise.
44248 * sunrpc/rpc_svcout.c: Likewise.
44249 * sunrpc/rpc_tblout.c: Likewise.
44250 * sunrpc/rpc_util.c: Likewise.
44251 * sunrpc/rpc_util.h: Likewise.
44252 * sunrpc/rpcinfo.c: Likewise.
44253 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44254 * sunrpc/rpcsvc/key_prot.x: Likewise.
44255 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44256 * sunrpc/rpcsvc/mount.x: Likewise.
44257 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44258 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44259 * sunrpc/rpcsvc/rex.x: Likewise.
44260 * sunrpc/rpcsvc/rstat.x: Likewise.
44261 * sunrpc/rpcsvc/rusers.x: Likewise.
44262 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44263 * sunrpc/rpcsvc/spray.x: Likewise.
44264 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44265 * sunrpc/rtime.c: Likewise.
44266 * sunrpc/svc.c: Likewise.
44267 * sunrpc/svc_auth.c: Likewise.
44268 * sunrpc/svc_authux.c: Likewise.
44269 * sunrpc/svc_raw.c: Likewise.
44270 * sunrpc/svc_run.c: Likewise.
44271 * sunrpc/svc_simple.c: Likewise.
44272 * sunrpc/svc_tcp.c: Likewise.
44273 * sunrpc/svc_udp.c: Likewise.
44274 * sunrpc/svc_unix.c: Likewise.
44275 * sunrpc/svcauth_des.c: Likewise.
44276 * sunrpc/xcrypt.c: Likewise.
44277 * sunrpc/xdr.c: Likewise.
44278 * sunrpc/xdr_array.c: Likewise.
44279 * sunrpc/xdr_float.c: Likewise.
44280 * sunrpc/xdr_mem.c: Likewise.
44281 * sunrpc/xdr_rec.c: Likewise.
44282 * sunrpc/xdr_ref.c: Likewise.
44283 * sunrpc/xdr_sizeof.c: Likewise.
44284 * sunrpc/xdr_stdio.c: Likewise.
44285
44286 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44287 handling.
44288
442892010-08-19 Andreas Schwab <schwab@redhat.com>
44290
44291 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44292
442932010-08-19 Luis Machado <luisgpm@br.ibm.com>
44294
44295 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44296 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44297 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44298 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44299 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44300 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44301 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44302 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44303 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44304 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44305 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44306 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44307 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44308 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44309
443102010-07-26 Anton Blanchard <anton@samba.org>
44311
44312 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44313 * malloc/arena.c (heap_trim): Likewise.
44314
443152010-08-16 Ulrich Drepper <drepper@redhat.com>
44316
44317 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44318 here. Not...
44319 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44320 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44321
443222010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44323
44324 * sysdeps/i386/elf/Makefile: New file.
44325
443262010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44327
44328 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44329 from fanotify_init.
44330 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44331 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44332
443332010-08-15 Ulrich Drepper <drepper@redhat.com>
44334
44335 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44336 of strncasecmp_l.
44337 * sysdeps/multiarch/strcmp.S: Likewise.
44338
443392010-08-14 Ulrich Drepper <drepper@redhat.com>
44340
44341 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44342 strncase_l-nonascii.
44343 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44344 Add strncase_l-ssse3.
44345 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44346 * sysdeps/x86_64/strcmp.S: Likewise.
44347 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44348 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44349 * sysdeps/x86_64/strncase.S: New file.
44350 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44351 * sysdeps/x86_64/strncase_l.S: New file.
44352 * string/Makefile (strop-tests): Add strncasecmp.
44353 * string/test-strncasecmp.c: New file.
44354
44355 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44356 warning.
44357
44358 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44359 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44360
443612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44362
44363 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44364
443652010-08-12 Ulrich Drepper <drepper@redhat.com>
44366
44367 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44368 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44369 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44370
443712010-05-01 Alan Modra <amodra@gmail.com>
44372
44373 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44374 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44375 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44376 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44377 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44378 tidying. Don't tail-call __sigjmp_save for static lib.
44379 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44380 save location.
44381 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44382 (CALL_MCOUNT): Add eh info, and nop after bl.
44383 (TAIL_CALL_SYSCALL_ERROR): New macro.
44384 (PSEUDO_RET): Use it.
44385 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44386 Correct save location of integer regs and cr.
44387 (_dl_profile_resolve): Correct cr save location. Delete nops
44388 after bl when SHARED. Reduce cfi size a little by better
44389 placement of cfi directives.
44390 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44391 make a stack frame. Instead use parm save area as a temp.
44392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44393 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44395 Don't make a stack frame for parent, use parm save area.
44396 Increase child stack frame to 112 bytes. Don't save unused reg,
44397 and adjust reg usage. Set up cfi on error recovery and
44398 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44400 (__makecontext): Add dummy nop after jump to exit.
44401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44402 Use correct parm save area and cr save, reduce stack frame.
44403 Correct cfi for possible PSEUDO_RET frame setup.
44404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44405 Branch to local label emitted by PSEUDO_RET rather than
44406 __syscall_error.
44407
444082010-08-12 Andreas Schwab <schwab@redhat.com>
44409
44410 [BZ #11904]
44411 * locale/programs/locale.c (print_assignment): New function.
44412 (show_locale_vars): Use it.
44413
444142010-08-11 Ulrich Drepper <drepper@redhat.com>
44415
44416 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44417 field.
44418 (struct statfs64): Likewise.
44419 (_STATFS_F_FLAGS): Define.
44420 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44421 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44422 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44423 (ST_VALID): Define locally.
44424 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44425 __statvfs_getflags, use the provided value.
44426 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44427 __ASSUME_STATFS_F_FLAGS.
44428
44429 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44430
44431 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44432 Add sys/fanotify.h.
44433 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44434 fanotify_mask for GLIBC_2.13.
44435 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44436 fanotify_init and fanotify_mark.
44437 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44438 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44439
44440 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44441 Add prlimit.
44442 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44443 prlimit64 for GLIBC_2.13.
44444 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44445 prlimit64.
44446 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44447 syscall.
44448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44449 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44450 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44451 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44452 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44453 add prlimit alias.
44454 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44455
44456 [BZ #11903]
44457 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44458 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44459
44460 * nss/Makefile: Add rules to build and run tst-nss-test1.
44461 * shlib-versions: Add entry for libnss_test1.
44462 * nss/nss_test1.c: New file.
44463 * nss/tst-nss-test1.c: New file.
44464
44465 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44466 (__nss_configure_lookup): Set appropriate entry in
44467 __nss_configure_lookup to true.
44468 * nss/nsswitch.h: Define enum with indeces of databases in
44469 databases and __nss_database_custom arrays. Declare
44470 __nss_database_custom.
44471 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44472 to avoid using nscd when custom rules are installed.
44473 * nss/getXXbyYY_r.c: Likewise.
44474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44475
44476 * nss/nss_files/files-parse.c: Whitespace fixes.
44477
444782010-08-09 Ulrich Drepper <drepper@redhat.com>
44479
44480 [BZ #11883]
44481 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44482 * posix/fnmatch_loop.c: Likewise.
44483
444842010-07-17 Andi Kleen <ak@linux.intel.com>
44485
44486 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44487 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44488 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44489 * Versions.def [GLIBC_2.13]: Add.
44490
444912010-08-06 Ulrich Drepper <drepper@redhat.com>
44492
44493 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44494 Also fail if tpwd after pwuid call is NULL.
44495
444962010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44497
44498 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44499 when converting to ms.
44500
445012010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44502
44503 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44504 EOPNOTSUPP errors with ENOTTY.
44505 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44506 EOPNOTSUPP errors with ENOTTY.
44507
445082010-07-31 Ulrich Drepper <drepper@redhat.com>
44509
44510 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44511 Add strcasecmp_l-ssse3.
44512 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44513 strcasecmp.
44514 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44515 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44516 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44517
445182010-07-30 Ulrich Drepper <drepper@redhat.com>
44519
44520 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44521
44522 * string/Makefile (strop-tests): Add strcasecmp.
44523 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44524 strcasecmp_l-nonascii.
44525 (gen-as-const-headers): Add locale-defines.sym.
44526 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44527 * sysdeps/x86_64/strcasecmp.S: New file.
44528 * sysdeps/x86_64/strcasecmp_l.S: New file.
44529 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44530 * sysdeps/x86_64/locale-defines.sym: New file.
44531 * string/test-strcasecmp.c: New file.
44532
44533 * string/test-strcasestr.c: Test both ends of the range of characters.
44534 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44535
445362010-07-29 Roland McGrath <roland@redhat.com>
44537
44538 [BZ #11856]
44539 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44540
445412010-07-27 Ulrich Drepper <drepper@redhat.com>
44542
44543 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44544 for ld.so.
44545
445462010-07-27 Andreas Schwab <schwab@redhat.com>
44547
44548 * manual/memory.texi (Malloc Tunable Parameters): Document
44549 M_PERTURB.
44550
445512010-07-26 Roland McGrath <roland@redhat.com>
44552
44553 [BZ #11840]
44554 * configure.in (-fgnu89-inline check): Set and substitute
44555 gnu89_inline, not libc_cv_gnu89_inline.
44556 * configure: Regenerated.
44557 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44558
445592010-07-26 Ulrich Drepper <drepper@redhat.com>
44560
44561 * string/test-strnlen.c: New file.
44562 * string/Makefile (strop-tests): Add strnlen.
44563 * string/tester.c (test_strnlen): Add a few more test cases.
44564 * string/tst-strlen.c: Better error reporting.
44565
44566 * sysdeps/x86_64/strnlen.S: New file.
44567
445682010-07-24 Ulrich Drepper <drepper@redhat.com>
44569
44570 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44571 lower-latency instructions.
44572
445732010-07-23 Ulrich Drepper <drepper@redhat.com>
44574
44575 * string/test-strcasestr.c: New file.
44576 * string/test-strstr.c: New file.
44577 * string/Makefile (strop-tests): Add strstr and strcasestr.
44578 * string/str-two-way.h: Don't undefine MAX.
44579 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44580
445812010-07-21 Andreas Schwab <schwab@redhat.com>
44582
44583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44584 strcasestr-nonascii.
44585 (CFLAGS-strcasestr-nonascii.c): Define.
44586 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44587 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44588 Remove unused attribute.
44589
445902010-07-20 Roland McGrath <roland@redhat.com>
44591
44592 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44593 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44594 ld.so.cache was broken. With it, there is no way to disable dsocaps
44595 like LD_HWCAP_MASK can disable hwcaps.
44596
445972010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44598
44599 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44600
446012010-07-16 Ulrich Drepper <drepper@redhat.com>
44602
44603 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44604 call in strcasestr.
44605 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44606 __strcasestr_sse42_nonascii.
44607 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44608 strcasestr-nonascii.c.
44609 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44610
446112010-06-15 Luis Machado <luisgpm@br.ibm.com>
44612
44613 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44614 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44615 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44616 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44617
446182010-07-09 Ulrich Drepper <drepper@redhat.com>
44619
44620 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44621 fcntl.
44622
446232010-07-06 Andreas Schwab <schwab@redhat.com>
44624
44625 [BZ #11577]
44626 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44627 dl_signal_cerror.
44628
446292010-07-06 Ulrich Drepper <drepper@redhat.com>
44630
44631 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44632 _PC_PIPE_BUF using F_GETPIPE_SZ.
44633
446342010-07-05 Roland McGrath <roland@redhat.com>
44635
44636 * manual/arith.texi (Rounding Functions): Fix rint description
44637 implicit in round description.
44638
446392010-07-02 Ulrich Drepper <drepper@redhat.com>
44640
44641 * elf/Makefile: Fix linking for a few tests to make recent linker
44642 happy.
44643
446442010-06-30 Andreas Schwab <schwab@redhat.com>
44645
44646 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44647 $(common-objpfx)libc_nonshared.a.
44648
446492010-06-21 Luis Machado <luisgpm@br.ibm.com>
44650
44651 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44652 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44653 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44654 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44655 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44656 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44657 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44658 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44673 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44674 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44675 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44676 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44677 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44678 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44679 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44680 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44681 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44682 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44683 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44684 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44699
447002010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44701
44702 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44703 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44704 * string/memmove.c (memmove): Renamed to ...
44705 (MEMMOVE): ...this. Default to memmove.
44706 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44707 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44708 (END_CHK): Define.
44709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44710 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44711 mempcpy-ssse3-back memmove-ssse3-back.
44712 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44713 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44714 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44715 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44716 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44717 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44718 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44719 * sysdeps/x86_64/multiarch/memmove.c: New file.
44720 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44721 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44722 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44723 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44724 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44725 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44726 Define.
44727 (index_Fast_Copy_Backward): Define.
44728 (HAS_ARCH_FEATURE): Define.
44729 (HAS_FAST_REP_STRING): Define.
44730 (HAS_FAST_COPY_BACKWARD): Define.
44731
447322010-06-21 Andreas Schwab <schwab@redhat.com>
44733
44734 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44735 Restore proper fallback handling.
44736
447372010-06-19 Ulrich Drepper <drepper@redhat.com>
44738
44739 [BZ #11701]
44740 * posix/group_member.c (__group_member): Correct checking loop.
44741
44742 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44743 OOM in getpwuid_r correctly. Return error number when the caller
44744 should return, otherwise -1.
44745 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44746 call returning > 0 value.
44747 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44748
447492010-06-07 Andreas Schwab <schwab@redhat.com>
44750
44751 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44752 libc_nonshared.a from targets in modules-names.
44753
447542010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44755
44756 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44757 requires it.
44758
447592010-06-10 Luis Machado <luisgpm@br.ibm.com>
44760
44761 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44762 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44763 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44764 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44765
447662010-06-02 Andreas Schwab <schwab@redhat.com>
44767
44768 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44769
447702010-06-14 Ulrich Drepper <drepper@redhat.com>
44771
44772 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44773 and F_GETPIPE_SZ.
44774 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44777 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44778 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44779 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44780
447812010-06-14 Roland McGrath <roland@redhat.com>
44782
44783 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44784
447852010-06-07 Jakub Jelinek <jakub@redhat.com>
44786
44787 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44788 __REDIRECT followed by __THROW.
44789 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44790 * posix/getopt.h (getopt): Likewise.
44791
447922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44793
44794 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44795 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44796 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44797 in AT_FLAGS.
44798 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44799 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44800
448012010-05-28 Luis Machado <luisgpm@br.ibm.com>
44802
44803 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44804
448052010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44806
44807 [BZ #11640]
44808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44809 Properly check family and model.
44810
448112010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44812
44813 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44814
448152010-05-24 Luis Machado <luisgpm@br.ibm.com>
44816
44817 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44818
448192010-05-21 Ulrich Drepper <drepper@redhat.com>
44820
44821 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44822 symbol reference.
44823
448242010-05-19 Andreas Schwab <schwab@redhat.com>
44825
44826 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44827 symbol reference.
44828
448292010-05-21 Andreas Schwab <schwab@redhat.com>
44830
44831 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44832 and internal_recvmmsg.
44833 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44834 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44835 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44836 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44837
44838 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44839 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44840 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44841
448422010-05-20 Andreas Schwab <schwab@redhat.com>
44843
44844 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44845
448462010-05-17 Luis Machado <luisgpm@br.ibm.com>
44847
44848 POWER7 optimizations.
44849 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44850 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44851
448522010-05-19 Ulrich Drepper <drepper@redhat.com>
44853
44854 * version.h: Update for 2.13 development version.
44855
448562010-05-12 Andrew Stubbs <ams@codesourcery.com>
44857
44858 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44859 exceptions. Return 0.
44860
448612010-05-07 Roland McGrath <roland@redhat.com>
44862
44863 * elf/ldconfig.c (main): Add a const.
44864
448652010-05-06 Ulrich Drepper <drepper@redhat.com>
44866
44867 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44868 (args_options): Add no-idn option.
44869 (ahosts_keys_int): Add idn_flags to ai_flags.
44870 (parse_option): Handle 'i' option to clear idn_flags.
44871
44872 * malloc/malloc.c (_int_free): Possible race in the most recently
44873 added check. Only act on the data if no current modification
44874 happened.
44875
44876See ChangeLog.17 for earlier changes.