]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix unbound stack use in NIS NSS module
[thirdparty/glibc.git] / ChangeLog
1 2014-05-12 Andreas Schwab <schwab@suse.de>
2
3 [BZ #16932]
4 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6 than maximum RPC packet size.
7 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10 (_nss_nis_getservbyport_r): Likewise.
11
12 2014-05-12 Will Newton <will.newton@linaro.org>
13
14 * malloc/Makefile (tests): Add tst-mallopt.
15 * malloc/tst-mallopt.c: New file.
16
17 2014-05-09 Roland McGrath <roland@hack.frob.com>
18
19 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21
22 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23
24 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
25 (tst-tlsmod6.so): Likewise.
26
27 2014-05-09 Roland McGrath <roland@hack.frob.com>
28
29 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
30
31 2014-05-09 Joseph Myers <joseph@codesourcery.com>
32
33 [BZ #16064]
34 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35 and <dl-procinfo.h>.
36 (__fegetenv): Save SSE state in envp->__eip if supported.
37 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
38 envp->__eip if supported.
39 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
40 and <dl-procinfo.h>.
41 (__fesetenv): Always set __eip, __cs_selector, __opcode,
42 __data_offset and __data_selector in environment to 0. Set SSE
43 state if supported.
44 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
45 test-fenv-sse.
46 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
47 -mfpmath=sse.
48 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
49
50 2014-05-09 Will Newton <will.newton@linaro.org>
51
52 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
53 and libc_relro_required for ARM.
54 * sysdeps/arm/preconfigure: Regenerate.
55
56 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
57 Stefan Liebler <stli@linux.vnet.ibm.com>
58
59 * config.make.in (enable-lock-elision): New Makefile variable.
60 * configure.ac: Likewise.
61 * configure: Regenerate.
62 * sysdeps/s390/configure.ac:
63 Add check for gcc transactions support.
64 * sysdeps/s390/configure: Regenerate.
65 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
66 Build elision files if enabled.
67 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
68 Add lock elision support for s390.
69 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
70 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
71 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
72 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
73 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
74 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
75 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
76 Likewise.
77 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
78 Likewise.
79 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
80 Likewise.
81 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
82 Likewise.
83 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
84 (__lll_timedlock_elision, __lll_lock_elision)
85 (__lll_unlock_elision, __lll_trylock_elision)
86 (lll_timedlock_elision, lll_lock_elision)
87 (lll_unlock_elision, lll_trylock_elision): Add.
88 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
89 (pthread_mutex_t): Add lock elision support for s390.
90
91 2014-05-09 Will Newton <will.newton@linaro.org>
92
93 * sysdeps/arm/armv7/strcmp.S: New file.
94 * NEWS: Mention addition of ARMv7 optimized strcmp.
95
96 2014-05-08 Roland McGrath <roland@hack.frob.com>
97
98 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
99 look for %.ac rather than %.in.
100
101 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
102 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
103 * sysdeps/mach/hurd/configure: Regenerated.
104 * sysdeps/unix/sysv/linux/configure: Regenerated.
105
106 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
107
108 2014-05-07 Steve Ellcey <sellcey@mips.com>
109
110 [BZ# 16922]
111 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
112 (LONG_SUB): Ditto.
113 (PTR_SUB): Ditto.
114
115 2014-05-07 Andreas Schwab <schwab@suse.de>
116
117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
118 when skipping over non-matching result from nscd.
119
120 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
121
122 [BZ #16876]
123 * nptl/sockperf.c (client): Check socket return value.
124
125 [BZ #16877]
126 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
127 nscd security class.
128
129 2014-05-06 Roland McGrath <roland@hack.frob.com>
130
131 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
132 * sysdeps/arm/unwind.h: ... here.
133
134 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
135
136 [BZ# 16916]
137 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
138 Define.
139
140 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
141
142 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
143 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
144 multiarch strncpy for PPC64.
145 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
146 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
148 multiarch optimizations.
149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
150 (__libc_ifunc_impl_list): Likewise.
151 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
152 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
153 multiarch stpncpy for PPC64.
154 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
155 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
156
157 2014-05-06 Andreas Schwab <schwab@suse.de>
158
159 [BZ #16912]
160 * gmon/mcount.c (_MCOUNT_DECL): Use
161 atomic_compare_and_exchange_bool_acq instead of
162 catomic_compare_and_exchange_bool_acq.
163
164 2014-05-05 Roland McGrath <roland@hack.frob.com>
165
166 * elf/Makefile (others, install-bin): Remove pldd.
167 (pldd-modules): Variable removed.
168 ($(objpfx)pldd): Target removed.
169 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
170 (others, install-bin): Append pldd here.
171 ($(objpfx)pldd): New target.
172
173 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
174 to 0, so the first #if test emitted later doesn't see it undefined.
175 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
176 * sysdeps/gnu/errlist.c: Regenerated.
177
178 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
179
180 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
181 [libc_hidden_builtin_def]: Define to empty value.
182 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
183 [libc_hidden_builtin_def]: Likewise.
184 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
185 [libc_hidden_builtin_def]: Likewise.
186 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
187 [libc_hidden_builtin_def]: Likewise.
188 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
189 __redirect_memcpy and define ifunc as default hidden symbol.
190 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
191 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
192
193 2014-05-04 Adam Conrad <adconrad@0c3.net>
194
195 * locale/iso-4217.def: Reintroduce XDR currency.
196
197 2014-05-04 Allan McRae <allan@archlinux.org>
198
199 * po/eo.po: Update Esperanto translation from translation project.
200
201 2014-05-02 Carlos O'Donell <carlos@redhat.com>
202
203 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
204 and FEATURE_INDEX_MAX to 1.
205 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
206
207 2014-05-01 Steve Ellcey <sellcey@mips.com>
208
209 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
210 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
211 * iconvdata/big5.c (ONE_DIRECTION): Define.
212 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
213 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
214 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
215 * iconvdata/cp932.c (ONE_DIRECTION): Define.
216 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
217 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
218 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
219 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
220 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
221 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
222 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
223 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
224 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
225 * iconvdata/gbk.c (ONE_DIRECTION): Define.
226 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
227 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
228 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
229 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
230 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
231 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
232 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
233 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
234 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
235 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
236 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
237 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
238 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
239 * iconvdata/iso646.c (ONE_DIRECTION): Define.
240 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
241 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
242 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
243 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
244 * iconvdata/johab.c (ONE_DIRECTION): Define.
245 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
246 * iconvdata/sjis.c (ONE_DIRECTION): Define.
247 * iconvdata/t.61.c (ONE_DIRECTION): Define.
248 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
249 * iconvdata/tscii.c (ONE_DIRECTION): Define.
250 * iconvdata/uhc.c (ONE_DIRECTION): Define.
251 * iconvdata/unicode.c (ONE_DIRECTION): Define.
252 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
253 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
254 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
255
256 2014-05-01 Roland McGrath <roland@hack.frob.com>
257
258 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
259 (_IO_JUMPS_OFFSET): Define to 0.
260
261 * nptl/sysdeps/pthread/bits/libc-lock.h
262 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
263 (__libc_lock_define_initialized_recursive): Always define using
264 initializer. Modern compilers treat uninitialized (implicit zero) and
265 explicit zero initializers the same (i.e. put the datum in bss).
266
267 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
268
269 * nscd/nscd-client.h: Include <string.h>.
270
271 2014-05-01 David S. Miller <davem@davemloft.net>
272
273 [BZ #16885]
274 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
275 multiple zero bytes exist at the end of a string.
276 Reported by Aurelien Jarno <aurelien@aurel32.net>
277
278 * string/test-strcmp.c (check): Add explicit test for situations where
279 there are multiple zero bytes after the first.
280
281 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
282
283 [BZ #16890]
284 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
285 when compiling wprintf.
286 * stdio-common/tstdiomisc.c (t3): New function.
287 (main): Call it.
288
289 2014-05-01 Steve Ellcey <sellcey@mips.com>
290
291 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
292 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
293 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
294 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
295
296 2014-05-01 Steve Ellcey <sellcey@mips.com>
297
298 * stdlib/longlong.h: Updated from GCC.
299
300 2014-05-01 Will Newton <will.newton@linaro.org>
301 Bernard Ogden <bernie.ogden@linaro.org>
302
303 * NEWS: Update fixed bug list.
304
305 [BZ #15119]
306 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
307
308 2014-04-30 David S. Miller <davem@davemloft.net>
309
310 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
311 (libc_feholdexcept_setround_sparc_ctx): New function.
312 (libc_fesetenv_sparc_ctx): Likewise.
313 (libc_feupdateenv_sparc_ctx): Likewise.
314 (libc_feholdsetround_sparc_ctx): Likewise.
315 (libc_feholdexcept_setround_ctx): Define.
316 (libc_feholdexcept_setroundf_ctx): Likewise.
317 (libc_feholdexcept_setroundl_ctx): Likewise.
318 (libc_fesetenv_ctx): Likewise.
319 (libc_fesetenvf_ctx): Likewise.
320 (libc_fesetenvl_ctx): Likewise.
321 (libc_feupdateenv_ctx): Likewise.
322 (libc_feupdateenvf_ctx): Likewise.
323 (libc_feupdateenvl_ctx): Likewise.
324 (libc_feresetround_ctx): Likewise.
325 (libc_feresetroundf_ctx): Likewise.
326 (libc_feresetroundl_ctx): Likewise.
327 (libc_feholdsetround_ctx): Likewise.
328 (libc_feholdsetroundf_ctx): Likewise.
329 (libc_feholdsetroundl_ctx): Likewise.
330
331 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
332 with __USE_GNU instead of XOPEN cpp guards.
333
334 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
335 0.
336
337 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
338 with XOPEN cpp guards.
339
340 2014-04-30 Julian Brown <julian@codesourcery.com>
341
342 [BZ #16888]
343 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
344 handling.
345
346 2014-04-30 Joseph Myers <joseph@codesourcery.com>
347
348 [BZ #9894]
349 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
350 Change to 2.6.32.
351 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
352 * sysdeps/unix/sysv/linux/configure: Regenerated.
353 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
354 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
355 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
356 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
357 * README: Update reference to required Linux kernel version.
358 * manual/install.texi (Linux): Update reference to required Linux
359 kernel headers version.
360 * INSTALL: Regenerated.
361
362 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
363 header inclusion.
364 [POSIX] (limits.h): Likewise.
365 [POSIX] (math.h): Likewise.
366 [POSIX] (sys/wait.h): Likewise.
367 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
368 function.
369 [POSIX] (stddef.h): Do not allow header inclusion.
370
371 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
372
373 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
374
375 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
376
377 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
378 Return immediately after lll_futex_wake.
379
380 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
381
382 [BZ #16791]
383 * nscd/nscd-client.h (datahead_init_common): Initialize entire
384 structure.
385 (datahead_init_pos): Call datahead_init_common early.
386 (datahead_init_neg): Likewise.
387
388 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
389 datahead_init_neg): New functions.
390 * nscd/aicache.c (addhstaiX): Use them.
391 * nscd/grpcache.c (cache_addgr): Likewise.
392 * nscd/hstcache.c (cache_addhst): Likewise.
393 * nscd/initgrcache.c (addinitgroupsX): Likewise.
394 * nscd/netgroupcache.c (do_notfound): Likewise.
395 (addgetnetgrentX): Likewise.
396 (addinnetgrX): Likewise.
397 * nscd/pwdcache.c (cache_addpw): Likewise.
398 * nscd/servicescache.c (cache_addserv): Likewise.
399
400 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
401 Atsushi Onoe <atsushi@onoe.org>
402
403 [BZ #14308]
404 [BZ #12994]
405 [BZ #13651]
406 * resolv/res_query.c (__libc_res_nsearch): Return if at least
407 one response is valid.
408 * resolv/res_send.c (send_dg): Check for validity of other
409 response if the current response is a referral.
410
411 2014-04-29 Steve Ellcey <sellcey@mips.com>
412
413 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
414
415 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
416
417 [BZ #16823]
418 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
419 Always divide by positive zero when computing -Inf result.
420 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
421 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
422
423 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
424
425 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
426 FPSCR if value do not change.
427 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
428 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
429 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
430 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
431 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
432 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
433 function.
434
435 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
436
437 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
438 * sysdeps/unix/sysv/linux/hppa: Move directory from
439 ports/systeps/unix/sysv/linux/hppa.
440 * README: Update listing for hppa-*-linux-gnu.
441
442 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
443
444 [BZ #16754]
445 * manual/stdio.texi (Hook functions): Fix types of stream hook
446 functions.
447 [BZ #16854]
448 * socket/sys/socket.h: Fix typo in comment.
449
450 2014-04-28 Wilco <wdijkstr@arm.com>
451
452 * sysdeps/arm/fenv_private.h: New file.
453 * sysdeps/arm/math_private.h: New file.
454 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
455
456 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
457
458 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
459 with __int128_t.
460 (La_x86_64_retval): Likewise.
461
462 2014-04-24 Ian Bolton <ian.bolton@arm.com>
463
464 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
465 fpsr if value didn't change.
466 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
467 to fpcr if value didn't change.
468 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
469 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
470 fpsr or fpcr if value didn't change.
471 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
472 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
473 fpcr if value didn't change.
474 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
475 to fpsr if value didn't change.
476
477 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
478
479 * nptl/tst-sem3.c: Use test-skeleton.c
480 (main): Rename to do_test. Use return instead of
481 exit.
482 * nptl/tst-sem4.c: Use test-skeleton.c
483 (main): Rename to do_test.
484
485 2014-04-22 David S. Miller <davem@davemloft.net>
486
487 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
488 (struct sigaction): New struct member __glibc_reserved0, change
489 type of sa_flags to int.
490
491 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
492
493 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
494 (COUNT_LEADING_ZEROS_0): Define for AArch64.
495
496 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
497
498 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
499 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
500
501 2014-04-22 Will Newton <will.newton@linaro.org>
502 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
503
504 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
505 (__longjmp): Add longjmp and longjmp_target SystemTap
506 probes.
507 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
508 (__sigsetjmp): Add setjmp SystemTap probe.
509
510 2014-04-17 Carlos O'Donell <carlos@redhat.com>
511
512 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
513 match manual order.
514
515 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
516
517 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
518
519 * sysdeps/powerpc/fpu/fenv_private.h
520 (libc_feholdexcept_setroundl_ctx): Define to
521 libc_feholdexcept_setround_ppc_ctx.
522 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
523 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
524 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
525 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
526
527 2014-04-17 Ian Bolton <ian.bolton@arm.com>
528
529 * sysdeps/aarch64/math-tests.h: New file.
530
531 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
532
533 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
534 New.
535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
536 Check and set bit_AVX2_Usable.
537 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
538 macro.
539 (bit_AVX2): Likewise.
540 (index_AVX2_Usable): Likewise.
541 (CPUID_AVX2): Likewise.
542 (HAS_AVX2): Likewise.
543
544 2014-04-17 Will Newton <will.newton@linaro.org>
545
546 * manual/setjmp.texi (System V contexts): Add note that
547 calling setcontext on a context created by a call to a
548 signal handler is undefined. Update text to note that
549 setcontext from a signal handler is possible but not
550 recommended.
551
552 [BZ #16629]
553 * stdlib/tst-setcontext.c: Include signal.h.
554 (main): Check that the signal stack before and
555 after swapcontext is the same.
556
557 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
558 Re-implement to restore registers in user code and avoid
559 rt_sigreturn system call.
560
561 2014-04-17 Wilco <wdijkstr@arm.com>
562
563 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
564 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
565 * math/test-fenv.c: Skip exception trap tests on targets which only
566 support non-stop mode.
567
568 2014-04-17 Ian Bolton <ian.bolton@arm.com>
569 Wilco Dijkstra <wilco.dijkstra@arm.com>
570
571 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
572 (libc_feholdsetround_aarch64_ctx)
573 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
574 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
575 (libc_feresetround_ctx, libc_feresetroundf_ctx)
576 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
577 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
578 (libc_feresetround_noexl_ctx): Define.
579
580 2014-04-16 Richard Henderson <rth@redhat.com>
581
582 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
583
584 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
585 unwind tables.
586
587 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
588 const from the non-libc, non-ldso copy.
589
590 * sysdeps/alpha/libm-test-ulps: Regenerate.
591
592 2014-04-16 Ian Bolton <ian.bolton@arm.com>
593 Wilco Dijkstra <wilco.dijkstra@arm.com>
594
595 * sysdeps/aarch64/fpu/math_private.h: New file.
596
597 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
598
599 * sysdeps/aarch64/libm-test-ulps: Regenerate.
600
601 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
602
603 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
604 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
605 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
606 Intel MPX bound registers before _dl_profile_fixup.
607 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
608 registers after _dl_profile_fixup. Save and restore bound
609 registers bnd0/bnd1 when calling _dl_call_pltexit.
610 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
611 (LR_BND_OFFSET): Likewise.
612 (LRV_BND0_OFFSET): Likewise.
613 (LRV_BND1_OFFSET): Likewise.
614
615 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
616
617 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
618 to...
619 * sysdeps/mach/hurd/i386/tls.h: ... here.
620 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
621 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
622 fields.
623
624 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
625
626 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
627
628 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
629
630 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
631
632 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
633
634 [BZ #14770]
635 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
636 * sysdeps/s390/configure: Regenerate.
637
638 [BZ #16824]
639 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
640 Set round-to-nearest internally to reduce error accumulation.
641
642 2014-04-16 Alan Modra <amodra@gmail.com>
643
644 [BZ #16740]
645 [BZ #16619]
646 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
647 * math/libm-test.inc (frexp_test_data): Add tests.
648 * NEWS: Update fixed bug list.
649
650 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
651
652 * benchtests/Makefile: Depend on libraries in build directory.
653 (bench-math): Separate out math tests.
654 (bench-pthread): Separate out pthread tests.
655 (bench): Include math and pthread tests.
656
657 2014-04-14 Carlos O'Donell <carlos@redhat.com>
658
659 [BZ #16831]
660 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
661 _dl_debug_initialize.
662
663 * configure.ac: Remove SELinux header check.
664 * configure: Regenerate.
665 * nscd/selinux.c (perms): Array of const char* to permission names.
666 (nscd_request_avc_has_perm): Call security_deny_unknown to find
667 default policy. Call string_to_security_class and string_to_av_perm to
668 translate strings. Enforce default policy and call avs_has_perm with
669 results of translated strings.
670
671 2014-04-13 David S. Miller <davem@davemloft.net>
672
673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
674
675 2014-04-12 Allan McRae <allan@archlinux.org>
676
677 [BZ #16838]
678 * manual/string.texi (Collation Functions): Fix qsort argument
679 order in example.
680 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
681
682 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
683
684 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
685 Make the test a no-op if there are no exceptions defined.
686
687 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
688
689 * elf/Makefile (tests): make tst-dlopen-aout conditional on
690 enable-hardcoded-path-in-tests
691
692 2014-04-11 Will Newton <will.newton@linaro.org>
693
694 * benchtests/Makefile (extra-objs): Add json-lib.o.
695 (bench-func): Tidy up JSON output.
696 * benchtests/bench-skeleton.c: Include json-lib.h.
697 (main): Use JSON library functions to do output of
698 benchmark results.
699 * benchtests/bench-timing-type.c (main): Output the
700 timing type simply, leaving formatting to the user.
701 * benchtests/json-lib.c: New file.
702 * benchtests/json-lib.h: Likewise.
703
704 2014-04-11 Torvald Riegel <triegel@redhat.com>
705
706 [BZ #15215]
707 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
708 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
709 memory barriers. Add comments.
710 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
711 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
712 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
713 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
714 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
715 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
716
717 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
718
719 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
720 * sysdeps/s390/s390-64/configure.ac: ... this ...
721 * sysdeps/s390/configure.ac: ... to here.
722 * sysdeps/s390/s390-32/configure: Delete file.
723 * sysdeps/s390/s390-64/configure: Delete file.
724 * sysdeps/s390/configure: Regenerate.
725
726 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
727
728 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
729
730 2014-04-11 Will Newton <will.newton@linaro.org>
731
732 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
733 to zero if it is not defined elsewhere. (mtrim): Test
734 the value of MALLOC_DEBUG with #if rather than #ifdef.
735
736 2014-04-10 Torvald Riegel <triegel@redhat.com>
737
738 * benchtests/pthread_once-inputs: New file.
739 * benchtests/pthread_once-source.c: New file.
740 * benchtests/README: Update documentation.
741
742 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
743 H.J. Lu <hongjiu.lu@intel.com>
744
745 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
746 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
747 * sysdeps/x86_64/configure: Regenerated.
748 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
749 macro.
750 (REGISTER_SAVE_RAX): Likewise.
751 (REGISTER_SAVE_RCX): Likewise.
752 (REGISTER_SAVE_RDX): Likewise.
753 (REGISTER_SAVE_RSI): Likewise.
754 (REGISTER_SAVE_RDI): Likewise.
755 (REGISTER_SAVE_R8): Likewise.
756 (REGISTER_SAVE_R9): Likewise.
757 (REGISTER_SAVE_BND0): Likewise.
758 (REGISTER_SAVE_BND1): Likewise.
759 (REGISTER_SAVE_BND2): Likewise.
760 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
761 bound registers when calling _dl_fixup.
762
763 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
764
765 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
766 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
767 of its definition.
768 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
769 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
770 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
771 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
772 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
773 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
774 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
775
776 2014-04-09 Peter Brett <peter@peter-b.co.uk>
777
778 [BZ #15514]
779 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
780 pathconf(_PC_NAME_MAX).
781
782 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
783
784 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
785 Remove macro usage.
786 (__PTHREAD_SPINS): Move definition to ...
787 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
788 (__PTHREAD_SPINS): ... here.
789 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
790 (__PTHREAD_SPIN): Likewise.
791 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
792 (__PTHREAD_SPIN): Likewise.
793 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
794 (__PTHREAD_SPIN): Likewise.
795 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
796 (__PTHREAD_SPIN): Likewise.
797 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
798 (__PTHREAD_SPIN): Likewise.
799 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
800 (__PTHREAD_SPIN): Likewise.
801 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
802 (__PTHREAD_SPIN): Likewise.
803 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
804 (__PTHREAD_SPIN): Likewise.
805 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
806 (__PTHREAD_SPIN): Likewise.
807 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
808 (__PTHREAD_SPIN): Likewise.
809 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
810 (__PTHREAD_SPIN): Likewise.
811 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
812 (__PTHREAD_SPIN): Likewise.
813
814 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
815 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
816 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
817 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
818 imply folder.
819 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
820 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
821 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
822 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
823 correct imply path.
824 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
825 strlen symbol for non multi-arch builds.
826 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
827 missing hidden_def and weak_alias.
828
829 2014-04-08 Carlos O'Donell <carlos@redhat.com>
830
831 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
832
833 2014-04-07 Will Newton <will.newton@linaro.org>
834
835 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
836 and contents. [!_LIBC] Remove #ifndef and contents.
837 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
838 * string/memccpy.c (__memccpy): Use ANSI prototype.
839 * string/memfrob.c (memfrob): Likewise.
840 * string/strcoll.c (STRCOLL): Likewise.
841 * string/strlen.c (strlen): Likewise.
842 * string/strtok.c (STRTOK): Likewise.
843 * string/strcat.c: Remove unused #include of memcopy.h.
844 (strcat): Use ANSI prototype.
845 * string/strchr.c: Remove unused #include of memcopy.h.
846 (strchr): Use ANSI prototype.
847 * string/strcmp.c: Remove unused #include of memcopy.h.
848 (strcmp): Use ANSI prototype.
849 * string/strcpy.c: Remove unused #include of memcopy.h.
850 (strcpy): Use ANSI prototype.
851
852 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
853
854 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
855 * config.make.in (config-extra-cppflags): Set it from
856 libc_extra_cppflags.
857 * configure.ac (libc_extra_cflags): Make it accumulate over
858 configure fragments.
859 (libc_extra_cppflags): New flag.
860 * configure. Regenerate.
861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
862 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
863 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
865
866 [BZ #16815]
867 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
868 result for FE_DOWNWARD rounding mode.
869 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
870 Likewise.
871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
872
873 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
874
875 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
876 in function argument name.
877
878 2014-04-03 David Svoboda <svoboda@cert.org>
879
880 [BZ #5666]
881 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
882 explicitly.
883
884 2014-04-03 Roland McGrath <roland@hack.frob.com>
885
886 * elf/dl-unmap-segments.h: New file.
887 * sysdeps/generic/ldsodefs.h
888 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
889 * elf/dl-close.c: Include <dl-unmap-segments.h>.
890 * elf/dl-fptr.c: Likewise.
891 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
892 * sysdeps/aarch64/tlsdesc.c: Likewise.
893 * sysdeps/arm/tlsdesc.c: Likewise.
894 * sysdeps/i386/tlsdesc.c: Likewise.
895 * sysdeps/tile/dl-runtime.c: Likewise.
896 * sysdeps/x86_64/tlsdesc.c: Likewise.
897 * elf/dl-load.h: New file.
898 * elf/dl-load.c: Include it.
899 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
900 Macros moved to dl-load.h.
901 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
902 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
903 Use _dl_unmap_segments in place of __munmap.
904 Break out segment-mapping loop into ...
905 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
906
907 2014-04-03 Will Newton <will.newton@linaro.org>
908
909 * elf/dl-lookup.c (do_lookup_x): Remove comment
910 referring to nested function and move variable
911 declarations down to before first use.
912
913 2014-04-02 Joseph Myers <joseph@codesourcery.com>
914
915 [BZ #16799]
916 [BZ #16800]
917 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
918 with 0 numerator.
919 * math/s_catanf.c (__catanf): Likewise.
920 * math/s_catanh.c (__catanh): Likewise.
921 * math/s_catanhf.c (__catanhf): Likewise.
922 * math/s_catanhl.c (__catanhl): Likewise.
923 * math/s_catanl.c (__catanl): Likewise.
924 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
925 by positive zero when computing -Inf result.
926 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
927 (catanh_test): Likewise.
928 * sysdeps/i386/fpu/libm-test-ulps: Update.
929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
930
931 [BZ #16789]
932 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
933 instead of using underflowing value in computing result.
934 * math/s_clog10.c (__clog10): Likewise.
935 * math/s_clog10f.c (__clog10f): Likewise.
936 * math/s_clog10l.c (__clog10l): Likewise.
937 * math/s_clogf.c (__clogf): Likewise.
938 * math/s_clogl.c (__clogl): Likewise.
939 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
940 (clog10_test): Likewise.
941 * sysdeps/i386/fpu/libm-test-ulps: Update.
942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
943
944 2014-04-02 Alan Modra <amodra@gmail.com>
945
946 [BZ #16739]
947 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
948 output when value is near a power of two. Use int64_t for lx and
949 remove casts. Use decimal rather than hex exponent constants.
950 Don't use long double multiplication when double will suffice.
951 * math/libm-test.inc (nextafter_test_data): Add tests.
952 * NEWS: Add 16739 and 16786 to bug list.
953
954 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
955
956 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
957
958 2014-04-01 Will Newton <will.newton@linaro.org>
959
960 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
961 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
962
963 2014-04-01 Florian Weimer <fweimer@redhat.com>
964
965 [BZ #13347]
966 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
967 * nptl/tst-setuid2.c: New file.
968 * nptl/Makefile (xtests): Add tst-setuid2.
969
970 2014-04-01 Alan Modra <amodra@gmail.com>
971
972 [BZ #16786]
973 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
974
975 2014-03-31 Joseph Myers <joseph@codesourcery.com>
976
977 [BZ #6803]
978 [BZ #6804]
979 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
980 set errno as appropriate.
981 * math/w_scalbf.c (__scalbf): Likewise.
982 * math/w_scalbl.c (__scalbl): Likewise.
983 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
984 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
985 * math/libm-test.inc (scalb_test_data): Add errno expectations.
986 Add more NaN tests.
987
988 [BZ #16349]
989 * math/w_atan2.c: Include <errno.h>.
990 (__atan2): Set errno for result underflowing to zero.
991 * math/w_atan2f.c: Include <errno.h>.
992 (__atan2f): Set errno for result underflowing to zero.
993 * math/w_atan2l.c: Include <errno.h>.
994 (__atan2l): Set errno for result underflowing to zero.
995 * math/auto-libm-test-in: Don't allow missing errno for some atan2
996 tests.
997 * math/auto-libm-test-out: Regenerated.
998
999 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1000
1001 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1002 Encode instruction correctly in little endian.
1003 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1004 Likewise.
1005 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1006 Likewise.
1007 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1008 Likewise.
1009 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1010 Likewise.
1011
1012 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1013
1014 [BZ #9894]
1015 * sysdeps/unix/sysv/linux/kernel-features.h
1016 [__sparc__ && !__arch64__ && !__sparc_v9__]
1017 (__ASSUME_SET_ROBUST_LIST): Do not define.
1018 [__sparc__ && !__arch64__ && !__sparc_v9__]
1019 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1020 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1021 Likewise.
1022 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1023 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1024 (__ASSUME_REQUEUE_PI): Likewise.
1025 (__ASSUME_SET_ROBUST_LIST): Likewise.
1026 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1027 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1028 Undefine.
1029 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1030 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1031 Likewise.
1032 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1033 Likewise.
1034 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1035 Likewise.
1036 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1037 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1038 Undefine.
1039 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1040 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1041 Likewise.
1042
1043 [BZ #16648]
1044 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1045 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1046 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1047
1048 2014-03-31 Will Newton <will.newton@linaro.org>
1049
1050 * benchtests/Makefile (bench): Add ffs and ffsll to list
1051 of tests.
1052 * benchtests/ffs-inputs: New file.
1053 * benchtests/ffsll-inputs: Likewise.
1054
1055 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1056
1057 [BZ #16770]
1058 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1059 too large before casting to int.
1060 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1061 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1062 * math/libm-test.inc (scalb_test_data): Add more tests.
1063
1064 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1065
1066 * benchtests/Makefile (DETAILED_OPT): New make option.
1067 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1068 set.
1069 * benchtests/bench-skeleton.c: Include stdbool.h.
1070 (main): Store and print timings per input.
1071 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1072 member to each argument value.
1073 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1074 (_print_arg_data): Initialize per-input timing to 0.
1075
1076 * benchtests/Makefile (timing-type): New binary.
1077 (bench-clean): Also remove bench-timing-type.
1078 (bench): New target for timing-type.
1079 (bench-func): Print output in JSON format.
1080 * benchtests/bench-skeleton.c (main): Print output in JSON
1081 format.
1082 * benchtests/bench-timing-type.c: New file.
1083 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1084 (TIMING_PRINT_STATS): Remove.
1085 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1086 name separately.
1087
1088 * benchtests/bench-modf.c: Remove.
1089 * benchtests/modf-inputs: New inputs file.
1090
1091 2014-03-28 Joseph Myers <joseph@codesourcery.com>
1092
1093 [BZ #16362]
1094 * math/s_clog10.c (M_PI_LOG10E): New macro.
1095 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1096 imaginary parts are 0.
1097 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1098 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1099 imaginary parts are 0.
1100 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1101 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1102 imaginary parts are 0.
1103 * math/libm-test.inc (clog10_test_data): Update expected results
1104 for when real and imaginary parts are 0.
1105
1106 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1107
1108 * elf/dl-load.c: Finish conversion of __builtin_expect into
1109 __glibc_{un}likely.
1110
1111 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1112
1113 [BZ #16348]
1114 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1115 1+x for argument with exponent below -67.
1116 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1117 Likewise.
1118 * math/auto-libm-test-in: Add more tests of exp.
1119 * math/auto-libm-test-out: Regenerated.
1120
1121 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1122
1123 [BZ #16759]
1124 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1125 (nscd_getnetgrent): Use it.
1126
1127 [BZ #16760]
1128 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1129 of stpcpy.
1130
1131 2014-03-27 Andi Kleen <ak@linux.intel.com>
1132
1133 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1134 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1135 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1136 (lll_robust_unlock): Remove out of line section. Use cfi
1137 intrinsics.
1138 (LLL_STUB_UNWIND_INFO*): Remove.
1139 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1140 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1141 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1142 (lll_robust_unlock): Remove out of line section. Use cfi
1143 intrinsics.
1144 (LLL_STUB_UNWIND_INFO*): Remove.
1145
1146 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1147
1148 [BZ #16758]
1149 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1150 blank values.
1151
1152 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1153
1154 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1155
1156 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1157
1158 [BZ #16198]
1159 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1160 fnstenv.
1161 * math/test-fenv-preserve.c: New file.
1162 * math/Makefile (tests): Add test-fenv-preserve.
1163
1164 2014-03-26 Will Newton <will.newton@linaro.org>
1165
1166 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1167
1168 2014-03-25 Roland McGrath <roland@hack.frob.com>
1169
1170 * scripts/versionlist.awk: Partition the version sets and emit all
1171 GLIBC_* (sorted) before all others (sorted).
1172
1173 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1174
1175 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1176 GLIBC_2.2.5 version.
1177
1178 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1179
1180 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1181 calls.
1182
1183 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1184 previous change.
1185
1186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1187
1188 2014-03-25 Andreas Schwab <schwab@suse.de>
1189
1190 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1191 label to be used after in6ailist is initialized.
1192
1193 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1194
1195 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1196 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1197
1198 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1199
1200 [BZ #16357]
1201 [BZ #16599]
1202 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1203 min_plus_half.
1204 (fp_formats): Update initializers.
1205 (init_fp_formats): Initialize new field.
1206 (output_for_one_input_case): Allow underflow for results up to
1207 min_plus_half.
1208 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1209 * math/auto-libm-test-in: Don't mark some underflows from asin and
1210 atanh as spurious.
1211 * math/auto-libm-test-out: Regenerated.
1212 * sysdeps/i386/fpu/libm-test-ulps: Update.
1213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1214
1215 2014-03-25 Andreas Schwab <schwab@suse.de>
1216
1217 * libio/Makefile (tst-ftell-partial-wide-ENV)
1218 (tst-ftell-active-handler-ENV): Define.
1219
1220 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1221
1222 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1223
1224 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1225
1226 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1227
1228 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1229
1230 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1231 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1232 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1233
1234 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1235
1236 [BZ #16634]
1237 * elf/dl-load.c (open_verify): Add mode parameter.
1238 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1239 (open_path): Change from boolean 'secure' to complete flag 'mode'
1240 (_dl_map_object): Adjust.
1241 * elf/Makefile (tests): Add tst-dlopen-aout.
1242 * elf/tst-dlopen-aout.c: New test.
1243
1244 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1245
1246 [BZ #16714]
1247 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1248 (struct stat): Rename member pad0 to __glibc_reserved0.
1249
1250 [BZ #16712]
1251 * sysdeps/s390/s390-32/bits/wordsize.h
1252 (__WORDSIZE32_SIZE_ULONG): New define.
1253 * sysdeps/s390/s390-64/bits/wordsize.h
1254 (__WORDSIZE32_SIZE_ULONG): Likewise.
1255 * sysdeps/generic/stdint.h (SIZE_MAX):
1256 Define as UL if __WORDSIZE32_SIZE_ULONG.
1257
1258 [BZ #16713]
1259 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1260 (__glibc_reserved0): New variable.
1261 (sa_flags): Change type to int.
1262
1263 * posix/Makefile (before-compile): Use += before-compile instead
1264 of a :=.
1265
1266 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1267 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1268
1269 2014-03-20 Andreas Schwab <schwab@suse.de>
1270
1271 [BZ #16743]
1272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1273 non-matching result from nscd.
1274
1275 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1276
1277 * scripts/bench.py: Moved to ...
1278 * benchtests/scripts/bench.py: ... here.
1279 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1280
1281 2014-03-24 Andreas Schwab <schwab@suse.de>
1282
1283 [BZ #16002]
1284 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1285 alloca_account and account alloca use for struct in6ailist.
1286
1287 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1288
1289 [BZ #16284]
1290 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1291 rounding mode to recompute results that overflow to infinity or
1292 underflow to zero.
1293 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1294 bug 16284.
1295 * math/auto-libm-test-out: Regenerated.
1296 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1297 (ccosh_test): Likewise.
1298 (csin_test_data): Use plus_oflow.
1299 (csin_test): Use ALL_RM_TEST.
1300 (csinh_test_data): Use plus_oflow.
1301 (csinh_test): Use ALL_RM_TEST.
1302 * sysdeps/i386/fpu/libm-test-ulps: Update.
1303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1304
1305 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1306
1307 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1308 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1309 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1310
1311 [BZ #16731]
1312 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1313 when x - 1 is zero.
1314 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1315 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1316 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1317 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1318 argument is 1.
1319 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1320 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1321 zero.
1322 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1323 * sysdeps/i386/fpu/libm-test-ulps: Update.
1324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1325
1326 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1327
1328 * scripts/bench.pl: Remove file.
1329 * scripts/bench.py: New benchmark script.
1330 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1331 * benchtests/README: Mention python dependency.
1332 * scripts/pylintrc: New file.
1333 * scripts/pylint: New file.
1334
1335 * bits/mathdef.h: Use #ifdef instead of #if.
1336 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1337 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1338 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1339 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1340 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1341 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1342
1343 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1344 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1345
1346 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1348 and strpbrk-ppc64 objects.
1349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1350 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1351 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1352 multiarch strpbrk for POWER7.
1353 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1354 multiarch strpbrk for PPC64.
1355 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1356 ifunc selector.
1357 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1358 strpbrk for POWER7.
1359
1360 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1361
1362 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1363 (atan_test): Likewise.
1364 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1365 (atanh_test): Use ALL_RM_TEST.
1366 (atan2_test_data): Likewise.
1367 (cabs_test): Likewise.
1368 (cacosh_test): Likewise.
1369 (carg_test): Likewise.
1370 (casin_test): Likewise.
1371 (casinh_test): Likewise.
1372 (cbrt_test): Likewise.
1373 (csqrt_test): Likewise.
1374 (erf_test): Likewise.
1375 (erfc_test): Likewise.
1376 (pow10_test): Likewise.
1377 (exp2_test): Likewise.
1378 (hypot_test): Likewise.
1379 (j0_test): Likewise.
1380 (j1_test): Likewise.
1381 (lgamma_test): Likewise.
1382 (gamma_test): Likewise.
1383 (sincos_test): Likewise.
1384 (tanh_test): Likewise.
1385 (y0_test): Likewise.
1386 (y1_test): Likewise.
1387 * sysdeps/i386/fpu/libm-test-ulps: Update.
1388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1389
1390 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1391
1392 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1394 and strcspn-ppc64 objects.
1395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1396 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1397 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1398 multiarch strcspn for POWER7.
1399 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1400 multiarch strcspn for PPC64.
1401 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1402 ifunc selector.
1403 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1404 strcspn for POWER7.
1405
1406 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1407
1408 * math/gen-libm-test.pl (generate_testfile): Expect only function
1409 name as argument to AUTO_TESTS_* and pass results for all rounding
1410 modes to parse_args.
1411 (parse_auto_input): Separate inputs of automatic tests from
1412 outputs before storing in %auto_tests.
1413 * math/libm-test.inc (acos_test_data): Update call to
1414 AUTO_TESTS_f_f.
1415 (acos_test): Use ALL_RM_TEST.
1416 (acos_tonearest_test_data): Remove.
1417 (acos_test_tonearest): Likewise.
1418 (acos_towardzero_test_data): Likewise.
1419 (acos_test_towardzero): Likewise.
1420 (acos_downward_test_data): Likewise.
1421 (acos_test_downward): Likewise.
1422 (acos_upward_test_data): Likewise.
1423 (acos_test_upward): Likewise.
1424 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1425 (asin_test_data): Likewise.
1426 (asin_test): Use ALL_RM_TEST.
1427 (asin_tonearest_test_data): Remove.
1428 (asin_test_tonearest): Likewise.
1429 (asin_towardzero_test_data): Likewise.
1430 (asin_test_towardzero): Likewise.
1431 (asin_downward_test_data): Likewise.
1432 (asin_test_downward): Likewise.
1433 (asin_upward_test_data): Likewise.
1434 (asin_test_upward): Likewise.
1435 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1436 (atan_test_data): Likewise.
1437 (atanh_test_data): Likewise.
1438 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1439 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1440 (carg_test_data): Likewise.
1441 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1442 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1443 (ccosh_test_data): Likewise.
1444 (cexp_test_data): Likewise.
1445 (clog_test_data): Likewise.
1446 (clog10_test_data): Likewise.
1447 (cos_test_data): Update call to AUTO_TESTS_f_f.
1448 (cos_test): Use ALL_RM_TEST.
1449 (cos_tonearest_test_data): Remove.
1450 (cos_test_tonearest): Likewise.
1451 (cos_towardzero_test_data): Likewise.
1452 (cos_test_towardzero): Likewise.
1453 (cos_downward_test_data): Likewise.
1454 (cos_test_downward): Likewise.
1455 (cos_upward_test_data): Likewise.
1456 (cos_test_upward): Likewise.
1457 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1458 (cosh_test): Use ALL_RM_TEST.
1459 (cosh_tonearest_test_data): Remove.
1460 (cosh_test_tonearest): Likewise.
1461 (cosh_towardzero_test_data): Likewise.
1462 (cosh_test_towardzero): Likewise.
1463 (cosh_downward_test_data): Likewise.
1464 (cosh_test_downward): Likewise.
1465 (cosh_upward_test_data): Likewise.
1466 (cosh_test_upward): Likewise.
1467 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1468 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1469 (ctan_test_data): Likewise.
1470 (ctan_test): Use ALL_RM_TEST.
1471 (ctan_tonearest_test_data): Remove.
1472 (ctan_test_tonearest): Likewise.
1473 (ctan_towardzero_test_data): Likewise.
1474 (ctan_test_towardzero): Likewise.
1475 (ctan_downward_test_data): Likewise.
1476 (ctan_test_downward): Likewise.
1477 (ctan_upward_test_data): Likewise.
1478 (ctan_test_upward): Likewise.
1479 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1480 (ctanh_test): Use ALL_RM_TEST.
1481 (ctanh_tonearest_test_data): Remove.
1482 (ctanh_test_tonearest): Likewise.
1483 (ctanh_towardzero_test_data): Likewise.
1484 (ctanh_test_towardzero): Likewise.
1485 (ctanh_downward_test_data): Likewise.
1486 (ctanh_test_downward): Likewise.
1487 (ctanh_upward_test_data): Likewise.
1488 (ctanh_test_upward): Likewise.
1489 (erf_test_data): Update call to AUTO_TESTS_f_f.
1490 (erfc_test_data): Likewise.
1491 (exp_test_data): Likewise.
1492 (exp_test): Use ALL_RM_TEST.
1493 (exp_tonearest_test_data): Remove.
1494 (exp_test_tonearest): Likewise.
1495 (exp_towardzero_test_data): Likewise.
1496 (exp_test_towardzero): Likewise.
1497 (exp_downward_test_data): Likewise.
1498 (exp_test_downward): Likewise.
1499 (exp_upward_test_data): Likewise.
1500 (exp_test_upward): Likewise.
1501 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1502 (exp10_test): Use ALL_RM_TEST.
1503 (exp10_tonearest_test_data): Remove.
1504 (exp10_test_tonearest): Likewise.
1505 (exp10_towardzero_test_data): Likewise.
1506 (exp10_test_towardzero): Likewise.
1507 (exp10_downward_test_data): Likewise.
1508 (exp10_test_downward): Likewise.
1509 (exp10_upward_test_data): Likewise.
1510 (exp10_test_upward): Likewise.
1511 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1512 (expm1_test_data): Likewise.
1513 (expm1_test): Use ALL_RM_TEST.
1514 (expm1_tonearest_test_data): Remove.
1515 (expm1_test_tonearest): Likewise.
1516 (expm1_towardzero_test_data): Likewise.
1517 (expm1_test_towardzero): Likewise.
1518 (expm1_downward_test_data): Likewise.
1519 (expm1_test_downward): Likewise.
1520 (expm1_upward_test_data): Likewise.
1521 (expm1_test_upward): Likewise.
1522 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1523 (fma_test): Use ALL_RM_TEST.
1524 (fma_towardzero_test_data): Remove.
1525 (fma_test_towardzero): Likewise.
1526 (fma_downward_test_data): Likewise.
1527 (fma_test_downward): Likewise.
1528 (fma_upward_test_data): Likewise.
1529 (fma_test_upward): Likewise.
1530 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1531 (j0_test_data): Update call to AUTO_TESTS_f_f.
1532 (j1_test_data): Likewise.
1533 (jn_test_data): Update call to AUTO_TESTS_if_f.
1534 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1535 (log_test_data): Update call to AUTO_TESTS_f_f.
1536 (log10_test_data): Likewise.
1537 (log1p_test_data): Likewise.
1538 (log2_test_data): Likewise.
1539 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1540 (pow_tonearest_test_data): Likewise.
1541 (sin_test_data): Update call to AUTO_TESTS_f_f.
1542 (sin_test): Use ALL_RM_TEST.
1543 (sin_tonearest_test_data): Remove.
1544 (sin_test_tonearest): Likewise.
1545 (sin_towardzero_test_data): Likewise.
1546 (sin_test_towardzero): Likewise.
1547 (sin_downward_test_data): Likewise.
1548 (sin_test_downward): Likewise.
1549 (sin_upward_test_data): Likewise.
1550 (sin_test_upward): Likewise.
1551 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1552 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1553 (sinh_test): Use ALL_RM_TEST.
1554 (sinh_tonearest_test_data): Remove.
1555 (sinh_test_tonearest): Likewise.
1556 (sinh_towardzero_test_data): Likewise.
1557 (sinh_test_towardzero): Likewise.
1558 (sinh_downward_test_data): Likewise.
1559 (sinh_test_downward): Likewise.
1560 (sinh_upward_test_data): Likewise.
1561 (sinh_test_upward): Likewise.
1562 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1563 (sqrt_test): Use ALL_RM_TEST.
1564 (sqrt_tonearest_test_data): Remove.
1565 (sqrt_test_tonearest): Likewise.
1566 (sqrt_towardzero_test_data): Likewise.
1567 (sqrt_test_towardzero): Likewise.
1568 (sqrt_downward_test_data): Likewise.
1569 (sqrt_test_downward): Likewise.
1570 (sqrt_upward_test_data): Likewise.
1571 (sqrt_test_upward): Likewise.
1572 (tan_test_data): Update call to AUTO_TESTS_f_f.
1573 (tan_test): Use ALL_RM_TEST.
1574 (tan_tonearest_test_data): Remove.
1575 (tan_test_tonearest): Likewise.
1576 (tan_towardzero_test_data): Likewise.
1577 (tan_test_towardzero): Likewise.
1578 (tan_downward_test_data): Likewise.
1579 (tan_test_downward): Likewise.
1580 (tan_upward_test_data): Likewise.
1581 (tan_test_upward): Likewise.
1582 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1583 (tgamma_test_data): Likewise.
1584 (y0_test_data): Likewise.
1585 (y1_test_data): Likewise.
1586 (yn_test_data): Update call to AUTO_TESTS_if_f.
1587 (main): Do not call removed functions.
1588
1589 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1590
1591 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1592 (ldexp_test_data): Remove.
1593 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1594 scalbn_test_data.
1595 (scalb_test): Use ALL_RM_TEST.
1596
1597 2014-03-19 Andreas Schwab <schwab@suse.de>
1598
1599 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1600
1601 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1602
1603 [BZ #16649]
1604 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1605 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1606 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1607 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1608 (__ASSUME_PREADV): Undefine.
1609 (__ASSUME_PWRITEV): Likewise.
1610
1611 2014-03-18 Roland McGrath <roland@hack.frob.com>
1612
1613 * bits/mman-linux.h: Add comment about non-Linux use.
1614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1615 bits/mman-linux.h resting place.
1616
1617 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1618 * bits/mman-linux.h: ... here.
1619
1620 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1621
1622 * conform/conformtest.pl: Add standard definition when calling C
1623 preprocessor on data files.
1624 (checknamespace): Remove unused variable.
1625
1626 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1627
1628 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1629 minus_oflow, plus_uflow and minus_uflow in expected results.
1630 * math/libm-test.inc (scalbn_test_data): Add more tests of
1631 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1632 minus_uflow.
1633 (scalbn_test): Use ALL_RM_TEST.
1634 (scalbln_test_data): Add more tests of negative arguments. Use
1635 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1636 (scalbln_test): Use ALL_RM_TEST.
1637
1638 2014-03-18 Roland McGrath <roland@hack.frob.com>
1639
1640 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1641
1642 2014-03-18 Will Newton <will.newton@linaro.org>
1643
1644 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1645 inaccurate comment.
1646
1647 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1648
1649 * Makerules [!subdir] (check-abi): Exit with error status if a
1650 test failed.
1651
1652 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1653
1654 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1655 for rint. Include results for all rounding modes.
1656 (nearbyint_test): Use ALL_RM_TEST.
1657 (rint_test_data): Include all tests used for nearbyint.
1658
1659 2014-03-17 Will Newton <will.newton@linaro.org>
1660
1661 * nptl/sysdeps/pthread/pthread.h: Revert previous
1662 change.
1663
1664 * sysdeps/generic/ldsodefs.h: Revert previous
1665 change.
1666
1667 * libio/genops.c: Revert previous change.
1668 * libio/libioP.h: Likewise.
1669 * stdio-common/vfprintf.c: Likewise.
1670
1671 * sysdeps/generic/math_private.h: Revert previous
1672 change.
1673
1674 * sysdeps/generic/math_private.h: Check whether
1675 HAVE_RM_CTX is defined with #ifdef rather
1676 than #if.
1677
1678 * argp/argp-fmtstream.h: Check whether
1679 __STRICT_ANSI__ is defined with #ifdef rather
1680 than #if.
1681 * argp/argp.h: Likewise.
1682
1683 * libio/genops.c: Check whether
1684 _IO_JUMPS_OFFSET is defined with #ifdef rather
1685 than #if.
1686 * libio/libioP.h: Likewise.
1687 * stdio-common/vfprintf.c: Likewise.
1688
1689 * sysdeps/generic/ldsodefs.h: Check whether
1690 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1691 than #if.
1692
1693 * nptl/sysdeps/pthread/pthread.h: Check
1694 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1695 its value.
1696
1697 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1698
1699 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1700 setting O_APPEND.
1701 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1702 test case.
1703
1704 [BZ #16680]
1705 * libio/fileops.c (_IO_file_open): Seek to end of file but
1706 don't cache the offset.
1707 (get_file_offset): Remove function.
1708 (do_ftell): Use cached offset when available.
1709 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1710 don't cache the offset.
1711 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1712 case.
1713 (do_one_test): Call it.
1714 (do_ftell_test): Fix up expected old offset for a+ mode.
1715 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1716 available.
1717
1718 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1719 up test status with function return status.
1720 (do_write_test): Likewise.
1721 (do_append_test): Likewise.
1722
1723 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1724 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1725 Remove.
1726
1727 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1728
1729 * math/gen-libm-test.pl (parse_args): Handle results specified for
1730 each rounding mode separately.
1731 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1732 tests and results from lrint_tonearest_test_data,
1733 lrint_towardzero_test_data, lrint_downward_test_data and
1734 lrint_upward_test_data.
1735 (lrint_test): Use ALL_RM_TEST.
1736 (lrint_tonearest_test_data): Remove.
1737 (lrint_test_tonearest): Likewise.
1738 (lrint_towardzero_test_data): Likewise.
1739 (lrint_test_towardzero): Likewise.
1740 (lrint_downward_test_data): Likewise.
1741 (lrint_test_downward): Likewise.
1742 (lrint_upward_test_data): Likewise.
1743 (lrint_test_upward): Likewise.
1744 (llrint_test_data): Merge in per-rounding-mode tests and results
1745 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1746 llrint_downward_test_data and llrint_upward_test_data.
1747 (llrint_test): Use ALL_RM_TEST.
1748 (llrint_tonearest_test_data): Remove.
1749 (llrint_test_tonearest): Likewise.
1750 (llrint_towardzero_test_data): Likewise.
1751 (llrint_test_towardzero): Likewise.
1752 (llrint_downward_test_data): Likewise.
1753 (llrint_test_downward): Likewise.
1754 (llrint_upward_test_data): Likewise.
1755 (llrint_test_upward): Likewise.
1756 (rint_test_data): Merge in per-rounding-mode tests and results
1757 from rint_tonearest_test_data, rint_towardzero_test_data,
1758 rint_downward_test_data and rint_upward_test_data. Add
1759 per-rounding-mode results for tests not in those arrays.
1760 (rint_test): Use ALL_RM_TEST.
1761 (rint_tonearest_test_data): Remove.
1762 (rint_test_tonearest): Likewise.
1763 (rint_towardzero_test_data): Likewise.
1764 (rint_test_towardzero): Likewise.
1765 (rint_downward_test_data): Likewise.
1766 (rint_test_downward): Likewise.
1767 (rint_upward_test_data): Likewise.
1768 (rint_test_upward): Likewise.
1769 (main): Don't call removed functions.
1770
1771 2014-03-14 Roland McGrath <roland@hack.frob.com>
1772
1773 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1774 "Compiled on ..." crapola. It is anti-useful.
1775
1776 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1777
1778 * scripts/evaluate-test.sh: Handle fourth argument to determine
1779 whether test run should stop on failure.
1780 * Makeconfig (stop-on-test-failure): New variable.
1781 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1782 $(stop-on-test-failure).
1783 * Makefile (tests): Give a summary of results from testing and
1784 exit with failure status if they include an ERROR or FAIL.
1785 (xtests): Likewise.
1786 * manual/install.texi (Configuring and compiling): Mention
1787 stop-on-test-failure=y.
1788 * INSTALL: Regenerated.
1789
1790 2014-03-14 Roland McGrath <roland@hack.frob.com>
1791
1792 * scripts/versionlist.awk: New file.
1793 * Makerules [$(build-shared) = yes]
1794 (postclean-generated): Add Versions.def, not Versions.def.v and
1795 Versions.def.v.i.
1796 ($(common-objpfx)Versions.def.v.i): Target removed.
1797 ($(common-objpfx)Versions.def): New target.
1798 ($(common-objpfx)Versions.all): Depend on that rather that
1799 $(common-objpfx)Versions.def.v.
1800 * Versions.def: File removed.
1801
1802 * Makeconfig (+gccwarn): Add -Wundef.
1803 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1804 a dl-sysdep.h breaking its contract.
1805 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1806 * include/stackinfo.h: New file.
1807 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1808 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1809 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1810 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1811 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1812 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1813 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1814 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1815 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1816 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1817 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1818 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1819 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1820 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1821 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1822
1823 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1824
1825 [BZ #16707]
1826 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1827 implementation.
1828 * math/libm-test.inc (round_test_data): Add more tests.
1829
1830 [BZ #16706]
1831 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1832 implementation.
1833 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1834
1835 [BZ #16701]
1836 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1837 implementation.
1838 * math/libm-test.inc (ceil_test_data): Add more tests.
1839
1840 * math/libm-test.inc (trunc_test_data): Add more tests related to
1841 BZ#16414.
1842
1843 2014-03-14 Roland McGrath <roland@hack.frob.com>
1844
1845 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1846 with #if rather than #ifdef.
1847 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1848
1849 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1850
1851 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1852 first. Disable AVX-512 GCC support if assembler doesn't support
1853 it.
1854 * sysdeps/x86_64/configure: Regenerated.
1855
1856 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1857
1858 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1859 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1860 (__old_pthread_attr_setstack): Likewise.
1861 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1862 [!_STACK_GROWS_DOWN]: Likewise.
1863
1864 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1865
1866 * config.make.in (have-bash2): Delete.
1867 * configure.ac (libc_cv_have_bash2): Delete.
1868 * configure: Regenerate.
1869 * elf/Makefile (common-ldd-rewrite): Rename to ...
1870 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1871 (sh-ldd-rewrite): Delete.
1872 (bash-ldd-rewrite): Delete.
1873 (have-bash2): Delete checks.
1874 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1875 ldd-rewrite.
1876
1877 * config.make.in (have-ksh): Delete.
1878 (KSH): Delete.
1879 * configure.ac (libc_cv_have_ksh): Delete.
1880 * configure: Regenerate.
1881
1882 * elf/Makefile: Delete $(have-ksh) check.
1883 ($(objpfx)sotruss): Change KSH to BASH.
1884 * elf/sotruss.ksh: Rename to ...
1885 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1886 function style to match POSIX. Drop ksh vim mode setting.
1887
1888 * manual/time.texi (Specifying the Time Zone with TZ): Change
1889 Tuesday to Thursday.
1890
1891 * debug/tst-longjmp_chk2.c: Update header comment.
1892 (stackoverflow_handler): Add comment. Call assert on pass value.
1893
1894 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1895
1896 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1897 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1898 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1899 (La_x86_64_vector): Add zmm.
1900 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1901 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1902 ($(objpfx)tst-audit10): New target.
1903 ($(objpfx)tst-audit10.out): Likewise.
1904 (tst-audit10-ENV): New.
1905 (AVX512-CFLAGS): Likewise.
1906 (CFLAGS-tst-audit10.c): Likewise.
1907 (CFLAGS-tst-auditmod10a.c): Likewise.
1908 (CFLAGS-tst-auditmod10b.c): Likewise.
1909 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1910 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1911 * sysdeps/x86_64/configure: Regenerated.
1912 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1913 AVX-512 zmm register support.
1914 (_dl_x86_64_save_sse): Likewise.
1915 (_dl_x86_64_restore_sse): Likewise.
1916 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1917 size vector registers.
1918 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1919 (ZMM_SIZE): Likewise.
1920 * sysdeps/x86_64/tst-audit10.c: New file.
1921 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1922 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1923
1924 2014-03-13 Roland McGrath <roland@hack.frob.com>
1925
1926 * configure.ac (HAVE_EHDR_START): New check.
1927 * configure: Regenerated.
1928 * config.h.in (HAVE_EHDR_START): New #undef.
1929 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1930 assuming the lowest-addressed segment maps the start of the file.
1931
1932 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1933
1934 * INSTALL: Regenerated.
1935
1936 2014-03-13 Will Newton <will.newton@linaro.org>
1937
1938 * manual/setjmp.texi (System V contexts): Improve
1939 clarity and grammar of documentation.
1940
1941 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1942
1943 [BZ #16381]
1944 * elf/Makefile (tests): Add tst-pie2.
1945 (tests-pie): Add tst-pie2.
1946 * elf/tst-pie2.c: New file.
1947 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1948 for ET_EXEC.
1949 * elf/rtld.c (map_doit): Load executable as lt_executable.
1950 (dl_main): Likewise.
1951
1952 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1953
1954 [BZ #16642]
1955 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1956 (__ASSUME_PSELECT): Undefine.
1957
1958 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1959
1960 [BZ #16689]
1961 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1962 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1963 static build.
1964 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1965 selector for static builds.
1966
1967 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1968
1969 [BZ #16695]
1970 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1971 key in the buffer.
1972
1973 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1974
1975 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1976 IFUNC selector for static builds.
1977
1978 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1979
1980 * sysdeps/mips/math_private.h [__mips_hard_float]
1981 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1982 libc_feresetround_mips_ctx.
1983 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1984 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1985 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1986
1987 [BZ #16677]
1988 * math/s_nextafter.c (__nextafter): Do not return value from
1989 overflowing computation.
1990 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1991 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1992 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1993 Likewise.
1994 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1995 Likewise.
1996 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1997 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1998
1999 2014-03-11 Roland McGrath <roland@hack.frob.com>
2000
2001 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2002 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2003 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2004 the new mov targetting sp.
2005
2006 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2007
2008 [BZ #16683]
2009 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2010 Define it for static builds as well.
2011 (NO_BZERO_IMPL): Likewise.
2012
2013 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2014
2015 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2016 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2017 multiarch strspn for PPC64.
2018 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2019 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2020 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2021 (__libc_ifunc_impl_list): Likewise.
2022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2023 multiarch optimizations
2024 * string/strspn.c (strspn): Using macro to redefine symbol name.
2025
2026 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2027 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2028
2029 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2030 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2031 multiarch strncat for PPC64.
2032 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2033 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2035 (__libc_ifunc_impl_list): Likewise.
2036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2037 multiarch optimizations
2038
2039 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2040
2041 [BZ #16639]
2042 * nscd/nscd.service: Make service type forking.
2043
2044 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2045
2046 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2047 sign in non default rounding modes.
2048 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2049
2050 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2051
2052 * math/libm-test.inc (ALL_RM_TEST): New macro.
2053 (ceil_test): Use ALL_RM_TEST.
2054 (cimag_test): Likewise.
2055 (conj_test): Likewise.
2056 (copysign_test): Likewise.
2057 (cproj_test): Likewise.
2058 (creal_test): Likewise.
2059 (fabs_test): Likewise.
2060 (floor_test): Likewise.
2061 (fmax_test): Likewise.
2062 (fmin_test): Likewise.
2063 (fmod_test): Likewise.
2064 (fpclassify_test): Likewise.
2065 (frexp_test): Likewise.
2066 (ilogb_test): Likewise.
2067 (isfinite_test): Likewise.
2068 (finite_test): Likewise.
2069 (isgreater_test): Likewise.
2070 (isgreaterequal_test): Likewise.
2071 (isinf_test): Likewise.
2072 (isless_test): Likewise.
2073 (islessequal_test): Likewise.
2074 (islessgreater_test): Likewise.
2075 (isnan_test): Likewise.
2076 (isnormal_test): Likewise.
2077 (issignaling_test): Likewise.
2078 (isunordered_test): Likewise.
2079 (logb_test): Likewise.
2080 (logb_downward_test_data): Remove.
2081 (logb_test_downward): Likewise.
2082 (lround_test): Use ALL_RM_TEST.
2083 (llround_test): Likewise.
2084 (modf_test): Likewise.
2085 (nexttoward_test): Likewise.
2086 (remainder_test): Likewise.
2087 (drem_test): Likewise.
2088 (remainder_tonearest_test_data): Likewise.
2089 (remainder_test_tonearest): Likewise.
2090 (drem_test_tonearest): Likewise.
2091 (remainder_towardzero_test_data): Likewise.
2092 (remainder_test_towardzero): Likewise.
2093 (drem_test_towardzero): Likewise.
2094 (remainder_downward_test_data): Likewise.
2095 (remainder_test_downward): Likewise.
2096 (drem_test_downward): Likewise.
2097 (remainder_upward_test_data): Likewise.
2098 (remainder_test_upward): Likewise.
2099 (drem_test_upward): Likewise.
2100 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2101 (round_test): Use ALL_RM_TEST.
2102 (signbit_test): Likewise.
2103 (trunc_test): Likewise.
2104 (significand_test): Likewise.
2105 (main): Don't call removed functions.
2106
2107 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2108
2109 [BZ #16674]
2110 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2111 || __USE_XOPEN2K8].
2112 (ILL_ILLOPN): Likewise.
2113 (ILL_ILLADR): Likewise.
2114 (ILL_ILLTRP): Likewise.
2115 (ILL_PRVOPC): Likewise.
2116 (ILL_PRVREG): Likewise.
2117 (ILL_COPROC): Likewise.
2118 (ILL_BADSTK): Likewise.
2119 (FPE_INTDIV): Likewise.
2120 (FPE_INTOVF): Likewise.
2121 (FPE_FLTDIV): Likewise.
2122 (FPE_FLTOVF): Likewise.
2123 (FPE_FLTUND): Likewise.
2124 (FPE_FLTRES): Likewise.
2125 (FPE_FLTINV): Likewise.
2126 (FPE_FLTSUB): Likewise.
2127 (SEGV_MAPERR): Likewise.
2128 (SEGV_ACCERR): Likewise.
2129 (BUS_ADRALN): Likewise.
2130 (BUS_ADRERR): Likewise.
2131 (BUS_OBJERR): Likewise.
2132 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2133 (TRAP_TRACE): Likewise.
2134 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2135 __USE_XOPEN2K8].
2136 (CLD_KILLED): Likewise.
2137 (CLD_DUMPED): Likewise.
2138 (CLD_TRAPPED): Likewise.
2139 (CLD_STOPPED): Likewise.
2140 (CLD_CONTINUED): Likewise.
2141 (POLL_IN): Likewise.
2142 (POLL_OUT): Likewise.
2143 (POLL_MSG): Likewise.
2144 (POLL_ERR): Likewise.
2145 (POLL_PRI): Likewise.
2146 (POLL_HUP): Likewise.
2147 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2148 Likewise.
2149 (ILL_ILLOPN): Likewise.
2150 (ILL_ILLADR): Likewise.
2151 (ILL_ILLTRP): Likewise.
2152 (ILL_PRVOPC): Likewise.
2153 (ILL_PRVREG): Likewise.
2154 (ILL_COPROC): Likewise.
2155 (ILL_BADSTK): Likewise.
2156 (FPE_INTDIV): Likewise.
2157 (FPE_INTOVF): Likewise.
2158 (FPE_FLTDIV): Likewise.
2159 (FPE_FLTOVF): Likewise.
2160 (FPE_FLTUND): Likewise.
2161 (FPE_FLTRES): Likewise.
2162 (FPE_FLTINV): Likewise.
2163 (FPE_FLTSUB): Likewise.
2164 (SEGV_MAPERR): Likewise.
2165 (SEGV_ACCERR): Likewise.
2166 (BUS_ADRALN): Likewise.
2167 (BUS_ADRERR): Likewise.
2168 (BUS_OBJERR): Likewise.
2169 (BUS_MCEERR_AR): Likewise.
2170 (BUS_MCEERR_AO): Likewise.
2171 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2172 (TRAP_TRACE): Likewise.
2173 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2174 __USE_XOPEN2K8].
2175 (CLD_KILLED): Likewise.
2176 (CLD_DUMPED): Likewise.
2177 (CLD_TRAPPED): Likewise.
2178 (CLD_STOPPED): Likewise.
2179 (CLD_CONTINUED): Likewise.
2180 (POLL_IN): Likewise.
2181 (POLL_OUT): Likewise.
2182 (POLL_MSG): Likewise.
2183 (POLL_ERR): Likewise.
2184 (POLL_PRI): Likewise.
2185 (POLL_HUP): Likewise.
2186 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2187 (ILL_ILLOPN): Likewise.
2188 (ILL_ILLADR): Likewise.
2189 (ILL_ILLTRP): Likewise.
2190 (ILL_PRVOPC): Likewise.
2191 (ILL_PRVREG): Likewise.
2192 (ILL_COPROC): Likewise.
2193 (ILL_BADSTK): Likewise.
2194 (FPE_INTDIV): Likewise.
2195 (FPE_INTOVF): Likewise.
2196 (FPE_FLTDIV): Likewise.
2197 (FPE_FLTOVF): Likewise.
2198 (FPE_FLTUND): Likewise.
2199 (FPE_FLTRES): Likewise.
2200 (FPE_FLTINV): Likewise.
2201 (FPE_FLTSUB): Likewise.
2202 (SEGV_MAPERR): Likewise.
2203 (SEGV_ACCERR): Likewise.
2204 (BUS_ADRALN): Likewise.
2205 (BUS_ADRERR): Likewise.
2206 (BUS_OBJERR): Likewise.
2207 (BUS_MCEERR_AR): Likewise.
2208 (BUS_MCEERR_AO): Likewise.
2209 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2210 (TRAP_TRACE): Likewise.
2211 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2212 __USE_XOPEN2K8].
2213 (CLD_KILLED): Likewise.
2214 (CLD_DUMPED): Likewise.
2215 (CLD_TRAPPED): Likewise.
2216 (CLD_STOPPED): Likewise.
2217 (CLD_CONTINUED): Likewise.
2218 (POLL_IN): Likewise.
2219 (POLL_OUT): Likewise.
2220 (POLL_MSG): Likewise.
2221 (POLL_ERR): Likewise.
2222 (POLL_PRI): Likewise.
2223 (POLL_HUP): Likewise.
2224 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2225 Likewise.
2226 (ILL_ILLOPN): Likewise.
2227 (ILL_ILLADR): Likewise.
2228 (ILL_ILLTRP): Likewise.
2229 (ILL_PRVOPC): Likewise.
2230 (ILL_PRVREG): Likewise.
2231 (ILL_COPROC): Likewise.
2232 (ILL_BADSTK): Likewise.
2233 (ILL_BADIADDR): Likewise.
2234 (ILL_BREAK): Likewise.
2235 (FPE_INTDIV): Likewise.
2236 (FPE_INTOVF): Likewise.
2237 (FPE_FLTDIV): Likewise.
2238 (FPE_FLTOVF): Likewise.
2239 (FPE_FLTUND): Likewise.
2240 (FPE_FLTRES): Likewise.
2241 (FPE_FLTINV): Likewise.
2242 (FPE_FLTSUB): Likewise.
2243 (FPE_DECOVF): Likewise.
2244 (FPE_DECDIV): Likewise.
2245 (FPE_DECERR): Likewise.
2246 (FPE_INVASC): Likewise.
2247 (FPE_INVDEC): Likewise.
2248 (SEGV_MAPERR): Likewise.
2249 (SEGV_ACCERR): Likewise.
2250 (SEGV_PSTKOVF): Likewise.
2251 (BUS_ADRALN): Likewise.
2252 (BUS_ADRERR): Likewise.
2253 (BUS_OBJERR): Likewise.
2254 (BUS_MCEERR_AR): Likewise.
2255 (BUS_MCEERR_AO): Likewise.
2256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2257 (TRAP_TRACE): Likewise.
2258 (TRAP_BRANCH): Likewise.
2259 (TRAP_HWBKPT): Likewise.
2260 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2261 __USE_XOPEN2K8].
2262 (CLD_KILLED): Likewise.
2263 (CLD_DUMPED): Likewise.
2264 (CLD_TRAPPED): Likewise.
2265 (CLD_STOPPED): Likewise.
2266 (CLD_CONTINUED): Likewise.
2267 (POLL_IN): Likewise.
2268 (POLL_OUT): Likewise.
2269 (POLL_MSG): Likewise.
2270 (POLL_ERR): Likewise.
2271 (POLL_PRI): Likewise.
2272 (POLL_HUP): Likewise.
2273 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2274 (ILL_ILLOPN): Likewise.
2275 (ILL_ILLADR): Likewise.
2276 (ILL_ILLTRP): Likewise.
2277 (ILL_PRVOPC): Likewise.
2278 (ILL_PRVREG): Likewise.
2279 (ILL_COPROC): Likewise.
2280 (ILL_BADSTK): Likewise.
2281 (FPE_INTDIV): Likewise.
2282 (FPE_INTOVF): Likewise.
2283 (FPE_FLTDIV): Likewise.
2284 (FPE_FLTOVF): Likewise.
2285 (FPE_FLTUND): Likewise.
2286 (FPE_FLTRES): Likewise.
2287 (FPE_FLTINV): Likewise.
2288 (FPE_FLTSUB): Likewise.
2289 (SEGV_MAPERR): Likewise.
2290 (SEGV_ACCERR): Likewise.
2291 (BUS_ADRALN): Likewise.
2292 (BUS_ADRERR): Likewise.
2293 (BUS_OBJERR): Likewise.
2294 (BUS_MCEERR_AR): Likewise.
2295 (BUS_MCEERR_AO): Likewise.
2296 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2297 (TRAP_TRACE): Likewise.
2298 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2299 __USE_XOPEN2K8].
2300 (CLD_KILLED): Likewise.
2301 (CLD_DUMPED): Likewise.
2302 (CLD_TRAPPED): Likewise.
2303 (CLD_STOPPED): Likewise.
2304 (CLD_CONTINUED): Likewise.
2305 (POLL_IN): Likewise.
2306 (POLL_OUT): Likewise.
2307 (POLL_MSG): Likewise.
2308 (POLL_ERR): Likewise.
2309 (POLL_PRI): Likewise.
2310 (POLL_HUP): Likewise.
2311 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2312 (ILL_ILLOPN): Likewise.
2313 (ILL_ILLADR): Likewise.
2314 (ILL_ILLTRP): Likewise.
2315 (ILL_PRVOPC): Likewise.
2316 (ILL_PRVREG): Likewise.
2317 (ILL_COPROC): Likewise.
2318 (ILL_BADSTK): Likewise.
2319 (FPE_INTDIV): Likewise.
2320 (FPE_INTOVF): Likewise.
2321 (FPE_FLTDIV): Likewise.
2322 (FPE_FLTOVF): Likewise.
2323 (FPE_FLTUND): Likewise.
2324 (FPE_FLTRES): Likewise.
2325 (FPE_FLTINV): Likewise.
2326 (FPE_FLTSUB): Likewise.
2327 (SEGV_MAPERR): Likewise.
2328 (SEGV_ACCERR): Likewise.
2329 (BUS_ADRALN): Likewise.
2330 (BUS_ADRERR): Likewise.
2331 (BUS_OBJERR): Likewise.
2332 (BUS_MCEERR_AR): Likewise.
2333 (BUS_MCEERR_AO): Likewise.
2334 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2335 (TRAP_TRACE): Likewise.
2336 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2337 __USE_XOPEN2K8].
2338 (CLD_KILLED): Likewise.
2339 (CLD_DUMPED): Likewise.
2340 (CLD_TRAPPED): Likewise.
2341 (CLD_STOPPED): Likewise.
2342 (CLD_CONTINUED): Likewise.
2343 (POLL_IN): Likewise.
2344 (POLL_OUT): Likewise.
2345 (POLL_MSG): Likewise.
2346 (POLL_ERR): Likewise.
2347 (POLL_PRI): Likewise.
2348 (POLL_HUP): Likewise.
2349 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2350 (ILL_ILLOPN): Likewise.
2351 (ILL_ILLADR): Likewise.
2352 (ILL_ILLTRP): Likewise.
2353 (ILL_PRVOPC): Likewise.
2354 (ILL_PRVREG): Likewise.
2355 (ILL_COPROC): Likewise.
2356 (ILL_BADSTK): Likewise.
2357 (FPE_INTDIV): Likewise.
2358 (FPE_INTOVF): Likewise.
2359 (FPE_FLTDIV): Likewise.
2360 (FPE_FLTOVF): Likewise.
2361 (FPE_FLTUND): Likewise.
2362 (FPE_FLTRES): Likewise.
2363 (FPE_FLTINV): Likewise.
2364 (FPE_FLTSUB): Likewise.
2365 (SEGV_MAPERR): Likewise.
2366 (SEGV_ACCERR): Likewise.
2367 (BUS_ADRALN): Likewise.
2368 (BUS_ADRERR): Likewise.
2369 (BUS_OBJERR): Likewise.
2370 (BUS_MCEERR_AR): Likewise.
2371 (BUS_MCEERR_AO): Likewise.
2372 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2373 (TRAP_TRACE): Likewise.
2374 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2375 __USE_XOPEN2K8].
2376 (CLD_KILLED): Likewise.
2377 (CLD_DUMPED): Likewise.
2378 (CLD_TRAPPED): Likewise.
2379 (CLD_STOPPED): Likewise.
2380 (CLD_CONTINUED): Likewise.
2381 (POLL_IN): Likewise.
2382 (POLL_OUT): Likewise.
2383 (POLL_MSG): Likewise.
2384 (POLL_ERR): Likewise.
2385 (POLL_PRI): Likewise.
2386 (POLL_HUP): Likewise.
2387 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2388 (ILL_ILLOPN): Likewise.
2389 (ILL_ILLADR): Likewise.
2390 (ILL_ILLTRP): Likewise.
2391 (ILL_PRVOPC): Likewise.
2392 (ILL_PRVREG): Likewise.
2393 (ILL_COPROC): Likewise.
2394 (ILL_BADSTK): Likewise.
2395 (ILL_DBLFLT): Likewise.
2396 (ILL_HARDWALL): Likewise.
2397 (FPE_INTDIV): Likewise.
2398 (FPE_INTOVF): Likewise.
2399 (FPE_FLTDIV): Likewise.
2400 (FPE_FLTOVF): Likewise.
2401 (FPE_FLTUND): Likewise.
2402 (FPE_FLTRES): Likewise.
2403 (FPE_FLTINV): Likewise.
2404 (FPE_FLTSUB): Likewise.
2405 (SEGV_MAPERR): Likewise.
2406 (SEGV_ACCERR): Likewise.
2407 (BUS_ADRALN): Likewise.
2408 (BUS_ADRERR): Likewise.
2409 (BUS_OBJERR): Likewise.
2410 (BUS_MCEERR_AR): Likewise.
2411 (BUS_MCEERR_AO): Likewise.
2412 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2413 (TRAP_TRACE): Likewise.
2414 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2415 __USE_XOPEN2K8].
2416 (CLD_KILLED): Likewise.
2417 (CLD_DUMPED): Likewise.
2418 (CLD_TRAPPED): Likewise.
2419 (CLD_STOPPED): Likewise.
2420 (CLD_CONTINUED): Likewise.
2421 (POLL_IN): Likewise.
2422 (POLL_OUT): Likewise.
2423 (POLL_MSG): Likewise.
2424 (POLL_ERR): Likewise.
2425 (POLL_PRI): Likewise.
2426 (POLL_HUP): Likewise.
2427 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2428 (ILL_ILLOPN): Likewise.
2429 (ILL_ILLADR): Likewise.
2430 (ILL_ILLTRP): Likewise.
2431 (ILL_PRVOPC): Likewise.
2432 (ILL_PRVREG): Likewise.
2433 (ILL_COPROC): Likewise.
2434 (ILL_BADSTK): Likewise.
2435 (FPE_INTDIV): Likewise.
2436 (FPE_INTOVF): Likewise.
2437 (FPE_FLTDIV): Likewise.
2438 (FPE_FLTOVF): Likewise.
2439 (FPE_FLTUND): Likewise.
2440 (FPE_FLTRES): Likewise.
2441 (FPE_FLTINV): Likewise.
2442 (FPE_FLTSUB): Likewise.
2443 (SEGV_MAPERR): Likewise.
2444 (SEGV_ACCERR): Likewise.
2445 (BUS_ADRALN): Likewise.
2446 (BUS_ADRERR): Likewise.
2447 (BUS_OBJERR): Likewise.
2448 (BUS_MCEERR_AR): Likewise.
2449 (BUS_MCEERR_AO): Likewise.
2450 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2451 (TRAP_TRACE): Likewise.
2452 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2453 __USE_XOPEN2K8].
2454 (CLD_KILLED): Likewise.
2455 (CLD_DUMPED): Likewise.
2456 (CLD_TRAPPED): Likewise.
2457 (CLD_STOPPED): Likewise.
2458 (CLD_CONTINUED): Likewise.
2459 (POLL_IN): Likewise.
2460 (POLL_OUT): Likewise.
2461 (POLL_MSG): Likewise.
2462 (POLL_ERR): Likewise.
2463 (POLL_PRI): Likewise.
2464 (POLL_HUP): Likewise.
2465 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2466 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2467
2468 [BZ #16670]
2469 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2470 before #include of <time.h>.
2471 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2472 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2473 (test-xfail-UNIX98/sched.h/conform): Likewise.
2474
2475 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2476
2477 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2478 error absence of trapping exception support.
2479 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2480
2481 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2482
2483 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2484 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2485 * timezone/Makefile (testdata): Move definition above include of
2486 Rules.
2487 (test-zones): New variable.
2488 (tests-special): Add zone files.
2489 (build-testdata): Use $(evaluate-test).
2490
2491 * elf/Makefile (tests-special): Rename tests to end with .out.
2492 ($(objpfx)noload-mem): Likewise.
2493 ($(objpfx)tst-leaks1-mem): Likewise.
2494 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2495 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2496 $(objpfx)test-iconvconfig.out.
2497 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2498 set -e inside subshell and redirect output to file.
2499 * iconvdata/Makefile (generated): Rename tests to end with .out.
2500 Correct type.
2501 (tests-special): Rename tests to end with .out.
2502 ($(objpfx)mtrace-tst-loading): Likewise.
2503 * intl/Makefile (generated): Likewise.
2504 (tests-special): Likewise.
2505 ($(objpfx)mtrace-tst-gettext): Likewise.
2506 * misc/Makefile (generated): Likewise.
2507 (tests-special): Likewise.
2508 ($(objpfx)tst-error1-mem): Likewise.
2509 * nptl/Makefile (tests-special): Likewise.
2510 ($(objpfx)tst-stack3-mem): Likewise.
2511 (generated): Likewise.
2512 * posix/Makefile (generated): Likewise.
2513 (tests-special): Likewise.
2514 (xtests-special): Likewise.
2515 ($(objpfx)tst-fnmatch-mem): Likewise.
2516 ($(objpfx)bug-regex2-mem): Likewise.
2517 ($(objpfx)bug-regex14-mem): Likewise.
2518 ($(objpfx)bug-regex21-mem): Likewise.
2519 ($(objpfx)bug-regex31-mem): Likewise.
2520 ($(objpfx)tst-vfork3-mem): Likewise.
2521 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2522 ($(objpfx)tst-pcre-mem): Likewise.
2523 ($(objpfx)tst-boost-mem): Likewise.
2524 ($(objpfx)bug-ga2-mem): Likewise.
2525 ($(objpfx)bug-glob2-mem): Likewise.
2526 * resolv/Makefile (generate): Likewise.
2527 (tests-special): Likewise.
2528 (xtests-special): Likewise.
2529 (generated): Likewise.
2530 ($(objpfx)mtrace-tst-leaks): Likewise.
2531 ($(objpfx)mtrace-tst-leaks2): Likewise.
2532
2533 * scripts/merge-test-results.sh: New file.
2534 * Makefile (tests-special-notdir): New variable.
2535 (tests): Run merge-test-results.sh.
2536 (xtests): Likewise.
2537 * Rules (tests-special-notdir): New variable.
2538 (xtests-special-notdir): Likewise.
2539 (tests): Run merge-test-results.sh
2540 (xtests): Likewise.
2541
2542 * Makeconfig (test-xfail-name): New variable.
2543 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2544 compute variable name for expected failures.
2545 * conform/Makefile (conformtest-headers-data): New variable.
2546 (conformtest-standards): Likewise.
2547 (conformtest-headers-ISO): Likewise.
2548 (conformtest-headers-ISO99): Likewise.
2549 (conformtest-headers-ISO11): Likewise.
2550 (conformtest-headers-POSIX): Likewise.
2551 (conformtest-headers-XPG3): Likewise.
2552 (conformtest-headers-XPG4): Likewise.
2553 (conformtest-headers-UNIX98): Likewise.
2554 (conformtest-headers-XOPEN2K): Likewise.
2555 (conformtest-headers-POSIX2008): Likewise.
2556 (conformtest-headers-XOPEN2K8): Likewise.
2557 (conformtest-header-list-base): Likewise.
2558 (conformtest-header-list-tests): Likewise.
2559 (conformtest-header-base): Likewise.
2560 (conformtest-header-tests): Likewise.
2561 (tests-special): Add $(conformtest-header-list-tests). If
2562 [$(fast-check) && !$(cross-compiling)], add
2563 $(conformtest-header-tests) instead of
2564 $(objpfx)run-conformtest.out.
2565 (generated): Add $(conformtest-header-list-base). If
2566 [$(fast-check) && !$(cross-compiling)], add
2567 $(conformtest-header-base). Remove previous setting.
2568 ($(conformtest-header-list-tests)): New target.
2569 (test-xfail-run-conformtest): Remove variable.
2570 ($(objpfx)run-conformtest.out): Remove target.
2571 (test-xfail-ISO11/complex.h/conform): New variable.
2572 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2573 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2574 (test-xfail-XPG3/varargs.h/conform): Likewise.
2575 (test-xfail-XPG4/varargs.h/conform): Likewise.
2576 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2577 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2578 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2579 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2580 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2581 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2582 (test-xfail-XPG3/ftw.h/conform): Likewise.
2583 (test-xfail-XPG3/grp.h/conform): Likewise.
2584 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2585 (test-xfail-XPG3/limits.h/conform): Likewise.
2586 (test-xfail-XPG3/pwd.h/conform): Likewise.
2587 (test-xfail-XPG3/search.h/conform): Likewise.
2588 (test-xfail-XPG3/signal.h/conform): Likewise.
2589 (test-xfail-XPG3/stdio.h/conform): Likewise.
2590 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2591 (test-xfail-XPG3/string.h/conform): Likewise.
2592 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2593 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2594 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2595 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2596 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2597 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2598 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2599 (test-xfail-XPG3/termios.h/conform): Likewise.
2600 (test-xfail-XPG3/time.h/conform): Likewise.
2601 (test-xfail-XPG3/unistd.h/conform): Likewise.
2602 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2603 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2604 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2605 (test-xfail-XPG4/netdb.h/conform): Likewise.
2606 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2607 (test-xfail-XPG4/signal.h/conform): Likewise.
2608 (test-xfail-XPG4/stdio.h/conform): Likewise.
2609 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2610 (test-xfail-XPG4/stropts.h/conform): Likewise.
2611 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2612 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2613 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2614 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2615 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2616 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2617 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2618 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2619 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2620 (test-xfail-XPG4/termios.h/conform): Likewise.
2621 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2622 (test-xfail-XPG4/unistd.h/conform): Likewise.
2623 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2624 (test-xfail-POSIX/sched.h/conform): Likewise.
2625 (test-xfail-POSIX/signal.h/conform): Likewise.
2626 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2627 (test-xfail-POSIX/tar.h/conform): Likewise.
2628 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2629 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2630 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2631 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2632 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2633 (test-xfail-UNIX98/sched.h/conform): Likewise.
2634 (test-xfail-UNIX98/signal.h/conform): Likewise.
2635 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2636 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2637 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2638 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2639 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2640 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2641 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2642 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2643 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2644 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2645 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2646 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2647 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2648 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2649 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2650 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2651 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2652 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2653 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2654 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2655 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2656 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2657 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2658 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2659 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2660 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2661 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2662 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2663 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2664 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2665 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2666 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2667 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2668 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2669 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2670 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2671 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2672 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2673 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2674 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2675 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2676 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2677 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2678 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2679 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2680 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2681 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2682 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2683 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2684 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2685 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2686 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2687 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2688 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2689 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2690 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2691 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2692 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2693 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2694 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2695 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2696 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2697 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2698 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2699 (conformtest-cc-flags): Likewise.
2700 ($(conformtest-header-tests): New target.
2701 * conform/check-header-lists.sh: New file.
2702 * conform/run-conformtest.sh: Remove.
2703
2704 * conform/conformtest.pl: Allow ' and \ in values given for
2705 constants.
2706 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2707 inclusion.
2708 [POSIX] (sys/types.h): Likewise.
2709 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2710 inclusion.
2711 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2712 inclusion.
2713 * conform/data/signal.h-data (SIGIO): Remove expectation.
2714 [XPG3] (SIGBUS): Do not expect.
2715 [POSIX || XPG3] (SIGPOLL): Likewise.
2716 [POSIX || XPG3] (SIGPROF): Likewise.
2717 [POSIX || XPG3] (SIGSYS): Likewise.
2718 [XPG3] (SIGTRAP): Likewise.
2719 [POSIX || XPG3] (SIGURG): Likewise.
2720 [POSIX || XPG3] (SIGVTALRM): Likewise.
2721 [POSIX || XPG3] (SIGXCPU): Likewise.
2722 [POSIX || XPG3] (SIGXFSZ): Likewise.
2723 [POSIX] (SA_SIGINFO): Expect.
2724 [XPG3] (siginfo_t): Do not expect type or contents.
2725 [POSIX] (si_pid): Do not expect element.
2726 [POSIX] (si_uid): Likewise.
2727 [POSIX] (si_addr): Likewise.
2728 [POSIX] (si_status): Likewise.
2729 [POSIX] (si_band): Likewise.
2730 [XPG4] (si_value): Likewise.
2731 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2732 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2733 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2734 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2735 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2736 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2737 [POSIX || XPG3] (ILL_COPROC): Likewise.
2738 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2739 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2740 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2741 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2742 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2743 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2744 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2745 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2746 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2747 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2748 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2749 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2750 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2751 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2752 [POSIX || XPG3] (CLD_EXITED): Likewise.
2753 [POSIX || XPG3] (CLD_KILLED): Likewise.
2754 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2755 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2756 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2757 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2758 [POSIX || XPG3] (POLL_IN): Likewise.
2759 [POSIX || XPG3] (POLL_OUT): Likewise.
2760 [POSIX || XPG3] (POLL_MSG): Likewise.
2761 [POSIX || XPG3] (POLL_ERR): Likewise.
2762 [POSIX || XPG3] (POLL_PRI): Likewise.
2763 [POSIX || XPG3] (POLL_HUP): Likewise.
2764 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2765 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2766 (SIG*): Do not allow.
2767 [XPG3] (si_*): Likewise.
2768 [XPG3] (SI_*): Likewise.
2769 [XPG3 || XPG4] (sigev_*): Likewise.
2770 [XPG3 || XPG4] (SIGEV_*): Likewise.
2771 [XPG3 || XPG4] (sival_*): Likewise.
2772 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2773 [POSIX || XPG3] (BUS_*): Likewise.
2774 [POSIX || XPG3] (CLD_*): Likewise.
2775 [POSIX || XPG3] (FPE_*): Likewise.
2776 [POSIX || XPG3] (ILL_*): Likewise.
2777 [POSIX || XPG3] (POLL_*): Likewise.
2778 [POSIX || XPG3] (SEGV_*): Likewise.
2779 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2780 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2781 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2782 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2783 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2784 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2785 Specify type and value.
2786 (TVERSLEN): Likewise.
2787 (REGTYPE): Likewise.
2788 (AREGTYPE): Likewise.
2789 (LNKTYPE): Likewise.
2790 (SYMTYPE): Likewise.
2791 (CHRTYPE): Likewise.
2792 (BLKTYPE): Likewise.
2793 (DIRTYPE): Likewise.
2794 (FIFOTYPE): Likewise.
2795 (CONTTYPE): Likewise.
2796 (TSUID): Likewise.
2797 (TSGID): Likewise.
2798 (TSVTX): Likewise.
2799 (TUREAD): Likewise.
2800 (TUWRITE): Likewise.
2801 (TUEXEC): Likewise.
2802 (TGREAD): Likewise.
2803 (TGWRITE): Likewise.
2804 (TGEXEC): Likewise.
2805 (TOREAD): Likewise.
2806 (TOWRITE): Likewise.
2807 (TOEXEC): Likewise.
2808 [POSIX] (TSVTX): Expect constant.
2809
2810 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2811
2812 * Makefile (tests): Change dependencies to ....
2813 (tests-special): ... additions to this variable.
2814 (tests): Depend on $(tests-special).
2815 * Makerules (check-abi-list): New variable.
2816 (check-abi): Depend on $(check-abi-list).
2817 [$(subdir) = elf] (tests-special): Add
2818 $(objpfx)check-abi-libc.out.
2819 [$(build-shared) = yes && subdir] (tests-special): Add
2820 $(check-abi-list).
2821 [$(build-shared) = yes && subdir] (tests): Do not depend on
2822 check-abi.
2823 * Rules (tests): Depend on $(tests-special).
2824 (xtests): Depend on $(xtests-special).
2825 * catgets/Makefile (tests): Change dependencies to ....
2826 (tests-special): ... additions to this variable.
2827 * conform/Makefile (tests): Change dependencies to ....
2828 (tests-special): ... additions to this variable.
2829 * elf/Makefile (tests): Change dependencies to ....
2830 (tests-special): ... additions to this variable.
2831 * grp/Makefile (tests): Change dependencies to ....
2832 (tests-special): ... additions to this variable.
2833 * iconv/Makefile (xtests): Change dependencies to ....
2834 (xtests-special): ... additions to this variable.
2835 * iconvdata/Makefile (tests): Change dependencies to ....
2836 (tests-special): ... additions to this variable.
2837 * intl/Makefile (tests): Change dependencies to ....
2838 (tests-special): ... additions to this variable. Also add
2839 $(objpfx)tst-gettext.out.
2840 * io/Makefile (tests): Change dependencies to ....
2841 (tests-special): ... additions to this variable.
2842 * libio/Makefile (tests): Change dependencies to ....
2843 (tests-special): ... additions to this variable.
2844 * malloc/Makefile (tests): Change dependencies to ....
2845 (tests-special): ... additions to this variable.
2846 * misc/Makefile (tests): Change dependencies to ....
2847 (tests-special): ... additions to this variable.
2848 * nptl/Makefile (tests): Change dependencies to ....
2849 (tests-special): ... additions to this variable.
2850 * nptl_db/Makefile (tests): Change dependencies to ....
2851 (tests-special): ... additions to this variable.
2852 * posix/Makefile (tests): Change dependencies to ....
2853 (tests-special): ... additions to this variable.
2854 (xtests): Change dependencies to ....
2855 (xtests-special): ... additions to this variable.
2856 * resolv/Makefile (tests): Change dependencies to ....
2857 (tests-special): ... additions to this variable.
2858 (xtests): Change dependencies to ....
2859 (xtests-special): ... additions to this variable.
2860 * stdio-common/Makefile (tests): Change dependencies to ....
2861 (tests-special): ... additions to this variable.
2862 (do-tst-unbputc): Remove target.
2863 (do-tst-printf): Likewise.
2864 * stdlib/Makefile (tests): Change dependencies to ....
2865 (tests-special): ... additions to this variable.
2866 * string/Makefile (tests): Change dependencies to ....
2867 (tests-special): ... additions to this variable.
2868 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2869 (tests-special): ... additions to this variable.
2870
2871 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2872 whole file.
2873 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2874 whole file.
2875 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2876 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2877
2878 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2879 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2880 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2881 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2882 * conform/data/libgen.h-data [XPG3]: Likewise.
2883 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2884 * conform/data/ndbm.h-data [XPG3]: Likewise.
2885 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2886 * conform/data/netdb.h-data [XPG3]: Likewise.
2887 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2888 * conform/data/poll.h-data [XPG3]: Likewise.
2889 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2890 * conform/data/strings.h-data [XPG3]: Likewise.
2891 * conform/data/stropts.h-data [XPG3]: Likewise.
2892 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2893 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2894 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2895 Likewise.
2896 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2897 * conform/data/sys/time.h-data [XPG3]: Likewise.
2898 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2899 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2900 * conform/data/sys/un.h-data [XPG3]: Likewise.
2901 * conform/data/syslog.h-data [XPG3]: Likewise.
2902 * conform/data/ucontext.h-data [XPG3]: Likewise.
2903 * conform/data/utmpx.h-data [XPG3]: Likewise.
2904 * conform/data/varargs.h-data [UNIX98]: Enable file.
2905
2906 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2907
2908 * math/libm-test.inc (struct test_f_f_data): Move expected results
2909 into structure for each rounding mode.
2910 (struct test_ff_f_data): Likewise.
2911 (struct test_ff_f_data_nexttoward): Likewise.
2912 (struct test_fi_f_data): Likewise.
2913 (struct test_fl_f_data): Likewise.
2914 (struct test_if_f_data): Likewise.
2915 (struct test_fff_f_data): Likewise.
2916 (struct test_c_f_data): Likewise.
2917 (struct test_f_f1_data): Likewise.
2918 (struct test_fF_f1_data): Likewise.
2919 (struct test_ffI_f1_data): Likewise.
2920 (struct test_c_c_data): Likewise.
2921 (struct test_cc_c_data): Likewise.
2922 (struct test_f_i_data): Likewise.
2923 (struct test_ff_i_data): Likewise.
2924 (struct test_f_l_data): Likewise.
2925 (struct test_f_L_data): Likewise.
2926 (struct test_fFF_11_data): Likewise.
2927 (RM_): New macro.
2928 (RM_FE_DOWNWARD): Likewise.
2929 (RM_FE_TONEAREST): Likewise.
2930 (RM_FE_TOWARDZERO): Likewise.
2931 (RM_FE_UPWARD): Likewise.
2932 (RUN_TEST_LOOP_f_f): Update references to expected results.
2933 (RUN_TEST_LOOP_2_f): Likewise.
2934 (RUN_TEST_LOOP_fff_f): Likewise.
2935 (RUN_TEST_LOOP_c_f): Likewise.
2936 (RUN_TEST_LOOP_f_f1): Likewise.
2937 (RUN_TEST_LOOP_fF_f1): Likewise.
2938 (RUN_TEST_LOOP_fI_f1): Likewise.
2939 (RUN_TEST_LOOP_ffI_f1): Likewise.
2940 (RUN_TEST_LOOP_c_c): Likewise.
2941 (RUN_TEST_LOOP_cc_c): Likewise.
2942 (RUN_TEST_LOOP_f_i): Likewise.
2943 (RUN_TEST_LOOP_f_i_tg): Likewise.
2944 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2945 (RUN_TEST_LOOP_f_b): Likewise.
2946 (RUN_TEST_LOOP_f_b_tg): Likewise.
2947 (RUN_TEST_LOOP_f_l): Likewise.
2948 (RUN_TEST_LOOP_f_L): Likewise.
2949 (RUN_TEST_LOOP_fFF_11): Likewise.
2950 * math/gen-libm-test.pl (parse_args): Output four copies of
2951 expected results for each test.
2952
2953 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2954 (__ASSUME_UTIMES): Remove.
2955 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2956 (__ASSUME_UTIMES): Likewise.
2957
2958 * math/gen-auto-libm-tests.c: Update comment on output format.
2959 (output_for_one_input_case): Generate before-rounding and
2960 after-rounding information as conditions on output flags not
2961 floating-point format.
2962 * math/auto-libm-test-out: Regenerated.
2963 * math/gen-libm-test.pl (cond_value): New function.
2964 (or_cond_value): Use cond_value.
2965 (generate_testfile): Handle conditional exceptions.
2966
2967 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2968
2969 * math/libm-test.inc (max_valid_error): New variable.
2970 (init_max_error): Take new argument specifying whether function
2971 results are exactly determined. Set max_valid_error and bound
2972 other variables for errors based on this argument.
2973 (set_max_error): Do not record results above max_valid_error.
2974 (check_float_internal): Only accept errors of up to 0.5ulps if
2975 also at most max_valid_error.
2976 (START): Take new argument EXACT and pass it to init_max_error.
2977 (acos_test): Update call to START.
2978 (acos_test_tonearest): Likewise.
2979 (acos_test_towardzero): Likewise.
2980 (acos_test_downward): Likewise.
2981 (acos_test_upward): Likewise.
2982 (acosh_test): Likewise.
2983 (asin_test): Likewise.
2984 (asin_test_tonearest): Likewise.
2985 (asin_test_towardzero): Likewise.
2986 (asin_test_downward): Likewise.
2987 (asin_test_upward): Likewise.
2988 (asinh_test): Likewise.
2989 (atan_test): Likewise.
2990 (atanh_test): Likewise.
2991 (atan2_test): Likewise.
2992 (cabs_test): Likewise.
2993 (cacos_test): Likewise.
2994 (cacosh_test): Likewise.
2995 (carg_test): Likewise.
2996 (casin_test): Likewise.
2997 (casinh_test): Likewise.
2998 (catan_test): Likewise.
2999 (catanh_test): Likewise.
3000 (cbrt_test): Likewise.
3001 (ccos_test): Likewise.
3002 (ccosh_test): Likewise.
3003 (ceil_test): Likewise.
3004 (cexp_test): Likewise.
3005 (cimag_test): Likewise.
3006 (clog_test): Likewise.
3007 (clog10_test): Likewise.
3008 (conj_test): Likewise.
3009 (copysign_test): Likewise.
3010 (cos_test): Likewise.
3011 (cos_test_tonearest): Likewise.
3012 (cos_test_towardzero): Likewise.
3013 (cos_test_downward): Likewise.
3014 (cos_test_upward): Likewise.
3015 (cosh_test): Likewise.
3016 (cosh_test_tonearest): Likewise.
3017 (cosh_test_towardzero): Likewise.
3018 (cosh_test_downward): Likewise.
3019 (cosh_test_upward): Likewise.
3020 (cpow_test): Likewise.
3021 (cproj_test): Likewise.
3022 (creal_test): Likewise.
3023 (csin_test): Likewise.
3024 (csinh_test): Likewise.
3025 (csqrt_test): Likewise.
3026 (ctan_test): Likewise.
3027 (ctan_test_tonearest): Likewise.
3028 (ctan_test_towardzero): Likewise.
3029 (ctan_test_downward): Likewise.
3030 (ctan_test_upward): Likewise.
3031 (ctanh_test): Likewise.
3032 (ctanh_test_tonearest): Likewise.
3033 (ctanh_test_towardzero): Likewise.
3034 (ctanh_test_downward): Likewise.
3035 (ctanh_test_upward): Likewise.
3036 (erf_test): Likewise.
3037 (erfc_test): Likewise.
3038 (exp_test): Likewise.
3039 (exp_test_tonearest): Likewise.
3040 (exp_test_towardzero): Likewise.
3041 (exp_test_downward): Likewise.
3042 (exp_test_upward): Likewise.
3043 (exp10_test): Likewise.
3044 (exp10_test_tonearest): Likewise.
3045 (exp10_test_towardzero): Likewise.
3046 (exp10_test_downward): Likewise.
3047 (exp10_test_upward): Likewise.
3048 (pow10_test): Likewise.
3049 (exp2_test): Likewise.
3050 (expm1_test): Likewise.
3051 (expm1_test_tonearest): Likewise.
3052 (expm1_test_towardzero): Likewise.
3053 (expm1_test_downward): Likewise.
3054 (expm1_test_upward): Likewise.
3055 (fabs_test): Likewise.
3056 (fdim_test): Likewise.
3057 (floor_test): Likewise.
3058 (fma_test): Likewise.
3059 (fma_test_towardzero): Likewise.
3060 (fma_test_downward): Likewise.
3061 (fma_test_upward): Likewise.
3062 (fmax_test): Likewise.
3063 (fmin_test): Likewise.
3064 (fmod_test): Likewise.
3065 (fpclassify_test): Likewise.
3066 (frexp_test): Likewise.
3067 (hypot_test): Likewise.
3068 (ilogb_test): Likewise.
3069 (isfinite_test): Likewise.
3070 (finite_test): Likewise.
3071 (isgreater_test): Likewise.
3072 (isgreaterequal_test): Likewise.
3073 (isinf_test): Likewise.
3074 (isless_test): Likewise.
3075 (islessequal_test): Likewise.
3076 (islessgreater_test): Likewise.
3077 (isnan_test): Likewise.
3078 (isnormal_test): Likewise.
3079 (issignaling_test): Likewise.
3080 (isunordered_test): Likewise.
3081 (j0_test): Likewise.
3082 (j1_test): Likewise.
3083 (jn_test): Likewise.
3084 (ldexp_test): Likewise.
3085 (lgamma_test): Likewise.
3086 (gamma_test): Likewise.
3087 (lrint_test): Likewise.
3088 (lrint_test_tonearest): Likewise.
3089 (lrint_test_towardzero): Likewise.
3090 (lrint_test_downward): Likewise.
3091 (lrint_test_upward): Likewise.
3092 (llrint_test): Likewise.
3093 (llrint_test_tonearest): Likewise.
3094 (llrint_test_towardzero): Likewise.
3095 (llrint_test_downward): Likewise.
3096 (llrint_test_upward): Likewise.
3097 (log_test): Likewise.
3098 (log10_test): Likewise.
3099 (log1p_test): Likewise.
3100 (log2_test): Likewise.
3101 (logb_test): Likewise.
3102 (logb_test_downward): Likewise.
3103 (lround_test): Likewise.
3104 (llround_test): Likewise.
3105 (modf_test): Likewise.
3106 (nearbyint_test): Likewise.
3107 (nextafter_test): Likewise.
3108 (nexttoward_test): Likewise.
3109 (pow_test): Likewise.
3110 (pow_test_tonearest): Likewise.
3111 (pow_test_towardzero): Likewise.
3112 (pow_test_downward): Likewise.
3113 (pow_test_upward): Likewise.
3114 (remainder_test): Likewise.
3115 (drem_test): Likewise.
3116 (remainder_test_tonearest): Likewise.
3117 (drem_test_tonearest): Likewise.
3118 (remainder_test_towardzero): Likewise.
3119 (drem_test_towardzero): Likewise.
3120 (remainder_test_downward): Likewise.
3121 (drem_test_downward): Likewise.
3122 (remainder_test_upward): Likewise.
3123 (drem_test_upward): Likewise.
3124 (remquo_test): Likewise.
3125 (rint_test): Likewise.
3126 (rint_test_tonearest): Likewise.
3127 (rint_test_towardzero): Likewise.
3128 (rint_test_downward): Likewise.
3129 (rint_test_upward): Likewise.
3130 (round_test): Likewise.
3131 (scalb_test): Likewise.
3132 (scalbn_test): Likewise.
3133 (scalbln_test): Likewise.
3134 (signbit_test): Likewise.
3135 (sin_test): Likewise.
3136 (sin_test_tonearest): Likewise.
3137 (sin_test_towardzero): Likewise.
3138 (sin_test_downward): Likewise.
3139 (sin_test_upward): Likewise.
3140 (sincos_test): Likewise.
3141 (sinh_test): Likewise.
3142 (sinh_test_tonearest): Likewise.
3143 (sinh_test_towardzero): Likewise.
3144 (sinh_test_downward): Likewise.
3145 (sinh_test_upward): Likewise.
3146 (sqrt_test): Likewise.
3147 (sqrt_test_tonearest): Likewise.
3148 (sqrt_test_towardzero): Likewise.
3149 (sqrt_test_downward): Likewise.
3150 (sqrt_test_upward): Likewise.
3151 (tan_test): Likewise.
3152 (tan_test_tonearest): Likewise.
3153 (tan_test_towardzero): Likewise.
3154 (tan_test_downward): Likewise.
3155 (tan_test_upward): Likewise.
3156 (tanh_test): Likewise.
3157 (tgamma_test): Likewise.
3158 (trunc_test): Likewise.
3159 (y0_test): Likewise.
3160 (y1_test): Likewise.
3161 (yn_test): Likewise.
3162 (significand_test): Likewise.
3163
3164 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3165 individual tests in comment.
3166 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3167 (prev_max_error): New variable.
3168 (prev_real_max_error): Likewise.
3169 (prev_imag_max_error): Likewise.
3170 (compare_ulp_data): Don't refer to test names in comment.
3171 (find_test_ulps): Remove function.
3172 (find_function_ulps): Likewise.
3173 (find_complex_function_ulps): Likewise.
3174 (init_max_error): Take function name as argument. Look up ulps
3175 for that function.
3176 (print_ulps): Remove function.
3177 (print_max_error): Use prev_max_error instead of calling
3178 find_function_ulps.
3179 (print_complex_max_error): Use prev_real_max_error and
3180 prev_imag_max_error instead of calling find_complex_function_ulps.
3181 (check_float_internal): Take max_ulp parameter instead of calling
3182 find_test_ulps. Don't call print_ulps.
3183 (check_float): Update call to check_float_internal.
3184 (check_complex): Update calls to check_float_internal.
3185 (START): Pass argument to init_max_error.
3186 * math/gen-libm-test.pl (%results): Don't include "kind"
3187 information.
3188 (parse_ulps): Don't handle ulps of individual tests.
3189 (print_ulps_file): Likewise.
3190 (output_ulps): Likewise.
3191 * math/README.libm-test: Update.
3192 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3193 individual tests.
3194 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3195 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3196 * sysdeps/arm/libm-test-ulps: Likewise.
3197 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3198 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3199 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3200 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3201 * sysdeps/microblaze/libm-test-ulps: Likewise.
3202 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3203 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3204 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3205 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3206 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3207 * sysdeps/sh/libm-test-ulps: Likewise.
3208 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3209 * sysdeps/tile/libm-test-ulps: Likewise.
3210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3211
3212 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3213
3214 * math/libm-test.inc (print_complex_max_error): Check separately
3215 whether real and imaginary errors are within allowed range and
3216 pass 0 to print_complex_function_ulps instead of value within
3217 allowed range.
3218
3219 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3220
3221 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3222 formatting.
3223 (get_handles_fopen): Likewise.
3224 (do_write_test): Likewise.
3225
3226 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3227
3228 * libio/fileops.c (do_ftell): Use cached offset when
3229 available.
3230 * libio/iofwide.c (do_ftell_wide): Likewise.
3231 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3232 _IO_file_attach.
3233 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3234
3235 [BZ #16532]
3236 * libio/libioP.h (get_file_offset): New function.
3237 * libio/fileops.c (get_file_offset): Likewise.
3238 (do_ftell): Likewise.
3239 (_IO_new_file_seekoff): Split out ftell logic.
3240 * libio/wfileops.c (do_ftell_wide): Likewise.
3241 (_IO_wfile_seekoff): Split out ftell logic.
3242 * libio/tst-ftell-active-handler.c: New test case.
3243 * libio/Makefile (tests): Add it.
3244
3245 2014-03-03 Roland McGrath <roland@hack.frob.com>
3246
3247 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3248 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3249
3250 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3251
3252 [BZ #16639]
3253 * nscd/connections.c (nscd_init): Call do_exit.
3254 (start_threads): Call do_exit and notify_parent.
3255 (begin_drop_privileges): Call do_exit.
3256 (finish_drop_privileges): Likewise.
3257 * nscd/selinux.c (preserve_capabilities): Likewise.
3258 (install_real_capabilities): Likewise.
3259 (nscd_selinux_enabled): Likewise.
3260 (avc_create_thread): Likewise.
3261 (avc_alloc_lock): Likewise.
3262 (nscd_avc_init): Likewise.
3263 * nscd/nscd.c (parent_fd): New static variable.
3264 (main): Create a pipe between parent and child processes.
3265 Skip closing parent_fd.
3266 (monitor_child): New function.
3267 (do_exit): Likewise.
3268 (notify_parent): Likewise.
3269 * nscd/nscd.h (notify_parent): Likewise.
3270 (do_exit): Likewise.
3271
3272 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3273
3274 * malloc/malloc.c (__libc_calloc): Revert last change.
3275
3276 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3277
3278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3279
3280 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3281
3282 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3284 implementation.
3285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3286 (__libc_ifunc_impl_list): Likewise.
3287 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3288 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3289 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3290 * string/strrchr.c: Define STRRCHR.
3291
3292 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3293
3294 * benchtest/bench-strtok.c (simple_strtok): Delete.
3295 (strtok_string): Use as benchmark.
3296 * string/strtok (STRTOK): New macro.
3297
3298 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3299
3300 * manual/threads.texi: Add header and standard comments to all
3301 functions.
3302
3303 * elf/dl-lookup.c (check_match): New function.
3304 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3305 (do_lookup_x): Remove nested function check_match. Use non-nested
3306 function check_match.
3307
3308 2014-02-28 Roland McGrath <roland@hack.frob.com>
3309
3310 * csu/Makefile (generated, before-compile): Use += rather than =.
3311 * catgets/Makefile (generated, generated-dirs): Likewise.
3312 * debug/Makefile (generated): Likewise.
3313 * dlfcn/Makefile (generated): Likewise.
3314 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3315 * iconvdata/Makefile (before-compile, generated): Likewise.
3316 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3317 * libio/Makefile (generated): Likewise.
3318 * malloc/Makefile (generated): Likewise.
3319 * manual/Makefile (generated, generated-dirs): Likewise.
3320 * misc/Makefile (generated): Likewise.
3321 * posix/Makefile (generated): Likewise.
3322 * resolv/Makefile (generated): Likewise.
3323 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3324 * timezone/Makefile (generated, generated-dirs): Likewise.
3325
3326 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3327
3328 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3329
3330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3331 power8 implementation.
3332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3333 file: POWER8 llround ifunc implementation.
3334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3335 (__lllround): Add POWER8 implementation.
3336 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3337 POWER8 llround implementation.
3338
3339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3340 power8 implementation.
3341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3342 file: POWER8 llrint ifunc implementation.
3343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3344 Add POWER8 implementation.
3345 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3346 POWER8 llrint implementation.
3347
3348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3349 power8 implementation.
3350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3351 file: POWER8 finite ifunc implementation.
3352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3353 Add POWER8 implementation.
3354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3355 Likewise.
3356 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3357 POWER8 finite implementation.
3358 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3359
3360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3361 power8 implementation.
3362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3363 file: POWER8 isinf ifunc implementation.
3364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3365 POWER8 implementation.
3366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3367 Likewise.
3368 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3369 isinf implementation.
3370 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3371
3372 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3373 (INIT_ARCH): Add hwcap2 initialization.
3374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3375 power8 implementation.
3376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3377 file: POWER8 isnan ifunc implementation.
3378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3379 POWER8 implementation.
3380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3381 Likewise.
3382 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3383 isnan implementation.
3384 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3385
3386 2014-02-27 Joey Ye <joey.ye@arm.com>
3387
3388 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3389 (_FP_NANFRAC_Q): Set to zero.
3390
3391 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3392
3393 [BZ #16623]
3394 * math/auto-libm-test-in: New test inputs.
3395 * math/auto-libm-test-out: Regenerate.
3396 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3397 and DA.
3398 (__cos): Likewise.
3399 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3400
3401 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3402
3403 * scripts/evaluate-test.sh: Take new argument indicating whether
3404 failure is expected.
3405 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3406 indicating whether failure is expected.
3407 * conform/Makefile (test-xfail-run-conformtest): New variable.
3408 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3409 level.
3410 * posix/Makefile (test-xfail-annexc): New variable.
3411 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3412
3413 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3414
3415 * argp/Makefile: Include Makeconfig immediately after defining
3416 subdir.
3417 * assert/Makefile: Likewise.
3418 * benchtests/Makefile: Likewise.
3419 * catgets/Makefile: Likewise.
3420 * conform/Makefile: Likewise.
3421 * crypt/Makefile: Likewise.
3422 * csu/Makefile: Likewise.
3423 (all): Remove target.
3424 * ctype/Makefile: Include Makeconfig immediately after defining
3425 subdir.
3426 * debug/Makefile: Likewise.
3427 * dirent/Makefile: Likewise.
3428 * dlfcn/Makefile: Likewise.
3429 * gmon/Makefile: Likewise.
3430 * gnulib/Makefile: Likewise.
3431 * grp/Makefile: Likewise.
3432 * gshadow/Makefile: Likewise.
3433 * hesiod/Makefile: Likewise.
3434 * hurd/Makefile: Likewise.
3435 (all): Remove target.
3436 * iconvdata/Makefile: Include Makeconfig immediately after
3437 defining subdir.
3438 * inet/Makefile: Likewise.
3439 * intl/Makefile: Likewise.
3440 * io/Makefile: Likewise.
3441 * libio/Makefile: Likewise.
3442 (all): Remove target.
3443 * locale/Makefile: Include Makeconfig immediately after defining
3444 subdir.
3445 * login/Makefile: Likewise.
3446 * mach/Makefile: Likewise.
3447 (all): Remove target.
3448 * malloc/Makefile: Include Makeconfig immediately after defining
3449 subdir.
3450 (all): Remove target.
3451 * manual/Makefile: Include Makeconfig immediately after defining
3452 subdir.
3453 * math/Makefile: Likewise.
3454 * misc/Makefile: Likewise.
3455 * nis/Makefile: Likewise.
3456 * nss/Makefile: Likewise.
3457 * po/Makefile: Likewise.
3458 (all): Remove target.
3459 * posix/Makefile: Include Makeconfig immediately after defining
3460 subdir.
3461 * pwd/Makefile: Likewise.
3462 * resolv/Makefile: Likewise.
3463 * resource/Makefile: Likewise.
3464 * rt/Makefile: Likewise.
3465 * setjmp/Makefile: Likewise.
3466 * shadow/Makefile: Likewise.
3467 * signal/Makefile: Likewise.
3468 * socket/Makefile: Likewise.
3469 * soft-fp/Makefile: Likewise.
3470 * stdio-common/Makefile: Likewise.
3471 * stdlib/Makefile: Likewise.
3472 * streams/Makefile: Likewise.
3473 * string/Makefile: Likewise.
3474 * sunrpc/Makefile: Likewise.
3475 (all): Remove target.
3476 * sysvipc/Makefile: Include Makeconfig immediately after defining
3477 subdir.
3478 * termios/Makefile: Likewise.
3479 * time/Makefile: Likewise.
3480 * timezone/Makefile: Likewise.
3481 (all): Remove target.
3482 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3483 subdir.
3484 * wctype/Makefile: Likewise.
3485
3486 2014-02-26 Steve Ellcey <sellcey@mips.com>
3487
3488 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3489 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3490 (libc_feholdexcept_setround_mips): Ditto.
3491 (libc_feholdsetround): New.
3492 (libc_feholdsetroundf): New.
3493 (libc_feholdsetroundl): New.
3494 (libc_feupdateenv_test_mips): New.
3495 (libc_feupdateenv_test): New.
3496 (libc_feupdateenv_testf): New.
3497 (libc_feupdateenv_testl): New.
3498 (libc_feresetround): New.
3499 (libc_feresetroundf): New.
3500 (libc_feresetroundl): New.
3501 (libc_fetestexcept_mips): New.
3502 (libc_fetestexcept): New.
3503 (libc_fetestexceptf): New.
3504 (libc_fetestexceptl): New.
3505 (HAVE_RM_CTX): New.
3506 (libc_feholdexcept_setround_mips_ctx): New.
3507 (libc_feholdexcept_setround_ctx): New.
3508 (libc_feholdexcept_setroundf_ctx): New.
3509 (libc_feholdexcept_setroundl_ctx): New.
3510 (libc_fesetenv_mips_ctx): New.
3511 (libc_fesetenv_ctx): New.
3512 (libc_fesetenv_ctxf): New.
3513 (libc_fesetenv_ctxl): New.
3514 (libc_feupdateenv_mips_ctx): New.
3515 (libc_feupdateenv_ctx): New.
3516 (libc_feupdateenvf_ctx): New.
3517 (libc_feupdateenvl_ctx): New.
3518 (libc_feholdsetround_mips_ctx): New.
3519 (libc_feholdsetround_ctx): New.
3520 (libc_feholdsetroundf_ctx): New.
3521 (libc_feholdsetroundl_ctx): New.
3522 (libc_feresetround_mips_ctx): New.
3523 (libc_feresetround_ctx): New.
3524 (libc_feresetroundf_ctx): New.
3525 (libc_feresetroundl_ctx): New.
3526
3527 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3528
3529 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3530
3531 * manual/ipc.texi: New file.
3532 * manual/Makefile (chapters): Add ipc.
3533 * manual/job.texi: Add "Inter-Process Communication" to next.
3534 * manual/process.texi: Add "Inter-Process Communication" to prev.
3535
3536 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3537
3538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3539
3540 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3541
3542 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3543
3544 * manual/arith.texi: Fix spaces after sentences.
3545 * manual/charset.texi: Likewise.
3546 * manual/errno.texi: Likewise.
3547 * manual/install.texi: Likewise.
3548 * manual/llio.texi: Likewise.
3549 * manual/locale.texi: Likewise.
3550 * manual/maint.texi: Likewise.
3551 * manual/math.texi: Likewise.
3552 * manual/memory.texi: Likewise.
3553 * manual/message.texi: Likewise.
3554 * manual/probes.texi: Likewise.
3555 * manual/resource.texi: Likewise.
3556 * manual/signal.texi: Likewise.
3557 * manual/socket.texi: Likewise.
3558 * manual/stdio.texi: Likewise.
3559 * manual/string.texi: Likewise.
3560 * manual/time.texi: Likewise.
3561 * manual/users.texi: Likewise.
3562
3563 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3564
3565 [BZ #16632]
3566 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3567 _DEFAULT_SOURCE is defined.
3568
3569 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3570 Carlos O'Donell <carlos@redhat.com>
3571
3572 [BZ #16613]
3573 * elf/dl-tls.c (_dl_count_modids): New function.
3574 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3575 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3576 audit library and increment generation counter.
3577 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3578 * elf/tst-audit9.c: New file.
3579 * elf/tst-auditmod9a.c: New file.
3580 * elf/tst-auditmod9b.c: New file.
3581 * elf/Makefile: Add rules to build and run tst-audit9.
3582
3583 2014-02-25 Florian Weimer <fweimer@redhat.com>
3584
3585 [BZ #15347]
3586 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3587
3588 2014-02-25 Will Newton <will.newton@linaro.org>
3589
3590 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3591 (__longjmp): Restore sp and lr before restoring callee
3592 saved registers. Add longjmp and longjmp_target
3593 SystemTap probe point.
3594 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3595 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3596 Define to zero to match jmpbuf layout.
3597 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3598 (__sigsetjmp): Save sp and lr before saving callee
3599 saved registers. Add setjmp SystemTap probe point.
3600
3601 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3602
3603 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3604
3605 2014-02-24 Andreas Schwab <schwab@suse.de>
3606
3607 [BZ #15804]
3608 * elf/pldd.c (wait_for_ptrace_stop): New function.
3609 (main): Call it after attaching.
3610
3611 2014-02-22 Roland McGrath <roland@hack.frob.com>
3612
3613 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3614 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3615 Versions files is now verboten.
3616 * hurd/Versions (libc: GLIBC_2.0):
3617 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3618 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3619 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3620 * mach/Versions: Likewise.
3621
3622 * csu/Versions: Remove unused %include.
3623 * resolv/Versions: Likewise.
3624
3625 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3626
3627 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3628 ($(objpfx)check-local-headers.out): Likewise.
3629 ($(objpfx)begin-end-check.out): Likewise.
3630 * Makerules (check-abi-%.out): Likewise.
3631 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3632 ($(objpfx)test2.cat): Likewise.
3633 ($(objpfx)de/libc.cat): Likewise.
3634 ($(objpfx)test-gencat.out): Likewise.
3635 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3636 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3637 ($(objpfx)noload-mem): Likewise.
3638 ($(objpfx)tst-pathopt.out): Likewise.
3639 ($(objpfx)tst-rtld-load-self.out): Likewise.
3640 ($(objpfx)tst-array1-cmp.out): Likewise.
3641 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3642 ($(objpfx)tst-array2-cmp.out): Likewise.
3643 ($(objpfx)tst-array3-cmp.out): Likewise.
3644 ($(objpfx)tst-array4-cmp.out): Likewise.
3645 ($(objpfx)tst-array5-cmp.out): Likewise.
3646 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3647 ($(objpfx)check-textrel.out): Likewise.
3648 ($(objpfx)check-execstack.out): Likewise.
3649 ($(objpfx)check-localplt.out): Likewise.
3650 ($(objpfx)order2-cmp.out): Likewise.
3651 ($(objpfx)tst-leaks1-mem): Likewise.
3652 ($(objpfx)tst-leaks1-static-mem): Likewise.
3653 ($(objpfx)tst-initorder-cmp.out): Likewise.
3654 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3655 ($(objpfx)tst-unused-dep.out): Likewise.
3656 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3657 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3658 * iconv/Makefile (test-iconvconfig): Likewise.
3659 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3660 ($(objpfx)iconv-test.out): Likewise.
3661 ($(objpfx)tst-tables.out): Likewise.
3662 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3663 ($(objpfx)tst-gettext.out): Likewise.
3664 ($(objpfx)tst-translit.out): Likewise.
3665 ($(objpfx)tst-gettext2.out): Likewise.
3666 ($(objpfx)tst-gettext4.out): Likewise.
3667 ($(objpfx)tst-gettext6.out): Likewise.
3668 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3669 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3670 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3671 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3672 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3673 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3674 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3675 ($(objpfx)wordexp-tst.out): Likewise.
3676 ($(objpfx)annexc.out): Likewise.
3677 ($(objpfx)tst-fnmatch-mem): Likewise.
3678 ($(objpfx)bug-regex2-mem): Likewise.
3679 ($(objpfx)bug-regex14-mem): Likewise.
3680 ($(objpfx)bug-regex21-mem): Likewise.
3681 ($(objpfx)bug-regex31-mem): Likewise.
3682 ($(objpfx)tst-vfork3-mem): Likewise.
3683 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3684 ($(objpfx)tst-pcre-mem): Likewise.
3685 ($(objpfx)tst-boost-mem): Likewise.
3686 ($(objpfx)tst-getconf.out): Likewise.
3687 ($(objpfx)bug-ga2-mem): Likewise.
3688 ($(objpfx)bug-glob2-mem): Likewise.
3689 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3690 ($(objpfx)mtrace-tst-leaks2): Likewise.
3691 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3692 ($(objpfx)tst-printf.out): Likewise.
3693 ($(objpfx)tst-setvbuf1.out): Likewise.
3694 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3695 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3696 ($(objpfx)tst-fmtmsg.out): Likewise.
3697 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3698 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3699
3700 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3701 * bits/sigaction.h [__USE_MISC]: Likewise.
3702 * bits/waitstatus.h: Update #endif comments.
3703 * ctype/ctype.h: Likewise.
3704 * dirent/dirent.h: Likewise.
3705 [__USE_MISC]: Remove redundant conditionals.
3706 * grp/grp.h: Update #endif comments.
3707 [__USE_GNU]: Remove redundant conditionals.
3708 [__USE_MISC]: Likewise.
3709 * inet/netinet/in.h [__USE_GNU]: Likewise.
3710 * io/sys/stat.h [__USE_MISC]: Likewise.
3711 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3712 * libio/bits/stdio.h: Update #endif comments.
3713 [__USE_MISC]: Remove redundant conditionals.
3714 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3715 * libio/stdio.h: Update #endif comments.
3716 [__USE_MISC]: Remove redundant conditionals.
3717 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3718 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3719 * math/math.h: Update #else and #endif comments.
3720 [__USE_MISC]: Remove redundant conditionals.
3721 * misc/sys/uio.h: Update #endif comments.
3722 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3723 * posix/glob.h [__USE_MISC]: Likewise.
3724 * posix/sys/types.h: Update #endif comments.
3725 [__USE_MISC]: Remove redundant conditionals.
3726 * posix/sys/wait.h: Update #endif comments.
3727 [__USE_MISC]: Remove redundant conditionals.
3728 * posix/unistd.h: Update #endif comments.
3729 [__USE_MISC]: Remove redundant conditionals.
3730 * pwd/pwd.h [__USE_GNU]: Likewise.
3731 [__USE_MISC]: Likewise.
3732 * resolv/netdb.h [__USE_GNU]: Likewise.
3733 * signal/signal.h: Update #endif comments.
3734 [__USE_MISC]: Remove redundant conditionals.
3735 * stdlib/stdlib.h: Update #else and #endif comments.
3736 [__USE_MISC]: Remove redundant conditionals.
3737 [__USE_GNU]: Likewise.
3738 * string/bits/string2.h [__USE_MISC]: Likewise.
3739 * string/string.h: Update #endif comments.
3740 [__USE_MISC]: Remove redundant conditionals.
3741 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3742 Likewise.
3743 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3744 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3745 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3746 Likewise.
3747 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3748 Likewise.
3749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3750 comments.
3751 [__USE_MISC]: Remove redundant conditionals.
3752 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3753 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3754 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3755 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3756 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3757 Likewise.
3758 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3759 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3760 Likewise.
3761 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3762 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3763 Likewise.
3764 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3765 Likewise.
3766 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3767 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3768 Likewise.
3769 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3770 Likewise.
3771 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3772 * sysdeps/x86/bits/string.h: Update #endif comments.
3773 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3774 conditionals.
3775 * time/sys/time.h: Update #endif comments.
3776 * time/time.h: Likewise.
3777 [__USE_MISC]: Remove redundant conditionals.
3778
3779 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3780
3781 [BZ #16600]
3782 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3783
3784 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3785
3786 * Versions.def (librt): Add GLIBC_2.17.
3787
3788 2014-02-21 Adam Conrad <adconrad@0c3.net>
3789
3790 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3791 synonym for _SYS_AUXV_H to allow direct inclusion.
3792 * sysdeps/sparc/bits/hwcap.h: Likewise.
3793 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3794 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3795 * sysdeps/sparc/sysdep.h: Likewise.
3796
3797 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3798
3799 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3800
3801 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3802
3803 * benchtests/bench-strrchr.c: Print length instead of position.
3804
3805 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3806
3807 [BZ #16611]
3808 * sysdeps/unix/sysv/linux/kernel-features.h
3809 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3810 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3811 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3812 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3813 Likewise.
3814 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3815 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3816 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3817 (__ASSUME_SENDMMSG): Define instead of using previous
3818 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3819 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3820 (__ASSUME_SENDMMSG_SYSCALL): Define.
3821 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3822 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3823 Likewise.
3824 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3825 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3826 Likewise.
3827 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3828 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3829 Likewise.
3830 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3831 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3832 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3833 [__ASSUME_SENDMMSG]: Change conditionals to
3834 [__ASSUME_SENDMMSG_SOCKETCALL].
3835 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3836 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3837 Define.
3838 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3839 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3840 Likewise.
3841 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3842 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3843 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3844 [!__ASSUME_SENDMMSG]: Change conditional to
3845 [!__ASSUME_SENDMMSG_SOCKETCALL].
3846 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3847 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3848 Define.
3849
3850 [BZ #16610]
3851 * sysdeps/unix/sysv/linux/kernel-features.h
3852 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3853 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3854 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3855 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3856 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3857 [__i386__ || __sparc__]
3858 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3859 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3860 (__ASSUME_RECVMMSG): Define instead of using previous
3861 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3862 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3863 (__ASSUME_RECVMMSG_SYSCALL): Define.
3864 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3865 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3866 Likewise.
3867 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3868 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3869 Likewise.
3870 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3871 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3872 Likewise.
3873 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3874 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3875 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3876 [__ASSUME_RECVMMSG]: Change condition to
3877 [__ASSUME_RECVMMSG_SOCKETCALL].
3878 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3879 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3880 Define.
3881 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3882 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3883 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3884 Likewise.
3885 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3886 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3887 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3888 [!__ASSUME_RECVMMSG]: Change condition to
3889 [!__ASSUME_RECVMMSG_SOCKETCALL].
3890 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3891 (__ASSUME_RECVMMSG_SYSCALL): Define.
3892
3893 [BZ #16609]
3894 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3895 __powerpc__ || __s390__ || __sh__ || __sparc__]
3896 (__ASSUME_SOCKETCALL): Define.
3897 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3898 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3899 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3900 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3901 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3902 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3903 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3904 (__ASSUME_ACCEPT4): Define instead of using previous
3905 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3906 __powerpc__ || __sparc__ || __s390__)] condition.
3907 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3908 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3909 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3910 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3911 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3912 [!__ASSUME_ACCEPT4]: Change condition to
3913 [!__ASSUME_ACCEPT4_SOCKETCALL].
3914 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3915 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3916 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3917 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3918 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3919 __ASSUME_ACCEPT4_SYSCALL.
3920 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3921 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3922 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3923 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3924 __ASSUME_ACCEPT4_SYSCALL.
3925 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3926 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3927 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3928 [__ASSUME_ACCEPT4]: Change condition to
3929 [__ASSUME_ACCEPT4_SOCKETCALL].
3930 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3931 (__ASSUME_SOCKETCALL): Define.
3932 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3933 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3934 (__ASSUME_SOCKETCALL): Define.
3935 (__ASSUME_ACCEPT4): Remove.
3936 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3937 Define.
3938 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3939 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3940 Likewise.
3941 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3942 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3943
3944 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3945 macro.
3946 (HWCAP_ARM_LPAE): Likewise.
3947 (HWCAP_ARM_EVTSTRM): Likewise.
3948 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3949 Add vpfd32, lpae and evtstrm.
3950 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3951 Increase to 22.
3952
3953 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3954
3955 * math/auto-libm-test-in: Add tests of clog10.
3956 * math/auto-libm-test-out: Regenerated.
3957 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3958 * sysdeps/i386/fpu/libm-test-ulps: Update.
3959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3960
3961 2014-02-18 Andreas Schwab <schwab@suse.de>
3962
3963 [BZ #16574]
3964 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3965 Store non-zero if the second buffer was newly allocated.
3966 (send_dg): Likewise.
3967 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3968 to send_vc and send_dg.
3969 (res_nsend): Pass NULL for ansp2_malloced.
3970 * resolv/res_query.c (__libc_res_nquery): Add parameter
3971 answerp2_malloced and pass it down to __libc_res_nsend.
3972 (res_nquery): Pass additional NULL to __libc_res_nquery.
3973 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3974 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3975 second answer buffer if answerp2_malloced was set.
3976 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3977 (__libc_res_nquerydomain): Add parameter
3978 answerp2_malloced and pass it down to __libc_res_nquery.
3979 (res_nquerydomain): Pass additional NULL to
3980 __libc_res_nquerydomain.
3981 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3982 additional NULL to __libc_res_nsend and __libc_res_nquery.
3983 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3984 additional NULL to __libc_res_nsearch.
3985 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3986 parameter of __libc_res_nsearch to check for separately allocated
3987 second buffer.
3988 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3989 __libc_res_nquery.
3990 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3991 additional NULL to __libc_res_nquery.
3992 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3993 __libc_res_nsearch.
3994 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3995 * include/resolv.h: Update prototypes of __libc_res_nquery,
3996 __libc_res_nsearch, __libc_res_nsend.
3997
3998 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3999
4000 * math/auto-libm-test-in: Add tests of fma.
4001 * math/auto-libm-test-out: Regenerated.
4002 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4003 (fma_towardzero_test_data): Likewise.
4004 (fma_downward_test_data): Likewise.
4005 (fma_upward_test_data): Likewise.
4006 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4007 mpc_mode.
4008 (rounding_modes): Add values for new field.
4009 (func_calc_method): Add value mpfr_fff_f.
4010 (func_calc_desc): Add mpfr_fff_f union field.
4011 (test_function): Add field exact_args.
4012 (FUNC): Add macro argument EXACT_ARGS.
4013 (FUNC_mpfr_f_f): Update call to FUNC.
4014 (FUNC_mpfr_f_f): Likewise.
4015 (FUNC_mpfr_ff_f): Likewise.
4016 (FUNC_mpfr_if_f): Likewise.
4017 (FUNC_mpc_c_f): Likewise.
4018 (FUNC_mpc_c_c): Likewise.
4019 (test_functions): Add fma. Update calls to FUNC.
4020 (handle_input_arg): Add argument exact_args.
4021 (add_test): Update call to handle_input_arg.
4022 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4023 (output_for_one_input_case): Update call to calc_generic_results.
4024 Recalculate exact zero results in each rounding mode.
4025
4026 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4027 non-negative before setting low bit.
4028 * math/auto-libm-test-in: Mark one asin test possibly having
4029 spurious underflow.
4030 * math/auto-libm-test-out: Regenerated.
4031 * sysdeps/i386/fpu/libm-test-ulps: Update.
4032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4033
4034 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4035
4036 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4037 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4038 ports/sysdeps/unix/sysv/linux/microblaze.
4039 * README: Add missing listing for microblaze*-*-linux-gnu.
4040
4041 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4042
4043 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4044 * sysdeps/unix/sysv/linux/ia64: Move directory from
4045 ports/sysdeps/unix/sysv/linux/ia64.
4046 * README: Update listing for ia64-*-linux-gnu.
4047
4048 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4049 Joseph Myers <joseph@codesourcery.com>
4050
4051 * Makeconfig (test-name): New variable.
4052 (evaluate-test): Likewise.
4053 * Makerules (do-test-clean): Remove .test-result files.
4054 (common-mostlyclean): Likewise.
4055 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4056 * scripts/evaluate-test.sh: New file.
4057
4058 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4059
4060 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4061 separate $(objpfx)tst-fopenloc-cmp.out and
4062 $(objpfx)tst-fopenloc-mem.out targets.
4063 (tests): Update dependencies.
4064 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4065 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4066 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4067 (tst-rxspencer-no-utf8-ARGS): New variable.
4068 (tst-rxspencer-no-utf8-ENV): Likewise.
4069 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4070 instead of $(objpfx)tst-rxspencer-mem.
4071 ($(objpfx)tst-rxspencer-mem): Change target to
4072 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4073 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4074 * posix/tst-rxspencer-no-utf8.c: New file.
4075
4076 * elf/Makefile ($(objpfx)order.out): Remove rule.
4077 [$(run-built-tests) = yes] (tests): Depend on
4078 $(objpfx)order-cmp.out.
4079 ($(objpfx)order-cmp.out): New rule.
4080 [$(run-built-tests) = yes] (tests): Depend on
4081 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4082 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4083 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4084 $(objpfx)tst-array5-static-cmp.out.
4085 ($(objpfx)tst-array1.out): Remove rule.
4086 ($(objpfx)tst-array1-cmp.out): New rule.
4087 ($(objpfx)tst-array1-static.out): Remove rule.
4088 ($(objpfx)tst-array1-static-cmp.out): New rule.
4089 ($(objpfx)tst-array2.out): Remove rule.
4090 ($(objpfx)tst-array2-cmp.out): New rule.
4091 ($(objpfx)tst-array3.out): Remove rule.
4092 ($(objpfx)tst-array3-cmp.out): New rule.
4093 ($(objpfx)tst-array4.out): Remove rule.
4094 ($(objpfx)tst-array4-cmp.out): New rule.
4095 ($(objpfx)tst-array5.out): Remove rule.
4096 ($(objpfx)tst-array5-cmp.out): New rule.
4097 ($(objpfx)tst-array5-static.out): Remove rule.
4098 ($(objpfx)tst-array5-static-cmp.out): New rule.
4099 [$(run-built-tests) = yes] (tests): Depend on
4100 $(objpfx)order2-cmp.out.
4101 ($(objpfx)order2.out): Remove rule.
4102 ($(objpfx)order2-cmp.out): New rule.
4103 ($(objpfx)tst-initorder.out): Remove rule.
4104 [$(run-built-tests) = yes] (tests): Depend on
4105 $(objpfx)tst-initorder-cmp.out.
4106 ($(objpfx)tst-initorder-cmp.out): New rule.
4107 ($(objpfx)tst-initorder2.out): Remove rule.
4108 [$(run-built-tests) = yes] (tests): Depend on
4109 $(objpfx)tst-initorder2-cmp.out.
4110 ($(objpfx)tst-initorder2-cmp.out): New rule.
4111 [$(run-built-tests) = yes] (tests): Depend on
4112 $(objpfx)tst-unused-dep-cmp.out.
4113 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4114 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4115 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4116 on $(objpfx)tst-setvbuf1-cmp.out.
4117 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4118 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4119 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4120 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4121 ($(objpfx)tst-svc.out): Remove rule.
4122 ($(objpfx)tst-svc-cmp.out): New rule.
4123
4124 2014-02-13 Joseph Myers <joseph@codesourcery.com>
4125
4126 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4127 * ctype/ctype.h [__USE_MISC]: Likewise.
4128 * dirent/dirent.h [__USE_MISC]: Likewise.
4129 * grp/grp.h [__USE_MISC]: Likewise.
4130 * io/fcntl.h [__USE_MISC]: Likewise.
4131 * io/sys/stat.h [__USE_MISC]: Likewise.
4132 * libio/stdio.h [__USE_MISC]: Likewise.
4133 * posix/unistd.h [__USE_MISC]: Likewise.
4134 * pwd/pwd.h [__USE_MISC]: Likewise.
4135 * stdlib.h [__USE_MISC]: Likewise.
4136 * string/bits/string2.h [__USE_MISC]: Likewise.
4137 * string/string.h [__USE_MISC]: Likewise.
4138 * time/time.h [__USE_MISC]: Likewise.
4139
4140 2014-02-13 Andreas Schwab <schwab@suse.de>
4141
4142 [BZ #16574]
4143 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4144 second answer buffer if it was separately allocated.
4145
4146 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4147
4148 * sysdeps/mips/math-tests.h: Include <features.h>.
4149 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4150 (ROUNDING_TESTS_long_double): Do not define.
4151 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4152 (EXCEPTION_TESTS_long_double): Likewise.
4153 * sysdeps/mips/mips64/libm-test-ulps: Update.
4154
4155 * include/features.h (__USE_BSD): Remove macro definitions.
4156 (__USE_SVID): Likewise.
4157 (_BSD_SOURCE): Likewise.
4158 (_SVID_SOURCE): Likewise.
4159 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4160 from definition of _DEFAULT_SOURCE.
4161 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4162 [_DEFAULT_SOURCE].
4163 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4164 * bits/mman.h [__USE_BSD]: Likewise.
4165 * bits/termios.h [__USE_BSD]: Likewise.
4166 * bits/waitstatus.h [__USE_BSD]: Likewise.
4167 * ctype/ctype.h [__USE_SVID]: Likewise.
4168 * dirent/dirent.h [__USE_BSD]: Likewise.
4169 * grp/grp.h [__USE_SVID]: Likewise.
4170 [__USE_BSD]: Likewise.
4171 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4172 * io/fcntl.h [__USE_BSD]: Likewise.
4173 * io/ftw.h [__USE_BSD]: Likewise.
4174 * io/sys/stat.h [__USE_BSD]: Likewise.
4175 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4176 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4177 * libio/stdio.h [__USE_SVID]: Likewise.
4178 [__USE_BSD]: Likewise.
4179 * math/math.h [__USE_SVID]: Likewise.
4180 [__USE_BSD]: Likewise.
4181 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4182 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4183 * misc/search.h [__USE_SVID]: Likewise.
4184 * misc/sys/mman.h [__USE_BSD]: Likewise.
4185 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4186 * misc/sys/uio.h [__USE_BSD]: Likewise.
4187 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4188 * posix/glob.h [__USE_BSD]: Likewise.
4189 * posix/regex.h [__USE_BSD]: Likewise.
4190 * posix/sys/types.h [__USE_BSD]: Likewise.
4191 [__USE_SVID]: Likewise.
4192 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4193 * posix/sys/wait.h [__USE_BSD]: Likewise.
4194 [__USE_SVID]: Likewise.
4195 * posix/unistd.h [__USE_BSD]: Likewise.
4196 [__USE_SVID]: Likewise.
4197 * pwd/pwd.h [__USE_SVID]: Likewise.
4198 * resolv/netdb.h [__USE_BSD]: Likewise.
4199 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4200 * signal/signal.h [__USE_BSD]: Likewise.
4201 [__USE_SVID]: Likewise.
4202 * socket/sys/socket.h [__USE_BSD]: Likewise.
4203 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4204 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4205 [__USE_SVID]: Likewise.
4206 * string/bits/string2.h [__USE_BSD]: Likewise.
4207 [__USE_SVID]: Likewise.
4208 * string/bits/string3.h [__USE_BSD]: Likewise.
4209 * string/endian.h [__USE_BSD]: Likewise.
4210 * string/string.h [__USE_SVID]: Likewise.
4211 [__USE_BSD]: Likewise.
4212 * string/strings.h [__USE_BSD]: Likewise.
4213 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4214 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4215 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4216 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4217 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4218 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4219 Likewise.
4220 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4221 Likewise.
4222 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4223 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4224 Likewise.
4225 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4226 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4227 Likewise.
4228 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4229 Likewise.
4230 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4231 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4232 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4233 Likewise.
4234 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4235 Likewise.
4236 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4237 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4238 * termios/termios.h [__USE_BSD]: Likewise.
4239 * time/sys/time.h [__USE_BSD]: Likewise.
4240 * time/time.h [__USE_BSD]: Likewise.
4241 [__USE_SVID]: Likewise.
4242
4243 * Makefile (subdir_targets): Remove subdir_lint.out.
4244
4245 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4246 (do-tst-printf): Likewise.
4247 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4248 $(objpfx)tst-printf.out.
4249
4250 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4251
4252 * Makerules (check-abi-%): Change target to
4253 $(objpfx)check-abi-%.out.
4254 (check-abi target): Update dependencies.
4255 (check-abi-pattern variable): Redirect output of diff to $@.
4256 (check-abi variable): Likewise.
4257 * elf/Makefile (check-abi): Update dependencies.
4258
4259 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4260 unused.
4261 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4262 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4263 subnormal range.
4264 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4265 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4266 value has largest subnormal exponent.
4267 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4268 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4269 * sysdeps/aarch64/soft-fp/sfp-machine.h
4270 (_FP_TININESS_AFTER_ROUNDING): New macro.
4271 * sysdeps/alpha/soft-fp/sfp-machine.h
4272 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4273 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4274 Likewise.
4275 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4276 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4277 * sysdeps/mips/soft-fp/sfp-machine.h
4278 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4279 * sysdeps/powerpc/soft-fp/sfp-machine.h
4280 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4281 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4282 Likewise.
4283 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4284 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4285 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4286 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4287 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4288 Likewise.
4289
4290 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4291
4292 [BZ #16545]
4293 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4294 model 1.
4295
4296 2014-02-12 Richard Henderson <rth@redhat.com>
4297
4298 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4299 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4300 * sysdeps/unix/sysv/linux/alpha: Move directory from
4301 ports/sysdeps/unix/sysv/linux/alpha.
4302 * README: Update listing for alpha-*-linux-gnu.
4303
4304 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4305
4306 * include/features.h: Update comment documenting feature test
4307 macros.
4308 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4309 _DEFAULT_SOURCE.
4310 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4311 (_SVID_SOURCE): Likewise.
4312 (_DEFAULT_SOURCE): Update description of default features.
4313 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4314 with _GNU_SOURCE.
4315 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4316 (S_ISVTX): Likewise.
4317 * manual/math.texi (Mathematical Constants): Likewise.
4318 * manual/signal.texi (Interrupted Primitives): Likewise.
4319 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4320 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4321 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4322 Don't refer to _SVID_SOURCE in warning text.
4323
4324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4325
4326 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4327 already defined.
4328 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4329 * sysdeps/mips/dl-lookup.c: Remove.
4330 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4331
4332 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4333
4334 [BZ #16447]
4335 * math/auto-libm-test-in: Add testcase for expl.
4336 * math/auto-libm-test-out: Regenerate.
4337 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4338 calculation of unsafe.
4339 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4340
4341 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4342
4343 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4344 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4345 ports/sysdeps/unix/sysv/linux/aarch64.
4346 * README: Update listing for aarch64*-*-linux-gnu.
4347
4348 2014-02-11 Will Newton <will.newton@linaro.org>
4349
4350 * manual/probes.texi (Mathematical Function Probes): Use
4351 "triggered" instead of "hit".
4352
4353 * manual/probes.texi (Internal Probes): Add documentation
4354 of setjmp, longjmp and longjmp_target probes.
4355
4356 * include/stap-probe.h: Add comment about probe argument
4357 format.
4358
4359 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4360 definition. (tr_where, tr_freehook, tr_mallochook,
4361 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4362
4363 2014-02-11 David S. Miller <davem@davemloft.net>
4364
4365 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4366 processing int_tests.
4367
4368 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4369
4370 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4371 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4372 * sysdeps/unix/sysv/linux/mips: Move directory from
4373 ports/sysdeps/unix/sysv/linux/mips.
4374 * README: Update listing for mips-*-linux-gnu and
4375 mips64-*-linux-gnu.
4376
4377 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4378
4379 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4380 * sysdeps/unix/sysv/linux/m68k: Move directory from
4381 ports/sysdeps/unix/sysv/linux/m68k.
4382 * README: Update listing for m68k-*-linux-gnu.
4383
4384 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4385
4386 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4387 * sysdeps/unix/sysv/linux/generic: Move directory from
4388 ports/sysdeps/unix/sysv/linux/generic.
4389 * sysdeps/unix/sysv/linux/tile: Move directory from
4390 ports/sysdeps/unix/sysv/linux/tile.
4391 * README: Update listing for tile*-*-linux-gnu.
4392
4393 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4394
4395 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4396 __builtin_expect.
4397 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4398 * catgets/open_catalog.c (__open_catalog): Likewise.
4399 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4400 * debug/confstr_chk.c: Likewise.
4401 * debug/fread_chk.c (__fread_chk): Likewise.
4402 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4403 * debug/getgroups_chk.c: Likewise.
4404 * debug/mbsnrtowcs_chk.c: Likewise.
4405 * debug/mbsrtowcs_chk.c: Likewise.
4406 * debug/mbstowcs_chk.c: Likewise.
4407 * debug/memcpy_chk.c: Likewise.
4408 * debug/memmove_chk.c: Likewise.
4409 * debug/mempcpy_chk.c: Likewise.
4410 * debug/memset_chk.c: Likewise.
4411 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4412 * debug/strcat_chk.c (__strcat_chk): Likewise.
4413 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4414 * debug/strncat_chk.c (__strncat_chk): Likewise.
4415 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4416 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4417 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4418 * debug/wcpncpy_chk.c: Likewise.
4419 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4420 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4421 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4422 * debug/wcsncpy_chk.c: Likewise.
4423 * debug/wcsnrtombs_chk.c: Likewise.
4424 * debug/wcsrtombs_chk.c: Likewise.
4425 * debug/wcstombs_chk.c: Likewise.
4426 * debug/wmemcpy_chk.c: Likewise.
4427 * debug/wmemmove_chk.c: Likewise.
4428 * debug/wmempcpy_chk.c: Likewise.
4429 * debug/wmemset_chk.c: Likewise.
4430 * dirent/scandirat.c (SCANDIRAT): Likewise.
4431 * dlfcn/dladdr1.c (dladdr1): Likewise.
4432 * dlfcn/dladdr.c (dladdr): Likewise.
4433 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4434 * dlfcn/dlerror.c (__dlerror): Likewise.
4435 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4436 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4437 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4438 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4439 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4440 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4441 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4442 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4443 Likewise.
4444 * elf/dl-conflict.c: Likewise.
4445 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4446 * elf/dl-dst.h: Likewise.
4447 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4448 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4449 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4450 * elf/dl-init.c (call_init, _dl_init): Likewise.
4451 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4452 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4453 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4454 Likewise.
4455 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4456 Likewise.
4457 * elf/dl-minimal.c (__libc_memalign): Likewise.
4458 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4459 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4460 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4461 * elf/dl-sym.c (do_sym): Likewise.
4462 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4463 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4464 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4465 * elf/dl-writev.h (_dl_writev): Likewise.
4466 * elf/ldconfig.c (search_dir): Likewise.
4467 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4468 (dl_main): Likewise.
4469 * elf/setup-vdso.h (setup_vdso): Likewise.
4470 * grp/compat-initgroups.c (compat_call): Likewise.
4471 * grp/fgetgrent.c (fgetgrent): Likewise.
4472 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4473 * grp/putgrent.c (putgrent): Likewise.
4474 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4475 Likewise.
4476 * hurd/hurdinit.c: Likewise.
4477 * iconvdata/8bit-gap.c (struct): Likewise.
4478 * iconvdata/ansi_x3.110.c : Likewise.
4479 * iconvdata/big5.c : Likewise.
4480 * iconvdata/big5hkscs.c : Likewise.
4481 * iconvdata/cp1255.c: Likewise.
4482 * iconvdata/cp1258.c : Likewise.
4483 * iconvdata/cp932.c : Likewise.
4484 * iconvdata/euc-cn.c: Likewise.
4485 * iconvdata/euc-jisx0213.c : Likewise.
4486 * iconvdata/euc-jp.c: Likewise.
4487 * iconvdata/euc-jp-ms.c : Likewise.
4488 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4489 * iconvdata/gb18030.c : Likewise.
4490 * iconvdata/gbbig5.c (const): Likewise.
4491 * iconvdata/gbgbk.c: Likewise.
4492 * iconvdata/gbk.c : Likewise.
4493 * iconvdata/ibm1364.c : Likewise.
4494 * iconvdata/ibm930.c : Likewise.
4495 * iconvdata/ibm932.c: Likewise.
4496 * iconvdata/ibm933.c : Likewise.
4497 * iconvdata/ibm935.c : Likewise.
4498 * iconvdata/ibm937.c : Likewise.
4499 * iconvdata/ibm939.c : Likewise.
4500 * iconvdata/ibm943.c: Likewise.
4501 * iconvdata/iso_11548-1.c: Likewise.
4502 * iconvdata/iso-2022-cn.c : Likewise.
4503 * iconvdata/iso-2022-cn-ext.c : Likewise.
4504 * iconvdata/iso-2022-jp-3.c: Likewise.
4505 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4506 * iconvdata/iso-2022-kr.c : Likewise.
4507 * iconvdata/iso646.c (gconv_end): Likewise.
4508 * iconvdata/iso_6937-2.c : Likewise.
4509 * iconvdata/iso_6937.c : Likewise.
4510 * iconvdata/iso8859-1.c: Likewise.
4511 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4512 * iconvdata/shift_jisx0213.c : Likewise.
4513 * iconvdata/sjis.c : Likewise.
4514 * iconvdata/t.61.c : Likewise.
4515 * iconvdata/tcvn5712-1.c : Likewise.
4516 * iconvdata/tscii.c: Likewise.
4517 * iconvdata/uhc.c : Likewise.
4518 * iconvdata/unicode.c (gconv_end): Likewise.
4519 * iconvdata/utf-16.c (gconv_end): Likewise.
4520 * iconvdata/utf-32.c (gconv_end): Likewise.
4521 * iconvdata/utf-7.c (base64): Likewise.
4522 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4523 * iconv/gconv_close.c (__gconv_close): Likewise.
4524 * iconv/gconv_open.c (__gconv_open): Likewise.
4525 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4526 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4527 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4528 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4529 (ucs4le_internal_loop_single): Likewise.
4530 * iconv/iconv.c (iconv): Likewise.
4531 * iconv/iconv_close.c: Likewise.
4532 * iconv/loop.c (SINGLE): Likewise.
4533 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4534 * include/atomic.h: Likewise.
4535 * inet/inet6_option.c (option_alloc): Likewise.
4536 * intl/bindtextdom.c (set_binding_values): Likewise.
4537 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4538 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4539 * intl/localealias.c (read_alias_file): Likewise.
4540 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4541 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4542 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4543 * libio/fmemopen.c (fmemopen): Likewise.
4544 * libio/iofgets.c (_IO_fgets): Likewise.
4545 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4546 * libio/iofgetws.c (fgetws): Likewise.
4547 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4548 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4549 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4550 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4551 * locale/findlocale.c (_nl_find_locale): Likewise.
4552 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4553 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4554 Likewise.
4555 * locale/setlocale.c (setlocale): Likewise.
4556 * login/programs/pt_chown.c (main): Likewise.
4557 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4558 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4559 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4560 (mmap, mmap64, mremap, munmap): Likewise.
4561 * math/e_exp2l.c: Likewise.
4562 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4563 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4564 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4565 * math/s_catan.c (__catan): Likewise.
4566 * math/s_catanf.c (__catanf): Likewise.
4567 * math/s_catanh.c (__catanh): Likewise.
4568 * math/s_catanhf.c (__catanhf): Likewise.
4569 * math/s_catanhl.c (__catanhl): Likewise.
4570 * math/s_catanl.c (__catanl): Likewise.
4571 * math/s_ccosh.c (__ccosh): Likewise.
4572 * math/s_ccoshf.c (__ccoshf): Likewise.
4573 * math/s_ccoshl.c (__ccoshl): Likewise.
4574 * math/s_cexp.c (__cexp): Likewise.
4575 * math/s_cexpf.c (__cexpf): Likewise.
4576 * math/s_cexpl.c (__cexpl): Likewise.
4577 * math/s_clog10.c (__clog10): Likewise.
4578 * math/s_clog10f.c (__clog10f): Likewise.
4579 * math/s_clog10l.c (__clog10l): Likewise.
4580 * math/s_clog.c (__clog): Likewise.
4581 * math/s_clogf.c (__clogf): Likewise.
4582 * math/s_clogl.c (__clogl): Likewise.
4583 * math/s_csin.c (__csin): Likewise.
4584 * math/s_csinf.c (__csinf): Likewise.
4585 * math/s_csinh.c (__csinh): Likewise.
4586 * math/s_csinhf.c (__csinhf): Likewise.
4587 * math/s_csinhl.c (__csinhl): Likewise.
4588 * math/s_csinl.c (__csinl): Likewise.
4589 * math/s_csqrt.c (__csqrt): Likewise.
4590 * math/s_csqrtf.c (__csqrtf): Likewise.
4591 * math/s_csqrtl.c (__csqrtl): Likewise.
4592 * math/s_ctan.c (__ctan): Likewise.
4593 * math/s_ctanf.c (__ctanf): Likewise.
4594 * math/s_ctanh.c (__ctanh): Likewise.
4595 * math/s_ctanhf.c (__ctanhf): Likewise.
4596 * math/s_ctanhl.c (__ctanhl): Likewise.
4597 * math/s_ctanl.c (__ctanl): Likewise.
4598 * math/w_pow.c: Likewise.
4599 * math/w_powf.c: Likewise.
4600 * math/w_powl.c: Likewise.
4601 * math/w_scalb.c (sysv_scalb): Likewise.
4602 * math/w_scalbf.c (sysv_scalbf): Likewise.
4603 * math/w_scalbl.c (sysv_scalbl): Likewise.
4604 * misc/error.c (error_tail): Likewise.
4605 * misc/pselect.c (__pselect): Likewise.
4606 * nis/nis_callback.c (__nis_create_callback): Likewise.
4607 * nis/nis_call.c (__nisfind_server): Likewise.
4608 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4609 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4610 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4611 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4612 * nis/nis_lookup.c (nis_lookup): Likewise.
4613 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4614 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4615 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4616 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4617 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4618 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4619 * nis/nss_compat/compat-initgroups.c (add_group)
4620 (internal_getgrent_r): Likewise.
4621 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4622 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4623 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4624 (internal_getspnam_r): Likewise.
4625 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4626 (_nss_nis_getaliasbyname_r): Likewise.
4627 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4628 (_nss_nis_getntohost_r): Likewise.
4629 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4630 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4631 (_nss_nis_getgrgid_r): Likewise.
4632 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4633 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4634 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4635 (_nss_nis_gethostbyname4_r): Likewise.
4636 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4637 (initgroups_netid): Likewise.
4638 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4639 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4640 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4641 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4642 (_nss_nis_getprotobynumber_r): Likewise.
4643 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4644 (_nss_nis_getsecretkey): Likewise.
4645 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4646 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4647 (_nss_nis_getpwuid_r): Likewise.
4648 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4649 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4650 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4651 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4652 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4653 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4654 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4655 Likewise.
4656 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4657 (_nss_nisplus_getntohost_r): Likewise.
4658 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4659 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4660 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4661 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4662 Likewise.
4663 * nis/nss_nisplus/nisplus-initgroups.c
4664 (_nss_nisplus_initgroups_dyn): Likewise.
4665 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4666 (_nss_nisplus_getnetbyaddr_r): Likewise.
4667 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4668 (_nss_nisplus_getprotobynumber_r): Likewise.
4669 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4670 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4671 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4672 Likewise.
4673 * nis/nss_nisplus/nisplus-service.c
4674 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4675 (_nss_nisplus_getservbyport_r): Likewise.
4676 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4677 (_nss_nisplus_getspnam_r): Likewise.
4678 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4679 Likewise.
4680 * nscd/aicache.c (addhstaiX): Likewise.
4681 * nscd/cache.c (cache_search, prune_cache): Likewise.
4682 * nscd/connections.c (register_traced_file, send_ro_fd)
4683 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4684 (main_loop_epoll): Likewise.
4685 * nscd/grpcache.c (addgrbyX): Likewise.
4686 * nscd/hstcache.c (addhstbyX): Likewise.
4687 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4688 * nscd/mem.c (gc, mempool_alloc): Likewise.
4689 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4690 (addinnetgrX): Likewise.
4691 * nscd/nscd-client.h (__nscd_acquire_maplock)
4692 (__nscd_drop_map_ref): Likewise.
4693 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4694 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4695 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4696 Likewise.
4697 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4698 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4699 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4700 (__nscd_get_map_ref): Likewise.
4701 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4702 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4703 Likewise.
4704 * nscd/pwdcache.c (addpwbyX): Likewise.
4705 * nscd/selinux.c (preserve_capabilities): Likewise.
4706 * nscd/servicescache.c (addservbyX): Likewise.
4707 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4708 * posix/fnmatch.c (fnmatch): Likewise.
4709 * posix/getopt.c (_getopt_internal_r): Likewise.
4710 * posix/glob.c (glob, glob_in_dir): Likewise.
4711 * posix/wordexp.c (exec_comm_child): Likewise.
4712 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4713 (getanswer_r, gaih_getanswer_slice): Likewise.
4714 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4715 * resolv/res_init.c: Likewise.
4716 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4717 * resolv/res_query.c (__libc_res_nquery): Likewise.
4718 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4719 Likewise.
4720 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4721 * stdio-common/perror.c (perror): Likewise.
4722 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4723 * stdio-common/tmpnam.c (tmpnam): Likewise.
4724 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4725 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4726 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4727 Likewise.
4728 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4729 * stdlib/putenv.c (putenv): Likewise.
4730 * stdlib/setenv.c (__add_to_environ): Likewise.
4731 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4732 * stdlib/strtol_l.c (INTERNAL): Likewise.
4733 * string/memmem.c (memmem): Likewise.
4734 * string/strerror.c (strerror): Likewise.
4735 * string/strnlen.c (__strnlen): Likewise.
4736 * string/test-memmem.c (simple_memmem): Likewise.
4737 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4738 * sunrpc/pm_getport.c (__get_socket): Likewise.
4739 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4740 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4741 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4742 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4743 Likewise.
4744 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4745 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4746 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4747 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4748 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4749 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4750 Likewise.
4751 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4752 Likewise.
4753 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4754 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4756 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4757 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4759 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4760 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4761 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4762 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4763 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4764 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4765 Likewise.
4766 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4767 Likewise.
4768 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4769 Likewise.
4770 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4771 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4772 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4773 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4774 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4775 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4776 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4777 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4778 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4779 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4780 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4781 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4782 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4783 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4785 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4786 Likewise.
4787 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4788 Likewise.
4789 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4790 Likewise.
4791 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4792 Likewise.
4793 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4794 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4795 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4796 Likewise.
4797 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4798 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4799 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4800 * sysdeps/posix/sleep.c: Likewise.
4801 * sysdeps/posix/tempname.c: Likewise.
4802 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4803 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4804 Likewise.
4805 * sysdeps/powerpc/powerpc32/dl-machine.h
4806 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4807 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4808 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4809 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4810 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4811 Likewise.
4812 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4813 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4814 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4815 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4816 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4817 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4818 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4819 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4820 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4821 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4822 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4823 (elf_machine_lazy_rel): Likewise.
4824 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4825 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4826 (elf_machine_lazy_rel): Likewise.
4827 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4828 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4829 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4830 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4831 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4832 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4833 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4835 Likewise.
4836 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4837 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4838 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4839 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4840 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4841 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4842 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4843 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4844 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4845 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4846 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4847 Likewise.
4848 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4849 (__posix_fallocate64_l64): Likewise.
4850 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4851 (posix_fallocate): Likewise.
4852 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4853 Likewise.
4854 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4855 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4856 (getifaddrs_internal): Likewise.
4857 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4858 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4859 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4860 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4861 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4862 (__posix_fallocate64_l64): Likewise.
4863 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4864 Likewise.
4865 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4866 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4867 (__get_clockfreq): Likewise.
4868 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4869 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4870 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4871 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4872 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4873 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4874 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4875 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4876 Likewise.
4877 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4878 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4879 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4880 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4881 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4882 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4883 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4884 Likewise.
4885 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4886 (posix_fallocate): Likewise.
4887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4888 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4889 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4890 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4891 (elf_machine_rela, elf_machine_rela_relative)
4892 (elf_machine_lazy_rel): Likewise.
4893 * time/asctime.c (asctime_internal): Likewise.
4894 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4895 * time/tzset.c (__tzset_parse_tz): Likewise.
4896 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4897 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4898 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4899 * wcsmbs/wcsmbsload.h: Likewise.
4900
4901 [BZ #15894]
4902 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4903
4904 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4905 (arena_get2): Remove THREAD_STATS conditionals.
4906 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4907 (__malloc_stats, int): Likewise.
4908
4909 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4910
4911 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4912 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4913
4914 * manual/setjmp.texi: Fix typos/grammar errors.
4915
4916 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4917 Only return early when n is <= 0. Delete unused return statement.
4918
4919 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4920 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4921 * debug/tst-longjmp_chk3.c: New file.
4922
4923 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4924 (test_main): Replace code with set_fortify_handler call.
4925 * debug/test-strcpy_chk.c: Likewise.
4926 * debug/tst-chk1.c: Likewise.
4927 * debug/tst-longjmp_chk.c: Likewise.
4928 * test-skeleton.c: Include fcntl.h & paths.h
4929 (set_fortify_handler): Define.
4930
4931 * debug/tst-longjmp_chk.c: Add header comment and include
4932 ../test-skeleton.c.
4933 (do_test): Mark static.
4934 (TEST_FUNCTION): Define.
4935
4936 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4937 (IP_PMTUDISC_INTERFACE): Likewise.
4938 (IP_MULTICAST_IF): Likewise.
4939 (IP_MULTICAST_TTL): Likewise.
4940 (IP_MULTICAST_LOOP): Likewise.
4941 (IP_ADD_MEMBERSHIP): Likewise.
4942 (IP_DROP_MEMBERSHIP): Likewise.
4943 (IP_UNBLOCK_SOURCE): Likewise.
4944 (IP_BLOCK_SOURCE): Likewise.
4945 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4946 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4947 (IP_MSFILTER): Likewise.
4948 (MCAST_JOIN_GROUP): Likewise.
4949 (MCAST_BLOCK_SOURCE): Likewise.
4950 (MCAST_UNBLOCK_SOURCE): Likewise.
4951 (MCAST_LEAVE_GROUP): Likewise.
4952 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4953 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4954 (MCAST_MSFILTER): Likewise.
4955 (IP_MULTICAST_ALL): Likewise.
4956 (IP_UNICAST_IF): Likewise.
4957
4958 * timezone/Makefile: Delete $(have-ksh) check.
4959 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4960 * timezone/tzselect.ksh: Add +x mode bits.
4961
4962 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4963 (ANON_INODE_FS_MAGIC): Likewise.
4964 (BDEVFS_MAGIC): Likewise.
4965 (BINFMTFS_MAGIC): Likewise.
4966 (BTRFS_TEST_MAGIC): Likewise.
4967 (CRAMFS_MAGIC_WEND): Likewise.
4968 (DEBUGFS_MAGIC): Likewise.
4969 (ECRYPTFS_SUPER_MAGIC): Likewise.
4970 (EXT3_SUPER_MAGIC): Likewise.
4971 (EXT4_SUPER_MAGIC): Likewise.
4972 (FUTEXFS_SUPER_MAGIC): Likewise.
4973 (HOSTFS_SUPER_MAGIC): Likewise.
4974 (HUGETLBFS_MAGIC): Likewise.
4975 (MINIX3_SUPER_MAGIC): Likewise.
4976 (MTD_INODE_FS_MAGIC): Likewise.
4977 (NILFS_SUPER_MAGIC): Likewise.
4978 (OPENPROM_SUPER_MAGIC): Likewise.
4979 (PIPEFS_MAGIC): Likewise.
4980 (PSTOREFS_MAGIC): Likewise.
4981 (QNX6_SUPER_MAGIC): Likewise.
4982 (RAMFS_MAGIC): Likewise.
4983 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4984 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4985 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4986 (SECURITYFS_MAGIC): Likewise.
4987 (SELINUX_MAGIC): Likewise.
4988 (SMACK_MAGIC): Likewise.
4989 (SOCKFS_MAGIC): Likewise.
4990 (SQUASHFS_MAGIC): Likewise.
4991 (STACK_END_MAGIC): Likewise.
4992 (TMPFS_MAGIC): Likewise.
4993 (USBDEVICE_SUPER_MAGIC): Likewise.
4994 (V9FS_MAGIC): Likewise.
4995 (XENFS_SUPER_MAGIC): Likewise.
4996 (CRAMFS_MAGIC): Fix typo in comment.
4997 (EXT2_SUPER_MAGIC): Update comment.
4998 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4999
5000 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5001
5002 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5003 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5004 * sysdeps/unix/sysv/linux/arm: Move directory from
5005 ports/sysdeps/unix/sysv/linux/arm.
5006 * README: Update listing for arm-*-linux-gnueabi.
5007
5008 * README: Remove mention of am33.
5009
5010 2014-02-07 Roland McGrath <roland@hack.frob.com>
5011
5012 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5013 than the comma operator, to avoid "rhs of comma has no effect"
5014 compiler warnings.
5015 (__sigfillset, __sigandset, __sigorset): Likewise.
5016 * include/signal.h (__sigemptyset): Likewise.
5017 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5018
5019 2014-02-07 Allan McRae <allan@archlinux.org>
5020
5021 * version.h (RELEASE): Set to "development".
5022 (VERSION): Set to "2.19.90"
5023 * NEWS: Add 2.20 section.
5024
5025 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5026
5027 [BZ #16529]
5028 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5029
5030 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5031
5032 * manual/contrib.texi: Update entry for Carlos O'Donell,
5033 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5034
5035 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5036
5037 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5038
5039 * sysdeps/unix/sysv/linux/kernel-features.h
5040 [__LINUX_KERNEL_VERSION >= 0x020621]
5041 (__ASSUME_PROC_PID_TASK_COMM): Define.
5042
5043 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5044
5045 [BZ #16398]
5046 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5047 conversion when destination buffer does not have enough space.
5048 * libio/tst-ftell-partial-wide.c: New test case.
5049 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5050
5051 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5052 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5053 Leonard and Allan McRae.
5054
5055 2014-02-04 David S. Miller <davem@davemloft.net>
5056
5057 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5058 32-bit.
5059
5060 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5061
5062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5063 New file
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5065 New file
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5067 New file.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5069 New file.
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5071 New file.
5072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5073 New file.
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5075 New file.
5076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5077 New file.
5078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5079 New file.
5080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5081 New file.
5082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5083 New file.
5084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5085 New file.
5086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5087 New file.
5088
5089 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5090
5091 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5092 * shlib-versions: Likewise.
5093
5094 2014-02-04 Roland McGrath <roland@hack.frob.com>
5095 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5096
5097 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5098 (abilist-pattern): New variable, set to %-le.abilist.
5099
5100 * Makerules (abilist-pattern): New variable.
5101 (vpath): Use $(abilist-pattern) in place of %.abilist.
5102 (check-abi-% pattern rule): Likewise.
5103 (check-abi, update-abi): Likewise.
5104
5105 2014-02-04 Eric Wong <normalperson@yhbt.net>
5106
5107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5108
5109 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5110
5111 * manual/startup.texi: Add next, previous, and top entries for
5112 the `Program Arguments' and `Environment Variables' nodes.
5113
5114 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5115
5116 * manual/macros.texi: Add comments before MTASC-safety macros.
5117
5118 * manual/users.texi: Document MTASC-safety properties.
5119
5120 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5121 (pthread_getspecific, pthread_setspecific): Format with
5122 @deftypefun, and add @safety note.
5123 * manual/signal.texi: Move comments that analyze the above
5124 functions to their home place.
5125
5126 2014-02-03 Allan McRae <allan@archlinux.org>
5127
5128 * po/sl.po: Update Slovenian translation from translation project.
5129
5130 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
5131
5132 * manual/time.texi (timegm): Add missing blank after @c.
5133 Reported by Joseph Myers <joseph@codesourcery.com>.
5134
5135 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
5136
5137 * manual/check-safety.sh: New.
5138 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5139
5140 * manual/terminal.texi: Document MTASC-safety properties.
5141
5142 * manual/filesys.texi: Document MTASC-safety properties.
5143
5144 * manual/errno.texi: Document MTASC-safety properties.
5145
5146 * manual/intro.texi: Document safety identifiers and
5147 conditionals.
5148
5149 * manual/string.texi (wcstok): Fix prototype.
5150 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5151
5152 * manual/time.texi: Document MTASC-safety properties.
5153
5154 * manual/string.texi: Document MTASC-safety properties.
5155
5156 * manual/threads.texi: Document MTASC-safety properties.
5157
5158 * manual/stdio.texi: Document MTASC-safety properties.
5159
5160 * manual/syslog.texi: Document MTASC-safety properties.
5161
5162 * manual/sysinfo.texi: Document MTASC-safety properties.
5163
5164 * manual/startup.texi: Document MTASC-safety properties.
5165
5166 * manual/socket.texi: Document MTASC-safety properties.
5167
5168 * manual/signal.texi: Document MTASC-safety properties.
5169
5170 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5171
5172 * manual/setjmp.texi: Document MTASC-safety properties.
5173
5174 * manual/search.texi: Document MTASC-safety properties.
5175
5176 * manual/resource.texi: Document MTASC-safety properties.
5177
5178 * manual/process.texi: Document MTASC-safety properties.
5179
5180 * manual/platform.texi: Document MTASC-safety properties.
5181
5182 * manual/pipe.texi: Document MTASC-safety properties.
5183
5184 * manual/pattern.texi: Document MTASC-safety properties.
5185
5186 * manual/message.texi: Document MTASC-safety properties.
5187
5188 [BZ #12751]
5189 * manual/memory.texi: Document MTASC-safety properties.
5190
5191 * manual/math.texi: Document MTASC-safety properties.
5192
5193 * manual/locale.texi: Document MTASC-safety properties.
5194
5195 * manual/llio.texi: Document MTASC-safety properties.
5196
5197 * manual/libdl.texi: New.
5198
5199 * manual/lang.texi: Document MTASC-safety properties.
5200
5201 * manual/job.texi: Document MTASC-safety properties.
5202
5203 * manual/getopt.texi: Document MTASC-safety properties.
5204
5205 * manual/ctype.texi: Document MTASC-safety properties.
5206
5207 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5208
5209 [BZ #16046]
5210 * csu/libc-tls.c (static_map): Remove variable.
5211 (__libc_setup_tls): Use main executable's link map for TLS data.
5212 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5213 casing for LM_ID_BASE and GL(dl_nns).
5214 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5215 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5216 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5217 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5218 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5219 member.
5220 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5221 l_phnum members.
5222
5223 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5224
5225 * manual/debug.texi: Document MTASC-safety properties.
5226
5227 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5228
5229 [BZ #16510]
5230 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5231 of __x86_64__ when disabling x87 inline functions.
5232
5233 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5234
5235 * manual/charset.texi: Document MTASC-safety properties.
5236
5237 * manual/crypt.texi: Document MTASC-safety properties.
5238
5239 * manual/conf.texi: Document MTASC-safety properties.
5240
5241 * manual/arith.texi: Document MTASC-safety properties.
5242
5243 * manual/argp.texi: Document MTASC-safety properties.
5244
5245 * manual/macros.texi: Introduce macros to document multi
5246 thread, asynchronous signal and asynchronous cancellation
5247 safety properties.
5248 * manual/intro.texi: Introduce the properties themselves.
5249
5250 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5251
5252 * sysdeps/sh/sh4/Makefile: New file.
5253
5254 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5255
5256 * math/gen-libm-test.pl ($srcdir): New variable.
5257 ($auto_input): Use it.
5258
5259 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5260
5261 [BZ #16506]
5262 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5263 access beyond array bounds when parsing netgroups file.
5264
5265 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5266 the old buffer before realloc.
5267
5268 2014-01-27 Allan McRae <allan@archlinux.org>
5269
5270 * po/fr.po: Update French translation from translation project.
5271
5272 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5273
5274 * sysdeps/sh/libm-test-ulps: Regenerate.
5275
5276 2014-01-24 David S. Miller <davem@davemloft.net>
5277
5278 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5279
5280 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5281
5282 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5283 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5284
5285 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5286
5287 [BZ #16474]
5288 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5289 string pointers after reallocation.
5290
5291 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5292
5293 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5294 __SH4A__ instead of __SH_FPU_ANY__.
5295
5296 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5297
5298 * sysdeps/sh/fpu_control.h: New file.
5299 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5300 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5301 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5302 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5303 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5304 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5305 * sysdeps/sh/sys/ucontext.h: Remove.
5306 * sysdeps/sh/sys: Remove directory.
5307
5308 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5309
5310 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5311 s390/sys/ucontext.h.
5312 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5313 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5314
5315 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5316
5317 [BZ #15605]
5318 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5319
5320 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5321
5322 [BZ#16431]
5323 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5324 Adjust the vDSO correctly for internal calls.
5325 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5326
5327 2014-01-20 Allan McRae <allan@archlinux.org>
5328
5329 * po/ca.po: Update Catalan translation from translation project.
5330
5331 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5332
5333 * sysdeps/s390/sotruss-lib.c: New file.
5334
5335 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5336
5337 [BZ#16430]
5338 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5339 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5340 local calls issues by not having a PLT stub required for IFUNC calls.
5341 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5342
5343 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5344
5345 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5346 * math/test-fpucw-static.c: Likewise.
5347
5348 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5349
5350 [BZ #16453]
5351 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5352
5353 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5354
5355 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5356 implementation for powerpc.
5357
5358 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5359
5360 [BZ #14782]
5361 * sysdeps/posix/system.c (__libc_system): Do not enable
5362 asynchronous cancellation.
5363
5364 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5365
5366 [BZ #16427]
5367 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5368 handling only for numbers special also in the IEEE case.
5369
5370 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5371
5372 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5373
5374 2014-01-11 Allan McRae <allan@archlinux.org>
5375
5376 * po/bg.po: Update Bulgarian translation from translation project.
5377
5378 * po/de.po: Update German translation from translation project.
5379
5380 2014-01-10 Roland McGrath <roland@hack.frob.com>
5381
5382 * sysdeps/generic/gcc-compat.h: New file.
5383
5384 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5385
5386 * benchtests/asin-inputs: Correct slow inputs.
5387 * benchtests/acos-inputs: Likewise.
5388
5389 2014-01-10 Allan McRae <allan@archlinux.org>
5390
5391 * po:sv.po: Update Swedish translation from translation project.
5392
5393 * po/vi.po: Update Vietnamese translation from translation project.
5394
5395 * po/eo.po: Update Esperanto translation from translation project.
5396
5397 * po/cs.po: Update Czech translation from translation project.
5398
5399 * po/nl.po: Update Dutch translation from translation project.
5400
5401 * po/pl.po: Update Polish translation from translation project.
5402
5403 * po/ru.po: Update Russian translation from translation project.
5404
5405 * po/uk.po: Update Ukrainian translation from translation project.
5406
5407 2014-01-08 Brooks Moses <bmoses@google.com>
5408
5409 * elf/dl-load.c: Fix comment typo.
5410
5411 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5412
5413 * po/header.pot: Rename to...
5414 * po/pot.header: ... this.
5415 * po/Makefile: Use pot.header.
5416
5417 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5418 Maxim Kuvyrkov <maxim@kugelworks.com>
5419
5420 [BZ #16394]
5421 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5422 SRC and DEST against LEN.
5423
5424 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5425
5426 [BZ #16414]
5427 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5428 implementation.
5429 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5430
5431 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5432
5433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5434
5435 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5436
5437 [BZ #16408]
5438 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5439 for large positive arguments.
5440
5441 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5442
5443 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5444
5445 * math/auto-libm-test-in: Mark various tests with
5446 xfail-rounding:ldbl-128ibm.
5447 * math/auto-libm-test-out: Regenerated.
5448
5449 [BZ #16407]
5450 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5451 Increase overflow threshold.
5452
5453 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5454
5455 [BZ #14286]
5456 * stdio-common/vfprintf.c: Check for integer overflow.
5457
5458 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5459
5460 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5461 the first argument and return value of __tls_get_addr_internal.
5462
5463 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5464
5465 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5466 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5467
5468 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5469
5470 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5471 * sysdeps/s390/rtld-global-offsets.sym: New file.
5472 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5473 GLIBC_2.19 symbol.
5474 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5475 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5476 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5477 ... this.
5478 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5479 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5480 ... this.
5481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5482 Regenerate.
5483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5484 Regenerate.
5485 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5486 halfs of GPRs for high_gprs contexts.
5487 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5488 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5489 field.
5490 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5491 uc_flags field.
5492 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5493 64 bit versions:
5494 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5495 for high GPRs (uc_high_gprs) and for future extensions
5496 (__reserved).
5497 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5498 for future extensions (__reserved).
5499 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5500 64 bit versions:
5501 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5502 SC_HIGHGPRS offset definition.
5503 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5504 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5505
5506 * Versions.def: Add GLIBC_2.19 for libpthread.
5507 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5508 siglongjmp for libpthread with GLIBC_2.19 symver.
5509 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5510 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5511 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5512 * sysdeps/s390/__longjmp.c: New file.
5513 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5514 * sysdeps/s390/longjmp.c: New file.
5515 * sysdeps/s390/setjmp.S: New file.
5516 * sysdeps/s390/sigjmp.S: New file.
5517 * sysdeps/s390/v1-longjmp.c: New file.
5518 * sysdeps/s390/v1-setjmp.h: New file.
5519 * sysdeps/s390/v1-sigjmp.c: New file.
5520 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5521 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5522 GLIBC_2.19 version.
5523 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5524 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5525 versioned symbols for ____longjmp_chk.
5526 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5527 Likewise.
5528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5529 Regenerate.
5530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5531 Regenerate.
5532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5533 Regenerate.
5534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5535 Regenerate.
5536 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5537 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5538 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5539 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5540 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5541 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5542 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5543 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5544 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5545 * sysdeps/s390/rtld-__longjmp.c: New file.
5546 * sysdeps/s390/rtld-setjmp.S: New file.
5547
5548 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5549
5550 [BZ #16400]
5551 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5552 Return -__logl (x) for small positive arguments without evaluating
5553 a polynomial.
5554
5555 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5556
5557 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5558 Rename to ...
5559 (__ptrace_peeksiginfo_args): ... this.
5560 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5563
5564 2014-01-06 Allan McRae <allan@archlinux.org>
5565
5566 * inet/netinet/in.h: Fix typo in comment.
5567
5568 2014-01-05 Andreas Jaeger <aj@suse.de>
5569
5570 * sysdeps/i386/fpu/libm-test-ulps: Update.
5571
5572 2014-01-05 Allan McRae <allan@archlinux.org>
5573
5574 * po/libc.pot: Regenerated.
5575
5576 * malloc/memusagestat.c: Fix gettext call formatting.
5577
5578 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5579
5580 * nscd/nscd.c: Improve usage() output.
5581
5582 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5583
5584 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5585 * sysdeps/unix/sysv/linux/configure: Regenerated.
5586 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5587 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5588
5589 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5590
5591 [BZ #16390]
5592 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5593 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5594
5595 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5596
5597 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5598 extra tokens at end of #undef directive.
5599 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5600 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5601 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5602
5603 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5604
5605 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5606
5607 * math/auto-libm-test-in: Mark various tests with
5608 xfail-rounding:ldbl-128ibm.
5609 * math/auto-libm-test-out: Regenerated.
5610
5611 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5612
5613 [BZ #16386]
5614 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5615 numbers with subnormal high part when calculating exponent.
5616
5617 [BZ #16385]
5618 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5619 fabs.
5620
5621 [BZ #16384]
5622 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5623 M_LN2l.
5624 (__ieee754_acoshl): Use __log1pl not __log1p.
5625
5626 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5627
5628 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5629 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5630 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5631 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5632 (reused_arena, arena_get2): Convert to GNU style.
5633 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5634 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5635 (memalign_check, __malloc_set_state): Likewise.
5636 * malloc/mallocbug.c (main): Likewise.
5637 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5638 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5639 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5640 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5641 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5642 (__posix_memalign, malloc_info): Likewise.
5643 * malloc/malloc.h: Likewise.
5644 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5645 (mallochook, memalignhook, reallochook, mabort): Likewise.
5646 * malloc/mcheck.h: Likewise.
5647 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5648 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5649 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5650 * malloc/morecore.c (__default_morecore): Likewise.
5651 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5652 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5653 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5654 (print_and_abort): Likewise.
5655 * malloc/obstack.h: Likewise.
5656 * malloc/set-freeres.c (__libc_freeres): Likewise.
5657 * malloc/tst-mallocstate.c (main): Likewise.
5658 * malloc/tst-mtrace.c (main): Likewise.
5659 * malloc/tst-realloc.c (do_test): Likewise.
5660
5661 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5662
5663 [BZ #16366]
5664 * nscd/netgroupcache.c (do_notfound): New function.
5665 (addgetnetgrentX): Use it.
5666
5667 [BZ # 16365]
5668 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5669 NSS_STATUS_NOTFOUND.
5670
5671 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5672
5673 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5675
5676 2014-01-01 Allan McRae <allan@archlinux.org>
5677
5678 * scripts/update-copyrights: Update configure input file suffix.
5679
5680 * NEWS: Update copyright year.
5681 * catgets/gencat.c: Likewise.
5682 * csu/version.c: Likewise.
5683 * debug/catchsegv.sh: Likewise.
5684 * debug/pcprofiledump.c: Likewise.
5685 * debug/xtrace.sh: Likewise.
5686 * elf/ldconfig.c: Likewise.
5687 * elf/ldd.bash.in: Likewise.
5688 * elf/pldd.c: Likewise.
5689 * elf/sotruss.ksh: Likewise.
5690 * elf/sprof.c: Likewise.
5691 * iconv/iconv_prog.c: Likewise.
5692 * iconv/iconvconfig.c: Likewise.
5693 * locale/programs/locale.c: Likewise.
5694 * locale/programs/localedef.c: Likewise.
5695 * login/programs/pt_chown.c: Likewise.
5696 * malloc/memusage.sh: Likewise.
5697 * malloc/memusagestat.c: Likewise.
5698 * malloc/mtrace.pl: Likewise.
5699 * manual/libc.texinfo: Likewise.
5700 * nscd/nscd.c: Likewise.
5701 * nss/getent.c: Likewise.
5702 * nss/makedb.c: Likewise.
5703 * posix/getconf.c: Likewise.
5704 * scripts/test-installation.pl: Likewise.
5705
5706 * All files with FSF copyright notices: Update copyright dates
5707 using scripts/update-copyrights.
5708 * intl/plural.c: Regenerated.
5709 * locale/programs/charmap-kw.h: Likewise.
5710 * locale/programs/locfile-kw.h: Likewise.
5711
5712 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5713
5714 * sysdeps/unix/sysv/linux/configure: Regenerated.
5715 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5716 the linux/fanotify.h header.
5717 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5718 HAVE_LINUX_FANOTIFY_H is defined.
5719
5720 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5721
5722 * benchtests/cos-inputs: New inputs.
5723 * benchtests/sin-inputs: Likewise.
5724
5725 * benchtests/atan-inputs: New inputs. Fix name of multiple
5726 precision fallback inputs.
5727
5728 * benchtests/atanh-inputs: New inputs.
5729 * benchtests/tanh-inputs: Likewise.
5730
5731 * benchtests/acosh-inputs: New inputs.
5732 * benchtests/asinh-inputs: Likewise.
5733
5734 * benchtests/cosh-inputs: New inputs.
5735 * benchtests/sinh-inputs: Likewise.
5736
5737 * benchtests/acos-inputs: Add more inputs.
5738 * benchtests/asin-inputs: Likewise.
5739
5740 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5741
5742 [BZ #16375]
5743 * manual/arith.texi: Fix spelling.
5744 * manual/charset.texi: Likewise.
5745 * manual/errno.texi: Likewise.
5746 * manual/filesys.texi: Likewise.
5747 * manual/lang.texi: Likewise.
5748 * manual/llio.texi: Likewise.
5749 * manual/locale.texi: Likewise.
5750 * manual/message.texi: Likewise.
5751 * manual/resource.texi: Likewise.
5752 * manual/search.texi: Likewise.
5753 * manual/setjmp.texi: Likewise.
5754 * manual/stdio.texi: Likewise.
5755 * manual/string.texi: Likewise.
5756 * manual/sysinfo.texi: Likewise.
5757 * manual/time.texi: Likewise.
5758
5759 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5760
5761 * po/sl.po: New file.
5762
5763 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5764
5765 * .gitignore: Add core/.gdbinit/.gdb_history.
5766
5767 2013-12-27 Allan McRae <allan@archlinux.org>
5768
5769 [BZ #16369]
5770 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5771 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5772
5773 2013-12-24 Brooks Moses <bmoses@google.com>
5774
5775 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5776 all compilers that claim C++98 compliance, not just GCC.
5777 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5778 Likewise.
5779
5780 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5781
5782 * NEWS: Restore accidentally deleted bug-fix entries.
5783
5784 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5785 Ondřej Bílka <neleai@seznam.cz>
5786
5787 [BZ #15073]
5788 * malloc/malloc.c (_int_free): Perform sanity check only if we
5789 have_lock.
5790
5791 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5792
5793 [BZ #12986]
5794 * manual/stdio.texi (String Input Conversions): Clarify that character
5795 classes are not supported.
5796
5797 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5798
5799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5800
5801 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5802
5803 [BZ #16337]
5804 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5805 Calculate results for small negative arguments directly rather
5806 than using reflection formula with special underflow handling.
5807
5808 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5809 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5810 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5811 (fchflags): Likewise.
5812 (revoke): Likewise.
5813 (setlogin): Likewise.
5814 (sigaltstack): Likewise.
5815 (wait4): Likewise.
5816 (sigblock): Remove.
5817 (sigsetmask): Likewise.
5818 (wait3): Likewise.
5819 (waitpid): Likewise.
5820 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5821 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5822 file.
5823 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5824 * sysdeps/unix/bsd/Makefile: ... here.
5825 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5826 * sysdeps/unix/bsd/Versions: ... here.
5827 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5828 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5829 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5830 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5831 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5832 * sysdeps/unix/bsd/sigblock.c: ... here.
5833 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5834 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5835 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5836 * sysdeps/unix/bsd/sigvec.c: ... here.
5837 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5838 * sysdeps/unix/bsd/tcdrain.c: ... here.
5839 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5840 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5841 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5842 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5843 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5844 * sysdeps/unix/bsd/wait.c: ... here.
5845 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5846 * sysdeps/unix/bsd/wait3.c: ... here.
5847 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5848 * sysdeps/unix/bsd/waitpid.c: ... here.
5849
5850 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5851
5852 [BZ #16356]
5853 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5854 round-to-nearest for [!USE_AS_EXPM1L].
5855 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5856 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5857 more tests of exp and exp10. Expect some exp10 tests to miss
5858 exceptions or fail in directed rounding modes.
5859 * math/auto-libm-test-out: Regenerated.
5860 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5861 (exp10_test_tonearest): New function.
5862 (exp10_towardzero_test_data): New array.
5863 (exp10_test_towardzero): New function.
5864 (exp10_downward_test_data): New array.
5865 (exp10_test_downward): New function.
5866 (exp10_upward_test_data): New array.
5867 (exp10_test_upward): New function.
5868 (main): Call the new functions.
5869 * sysdeps/i386/fpu/libm-test-ulps: Update.
5870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5871
5872 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5873
5874 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5875 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5876 * math/auto-libm-test-out: Regenerated.
5877 * math/libm-test.inc (acosh_test_data): Add more tests.
5878 (atanh_test_data): Likewise.
5879 (ceil_test_data): Likewise.
5880 (copysign_test_data): Likewise.
5881 * sysdeps/i386/fpu/libm-test-ulps: Update.
5882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5883
5884 * timezone/checktab.awk: Update from tzcode 2013i.
5885 * timezone/private.h: Likewise.
5886 * timezone/scheck.c: Likewise.
5887 * timezone/tzfile.h: Likewise.
5888 * timezone/tzselect.ksh: Likewise.
5889 * timezone/zdump.c: Likewise.
5890 * timezone/zic.c: Likewise.
5891
5892 * math/auto-libm-test-in: Add tests of cpow.
5893 * math/auto-libm-test-out: Regenerated.
5894 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5895 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5896 mpc_cc_c.
5897 (func_calc_desc): Add mpc_cc_c union field.
5898 (test_functions): Add cpow.
5899 (special_fill_2pi): New function.
5900 (special_real_inputs): Add 2pi.
5901 (calc_generic_results): Handle mpc_cc_c.
5902 * sysdeps/i386/fpu/libm-test-ulps: Update.
5903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5904
5905 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5906 csqrt, ctan and ctanh.
5907 * math/auto-libm-test-out: Regenerated.
5908 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5909 (TEST_COND_x86): Likewise.
5910 (ccos_test_data): Use AUTO_TESTS_c_c.
5911 (ccosh_test_data): Likewise.
5912 (cexp_test_data): Likewise.
5913 (clog_test_data): Likewise.
5914 (csqrt_test_data): Likewise.
5915 (ctan_test_data): Likewise.
5916 (ctan_tonearest_test_data): Likewise.
5917 (ctan_towardzero_test_data): Likewise.
5918 (ctan_downward_test_data): Likewise.
5919 (ctan_upward_test_data): Likewise.
5920 (ctanh_test_data): Likewise.
5921 (ctanh_tonearest_test_data): Likewise.
5922 (ctanh_towardzero_test_data): Likewise.
5923 (ctanh_downward_test_data): Likewise.
5924 (ctanh_upward_test_data): Likewise.
5925 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5926 mpc_c_c.
5927 (func_calc_desc): Add mpc_c_c union field.
5928 (FUNC_mpc_c_c): New macro.
5929 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5930 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5931 ctanh.
5932 (special_fill_min_subnorm_p120): New function.
5933 (special_real_inputs): Add min_subnorm_p120.
5934 (calc_generic_results): Handle mpc_c_c.
5935 * sysdeps/i386/fpu/libm-test-ulps: Update.
5936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5937
5938 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5939
5940 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5941 (do_sin_slow): New functions.
5942 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5943 (cslow2, csloww1, csloww2): Use the new functions.
5944
5945 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5946 Use M to change sign of result instead of X. Assume X is
5947 positive.
5948 (csloww1): Likewise.
5949 (__sin): Adjust.
5950 (__cos): Adjust.
5951
5952 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5953 arguments A and DA.
5954 (__sin): Adjust.
5955 (__cos): Likewise.
5956
5957 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5958 (__cos): Likewise.
5959 (sloww1): Don't adjust sign of DX.
5960 (csloww1): Likewise.
5961 (sloww2): Use X directly and don't adjust sign of DX.
5962 (csloww2): Likewise.
5963
5964 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5965
5966 * math/auto-libm-test-in: Add tests of cabs and carg.
5967 * math/auto-libm-test-out: Regenerated.
5968 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5969 (carg_test_data): Likewise.
5970 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5971 mpc_c_f.
5972 (func_calc_desc): Add mpc_c_f union field.
5973 (test_functions): Add cabs and carg.
5974 (calc_generic_results): Handle mpc_c_f.
5975
5976 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5977 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5978 as a macro and a compat symbol.
5979 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5980 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5981 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5982 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5983 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5984 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5985 not use .hidden.
5986 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5987 Likewise.
5988 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5989 Likewise.
5990 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5991 Likewise.
5992 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5993 Likewise.
5994 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5995 Likewise.
5996 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5997 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5998 from GLIBC_2.3.2.
5999
6000 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6001
6002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6003
6004 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6005
6006 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6007 trailing whitespace removed.
6008 * scripts/config.guess: Update to version 2013-11-29.
6009 * scripts/config.sub: Update to version 2013-10-01.
6010
6011 * math/auto-libm-test-in: Add tests of sincos.
6012 * math/auto-libm-test-out: Regenerated.
6013 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6014 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6015 mpfr_f_11.
6016 (func_calc_desc): Add mpfr_f_11 union field.
6017 (test_functions): Add sincos.
6018 (calc_generic_results): Handle mpfr_f_11.
6019 * sysdeps/i386/fpu/libm-test-ulps: Update.
6020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6021
6022 2013-12-19 Andreas Schwab <schwab@suse.de>
6023
6024 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6025 CALL_MCOUNT.
6026 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6027 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6028 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6029
6030 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6031
6032 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6033 * sysdeps/i386/fpu/libm-test-ulps: Update.
6034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6035
6036 [BZ #16293]
6037 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6038 round-to-nearest mode when using frndint.
6039 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6040 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6041 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6042 Likewise.
6043 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6044 sinh test to fail.
6045 * math/auto-libm-test-out: Regenerated.
6046 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6047 (TEST_COND_x86): Likewise.
6048 (expm1_tonearest_test_data): New array.
6049 (expm1_test_tonearest): New function.
6050 (expm1_towardzero_test_data): New array.
6051 (expm1_test_towardzero): New function.
6052 (expm1_downward_test_data): New array.
6053 (expm1_test_downward): New function.
6054 (expm1_upward_test_data): New array.
6055 (expm1_test_upward): New function.
6056 (main): Run the new test functions.
6057 * sysdeps/i386/fpu/libm-test-ulps: Update.
6058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6059
6060 * include/features.h: Update comment documenting feature test
6061 macros. Mention _DEFAULT_SOURCE in comment.
6062 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6063 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6064 _BSD_SOURCE and _SVID_SOURCE.
6065 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6066 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6067 !_SVID_SOURCE]: Likewise.
6068 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6069 (__USE_POSIX_IMPLICITLY): Define.
6070 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6071 (_POSIX_SOURCE): Undefine and redefine.
6072 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6073 (_POSIX_C_SOURCE): Likewise.
6074 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6075 (Feature Test Macros): Update documentation of default features.
6076
6077 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6078
6079 * benchtests/Makefile: Add bench-strtok.
6080 * benchtests/bench-strtok.c: New file: strtok benchtest.
6081
6082 2013-12-19 Allan McRae <allan@archlinux.org>
6083
6084 * manual/install.texi: Suppress menu for plain text output.
6085 * INSTALL: Regenerated.
6086
6087 2013-12-18 Brooks Moses <bmoses@google.com>
6088
6089 [BZ #15846]
6090 * misc/getauxval.c: Include errno.h.
6091 (__getauxval): Set errno to ENOENT if the requested type is not
6092 found.
6093 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6094 don't declare with __attribute_const__.
6095 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6096 * manual/startup.texi: Document that getauxval sets errno.
6097
6098 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6099
6100 * math/auto-libm-test-in: Add tests of jn and yn.
6101 * math/auto-libm-test-out: Regenerated.
6102 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6103 (yn_test_data): Likewise.
6104 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6105 mpfr_if_f.
6106 (func_calc_desc): Add mpfr_if_f union field.
6107 (FUNC_mpfr_if_f): New macro.
6108 (test_functions): Add jn and yn.
6109 (calc_generic_results): Assert type of second input for
6110 mpfr_ff_f. Handle mpfr_if_f.
6111 (output_for_one_input_case): Disable all checking for arguments
6112 fitting floating-point types in case of an integer argument.
6113 * sysdeps/i386/fpu/libm-test-ulps: Update.
6114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6115
6116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6117 Don't expect fegetround reference in libm.so.
6118
6119 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6120
6121 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6122 $(config-cflags-nofma).
6123
6124 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6125
6126 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6127 * math/auto-libm-test-out: Regenerated.
6128
6129 [BZ #16338]
6130 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6131 to determine exponent and adjust argument to have exponent of -1.
6132 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6133 log2.
6134 * math/auto-libm-test-out: Regenerated.
6135 * sysdeps/i386/fpu/libm-test-ulps: Update.
6136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6137
6138 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
6139
6140 * manual/probes.texi: Remove cases when per-thread arenas are
6141 disabled.
6142
6143 2013-12-18 Andreas Schwab <schwab@suse.de>
6144
6145 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6146 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6147 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6148 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6149 * sysdeps/i386/i686/multiarch/Makefile: Update.
6150 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6151
6152 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6153
6154 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6155 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6156
6157 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6158
6159 [BZ #15968]
6160 Support TZ transition times < 00:00:00.
6161 This is needed for version-3 tz-format files; it supports time
6162 stamps past 2037 for America/Godthab (the only entry in the tz
6163 database for which this change is relevant).
6164 * manual/time.texi (TZ Variable): Document transition times
6165 from -167:59:59 through -00:00:01.
6166 * time/tzset.c (tz_rule): Time of day is now signed.
6167 (__tzset_parse_tz): Parse negative time of day.
6168
6169 Document TZ transition times >= 25:00:00.
6170 * manual/time.texi (TZ Variable): Document transition times from
6171 25:00:00 through 167:59:59. These are already supported, and this
6172 support will help with version-3 tz-format files.
6173
6174 * manual/time.texi (TZ Variable): Modernize North America example
6175 to reflect current (i.e., 2007-and-later) daylight saving rules.
6176
6177 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6178
6179 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6180
6181 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6182 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6185 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6186 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6187 * sysdeps/unix/bsd/clock.c: Likewise.
6188 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6189 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6190 * sysdeps/unix/bsd/init-posix.c: Likewise.
6191 * sysdeps/unix/bsd/poll.c: Likewise.
6192 * sysdeps/unix/bsd/ptsname.c: Likewise.
6193 * sysdeps/unix/bsd/seekdir.c: Likewise.
6194 * sysdeps/unix/bsd/setegid.c: Likewise.
6195 * sysdeps/unix/bsd/seteuid.c: Likewise.
6196 * sysdeps/unix/bsd/setgid.c: Likewise.
6197 * sysdeps/unix/bsd/setrgid.c: Likewise.
6198 * sysdeps/unix/bsd/setruid.c: Likewise.
6199 * sysdeps/unix/bsd/setsid.c: Likewise.
6200 * sysdeps/unix/bsd/setuid.c: Likewise.
6201 * sysdeps/unix/bsd/sigaction.c: Likewise.
6202 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6203 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6204 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6205 * sysdeps/unix/bsd/telldir.c: Likewise.
6206 * sysdeps/unix/bsd/times.c: Likewise.
6207 * sysdeps/unix/bsd/usleep.c: Likewise.
6208
6209 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6210 ($(objpfx)libbsd-compat.a): Remove rule.
6211
6212 * include/features.h (__FAVOR_BSD): Do not define.
6213 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6214 features conflicting with POSIX.
6215 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6216 (_BSD_SOURCE): Remove description of not being a subset of other
6217 feature test macros.
6218 * manual/job.texi (getpgrp): Do not document BSD version.
6219 (getpgid): Do not document by reference to BSD getpgrp.
6220 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6221 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6222 * signal/signal.h [__FAVOR_BSD]: Likewise.
6223 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6224 instead of making contents conditional on [__FAVOR_BSD].
6225 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6226
6227 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6228
6229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6230
6231 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6232
6233 [BZ #16314]
6234 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6235 values below 2**-450, not 2**-500.
6236 * math/auto-libm-test-in: Don't allow spurious underflow from
6237 hypot.
6238 * math/auto-libm-test-out: Regenerated.
6239
6240 [BZ #16316]
6241 [BZ #16330]
6242 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6243 values of ha and hb and sort them after adjusting subnormal
6244 arguments.
6245 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6246 Likewise.
6247 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6248 values of ea and eb and sort them after adjusting subnormal
6249 arguments.
6250 * math/auto-libm-test-in: Do not expect some hypot tests of
6251 subnormals to fail. Add more hypot tests.
6252 * math/auto-libm-test-out: Regenerated.
6253
6254 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6255
6256 [BZ #13304]
6257 * sysdeps/sh/s_fma.c: New file.
6258 * sysdeps/sh/s_fmaf.c: New file.
6259 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6260 version.
6261 * sysdeps/sh/Implies: Add sh/soft-fp.
6262
6263 2013-12-16 Roland McGrath <roland@hack.frob.com>
6264
6265 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6266 level of indirection to members `objname', `errstring', `malloced'.
6267 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6268 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6269 it as the __longjmp argument (just pass 1 instead).
6270 (_dl_catch_error): Initialize C with argument pointers and address of
6271 volatile local ERRCODE rather than copying values out of C at return.
6272
6273 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6274
6275 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6276 * math/auto-libm-test-out: Regenerated.
6277 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6278 (hypot_test_data): Likewise.
6279 (pow_test_data): Likewise.
6280 (pow_tonearest_test_data): Likewise.
6281 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6282 mpfr_ff_f.
6283 (func_calc_desc): Add mpfr_ff_f union field.
6284 (FUNC_mpfr_ff_f): New macro.
6285 (test_functions): Add atan2, hypot and pow.
6286 (special_fill_min): New function.
6287 (special_fill_minus_min): Likewise.
6288 (special_fill_min_subnorm): Likewise.
6289 (special_fill_minus_min_subnorm): Likewise.
6290 (special_real_inputs): Add min, -min, min_subnorm and
6291 -min_subnorm.
6292 (calc_generic_results): Handle mpfr_ff_f.
6293 * sysdeps/i386/fpu/libm-test-ulps: Update.
6294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6295
6296 2013-12-16 Will Newton <will.newton@linaro.org>
6297
6298 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6299 (Aligned Memory Blocks): Add documentation for aligned_alloc
6300 and suggest it as an alternative to posix_memalign.
6301 (Hooks for Malloc): Document __memalign_hook is also called
6302 for aligned_alloc. (Summary of Malloc): Add summary for
6303 aligned alloc. Document __memalign_hook is also called
6304 for aligned_alloc.
6305
6306 2013-12-16 Will Newton <will.newton@linaro.org>
6307
6308 * manual/memory.texi (Malloc Examples): Clarify default
6309 alignment documentation. Suggest posix_memalign rather
6310 than memalign or valloc.
6311 (Aligned Memory Blocks): Remove suggestion to use memalign
6312 or valloc. Remove obsolete comment about BSD.
6313 Document memalign errno values and mark the function obsolete.
6314 Document posix_memalign returned error codes. Mark valloc
6315 as obsolete. (Hooks for Malloc): __memalign_hook is also
6316 called for posix_memalign and valloc.
6317 (Summary of Malloc): Add posix_memalign to function summary.
6318 __memalign_hook is also called for posix_memalign and valloc.
6319
6320 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6321
6322 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6323 TAYLOR_SIN.
6324 (__sin): Adjust.
6325 (__cos): Likewise.
6326 (sloww): Use mynumber union. Expand ternary operator into
6327 if-else statements.
6328 (cslow): use mynumber union.
6329
6330 2013-12-16 Allan McRae <allan@archlinux.org>
6331
6332 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6333 * configure: Regenerated.
6334
6335 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6336
6337 [BZ #14120]
6338 * configure.ac: Added --enable-maintainer-mode. Check for
6339 autoconf when enabled.
6340 * configure: Regenerated.
6341
6342 * nscd/nscd.service: New file.
6343 * nscd/nscd.tmpfiles: New file.
6344
6345 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6346
6347 [BZ #12100]
6348 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6349 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6350 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6351 (strstr): Add __strstr_sse2_unaligned ifunc.
6352 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6353 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6354 (strcasestr): Remove __strcasestr_sse42 ifunc.
6355 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6358
6359 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6360
6361 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6362 * sysdeps/sh/bits/fenv.h: ... here.
6363 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6364
6365 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6366
6367 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6368
6369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6370 hypotf multiarch implementations.
6371 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6372 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6373 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6374 multiarch hypot for PPC64.
6375 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6376 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6377 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6378 multiarch hypotf for PPC64.
6379
6380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6381 modff multiarch implementations.
6382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6385 multiarch modf for PPC64.
6386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6389 multiarch modff for PPC64.
6390
6391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6392 and logl multiarch implementations.
6393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6396 multiarch logb for PPC64.
6397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6400 multiarch logb for PPC64.
6401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6404 multiarch logb for PPC64.
6405
6406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6407 isinff multiarch implementation.
6408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6409 file.
6410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6412 multiarch isinf for PPC64.
6413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6414 file.
6415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6416 multiarch isinff for PPC64.
6417
6418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6419 finitef multiarch implementation.
6420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6421 file.
6422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6424 multiarch finite for PPC64.
6425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6426 file.
6427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6428 multiarch finitef for PPC64.
6429
6430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6431 lrint multiarch implementation.
6432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6433 file.
6434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6436 multiarch llrint for PPC64.
6437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6438 multiarch lrint for PPC64.
6439
6440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6441 copysignf multiarch implementation.
6442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6443 file.
6444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6445 file.
6446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6447 multiarch copysign for PPC64.
6448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6449 multiarch copysignf for PPC64.
6450
6451 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6452 multiarch implementation.
6453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6454 file.
6455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6456 file.
6457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6458 file.
6459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6460 file.
6461 multiarch llround for PPC64.
6462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6463 multiarch trunc for PPC64.
6464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6465 multiarch truncf for PPC64.
6466
6467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6468 multiarch implementation.
6469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6470 file.
6471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6472 file.
6473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6474 file.
6475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6476 file.
6477 multiarch llround for PPC64.
6478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6479 multiarch round for PPC64.
6480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6481 multiarch roundf for PPC64.
6482
6483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6484 multiarch implementation.
6485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6486 file.
6487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6488 file.
6489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6490 file.
6491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6492 file.
6493 multiarch llround for PPC64.
6494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6495 multiarch floor for PPC64.
6496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6497 multiarch floorf for PPC64.
6498
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6500 multiarch implementation.
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6502 file.
6503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6504 file.
6505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6506 file.
6507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6508 file.
6509 multiarch llround for PPC64.
6510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6511 multiarch ceil for PPC64.
6512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6513 multiarch ceilf for PPC64.
6514
6515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6516 multiarch implementation.
6517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6518 file.
6519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6520 file.
6521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6522 file.
6523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6524 multiarch llround for PPC64.
6525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6526 multiarch lround for PPC64.
6527
6528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6529 multiarch implementation.
6530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6533 file.
6534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6537 multiarch isnan for PPC64.
6538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6539 multiarch isnanf for PPC64.
6540
6541 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6542 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6543 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6544 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6545 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6547
6548 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6549 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6550 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6551 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6552
6553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6554 multiarch implementations.
6555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6556 (__libc_ifunc_impl_list): Likewise.
6557 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6558 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6559 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6560 multiarch stpcpy for PPC64.
6561
6562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6563 multiarch implementations.
6564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6565 (__libc_ifunc_impl_list): Likewise.
6566 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6567 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6568 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6569 multiarch strcpy for PPC64.
6570
6571 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6572 redefine function name.
6573 (_wordcopy_fwd_dest_aligned): Likewise.
6574 (_wordcopy_bwd_aligned): Likewise.
6575 (_wordcopy_bwd_dest_aligned): Likewise.
6576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6577 multiarch implementations.
6578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6579 (__libc_ifunc_impl_list): Likewise.
6580 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6581 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6582 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6583 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6584 multiarch wcscpy for PPC64.
6585
6586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6587 multiarch implementations.
6588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6589 (__libc_ifunc_impl_list): Likewise.
6590 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6591 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6592 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6593 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6594 multiarch wcscpy for PPC64.
6595
6596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6597 multiarch implementations.
6598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6599 (__libc_ifunc_impl_list): Likewise.
6600 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6601 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6602 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6603 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6604 multiarch wcsrchr for PPC64.
6605
6606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6607 multiarch implementations.
6608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6609 (__libc_ifunc_impl_list): Likewise.
6610 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6611 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6612 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6613 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6614 multiarch wcschr for PPC64.
6615
6616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6617 multiarch implementations.
6618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6619 (__libc_ifunc_impl_list): Likewise.
6620 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6621 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6622 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6623 multiarch strchrnul for PPC64.
6624
6625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6626 implementations.
6627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6628 (__libc_ifunc_impl_list): Likewise.
6629 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6630 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6631 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6632 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6633 strchr for PPC64.
6634
6635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6636 implementations.
6637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6638 (__libc_ifunc_impl_list): Likewise.
6639 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6640 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6641 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6642 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6643 strncmp for PPC64.
6644
6645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6646 multiarch implementations.
6647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6648 (__libc_ifunc_impl_list): Likewise.
6649 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6650 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6651 strncasecmp for PPC64.
6652 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6653 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6654 multiarch strncasecmp_l for PPC64.
6655
6656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6657 multiarch implementations.
6658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6659 (__libc_ifunc_impl_list): Likewise.
6660 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6661 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6662 multiarch strcasecmp for PPC64.
6663 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6664 file.
6665 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6666 multiarch strcasecmp_l for PPC64.
6667
6668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6669 implementations.
6670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6671 (__libc_ifunc_impl_list): Likewise.
6672 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6673 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6674 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6675 strnlen for PPC64.
6676
6677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6678 implementations.
6679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6680 (__libc_ifunc_impl_list): Likewise.
6681 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6682 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6683 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6684 strlen for PPC64.
6685
6686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6687 implementations.
6688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6689 (__libc_ifunc_impl_list): Likewise.
6690 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6691 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6692 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6693 rawmemrchr for PPC64.
6694
6695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6696 implementation.
6697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6698 (__libc_ifunc_impl_list): Likewise.
6699 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6700 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6701 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6702 memrchr for PPC64.
6703
6704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6705 implementation.
6706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6707 (__libc_ifunc_impl_list): Likewise.
6708 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6709 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6710 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6711 memchr for PPC64.
6712
6713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6714 implementation.
6715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6716 (__libc_ifunc_impl_list): Likewise.
6717 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6718 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6719 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6720 mempcpy for PPC64.
6721
6722 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6723 avoid cretion of __bzero symbol.
6724 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6725 Likewise.
6726 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6727 Likewise.
6728 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6729 Likewise.
6730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6731 multiarch implementations.
6732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6733 (__libc_ifunc_impl_list): Likewise.
6734 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6735 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6736 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6737 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6738 bzero for PPC32.
6739 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6740 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6741 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6742 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6743 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6744 memset for PPC64.
6745 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6746
6747 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6749 implementations.
6750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6751 (__libc_ifunc_impl_list): Likewise.
6752 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6753 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6754 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6755 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6756 memcmp for PPC64.
6757
6758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6759 multiarch for POWER/PPC64.
6760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6761 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6762 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6763 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6764 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6765 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6766 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6767 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6768 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6769 memcpy for PPC64.
6770
6771 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6772 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6773 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6774 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6775 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6776 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6777 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6778 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6779 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6780 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6781 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6782 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6783 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6784 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6785 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6793
6794 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6795
6796 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6797
6798 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6799
6800 * benchtests/Makefile (bench): Add exp2 and log2.
6801 (LDLIBS-bench-exp2): Add -lm.
6802 (LDLIBS-bench-log2): Likewise.
6803 * benchtests/exp2-inputs: New inputs file.
6804 * benchtests/log2-inputs: New inputs file.
6805 * benchtests/log-inputs: Add new inputs.
6806 * benchtests/tan-inputs: Likewise.
6807
6808 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6809
6810 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6811 definition...
6812 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6813 (csloww2): ... from here.
6814
6815 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6816 instead of structures.
6817 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6818 (POLYNOMIAL): Likewise.
6819 (TAYLOR_SLOW): Likewise.
6820 (__sin): Likewise.
6821 (__cos): Likewise.
6822 (slow1): Likewise.
6823 (slow2): Likewise.
6824 (sloww): Likewise.
6825 (sloww1); Likewise.
6826 (sloww2): Likewise.
6827 (bsloww1): Likewise.
6828 (bsloww2): Likewise.
6829 (cslow2): Likewise.
6830 (csloww): Likewise.
6831 (csloww1): Likewise.
6832 (csloww2): Likewise.
6833
6834 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6835
6836 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6837 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6838 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6839 * malloc/hooks.c (realloc_check): Likewise.
6840
6841 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6842 * malloc/arena.c: Remove PER_THREAD conditional.
6843 [!PER_THREAD]: Remove code.
6844 (ptmalloc_unlock_all2): Likewise.
6845 (ptmalloc_init): Likewise.
6846 (_int_new_arena): Likewise.
6847 (arena_get2): Likewise.
6848 * malloc/hooks.c (__malloc_get_state): Likewise.
6849 (__malloc_set_state): Likewise.
6850 * malloc/malloc.c: Likewise.
6851 (struct malloc_state): Likewise.
6852 (struct malloc_par): Likewise.
6853 (__libc_realloc): Likewise.
6854 (__libc_mallopt): Likewise.
6855
6856 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6857
6858 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6859
6860 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6861
6862 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6863 macro to a function. Check for zero perturb_byte.
6864 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6865
6866 * malloc/malloc.c: (force_reg): Remove.
6867 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6868 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6869 force_reg by atomic_forced_read.
6870 * malloc/arena.c (ptmalloc_init): Likewise.
6871 * malloc/hooks.c (top_check): Likewise.
6872
6873 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6874
6875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6876
6877 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6878
6879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6880
6881 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6882
6883 * math/auto-libm-test-in: Add tests of lgamma.
6884 * math/auto-libm-test-out: Regenerated.
6885 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6886 (M_LOG_2_SQRT_PIl): Likewise.
6887 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6888 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6889 mpfr_f_f1.
6890 (func_calc_desc): Add mpfr_f_f1 union field.
6891 (ARGS1): New macro.
6892 (ARGS2): Likewise.
6893 (ARGS3): Likewise.
6894 (ARGS4): Likewise.
6895 (RET1): Likewise.
6896 (RET2): Likewise.
6897 (CALC): Likewise.
6898 (FUNC): Likewise.
6899 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6900 (test_functions): Add lgamma.
6901 (calc_generic_results): Handle mpfr_f_f1.
6902 * sysdeps/i386/fpu/libm-test-ulps: Update.
6903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6904
6905 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6906
6907 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6908 __mpn_add_n for PowerPC64/POWER7.
6909 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6910 __mpn_sub_n for PowerPC64/POWER7.
6911
6912 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6913 __mpn_addmul_1 for PowerPC64.
6914 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6915 __mpn_submul_1 for PowerPC64.
6916 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6917 for PowerPC64.
6918 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6919 for PowerPC64.
6920
6921 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6922
6923 [BZ #15089]
6924 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6925
6926 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6927
6928 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6929
6930 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6931 add multiarch folders.
6932 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6933 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6934 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6935 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6936 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6937 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6938 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6939 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6940 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6941 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6942 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6949
6950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6951 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6953 New file.
6954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6955 New file.
6956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6957 multiarch __ieee754_hypot for PowerPC32.
6958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6959 New file.
6960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6961 New file.
6962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6963 multiarch __ieee754_hypotf for PowerPC32.
6964
6965 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6966 long_double_symbol only if __logbl is defined.
6967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6968 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6969 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6970 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6972 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6973 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6974 path for implementation.
6975 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6976 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6978 logb, and logbl multiarch implementations for PowerPC32.
6979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6980 file.
6981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6982 file.
6983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6984 multiarch logb for PowerPC32.
6985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6986 file.
6987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6988 file.
6989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6990 multiarch logbf for PowerPC32.
6991 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6993 file.
6994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6995 multiarch logbl implementation for PowerPC32.
6996
6997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6998 and modff multiarch implementations.
6999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7000 New file.
7001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7002 New file.
7003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7004 multiarch modf for PowerPC32.
7005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7006 New file.
7007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7008 New file.
7009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7010 multiarch modff for PowerPC32.
7011
7012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7013 and lrintf multiarch implementations.
7014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7015 New file.
7016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7017 New file.
7018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7019 multiarch lrint for PowerPC32.
7020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7021 file: multiarch lrintf for PowerPC32.
7022
7023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7024 and lroundf multiarch implementations.
7025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7026 New file.
7027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7028 New file.
7029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7030 New file.
7031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7032 multiarch lround for PowerPC32.
7033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7034 file: multiarch lroundf for PowerPC32.
7035
7036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7037 copysign and copysignf multiarch implementations.
7038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7039 New file.
7040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7041 New file.
7042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7043 file: multiarch copysign for PowerPC32.
7044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7045 file: multiarch copysignf for PowerPC32.
7046
7047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7048 and truncf multiarch implementations.
7049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7050 New file.
7051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7052 file.
7053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7054 multiarch trunc for PowerPC32.
7055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7056 New file.
7057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7058 New file.
7059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7060 multiarch truncf for PowerPC32.
7061
7062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7063 and roundf multiarch implementations.
7064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7065 New file.
7066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7067 file.
7068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7069 multiarch round for PowerPC32.
7070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7071 New file.
7072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7073 New file.
7074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7075 multiarch roundf for PowerPC32.
7076
7077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7078 and floorf multiarch implementations.
7079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7080 New file.
7081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7082 file.
7083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7084 multiarch floor for PowerPC32.
7085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7086 New file.
7087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7088 New file.
7089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7090 multiarch floorf for PowerPC32.
7091
7092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7093 and ceilf multiarch implementations.
7094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7095 New file.
7096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7097 file.
7098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7099 multiarch ceil for PowerPC32.
7100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7101 New file.
7102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7103 file.
7104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7105 multiarch ceilf for PowerPC32.
7106
7107 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7108 is defined.
7109 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7110 FINITEF is defined.
7111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7112 and finitef multiarch implementations.
7113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7114 New file.
7115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7116 file.
7117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7118 multiarch finite for PowerPC32.
7119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7120 New file.
7121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7122 file: multiarch finitef for PowerPC32.
7123
7124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7125 and isinff multiarch implementations.
7126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7127 file.
7128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7129 file.
7130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7131 multiarch isinf for PowerPC32.
7132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7133 New file.
7134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7135 multiarch isinff for PowerPC32.
7136
7137 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7138 alias when __isnan is defined.
7139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7140 and isnanf multiarch implementations.
7141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7142 file.
7143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7144 file.
7145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7146 file.
7147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7148 file.
7149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7150 multiarch isnan for PowerPC32.
7151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7152 New file.
7153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7154 New file.
7155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7156 multiarch isnanf for PowerPC32.
7157
7158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7159 and sqrtf multiarch implementations.
7160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7161 file.
7162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7163 file.
7164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7165 multiarch sqrt for PowerPC32.
7166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7167 file.
7168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7169 file.
7170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7171 multiarch sqrtf for PowerPC32.
7172
7173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7174 and llroundf multiarch implementations.
7175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7176 New file.
7177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7178 New file.
7179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7180 New file.
7181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7182 file: multiarch llround for PowerPC32.
7183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7184 file: multiarch llroundf for PowerPC32.
7185
7186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7187 multiarch PowerPC32 fpu implementations.
7188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7189 New file.
7190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7191 New file.
7192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7193 multiarch llrint for PowerPC32.
7194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7195 New file.
7196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7197 New file.
7198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7199 file.
7200
7201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7202
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7204 file.
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7206 file.
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7208 file.
7209 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7210 multiarch wordcopy for PPC32.
7211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7212 wordcopy objects.
7213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7214 (__libc_ifunc_impl_list): Likewise.
7215 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7216 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7217 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7218 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7219 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7220 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7221
7222 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7224 file.
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7226 file.
7227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7228 file.
7229 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7230 multiarch wcscpy for PPC32.
7231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7232 multiarch objects.
7233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7234 (__libc_ifunc_impl_list): Likewise.
7235 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7236 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7237 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7238 sysdeps/powerpc/power6/wcscpy.c.
7239
7240 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7242 file.
7243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7244 file.
7245 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7246 file.
7247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7248 multiarch wcsrchr for PPC32.
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7250 multiarch objects.
7251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7252 (__libc_ifunc_impl_list): Likewise.
7253 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7254 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7255 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7256 sysdeps/powerpc/power6/wcsrchr.c.
7257
7258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7259 file.
7260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7261 file.
7262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7264 multiarch wcschr for PPc32.
7265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7266 multiarch objects.
7267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7268 (__libc_ifunc_impl_list): Likewise.
7269 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7270 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7271 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7272 sysdeps/powerpc/power6/wcschr.c.
7273
7274 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7275 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7276 file.
7277 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7278 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7279 file: multiarch strchr for PPC32.
7280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7281 multiarch objects.
7282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7283 (__libc_ifunc_impl_list): Likewise.
7284
7285 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7286 name.
7287 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7288 file.
7289 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7290 file.
7291 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7292 multiarch strchrnul for PPC32.
7293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7294 multiarch objects.
7295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7296 (__libc_ifunc_impl_list): Likewise.
7297
7298 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7299 file.
7300 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7301 multiarch strncasecmp for PPC32.
7302 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7303 file.
7304 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7305 multiarch strncasecmp_l for PPC32.
7306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7307 strncasecmp multiarch objects.
7308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7309 (__libc_ifunc_impl_list): Likewise.
7310
7311 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7312 file.
7313 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7314 multiarch strncasecmp for PPC32.
7315 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7316 New file.
7317 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7318 multiarch strcasecmp_l for PPC32.
7319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7320 multiarch objects.
7321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7322 (__libc_ifunc_impl_list): Likewise.
7323
7324 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7325 file.
7326 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7327 file.
7328 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7329 multiarch strncmp for PPC32.
7330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7331 multiarch objects.
7332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7333 (__libc_ifunc_impl_list): Likewise.
7334
7335 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7336 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7337 file.
7338 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7339 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7341 multiarch objects.
7342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7343 (__libc_ifunc_impl_list): Likewise.
7344
7345 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7346 file.
7347 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7348 file.
7349 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7351 multiarch objects.
7352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7353 (__libc_ifunc_impl_list): Likewise.
7354
7355 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7356 file.
7357 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7358 file.
7359 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7360 multiarch rawmemchr for PPC32.
7361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7362 multiarch objects.
7363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7364 (__libc_ifunc_impl_list): Likewise.
7365
7366 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7367 file.
7368 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7369 file.
7370 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7371 file: memrchr multiarch for PPC32.
7372 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7373 multiarch objects.
7374 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7375 (__libc_ifunc_impl_list): Likewise.
7376
7377 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7378 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7379 file.
7380 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7381 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7382 multiarch memchr for PPC32.
7383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7384 multiarch objects.
7385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7386 (__libc_ifunc_impl_list): Likewise.
7387
7388 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7389 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7390 file.
7391 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7392 file.
7393 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7394 file: multiarch mempcpy for PPC32.
7395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7396 multiarch objects.
7397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7398 (__libc_ifunc_impl_list): Likewise.
7399
7400 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7401 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7402 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7403 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7404 multiarch bzero for PPC32.
7405 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7406 file.
7407 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7408 file.
7409 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7410 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7411 file: multiarch memset for PPC32.
7412 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7414 memset multiarch objects.
7415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7416 (__libc_ifunc_impl_list): Likewise.
7417
7418 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7419 file.
7420 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7421 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7422 memcmp for PPC32.
7423 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7425 multiarch objects.
7426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7427 (__libc_ifunc_impl_list): Likewise.
7428
7429 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7430 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7431 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7432 file.
7433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7434 file.
7435 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7436 file.
7437 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7438 multiarch memcpy for PPC32.
7439 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7440 multiarch objects.
7441 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7442 (__libc_ifunc_impl_list): Likewise.
7443
7444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7445 support multiarch for POWER/PPC32.
7446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7447 Likewise.
7448 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7450 Implies file to make multiarch folder appers before the fpu and
7451 default folder for power4 configuration.
7452
7453 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7454
7455 * scripts/bench.pl: Append volatile keyword to type.
7456
7457 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7458
7459 * sysdeps/sh/sotruss-lib.c: New file.
7460 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7461
7462 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7463
7464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7465
7466 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7467
7468 [BZ #6810]
7469 * math/w_tgamma.c: Include <errno.h>.
7470 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7471 * math/w_tgammaf.c: Include <errno.h>.
7472 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7473 * math/w_tgammal.c: Include <errno.h>.
7474 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7475 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7476 underflow. Add more tgamma tests.
7477 * math/auto-libm-test-out: Regenerated.
7478 * sysdeps/i386/fpu/libm-test-ulps: Update.
7479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7480
7481 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7482 sin, sinh, tan, tanh, tgamma, y0 and y1.
7483 * math/auto-libm-test-out: Regenerated.
7484 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7485 (TEST_COND_x86): Likewise.
7486 (M_E2l): Remove macro.
7487 (M_E3l): Likewise.
7488 (M_2_SQRT_PIl): Likewise.
7489 (M_SQRT_PIl): Likewise.
7490 (M_1_DIV_El): Likewise.
7491 (log_test_data): Use AUTO_TESTS_f_f.
7492 (log10_test_data): Likewise.
7493 (log1p_test_data): Likewise.
7494 (log2_test_data): Likewise.
7495 (sin_test_data): Likewise.
7496 (sin_tonearest_test_data): Likewise.
7497 (sin_towardzero_test_data): Likewise.
7498 (sin_downward_test_data): Likewise.
7499 (sin_upward_test_data): Likewise.
7500 (sinh_test_data): Likewise.
7501 (sinh_tonearest_test_data): Likewise.
7502 (sinh_towardzero_test_data): Likewise.
7503 (sinh_downward_test_data): Likewise.
7504 (sinh_upward_test_data): Likewise.
7505 (tan_test_data): Likewise.
7506 (tan_tonearest_test_data): Likewise.
7507 (tan_towardzero_test_data): Likewise.
7508 (tan_downward_test_data): Likewise.
7509 (tan_upward_test_data): Likewise.
7510 (tanh_test_data): Likewise.
7511 (tgamma_test_data): Likewise.
7512 (y0_test_data): Likewise.
7513 (y1_test_data): Likewise.
7514 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7515 (special_real_inputs): Add pi/4.
7516 * sysdeps/i386/fpu/libm-test-ulps: Update.
7517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7518
7519 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7520
7521 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7522 "longjmp_target" static probes.
7523 (__longjmp): Rename to __longjmp_symbol.
7524 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7525 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7526 on which longjmp to generate.
7527 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7528 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7529 probe.
7530 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7531 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7532 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7533 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7534 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7535 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7537 __longjmp_symbol based on which __longjmp to generate.
7538 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7539 probe.
7540 (setjmp): Rename to setjmp_symbol.
7541 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7542 (_setjmp): Rename to _setjmp_symbol.
7543 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7544 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7545 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7546 which setjmp to generate.
7547 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7548 "longjmp_target" static probes.
7549
7550 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7551
7552 * benchtests/README: Add note about output arguments.
7553 * benchtests/bench-sincos.c: Remove file.
7554 * benchtests/sincos-inputs: New file.
7555 * scripts/bench.pl: Identify output arguments and define
7556 static variables for them.
7557
7558 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7559
7560 [BZ #15941]
7561 * Makefile (INSTALL): Add install-plain.texi as the primary
7562 dependency.
7563 * manual/install-plain.texi: New file.
7564 * manual/install.texi: Include node directive only for
7565 non-plaintext output.
7566
7567 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7568
7569 * stdlib/longlong.h: Update from GCC.
7570
7571 [BZ #6807]
7572 [BZ #15901]
7573 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7574 * math/w_j0f.c (y0f): Likewise.
7575 * math/w_j0l.c (__y0l): Likewise.
7576 * math/w_j1.c (y1): Likewise.
7577 * math/w_j1f.c (y1f): Likewise.
7578 * math/w_j1l.c (__y1l): Likewise
7579 * math/w_jn.c (yn): Likewise.
7580 * math/w_jnf.c (ynf): Likewise.
7581 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7582 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7583 value for Bessel function domain errors outside _SVID_ mode.
7584 Adjust sign of return value for yn (negative integer, 0).
7585 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7586 by zero in return for negative x and set sign appropriately for
7587 negative n.
7588 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7589 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7590 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7591 expectations in error cases.
7592 (y1_test_data): Likewise.
7593 (yn_test_data): Likewise.
7594 * sysdeps/i386/fpu/libm-test-ulps: Update.
7595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7596
7597 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7598
7599 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7600 "64" to "64-v1". Add "64-v2".
7601 (abi-64-options): Rename to ...
7602 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7603 (abi-64-condition): Rename to ...
7604 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7605 (abi-64-ld-soname): Rename to ...
7606 (abi-64-v1-ld-soname): ... this.
7607 (abi-64-v2-options): Define.
7608 (abi-64-v2-condition): Likewise.
7609 (abi-64-v2-ld-soname): Likewise.
7610 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7611 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7615
7616 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7617 Alan Modra <amodra@gmail.com>
7618
7619 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7620 New versions for use with the ELFv2 ABI.
7621 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7622 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7623 declaration.
7624 (struct La_ppc64v2_retval): Likewise.
7625 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7626 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7627 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7628 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7629 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7630 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7631 Do not save or restore CR.
7632 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7633 (_dl_profile_resolve): Do no save or restore CR. Support extended
7634 return values for ELFv2 ABI. Fix location of FPR return registers.
7635 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7636 updated values for _CALL_ELF == 2.
7637 (La_regs, La_retval, int_retval): Likewise.
7638
7639 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7640
7641 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7642 (FRAME_MIN_SIZE_PARM): Likewise.
7643 (FRAME_BACKCHAIN): Likewise.
7644 (FRAME_CR_SAVE): Likewise.
7645 (FRAME_LR_SAVE): Likewise.
7646 (FRAME_TOC_SAVE): Likewise.
7647 (FRAME_PARM_SAVE): Likewise.
7648 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7649 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7650 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7651 (call_mcount_parm_offset): New macro.
7652 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7653 (PROF): Use symbolic stack frame offsets.
7654 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7655 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7656 Redefine in terms of FRAME_MIN_SIZE.
7657 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7658 (_dl_profile_resolve): Likewise. Update comment.
7659 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7660 symbols stack frame offsets.
7661 (__sigsetjmp): Likewise.
7662 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7663 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7664 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7665 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7666
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7668 (FRAME_BACKCHAIN): Remove.
7669 (FRAME_CR_SAVE): Likewise.
7670 (FRAME_LR_SAVE): Likewise.
7671 (FRAME_COMPILER_DW): Likewise.
7672 (FRAME_LINKER_DW): Likewise.
7673 (FRAME_TOC_SAVE): Likewise.
7674 (FRAME_PARM_SAVE): Likewise.
7675 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7676 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7677 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7679 (CHECK_SP): Use symbolic stack frame offsets.
7680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7681 zone" instead of caller's parameter save area for temp storage.
7682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7683 Likewise. Also, use symbolic stack frame offsets.
7684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7685 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7686 our own stack frame instead of the caller's.
7687 (__socket): Use symbolic stack frame offsets.
7688
7689 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7690 Alan Modra <amodra@gmail.com>
7691
7692 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7693 Define.
7694 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7695 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7696 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7697 New function.
7698 (elf_machine_fixup_plt): Call it.
7699 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7700 reloc arguments.
7701 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7702 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7703 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7704 r2 before calling target.
7705
7706 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7707 Alan Modra <amodra@gmail.com>
7708
7709 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7710 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7711 versions of macros to support ELFv2 ABI.
7712 (LOCALENTRY): New macro.
7713 (ENTRY, EALIGN): Use it.
7714 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7715 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7716 fall through into ENTRY entry point.
7717 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7718 Only define if _CALL_ELF != 2.
7719
7720 (elf_machine_matches_host): Verify ABI version matches.
7721 (RTLD_START): Use LOCALENTRY.
7722 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7723 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7724 (PLT_ENTRY_WORDS): New macro.
7725 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7726 (elf_machine_runtime_setup): Support ELFv2 ABI.
7727 (elf_machine_fixup_plt): Likewise.
7728 (elf_machine_plt_conflict): Likewise.
7729 (resolve_ifunc): Likewise.
7730 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7731 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7732 Likewise.
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7734 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7736 (makecontext): Support ELFv2 ABI.
7737 * elf/elf.h (EF_PPC64_ABI): Define.
7738
7739 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7740
7741 * sysdeps/powerpc/powerpc64/sysdep.h
7742 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7743 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7744 (ENTRY) [ASSEMBLER]: ... but instead here ...
7745 (EALIGN) [ASSEMBLER]: ... and here.
7746 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7747 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7748 (ENTRY_2) [!ASSEMBLER]: Use it.
7749 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7750 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7751 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7752 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7753 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7755 Use PPC64_LOAD_FUNCPTR.
7756
7757 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7758
7759 2013-12-04 Alan Modra <amodra@gmail.com>
7760
7761 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7762 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7763 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7764 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7765
7766 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7767 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7768 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7769 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7770 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7771 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7772
7773 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7774
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7776 (__makecontext): Fix incorrect CFI when backtracing out of
7777 context created via makecontext.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7779 (__setcontext): Fix incorrect CFI during switch to new context.
7780 (__novec_setcontext): Likewise.
7781
7782 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7783
7784 [BZ #4772]
7785 * time/strptime_l.c (__strptime_internal): Allow modifiers
7786 in strptime.
7787 * time/tst-strptime.c (day_tests): Add testcase.
7788
7789 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7790
7791 * scripts/bench.pl: Skip over blank lines.
7792
7793 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7794
7795 [BZ #926]
7796 * manual/time.texi (Calendar Time): Clarify what timezone functions
7797 use.
7798
7799 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7800
7801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7802
7803 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7804
7805 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7806 implementation.
7807 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7808 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7809 * debug/memset_chk.c (__memset_chk): Likewise.
7810 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7811 * debug/strncpy_chk.c: Likewise.
7812
7813 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7814
7815 [BZ #15268]
7816 [BZ #15425]
7817 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7818 (__ieee754_exp): For possibly underflowing results, check size of
7819 result and force underflow exception if required.
7820 * math/auto-libm-test-in: Add more tests of exp.
7821 * math/auto-libm-test-out: Regenerated.
7822 * sysdeps/i386/fpu/libm-test-ulps: Update.
7823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7824
7825 [BZ #16283]
7826 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7827 * math/w_exp2f.c (__exp2f): Likewise.
7828 * math/w_exp2l.c (__exp2l): Likewise.
7829 * math/auto-libm-test-in: Do not allow missing errno on exp2
7830 underflow.
7831 * math/auto-libm-test-out: Regenerated.
7832
7833 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7834
7835 [BZ #16274]
7836 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7837 handle filename validation.
7838 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7839 (do_open): Delete.
7840
7841 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7842
7843 [BZ #6786]
7844 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7845 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7846 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7847 <float.h>.
7848 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7849 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7850 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7851 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7852 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7853 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7854 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7855 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7856 Add more erfc tests.
7857 * math/auto-libm-test-out: Regenerated.
7858 * sysdeps/i386/fpu/libm-test-ulps: Update.
7859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7860
7861 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7862 exp2, expm1, j0 and j1.
7863 * math/auto-libm-test-out: Regenerated.
7864 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7865 (erfc_test_data): Likewise.
7866 (exp_test_data): Likewise.
7867 (exp_tonearest_test_data): Likewise.
7868 (exp_towardzero_test_data): Likewise.
7869 (exp_downward_test_data): Likewise.
7870 (exp_upward_test_data): Likewise.
7871 (exp10_test_data): Likewise.
7872 (exp2_test_data): Likewise.
7873 (expm1_test_data): Likewise.
7874 (j0_test_data): Likewise.
7875 (j1_test_data): Likewise.
7876 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7877 (input_flag_type): Add flag_xfail_rounding.
7878 (input_flags): Add xfail-rounding.
7879 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7880 (output_for_one_input_case): Handle flag_xfail_rounding.
7881 * sysdeps/i386/fpu/libm-test-ulps: Update.
7882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7883
7884 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7885
7886 [BZ #16289]
7887 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7888 division by 0.
7889
7890 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7891
7892 [BZ #16195]
7893 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7894 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7895 (STAP_PROBE0): New macro.
7896 (STAP_PROBE1): Likewise.
7897 (STAP_PROBE2): Likewise.
7898 (STAP_PROBE3): Likewise.
7899 (STAP_PROBE4): Likewise.
7900
7901 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7902
7903 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7904
7905 2013-12-02 Steve Ellcey <sellcey@mips.com>
7906
7907 * benchtests/Makefile (bench): Add sqrt.
7908 (LDLIBS-bench-sqrt): New.
7909 * benchtests/sqrt-input: New.
7910
7911 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7912
7913 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7914 (GAIH_EAI): Likewise.
7915 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7916 (gaih_inet): Likewise.
7917 (getaddrinfo): Don't use GAIH_EAI.
7918
7919 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7920 (struct gaih): Remove definition.
7921
7922 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7923
7924 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7925 Use HERRNOP directly.
7926
7927 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7928
7929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7930
7931 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7932
7933 * math/gen-auto-libm-tests.c (test_functions): Add more
7934 single-argument functions.
7935 (special_fill_pi_2): New function.
7936 (special_fill_minus_pi_2): Likewise.
7937 (special_fill_pi_6): Likewise.
7938 (special_fill_minus_pi_6): Likewise.
7939 (special_fill_pi_3): Likewise.
7940 (special_fill_2pi_3): Likewise.
7941 (special_fill_e): Likewise.
7942 (special_fill_1_e): Likewise.
7943 (special_fill_e_minus_1): Likewise.
7944 (special_real_inputs): Add more special inputs.
7945 (output_for_one_input_case): Do not require ERANGE on underflow to
7946 zero if round-to-nearest result does not underflow to zero, unless
7947 exact results required.
7948 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7949 atan, atanh, cbrt, cos and cosh.
7950 * math/auto-libm-test-out: Regenerated.
7951 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7952 (acos_tonearest_test_data): Likewise.
7953 (acos_towardzero_test_data): Likewise.
7954 (acos_downward_test_data): Likewise.
7955 (acos_upward_test_data): Likewise.
7956 (acosh_test_data): Likewise.
7957 (asin_test_data): Likewise.
7958 (asin_tonearest_test_data): Likewise.
7959 (asin_towardzero_test_data): Likewise.
7960 (asin_upward_test_data): Likewise.
7961 (asinh_test_data): Likewise.
7962 (atan_test_data): Likewise.
7963 (atanh_test_data): Likewise.
7964 (cbrt_test_data): Likewise.
7965 (cos_test_data): Likewise.
7966 (cos_tonearest_test_data): Likewise.
7967 (cos_towardzero_test_data): Likewise.
7968 (cos_downward_test_data): Likewise.
7969 (cos_upward_test_data): Likewise.
7970 (cosh_test_data): Likewise.
7971 (cosh_tonearest_test_data): Likewise.
7972 (cosh_towardzero_test_data): Likewise.
7973 (cosh_downward_test_data): Likewise.
7974 (cosh_upward_test_data): Likewise.
7975 * sysdeps/i386/fpu/libm-test-ulps: Update.
7976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7977
7978 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7979
7980 [BZ #6787]
7981 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7982 * math/w_exp10f.c (__exp10f): Likewise.
7983 * math/w_exp10l.c (__exp10l): Likewise.
7984 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7985 errno settings in existing tests.
7986
7987 [BZ #14032]
7988 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7989 precision control set to double precision.
7990 * sysdeps/i386/fpu/w_sqrt.c: New file.
7991 * math/auto-libm-test-in: Add more tests.
7992 * math/auto-libm-test-out: Update.
7993
7994 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7995 (sqrt_test_tonearest): New function.
7996 (sqrt_towardzero_test_data): New variable.
7997 (sqrt_test_towardzero): New function.
7998 (sqrt_downward_test_data): New variable.
7999 (sqrt_test_downward): New function.
8000 (sqrt_upward_test_data): New variable.
8001 (sqrt_test_upward): New function.
8002 (main): Call the new functions.
8003
8004 * math/gen-auto-libm-tests.c: New file.
8005 * math/auto-libm-test-in: Likewise.
8006 * math/auto-libm-test-out: New generated file.
8007 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8008 variables.
8009 (%beautify): Add generated representations of zero.
8010 (top level): Set $auto_input and call parse_auto_input.
8011 (beautify): Remove trailing "f" from hex float constants.
8012 (parse_args): Handle XFAIL_TEST.
8013 (convert_condition): New function.
8014 (or_value): Likewise.
8015 (or_cond_value): Likewise.
8016 (generate_testfile): Handle AUTO_TESTS_* lines.
8017 (parse_auto_input): New function.
8018 * math/libm-test.inc (XFAIL_TEST): New macro.
8019 (ERRNO_UNCHANGED): Update value.
8020 (ERRNO_EDOM): Likewise.
8021 (ERRNO_ERANGE): Likewise.
8022 (IGNORE_RESULT): Likewise.
8023 (TEST_COND_flt_32): New macro.
8024 (TEST_COND_dbl_64): Likewise.
8025 (TEST_COND_ldbl_96_intel): Likewise.
8026 (TEST_COND_ldbl_96_m68k): Likewise.
8027 (TEST_COND_ldbl_128): Likewise.
8028 (TEST_COND_ldbl_128ibm): Likewise.
8029 (TEST_COND_long32): Likewise.
8030 (TEST_COND_long64): Likewise.
8031 (TEST_COND_before_rounding): Likewise.
8032 (TEST_COND_after_rounding): Likewise.
8033 (enable_test): Handle XFAIL_TEST flag.
8034 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8035 with finite results.
8036 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8037 auto-libm-test-out.
8038
8039 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8040 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8041
8042 [BZ #16214]
8043 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8044 __tls_get_addr_internal instead of __tls_get_offset in order to
8045 avoid GOT pointer dependency. Make rtld export
8046 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8047 __tls_get_addr since we are a __tls_get_offset platform.
8048 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8049 GOT pointer being set up before.
8050 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8051
8052 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8053
8054 * manual/math.texi (Errors in Math Functions): Document accuracy
8055 goals.
8056
8057 [BZ #15004]
8058 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8059 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8060 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8061 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8062 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8063 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8064 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8065 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8066 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8067 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8068 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8069 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8070 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8071 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8072 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8073 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8074
8075 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8076 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8077 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8078 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8079 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8080 Likewise.
8081 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8082 Likewise.
8083 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8084 Likewise.
8085 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8086 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8087 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8088 atomic-feupdateenv and flt-rounds.
8089 * sysdeps/powerpc/nofpu/Versions (libc): Add
8090 __atomic_feholdexcept, __atomic_feclearexcept,
8091 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8092 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8093 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8094 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8095 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8096 here.
8097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8098 Update.
8099
8100 * manual/arith.texi (FP Exceptions): Document that exceptions may
8101 not be raised when matherr is used.
8102 (Math Error Reporting): Document overflow in directed rounding
8103 modes. Document that errno may not be set when finite values are
8104 returned on overflow. Document intent to set errno on underflow
8105 only for underflow to zero.
8106
8107 [BZ #16271]
8108 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8109 round-to-nearest then adjust result for other rounding modes.
8110 * include/fenv.h (fegetround): Use libm_hidden_proto.
8111 * math/fegetround.c (fegetround): Use libm_hidden_def.
8112 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8113 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8114 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8115 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8116 Likewise.
8117 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8118 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8119 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8120 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8121
8122 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8123
8124 [BZ #16077]
8125 * nss/Versions (libnss_files): Add
8126 _nss_files_gethostbyname3_r.
8127 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8128 New function.
8129 (HOST_DB_LOOKUP): Remove macro.
8130 (_nss_files_gethostbyname_r): Implement function without the
8131 HOST_DB_LOOKUP macro.
8132 (_nss_files_gethostbyname2_r): Likewise.
8133
8134 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
8135
8136 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8137
8138 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
8139
8140 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8141 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8142 warning.
8143
8144 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8145
8146 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8147 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8148 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8149 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8150 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8151 __fe_nomask_env_priv and attribute_hidden.
8152 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8153 (libc_feupdateenv_test_ppc): Likewise.
8154 (libc_feresetround_ppc): Likewise.
8155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8156 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8157 compat_symbol macro.
8158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8159 (__fe_nomask_env): Likewise.
8160 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8161
8162 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8163
8164 * string/Makefile: Remove ifunc tests.
8165 * string/test-string.h: Define TEST_IFUNC.
8166 * string/test-bcopy-ifunc.c: Remove.
8167 * string/test-bzero-ifunc.c: Likewise.
8168 * string/test-memccpy-ifunc.c: Likewise.
8169 * string/test-memchr-ifunc.c: Likewise.
8170 * string/test-memcmp-ifunc.c: Likewise.
8171 * string/test-memcpy-ifunc.c: Likewise.
8172 * string/test-memmem-ifunc.c: Likewise.
8173 * string/test-memmove-ifunc.c: Likewise.
8174 * string/test-mempcpy-ifunc.c: Likewise.
8175 * string/test-memrchr-ifunc.c: Likewise.
8176 * string/test-memset-ifunc.c: Likewise.
8177 * string/test-rawmemchr-ifunc.c: Likewise.
8178 * string/test-stpcpy-ifunc.c: Likewise.
8179 * string/test-stpncpy-ifunc.c: Likewise.
8180 * string/test-strcasecmp-ifunc.c: Likewise.
8181 * string/test-strcasestr-ifunc.c: Likewise.
8182 * string/test-strcat-ifunc.c: Likewise.
8183 * string/test-strchr-ifunc.c: Likewise.
8184 * string/test-strchrnul-ifunc.c: Likewise.
8185 * string/test-strcmp-ifunc.c: Likewise.
8186 * string/test-strcpy-ifunc.c: Likewise.
8187 * string/test-strcspn-ifunc.c: Likewise.
8188 * string/test-strlen-ifunc.c: Likewise.
8189 * string/test-strncasecmp-ifunc.c: Likewise.
8190 * string/test-strncat-ifunc.c: Likewise.
8191 * string/test-strncmp-ifunc.c: Likewise.
8192 * string/test-strncpy-ifunc.c: Likewise.
8193 * string/test-strnlen-ifunc.c: Likewise.
8194 * string/test-strpbrk-ifunc.c: Likewise.
8195 * string/test-strrchr-ifunc.c: Likewise.
8196 * string/test-strspn-ifunc.c: Likewise.
8197 * string/test-strstr-ifunc.c: Likewise.
8198
8199 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8200
8201 * benchtests/Makefile: Remove ifunc tests.
8202 * benchtests/bench-string.h: Define TEST_IFUNC.
8203 * benchtests/bench-bcopy-ifunc.c: Remove.
8204 * benchtests/bench-bzero-ifunc.c: Likewise.
8205 * benchtests/bench-memccpy-ifunc.c: Likewise.
8206 * benchtests/bench-memchr-ifunc.c: Likewise.
8207 * benchtests/bench-memcmp-ifunc.c: Likewise.
8208 * benchtests/bench-memcpy-ifunc.c: Likewise.
8209 * benchtests/bench-memmem-ifunc.c: Likewise.
8210 * benchtests/bench-memmove-ifunc.c: Likewise.
8211 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8212 * benchtests/bench-memrchr-ifunc.c: Likewise.
8213 * benchtests/bench-memset-ifunc.c: Likewise.
8214 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8215 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8216 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8217 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8218 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8219 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8220 * benchtests/bench-strcat-ifunc.c: Likewise.
8221 * benchtests/bench-strchr-ifunc.c: Likewise.
8222 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8223 * benchtests/bench-strcmp-ifunc.c: Likewise.
8224 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8225 * benchtests/bench-strcpy-ifunc.c: Likewise.
8226 * benchtests/bench-strcspn-ifunc.c: Likewise.
8227 * benchtests/bench-strlen-ifunc.c: Likewise.
8228 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8229 * benchtests/bench-strncat-ifunc.c: Likewise.
8230 * benchtests/bench-strncmp-ifunc.c: Likewise.
8231 * benchtests/bench-strncpy-ifunc.c: Likewise.
8232 * benchtests/bench-strnlen-ifunc.c: Likewise.
8233 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8234 * benchtests/bench-strrchr-ifunc.c: Likewise.
8235 * benchtests/bench-strsep-ifunc.c: Likewise.
8236 * benchtests/bench-strspn-ifunc.c: Likewise.
8237 * benchtests/bench-strstr-ifunc.c: Likewise.
8238
8239 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8240
8241 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8242
8243 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8244
8245 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8246 * rt/aio.h: Likewise.
8247 * sysdeps/gnu/bits/utmp.h: Likewise.
8248 * sysdeps/gnu/bits/utmpx.h: Likewise.
8249 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8250 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8251 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8252 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8253 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8254 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8255 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8256 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8257 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8258 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8259 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8260 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8261 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8263 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8264 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8265 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8266 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8267 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8268 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8269 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8270 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8271 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8272 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8273 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8275 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8276 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8277 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8278 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8279 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8280 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8281 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8282 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8283 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8284 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8285 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8286 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8287 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8288 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8289 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8290 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8291
8292 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8293
8294 [BZ #16245]
8295 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8296 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8297
8298 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8299
8300 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8301 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8302 Likewise.
8303
8304 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8305
8306 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8307 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8308 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8309 (__fesetround): Remove define.
8310 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8311 rounding and exceptions handling.
8312 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8313 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8314 (__fe_nomask_env): Likewise.
8315 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8316 __fegetround instead of fegetround.
8317 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8318 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8319
8320 2013-11-21 Roland McGrath <roland@hack.frob.com>
8321
8322 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8323 it's there.
8324
8325 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8326
8327 2013-11-21 Meador Inge <meadori@codesourcery.com>
8328
8329 [BZ #11157]
8330 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8331 (encrypt_r): Likewise.
8332 * malloc/obstack.h (obstack_free): Likewise.
8333 * posix/unistd.h (encrypt): Likewise.
8334
8335 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8336
8337 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8338 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8339 DL_CALL_DT_FINI() that call the functions directly.
8340 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8341 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8342 * elf/dl-fini.c: Likewise.
8343
8344 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8345
8346 * malloc/hooks.c (memalign_check): Add alignment rounding.
8347 * malloc/malloc.c (_mid_memalign): New function.
8348 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8349 Implement by calling _mid_memalign.
8350 * manual/probes.texi (Memory Allocation Probes): Remove
8351 memory_valloc_retry and memory_pvalloc_retry.
8352
8353 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8354
8355 * locale/programs/locarchive.c (open_archive): Add const
8356 qualifier to ARCHIVEFNAME and copy default fname to
8357 DEFAULT_FNAME.
8358
8359 [BZ #15601]
8360 * libio/tst-widetext.input: Rename Oriya to Odia.
8361 * locale/iso-639.def: Likewise.
8362
8363 * manual/probes.texi (Mathematical Function Probes): Add
8364 documentation for sin, cos, asin and acos probes.
8365 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8366 (__sin32): Add slowasin probe.
8367 (__cos32): Add slowacos probe.
8368 (__mpsin): Add slowsin probe.
8369 (__mpcos): Add slowcos probe.
8370
8371 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8372
8373 [BZ #15483]
8374 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8375 thread-local __sim_exceptions_thread and global
8376 __sim_exceptions_global.
8377 (__sim_disabled_exceptions): Change to thread-local
8378 __sim_disabled_exceptions_thread and global
8379 __sim_disabled_exceptions_global.
8380 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8381 and global __sim_round_mode_global.
8382 (__simulate_exceptions): Use thread-local floating-point state and
8383 set global state from it as needed.
8384 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8385 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8386 __sim_round_mode_thread.
8387 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8388 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8389 and global __sim_exceptions_global.
8390 (__sim_disabled_exceptions): Change to thread-local
8391 __sim_disabled_exceptions_thread and global
8392 __sim_disabled_exceptions_global.
8393 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8394 and global __sim_round_mode_global.
8395 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8396 (SIM_SET_GLOBAL): Likewise.
8397 * sysdeps/powerpc/soft-fp/sfp-machine.h
8398 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8399 __sim_round_mode_thread.
8400 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8401 __sim_disabled_exceptions_thread.
8402 (__sim_exceptions): Change to __sim_exceptions_thread.
8403 (__sim_disabled_exceptions): Change to
8404 __sim_disabled_exceptions_thread.
8405 (__sim_round_mode): Change to __sim_round_mode_thread.
8406 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8407 thread-local floating-point state and set global state from it as
8408 needed.
8409 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8410 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8411 (__sim_disabled_exceptions): Remove extern declaration.
8412 (feenableexcept): Use thread-local floating-point state and set
8413 global state from it as needed.
8414 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8415 extern declaration.
8416 (__sim_disabled_exceptions): Likewise.
8417 (__sim_round_mode): Likewise.
8418 (__fegetenv): Use thread-local floating-point state.
8419 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8420 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8421 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8422 floating-point state and set global state from it as needed.
8423 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8424 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8425 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8426 Likewise.
8427 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8428 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8429 Likewise.
8430 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8431 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8432 Use __sim_round_mode_thread.
8433 * math/test-fenv-tls.c: New file.
8434 * math/Makefile (tests): Add test-fenv-tls.
8435 ($(objpfx)test-fenv-tls): Depend on
8436 $(common-objpfx)nptl/libpthread.so.
8437
8438 2013-11-19 Andreas Schwab <schwab@suse.de>
8439
8440 * locale/programs/locale.c (show_info): Decode wordarray elements.
8441 * locale/categories.def (LC_MONETARY): Add element for
8442 _NL_MONETARY_CRNCYSTR.
8443 * locale/C-monetary.c (conversion_rate): New variable.
8444 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8445 element.
8446
8447 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8448
8449 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8450 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8451
8452 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8453
8454 * elf/Makefile (tst-auxv): New test.
8455 * elf/tst-auxv.c: New
8456 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8457
8458 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8459
8460 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8461 (hidden_proto): Caller changed.
8462 (hidden_tls_proto): New macro.
8463 (libc_hidden_tls_proto): Likewise.
8464 (rtld_hidden_tls_proto): Likewise.
8465 (libm_hidden_tls_proto): Likewise.
8466 (libresolv_hidden_tls_proto): Likewise.
8467 (librt_hidden_tls_proto): Likewise.
8468 (libdl_hidden_tls_proto): Likewise.
8469 (libnss_files_hidden_tls_proto): Likewise.
8470 (libnsl_hidden_tls_proto): Likewise.
8471 (libnss_nisplus_hidden_tls_proto): Likewise.
8472 (libutil_hidden_tls_proto): Likewise.
8473
8474 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8475
8476 [BZ #10253]
8477 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8478 (decompose_rpath): Defer expansion to fillin_rpath.
8479 (_dl_init_paths): Pass linkmap to fillin_rpath.
8480
8481 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8482
8483 * benchtests/Makefile: Add strsep.
8484 * benchtests/bench-strsep.c: New file: strsep benchtest.
8485 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8486
8487 2013-11-18 Andreas Schwab <schwab@suse.de>
8488
8489 * locale/programs/locale.c (show_info) [case byte]: Check for
8490 '\377' instead of '\177'.
8491 * locale/C-monetary.c (not_available): Always use "\377".
8492 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8493 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8494 detect unavailable sign_posn locale elements.
8495 * locale/localeconv.c (__localeconv): For grouping and
8496 mon_grouping handle "\177" and "\377" like no grouping.
8497 (INT_ELEM): New macro. Use it to set all numeric members.
8498 * locale/programs/ld-monetary.c (monetary_read)
8499 <tok_mon_grouping>: Normalize single -1 to the empty string.
8500 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8501 Likewise.
8502
8503 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8504
8505 [BZ #16055]
8506 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8507 when we match (nil).
8508 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8509
8510 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8511
8512 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8513 (NO_TEST_INLINE): Update value.
8514 (ERRNO_UNCHANGED): Likewise.
8515 (ERRNO_EDOM): Likewise.
8516 (ERRNO_ERANGE): Likewise.
8517 (IGNORE_RESULT): Likewise.
8518 (check_float_internal): Check signs of NaN results if
8519 TEST_NAN_SIGN used.
8520 (check_complex): Pass TEST_NAN_SIGN flag through to second
8521 check_float_internal call.
8522 (copysign_test_data): Add tests with quiet NaNs as second
8523 argument. Use TEST_NAN_SIGN.
8524 (fabs_test_data): Add test of negative quiet NaN argument. Use
8525 TEST_NAN_SIGN.
8526 (signbit_test_data): Add tests of quiet NaN argument.
8527 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8528
8529 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8530 $ignore_result.
8531 (parse_args): Handle function results specified as IGNORE.
8532 * math/libm-test.inc (IGNORE_RESULT): New macro.
8533 (check_float_internal): Do not check numerical result if flag
8534 IGNORE_RESULT set.
8535 (check_complex): Pass through IGNORE_RESULT to second
8536 check_float_internal call.
8537 (check_int): Do not check numerical result if flag IGNORE_RESULT
8538 set.
8539 (check_long): Likewise.
8540 (check_bool): Likewise.
8541 (check_longlong): Likewise.
8542 (lrint_test_data): Add tests of infinite and NaN arguments.
8543 (lrint_tonearest_test_data): Likewise.
8544 (lrint_towardzero_test_data): Likewise.
8545 (lrint_downward_test_data): Likewise.
8546 (lrint_upward_test_data): Likewise.
8547 (llrint_test_data): Likewise.
8548 (llrint_tonearest_test_data): Likewise.
8549 (llrint_towardzero_test_data): Likewise.
8550 (llrint_downward_test_data): Likewise.
8551 (llrint_upward_test_data): Likewise.
8552 (lround_test_data): Likewise.
8553 (llround_test_data): Likewise.
8554
8555 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8556 (ERRNO_UNCHANGED): Update value.
8557 (ERRNO_EDOM): Likewise.
8558 (ERRNO_ERANGE): Likewise.
8559 (NO_TEST_INLINE_FLOAT): New macro.
8560 (NO_TEST_INLINE_DOUBLE): Likewise.
8561 (enable_test): New function.
8562 (RUN_TEST_f_f): Check enable_test before running test.
8563 (RUN_TEST_2_f): Likewise.
8564 (RUN_TEST_fff_f): Likewise.
8565 (RUN_TEST_c_f): Likewise.
8566 (RUN_TEST_f_f1): Likewise.
8567 (RUN_TEST_fF_f1): Likewise.
8568 (RUN_TEST_fI_f1): Likewise.
8569 (RUN_TEST_ffI_f1): Likewise.
8570 (RUN_TEST_c_c): Likewise.
8571 (RUN_TEST_cc_c): Likewise.
8572 (RUN_TEST_f_i): Likewise.
8573 (RUN_TEST_f_i_tg): Likewise.
8574 (RUN_TEST_ff_i_tg): Likewise.
8575 (RUN_TEST_f_b): Likewise.
8576 (RUN_TEST_f_b_tg): Likewise.
8577 (RUN_TEST_f_l): Likewise.
8578 (RUN_TEST_f_L): Likewise.
8579 (RUN_TEST_fFF_11): Likewise.
8580 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8581 conditionals.
8582 (cosh_test_data): Likewise.
8583 (exp_test_data): Likewise.
8584 (expm1_test_data): Likewise.
8585 (hypot_test_data): Likewise.
8586 (pow_test_data): Likewise.
8587 (sinh_test_data): Likewise.
8588 (tanh_test_data): Likewise.
8589 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8590 flags argument.
8591
8592 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8593 tests with quiet NaN input and output.
8594 (acosh_test_data): Likewise.
8595 (asin_test_data): Likewise.
8596 (asinh_test_data): Likewise.
8597 (atan_test_data): Likewise.
8598 (atanh_test_data): Likewise.
8599 (atan2_test_data): Likewise.
8600 (cbrt_test_data): Likewise.
8601 (cos_test_data): Likewise.
8602 (cosh_test_data): Likewise.
8603 (erf_test_data): Likewise.
8604 (erfc_test_data): Likewise.
8605 (exp_test_data): Likewise.
8606 (exp10_test_data): Likewise.
8607 (exp2_test_data): Likewise.
8608 (expm1_test_data): Likewise.
8609 (hypot_test_data): Likewise.
8610 (j0_test_data): Likewise.
8611 (j1_test_data): Likewise.
8612 (jn_test_data): Likewise.
8613 (lgamma_test_data): Likewise.
8614 (log_test_data): Likewise.
8615 (log10_test_data): Likewise.
8616 (log1p_test_data): Likewise.
8617 (log2_test_data): Likewise.
8618 (pow_test_data): Likewise.
8619 (scalb_test_data): Likewise.
8620 (sin_test_data): Likewise.
8621 (sincos_test_data): Likewise.
8622 (sinh_test_data): Likewise.
8623 (tan_test_data): Likewise.
8624 (tanh_test_data): Likewise.
8625 (tgamma_test_data): Likewise.
8626 (y0_test_data): Likewise.
8627 (y1_test_data): Likewise.
8628 (yn_test_data): Likewise.
8629
8630 [BZ #16167]
8631 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8632 argument being NaN and avoid computations with second argument in
8633 that case.
8634 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8635 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8636 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8637
8638 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8639
8640 * locale/iso-639.def: Add Chitwani Tharu (the).
8641
8642 2013-11-14 Andreas Schwab <schwab@suse.de>
8643
8644 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8645 word instead of empty string.
8646
8647 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8648
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8650 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8652 (__fe_nomask_env): Likewise.
8653
8654 2013-11-13 Steve Ellcey <sellcey@mips.com>
8655
8656 * benchtests/bench-timing.h: Include time.h.
8657
8658 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8659
8660 [BZ #15997]
8661 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8662 to 3.4.0 for x32.
8663 * sysdeps/unix/sysv/linux/configure: Regenerated.
8664
8665 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8666
8667 [BZ #16151]
8668 * stdlib/strtod_l.c (round_and_return): Do not consider
8669 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8670 exponent one less than half the least subnormal exponent.
8671 * stdlib/test-strtod-round-data: Add more tests.
8672 * stdlib/tst-strtod-round.c (tests): Regenerated.
8673
8674 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8675
8676 [BZ #14143]
8677 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8678 (__fe_mask_env): Likewise.
8679 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8680 libm_hidden_proto and add function prototype.
8681 (__fe_mask_env): Add function prototype.
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8683 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8685 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8687 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8688
8689 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8690
8691 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8692 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8693
8694 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8695
8696 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8697 of htab_find_slot().
8698
8699 2013-11-11 David S. Miller <davem@davemloft.net>
8700
8701 [BZ #16150]
8702 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8703 symbol in the non-vis3 case in static builds.
8704 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8705 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8706 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8707 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8708
8709 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8710
8711 [BZ #387]
8712 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8713 it is empty.
8714
8715 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8716
8717 * benchtests/Makefile: Add bench-strtod.
8718 * benchtests/bench-strtod.c: New file: strtod benchtest
8719
8720 2013-11-11 Andreas Schwab <schwab@suse.de>
8721
8722 [BZ #16153]
8723 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8724 terminating NUL in key length.
8725
8726 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8727
8728 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8729 Add artificial ODP entry for vDSO symbol for PPC64.
8730 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8731 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8732
8733 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8734
8735 [BZ #15374]
8736 * nss/getent.c (services_keys): Recognize services starting with digit.
8737
8738 2013-11-06 David S. Miller <davem@davemloft.net>
8739
8740 [BZ #15985]
8741 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8742 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8743
8744 2013-11-06 Will Newton <will.newton@linaro.org>
8745
8746 * manual/memory.texi (Malloc Examples): Remove register
8747 keyword from examples.
8748
8749 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8750
8751 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8752
8753 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8754
8755 [BZ #6981]
8756 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8757 depending on [__GCC_IEC_559 > 0].
8758 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8759 depending on [__GCC_IEC_559_COMPLEX > 0].
8760
8761 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8762
8763 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8764 to iso-639.def.
8765
8766 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8767
8768 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8769
8770 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8771
8772 [BZ #16112]
8773 * malloc/malloc (malloc_info): Do not handle first bin as
8774 special case.
8775
8776 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8777
8778 * locale/iso-639.def: Add Central Nahuatl (nhn).
8779
8780 2013-11-01 Bruno Haible <bruno@clisp.org>
8781
8782 [BZ #7003]
8783 * manual/math.texi (BSD Random): Specify range upper bound as
8784 in POSIX.
8785
8786 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8787
8788 * locale/iso-639.def: Add Meadow Mari (mhr).
8789
8790 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8791
8792 [BZ #14752], [BZ #15763]
8793 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8794 Validate name.
8795 * rt/tst_shm.c: Add test for escaping directory.
8796
8797 2013-10-31 Andreas Schwab <schwab@suse.de>
8798
8799 [BZ #15917]
8800 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8801 followed by 'x' as part of digit sequence.
8802 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8803
8804 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8805
8806 [BZ #16037]
8807 * configure.ac: allow GNU Make 4.0 and greater.
8808 * configure: Regenerated.
8809
8810 2013-10-30 Will Newton <will.newton@linaro.org>
8811
8812 [BZ #16038]
8813 * malloc/hooks.c (memalign_check): Limit alignment to the
8814 maximum representable power of two.
8815 * malloc/malloc.c (__libc_memalign): Likewise.
8816 * malloc/tst-memalign.c (do_test): Add test for very
8817 large alignment values.
8818 * malloc/tst-posix_memalign.c (do_test): Likewise.
8819
8820 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8821
8822 [BZ #11087]
8823 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8824 (munmap_chunk): Likewise.
8825 (mremap_chunk): Likewise.
8826
8827 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8828
8829 [BZ #15799]
8830 * stdlib/div.c (div): Remove obsolete code.
8831 * stdlib/ldiv.c (ldiv): Likewise.
8832 * stdlib/lldiv.c (lldiv): Likewise.
8833
8834 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8835
8836 [BZ #16071]
8837 * nss/nss_files/files-XXX.c (get_contents_ret): New
8838 enumerator.
8839 (get_contents): New function.
8840 (internal_getent): Use it. Expand size of LINEBUFLEN.
8841
8842 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8843
8844 * configure.in: Moved to ...
8845 * configure.ac: ... here. Change reference to configure.in
8846 to configure.ac.
8847 * sysdeps/arm/preconfigure.ac: ... here.
8848 configure.in to configure.ac.
8849 * sysdeps/gnu/configure.in: Moved to ...
8850 * sysdeps/gnu/configure.ac: ... here.
8851 * sysdeps/i386/configure.in: Moved to ...
8852 * sysdeps/i386/configure.ac: ... here.
8853 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8854 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8855 * sysdeps/mach/configure.in: Moved to ...
8856 * sysdeps/mach/configure.ac: ... here.
8857 * sysdeps/mach/hurd/configure.in: Moved to ...
8858 * sysdeps/mach/hurd/configure.ac: ... here.
8859 * sysdeps/powerpc/configure.in: Moved to ...
8860 * sysdeps/powerpc/configure.ac: ... here.
8861 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8862 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8863 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8864 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8865 * sysdeps/s390/s390-32/configure.in: Moved to ...
8866 * sysdeps/s390/s390-32/configure.ac: ... here.
8867 * sysdeps/s390/s390-64/configure.in: Moved to ...
8868 * sysdeps/s390/s390-64/configure.ac: ... here.
8869 * sysdeps/sh/configure.in: Moved to ...
8870 * sysdeps/sh/configure.ac: ... here.
8871 * sysdeps/sparc/configure.in: Moved to ...
8872 * sysdeps/sparc/configure.ac: ... here.
8873 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8874 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8875 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8876 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8877 * sysdeps/x86_64/configure.in: Moved to ...
8878 * sysdeps/x86_64/configure.ac: ... here.
8879 * sysdeps/x86_64/preconfigure.in: Moved to ...
8880 * sysdeps/x86_64/preconfigure.ac: ... here.
8881 * aclocal.m4: Change reference to configure.in to configure.ac.
8882 * config.h.in: Likewise.
8883 * manual/install.texi: Likewise.
8884 * manual/maint.texi: Likewise.
8885 * Makefile: Likewise.
8886 * malloc/Makefile: Likewise.
8887 * nscd/Makefile: Likewise.
8888 * Makeconfig: Change reference to configure.in and
8889 preconfigure.in to configure.ac and preconfigure.ac
8890 respectively.
8891 * INSTALL: Regenerated.
8892 * configure: Likewise.
8893 * sysdeps/gnu/configure: Likewise.
8894 * sysdeps/i386/configure: Likewise.
8895 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8896 * sysdeps/mach/configure: Likewise.
8897 * sysdeps/mach/hurd/configure: Likewise.
8898 * sysdeps/powerpc/configure: Likewise.
8899 * sysdeps/powerpc/powerpc32/configure: Likewise.
8900 * sysdeps/powerpc/powerpc64/configure: Likewise.
8901 * sysdeps/s390/s390-32/configure: Likewise.
8902 * sysdeps/s390/s390-64/configure: Likewise.
8903 * sysdeps/sh/configure: Likewise.
8904 * sysdeps/sparc/configure: Likewise.
8905 * sysdeps/unix/sysv/linux/configure: Likewise.
8906 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8907 * sysdeps/x86_64/configure: Likewise.
8908 * sysdeps/x86_64/preconfigure: Likewise.
8909
8910 2013-10-29 Andreas Schwab <schwab@suse.de>
8911
8912 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8913
8914 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8915
8916 * benchtests/pow-inputs: Add new inputs.
8917
8918 * benchtests/exp-inputs: Add new inputs.
8919
8920 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8921 conditional check for return value.
8922 (__cos32): Likewise.
8923
8924 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8925
8926 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8927 to provide a boost for large inputs with word alignment.
8928 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8929 implementation based on optimized PPC64 strcpy.
8930 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8931 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8932 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8933 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8934
8935 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8936
8937 [BZ #2801]
8938 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8939
8940 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8941
8942 [BZ #14876]
8943 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8944 * time/tst-strptime.c (day_tests): Add testcase.
8945
8946 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8947
8948 [BZ #14029]
8949 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8950
8951 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8952
8953 [BZ #16074]
8954 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8955 MAP_FAILED on error.
8956
8957 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8958
8959 [BZ #16072]
8960 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8961 heap for large requests.
8962
8963 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8964
8965 [BZ #9954]
8966 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8967 result if the result has no associated interface.
8968 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8969 interface for all 127.X.Y.Z addresses.
8970
8971 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8972
8973 * locale/iso-639.def: Add Ligurian (lij)
8974
8975 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8976
8977 [BZ #15825]
8978 * sunrpc/rpc_main.c: Document rpcgen -5.
8979
8980 2013-10-19 Michael Stahl <mstahl@redhat.com>
8981
8982 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8983
8984 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8985
8986 [BZ #10278]
8987 * posix/glob.c: Match only directories when trailing slash is present.
8988 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8989 (main): Add testcase.
8990
8991 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8992
8993 [BZ #15670]
8994 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8995
8996 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8997
8998 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8999 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9000 AUTH_DES and cindex for FIPS 140-2.
9001 (DES Encryption): Add cindex FIPS 46-3.
9002
9003 * locale/locarchive.h (struct locarhandle): Add fname.
9004 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9005 if an optional argument was specified to --list-archive,
9006 otherwise NULL.
9007 * locale/programs/locarchive.c (show_archive_content): Take new
9008 argument fname and pass it via ah.fname to open_archive.
9009 * locale/programs/localedef.h: Update decl.
9010 (open_archive): If AH->fname is non-null, open that file
9011 rather than the default file name, and don't ignore ENOENT.
9012 (create_archive): Set AH.fname to NULL.
9013 (delete_locales_from_archive): Likewise.
9014 (add_locales_to_archive): Likewise.
9015 * locale/programs/locfile.c (write_all_categories): Likewise.
9016
9017 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9018 Aldy Hernandez <aldyh@redhat.com>
9019
9020 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9021 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9022 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9023 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9024 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9025 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9026 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9027 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9028 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9029 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9030 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9031 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9032 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9033 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9034 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9035 Likewise.
9036 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9037 Likewise.
9038 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9039 Likewise.
9040 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9041 Likewise.
9042 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9043 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9044 Likewise.
9045 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9046 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9047 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9048 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9049 Likewise.
9050 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9051 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9052 * sysdeps/powerpc/preconfigure: Likewise.
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9054 Likewise.
9055 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9056 Replace contents of file by #include of <fenv_libc.h>.
9057 * sysdeps/powerpc/soft-fp/sfp-machine.h
9058 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9059 and <sys/prctl.h>.
9060 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9061 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9062 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9063 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9064 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9065 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9067 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9068 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9069 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9070 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9071 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9073 Allow copysignl PLT reference to be missing.
9074
9075 2013-10-18 Richard Sandiford <richard@codesourcery.com>
9076 Joseph Myers <joseph@codesourcery.com
9077
9078 [BZ #15948]
9079 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9080 single character.
9081 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9082
9083 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9084
9085 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9086 * elf/tst-tls1.c: Likewise.
9087 * elf/tst-tls10.h: Likewise.
9088 * elf/tst-tls14.c: Likewise.
9089 * elf/tst-tls2.c: Likewise.
9090 * elf/tst-tls3.c: Likewise.
9091 * elf/tst-tls4.c: Likewise.
9092 * elf/tst-tls5.c: Likewise.
9093 * elf/tst-tls6.c: Likewise.
9094 * elf/tst-tls7.c: Likewise.
9095 * elf/tst-tls8.c: Likewise.
9096 * elf/tst-tls9.c: Likewise.
9097 * elf/tst-tlsmod1.c: Likewise.
9098 * elf/tst-tlsmod13.c: Likewise.
9099 * elf/tst-tlsmod13a.c: Likewise.
9100 * elf/tst-tlsmod14a.c: Likewise.
9101 * elf/tst-tlsmod16a.c: Likewise.
9102 * elf/tst-tlsmod16b.c: Likewise.
9103 * elf/tst-tlsmod2.c: Likewise.
9104 * elf/tst-tlsmod3.c: Likewise.
9105 * elf/tst-tlsmod4.c: Likewise.
9106 * elf/tst-tlsmod5.c: Likewise.
9107 * elf/tst-tlsmod6.c: Likewise.
9108
9109 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9110
9111 [BZ #12486]
9112 * malloc/malloc.c: remove checks for statistics.
9113
9114 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9115
9116 [BZ #15277]
9117 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9118 * inet/tst-network.c: Add testcase.
9119
9120 2013-10-17 Andreas Schwab <schwab@suse.de>
9121
9122 [BZ #15218]
9123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9124 to determine canonical name.
9125
9126 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9127
9128 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9129 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9130 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9152 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9153 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9158 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9177 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9178 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9180 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9182 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9185 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9186
9187 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9188
9189 [BZ #16041]
9190 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9191 make result into a quiet NaN.
9192
9193 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9194
9195 * soft-fp/adddf3.c: Fix horizontal whitespace.
9196 * soft-fp/addsf3.c: Likewise.
9197 * soft-fp/addtf3.c: Likewise.
9198 * soft-fp/divdf3.c: Likewise.
9199 * soft-fp/divsf3.c: Likewise.
9200 * soft-fp/divtf3.c: Likewise.
9201 * soft-fp/double.h: Likewise.
9202 * soft-fp/eqdf2.c: Likewise.
9203 * soft-fp/eqsf2.c: Likewise.
9204 * soft-fp/eqtf2.c: Likewise.
9205 * soft-fp/extenddftf2.c: Likewise.
9206 * soft-fp/extended.h: Likewise.
9207 * soft-fp/extendsfdf2.c: Likewise.
9208 * soft-fp/extendsftf2.c: Likewise.
9209 * soft-fp/extendxftf2.c: Likewise.
9210 * soft-fp/fixdfdi.c: Likewise.
9211 * soft-fp/fixdfsi.c: Likewise.
9212 * soft-fp/fixdfti.c: Likewise.
9213 * soft-fp/fixsfdi.c: Likewise.
9214 * soft-fp/fixsfsi.c: Likewise.
9215 * soft-fp/fixsfti.c: Likewise.
9216 * soft-fp/fixtfdi.c: Likewise.
9217 * soft-fp/fixtfsi.c: Likewise.
9218 * soft-fp/fixtfti.c: Likewise.
9219 * soft-fp/fixunsdfdi.c: Likewise.
9220 * soft-fp/fixunsdfsi.c: Likewise.
9221 * soft-fp/fixunsdfti.c: Likewise.
9222 * soft-fp/fixunssfdi.c: Likewise.
9223 * soft-fp/fixunssfsi.c: Likewise.
9224 * soft-fp/fixunssfti.c: Likewise.
9225 * soft-fp/fixunstfdi.c: Likewise.
9226 * soft-fp/fixunstfsi.c: Likewise.
9227 * soft-fp/fixunstfti.c: Likewise.
9228 * soft-fp/floatdidf.c: Likewise.
9229 * soft-fp/floatdisf.c: Likewise.
9230 * soft-fp/floatditf.c: Likewise.
9231 * soft-fp/floatsidf.c: Likewise.
9232 * soft-fp/floatsisf.c: Likewise.
9233 * soft-fp/floatsitf.c: Likewise.
9234 * soft-fp/floattidf.c: Likewise.
9235 * soft-fp/floattisf.c: Likewise.
9236 * soft-fp/floattitf.c: Likewise.
9237 * soft-fp/floatundidf.c: Likewise.
9238 * soft-fp/floatundisf.c: Likewise.
9239 * soft-fp/floatunditf.c: Likewise.
9240 * soft-fp/floatunsidf.c: Likewise.
9241 * soft-fp/floatunsisf.c: Likewise.
9242 * soft-fp/floatunsitf.c: Likewise.
9243 * soft-fp/floatuntidf.c: Likewise.
9244 * soft-fp/floatuntisf.c: Likewise.
9245 * soft-fp/floatuntitf.c: Likewise.
9246 * soft-fp/fmadf4.c: Likewise.
9247 * soft-fp/fmasf4.c: Likewise.
9248 * soft-fp/fmatf4.c: Likewise.
9249 * soft-fp/gedf2.c: Likewise.
9250 * soft-fp/gesf2.c: Likewise.
9251 * soft-fp/getf2.c: Likewise.
9252 * soft-fp/ledf2.c: Likewise.
9253 * soft-fp/lesf2.c: Likewise.
9254 * soft-fp/letf2.c: Likewise.
9255 * soft-fp/muldf3.c: Likewise.
9256 * soft-fp/mulsf3.c: Likewise.
9257 * soft-fp/multf3.c: Likewise.
9258 * soft-fp/negdf2.c: Likewise.
9259 * soft-fp/negsf2.c: Likewise.
9260 * soft-fp/negtf2.c: Likewise.
9261 * soft-fp/op-1.h: Likewise.
9262 * soft-fp/op-2.h: Likewise.
9263 * soft-fp/op-4.h: Likewise.
9264 * soft-fp/op-8.h: Likewise.
9265 * soft-fp/op-common.h: Likewise.
9266 * soft-fp/quad.h: Likewise.
9267 * soft-fp/single.h: Likewise.
9268 * soft-fp/soft-fp.h: Likewise.
9269 * soft-fp/sqrtdf2.c: Likewise.
9270 * soft-fp/sqrtsf2.c: Likewise.
9271 * soft-fp/sqrttf2.c: Likewise.
9272 * soft-fp/subdf3.c: Likewise.
9273 * soft-fp/subsf3.c: Likewise.
9274 * soft-fp/subtf3.c: Likewise.
9275 * soft-fp/truncdfsf2.c: Likewise.
9276 * soft-fp/trunctfdf2.c: Likewise.
9277 * soft-fp/trunctfsf2.c: Likewise.
9278 * soft-fp/trunctfxf2.c: Likewise.
9279 * soft-fp/unorddf2.c: Likewise.
9280 * soft-fp/unordsf2.c: Likewise.
9281 * soft-fp/unordtf2.c: Likewise.
9282
9283 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9284
9285 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9286 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9287
9288 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9289
9290 * elf/dl-libc.c: Clear initfini list after freeing.
9291
9292 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9293
9294 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9295 * soft-fp/addsf3.c: Likewise.
9296 * soft-fp/addtf3.c: Likewise.
9297 * soft-fp/divdf3.c: Likewise.
9298 * soft-fp/divsf3.c: Likewise.
9299 * soft-fp/divtf3.c: Likewise.
9300 * soft-fp/double.h: Likewise.
9301 * soft-fp/eqdf2.c: Likewise.
9302 * soft-fp/eqsf2.c: Likewise.
9303 * soft-fp/eqtf2.c: Likewise.
9304 * soft-fp/extenddftf2.c: Likewise.
9305 * soft-fp/extended.h: Likewise.
9306 * soft-fp/extendsfdf2.c: Likewise.
9307 * soft-fp/extendsftf2.c: Likewise.
9308 * soft-fp/extendxftf2.c: Likewise.
9309 * soft-fp/fixdfdi.c: Likewise.
9310 * soft-fp/fixdfsi.c: Likewise.
9311 * soft-fp/fixdfti.c: Likewise.
9312 * soft-fp/fixsfdi.c: Likewise.
9313 * soft-fp/fixsfsi.c: Likewise.
9314 * soft-fp/fixsfti.c: Likewise.
9315 * soft-fp/fixtfdi.c: Likewise.
9316 * soft-fp/fixtfsi.c: Likewise.
9317 * soft-fp/fixtfti.c: Likewise.
9318 * soft-fp/fixunsdfdi.c: Likewise.
9319 * soft-fp/fixunsdfsi.c: Likewise.
9320 * soft-fp/fixunsdfti.c: Likewise.
9321 * soft-fp/fixunssfdi.c: Likewise.
9322 * soft-fp/fixunssfsi.c: Likewise.
9323 * soft-fp/fixunssfti.c: Likewise.
9324 * soft-fp/fixunstfdi.c: Likewise.
9325 * soft-fp/fixunstfsi.c: Likewise.
9326 * soft-fp/fixunstfti.c: Likewise.
9327 * soft-fp/floatdidf.c: Likewise.
9328 * soft-fp/floatdisf.c: Likewise.
9329 * soft-fp/floatditf.c: Likewise.
9330 * soft-fp/floatsidf.c: Likewise.
9331 * soft-fp/floatsisf.c: Likewise.
9332 * soft-fp/floatsitf.c: Likewise.
9333 * soft-fp/floattidf.c: Likewise.
9334 * soft-fp/floattisf.c: Likewise.
9335 * soft-fp/floattitf.c: Likewise.
9336 * soft-fp/floatundidf.c: Likewise.
9337 * soft-fp/floatundisf.c: Likewise.
9338 * soft-fp/floatunsidf.c: Likewise.
9339 * soft-fp/floatunsisf.c: Likewise.
9340 * soft-fp/floatuntidf.c: Likewise.
9341 * soft-fp/floatuntisf.c: Likewise.
9342 * soft-fp/floatuntitf.c: Likewise.
9343 * soft-fp/fmadf4.c: Likewise.
9344 * soft-fp/fmasf4.c: Likewise.
9345 * soft-fp/fmatf4.c: Likewise.
9346 * soft-fp/gedf2.c: Likewise.
9347 * soft-fp/gesf2.c: Likewise.
9348 * soft-fp/getf2.c: Likewise.
9349 * soft-fp/ledf2.c: Likewise.
9350 * soft-fp/lesf2.c: Likewise.
9351 * soft-fp/letf2.c: Likewise.
9352 * soft-fp/muldf3.c: Likewise.
9353 * soft-fp/mulsf3.c: Likewise.
9354 * soft-fp/multf3.c: Likewise.
9355 * soft-fp/negdf2.c: Likewise.
9356 * soft-fp/negsf2.c: Likewise.
9357 * soft-fp/negtf2.c: Likewise.
9358 * soft-fp/op-1.h: Likewise.
9359 * soft-fp/op-2.h: Likewise.
9360 * soft-fp/op-4.h: Likewise.
9361 * soft-fp/op-8.h: Likewise.
9362 * soft-fp/op-common.h: Likewise.
9363 * soft-fp/quad.h: Likewise.
9364 * soft-fp/single.h: Likewise.
9365 * soft-fp/soft-fp.h: Likewise.
9366 * soft-fp/sqrtdf2.c: Likewise.
9367 * soft-fp/sqrtsf2.c: Likewise.
9368 * soft-fp/sqrttf2.c: Likewise.
9369 * soft-fp/subdf3.c: Likewise.
9370 * soft-fp/subsf3.c: Likewise.
9371 * soft-fp/subtf3.c: Likewise.
9372 * soft-fp/truncdfsf2.c: Likewise.
9373 * soft-fp/trunctfdf2.c: Likewise.
9374 * soft-fp/trunctfsf2.c: Likewise.
9375 * soft-fp/trunctfxf2.c: Likewise.
9376 * soft-fp/unorddf2.c: Likewise.
9377 * soft-fp/unordsf2.c: Likewise.
9378 * soft-fp/unordtf2.c: Likewise.
9379
9380 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9381
9382 [BZ #15672]
9383 * misc/error.c (error_tail): Fix possible buffer overflow.
9384
9385 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9386
9387 [BZ #13028]
9388 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9389 address.
9390
9391 2013-10-14 P. J. McDermott <pj@pehjota.net>
9392
9393 [BZ #832]
9394 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9395 testing pipefail option.
9396
9397 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9398
9399 * soft-fp/double.h: Indent preprocessor directives inside #if.
9400 * soft-fp/extended.h: Likewise.
9401 * soft-fp/op-2.h: Likewise.
9402 * soft-fp/op-4.h: Likewise.
9403 * soft-fp/op-common.h: Likewise.
9404 * soft-fp/quad.h: Likewise.
9405 * soft-fp/single.h: Likewise.
9406 * soft-fp/soft-fp.h: Likewise.
9407
9408 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9409
9410 * iconv/iconv_prog.c: Fix typos.
9411 * stdio-common/psiginfo-data.h: Likewise.
9412
9413 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9414
9415 [BZ #15764]
9416 * locale/setlocale.c: Fix typo.
9417
9418 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9419
9420 [BZ #16036]
9421 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9422 signaling NaN arguments.
9423 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9424 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9425
9426 [BZ #14910]
9427 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9428 unordered operands.
9429 * soft-fp/gesf2.c (__gesf2): Likewise.
9430 * soft-fp/getf2.c (__getf2): Likewise.
9431 * soft-fp/ledf2.c (__ledf2): Likewise.
9432 * soft-fp/lesf2.c (__lesf2): Likewise.
9433 * soft-fp/letf2.c (__letf2): Likewise.
9434
9435 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9436 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9437 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9438 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9439 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9440 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9441 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9442 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9443 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9444 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9445 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9446 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9447 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9448 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9449 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9450 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9451 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9452 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9453 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9454 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9455 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9456 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9457 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9458 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9459 * soft-fp/floattidf.c (__floattidf): Likewise.
9460 * soft-fp/floattisf.c (__floattisf): Likewise.
9461 * soft-fp/floattitf.c (__floattitf): Likewise.
9462 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9463 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9464 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9465 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9466 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9467 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9468 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9469 * soft-fp/gesf2.c (__gesf2): Likewise.
9470 * soft-fp/getf2.c (__getf2): Likewise.
9471 * soft-fp/ledf2.c (__ledf2): Likewise.
9472 * soft-fp/lesf2.c (__lesf2): Likewise.
9473 * soft-fp/letf2.c (__letf2): Likewise.
9474
9475 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9476 Undefine and redefine.
9477 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9478 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9479 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9480 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9481 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9482 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9483 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9484 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9485 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9486 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9487 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9488 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9489 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9490 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9491 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9492
9493 [BZ #16032]
9494 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9495 without decrementing exponent if mantissa >= that for the
9496 denominator, not >.
9497 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9498 denominator, not >. Decrement exponent in < case instead of
9499 incrementing in >= case.
9500 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9501 without decrementing exponent if mantissa >= that for the
9502 denominator, not >.
9503
9504 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9505 computing saturated result for unsigned overflow.
9506
9507 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9508 Jeff Law <law@redhat.com>
9509
9510 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9511 (atan2Mp): Add systemtap probe marker.
9512 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9513 (__ieee754_log): Add systemtap probe marker.
9514 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9515 (atanMp): Add systemtap probe marker.
9516 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9517 (tanMp): Add systemtap probe marker.
9518 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9519 (__slowexp): Add systemtap probe marker.
9520 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9521 (__slowpow): Add systemtap probe marker.
9522 * manual/probes.texi: Document probes.
9523
9524 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9525
9526 [BZ #15362]
9527 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9528 written.
9529 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9530 written.
9531 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9532 written to buffer but not flushed.
9533 * libio/iofwrite_u.c: Likewise.
9534 * libio/iopadn.c: Return bytes returned even if EOF was
9535 encountered.
9536 * libio/iowpadn.c: Likewise.
9537 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9538 if _IO_padn does not write the whole buffer.
9539 [!COMPILE_WPRINTF] (PAD): Likewise.
9540
9541 2013-10-10 David S. Miller <davem@davemloft.net>
9542
9543 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9544 directory block.
9545
9546 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9547
9548 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9549 instead of FSF address.
9550 * soft-fp/fixdfti.c: Likewise.
9551 * soft-fp/fixsfti.c: Likewise.
9552 * soft-fp/fixtfti.c: Likewise.
9553 * soft-fp/fixunsdfti.c: Likewise.
9554 * soft-fp/fixunssfti.c: Likewise.
9555 * soft-fp/fixunstfti.c: Likewise.
9556 * soft-fp/floattidf.c: Likewise.
9557 * soft-fp/floattisf.c: Likewise.
9558 * soft-fp/floattitf.c: Likewise.
9559 * soft-fp/floatuntidf.c: Likewise.
9560 * soft-fp/floatuntisf.c: Likewise.
9561 * soft-fp/floatuntitf.c: Likewise.
9562 * soft-fp/trunctfxf2.c: Likewise.
9563
9564 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9565 * soft-fp/fixdfti.c: Likewise.
9566 * soft-fp/fixsfti.c: Likewise.
9567 * soft-fp/fixtfti.c: Likewise.
9568 * soft-fp/fixunsdfti.c: Likewise.
9569 * soft-fp/fixunssfti.c: Likewise.
9570 * soft-fp/fixunstfti.c: Likewise.
9571 * soft-fp/floattidf.c: Likewise.
9572 * soft-fp/floattisf.c: Likewise.
9573 * soft-fp/floattitf.c: Likewise.
9574 * soft-fp/floatuntidf.c: Likewise.
9575 * soft-fp/floatuntisf.c: Likewise.
9576 * soft-fp/floatuntitf.c: Likewise.
9577 * soft-fp/trunctfxf2.c: Likewise.
9578
9579 2013-10-10 David S. Miller <davem@davemloft.net>
9580
9581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9582
9583 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9584
9585 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9586 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9587 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9588 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9589 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9590 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9591 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9592
9593 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9594 for NaNs before doing comparisons on argument.
9595 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9596 Likewise.
9597
9598 2013-10-10 Will Newton <will.newton@linaro.org>
9599
9600 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9601 passed to _int_memalign does not overflow.
9602
9603 2013-10-10 Torvald Riegel <triegel@redhat.com>
9604
9605 * scripts/bench.pl: Add include-sources directive.
9606 * benchtests/README: Update documentation.
9607
9608 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9609
9610 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9611 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9612 instead of FP_INIT_ROUNDMODE.
9613 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9614 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9615
9616 [BZ #16034]
9617 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9618 copy class of input value.
9619 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9620 not handle exceptions.
9621 * soft-fp/negsf2.c (__negsf2): Likewise.
9622 * soft-fp/negtf2.c (__negtf2): Likewise.
9623 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9624
9625 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9626
9627 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9628 semicolon. From Linux kernel.
9629
9630 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9631
9632 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9633
9634 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9635
9636 [BZ #156]
9637 * manual/socket.texi: Added statement about buffer
9638 for gethostbyname2_r.
9639
9640 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9641
9642 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9643 Use .p2align directive instead, throughout.
9644 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9645 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9646 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9647 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9648 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9649 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9650 * sysdeps/x86_64/strchr.S: Likewise.
9651 * sysdeps/x86_64/strrchr.S: Likewise.
9652
9653 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9654
9655 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9656
9657 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9658
9659 * sysdeps/generic/math_private.h (__mpsin1): Remove
9660 declaration.
9661 (__mpcos1): Likewise.
9662 (__mpsin): New argument __range_reduce.
9663 (__mpcos): Likewise.
9664 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9665 (slow): Use __mpsin and __mpcos.
9666 (slow1): Likewise.
9667 (slow2): Likewise.
9668 (sloww): Likewise.
9669 (sloww1): Likewise.
9670 (sloww2): Likewise.
9671 (bsloww): Likewise.
9672 (bsloww1): Likewise.
9673 (bsloww2): Likewise.
9674 (cslow2): Likewise.
9675 (csloww): Likewise.
9676 (csloww1): Likewise.
9677 (csloww2): Likewise.
9678 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9679 range_reduce. Merge in __mpsin1.
9680 (__mpcos): Likewise.
9681 (__mpsin1): Remove.
9682 (__mpcos1): Likewise.
9683
9684 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9685
9686 * locale/loadlocale.c (_nl_intern_locale_data): Use
9687 LOCFILE_ALIGNED_P.
9688 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9689 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9690 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9691 obstack data is appropriately aligned.
9692 (obstack_int32_grow_fast): Likewise.
9693 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9694 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9695 (add_locale_uint32_array): Likewise.
9696
9697 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9698
9699 * benchtests/Makefile: Remove ARGLIST and RET variables.
9700 ($(objpfx)bench-%.c): Pass only function name to the script.
9701 * benchtests/README: Update documentation.
9702 * benchtests/acos-inputs: Add new directives.
9703 * benchtests/acosh-inputs: Likewise.
9704 * benchtests/asin-inputs: Likewise.
9705 * benchtests/asinh-inputs: Likewise.
9706 * benchtests/atan-inputs: Likewise.
9707 * benchtests/atanh-inputs: Likewise.
9708 * benchtests/cos-inputs: Likewise.
9709 * benchtests/cosh-inputs: Likewise.
9710 * benchtests/exp-inputs: Likewise.
9711 * benchtests/log-inputs: Likewise.
9712 * benchtests/pow-inputs: Likewise.
9713 * benchtests/rint-inputs: Likewise.
9714 * benchtests/sin-inputs: Likewise.
9715 * benchtests/sinh-inputs: Likewise.
9716 * benchtests/tan-inputs: Likewise.
9717 * benchtests/tanh-inputs: Likewise.
9718 * scripts/bench.pl: Add support for new directives.
9719
9720 2013-10-07 Alan Modra <amodra@gmail.com>
9721
9722 * README: Fix careless merge.
9723
9724 2013-10-05 Alan Modra <amodra@gmail.com>
9725
9726 * NEWS: Mention powerpc64le support and bugs fixed.
9727 * README: Both big-endian and little-endian powerpc64 supported.
9728
9729 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9730
9731 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9732 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9733 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9734 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9735
9736 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9737
9738 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9739 match prototype.
9740
9741 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9742
9743 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9744 Move -mhard-float appending from
9745 ports/sysdeps/powerpc/powerpc32/Makefile.
9746 [$(with-fp) = yes] (ASFLAGS): Likewise.
9747 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9748 * sysdeps/powerpc/nofpu: Move directory from
9749 ports/sysdeps/powerpc/nofpu.
9750 * sysdeps/powerpc/soft-fp: Move directory from
9751 ports/sysdeps/powerpc/soft-fp.
9752 * sysdeps/powerpc/powerpc32/405: Move directory from
9753 ports/sysdeps/powerpc/powerpc32/405.
9754 * sysdeps/powerpc/powerpc32/440: Move directory from
9755 ports/sysdeps/powerpc/powerpc32/440.
9756 * sysdeps/powerpc/powerpc32/464: Move directory from
9757 ports/sysdeps/powerpc/powerpc32/464.
9758 * sysdeps/powerpc/powerpc32/476: Move directory from
9759 ports/sysdeps/powerpc/powerpc32/476.
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9761 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9763 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9765 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9767 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9769 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9770 * README: Update for powerpc-*-linux-gnu software floating point
9771 support in libc.
9772
9773 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9774 case to powerpc/powerpc32*.
9775 * sysdeps/unix/sysv/linux/configure: Regenerated.
9776
9777 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9778 (_FPU_MASK_OM): Define as 0x04.
9779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9780 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9781 0x00c10080.
9782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9783 0x0000003c.
9784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9785
9786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9787 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9788 getcontext_e500.
9789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9790 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9791 setcontext_e500.
9792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9793 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9794 and setcontext_e500.
9795
9796 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9797
9798 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9799
9800 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9801
9802 * manual/threads.texi (Default Thread Attributes): Fix typo.
9803
9804 2013-10-04 Will Newton <will.newton@linaro.org>
9805
9806 * malloc/Makefile: Add tst-memalign.
9807 * malloc/tst-memalign.c: New file.
9808
9809 * malloc/tst-posix_memalign.c: Add comments.
9810 (do_test): Add comments and call free on all potentially
9811 allocated pointers. Add space after cast.
9812
9813 * malloc/tst-pvalloc.c: Add comments.
9814 (do_test): Add comments and call free on all potentially
9815 allocated pointers. Remove duplicate check for NULL pointer.
9816 Add space after cast.
9817
9818 * malloc/tst-valloc.c: Add comments.
9819 (do_test): Add comments and call free on all potentially
9820 allocated pointers. Remove duplicate check for NULL pointer.
9821 Add space after cast.
9822
9823 2013-10-04 Alan Modra <amodra@gmail.com>
9824
9825 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9826 Use stdint types in rather than __attribute__((mode())).
9827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9828
9829 2013-10-04 Alan Modra <amodra@gmail.com>
9830
9831 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9832 Correct handling of unaligned relocs for little-endian.
9833 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9834
9835 2013-10-04 Alan Modra <amodra@gmail.com>
9836
9837 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9838 * configure: Regenerate.
9839 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9840 * shlib-versions: Likewise.
9841
9842 2013-10-04 Alan Modra <amodra@gmail.com>
9843
9844 * string/tester.c (test_memrchr): Increment reported test cycle.
9845
9846 2013-10-04 Alan Modra <amodra@gmail.com>
9847
9848 * string/test-memcpy.c (do_one_test): When reporting errors, print
9849 string address and don't overrun end of string.
9850
9851 2013-10-04 Alan Modra <amodra@gmail.com>
9852
9853 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9854 insrdi. Make better use of reg selection to speed exit slightly.
9855 Schedule entry path a little better. Remove useless "are we done"
9856 checks on entry to main loop. Handle wrapping around zero address.
9857 Correct main loop count. Handle single left-over word from main
9858 loop inline rather than by using loop_small. Remove extra word
9859 case in loop_small caused by wrong loop count. Add little-endian
9860 support.
9861 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9862 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9863 cache hint.
9864 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9865 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9866 support. Avoid rlwimi.
9867 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9868
9869 2013-10-04 Alan Modra <amodra@gmail.com>
9870
9871 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9872 insrdi. Formatting.
9873 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9874 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9875 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9876 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9877 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9878 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9879
9880 2013-10-04 Alan Modra <amodra@gmail.com>
9881
9882 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9883 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9884 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9885 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9886 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9887 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9888 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9889 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9890 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9891 use of regs. Use power7 mtocrf. Tidy function tails.
9892
9893 2013-10-04 Alan Modra <amodra@gmail.com>
9894
9895 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9896 Formatting. Consistently use rXXX register defines or rN defines.
9897 Use early exit labels that avoid restoring unused non-volatile regs.
9898 Make cr field use more consistent with rWORDn compares. Rename
9899 regs used as shift registers for unaligned loop, using rN defines
9900 for short lifetime/multiple use regs.
9901 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9902 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9903 addi 1,1,64 to pop stack frame. Simplify return value code.
9904 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9905
9906 2013-10-04 Alan Modra <amodra@gmail.com>
9907
9908 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9909 support. Correct typos, formatting. Optimize tail. Use insrdi
9910 rather than rlwimi.
9911 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9912 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9913 little-endian support. Correct typos.
9914 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9915 rather than rlwimi.
9916 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9917 in loop and entry code to keep "and." results.
9918 (strchr): Add little-endian support. Comment. Move cntlzd
9919 earlier in tail.
9920 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9921
9922 2013-10-04 Alan Modra <amodra@gmail.com>
9923
9924 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9925 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9926 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9927 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9928
9929 2013-10-04 Alan Modra <amodra@gmail.com>
9930
9931 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9932 (rTMP): Define as r11.
9933 (strcmp): Add little-endian support. Optimise tail.
9934 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9935 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9936 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9937 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9938 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9939 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9940 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9941
9942 2013-10-04 Alan Modra <amodra@gmail.com>
9943
9944 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9945 little-endian support. Remove unnecessary "are we done" tests.
9946 Handle "s" wrapping around zero and extremely large "size".
9947 Correct main loop count. Handle single left-over word from main
9948 loop inline rather than by using small_loop. Correct comments.
9949 Delete "zero" tail, use "end_max" instead.
9950 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9951
9952 2013-10-04 Alan Modra <amodra@gmail.com>
9953
9954 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9955 support. Don't branch over align.
9956 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9957 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9958 support. Rearrange tmp reg use to suit. Comment.
9959 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9960
9961 2013-10-04 Alan Modra <amodra@gmail.com>
9962
9963 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9964
9965 2013-10-04 Alan Modra <amodra@gmail.com>
9966
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9968 conditional form of branch and link when obtaining pc.
9969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9970
9971 2013-10-04 Alan Modra <amodra@gmail.com>
9972
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9974 HIWORD/LOWORD.
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9977
9978 2013-10-04 Alan Modra <amodra@gmail.com>
9979
9980 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9981 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9982 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9983 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9984 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9985 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9986 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9987 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9988 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9989 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9990
9991 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9992 Alistair Popple <alistair@ozlabs.au.ibm.com>
9993 Alan Modra <amodra@gmail.com>
9994
9995 [BZ #15723]
9996 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9997 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9998 _dl_hwcap access for little-endian.
9999 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10000 destroy vmx regs when saving unaligned.
10001 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10002 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10003 destroy vmx regs when saving unaligned.
10004
10005 2013-10-04 Alan Modra <amodra@gmail.com>
10006
10007 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10008 Don't use a union to pack hi/low value.
10009
10010 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10011
10012 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10013 for little-endian.
10014 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10015 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10016 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10017 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10018 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10019
10020 2013-10-04 Alan Modra <amodra@gmail.com>
10021
10022 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10023 constants to usual value for .cst8 section, and remove redundant
10024 high address load.
10025 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10026 constant for 0x1p52. Load little-endian words of double from
10027 correct stack offsets.
10028
10029 2013-10-04 Alan Modra <amodra@gmail.com>
10030
10031 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10032 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10033 words of double from correct stack offsets.
10034 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10035 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10036 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10037 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10038 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10039 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10040 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10041 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10042 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10043 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10044 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10045 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10046 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10047 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10048 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10049 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10050 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10051
10052 2013-10-04 Alan Modra <amodra@gmail.com>
10053
10054 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10055 64-bit int/double union.
10056 (_FPU_SETCW): Likewise.
10057 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10058 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10059
10060 2013-10-04 Alan Modra <amodra@gmail.com>
10061
10062 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10063 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10064
10065 2013-10-04 Alan Modra <amodra@gmail.com>
10066
10067 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10068 use vector int constants.
10069 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10070
10071 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10072
10073 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10074 array with long long.
10075 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10076 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10077 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10078 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10079 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10080 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10081 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10082 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10083 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10084 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10085 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10086 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10087 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10088
10089 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10090
10091 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10092 (__signbit): Likewise. Correct for little-endian.
10093 (__signbitl): Call __signbit.
10094 (lrint): Correct for little-endian.
10095 (lrintf): Call lrint.
10096
10097 2013-10-04 Alan Modra <amodra@gmail.com>
10098
10099 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10100 union 32-bit int array member with 64-bit int array.
10101 (t515, tm256): Double rather than long double.
10102 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10103
10104 2013-10-04 Alan Modra <amodra@gmail.com>
10105
10106 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10107 Delete.
10108 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10109 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10110 version of math_ldbl.h.
10111
10112 2013-10-04 Alan Modra <amodra@gmail.com>
10113
10114 [BZ #15734], [BZ #15735]
10115 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10116 all uses of ieee875 long double macros and unions. Simplify test
10117 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10118 ldbl_extract_mantissa value for ix,iy exponents. Properly
10119 normalize after ldbl_extract_mantissa, and don't add hidden bit
10120 already handled. Don't treat low word of ieee854 mantissa like
10121 low word of IBM long double and mask off bit when testing for
10122 zero.
10123 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10124 all uses of ieee875 long double macros and unions. Simplify tests
10125 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10126 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10127 two1022, instead use their values. Recognise that tests for large
10128 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10129 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10130 Rewrite all uses of ieee875 long double macros and unions. Simplify
10131 test for 0.0L and nan. Correct negation.
10132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10133 ieee875 long double macros and unions. Correct output for large
10134 magnitude x. Correct absolute value calculation.
10135 (__erfcl): Likewise.
10136 * math/libm-test.inc: Add tests for errors discovered in IBM long
10137 double versions of fmodl, remainderl, erfl and erfcl.
10138
10139 2013-10-04 Alan Modra <amodra@gmail.com>
10140
10141 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10142 all uses of ieee854 long double macros and unions. Simplify tests
10143 for long doubles that are fully specified by the high double.
10144 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10145 Likewise.
10146 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10147 Remove dead code too.
10148 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10149 (__ieee754_ynl): Likewise.
10150 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10151 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10152 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10153 Remove dead code too.
10154 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10155 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10156 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10157 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10158 Simplify.
10159 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10160 Simplify.
10161 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10162 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10163 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10164 Comment on variable precision.
10165 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10166 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10167 Likewise.
10168 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10170 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10171 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10172 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10173
10174 2013-10-04 Alan Modra <amodra@gmail.com>
10175
10176 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10177 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10178 all uses of ieee854 long double macros and unions.
10179 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10180 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10181 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10182 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10183 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10184 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10185 Likewise.
10186 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10187 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10188 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10189 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10190 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10191 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10192 Simplify sign and nan test too.
10193 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10194 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10195 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10196 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10197 Likewise.
10198 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10199 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10200 Likewise.
10201 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10202 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10203 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10204 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10205 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10206 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10207
10208 2013-10-04 Alan Modra <amodra@gmail.com>
10209
10210 * stdio-common/printf_size.c (__printf_size): Don't use
10211 union ieee854_long_double in fpnum union.
10212 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10213 signbit macro to retrieve sign from long double.
10214 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10215 retrieve sign from long double.
10216 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10217 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10218 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10219 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10220 * math/test-misc.c (main): Don't use union ieee854_long_double.
10221
10222 2013-10-04 Alan Modra <amodra@gmail.com>
10223
10224 [BZ #15680]
10225 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10226 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10227 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10228 calculation. Remove unnecessary test for denormal exponent.
10229 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10230 Correct handling of denormals. Avoid undefined shift behaviour.
10231 Correct normalisation of low mantissa when low double is denormal.
10232 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10233 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10234 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10235 Correct normalisation of low mantissa. Test for overflow of high
10236 mantissa and normalise.
10237 (ldbl_nearbyint): Use more readable constant for two52.
10238 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10239 (__mpn_construct_long_double): Fix test for overflow of high
10240 mantissa and correct normalisation. Avoid undefined shift.
10241
10242 2013-10-04 Alan Modra <amodra@gmail.com>
10243
10244 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10245 (union ibm_extended_long_double): Define as an array of ieee754_double.
10246 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10247 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10248 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10249 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10253 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10257
10258 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10259
10260 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10261 page size instead of calling getpagesize.
10262
10263 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10264 (LOCFILE_ALIGN_MASK): Likewise.
10265 (LOCFILE_ALIGN_UP): Likewise.
10266 (LOCFILE_ALIGNED_P): Likewise.
10267 * locale/programs/ld-collate.c (collate_output): Use the new
10268 macros instead of __alignof__ (int32_t).
10269 * locale/weight.h (findidx): Likewise.
10270
10271 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10272
10273 [BZ #431]
10274 * manual/string.texi: Fix strncat and wcsncat.
10275
10276 2013-10-03 Brooks Moses <bmoses@google.com>
10277
10278 [BZ #15915]
10279 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10280 * Makerules: ...here, and adjust associated comments.
10281
10282 2013-10-02 Will Newton <will.newton@linaro.org>
10283
10284 * malloc/Makefile: Add tst-pvalloc.
10285 * malloc/tst-pvalloc.c: New file.
10286
10287 2013-10-02 Will Newton <will.newton@linaro.org>
10288
10289 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10290 improve test coverage.
10291
10292 2013-10-02 Will Newton <will.newton@linaro.org>
10293
10294 * malloc/Makefile: Add tst-posix_memalign.
10295 * malloc/tst-posix_memalign.c: New file.
10296
10297 2013-10-01 Eric Blake <eblake@redhat.com>
10298
10299 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10300 Use __THROWNL rather than __THROW on static functions.
10301
10302 2013-09-30 Petr Machata <pmachata@redhat.com>
10303
10304 * elf/elf.h (R_AARCH64_ABS16): New macro.
10305 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10306 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10307 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10308 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10309 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10310 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10311 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10312 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10313 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10314 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10315 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10316 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10317 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10318 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10319 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10320 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10321 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10322 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10323 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10324 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10325 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10326 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10327 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10328 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10329 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10330 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10331 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10332 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10333 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10334 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10335 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10336 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10337 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10338 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10339 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10340 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10341 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10342 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10343 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10344 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10345 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10346 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10347 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10348 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10349 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10350 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10351 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10352 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10353 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10354 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10355 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10356 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10357 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10358 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10359 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10360 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10361 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10362 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10363 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10364 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10365 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10366 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10367 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10368 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10369 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10370 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10371 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10372 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10373 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10374 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10375 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10376 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10377 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10378 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10379 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10380 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10381 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10382 (R_AARCH64_TLSDESC_LDR): Likewise.
10383 (R_AARCH64_TLSDESC_ADD): Likewise.
10384 (R_AARCH64_TLSDESC_CALL): Likewise.
10385
10386 2013-09-30 Andreas Schwab <schwab@suse.de>
10387
10388 [BZ #15048]
10389 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10390 the nss database lookup.
10391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10393
10394 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10395
10396 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10397
10398 2013-09-28 P. J. McDermott <pj@pehjota.net>
10399
10400 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10401 ${Bash-specific parameter/pattern/string} parameter expansion.
10402 * sysdeps/unix/make-syscalls.sh: Likewise.
10403
10404 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10405
10406 * sysdeps/sh/stackguard-macros.h: New file.
10407
10408 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10409
10410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10412 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10413 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10414 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10415 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10416
10417 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10418
10419 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10420 Fix thread ID register.
10421
10422 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10423
10424 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10425 [POSIX || UNIX98]: Require rather than permitting all symbols from
10426 <time.h>.
10427 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10428 element of struct sched_param.
10429 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10430 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10431 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10432 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10433 constant.
10434
10435 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10436
10437 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10438 argument calculation.
10439
10440 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10441
10442 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10443 Expect macro.
10444 [POSIX] (pthread_attr_t): Do not require type.
10445 [POSIX] (pthread_cond_t): Likewise.
10446 [POSIX] (pthread_condattr_t): Likewise.
10447 [POSIX] (pthread_key_t): Likewise.
10448 [POSIX] (pthread_mutex_t): Likewise.
10449 [POSIX] (pthread_mutexattr_t): Likewise.
10450 [POSIX] (pthread_once_t): Likewise.
10451 [POSIX] (pthread_t): Likewise.
10452 [POSIX-based standards] (pthread_atfork): Expect function.
10453
10454 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10455 Richard Sandiford <richard@codesourcery.com>
10456
10457 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10458 (swap_endianness_p): New extern variable.
10459 (set_big_endian): New inline function.
10460 (maybe_swap_uint32): Likewise.
10461 (maybe_swap_uint32_array): Likewise.
10462 (maybe_swap_uint32_obstack): Likewise.
10463 * locale/programs/locfile.c: Include <stdbool.h>.
10464 (swap_endianness_p): New variable.
10465 (add_locale_uint32): Call maybe_swap_uint32.
10466 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10467 (write_locale_data): Call maybe_swap_uint32_array.
10468 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10469 maybe_swap_uint32.
10470 (obstack_int32_grow_fast): Likewise.
10471 (output_weightwc): Call maybe_swap_uint32_obstack.
10472 (collate_output): Likewise.
10473 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10474 (OPT_LITTLE_ENDIAN): Likewise.
10475 (options): Add --little-endian and --big-endian options.
10476 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10477 * locale/programs/locarchive.c: Include "locfile.h".
10478 (GET): New macro.
10479 (SET): Likewise.
10480 (INC): Likewise.
10481 (create_archive): Use the new macros to access fields of
10482 structures directly mapped from or written to locale archives.
10483 (oldlocrecentcmp): Likewise.
10484 (enlarge_archive): Likewise.
10485 (insert_name): Likewise.
10486 (add_alias): Likewise.
10487 (add_locale): Likewise.
10488 (delete_locales_from_archive): Likewise.
10489 (show_archive_content): Likewise.
10490 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10491 locale data.
10492
10493 2013-09-24 Roland McGrath <roland@hack.frob.com>
10494
10495 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10496 http://www.gnu.org/doc/freemanuals.texi.
10497 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10498
10499 2013-09-24 Will Newton <will.newton@linaro.org>
10500
10501 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10502 macro.
10503
10504 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10505
10506 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10507 unsigned char.
10508
10509 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10510
10511 * manual/threads.texi (POSIX Threads): Fix a typo.
10512
10513 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10514
10515 [BZ #14547]
10516 * string/tst-strcoll-overflow.c: New test case.
10517 * string/Makefile (xtests): Add tst-strcoll-overflow.
10518 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10519 cache if string sizes may cause integer overflow.
10520
10521 [BZ #14547]
10522 * string/strcoll_l.c (coll_seq): New members rule, idx,
10523 save_idx and back_us.
10524 (get_next_seq_nocache): New function.
10525 (do_compare_nocache): New function.
10526 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10527 when malloc fails.
10528
10529 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10530
10531 [BZ #15754]
10532 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10533 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10534 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10535
10536 [BZ #15754]
10537 * elf/Makefile (tests): Add tst-ptrguard1.
10538 (tests-static): Add tst-ptrguard1-static.
10539 (tst-ptrguard1-ARGS): Define.
10540 (tst-ptrguard1-static-ARGS): Define.
10541 * elf/tst-ptrguard1.c: New file.
10542 * elf/tst-ptrguard1-static.c: New file.
10543 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10544 * sysdeps/i386/stackguard-macros.h: Likewise.
10545 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10546 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10547 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10548 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10549 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10550 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10551
10552 2013-09-23 Hector Marco <hecmargi@upv.es>
10553 Ismael Ripoll <iripoll@disca.upv.es>
10554 Carlos O'Donell <carlos@redhat.com>
10555
10556 [BZ #15754]
10557 * sysdeps/generic/stackguard-macros.h: Define
10558 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10559 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10560 Define __pointer_chk_guard_local.
10561 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10562 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10563
10564 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10565
10566 [BZ #15859]
10567 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10568
10569 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10570
10571 * include/string.h (__ffs): Declare as hidden.
10572 * string/ffs.c (__ffs): Define as hidden.
10573 * sysdeps/i386/ffs.c (__ffs): Likewise.
10574 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10575 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10576 * sysdeps/s390/ffs.c (__ffs): Likewise.
10577 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10578
10579 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10580
10581 * NEWS: Mention malloc probes.
10582
10583 * malloc/arena.c (new_heap): New memory_heap_new probe.
10584 (grow_heap): New memory_heap_more probe.
10585 (shrink_heap): New memory_heap_less probe.
10586 (heap_trim): New memory_heap_free probe.
10587 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10588 (systrim): New memory_sbrk_less probe.
10589 * manual/probes.texi: Document them.
10590
10591 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10592 * manual/probes.texi: Document it.
10593
10594 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10595 (__libc_realloc): Add memory_realloc_retry probe.
10596 (__libc_memalign): Add memory_memalign_retry probe.
10597 (__libc_valloc): Add memory_valloc_retry probe.
10598 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10599 (__libc_calloc): Add memory_calloc_retry probe.
10600 * manual/probes.texi: Document them.
10601
10602 * malloc/arena.c (get_free_list): Add probe
10603 memory_arena_reuse_free_list.
10604 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10605 and memory_arena_reuse.
10606 (arena_get2) [!PER_THREAD]: Likewise.
10607 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10608 memory_arena_reuse_realloc.
10609 * manual/probes.texi: Document them.
10610
10611 * malloc/malloc.c (__libc_free): Add
10612 memory_mallopt_free_dyn_thresholds probe.
10613 (__libc_mallopt): Add multiple memory_mallopt probes.
10614 * manual/probes.texi: Document them.
10615
10616 * malloc/malloc.c: Include stap-probe.h.
10617 (__libc_mallopt): Add memory_mallopt probe.
10618 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10619 * manual/probes.texi: New.
10620 * manual/Makefile (chapters): Add probes.
10621 * manual/threads.texi: Set next node.
10622
10623 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10624
10625 [BZ #15963, #13985]
10626 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10627 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10628 Add `Chinese' to `nan' entry name.
10629
10630 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10631
10632 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10633 (POLYNOMIAL): Likewise.
10634 (TAYLOR_SINCOS): Likewise.
10635 (TAYLOR_SLOW): Likewise.
10636 (__sin): Use TAYLOR_SINCOS.
10637 (__cos): Likewise.
10638 (slow): Use TAYLOR_SLOW.
10639 (sloww): Likewise.
10640 (bsloww): Likewise.
10641 (csloww): Likewise.
10642
10643 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10644
10645 * stdlib/strtod_l.c: Fix buffer overrun.
10646
10647 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10648
10649 * benchtests/Makefile (bench): Add sincos.
10650 * benchtests/bench-sincos.c: New file.
10651
10652 * math/libm-test.inc (cos_test_data): New test inputs.
10653 (sin_test_data): Likewise.
10654
10655 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10656 macro.
10657 (__sin): Use it.
10658 (__cos): Likewise.
10659 (slow1): Likewise.
10660 (slow2): Likewise.
10661 (sloww1): Likewise.
10662 (sloww2): Likewise.
10663 (bsloww1): Likewise.
10664 (bsloww2): Likewise.
10665 (cslow2): Likewise.
10666 (csloww1): Likewise.
10667 (csloww2): Likewise.
10668
10669 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10670 function.
10671 (__sin): Use it.
10672 (__cos): Likewise.
10673
10674 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10675 gotos.
10676 (__cos): Likewise.
10677
10678 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10679
10680 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10681 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10682 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10683 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10684 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10685 * elf/cache.c (print_entry): Handle the new cache flags.
10686
10687 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10688 Aldy Hernandez <aldyh@redhat.com>
10689
10690 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10691 Change condition to [_SOFT_FLOAT].
10692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10704 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10707 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10708 declaration.
10709
10710 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10711
10712 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10713 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10714 (__longjmp): Use LOAD_GP to load saved GPRs.
10715 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10716 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10717 (__sigsetjmp): Use SAVE_GP to save GPRs.
10718
10719 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10720 Do not append -msoft-float.
10721 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10722
10723 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10724
10725 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10726
10727 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10728
10729 [BZ #15966]
10730 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10731 (_FPU_GETCW): Use initial "__" on variable and field names but not
10732 on macro parameter name.
10733 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10734 parentheses around reference to macro parameter.
10735
10736 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10737
10738 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10739 prototype.
10740 (ctype_startup): Use uint32_t in cast and sizeof for
10741 ctype->charnames.
10742
10743 2013-09-11 Jia Liu <proljc@gmail.com>
10744
10745 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10746 __daddr_t_defined.
10747 [__FreeBSD__]: Likewise.
10748
10749 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10750
10751 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10752 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10753 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10754 (strchr): Remove __strchr_sse42 ifunc selection.
10755 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10756 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10757
10758 2013-09-11 Will Newton <will.newton@linaro.org>
10759
10760 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10761 parameter to RES. Remove hardcoded 1000 value.
10762 * benchtests/bench-skeleton.c (main): Pass RES parameter
10763 to TIMING_INIT and multiply result by 1000.
10764
10765 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10766
10767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10768
10769 2013-09-11 Andreas Schwab <schwab@suse.de>
10770
10771 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10772 if not defined.
10773 (O_TMPFILE) [__USE_GNU]: Define.
10774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10775 Define.
10776
10777 2013-09-11 Will Newton <will.newton@linaro.org>
10778
10779 [BZ #15857]
10780 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10781 does not overflow.
10782
10783 2013-09-11 Will Newton <will.newton@linaro.org>
10784
10785 [BZ #15856]
10786 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10787 does not overflow.
10788
10789 2013-09-11 Will Newton <will.newton@linaro.org>
10790
10791 [BZ #15855]
10792 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10793 does not overflow.
10794
10795 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10796
10797 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10798 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10801 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10802
10803 2013-09-10 Allan McRae <allan@archlinux.org>
10804
10805 [BZ #15748]
10806 * manual/arith.texi (Parsing of Floats): Clarify
10807 cross-reference.
10808
10809 [BZ #15849]
10810 * manual/install.texi (Running make install): Mention
10811 --enable-pt-chown.
10812 * INSTALL: Regenerated.
10813
10814 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10815
10816 * csu/init-first.c (_init): Remove the !SHARED condition around
10817 FPU control word initialization.
10818 * elf/dl-support.c (_dl_fpu_control): New variable.
10819 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10820 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10821 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10822 * math/test-fpucw-static.c: New file.
10823 * math/test-fpucw-ieee.c: New file.
10824 * math/test-fpucw-ieee-static.c: New file.
10825 * math/Makefile (tests): Add `test-fpucw-ieee' and
10826 `$(tests-static)'.
10827 (tests-static): New variable.
10828 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10829 dependency to...
10830 [($(build-shared),yes)]
10831 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10832 ... this.
10833 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10834 New dependency.
10835
10836 2013-09-09 Allan McRae <allan@archlinux.org>
10837
10838 [BZ #15939]
10839 * manual/string.texi (Collation Functions): Fix typo in
10840 strcoll example.
10841 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10842
10843 [BZ #15893]
10844 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10845
10846 [BZ #15892]
10847 * libio/memstream.c (open_memstream): Fix memory leak.
10848 * libio/wmemstream.c (open_wmemstream): Likewise.
10849
10850 [BZ #15895]
10851 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10852
10853 2013-09-09 Will Newton <will.newton@linaro.org>
10854
10855 * malloc/Makefile: Add tst-realloc to tests.
10856 * malloc/tst-realloc.c: New file.
10857
10858 2013-09-09 Allan McRae <allan@archlinux.org>
10859
10860 [BZ #15844]
10861 * COPYING: Update from GNU website to fix FSF address.
10862 * COPYING.LIB: Likewise.
10863
10864 2013-09-06 David S. Miller <davem@davemloft.net>
10865
10866 * po/zh_TW.po: Update Chinese (traditional) translation from
10867 translation project.
10868
10869 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10870 Joseph Myers <joseph@codesourcery.com>
10871
10872 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10873 "localeinfo.h".
10874 (obstack_chunk_alloc): New macro.
10875 (obstack_chunk_free): Likewise.
10876 (record_offset): New function.
10877 (init_locale_data): Likewise.
10878 (align_locale_data): Likewise.
10879 (add_locale_empty): Likewise.
10880 (add_locale_raw_data): Likewise.
10881 (add_locale_raw_obstack): Likewise.
10882 (add_locale_string): Likewise.
10883 (add_locale_wstring): Likewise.
10884 (add_locale_uint32): Likewise.
10885 (add_locale_uint32_array): Likewise.
10886 (add_locale_char): Likewise.
10887 (start_locale_structure): Likewise.
10888 (end_locale_structure): Likewise.
10889 (start_locale_prelude): Likewise.
10890 (end_locale_prelude): Likewise.
10891 (write_locale_data): Take locale_file structure rather than an
10892 iovec.
10893 * locale/programs/locfile.h: Include "obstack.h".
10894 (struct locale_file): Change to store locale file contents instead
10895 of header.
10896 (init_locale_data): New prototype.
10897 (align_locale_data): Likewise.
10898 (add_locale_empty): Likewise.
10899 (add_locale_raw_data): Likewise.
10900 (add_locale_raw_obstack): Likewise.
10901 (add_locale_string): Likewise.
10902 (add_locale_wstring): Likewise.
10903 (add_locale_uint32): Likewise.
10904 (add_locale_uint32_array): Likewise.
10905 (add_locale_char): Likewise.
10906 (start_locale_structure): Likewise.
10907 (end_locale_structure): Likewise.
10908 (start_locale_prelude): Likewise.
10909 (end_locale_prelude): Likewise.
10910 (write_locale_data): Update prototype.
10911 * locale/programs/3level.h (struct TABLE): Remove result field.
10912 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10913 Use new locale_file interface.
10914 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10915 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10916 * locale/programs/ld-address.c (address_output): Use new
10917 locale_file interface.
10918 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10919 NO_ADD_LOCALE.
10920 (collate_finish): Don't call collseq_table_finalize.
10921 (collate_output): Use new locale_file interface.
10922 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10923 in file.
10924 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10925 (TABLE): Move defines earlier in file.
10926 (ELEMENT): Likewise.
10927 (DEFAULT): Likewise.
10928 (wctrans_table_add): Move macro and inline function earlier in
10929 file.
10930 (struct wctype_table): Move type earlier in file.
10931 (add_locale_wctype_table): New static prototype.
10932 (struct locale_ctype_t): Use logical types instead of struct iovec
10933 pointers for members.
10934 (ctype_output): Use new locale_file interface.
10935 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10936 new locale_file interface.
10937 (allocate_arrays): Update for use of new locale_file interface.
10938 * locale/programs/ld-identification.c (identification_output): Use
10939 new locale_file interface.
10940 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10941 * locale/programs/ld-messages.c (messages_output): Likewise.
10942 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10943 * locale/programs/ld-name.c (name_output): Likewise.
10944 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10945 * locale/programs/ld-paper.c (paper_output): Likewise.
10946 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10947 * locale/programs/ld-time.c (time_output): Likewise.
10948
10949 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10950
10951 * benchtests/Makefile: Add memrchr benchmark.
10952 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10953 benchmark as memrchr.
10954 * benchtests/bench-memrchr-ifunc.c: New file.
10955 * benchtests/bench-memrchr.c: New file.
10956
10957 2013-09-06 Will Newton <will.newton@linaro.org>
10958
10959 * benchtests/Makefile (string-bench): Add memcpy.
10960
10961 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10962 Cong Wang <amwang@redhat.com>
10963
10964 [BZ #15850]
10965 * sysdeps/unix/sysv/linux/bits/in.h
10966 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10967 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10968 before __USE_KERNEL_IPV6_DEFS uses.
10969 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10970 IPPROTO_BEETPH.
10971 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10972 sockaddr_in6, or ipv6_mreq.
10973
10974 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10975
10976 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10977 memory access for final bytes in some large inputs.
10978 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10979
10980 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10981
10982 * string/test-memrchr.c: New file.
10983 * string/test-memrchr-ifunc.c: New file.
10984 * string/Makefile: Add new memrchr testcase.
10985
10986 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10987
10988 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10989 fanotify_init returns EPERM.
10990
10991 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10992
10993 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10994 errors.
10995 (top level): Treat second token from macro or constant entries for
10996 allowed headers as allowed.
10997 * include/complex.h: Condition internal declarations on
10998 [!_ISOMAC].
10999 * include/fenv.h: Condition include of <stdbool.h> and internal
11000 declarations on [!_ISOMAC].
11001
11002 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11003
11004 [BZ #15923]
11005 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11006
11007 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11008
11009 * configure.in (--enable-versioning): Remove configure option.
11010 (libc_cv_asm_symver_directive): Remove configure test.
11011 (libc_cv_ld_version_script_option): Likewise.
11012 (VERSIONING): Remove variable and AC_SUBST.
11013 (DO_VERSIONING): Remove AC_DEFINE.
11014 * configure: Regenerated.
11015 * config.h.in (DO_VERSIONING): Remove macro.
11016 * Makerules [$(versioning) = yes]: Change conditionals to
11017 [$(build-shared) = yes].
11018 * config.make.in (versioning): Remove variable.
11019 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11020 [$(build-shared) = yes].
11021 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11022 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11023 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11024 [$(build-shared) = yes].
11025 * extra-lib.mk [$(versioning) = yes]: Likewise.
11026 * hurd/Makefile [$(versioning) = yes]: Likewise.
11027 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11028 [SHARED].
11029 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11030 [SHARED].
11031 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11032 [SHARED && !NO_HIDDEN].
11033 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11034 [SHARED].
11035 [SHARED && DO_VERSIONING]: Likewise..
11036 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11037 [$(build-shared) = yes].
11038 * manual/install.texi (--disable-versioning): Remove
11039 documentation.
11040 * INSTALL: Regenerated.
11041 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11042 to [SHARED].
11043 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11044 [$(build-shared) = yes].
11045 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11046 * sysdeps/i386/i686/multiarch/strstr-c.c
11047 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11048 [SHARED && !NO_HIDDEN].
11049 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11050 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11051 * sysdeps/powerpc/powerpc32/dl-machine.c
11052 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11053 * sysdeps/powerpc/powerpc32/sysdep.h
11054 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11055 to [SHARED && PIC && !NO_HIDDEN].
11056 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11057 conditional to [SHARED].
11058
11059 2013-09-04 Will Newton <will.newton@linaro.org>
11060
11061 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11062 * benchtests/bench-string.h: Include bench-timing.h instead
11063 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11064 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11065 call to HP_TIMING_DIFF_INIT.
11066 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11067 instead of hp-timing.h macros.
11068 * benchtests/bench-memchr.c: Likewise.
11069 * benchtests/bench-memcmp.c: Likewise.
11070 * benchtests/bench-memcpy.c: Likewise.
11071 * benchtests/bench-memmem.c: Likewise.
11072 * benchtests/bench-memmove.c: Likewise.
11073 * benchtests/bench-memset.c: Likewise.
11074 * benchtests/bench-rawmemchr.c: Likewise.
11075 * benchtests/bench-strcasecmp.c: Likewise.
11076 * benchtests/bench-strcasestr.c: Likewise.
11077 * benchtests/bench-strcat.c: Likewise.
11078 * benchtests/bench-strchr.c: Likewise.
11079 * benchtests/bench-strcmp.c: Likewise.
11080 * benchtests/bench-strcpy.c: Likewise.
11081 * benchtests/bench-strcpy_chk.c: Likewise.
11082 * benchtests/bench-strlen.c: Likewise.
11083 * benchtests/bench-strncasecmp.c: Likewise.
11084 * benchtests/bench-strncat.c: Likewise.
11085 * benchtests/bench-strncmp.c: Likewise.
11086 * benchtests/bench-strncpy.c: Likewise.
11087 * benchtests/bench-strnlen.c: Likewise.
11088 * benchtests/bench-strpbrk.c: Likewise.
11089 * benchtests/bench-strrchr.c: Likewise.
11090 * benchtests/bench-strspn.c: Likewise.
11091 * benchtests/bench-strstr.c: Likewise.
11092
11093 2013-09-04 Will Newton <will.newton@linaro.org>
11094
11095 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11096
11097 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11098
11099 [BZ #15427]
11100 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11101 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11102 * math/libm-test.inc (lgamma_test_data): Add more tests.
11103 * sysdeps/i386/fpu/libm-test-ulps: Update.
11104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11105
11106 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11107
11108 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11109 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11110 Add ifunc.
11111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11112 Add strcmp-sse2-unaligned
11113 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11114
11115 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11116
11117 * Versions.def (libc): Add GLIBC_2.19.
11118
11119 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11120
11121 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11122 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11123
11124 2013-09-02 Joseph Myers <joseph@codesourcery.com>
11125
11126 [BZ #14155]
11127 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11128 intermediate calculations in recurrence.
11129 (__ieee754_ynf): Likewise.
11130 * math/libm-test.inc (jn_test_data): Do not allow spurious
11131 underflow exception. Add more tests.
11132 (yn_test_data): Add more tests.
11133 * sysdeps/i386/fpu/libm-test-ulps: Update.
11134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11135
11136 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
11137
11138 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11139
11140 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11141
11142 * csu/init-first.c: Fix then/than typos.
11143 * locale/programs/ld-collate.c: Likewise.
11144 * locale/programs/linereader.h: Likewise.
11145 * manual/charset.texi: Likewise.
11146 * manual/filesys.texi: Likewise.
11147 * manual/stdio.texi: Likewise.
11148 * manual/string.texi: Likewise.
11149 * stdlib/fmtmsg.c: Likewise.
11150 * sysdeps/i386/stpncpy.S: Likewise.
11151 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11152 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11153 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11154 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11155
11156 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11157
11158 * elf/dl-open.c: Fix typos.
11159 * iconvdata/gbbig5.c: Likewise.
11160 * iconvdata/iso-2022-jp.c: Likewise.
11161 * iconv/gconv_int.h: Likewise.
11162 * iconv/loop.c: Likewise.
11163 * nis/rpcsvc/nis.h: Likewise.
11164 * resolv/ns_name.c: Likewise.
11165 * stdio-common/vfscanf.c: Likewise.
11166 * streams/stropts.h: Likewise.
11167 * sunrpc/rpc_thread.c: Likewise.
11168 * sysdeps/i386/strpbrk.S: Likewise.
11169 * sysdeps/ieee754/k_standard.c: Likewise.
11170 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11172 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11173 * sysdeps/mach/hurd/profil.c: Likewise.
11174 * sysdeps/s390/dl-procinfo.h: Likewise.
11175 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11176 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11177 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11178 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11179 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11180
11181 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11182
11183 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11185
11186 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11187
11188 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11189 aix specific files.
11190 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11191 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11192 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11193 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11194 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11195 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11196 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11197 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11198
11199 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11200 Roland McGrath <roland@hack.frob.com>
11201
11202 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11203 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11204
11205 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11206
11207 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11208 __executable_start symbol instead of _start.
11209
11210 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11211
11212 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11213 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11214 Move macros to...
11215 * sysdeps/gnu/ldsodefs.h: ... this new file.
11216
11217 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11218 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11219 instead of ELFOSABI_LINUX.
11220
11221 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11222 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11223 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11224 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11225 Likewise.
11226 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11227 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11228 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11229 Likewise.
11230 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11231 (ibm_extended_long_double): Add ieee_nan member.
11232 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11233 (do_test): New function.
11234
11235 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11236 TEST_TRUNC.
11237 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11238 functions, renamed from truncdfsf_test, trunctfsf_test,
11239 trunctfdf_test.
11240 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11241 functions.
11242 (do_test): Run all these.
11243
11244 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11245
11246 * argp/argp-help.c: Fix typos.
11247 * argp/argp-parse.c: Likewise.
11248 * debug/backtracesyms.c: Likewise.
11249 * elf/elf.h: Likewise.
11250 * malloc/malloc.c: Likewise.
11251 * nis/nis_print.c: Likewise.
11252 * resolv/res_comp.c: Likewise.
11253 * stdlib/stdlib.h: Likewise.
11254 * sunrpc/clnt_tcp.c: Likewise.
11255 * sunrpc/clnt_udp.c: Likewise.
11256 * sunrpc/clnt_unix.c: Likewise.
11257 * sysdeps/unix/bsd/ptsname.c: Likewise.
11258 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11259 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11261 Likewise.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11263 Likewise.
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11265 Likewise.
11266 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11267
11268 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11269
11270 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11272
11273 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11274
11275 [BZ #15897]
11276 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11277 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11278 ($(objpfx)bug-dl-leaf): New rule.
11279 ($(objpfx)bug-dl-leaf.so): Likewise.
11280 ($(objpfx)bug-dl-leaf.out): Likewise.
11281 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11282 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11283 * dlfcn/bug-dl-leaf.c: New test.
11284 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11285 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11286 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11287 (dlclose): Likewise.
11288 (dlmopen): Likewise.
11289
11290 2013-08-27 Roland McGrath <roland@hack.frob.com>
11291
11292 * include/netdb.h [!_ISOMAC]:
11293 Don't include <tls.h>.
11294 (h_errno, __libc_h_errno): Move declaration and macros out of
11295 [_LIBC_REENTRANT].
11296
11297 * include/resolv.h [_RESOLV_H_]:
11298 Don't include <tls.h>.
11299 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11300 * resolv/res_libc.c: Don't include <tls.h>.
11301 (_res): Use __attribute__ ((nocommon)) in place of
11302 __attribute__ ((section (".bss"))).
11303
11304 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11305 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11306
11307 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11308
11309 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11310 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11311
11312 * resolv/res_mkquery.c: Include <sys/time.h>.
11313
11314 * inet/ifreq.c: Moved to ...
11315 * sysdeps/unix/ifreq.c: ... here.
11316 * inet/ifreq.c: New file, true stub version.
11317
11318 * socket/sa_len.c: New file.
11319 * socket/Makefile (aux): Add it.
11320 * sysdeps/unix/sysv/linux/Makefile
11321 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11322 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11323 and #include <socket/sa_len.c>.
11324 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11325 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11326
11327 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11328 * bits/socket.h: ... here.
11329
11330 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11331 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11332 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11333
11334 2013-08-27 Andreas Schwab <schwab@suse.de>
11335
11336 [BZ #15736]
11337 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11338 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11339 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11340 * string/test-strcasecmp.c (test_main): Run tests in several
11341 locales.
11342 * string/test-strncasecmp.c (test_main): Likewise.
11343
11344 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11345 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11346 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11347 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11348 (__strncasecmp_ssse3) [PIC]: Likewise.
11349
11350 2013-08-26 Roland McGrath <roland@hack.frob.com>
11351
11352 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11353
11354 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11355 instead of explicitly declaring xdecrypt.
11356 * nis/nss_nis/nis-publickey.c: Likewise.
11357
11358 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11359
11360 [BZ #15890]
11361 * nscd/aicache.c: Include res_hconf.h.
11362 (addhstaiX): Initialize res_hconf.
11363
11364 2013-08-26 Andreas Schwab <schwab@suse.de>
11365
11366 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11367 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11368
11369 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11370
11371 * nscd/aicache.c (addhstaiX): Fix indentation.
11372
11373 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11374
11375 * configure.ac: Quote $build_pt_chown test.
11376 * configure: Regenerated.
11377
11378 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11379
11380 [BZ #15532]
11381 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11382 * math/s_cexpf.c (__cexpf): Likewise.
11383 * math/s_cexpl.c (__cexpl): Likewise.
11384 * math/libm-test.inc (cexp_test_data): Correct expected return
11385 value for NaN + i0. Add another test.
11386
11387 2013-08-22 David S. Miller <davem@davemloft.net>
11388
11389 * po/ca.po: Update Catalan translation from translation project.
11390 * po/uk.po: Add Ukrainian translations from translation project.
11391
11392 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11393
11394 [BZ #15797]
11395 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11396 is infinite, not alongside NaN test.
11397 * math/s_fdimf.c (__fdimf): Likewise.
11398 * math/s_fdiml.c (__fdiml): Likewise.
11399 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11400 errno is unchanged.
11401
11402 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11403
11404 * argp/argp-help.c: Fix typos.
11405 * crypt/speeds.c: Likewise.
11406 * csu/check_fds.c: Likewise.
11407 * elf/dl-load.c: Likewise.
11408 * elf/dl-open.c: Likewise.
11409 * elf/reldep3.c: Likewise.
11410 * elf/reldep.c: Likewise.
11411 * elf/sprof.c: Likewise.
11412 * iconv/iconv_charmap.c: Likewise.
11413 * iconv/skeleton.c: Likewise.
11414 * iconv/strtab.c: Likewise.
11415 * io/lockf64.c: Likewise.
11416 * libio/libioP.h: Likewise.
11417 * resolv/gai_notify.c: Likewise.
11418 * resolv/ns_name.c: Likewise.
11419 * resolv/ns_samedomain.c: Likewise.
11420 * resolv/res_send.c: Likewise.
11421 * stdlib/random.c: Likewise.
11422 * sunrpc/rpc/xdr.h: Likewise.
11423 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11424 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11425 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11426 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11427 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11428 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11429 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11430 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11431 * sysdeps/mach/hurd/check_fds.c: Likewise.
11432 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11433 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11434 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11435 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11436 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11437 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11438 * sysdeps/pthread/aio_notify.c: Likewise.
11439 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11440 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11441 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11442 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11443 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11444
11445 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11446
11447 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11448 version if bit_Slow_SSE4_2 is set.
11449 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11450 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11451
11452 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11453
11454 [BZ #15867]
11455 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11456 trampoline stack frame information.
11457 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11458 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11459 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11460 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11461 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11462 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11463 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11464 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11465 sa_flags value.
11466 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11467 interrupting a syscall and set with option SA_SIGINFO.
11468
11469 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11470
11471 [BZ #15531]
11472 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11473 argument is infinite.
11474 * math/s_cprojf.c (__cprojf): Likewise.
11475 * math/s_cprojl.c (__cprojl): Likewise.
11476 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11477 * math/libm-test.inc (cproj_test_data): Add more tests.
11478
11479 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11480
11481 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11482 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11483 size. Use __ffs to determine corresponding shift.
11484
11485 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11486 Roland McGrath <roland@hack.frob.com>
11487
11488 * Makefile (INSTALL): Remove trailing blank lines from output of
11489 makeinfo.
11490
11491 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11492
11493 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11494 Align 32 bit compat elf_greg to 8 bytes.
11495
11496 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11497
11498 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11499
11500 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11501
11502 * string/strcoll_l.c (coll_seq): New structure.
11503 (get_next_seq_cached): New function.
11504 (get_next_seq): New function.
11505 (do_compare): New function.
11506 (STRCOLL): Use GNU style definition. Simplify implementation
11507 by using get_next_seq, get_next_seq_cached and do_compare.
11508
11509 2013-08-16 Florian Weimer <fweimer@redhat.com>
11510
11511 [BZ #14699]
11512 CVE-2013-4237
11513 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11514 member.
11515 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11516 member.
11517 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11518 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11519 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11520 conditional.
11521 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11522 GETDENTS_64BIT_ALIGNED.
11523 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11524 * manual/filesys.texi (Reading/Closing Directory): Document
11525 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11526 strongly.
11527 * manual/conf.texi (Limits for Files): Add portability note to
11528 NAME_MAX, PATH_MAX.
11529 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11530
11531 2013-08-13 Andreas Schwab <schwab@suse.de>
11532
11533 [BZ #15749]
11534 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11535 of fabs.
11536 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11537 LDBL_MAX_EXP >= 16384]: Add tests for it.
11538
11539 2013-08-12 David S. Miller <davem@davemloft.net>
11540
11541 * version.h (RELEASE): Set to "development".
11542 (VERSION): Set to "2.18.90".
11543 * NEWS: Add 2.19 section.
11544
11545 2013-08-03 David S. Miller <davem@davemloft.net>
11546
11547 * po/ko.po: Update Korean translation from translation project.
11548
11549 2013-08-01 David S. Miller <davem@davemloft.net>
11550
11551 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11552 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11553 Bilka.
11554
11555 2013-07-30 David S. Miller <davem@davemloft.net>
11556
11557 * po/fr.po: Update French translation from translation project.
11558
11559 2013-07-28 David S. Miller <davem@davemloft.net>
11560
11561 * po/cs.po: Update Czech translation from translation project.
11562
11563 * po/sv.po: Update Swedish translation from translation project.
11564
11565 2013-07-27 David S. Miller <davem@davemloft.net>
11566
11567 * po/eo.po: Update Esperanto translation from translation project.
11568
11569 * po/vi.po: Update Vietnamese translation from translation project.
11570
11571 * po/de.po: Update German translation from translation project.
11572
11573 2013-07-26 David S. Miller <davem@davemloft.net>
11574
11575 * po/bg.po: Update Bulgarian translation from translation project.
11576
11577 * po/nl.po: Update Dutch translation from translation project.
11578 * po/pl.po: Update Polish translation from translation project.
11579 * po/ru.po: Update Russian translation from translation project.
11580
11581 2013-07-24 David S. Miller <davem@davemloft.net>
11582
11583 * po/libc.pot: Update.
11584
11585 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11586
11587 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11588 variable page size.
11589 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11590 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11591 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11592
11593 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11594
11595 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11596
11597 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11598 Andreas Schwab <schwab@suse.de>
11599 Roland McGrath <roland@hack.frob.com>
11600 Joseph Myers <joseph@codesourcery.com>
11601 Carlos O'Donell <carlos@redhat.com>
11602
11603 [BZ #15755]
11604 * config.h.in: Define HAVE_PT_CHOWN.
11605 * config.make.in (build-pt-chown): New variable.
11606 * configure.in (--enable-pt_chown): New configure option.
11607 * configure: Regenerate.
11608 * login/Makefile: Include Makeconfig. Build pt_chown only if
11609 build-pt-chown is enabled.
11610 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11611 pt_chown to fix pty ownership.
11612 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11613 CLOSE_ALL_FDS.
11614 * manual/install.texi (Configuring and compiling): Mention
11615 --enable-pt_chown. Add @findex for grantpt.
11616 * INSTALL: Regenerate.
11617
11618 2013-07-20 David S. Miller <davem@davemloft.net>
11619
11620 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11621 difference between 32-bit and 64-bit.
11622
11623 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11624
11625 [BZ #15711]
11626 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11627 Avoid system header dependency with -ffreestanding.
11628 ($(objpfx)bits/syscall%d): Likewise.
11629
11630 2013-07-13 David S. Miller <davem@davemloft.net>
11631
11632 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11633 underflows from atanl/atan2l due to bug 15319.
11634 (casinh_test_data): Likewise.
11635
11636 2013-07-07 David S. Miller <davem@davemloft.net>
11637
11638 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11639
11640 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11641
11642 * sysdeps/i386/fpu/libm-test-ulps: Update.
11643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11644
11645 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11646
11647 * configure.in (--enable-lock-elision): Fix message text.
11648 * INSTALL: Regenerate.
11649 * configure: Regenerate.
11650
11651 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11652
11653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11654
11655 2013-07-03 Andreas Jaeger <aj@suse.de>
11656
11657 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11658 define.
11659 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11660 (ptrace_peeksiginfo_args): Add.
11661 (__ptrace_peeksiginfo_flags): Add.
11662 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11664 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11665
11666 2013-07-03 Allan McRae <allan@archlinux.org>
11667
11668 * sysdeps/i386/fpu/libm-test-ulps: Update.
11669
11670 2013-07-02 David S. Miller <davem@davemloft.net>
11671
11672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11673
11674 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11675
11676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11677
11678 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11679
11680 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11682
11683 2013-07-02 Andi Kleen <ak@linux.intel.com>
11684
11685 * config.h.in (ENABLE_LOCK_ELISION): Add.
11686 * configure.in (--enable-lock-elision): Add option.
11687 * manual/install.texi: Document --enable lock elision.
11688 * configure: Regenerate
11689 * INSTALL: Regenerate.
11690
11691 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11692
11693 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11694 SSE4.2 strcasecmp for libc.a.
11695 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11696
11697 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11698
11699 [BZ #13304]
11700 * soft-fp/op-common.h (_FP_FMA): New macro.
11701 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11702 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11703 (_FP_MUL_MEAT_1_imm): ... here.
11704 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11705 (_FP_MUL_MEAT_1_wide): ... here.
11706 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11707 (_FP_MUL_MEAT_1_hard): ... here.
11708 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11709 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11710 (_FP_MUL_MEAT_2_wide): ... here.
11711 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11712 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11713 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11714 (_FP_MUL_MEAT_2_gmp): ... here.
11715 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11716 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11717 (_FP_MUL_MEAT_4_wide): ... here.
11718 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11719 (_FP_MUL_MEAT_4_gmp): ... here.
11720 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11721 (_FP_WFRACBITS_DW_S): Likewise.
11722 (_FP_WFRACXBITS_DW_S): Likewise.
11723 (_FP_HIGHBIT_DW_S): Likewise.
11724 (FP_FMA_S): Likewise.
11725 (_FP_FRAC_HIGH_DW_S): Likewise.
11726 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11727 (_FP_WFRACBITS_DW_D): Likewise.
11728 (_FP_WFRACXBITS_DW_D): Likewise.
11729 (_FP_HIGHBIT_DW_D): Likewise.
11730 (FP_FMA_D): Likewise.
11731 (_FP_FRAC_HIGH_DW_D): Likewise.
11732 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11733 (_FP_WFRACBITS_DW_E): Likewise.
11734 (_FP_WFRACXBITS_DW_E): Likewise.
11735 (_FP_HIGHBIT_DW_E): Likewise.
11736 (FP_FMA_E): Likewise.
11737 (_FP_FRAC_HIGH_DW_E): Likewise.
11738 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11739 (_FP_WFRACBITS_DW_Q): Likewise.
11740 (_FP_WFRACXBITS_DW_Q): Likewise.
11741 (_FP_HIGHBIT_DW_Q): Likewise.
11742 (FP_FMA_Q): Likewise.
11743 (_FP_FRAC_HIGH_DW_Q): Likewise.
11744 * soft-fp/fmasf4.c: New file.
11745 * soft-fp/fmadf4.c: Likewise.
11746 * soft-fp/fmatf4.c: Likewise.
11747
11748 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11749
11750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11751 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11752 Silvermont.
11753 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11754 macro.
11755 (index_Slow_SSE4_2): Likewise.
11756 (index_Prefer_PMINUB_for_stringop): Likewise.
11757 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11758 bit_Slow_SSE4_2 is set.
11759 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11760 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11761
11762 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11763
11764 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11765 rtld_global._dl_hwcap2.
11766 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11767 POWER8.
11768 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11769 POWER8 feature descriptions defined in _dl_hwcap2.
11770 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11771 string handling for POWER8 feature bits.
11772 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11773 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11774 _dl_powerpc_cap_flags.
11775 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11776 * sysdeps/powerpc/rtld-global-offsets.sym
11777 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11778 _dl_hwcap2 in the rtld_global_ro structure.
11779
11780 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11781
11782 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11783 hardware capabilities in support of AT_HWCAP2.
11784 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11785 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11786 GLRO(dl_hwcap2).
11787 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11788 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11789 explicitly the unknown a_type display mechanism is used.
11790 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11791 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11792 struct member.
11793 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11794 to macro prototype for AT_HWCAP2 support.
11795 * sysdeps/i386/dl-procinfo.h: Likewise.
11796 * sysdeps/s390/dl-procinfo.h: Likewise.
11797 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11798 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11799 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11800 return -1 for unknown a_type display fallback.
11801 * sysdeps/sparc/dl-procinfo.h: Likewise.
11802 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11803 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11804
11805 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11806
11807 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11808 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11809
11810 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11811
11812 [BZ #12492]
11813 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11814 mprotect making __stack_prot writable.
11815
11816 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11817 Joseph Myers <joseph@codesourcery.com>
11818
11819 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11820 as being properly aligned.
11821
11822 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11823
11824 * dlfcn/modstatic5.c: New file.
11825 * dlfcn/tststatic5.c: New file.
11826 * dlfcn/Makefile (tests): Add tststatic5.
11827 (tests-static): Likewise.
11828 (modules-names): Add modstatic5.
11829 (tststatic5-ENV): New variable.
11830 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11831
11832 [BZ #15022]
11833 * elf/dl-support.c (_dl_main_map): New variable.
11834 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11835 (_dl_nns, _dl_load_adds): Set to 1.
11836 (_dl_initial_searchlist): Refer to _dl_main_map.
11837 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11838 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11839 call to _dl_get_origin.
11840 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11841 around call_map.
11842 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11843 * dlfcn/modstatic3.c: New file.
11844 * dlfcn/tststatic3.c: New file.
11845 * dlfcn/tststatic4.c: New file.
11846 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11847 (tests-static): Likewise.
11848 (modules-names): Add modstatic3.
11849 (tststatic3-ENV, tststatic4-ENV): New variables.
11850 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11851 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11852
11853 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11854
11855 * configure.in (CC): Require GCC version 4.4 or later.
11856 * configure: Regenerated.
11857 * manual/install.texi (Tools for Compilation): Update GCC version
11858 requirement.
11859 * INSTALL: Regenerated.
11860
11861 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11862
11863 [BZ #15674]
11864 * string/test-memcmp.c (check2): New.
11865 (main): Call check2.
11866
11867 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11868
11869 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11870
11871 [BZ #15022]
11872 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11873 over to...
11874 (dl_open_worker) [!SHARED]: ... here.
11875
11876 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11877
11878 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11879
11880 2013-06-25 Richard Henderson <rth@redhat.com>
11881
11882 * locale/programs/locarchive.c: Include <libc-internal.h>
11883
11884 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11885
11886 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11887 trailing whitespace removed.
11888
11889 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11890
11891 [BZ #10283]
11892 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11893 * locale/programs/locarchive.c: Include libc-mmap.h.
11894 (prepare_address_space): Take two new outputs (the mmap base and len).
11895 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11896 values.
11897 (create_archive): Declare new mmap base and len values for
11898 prepare_address_space, and store the result in ah.
11899 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11900 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11901 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11902 Declare new mmap base and len values for
11903 prepare_address_space, and store the result in new_ah.
11904 (open_archive): Declare new mmap base and len values for
11905 prepare_address_space, and store the result in ah.
11906 (close_archive): If ah->mmap_base is not NULL, use that and
11907 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11908 * sysdeps/generic/libc-mmap.h: New file.
11909
11910 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11911
11912 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11913 (ALIGN_UP): Likewise.
11914 (PTR_ALIGN_DOWN): Likewise.
11915 (PTR_ALIGN_UP): Likewise.
11916
11917 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11918
11919 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11920 entry mapped to PPC_PLATFORM_POWER8.
11921 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11922 POWER8.
11923 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11924 (_dl_string_platform): Add case for exporting platform position for
11925 POWER8.
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11927 search path to sysdeps/powerpc/powerpc32/power8 directory.
11928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11929 search path to sysdeps/powerpc/powerpc64/power8 directory.
11930 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11931 power7 directories.
11932 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11933 power7 directories.
11934
11935 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11936
11937 * INSTALL: Regenerate.
11938
11939 * nscd/connections.c (nscd_init): Fix comment.
11940
11941 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11942
11943 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11944
11945 [BZ #15667]
11946 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11947 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11948
11949 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11950
11951 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11952 DL_DST_REQ_STATIC.
11953 (DL_DST_REQ_STATIC): Remove macro.
11954
11955 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11956
11957 [BZ #7006]
11958 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11959 with a shift of 0 bits.
11960
11961 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11962
11963 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11964 $(tststatic-ENV).
11965
11966 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11967
11968 [BZ #15655]
11969 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11970
11971 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11972
11973 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11974 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11975 accepts -fno-tree-loop-distribute-patterns.
11976 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11977 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11978 recursive call.
11979 * string/memset.c (memset): Likewise.
11980 * string/test-memmove.c (simple_memmove): Disable loop transformation
11981 to library calls.
11982 * string/test-memset.c (simple_memset): Likewise.
11983 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11984 * benchtests/bench-memset.c (simple_memset): Likewise.
11985 * configure: Regenerated.
11986
11987 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11988
11989 * math/test-misc.c (main): Ignore fesetround failure when failures
11990 of subsequent rounding tests would be ignored.
11991
11992 [BZ #15654]
11993 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11994 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11995 * math/fegetenv.c (__fegetenv): Return 0.
11996 * math/fegetexcept.c (fegetexcept): Return 0.
11997 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11998 FE_TONEAREST.
11999 * math/feholdexcpt.c (feholdexcept): Return 0.
12000 * math/fesetenv.c (__fesetenv): Return 0.
12001 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12002 argument FE_TONEAREST.
12003 * math/feupdateenv.c (__feupdateenv): Return 0.
12004 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12005
12006 2013-06-18 Roland McGrath <roland@hack.frob.com>
12007
12008 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12009 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12010 ($(objpfx)rtld-%.os rules): Use them.
12011
12012 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12013
12014 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12015 fields.
12016
12017 2013-06-17 Roland McGrath <roland@hack.frob.com>
12018
12019 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12020 length of target pattern, then descending length of dependency pattern.
12021 * configure.in (AWK): Require gawk 3.1.2 or newer.
12022 * manual/install.texi (Tools for Compilation): Say that we do.
12023 * configure: Regenerated.
12024
12025 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12026 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12027 * scripts/sysd-rules.awk: ... this new script.
12028 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12029 than a glob-style pattern.
12030
12031 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12032
12033 * math/test-misc.c (main): Do not treat incorrectly rounded
12034 conversions as failure unless ROUNDING_TESTS passes.
12035
12036 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12037
12038 [BZ #15631]
12039 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12040 restore exception state around main square root computation, then
12041 check for inexactness explicitly.
12042
12043 * math/libm-test.inc (fma_test_data): Add another test.
12044
12045 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12046
12047 * manual/threads.texi (Non-POSIX Extensions): New document
12048 node. Document pthread_getattr_default_np and
12049 pthread_setattr_default_np.
12050
12051 * Versions.def (libpthread): Add GLIBC_2.18.
12052 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12054 Likewise.
12055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12056 Likewise.
12057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12058 Likewise.
12059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12060 Likewise.
12061 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12062 Likewise.
12063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12064 Likewise.
12065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12066 Likewise.
12067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12068 Likewise.
12069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12070 Likewise.
12071
12072 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12073
12074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12075 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12076
12077 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12078 H.J. Lu <hjl.tools@gmail.com>
12079
12080 [BZ #15627]
12081 * sysdeps/x86_64/rtld-memset.c: Remove file.
12082 * sysdeps/x86_64/rtld-memset.S: New file.
12083
12084 2013-06-14 Joseph Myers <joseph@codesourcery.com>
12085
12086 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12087 (test_in_one_mode): Take arguments for whether the rounding mode
12088 is supported for each floating-point type.
12089 (do_test): Pass new arguments to test_in_one_mode using
12090 ROUNDING_TESTS.
12091
12092 2013-06-13 Roland McGrath <roland@hack.frob.com>
12093
12094 * posix/tst-waitid.c (do_test): Distinguish different instances of
12095 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12096 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12097 before entering the kernel for waitpid.
12098
12099 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12100
12101 * NEWS: Fix note on clock function precision. Text by Roland
12102 McGrath.
12103
12104 2013-06-13 Roland McGrath <roland@hack.frob.com>
12105
12106 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12107 it into place only when and if the sanity check passes.
12108
12109 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12110
12111 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12112 output for whether conversion result is exact. Take argument
12113 indicating whether type is IBM long double.
12114 (round_for_all): Change need_exact field to ibm_ld.
12115 * stdlib/tst-strtod-round.c (struct exactness): New type.
12116 (struct test): Change bool ld_ok field to struct exactness exact.
12117 (TEST): Update all definitions for change to field.
12118 (tests): Regenerate array contents.
12119 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12120 field value. Check for IBM long double here.
12121 (do_test): Update calls to test_in_one_mode.
12122
12123 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12124
12125 [BZ #12515]
12126 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12127 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12128
12129 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12130
12131 [BZ #15605]
12132 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12133 generated by the compiler on loop optimizations.
12134 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12135 general definitions.
12136
12137 2013-06-12 Joseph Myers <joseph@codesourcery.com>
12138
12139 * math/bug-nextafter.c: Include <math-tests.h>.
12140 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12141 the relevant type.
12142 * math/bug-nexttoward.c: Include <math-tests.h>.
12143 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12144 the relevant type.
12145 * math/test-misc.c: Include <math-tests.h>.
12146 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12147 the relevant type.
12148
12149 2013-06-12 Andreas Jaeger <aj@suse.de>
12150
12151 * po/ia.po: Update Interlingua translation from translation
12152 project.
12153
12154 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12155
12156 * include/fenv.h: Include stdbool.h.
12157 (struct rm_ctx): New structure.
12158 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12159 Define macro.
12160 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12161 (SET_RESTORE_ROUNDF): Likewise.
12162 (SET_RESTORE_ROUNDL): Likewise.
12163 (SET_RESTORE_ROUND_NOEX): Likewise.
12164 (SET_RESTORE_ROUND_NOEXF): Likewise.
12165 (SET_RESTORE_ROUND_NOEXL): Likewise.
12166 (SET_RESTORE_ROUND_53BIT): Likewise.
12167 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12168 (libc_feresetround_noexf_ctx): Likewise.
12169 (libc_feresetround_noexl_ctx): Likewise.
12170 (libc_feholdsetround_53bit_ctx): Likewise.
12171 (libc_feresetround_53bit_ctx): Likewise.
12172 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12173 (libc_feholdexcept_setround_sse_ctx): New function.
12174 (libc_fesetenv_sse_ctx): Likewise.
12175 (libc_feupdateenv_sse_ctx): Likewise.
12176 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12177 (libc_feholdexcept_setround_387_ctx): Likewise.
12178 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12179 (libc_feholdsetround_387_prec_ctx): Likewise.
12180 (libc_feholdsetround_387_ctx): Likewise.
12181 (libc_feholdsetround_387_53bit_ctx): Likewise.
12182 (libc_feholdsetround_sse_ctx): Likewise.
12183 (libc_feresetround_sse_ctx): Likewise.
12184 (libc_feresetround_387_ctx): Likewise.
12185 (libc_feupdateenv_387_ctx): Likewise.
12186 (libc_feholdexcept_setroundf_ctx): Define macro.
12187 (libc_fesetenvf_ctx): Likewise.
12188 (libc_feupdateenvf_ctx): Likewise.
12189 (libc_feholdsetroundf_ctx): Likewise.
12190 (libc_feresetroundf_ctx): Likewise.
12191 (libc_feholdexcept_setround_ctx): Likewise.
12192 (libc_fesetenv_ctx): Likewise.
12193 (libc_feupdateenv_ctx): Likewise.
12194 (libc_feholdsetround_ctx): Likewise.
12195 (libc_feresetround_ctx): Likewise.
12196 (libc_feholdexcept_setroundl_ctx): Likewise.
12197 (libc_feupdateenvl_ctx): Likewise.
12198 (libc_feholdsetroundl_ctx): Likewise.
12199 (libc_feresetroundl_ctx): Likewise.
12200 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12201 (libc_feresetround_53bit_ctx): Likewise.
12202
12203 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12204
12205 * locale/iso-639.def: Convert to UTF-8.
12206
12207 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12208
12209 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12210 (EXCEPTION_TESTS_double): Likewise.
12211 (EXCEPTION_TESTS_long_double): Likewise.
12212 (EXCEPTION_TESTS): Likewise.
12213 * math/libm-test.inc (test_exceptions): Only test exceptions if
12214 EXCEPTION_TESTS (FLOAT).
12215
12216 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12217
12218 * benchtests/Makefile (string-bench): Add strcpy_chk and
12219 stpcpy_chk.
12220 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12221 * benchtests/bench-stpcpy_chk.c: New file.
12222 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12223 * benchtests/bench-strcpy_chk.c: New file.
12224 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12225 code.
12226 (do_test): Likewise.
12227
12228 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12229
12230 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12231 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12232 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12233 with tabs where appropriate.
12234 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12235 dl-procinfo.h.
12236 [PPC_PLATFORM_PPC440]: Likewise.
12237 [PPC_PLATFORM_PPC464]: Likewise.
12238 [PPC_PLATFORM_PPC476]: Likewise.
12239 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12240 ppc464, and ppc476 platform strings merging from ports/
12241 dl-procinfo.h.
12242
12243 2013-06-11 Andreas Schwab <schwab@suse.de>
12244
12245 [BZ #14991]
12246 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12247 (from_ucs4_idx): Regenerate.
12248 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12249 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12250 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12251 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12252 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12253 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12254 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12255 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12256 from FROM_LOOP and TO_LOOP specific macros.
12257 (BODY): Handle combining characters.
12258 * iconvdata/BIG5HKSCS.irreversible: Update.
12259 * iconvdata/BIG5HKSCS.precomposed: New file.
12260 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12261 characters.
12262 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12263
12264 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12265
12266 * include/sys/time.h: Fix indentation and add copyright header.
12267
12268 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12269 (do_test): Likewise.
12270 * string/test-memchr.c (do_one_test): Likewise.
12271 (do_test): Likewise.
12272 * string/test-memcmp.c (do_one_test): Likewise.
12273 (do_test): Likewise.
12274 * string/test-memcpy.c (do_one_test): Likewise.
12275 (do_test): Likewise.
12276 * string/test-memmem.c (do_one_test): Likewise.
12277 (do_test): Likewise.
12278 (do_random_tests): Likewise.
12279 * string/test-memmove.c (do_one_test): Likewise.
12280 (do_test): Likewise.
12281 * string/test-memset.c (do_one_test): Likewise.
12282 (do_test): Likewise.
12283 * string/test-rawmemchr.c (do_one_test): Likewise.
12284 (do_test): Likewise.
12285 * string/test-strcasecmp.c (do_one_test): Likewise.
12286 (do_test): Likewise.
12287 * string/test-strcasestr.c (do_one_test): Likewise.
12288 (do_test): Likewise.
12289 * string/test-strcat.c (do_one_test): Likewise.
12290 (do_test): Likewise.
12291 * string/test-strchr.c (do_one_test): Likewise.
12292 (do_test): Likewise.
12293 * string/test-strcmp.c (do_one_test): Likewise.
12294 (do_test): Likewise.
12295 * string/test-strcpy.c (do_one_test): Likewise.
12296 (do_test): Likewise.
12297 * string/test-string.h: Likewise.
12298 (test_init): Likewise.
12299 * string/test-strlen.c (do_one_test): Likewise.
12300 (do_test): Likewise.
12301 * string/test-strncasecmp.c (do_one_test): Likewise.
12302 (do_test): Likewise.
12303 * string/test-strncat.c (do_one_test): Likewise.
12304 (do_test): Likewise.
12305 * string/test-strncmp.c (do_one_test): Likewise.
12306 (do_test_limit): Likewise.
12307 (do_test): Likewise.
12308 * string/test-strncpy.c (do_one_test): Likewise.
12309 (do_test): Likewise.
12310 * string/test-strnlen.c (do_one_test): Likewise.
12311 (do_test): Likewise.
12312 * string/test-strpbrk.c (do_one_test): Likewise.
12313 (do_test): Likewise.
12314 * string/test-strrchr.c (do_one_test): Likewise.
12315 (do_test): Likewise.
12316 * string/test-strspn.c (do_one_test): Likewise.
12317 (do_test): Likewise.
12318 * string/test-strstr.c (do_one_test): Likewise.
12319 (do_test): Likewise.
12320
12321 * benchtests/Makefile (string-bench): Add string benchmarks.
12322 * benchtests/bench-bcopy-ifunc.c: New file.
12323 * benchtests/bench-bcopy.c: New file.
12324 * benchtests/bench-bzero-ifunc.c: New file.
12325 * benchtests/bench-bzero.c: New file.
12326 * benchtests/bench-memccpy-ifunc.c: New file.
12327 * benchtests/bench-memccpy.c: New file.
12328 * benchtests/bench-memchr-ifunc.c: New file.
12329 * benchtests/bench-memchr.c: New file.
12330 * benchtests/bench-memcmp-ifunc.c: New file.
12331 * benchtests/bench-memcmp.c: New file.
12332 * benchtests/bench-memmem-ifunc.c: New file.
12333 * benchtests/bench-memmem.c: New file.
12334 * benchtests/bench-memmove-ifunc.c: New file.
12335 * benchtests/bench-memmove.c: New file.
12336 * benchtests/bench-mempcpy-ifunc.c: New file.
12337 * benchtests/bench-mempcpy.c: New file.
12338 * benchtests/bench-memset-ifunc.c: New file.
12339 * benchtests/bench-memset.c: New file.
12340 * benchtests/bench-rawmemchr-ifunc.c: New file.
12341 * benchtests/bench-rawmemchr.c: New file.
12342 * benchtests/bench-stpcpy-ifunc.c: New file.
12343 * benchtests/bench-stpcpy.c: New file.
12344 * benchtests/bench-stpncpy-ifunc.c: New file.
12345 * benchtests/bench-stpncpy.c: New file.
12346 * benchtests/bench-strcasecmp-ifunc.c: New file.
12347 * benchtests/bench-strcasecmp.c: New file.
12348 * benchtests/bench-strcasestr-ifunc.c: New file.
12349 * benchtests/bench-strcasestr.c: New file.
12350 * benchtests/bench-strcat-ifunc.c: New file.
12351 * benchtests/bench-strcat.c: New file.
12352 * benchtests/bench-strchr-ifunc.c: New file.
12353 * benchtests/bench-strchr.c: New file.
12354 * benchtests/bench-strchrnul-ifunc.c: New file.
12355 * benchtests/bench-strchrnul.c: New file.
12356 * benchtests/bench-strcmp-ifunc.c: New file.
12357 * benchtests/bench-strcmp.c: New file.
12358 * benchtests/bench-strcpy-ifunc.c: New file.
12359 * benchtests/bench-strcpy.c: New file.
12360 * benchtests/bench-strcspn-ifunc.c: New file.
12361 * benchtests/bench-strcspn.c: New file.
12362 * benchtests/bench-strlen-ifunc.c: New file.
12363 * benchtests/bench-strlen.c: New file.
12364 * benchtests/bench-strncasecmp-ifunc.c: New file.
12365 * benchtests/bench-strncasecmp.c: New file.
12366 * benchtests/bench-strncat-ifunc.c: New file.
12367 * benchtests/bench-strncat.c: New file.
12368 * benchtests/bench-strncmp-ifunc.c: New file.
12369 * benchtests/bench-strncmp.c: New file.
12370 * benchtests/bench-strncpy-ifunc.c: New file.
12371 * benchtests/bench-strncpy.c: New file.
12372 * benchtests/bench-strnlen-ifunc.c: New file.
12373 * benchtests/bench-strnlen.c: New file.
12374 * benchtests/bench-strpbrk-ifunc.c: New file.
12375 * benchtests/bench-strpbrk.c: New file.
12376 * benchtests/bench-strrchr-ifunc.c: New file.
12377 * benchtests/bench-strrchr.c: New file.
12378 * benchtests/bench-strspn-ifunc.c: New file.
12379 * benchtests/bench-strspn.c: New file.
12380 * benchtests/bench-strstr-ifunc.c: New file.
12381 * benchtests/bench-strstr.c: New file.
12382
12383 * benchtests/Makefile: Disable parallel execution of targets.
12384 (string-bench): Add memcpy.
12385 (benchset): New variable to store a list of benchmark sets.
12386 (bench-func): Renamed from bench.
12387 (bench-set): New target.
12388 (bench): Depend on bench-func and bench-set.
12389 * benchtests/README: Add section on benchmark sets.
12390 * benchtests/bench-memcpy-ifunc.c: New file.
12391 * benchtests/bench-memcpy.c: New file.
12392 * benchtests/bench-string.h: New file.
12393
12394 2013-06-11 Andreas Schwab <schwab@suse.de>
12395
12396 [BZ #15577]
12397 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12398 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12399 values in the triple.
12400 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12401 terminator in the group key.
12402
12403 2013-06-11 Andreas Jaeger <aj@suse.de>
12404
12405 * po/zh_TW.po: Update Chinese (traditional) translation from
12406 translation project.
12407
12408 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12409
12410 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12411 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12412 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12413 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12414 (clock_getcpuclockid): Likewise.
12415 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12416 Add weak_alias and libc_hidden_def.
12417 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12418 * rt/clock_gettime.c (clock_gettime): Rename to
12419 __clock_gettime. Add weak_alias and libc_hidden_def.
12420 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12421 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12422 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12423 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12424 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12425 Likewise.
12426 * rt/clock_settime.c (clock_settime): Rename to
12427 __clock_settime. Add weak_alias and libc_hidden_def.
12428 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12429
12430 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12431
12432 * mach/err_boot.sub: Remove trailing whitespace.
12433 * mach/err_ipc.sub: Likewise.
12434 * mach/err_mach.sub: Likewise.
12435
12436 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12437 (ROUNDING_TESTS_double): Likewise.
12438 (ROUNDING_TESTS_long_double): Likewise.
12439 (ROUNDING_TESTS): Likewise.
12440 * math/libm-test.inc: Include <math-tests.h>.
12441 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12442 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12443 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12444 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12445
12446 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12447
12448 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12449 of assigning.
12450
12451 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12452
12453 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12454 otherwise empty TRANS lines.
12455 * sysdeps/gnu/errlist.c: Regenerated.
12456
12457 * catgets/gencat.c (error_print): Use (void) in function
12458 definition.
12459 * crypt/crypt_util.c (__init_des): Likewise.
12460 * crypt/speeds.c (Stop): Likewise.
12461 (main): Likewise.
12462 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12463 * inet/ruserpass.c (token): Likewise.
12464 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12465 * intl/localealias.c (extend_alias_table): Likewise.
12466 * intl/plural-exp.c (init_germanic_plural): Likewise.
12467 * libio/fcloseall.c (__fcloseall): Likewise.
12468 * libio/genops.c (_IO_flush_all): Likewise.
12469 (_IO_flush_all_linebuffered): Likewise.
12470 (_IO_cleanup): Likewise.
12471 (_IO_iter_begin): Likewise.
12472 (_IO_iter_end): Likewise.
12473 (_IO_list_lock): Likewise.
12474 (_IO_list_unlock): Likewise.
12475 (_IO_list_resetlock): Likewise.
12476 * libio/getchar.c (getchar): Likewise.
12477 * libio/getchar_u.c (getchar_unlocked): Likewise.
12478 * libio/getwchar.c (getwchar): Likewise.
12479 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12480 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12481 * login/getpt.c (__getpt): Likewise.
12482 * login/tst-utmp.c (main): Likewise.
12483 * malloc/hooks.c (__malloc_check_init): Likewise.
12484 * malloc/malloc.c (__malloc_stats): Likewise.
12485 * malloc/mtrace.c (tr_break): Likewise.
12486 (mtrace): Likewise.
12487 (muntrace): Likewise.
12488 * misc/fstab.c (endfsent): Likewise.
12489 * misc/getclktck.c (__getclktck): Likewise.
12490 * misc/getdtsz.c (__getdtablesize): Likewise.
12491 * misc/gethostid.c (gethostid): Likewise.
12492 * misc/getpagesize.c (__getpagesize): Likewise.
12493 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12494 (__get_nprocs): Likewise.
12495 (__get_phys_pages): Likewise.
12496 (__get_avphys_pages): Likewise.
12497 * misc/getttyent.c (getttyent): Likewise.
12498 (setttyent): Likewise.
12499 (endttyent): Likewise.
12500 * misc/getusershell.c (getusershell): Likewise.
12501 (endusershell): Likewise.
12502 (setusershell): Likewise.
12503 (initshells): Likewise.
12504 * misc/hsearch.c (__hdestroy): Likewise.
12505 * misc/sync.c (sync): Likewise.
12506 * misc/syslog.c (closelog_internal): Likewise.
12507 (closelog): Likewise.
12508 * misc/ttyslot.c (ttyslot): Likewise.
12509 * misc/vhangup.c (vhangup): Likewise.
12510 * posix/fork.c (__fork): Likewise.
12511 * posix/getegid.c (__getegid): Likewise.
12512 * posix/geteuid.c (__geteuid): Likewise.
12513 * posix/getgid.c (__getgid): Likewise.
12514 * posix/getpid.c (__getpid): Likewise.
12515 * posix/getppid.c (__getppid): Likewise.
12516 * posix/getuid.c (__getuid): Likewise.
12517 * posix/pause.c (pause): Likewise.
12518 * posix/setpgrp.c (setpgrp): Likewise.
12519 * posix/setsid.c (__setsid): Likewise.
12520 * posix/test-vfork.c (noop): Likewise.
12521 * resolv/gethnamaddr.c (_endhtent): Likewise.
12522 (_gethtent): Likewise.
12523 (ht_endhostent): Likewise.
12524 (gethostent): Likewise.
12525 (dns_service): Likewise.
12526 * stdlib/drand48.c (drand48): Likewise.
12527 * stdlib/lrand48.c (lrand48): Likewise.
12528 * stdlib/mrand48.c (mrand48): Likewise.
12529 * stdlib/rand.c (rand): Likewise.
12530 * stdlib/random.c (__random): Likewise.
12531 * stdlib/setenv.c (clearenv): Likewise.
12532 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12533 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12534 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12535 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12536 (__get_nprocs): Likewise.
12537 (__get_phys_pages): Likewise.
12538 (__get_avphys_pages): Likewise.
12539 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12540 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12541 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12542 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12543 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12544 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12545 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12546 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12547 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12548 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12549 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12550 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12551 * sysdeps/posix/clock.c (clock): Likewise.
12552 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12553 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12554 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12555 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12556 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12557 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12558 (__get_nprocs_conf): Likewise.
12559 (__get_phys_pages): Likewise.
12560 (__get_avphys_pages): Likewise.
12561 * time/clock.c (clock): Likewise.
12562 * time/tzset.c (__tzname_max): Likewise.
12563
12564 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12565
12566 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12567 (__bswap_32): Do not use "register".
12568 * crypt/crypt.c (_ufc_doit_r): Likewise.
12569 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12570 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12571 * gmon/gmon.c (__monstartup): Likewise.
12572 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12573 * hurd/hurdmalloc.c (more_memory): Likewise.
12574 (malloc): Likewise.
12575 (free): Likewise.
12576 (realloc): Likewise.
12577 (malloc_fork_prepare): Likewise.
12578 (malloc_fork_parent): Likewise.
12579 (malloc_fork_child): Likewise.
12580 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12581 (_svcauth_des): Likewise.
12582 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12583 * inet/inet_net.c (inet_network): Likewise.
12584 * inet/inet_netof.c (inet_netof): Likewise.
12585 * inet/rcmd.c (__validuser2_sa): Likewise.
12586 * io/fts.c (fts_open): Likewise.
12587 (fts_load): Likewise.
12588 (fts_close): Likewise.
12589 (fts_read): Likewise.
12590 (fts_children): Likewise.
12591 (fts_build): Likewise.
12592 (fts_stat): Likewise.
12593 (fts_sort): Likewise.
12594 (fts_alloc): Likewise.
12595 (fts_lfree): Likewise.
12596 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12597 (_IO_file_xsgetn): Likewise.
12598 (_IO_file_xsgetn_mmap): Likewise.
12599 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12600 (_IO_cookie_write): Likewise.
12601 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12602 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12603 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12604 * malloc/obstack.c (_obstack_begin): Likewise.
12605 (_obstack_begin_1): Likewise.
12606 (_obstack_newchunk): Likewise.
12607 (_obstack_allocated_p): Likewise.
12608 (obstack_free): Likewise.
12609 (_obstack_memory_used): Likewise.
12610 * misc/getttyent.c (getttynam): Likewise.
12611 (getttyent): Likewise.
12612 (skip): Likewise.
12613 (value): Likewise.
12614 * misc/getusershell.c (initshells): Likewise.
12615 * misc/syslog.c (__vsyslog_chk): Likewise.
12616 * misc/ttyslot.c (ttyslot): Likewise.
12617 * nis/nis_hash.c (__nis_hash): Likewise.
12618 * posix/fnmatch_loop.c (FCT): Likewise.
12619 * posix/getconf.c (print_all): Likewise.
12620 (main): Likewise.
12621 * posix/getopt.c (exchange): Likewise.
12622 * posix/glob.c (globfree): Likewise.
12623 (prefix_array): Likewise.
12624 (__glob_pattern_type): Likewise.
12625 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12626 (NS_GET32): Likewise.
12627 (NS_PUT16): Likewise.
12628 (NS_PUT32): Likewise.
12629 * resolv/gethnamaddr.c (getanswer): Likewise.
12630 (gethostbyname2): Likewise.
12631 (gethostbyaddr): Likewise.
12632 (_gethtent): Likewise.
12633 (_gethtbyname2): Likewise.
12634 (_gethtbyaddr): Likewise.
12635 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12636 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12637 * resolv/res_init.c (__res_vinit): Likewise.
12638 (net_mask): Likewise.
12639 * resolv/res_mkquery.c (outchar): Likewise.
12640 (PRINT): Likewise.
12641 * stdio-common/printf_fp.c (outchar): Likewise.
12642 (PRINT): Likewise.
12643 * stdio-common/printf_fphex.c (outchar): Likewise.
12644 (PRINT): Likewise.
12645 * stdio-common/printf_size.c (outchar): Likewise.
12646 (PRINT): Likewise.
12647 * stdio-common/test_rdwr.c (main): Likewise.
12648 * stdio-common/tfformat.c (matches): Likewise.
12649 * stdio-common/vfprintf.c (outchar): Likewise.
12650 (printf_unknown): Likewise.
12651 (buffered_vfprintf): Likewise.
12652 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12653 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12654 (ReadFile): Likewise.
12655 * stdlib/qsort.c (SWAP): Likewise.
12656 (_quicksort): Likewise.
12657 * stdlib/setenv.c (__add_to_environ): Likewise.
12658 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12659 * stdlib/strtol_l.c (__strtol_l): Likewise.
12660 * stdlib/tst-strtod.c (main): Likewise.
12661 * stdlib/tst-strtol.c (main): Likewise.
12662 * stdlib/tst-strtoll.c (main): Likewise.
12663 * string/bits/string2.h (__strcmp_cc): Likewise.
12664 (__strcmp_cg): Likewise.
12665 (__strcspn_c1): Likewise.
12666 (__strcspn_c2): Likewise.
12667 (__strcspn_c3): Likewise.
12668 (__strspn_c1): Likewise.
12669 (__strspn_c2): Likewise.
12670 (__strspn_c3): Likewise.
12671 (__strsep_1c): Likewise.
12672 (__strsep_2c): Likewise.
12673 (__strsep_3c): Likewise.
12674 * string/memccpy.c (__memccpy): Likewise.
12675 * string/stpcpy.c (__stpcpy): Likewise.
12676 * string/strcmp.c (strcmp): Likewise.
12677 * string/strrchr.c (strrchr): Likewise.
12678 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12679 Likewise.
12680 * sysdeps/mach/hurd/getcwd.c
12681 (_hurd_canonicalize_directory_name_internal): Likewise.
12682 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12683 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12684 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12685 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12686 Likewise, in both definitions.
12687 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12688 definitions.
12689 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12690 64] (__bswap_64): Likewise.
12691 * time/test_time.c (main): Likewise.
12692 * time/tzfile.c (__tzfile_read): Likewise.
12693 (__tzfile_compute): Likewise.
12694 * time/tzset.c (__tzset_parse_tz): Likewise.
12695 (tzset_internal): Likewise.
12696 (compute_change): Likewise.
12697 * wcsmbs/wcscat.c (__wcscat): Likewise.
12698 * wcsmbs/wcschr.c (wcschr): Likewise.
12699 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12700 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12701 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12702 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12703 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12704 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12705 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12706 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12707 * wcsmbs/wmemset.c (wmemset): Likewise.
12708
12709 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12710
12711 * scripts/config.guess: Update to version 2013-05-16.
12712 * scripts/config.sub: Update to version 2013-04-24.
12713 * scripts/install-sh: Update to version 2011-11-20.07.
12714 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12715 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12716
12717 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12718
12719 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12720 * elf/sln.c: Likewise.
12721 * hurd/hurd/ioctl.h: Likewise.
12722 * hurd/hurdmalloc.c: Likewise.
12723 * hurd/xattr.c: Likewise.
12724 * include/shlib-compat.h: Likewise.
12725 * inet/ruserpass.c: Likewise.
12726 * libio/iofgets_u.c: Likewise.
12727 * libio/iofgetws_u.c: Likewise.
12728 * locale/programs/ld-identification.c: Likewise.
12729 * locale/programs/ld-time.c: Likewise.
12730 * mach/msg-destroy.c: Likewise.
12731 * nss/nss_files/files-netgrp.c: Likewise.
12732 * resolv/res_data.c: Likewise.
12733 * soft-fp/op-1.h: Likewise.
12734 * soft-fp/op-2.h: Likewise.
12735 * soft-fp/op-4.h: Likewise.
12736 * soft-fp/op-common.h: Likewise.
12737 * stdio-common/printf_fphex.c: Likewise.
12738 * stdlib/strtod_l.c: Likewise.
12739 * sunrpc/rpc/clnt.h: Likewise.
12740 * sysdeps/generic/framestate.c: Likewise.
12741 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12742 * sysdeps/i386/bsd-setjmp.S: Likewise.
12743 * sysdeps/i386/__longjmp.S: Likewise.
12744 * sysdeps/i386/setjmp.S: Likewise.
12745 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12746 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12747 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12748 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12753 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12756 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12758 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12759 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12761 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12762 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12763 * sysdeps/ieee754/support.c: Likewise.
12764 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12765 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12766 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12767 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12768 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12769 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12770 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12771 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12772 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12773 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12774 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12775 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12776 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12777 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12778 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12779 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12780 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12782
12783 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12784
12785 * posix/transbug.c: Remove executable mode.
12786
12787 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12788
12789 * crypt/speeds.c: Remove trailing whitespace.
12790 * dlfcn/default.c: Likewise.
12791 * elf/ifuncdep2.c: Likewise.
12792 * elf/ifuncmain1.c: Likewise.
12793 * elf/ifuncmain1vis.c: Likewise.
12794 * elf/testobj.h: Likewise.
12795 * elf/tst-stackguard1.c: Likewise.
12796 * gmon/sys/gmon.h: Likewise.
12797 * hurd/hurdmsg.c: Likewise.
12798 * hurd/new-fd.c: Likewise.
12799 * hurd/ports-get.c: Likewise.
12800 * iconvdata/ibm1008_420.c: Likewise.
12801 * inet/tst-getni1.c: Likewise.
12802 * inet/tst-getni2.c: Likewise.
12803 * libio/ioungetc.c: Likewise.
12804 * libio/wfiledoalloc.c: Likewise.
12805 * manual/libm-err-tab.pl: Likewise.
12806 * math/w_dremf.c: Likewise.
12807 * misc/ftruncate.c: Likewise.
12808 * posix/bug-glob2.c: Likewise.
12809 * posix/tst-pcre.c: Likewise.
12810 * posix/wait4.c: Likewise.
12811 * resolv/README: Likewise.
12812 * resolv/res_debug.h: Likewise.
12813 * resolv/tst-inet_ntop.c: Likewise.
12814 * setjmp/bug269-setjmp.c: Likewise.
12815 * soft-fp/extended.h: Likewise.
12816 * soft-fp/op-1.h: Likewise.
12817 * soft-fp/op-2.h: Likewise.
12818 * soft-fp/op-4.h: Likewise.
12819 * soft-fp/op-8.h: Likewise.
12820 * soft-fp/testit.c: Likewise.
12821 * stdio-common/bug16.c: Likewise.
12822 * stdlib/random.c: Likewise.
12823 * sunrpc/rpcsvc/rquota.x: Likewise.
12824 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12825 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12826 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12827 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12828 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12829 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12830 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12831 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12832 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12833 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12834 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12851 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12852 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12853 * sysdeps/ieee754/s_lib_version.c: Likewise.
12854 * sysdeps/mach/hurd/check_fds.c: Likewise.
12855 * sysdeps/mach/hurd/getsockname.c: Likewise.
12856 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12857 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12858 * sysdeps/powerpc/bits/link.h: Likewise.
12859 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12860 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12861 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12862 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12863 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12864 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12865 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12866 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12867 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12868 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12869 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12870 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12871 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12872 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12873 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12874 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12875 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12876 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12877 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12878 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12879 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12880 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12881 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12882 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12883 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12884 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12885 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12886 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12887 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12888 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12889 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12890 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12891 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12892 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12893 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12894 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12895 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12896 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12897 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12898 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12899 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12900 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12901 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12902 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12903 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12904 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12905 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12906 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12907 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12908 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12909 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12910 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12911 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12912 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12913 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12914 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12915 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12916 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12917 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12918 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12919 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12920 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12921 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12922 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12923 * sysdeps/powerpc/sysdep.h: Likewise.
12924 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12925 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12926 * sysdeps/sh/dl-trampoline.S: Likewise.
12927 * sysdeps/sh/memset.S: Likewise.
12928 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12929 * sysdeps/sh/strlen.S: Likewise.
12930 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12931 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12932 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12933 * sysdeps/sparc/sparc32/rem.S: Likewise.
12934 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12935 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12936 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12937 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12938 * sysdeps/sparc/sparc32/urem.S: Likewise.
12939 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12940 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12941 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12942 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12943 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12944 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12945 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12946 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12947 * sysdeps/unix/bsd/times.c: Likewise.
12948 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12949 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12953 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12954 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12955 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12956 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12957 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12958 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12959 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12960 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12961 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12962 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12963 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12964 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12965 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12966 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12967 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12968 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12969 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12970 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12971 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12972 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12973 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12974 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12975 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12976 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12977 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12978 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12979 * sysdeps/x86_64/strcspn.S: Likewise.
12980
12981 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12982
12983 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12984 generated file. Regenerate properly from gen-translit.pl.
12985 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12986 locale/C-translit.h.
12987
12988 2013-06-05 Andreas Schwab <schwab@suse.de>
12989
12990 [BZ #15100]
12991 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12992 week as 6 instead of -1.
12993 * time/tst-strptime.c (day_tests): Add test case.
12994
12995 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12996
12997 * sysdeps/generic/math_private.h
12998 (libc_feholdexcept_setround_53bit): Replace with
12999 libc_feholdsetround_53bit.
13000 (libc_feupdateenv_53bit): Replace with
13001 libc_feresetround_53bit.
13002 (SET_RESTORE_ROUND_53BIT): Adjust.
13003
13004 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13005
13006 * string/test-strchrnul.c: Add copyright header.
13007
13008 * posix/tst-getaddrinfo4.c: Increase test timeout.
13009
13010 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13011
13012 [BZ #15536]
13013 * math/libm-test.inc (MAX_EXP): Remove
13014 (MIN_EXP): Define.
13015 (ulp): Use MIN_EXP - MANT_DIG.
13016 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13017
13018 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13019
13020 * po/be.po: Revert last change.
13021 * po/zh_CN.po: Likewise.
13022 * po/header.pot: Likewise.
13023
13024 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13025
13026 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13027 link-libc-deps to empty as target-specific variable.
13028 * Makerules (link-libc-args): New variable.
13029 (libc-for-link): Likewise.
13030 (link-libc-deps): Likewise.
13031 (lib%.so): Depend on $(link-libc-deps). Link with
13032 $(link-libc-args).
13033 (build-module): Link with $(link-libc-args).
13034 (build-module-asneeded): Likewise.
13035 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13036 list of objects.
13037 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13038 target-specific variable.
13039 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13040 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13041 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13042 libc.
13043 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13044 libc and ld.so.
13045 ($(objpfx)libpcprofile.so): Likewise.
13046 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13047 libc_nonshared.a.
13048 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13049 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13050 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13051 $(link-libc-deps).
13052 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13053 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13054 * login/Makefile ($(objpfx)libutil.so): Likewise.
13055 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13056 * math/Makefile ($(objpfx)libm.so): Likewise.
13057 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13058 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13059 variable instead of depending directly on libc.
13060 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13061 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13062 $(link-libc-deps).
13063 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13064 libc.
13065 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13066 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13067 ($(objpfx)libanl.so): Likewise.
13068 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13069 ld.so.
13070 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13071 $(link-libc-deps).
13072 * sysdeps/i386/fpu/Makefile: Remove file.
13073 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13074 ($(objpfx)libm.so): Remove dependency on ld.so.
13075
13076 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
13077
13078 [BZ # 15553]
13079 * nis/yp_xdr.c (XDRMAXNAME): Define.
13080 (XDRMAXRECORD): Define.
13081 (xdr_domainname): Use XDRMAXNAME.
13082 (xdr_mapname): Likewise.
13083 (xdr_peername): Likewise.
13084 (xdr_keydat): Use XDRMAXRECORD.
13085 (xdr_valdat): Likewise.
13086
13087 2013-05-30 Jeff Law <law@redhat.com>
13088
13089 [BZ #14256]
13090 * manual/errno.texi (ESTALE): Update to account for more than
13091 just NFS file systems.
13092 * sysdeps/gnu/errlist.c: Regenerated.
13093
13094 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13095
13096 [BZ #15465]
13097 * elf/Makefile (tests): Add tst-null-argv.
13098 (modules-names): Add tst-null-argv-lib.
13099 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13100 (tst-null-argv-ENV): Set environment for tst-null-argv.
13101 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13102 (RTLD_PROGNAME): New macro.
13103 * elf/tst-null-argv.c: New test case.
13104 * elf/tst-null-argv-lib.c: Library for test case.
13105 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13106 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13107 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13108 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13109 * elf/dl-init.c (call_init): Likewise.
13110 (_dl_init): Likewise.
13111 * elf/dl-load.c (print_search_path): Likewise.
13112 (_dl_map_object): Likewise.
13113 * elf/dl-lookup.c (do_lookup_x): Likewise.
13114 (add_dependency): Likewise.
13115 (_dl_lookup_symbol_x): Likewise.
13116 (_dl_debug_bindings): Likewise.
13117 * elf/dl-open.c (_dl_show_scope): Likewise.
13118 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13119 * elf/dl-version.c (match_symbol): Likewise.
13120 (_dl_check_map_versions): Likewise.
13121 * elf/rtld.c (dl_main): Likewise.
13122 (print_unresolved): Use RTLD_PROGNAME.
13123 (print_missing_version): Likewise.
13124 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13125 (elf_machine_rela): Likewise.
13126 * sysdeps/powerpc/powerpc32/dl-machine.c
13127 (__process_machine_rela): Likewise.
13128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13129 Likewise.
13130 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13131 Likewise.
13132 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13133 Likewise.
13134 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13135 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13136 Likewise.
13137 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13138 Likewise.
13139 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13140
13141 2013-05-28 Carlos O'Donell <carlos@redhat.com>
13142
13143 * po/be.po: Add descriptive title.
13144 * po/zh_CN.po: Likewise.
13145 * po/header.pot: Likewise.
13146
13147 2013-05-28 Mike Frysinger <vapier@gentoo.org>
13148
13149 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13150 error message.
13151 (enlarge_archive): Likewise.
13152
13153 2013-05-28 Ben North <ben@redfrontdoor.org>
13154
13155 * manual/arith.texi (frexp): It is the magnitude of the return
13156 value which lies in [0.5, 1), not the return value itself.
13157
13158 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13159
13160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13161
13162 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13163
13164 * stdio-common/bug26.c (main): Correct fscanf template.
13165
13166 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13167 declare _dl_skip_args.
13168
13169 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13170 Don't declare.
13171
13172 * manual/platform.texi: Add missing @end deftypefun.
13173
13174 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13175
13176 [BZ #15529]
13177 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13178 bit of mantissa of 2^16382.
13179 * math/libm-test.inc (hypot_test_data): Add more tests.
13180
13181 * math/libm-test.inc: Add drem and pow10 to list of tested
13182 functions.
13183 (pow10_test): New function.
13184 (drem_test): Likewise.
13185 (drem_test_tonearest): Likewise.
13186 (drem_test_towardzero): Likewise.
13187 (drem_test_downward): Likewise.
13188 (drem_test_upward): Likewise.
13189 (main): Call the new functions.
13190
13191 * math/libm-test.inc (finite_test_data): Remove.
13192 (finite_test): Run tests from isfinite_test_data.
13193 (gamma_test_data): Remove.
13194 (gamma_test): Run tests from lgamma_test_data.
13195 * sysdeps/i386/fpu/libm-test-ulps: Update.
13196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13197
13198 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13199
13200 * manual/platform.texi: Add PowerPC PPR function set documentation.
13201 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13202 implementation.
13203
13204 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13205
13206 * math/libm-test.inc (MAX_EXP): Define.
13207 (ULPDIFF): Define.
13208 (ulp): New function.
13209 (check_float_internal): Use ULPDIFF.
13210 (cpow_test): Disable failing test.
13211 (check_ulp): Test ulp() implemetnation.
13212 (main): Call check_ulp before starting tests.
13213
13214 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13215
13216 * math/gen-libm-test.pl (generate_testfile): Do not handle
13217 START_DATA and END_DATA.
13218 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13219 END_DATA.
13220 (acos_tonearest_test_data): Likewise.
13221 (acos_towardzero_test_data): Likewise.
13222 (acos_downward_test_data): Likewise.
13223 (acos_upward_test_data): Likewise.
13224 (acosh_test_data): Likewise.
13225 (asin_test_data): Likewise.
13226 (asin_tonearest_test_data): Likewise.
13227 (asin_towardzero_test_data): Likewise.
13228 (asin_downward_test_data): Likewise.
13229 (asin_upward_test_data): Likewise.
13230 (asinh_test_data): Likewise.
13231 (atan_test_data): Likewise.
13232 (atanh_test_data): Likewise.
13233 (atan2_test_data): Likewise.
13234 (cabs_test_data): Likewise.
13235 (cacos_test_data): Likewise.
13236 (cacosh_test_data): Likewise.
13237 (carg_test_data): Likewise.
13238 (casin_test_data): Likewise.
13239 (casinh_test_data): Likewise.
13240 (catan_test_data): Likewise.
13241 (catanh_test_data): Likewise.
13242 (cbrt_test_data): Likewise.
13243 (ccos_test_data): Likewise.
13244 (ccosh_test_data): Likewise.
13245 (ceil_test_data): Likewise.
13246 (cexp_test_data): Likewise.
13247 (cimag_test_data): Likewise.
13248 (clog_test_data): Likewise.
13249 (clog10_test_data): Likewise.
13250 (conj_test_data): Likewise.
13251 (copysign_test_data): Likewise.
13252 (cos_test_data): Likewise.
13253 (cos_tonearest_test_data): Likewise.
13254 (cos_towardzero_test_data): Likewise.
13255 (cos_downward_test_data): Likewise.
13256 (cos_upward_test_data): Likewise.
13257 (cosh_test_data): Likewise.
13258 (cosh_tonearest_test_data): Likewise.
13259 (cosh_towardzero_test_data): Likewise.
13260 (cosh_downward_test_data): Likewise.
13261 (cosh_upward_test_data): Likewise.
13262 (cpow_test_data): Likewise.
13263 (cproj_test_data): Likewise.
13264 (creal_test_data): Likewise.
13265 (csin_test_data): Likewise.
13266 (csinh_test_data): Likewise.
13267 (csqrt_test_data): Likewise.
13268 (ctan_test_data): Likewise.
13269 (ctan_tonearest_test_data): Likewise.
13270 (ctan_towardzero_test_data): Likewise.
13271 (ctan_downward_test_data): Likewise.
13272 (ctan_upward_test_data): Likewise.
13273 (ctanh_test_data): Likewise.
13274 (ctanh_tonearest_test_data): Likewise.
13275 (ctanh_towardzero_test_data): Likewise.
13276 (ctanh_downward_test_data): Likewise.
13277 (ctanh_upward_test_data): Likewise.
13278 (erf_test_data): Likewise.
13279 (erfc_test_data): Likewise.
13280 (exp_test_data): Likewise.
13281 (exp_tonearest_test_data): Likewise.
13282 (exp_towardzero_test_data): Likewise.
13283 (exp_downward_test_data): Likewise.
13284 (exp_upward_test_data): Likewise.
13285 (exp10_test_data): Likewise.
13286 (exp2_test_data): Likewise.
13287 (expm1_test_data): Likewise.
13288 (fabs_test_data): Likewise.
13289 (fdim_test_data): Likewise.
13290 (finite_test_data): Likewise.
13291 (floor_test_data): Likewise.
13292 (fma_test_data): Likewise.
13293 (fma_towardzero_test_data): Likewise.
13294 (fma_downward_test_data): Likewise.
13295 (fma_upward_test_data): Likewise.
13296 (fmax_test_data): Likewise.
13297 (fmin_test_data): Likewise.
13298 (fmod_test_data): Likewise.
13299 (fpclassify_test_data): Likewise.
13300 (frexp_test_data): Likewise.
13301 (gamma_test_data): Likewise.
13302 (hypot_test_data): Likewise.
13303 (ilogb_test_data): Likewise.
13304 (isfinite_test_data): Likewise.
13305 (isgreater_test_data): Likewise.
13306 (isgreaterequal_test_data): Likewise.
13307 (isinf_test_data): Likewise.
13308 (isless_test_data): Likewise.
13309 (islessequal_test_data): Likewise.
13310 (islessgreater_test_data): Likewise.
13311 (isnan_test_data): Likewise.
13312 (isnormal_test_data): Likewise.
13313 (issignaling_test_data): Likewise.
13314 (isunordered_test_data): Likewise.
13315 (j0_test_data): Likewise.
13316 (j1_test_data): Likewise.
13317 (jn_test_data): Likewise.
13318 (ldexp_test_data): Likewise.
13319 (lgamma_test_data): Likewise.
13320 (lrint_test_data): Likewise.
13321 (lrint_tonearest_test_data): Likewise.
13322 (lrint_towardzero_test_data): Likewise.
13323 (lrint_downward_test_data): Likewise.
13324 (lrint_upward_test_data): Likewise.
13325 (llrint_test_data): Likewise.
13326 (llrint_tonearest_test_data): Likewise.
13327 (llrint_towardzero_test_data): Likewise.
13328 (llrint_downward_test_data): Likewise.
13329 (llrint_upward_test_data): Likewise.
13330 (log_test_data): Likewise.
13331 (log10_test_data): Likewise.
13332 (log1p_test_data): Likewise.
13333 (log2_test_data): Likewise.
13334 (logb_test_data): Likewise.
13335 (logb_downward_test_data): Likewise.
13336 (lround_test_data): Likewise.
13337 (llround_test_data): Likewise.
13338 (modf_test_data): Likewise.
13339 (nearbyint_test_data): Likewise.
13340 (nextafter_test_data): Likewise.
13341 (nexttoward_test_data): Likewise.
13342 (pow_test_data): Likewise.
13343 (pow_tonearest_test_data): Likewise.
13344 (pow_towardzero_test_data): Likewise.
13345 (pow_downward_test_data): Likewise.
13346 (pow_upward_test_data): Likewise.
13347 (remainder_test_data): Likewise.
13348 (remainder_tonearest_test_data): Likewise.
13349 (remainder_towardzero_test_data): Likewise.
13350 (remainder_downward_test_data): Likewise.
13351 (remainder_upward_test_data): Likewise.
13352 (remquo_test_data): Likewise.
13353 (rint_test_data): Likewise.
13354 (rint_tonearest_test_data): Likewise.
13355 (rint_towardzero_test_data): Likewise.
13356 (rint_downward_test_data): Likewise.
13357 (rint_upward_test_data): Likewise.
13358 (round_test_data): Likewise.
13359 (scalb_test_data): Likewise.
13360 (scalbn_test_data): Likewise.
13361 (scalbln_test_data): Likewise.
13362 (signbit_test_data): Likewise.
13363 (sin_test_data): Likewise.
13364 (sin_tonearest_test_data): Likewise.
13365 (sin_towardzero_test_data): Likewise.
13366 (sin_downward_test_data): Likewise.
13367 (sin_upward_test_data): Likewise.
13368 (sincos_test_data): Likewise.
13369 (sinh_test_data): Likewise.
13370 (sinh_tonearest_test_data): Likewise.
13371 (sinh_towardzero_test_data): Likewise.
13372 (sinh_downward_test_data): Likewise.
13373 (sinh_upward_test_data): Likewise.
13374 (sqrt_test_data): Likewise.
13375 (tan_test_data): Likewise.
13376 (tan_tonearest_test_data): Likewise.
13377 (tan_towardzero_test_data): Likewise.
13378 (tan_downward_test_data): Likewise.
13379 (tan_upward_test_data): Likewise.
13380 (tanh_test_data): Likewise.
13381 (tgamma_test_data): Likewise.
13382 (trunc_test_data): Likewise.
13383 (y0_test_data): Likewise.
13384 (y1_test_data): Likewise.
13385 (yn_test_data): Likewise.
13386 (significand_test_data): Likewise.
13387
13388 * math/gen-libm-test.pl (@functions): Remove variable.
13389 (generate_testfile): Don't handle START and END lines.
13390 * math/libm-test.inc (START): New macro.
13391 (END): Likewise.
13392 (END_COMPLEX): Likewise.
13393 (acos_test): Use END macro without arguments.
13394 (acos_test_tonearest): Likewise.
13395 (acos_test_towardzero): Likewise.
13396 (acos_test_downward): Likewise.
13397 (acos_test_upward): Likewise.
13398 (acosh_test): Likewise.
13399 (asin_test): Likewise.
13400 (asin_test_tonearest): Likewise.
13401 (asin_test_towardzero): Likewise.
13402 (asin_test_downward): Likewise.
13403 (asin_test_upward): Likewise.
13404 (asinh_test): Likewise.
13405 (atan_test): Likewise.
13406 (atanh_test): Likewise.
13407 (atan2_test): Likewise.
13408 (cabs_test): Likewise.
13409 (cacos_test): Use END_COMPLEX macro without arguments.
13410 (cacosh_test): Likewise.
13411 (carg_test): Use END macro without arguments.
13412 (casin_test): Use END_COMPLEX macro without arguments.
13413 (casinh_test): Likewise.
13414 (catan_test): Likewise.
13415 (catanh_test): Likewise.
13416 (cbrt_test): Use END macro without arguments.
13417 (ccos_test): Use END_COMPLEX macro without arguments.
13418 (ccosh_test): Likewise.
13419 (ceil_test): Use END macro without arguments.
13420 (cexp_test): Use END_COMPLEX macro without arguments.
13421 (cimag_test): Use END macro without arguments.
13422 (clog_test): Use END_COMPLEX macro without arguments.
13423 (clog10_test): Likewise.
13424 (conj_test): Likewise.
13425 (copysign_test): Use END macro without arguments.
13426 (cos_test): Likewise.
13427 (cos_test_tonearest): Likewise.
13428 (cos_test_towardzero): Likewise.
13429 (cos_test_downward): Likewise.
13430 (cos_test_upward): Likewise.
13431 (cosh_test): Likewise.
13432 (cosh_test_tonearest): Likewise.
13433 (cosh_test_towardzero): Likewise.
13434 (cosh_test_downward): Likewise.
13435 (cosh_test_upward): Likewise.
13436 (cpow_test): Use END_COMPLEX macro without arguments.
13437 (cproj_test): Likewise.
13438 (creal_test): Use END macro without arguments.
13439 (csin_test): Use END_COMPLEX macro without arguments.
13440 (csinh_test): Likewise.
13441 (csqrt_test): Likewise.
13442 (ctan_test): Likewise.
13443 (ctan_test_tonearest): Likewise.
13444 (ctan_test_towardzero): Likewise.
13445 (ctan_test_downward): Likewise.
13446 (ctan_test_upward): Likewise.
13447 (ctanh_test): Likewise.
13448 (ctanh_test_tonearest): Likewise.
13449 (ctanh_test_towardzero): Likewise.
13450 (ctanh_test_downward): Likewise.
13451 (ctanh_test_upward): Likewise.
13452 (erf_test): Use END macro without arguments.
13453 (erfc_test): Likewise.
13454 (exp_test): Likewise.
13455 (exp_test_tonearest): Likewise.
13456 (exp_test_towardzero): Likewise.
13457 (exp_test_downward): Likewise.
13458 (exp_test_upward): Likewise.
13459 (exp10_test): Likewise.
13460 (exp2_test): Likewise.
13461 (expm1_test): Likewise.
13462 (fabs_test): Likewise.
13463 (fdim_test): Likewise.
13464 (finite_test): Likewise.
13465 (floor_test): Likewise.
13466 (fma_test): Likewise.
13467 (fma_test_towardzero): Likewise.
13468 (fma_test_downward): Likewise.
13469 (fma_test_upward): Likewise.
13470 (fmax_test): Likewise.
13471 (fmin_test): Likewise.
13472 (fmod_test): Likewise.
13473 (fpclassify_test): Likewise.
13474 (frexp_test): Likewise.
13475 (gamma_test): Likewise.
13476 (hypot_test): Likewise.
13477 (ilogb_test): Likewise.
13478 (isfinite_test): Likewise.
13479 (isgreater_test): Likewise.
13480 (isgreaterequal_test): Likewise.
13481 (isinf_test): Likewise.
13482 (isless_test): Likewise.
13483 (islessequal_test): Likewise.
13484 (islessgreater_test): Likewise.
13485 (isnan_test): Likewise.
13486 (isnormal_test): Likewise.
13487 (issignaling_test): Likewise.
13488 (isunordered_test): Likewise.
13489 (j0_test): Likewise.
13490 (j1_test): Likewise.
13491 (jn_test): Likewise.
13492 (ldexp_test): Likewise.
13493 (lgamma_test): Likewise.
13494 (lrint_test): Likewise.
13495 (lrint_test_tonearest): Likewise.
13496 (lrint_test_towardzero): Likewise.
13497 (lrint_test_downward): Likewise.
13498 (lrint_test_upward): Likewise.
13499 (llrint_test): Likewise.
13500 (llrint_test_tonearest): Likewise.
13501 (llrint_test_towardzero): Likewise.
13502 (llrint_test_downward): Likewise.
13503 (llrint_test_upward): Likewise.
13504 (log_test): Likewise.
13505 (log10_test): Likewise.
13506 (log1p_test): Likewise.
13507 (log2_test): Likewise.
13508 (logb_test): Likewise.
13509 (logb_test_downward): Likewise.
13510 (lround_test): Likewise.
13511 (llround_test): Likewise.
13512 (modf_test): Likewise.
13513 (nearbyint_test): Likewise.
13514 (nextafter_test): Likewise.
13515 (nexttoward_test): Likewise.
13516 (pow_test): Likewise.
13517 (pow_test_tonearest): Likewise.
13518 (pow_test_towardzero): Likewise.
13519 (pow_test_downward): Likewise.
13520 (pow_test_upward): Likewise.
13521 (remainder_test): Likewise.
13522 (remainder_test_tonearest): Likewise.
13523 (remainder_test_towardzero): Likewise.
13524 (remainder_test_downward): Likewise.
13525 (remainder_test_upward): Likewise.
13526 (remquo_test): Likewise.
13527 (rint_test): Likewise.
13528 (rint_test_tonearest): Likewise.
13529 (rint_test_towardzero): Likewise.
13530 (rint_test_downward): Likewise.
13531 (rint_test_upward): Likewise.
13532 (round_test): Likewise.
13533 (scalb_test): Likewise.
13534 (scalbn_test): Likewise.
13535 (scalbln_test): Likewise.
13536 (signbit_test): Likewise.
13537 (sin_test): Likewise.
13538 (sin_test_tonearest): Likewise.
13539 (sin_test_towardzero): Likewise.
13540 (sin_test_downward): Likewise.
13541 (sin_test_upward): Likewise.
13542 (sincos_test): Likewise.
13543 (sinh_test): Likewise.
13544 (sinh_test_tonearest): Likewise.
13545 (sinh_test_towardzero): Likewise.
13546 (sinh_test_downward): Likewise.
13547 (sinh_test_upward): Likewise.
13548 (sqrt_test): Likewise.
13549 (tan_test): Likewise.
13550 (tan_test_tonearest): Likewise.
13551 (tan_test_towardzero): Likewise.
13552 (tan_test_downward): Likewise.
13553 (tan_test_upward): Likewise.
13554 (tanh_test): Likewise.
13555 (tgamma_test): Likewise.
13556 (trunc_test): Likewise.
13557 (y0_test): Likewise.
13558 (y1_test): Likewise.
13559 (yn_test): Likewise.
13560 (significand_test): Likewise.
13561
13562 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13563
13564 [BZ #15381]
13565 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13566
13567 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13568
13569 [BZ #14894]
13570 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13571 __ppc_mdoio and __ppc_mdoom.
13572 * manual/platform.texi: Document new functions __ppc_yield,
13573 __ppc_mdoio and __ppc_mdoom.
13574
13575 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13576
13577 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13578 (main): Mention "tls" pseudo-hwcap is legacy.
13579 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13580
13581 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13582
13583 * math/gen-libm-test.pl (parse_args): Output only string of
13584 arguments as text for test name, not full call or descriptions of
13585 tests for extra outputs.
13586 (generate_testfile): Do not pass function name to parse_args.
13587 Generate this_func variable from START.
13588 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13589 field to arg_str.
13590 (struct test_ff_f_data): Likewise.
13591 (test_ff_f_data_nexttoward): Likewise.
13592 (struct test_fi_f_data): Likewise.
13593 (struct test_fl_f_data): Likewise.
13594 (struct test_if_f_data): Likewise.
13595 (struct test_fff_f_data): Likewise.
13596 (struct test_c_f_data): Likewise.
13597 (struct test_f_f1_data): Likewise. Remove field extra_name.
13598 (struct test_fF_f1_data): Likewise.
13599 (struct test_ffI_f1_data): Likewise.
13600 (struct test_c_c_data): Rename test_name field to arg_str.
13601 (struct test_cc_c_data): Likewise.
13602 (struct test_f_i_data): Likewise.
13603 (struct test_ff_i_data): Likewise.
13604 (struct test_f_l_data): Likewise.
13605 (struct test_f_L_data): Likewise.
13606 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13607 and extra2_name.
13608 (COMMON_TEST_SETUP): New macro.
13609 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13610 (COMMON_TEST_CLEANUP): Likewise.
13611 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13612 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13613 macros.
13614 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13615 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13616 macros.
13617 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13618 (RUN_TEST_fff_f): Take argument string. Call new setup and
13619 cleanup macros.
13620 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13621 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13622 macros.
13623 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13624 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13625 macros.
13626 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13627 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13628 cleanup macros.
13629 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13630 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13631 cleanup macros.
13632 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13633 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13634 cleanup macros.
13635 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13636 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13637 macros.
13638 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13639 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13640 macros.
13641 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13642 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13643 macros.
13644 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13645 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13646 cleanup macros.
13647 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13648 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13649 cleanup macros.
13650 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13651 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13652 macros.
13653 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13654 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13655 cleanup macros.
13656 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13657 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13658 macros.
13659 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13660 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13661 macros.
13662 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13663 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13664 cleanup macros.
13665 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13666
13667 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13668
13669 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13670 to _sifields.sigfault.
13671 (si_addr_lsb): Define new macro.
13672 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13673 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13674 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13675
13676 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13677
13678 [BZ #15441]
13679 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13680 returns -1.
13681 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13682 null return -1.
13683 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13684 loading the domain.
13685
13686 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13687
13688 * math/gen-libm-test.pl (parse_args): Do not include expected
13689 result in test name.
13690 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13691 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13692 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13693 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13694 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13696
13697 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13698
13699 * benchtests/Makefile: Sort function entries.
13700
13701 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13702 tanh, asinh, acosh, atanh.
13703 * benchtests/acos-inputs: New file.
13704 * benchtests/acosh-inputs: New file.
13705 * benchtests/asin-inputs: New file.
13706 * benchtests/asinh-inputs: New file.
13707 * benchtests/atanh-inputs: New file.
13708 * benchtests/cosh-inputs: New file.
13709 * benchtests/log-inputs: New file.
13710 * benchtests/sinh-inputs: New file.
13711 * benchtests/tanh-inputs: New file.
13712
13713 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13714
13715 [BZ #15339]
13716 * posix/tst-getaddrinfo4.c: New test.
13717 * posix/Makefile (tests): Add it.
13718
13719 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13720
13721 [BZ #15339]
13722 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13723 when no services were used.
13724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13725 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13726
13727 2013-05-21 Andreas Schwab <schwab@suse.de>
13728
13729 [BZ #15014]
13730 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13731 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13732 successful.
13733 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13734 redundant variable declarations and reallocation of buffer when
13735 parsing as IPv6 address. Always set NSS status when called from
13736 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13737 buffer too small. Correct computation of needed size.
13738 * nss/Makefile (tests): Add test-digits-dots.
13739 * nss/test-digits-dots.c: New test.
13740
13741 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13742
13743 * benchtests/Makefile: Remove instructions for adding
13744 benchmark tests.
13745 * benchtests/README: New file to explain how to execute and
13746 enhance the benchmark tests.
13747
13748 2013-05-21 Andreas Schwab <schwab@suse.de>
13749
13750 [BZ #15493]
13751 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13752 * setjmp/tst-sigsetjmp.c: New test.
13753
13754 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13755
13756 * sysdeps/x86_64/memset.S (memset): New implementation.
13757 (__bzero): Likewise.
13758 (__memset_tail): New function.
13759
13760 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13761
13762 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13763 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13764 __memcpy_sse2_unaligned ifunc selection.
13765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13766 Add memcpy-sse2-unaligned.S.
13767 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13768 Add: __memcpy_sse2_unaligned.
13769
13770 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13771
13772 [BZ #15490]
13773 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13774 math_force_eval before restoring floating-point envrionment.
13775 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13776 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13777 Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13779 <math_private.h>.
13780 (__nearbyintl): Use math_force_eval before restoring
13781 floating-point environment.
13782 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13783
13784 * math/gen-libm-test.pl (special_functions): Remove.
13785 (parse_args): Don't handle TEST_extra. Handle functions with no
13786 return value.
13787 * math/libm-test.inc (struct test_sincos_data): Replace with
13788 struct test_fFF_11_data.
13789 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13790 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13791 (sincos_test_data): Change element type to struct
13792 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13793 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13794 RUN_TEST_LOOP_sincos.
13795 * math/README.libm-test: Don't mention special handling of
13796 individual functions.
13797 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13798 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13799 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13800 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13801 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13803
13804 * math/gen-libm-test.pl (get_variable): Remove function.
13805 (parse_args): Don't show pointer parameters to call in test
13806 names. Use "extra output N" in test names for extra outputs
13807 rather than naming variables.
13808
13809 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13810
13811 [BZ #15488]
13812 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13813 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13814 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13815 double tests.
13816 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13817 disable.
13818 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13819 check_long_double.
13820
13821 * math/gen-libm-test.pl (@tests): Remove variable.
13822 ($count): Likewise.
13823 (new_test): Remove function.
13824 (show_exceptions): New function.
13825 (special_functions): Use show_exceptions instead of new_test.
13826 (parse_args): Likewise.
13827 (generate_testfile): Pass only function name in generated call to
13828 print_max_error or print_complex_max_error.
13829 (get_ulps): Do not handle complex tests specially.
13830 (output_test): Rename to ...
13831 (get_all_ulps_for_test): ... this. Return a string rather than
13832 printing to a file. Require ulps to be present.
13833 (output_ulps): Generate arrays rather than #defines.
13834 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13835 (struct ulp_data): New type.
13836 (BUILD_COMPLEX_ULP): Remove macro.
13837 (compare_ulp_data): New function.
13838 (find_ulps): Likewise.
13839 (find_test_ulps): Likewise.
13840 (find_function_ulps): Likewise.
13841 (find_complex_function_ulps): Likewise.
13842 (print_max_error): Determine allowed ulps using
13843 find_function_ulps.
13844 (print_complex_max_error): Determine allowed ulps using
13845 find_complex_function_ulps.
13846 (check_float_internal): Determine max ulps using find_test_ulps.
13847 (check_float): Do not take max_ulp parameter. Update call to
13848 check_float_internal.
13849 (check_complex): Likewise.
13850 (check_int): Do not take max_ulp parameter.
13851 (check_long): Likewise.
13852 (check_bool): Likewise.
13853 (check_longlong): Likewise.
13854 (struct test_f_f_data): Remove max_ulp field.
13855 (struct test_ff_f_data): Likewise.
13856 (struct test_ff_f_data_nexttoward): Likewise.
13857 (struct test_fi_f_data): Likewise.
13858 (struct test_fl_f_data): Likewise.
13859 (struct test_if_f_data): Likewise.
13860 (struct test_fff_f_data): Likewise.
13861 (struct test_c_f_data): Likewise.
13862 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13863 (struct test_fF_f1_data): Likewise.
13864 (struct test_ffI_f1_data): Likewise.
13865 (struct test_c_c_data): Remove max_ulp field.
13866 (struct test_cc_c_data): Likewise.
13867 (struct test_f_i_data): Likewise.
13868 (struct test_ff_i_data): Likewise.
13869 (struct test_f_l_data): Likewise.
13870 (struct test_f_L_data): Likewise.
13871 (struct test_sincos_data): Likewise.
13872 (RUN_TEST_f_f): Do not handle ulps.
13873 (RUN_TEST_LOOP_f_f): Likewise.
13874 (RUN_TEST_2_f): Likewise.
13875 (RUN_TEST_LOOP_2_f): Likewise.
13876 (RUN_TEST_fff_f): Likewise.
13877 (RUN_TEST_LOOP_fff_f): Likewise.
13878 (RUN_TEST_c_f): Likewise.
13879 (RUN_TEST_LOOP_c_f): Likewise.
13880 (RUN_TEST_f_f1): Likewise.
13881 (RUN_TEST_LOOP_f_f1): Likewise.
13882 (RUN_TEST_fF_f1): Likewise.
13883 (RUN_TEST_LOOP_fF_f1): Likewise.
13884 (RUN_TEST_fI_f1): Likewise.
13885 (RUN_TEST_LOOP_fI_f1): Likewise.
13886 (RUN_TEST_ffI_f1): Likewise.
13887 (RUN_TEST_LOOP_ffI_f1): Likewise.
13888 (RUN_TEST_c_c): Likewise.
13889 (RUN_TEST_LOOP_c_c): Likewise.
13890 (RUN_TEST_cc_c): Likewise.
13891 (RUN_TEST_LOOP_cc_c): Likewise.
13892 (RUN_TEST_f_i): Likewise.
13893 (RUN_TEST_LOOP_f_i): Likewise.
13894 (RUN_TEST_f_i_tg): Likewise.
13895 (RUN_TEST_LOOP_f_i_tg): Likewise.
13896 (RUN_TEST_ff_i_tg): Likewise.
13897 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13898 (RUN_TEST_f_b): Likewise.
13899 (RUN_TEST_LOOP_f_b): Likewise.
13900 (RUN_TEST_f_b_tg): Likewise.
13901 (RUN_TEST_LOOP_f_b_tg): Likewise.
13902 (RUN_TEST_f_l): Likewise.
13903 (RUN_TEST_LOOP_f_l): Likewise.
13904 (RUN_TEST_f_L): Likewise.
13905 (RUN_TEST_LOOP_f_L): Likewise.
13906 (RUN_TEST_sincos): Likewise.
13907 (RUN_TEST_LOOP_sincos): Likewise.
13908
13909 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13910
13911 [BZ #15480]
13912 [BZ #15485]
13913 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13914 main case of finite arguments, set rounding mode to FE_TONEAREST
13915 and discard exceptions.
13916 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13917 exceptions.
13918 (remainder_tonearest_test_data): New variable.
13919 (remainder_test_tonearest): New function.
13920 (remainder_towardzero_test_data): New variable.
13921 (remainder_test_towardzero): New function.
13922 (remainder_downward_test_data): New variable.
13923 (remainder_test_downward): New function.
13924 (remainder_upward_test_data): New variable.
13925 (remainder_test_upward): New function.
13926 (main): Call the new test functions.
13927
13928 * math/libm-test.inc (struct test_f_f1_data): Remove field
13929 extra_init.
13930 (struct test_fF_f1_data): Likewise.
13931 (struct test_ffI_f1_data): Likewise.
13932 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13933 based on value of EXTRA_EXPECTED.
13934 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13935 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13936 EXTRA_VAR based on value of EXTRA_EXPECTED.
13937 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13938 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13939 EXTRA_VAR based on value of EXTRA_EXPECTED.
13940 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13941 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13942 EXTRA_VAR based on value of EXTRA_EXPECTED.
13943 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13944 * math/gen-libm-test.pl (parse_args): Don't output initializers
13945 for extra output values.
13946
13947 * math/libm-test.inc (check_int): Expect result to be exactly
13948 equal to expected value and do not handle ulps.
13949 (check_long): Likewise.
13950 (check_longlong): Likewise.
13951
13952 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13953 exceptions.
13954 (cimag_test_data): Likewise.
13955 (conj_test_data): Likewise.
13956 (copysign_test_data): Likewise.
13957 (cproj_test_data): Likewise.
13958 (creal_test_data): Likewise.
13959 (fabs_test_data): Likewise.
13960 (fdim_test_data): Likewise.
13961 (finite_test_data): Likewise.
13962 (floor_test_data): Likewise.
13963 (fmax_test_data): Likewise.
13964 (fmin_test_data): Likewise.
13965 (fmod_test_data): Likewise.
13966 (fpclassify_test_data): Likewise.
13967 (frexp_test_data): Likewise.
13968 (ilogb_test_data): Likewise.
13969 (isfinite_test_data): Likewise.
13970 (isgreater_test_data): Likewise.
13971 (isgreaterequal_test_data): Likewise.
13972 (isinf_test_data): Likewise.
13973 (isless_test_data): Likewise.
13974 (islessequal_test_data): Likewise.
13975 (islessgreater_test_data): Likewise.
13976 (isnan_test_data): Likewise.
13977 (isnormal_test_data): Likewise.
13978 (issignaling_test_data): Likewise.
13979 (isunordered_test_data): Likewise.
13980 (ldexp_test_data): Likewise.
13981 (lrint_test_data): Likewise.
13982 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13983 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13984 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13985 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13986 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13987 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13988 test input.
13989 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13990 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13991 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13992 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13993 that test input.
13994 (lrint_downward_test_data): Test for "inexact" exceptions.
13995 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13996 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13997 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13998 test input.
13999 (lrint_upward_test_data): Test for "inexact" exceptions.
14000 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14001 test input.
14002 (llrint_test_data): Test for "inexact" exceptions.
14003 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14004 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14005 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14006 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14007 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14008 (llrint_downward_test_data): Test for "inexact" exceptions.
14009 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14010 (llrint_upward_test_data): Test for "inexact" exceptions.
14011 (logb_test_data): Likewise.
14012 (logb_downward_test_data): Likewise.
14013 (nextafter_test_data): Likewise.
14014 (nexttoward_test_data): Likewise.
14015 (remainder_test_data): Likewise.
14016 (remquo_test_data): Likewise.
14017 (scalbn_test_data): Likewise.
14018 (scalbln_test_data): Likewise.
14019 (signbit_test_data): Likewise.
14020 (sqrt_test_data): Likewise.
14021 (significand_test_data): Likewise.
14022
14023 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14024
14025 [BZ #15424]
14026 * benchtests/bench-modf.c (struct args): Mark arg0 as
14027 volatile.
14028 * scripts/bench.pl: Mark members of struct args as volatile.
14029
14030 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14031
14032 [BZ # 15497]
14033 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14034 negative infinity on POWER6 or lower.
14035 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14036
14037 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14038
14039 [BZ #15442]
14040 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14041 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14042 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14043 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14044 (_FP_SETQNAN): New macro.
14045 (_FP_SETQNAN_SEMIRAW): Likewise.
14046 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14047 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14048 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14049 (FP_EXTEND): Use _FP_FRAC_SNANP.
14050 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14051 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14052 into account.
14053 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14054 New macro.
14055 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14056 Likewise.
14057
14058 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14059
14060 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14061 with DIVIDE_BY_ZERO_EXCEPTION.
14062 (gamma_test_data): Likewise.
14063 (lgamma_test_data): Likewise.
14064 (log_test_data): Likewise.
14065 (log10_test_data): Likewise.
14066 (log2_test_data): Likewise.
14067 (tgamma_test_data): Likewise.
14068
14069 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14070 (acos_test_tonearest): Likewise.
14071 (acos_test_towardzero): Likewise.
14072 (acos_test_downward): Likewise.
14073 (acos_test_upward): Likewise.
14074 (acosh_test): Likewise.
14075 (asin_test): Likewise.
14076 (asin_test_tonearest): Likewise.
14077 (asin_test_towardzero): Likewise.
14078 (asin_test_downward): Likewise.
14079 (asin_test_upward): Likewise.
14080 (asinh_test): Likewise.
14081 (atan_test): Likewise.
14082 (atanh_test): Likewise.
14083 (atan2_test): Likewise.
14084 (cabs_test): Likewise.
14085 (cacos_test): Likewise.
14086 (cacosh_test): Likewise.
14087 (casin_test): Likewise.
14088 (casinh_test): Likewise.
14089 (catan_test): Likewise.
14090 (catanh_test): Likewise.
14091 (cbrt_test): Likewise.
14092 (ccos_test): Likewise.
14093 (ccosh_test): Likewise.
14094 (cexp_test): Likewise.
14095 (clog_test): Likewise.
14096 (clog10_test): Likewise.
14097 (cos_test): Likewise.
14098 (cos_test_tonearest): Likewise.
14099 (cos_test_towardzero): Likewise.
14100 (cos_test_downward): Likewise.
14101 (cos_test_upward): Likewise.
14102 (cosh_test): Likewise.
14103 (cosh_test_tonearest): Likewise.
14104 (cosh_test_towardzero): Likewise.
14105 (cosh_test_downward): Likewise.
14106 (cosh_test_upward): Likewise.
14107 (cpow_test): Likewise.
14108 (csin_test): Likewise.
14109 (csinh_test): Likewise.
14110 (csqrt_test): Likewise.
14111 (ctan_test): Likewise.
14112 (ctan_test_tonearest): Likewise.
14113 (ctan_test_towardzero): Likewise.
14114 (ctan_test_downward): Likewise.
14115 (ctan_test_upward): Likewise.
14116 (ctanh_test): Likewise.
14117 (ctanh_test_tonearest): Likewise.
14118 (ctanh_test_towardzero): Likewise.
14119 (ctanh_test_downward): Likewise.
14120 (ctanh_test_upward): Likewise.
14121 (erf_test): Likewise.
14122 (erfc_test): Likewise.
14123 (exp_test): Likewise.
14124 (exp_test_tonearest): Likewise.
14125 (exp_test_towardzero): Likewise.
14126 (exp_test_downward): Likewise.
14127 (exp_test_upward): Likewise.
14128 (exp10_test): Likewise.
14129 (exp2_test): Likewise.
14130 (expm1_test): Likewise.
14131 (fmod_test): Likewise.
14132 (gamma_test): Likewise.
14133 (hypot_test): Likewise.
14134 (j0_test): Likewise.
14135 (j1_test): Likewise.
14136 (jn_test): Likewise.
14137 (lgamma_test): Likewise.
14138 (log_test): Likewise.
14139 (log10_test): Likewise.
14140 (log1p_test): Likewise.
14141 (log2_test): Likewise.
14142 (logb_test_downward): Likewise.
14143 (pow_test): Likewise.
14144 (pow_test_tonearest): Likewise.
14145 (pow_test_towardzero): Likewise.
14146 (pow_test_downward): Likewise.
14147 (pow_test_upward): Likewise.
14148 (remainder_test): Likewise.
14149 (remquo_test): Likewise.
14150 (sin_test): Likewise.
14151 (sin_test_tonearest): Likewise.
14152 (sin_test_towardzero): Likewise.
14153 (sin_test_downward): Likewise.
14154 (sin_test_upward): Likewise.
14155 (sincos_test): Likewise.
14156 (sinh_test): Likewise.
14157 (sinh_test_tonearest): Likewise.
14158 (sinh_test_towardzero): Likewise.
14159 (sinh_test_downward): Likewise.
14160 (sinh_test_upward): Likewise.
14161 (sqrt_test): Likewise.
14162 (tan_test): Likewise.
14163 (tan_test_tonearest): Likewise.
14164 (tan_test_towardzero): Likewise.
14165 (tan_test_downward): Likewise.
14166 (tan_test_upward): Likewise.
14167 (tanh_test): Likewise.
14168 (tgamma_test): Likewise.
14169 (y0_test): Likewise.
14170 (y1_test): Likewise.
14171 (yn_test): Likewise.
14172
14173 * math/gen-libm-test.pl (adjust_arg): Remove function.
14174 (special_function): Remove argument $in_func. Only handle
14175 generating output for tables of tests, not inside functions.
14176 (parse_args): Likewise.
14177 (generate_testfile): Remove variable $in_func. Update call to
14178 parse_args.
14179 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14180 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14181 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14182 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14183 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14184 (MAX_VALUE_INIT): Rename macro to max_value.
14185 (MIN_VALUE_INIT): Rename macro to min_value.
14186 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14187 (plus_zero): Remove variable.
14188 (minus_zero): Likewise.
14189 (plus_infty): Likewise.
14190 (minus_infty): Likewise.
14191 (qnan_value): Likewise.
14192 (max_value): Likewise.
14193 (min_value): Likewise.
14194 (min_subnorm_value): Likewise.
14195
14196 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14197
14198 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14199 uint64_t or uint32_t usage.
14200 * crypt/sha256-block.c: Likewise.
14201 * crypt/sha256-crypt.c: Likewise.
14202 * crypt/sha256.c: Likewise.
14203 * crypt/sha512-block.c: Likewise.
14204 * crypt/sha512-crypt.c: Likewise.
14205 * crypt/sha512.c: Likewise.
14206 * debug/backtrace-tst.c: Likewise.
14207 * debug/pcprofiledump.c: Likewise.
14208 * elf/cache.c: Likewise.
14209 * elf/dl-cache.c: Likewise.
14210 * elf/dl-misc.c: Likewise.
14211 * elf/dl-profile.c: Likewise.
14212 * elf/dl-support.c: Likewise.
14213 * elf/ldconfig.c: Likewise.
14214 * elf/sprof.c: Likewise.
14215 * iconv/dummy-repertoire.c: Likewise.
14216 * iconv/iconv_charmap.c: Likewise.
14217 * iconv/skeleton.c: Likewise.
14218 * iconvdata/8bit-generic.c: Likewise.
14219 * iconvdata/cp737.h: Likewise.
14220 * iconvdata/cp775.h: Likewise.
14221 * iconvdata/ibm1008.h: Likewise.
14222 * iconvdata/ibm1025.h: Likewise.
14223 * iconvdata/ibm1046.h: Likewise.
14224 * iconvdata/ibm1097.h: Likewise.
14225 * iconvdata/ibm1112.h: Likewise.
14226 * iconvdata/ibm1122.h: Likewise.
14227 * iconvdata/ibm1123.h: Likewise.
14228 * iconvdata/ibm1124.h: Likewise.
14229 * iconvdata/ibm1129.h: Likewise.
14230 * iconvdata/ibm1130.h: Likewise.
14231 * iconvdata/ibm1132.h: Likewise.
14232 * iconvdata/ibm1133.h: Likewise.
14233 * iconvdata/ibm1137.h: Likewise.
14234 * iconvdata/ibm1140.h: Likewise.
14235 * iconvdata/ibm1141.h: Likewise.
14236 * iconvdata/ibm1142.h: Likewise.
14237 * iconvdata/ibm1143.h: Likewise.
14238 * iconvdata/ibm1144.h: Likewise.
14239 * iconvdata/ibm1145.h: Likewise.
14240 * iconvdata/ibm1146.h: Likewise.
14241 * iconvdata/ibm1147.h: Likewise.
14242 * iconvdata/ibm1148.h: Likewise.
14243 * iconvdata/ibm1149.h: Likewise.
14244 * iconvdata/ibm1153.h: Likewise.
14245 * iconvdata/ibm1154.h: Likewise.
14246 * iconvdata/ibm1155.h: Likewise.
14247 * iconvdata/ibm1156.h: Likewise.
14248 * iconvdata/ibm1157.h: Likewise.
14249 * iconvdata/ibm1158.h: Likewise.
14250 * iconvdata/ibm1160.h: Likewise.
14251 * iconvdata/ibm1161.h: Likewise.
14252 * iconvdata/ibm1162.h: Likewise.
14253 * iconvdata/ibm1163.h: Likewise.
14254 * iconvdata/ibm1164.h: Likewise.
14255 * iconvdata/ibm1166.h: Likewise.
14256 * iconvdata/ibm1167.h: Likewise.
14257 * iconvdata/ibm12712.h: Likewise.
14258 * iconvdata/ibm1390.h: Likewise.
14259 * iconvdata/ibm1399.h: Likewise.
14260 * iconvdata/ibm16804.h: Likewise.
14261 * iconvdata/ibm4517.h: Likewise.
14262 * iconvdata/ibm4899.h: Likewise.
14263 * iconvdata/ibm4909.h: Likewise.
14264 * iconvdata/ibm4971.h: Likewise.
14265 * iconvdata/ibm5347.h: Likewise.
14266 * iconvdata/ibm803.h: Likewise.
14267 * iconvdata/ibm856.h: Likewise.
14268 * iconvdata/ibm901.h: Likewise.
14269 * iconvdata/ibm902.h: Likewise.
14270 * iconvdata/ibm9030.h: Likewise.
14271 * iconvdata/ibm9066.h: Likewise.
14272 * iconvdata/ibm921.h: Likewise.
14273 * iconvdata/ibm922.h: Likewise.
14274 * iconvdata/ibm9448.h: Likewise.
14275 * iconvdata/isiri-3342.h: Likewise.
14276 * iconvdata/jis0201.h: Likewise.
14277 * include/link.h: Likewise.
14278 * include/netdb.h: Likewise.
14279 * inet/check_native.c: Likewise.
14280 * inet/check_pf.c: Likewise.
14281 * inet/getipv4sourcefilter.c: Likewise.
14282 * inet/getnameinfo.c: Likewise.
14283 * inet/getsourcefilter.c: Likewise.
14284 * inet/htonl.c: Likewise.
14285 * inet/setipv4sourcefilter.c: Likewise.
14286 * inet/setsourcefilter.c: Likewise.
14287 * inet/test-inet6_opt.c: Likewise.
14288 * inet/tst-network.c: Likewise.
14289 * locale/C-collate.c: Likewise.
14290 * locale/C-ctype.c: Likewise.
14291 * locale/C-time.c: Likewise.
14292 * locale/C-translit.h: Likewise.
14293 * locale/loadarchive.c: Likewise.
14294 * locale/programs/3level.h: Likewise.
14295 * locale/programs/charmap.c: Likewise.
14296 * locale/programs/charmap.h: Likewise.
14297 * locale/programs/ld-address.c: Likewise.
14298 * locale/programs/ld-collate.c: Likewise.
14299 * locale/programs/ld-ctype.c: Likewise.
14300 * locale/programs/ld-identification.c: Likewise.
14301 * locale/programs/ld-measurement.c: Likewise.
14302 * locale/programs/ld-messages.c: Likewise.
14303 * locale/programs/ld-monetary.c: Likewise.
14304 * locale/programs/ld-name.c: Likewise.
14305 * locale/programs/ld-numeric.c: Likewise.
14306 * locale/programs/ld-paper.c: Likewise.
14307 * locale/programs/ld-telephone.c: Likewise.
14308 * locale/programs/ld-time.c: Likewise.
14309 * locale/programs/linereader.c: Likewise.
14310 * locale/programs/locale.c: Likewise.
14311 * locale/programs/locarchive.c: Likewise.
14312 * locale/programs/locfile.h: Likewise.
14313 * locale/programs/repertoire.c: Likewise.
14314 * locale/programs/simple-hash.c: Likewise.
14315 * locale/programs/simple-hash.h: Likewise.
14316 * malloc/memusage.c: Likewise.
14317 * malloc/memusagestat.c: Likewise.
14318 * nis/nis_defaults.c: Likewise.
14319 * nis/nis_hash.c: Likewise.
14320 * nis/nis_print.c: Likewise.
14321 * nis/nis_xdr.c: Likewise.
14322 * nscd/connections.c: Likewise.
14323 * nscd/hstcache.c: Likewise.
14324 * nscd/nscd_gethst_r.c: Likewise.
14325 * nscd/nscd_getserv_r.c: Likewise.
14326 * nscd/nscd_helper.c: Likewise.
14327 * nscd/servicescache.c: Likewise.
14328 * nss/makedb.c: Likewise.
14329 * nss/nss_db/db-XXX.c: Likewise.
14330 * nss/nss_db/db-initgroups.c: Likewise.
14331 * nss/nss_db/db-netgrp.c: Likewise.
14332 * nss/nss_files/files-network.c: Likewise.
14333 * nss/nss_files/files-parse.c: Likewise.
14334 * posix/bug-regex5.c: Likewise.
14335 * posix/fnmatch_loop.c: Likewise.
14336 * posix/regcomp.c: Likewise.
14337 * posix/regexec.c: Likewise.
14338 * posix/tst-rfc3484-2.c: Likewise.
14339 * posix/tst-rfc3484-3.c: Likewise.
14340 * posix/tst-rfc3484.c: Likewise.
14341 * resolv/nss_dns/dns-canon.c: Likewise.
14342 * resolv/nss_dns/dns-network.c: Likewise.
14343 * resolv/res_init.c: Likewise.
14344 * resolv/res_mkquery.c: Likewise.
14345 * resolv/tst-aton.c: Likewise.
14346 * stdlib/cxa_atexit.c: Likewise.
14347 * stdlib/cxa_finalize.c: Likewise.
14348 * stdlib/gen-fpioconst.c: Likewise.
14349 * stdlib/strtol_l.c: Likewise.
14350 * string/tst-endian.c: Likewise.
14351 * sunrpc/auth_des.c: Likewise.
14352 * sunrpc/clnt_udp.c: Likewise.
14353 * sunrpc/rtime.c: Likewise.
14354 * sunrpc/svcauth_des.c: Likewise.
14355 * sunrpc/xdr.c: Likewise.
14356 * sunrpc/xdr_intXX_t.c: Likewise.
14357 * sunrpc/xdr_rec.c: Likewise.
14358 * sysdeps/generic/ldconfig.h: Likewise.
14359 * sysdeps/generic/ldsodefs.h: Likewise.
14360 * sysdeps/generic/memusage.h: Likewise.
14361 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14362 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14363 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14364 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14366 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14367 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14368 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14369 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14371 * sysdeps/posix/getaddrinfo.c: Likewise.
14372 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14373 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14374 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14375 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14376 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14377 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14378 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14379 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14380 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14381 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14382 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14383 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14384 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14385 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14386 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14387 * sysdeps/x86_64/dl-tls.h: Likewise.
14388 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14389 * time/alt_digit.c: Likewise.
14390 * time/era.c: Likewise.
14391 * wcsmbs/tst-c16c32-1.c: Likewise.
14392
14393 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14394
14395 * math/libm-test.inc (struct test_sincos_data): New type.
14396 (RUN_TEST_LOOP_sincos): New macro.
14397 (sincos_test_data): New variable.
14398 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14399
14400 2013-05-16 Richard Henderson <rth@redhat.com>
14401
14402 * math/atest-exp2.c (LIMB64): New macro.
14403 (CONSTSZ): New macro.
14404 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14405 (hexdig): Move ...
14406 (print_mpn_fp): ... to function scope.
14407 (read_mpn_hex): Remove.
14408 (get_log2): Remove.
14409 (exp2_mpn): Use mp_log2.
14410 (main): Use mp_exp1.
14411
14412 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14413
14414 * math/libm-test.inc: Remove comment about not testing "inexact"
14415 exceptions.
14416 (INEXACT_EXCEPTION): New macro.
14417 (NO_INEXACT_EXCEPTION): Likewise.
14418 (INVALID_EXCEPTION_OK): Update value.
14419 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14420 (OVERFLOW_EXCEPTION_OK): Likewise.
14421 (UNDERFLOW_EXCEPTION_OK): Likewise.
14422 (IGNORE_ZERO_INF_SIGN): Likewise.
14423 (ERRNO_UNCHANGED): Likewise.
14424 (ERRNO_EDOM): Likewise.
14425 (ERRNO_ERANGE): Likewise.
14426 (test_exceptions): Handle testing "inexact" exceptions.
14427 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14428 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14429 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14430 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14431 INEXACT_EXCEPTION.
14432 (rint_towardzero_test_data): Likewise.
14433 (rint_downward_test_data): Likewise.
14434 (rint_upward_test_data): Likewise.
14435
14436 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14437 with OVERFLOW_EXCEPTION.
14438 (exp10_test_data): Likewise.
14439 (exp2_test_data): Likewise.
14440 (expm1_test_data): Likewise.
14441 (lgamma_test_data): Likewise.
14442 (pow_test_data): Likewise.
14443 (tgamma_test_data): Likewise.
14444 (yn_test_data): Remove duplicate test of overflow.
14445
14446 * math/libm-test.inc (struct test_cc_c_data): New type.
14447 (RUN_TEST_LOOP_cc_c): New macro.
14448 (cpow_test_data): New variable.
14449 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14450
14451 * math/libm-test.inc (struct test_f_L_data): New type.
14452 (RUN_TEST_LOOP_f_L): New macro.
14453 (llrint_test_data): New variable.
14454 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14455 (llrint_tonearest_test_data): New variable.
14456 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14457 (llrint_towardzero_test_data): New variable.
14458 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14459 (llrint_downward_test_data): New variable.
14460 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14461 (llrint_upward_test_data): New variable.
14462 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14463 (llround_test_data): New variable.
14464 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14465
14466 2013-05-13 Peter Collingbourne <pcc@google.com>
14467
14468 * math/atest-exp2.c (get_log2): Remove const attribute.
14469
14470 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14471
14472 * math/libm-test.inc (struct test_f_l_data): New type.
14473 (RUN_TEST_LOOP_f_l): New macro.
14474 (lrint_test_data): New variable.
14475 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14476 (lrint_tonearest_test_data): New variable.
14477 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14478 (lrint_towardzero_test_data): New variable.
14479 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14480 (lrint_downward_test_data): New variable.
14481 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14482 (lrint_upward_test_data): New variable.
14483 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14484 (lround_test_data): New variable.
14485 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14486
14487 2013-05-15 Peter Collingbourne <pcc@google.com>
14488
14489 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14490 (EXTRACT_WORDS64) Use where appropriate.
14491 (INSERT_WORDS64) Likewise.
14492
14493 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14494 constraints with x constraints.
14495 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14496
14497 * malloc/obstack.c (_obstack_compat): Add initializer.
14498
14499 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14500
14501 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14502 si_trapno and add si_addr_lsb to _sifields.sigfault.
14503 (si_trapno): Remove macro.
14504 (si_addr_lsb): Define new macro.
14505 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14506
14507 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14508
14509 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14510 instead of TEST_f_l.
14511 (llrint_test_tonearest): Likewise.
14512 (llrint_test_towardzero): Likewise.
14513 (llrint_test_downward): Likewise.
14514 (llrint_test_upward): Likewise.
14515 (llround_test): Likewise.
14516
14517 * math/libm-test.inc (struct test_f_i_data): Add comment.
14518 (RUN_TEST_LOOP_f_b): New macro.
14519 (RUN_TEST_LOOP_f_b_tg): Likewise.
14520 (finite_test_data): New variable.
14521 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14522 (isfinite_test_data): New variable.
14523 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14524 (isinf_test_data): New variable.
14525 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14526 (isnan_test_data): New variable.
14527 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14528 (isnormal_test_data): New variable.
14529 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14530 (issignaling_test_data): New variable.
14531 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14532 (signbit_test_data): New variable.
14533 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14534
14535 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14536 with INVALID_EXCEPTION.
14537 (acosh_test_data): Likewise.
14538 (asin_test_data): Likewise.
14539 (atanh_test_data): Likewise.
14540 (fmod_test_data): Likewise.
14541 (log_test_data): Likewise.
14542 (log10_test_data): Likewise.
14543 (log2_test_data): Likewise.
14544 (pow_test_data): Likewise.
14545 (sqrt_test_data): Likewise.
14546 (y0_test_data): Likewise.
14547 (y1_test_data): Likewise.
14548 (yn_test_data): Likewise.
14549
14550 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14551 function contents.
14552
14553 * math/libm-test.inc (struct test_ff_i_data): New type.
14554 (RUN_TEST_LOOP_ff_i_tg): New macro.
14555 (isgreater_test_data): New variable.
14556 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14557 (isgreaterequal_test_data): New variable.
14558 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14559 (isless_test_data): New variable.
14560 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14561 (islessequal_test_data): New variable.
14562 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14563 (islessgreater_test_data): New variable.
14564 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14565 (isunordered_test_data): New variable.
14566 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14567
14568 2013-05-14 David S. Miller <davem@davemloft.net>
14569
14570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14571
14572 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14573
14574 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14575
14576 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14577 extra_test to int.
14578 (struct test_f_i_data): Change type of max_ulp to int.
14579
14580 * math/libm-test.inc (test_ffI_f1_data): New type.
14581 (RUN_TEST_LOOP_ffI_f1): New macro.
14582 (remquo_test_data): New variable.
14583 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14584
14585 * setjmp/tst-setjmp-fp.c: New file.
14586 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14587 (link-libm): New variable.
14588 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14589
14590 * math/libm-test.inc (struct test_f_i_data): New type.
14591 (RUN_TEST_LOOP_f_i): New macro.
14592 (RUN_TEST_LOOP_f_i_tg): Likewise.
14593 (fpclassify_test_data): New variable.
14594 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14595 (ilogb_test_data): New variable.
14596 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14597
14598 * math/libm-test.inc (scalbln_test): Correct function name in END
14599 call.
14600
14601 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14602 (RUN_TEST_LOOP_fI_f1): New macro.
14603 (frexp_test_data): New variable.
14604 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14605
14606 * math/libm-test.inc (struct test_fF_f1_data): New type.
14607 (RUN_TEST_LOOP_fF_f1): New macro.
14608 (modf_test_data): New variable.
14609 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14610
14611 * math/libm-test.inc (struct test_f_f1_data): New type.
14612 (RUN_TEST_LOOP_f_f1): New macro.
14613 (gamma_test_data): New variable.
14614 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14615 (lgamma_test_data): New variable.
14616 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14617
14618 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14619
14620 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14621 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14622 (main): Comment "tls" pseudo-hwcap.
14623
14624 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14625
14626 * math/libm-test.inc (struct test_fl_f_data): New type.
14627 (RUN_TEST_LOOP_fl_f): New variable.
14628 (scalbln_test_data): New variable.
14629 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14630
14631 * math/libm-test.inc (struct test_fi_f_data): New type.
14632 (RUN_TEST_LOOP_fi_f): New macro.
14633 (ldexp_test_data): New variable.
14634 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14635 (scalbn_test_data): New variable.
14636 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14637
14638 * math/libm-test.inc (struct test_c_f_data): New type.
14639 (RUN_TEST_LOOP_c_f): New macro.
14640 (cabs_test_data): New variable.
14641 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14642 (carg_test_data): New variable.
14643 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14644 (cimag_test_data): New variable.
14645 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14646 (creal_test_data): New variable.
14647 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14648
14649 * math/libm-test.inc (struct test_if_f_data): New type.
14650 (RUN_TEST_LOOP_if_f): New macro.
14651 (jn_test_data): New variable.
14652 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14653 (yn_test_data): New variable.
14654 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14655
14656 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14657
14658 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14659
14660 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14661 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14662
14663 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14664
14665 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14666 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14667 (bench-deps): Add bench-timing.h.
14668 * benchtests-bench-skeleton.c: Include bench-timing.h.
14669 (main): Use TIMING_* macros instead of clock_gettime.
14670 * benchtests/bench-timing.h: New file.
14671
14672 [BZ #14582]
14673 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14674 Renamed from _LIB_VERSION.
14675 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14676
14677 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14678
14679 * math/libm-test.inc (struct test_fff_f_data): New type.
14680 (RUN_TEST_LOOP_fff_f): New macro.
14681 (fma_test_data): New variable.
14682 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14683 (fma_towardzero_test_data): New variable.
14684 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14685 (fma_downward_test_data): New variable.
14686 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14687 (fma_upward_test_data): New variable.
14688 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14689
14690 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14691 (struct test_c_c_data): New type.
14692 (RUN_TEST_LOOP_c_c): New macro.
14693 (cacos_test_data): New variable.
14694 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14695 (cacosh_test_data): New variable.
14696 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14697 (casin_test_data): New variable.
14698 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14699 (casinh_test_data): New variable.
14700 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14701 (catan_test_data): New variable.
14702 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14703 (catanh_test_data): New variable.
14704 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14705 (ccos_test_data): New variable.
14706 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14707 (ccosh_test_data): New variable.
14708 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14709 (cexp_test_data): New variable.
14710 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14711 (clog_test_data): New variable.
14712 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14713 (clog10_test_data): New variable.
14714 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14715 (conj_test_data): New variable.
14716 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14717 (cproj_test_data): New variable.
14718 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14719 (csin_test_data): New variable.
14720 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14721 (csinh_test_data): New variable.
14722 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14723 (csqrt_test_data): New variable.
14724 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14725 (ctan_test_data): New variable.
14726 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14727 (ctan_tonearest_test_data): New variable.
14728 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14729 (ctan_towardzero_test_data): New variable.
14730 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14731 (ctan_downward_test_data): New variable.
14732 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14733 (ctan_upward_test_data): New variable.
14734 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14735 (ctanh_test_data): New variable.
14736 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14737 (ctanh_tonearest_test_data): New variable.
14738 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14739 (ctanh_towardzero_test_data): New variable.
14740 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14741 (ctanh_downward_test_data): New variable.
14742 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14743 (ctanh_upward_test_data): New variable.
14744 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14745 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14746 of BUILD_COMPLEX.
14747
14748 * math/libm-test.inc (struct test_ff_f_data): New type.
14749 (struct test_ff_f_data_nexttoward): Likewise.
14750 (RUN_TEST_LOOP_2_f): New macro.
14751 (RUN_TEST_LOOP_ff_f): Likewise.
14752 (atan2_test_data): New variable.
14753 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14754 (copysign_test_data): New variable.
14755 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14756 (fdim_test_data): New variable.
14757 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14758 (fmax_test_data): New variable.
14759 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14760 (fmin_test_data): New variable.
14761 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14762 (fmod_test_data): New variable.
14763 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14764 (hypot_test_data): New variable.
14765 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14766 (nextafter_test_data): New variable.
14767 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14768 (nexttoward_test_data): New variable.
14769 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14770 (pow_test_data): New variable.
14771 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14772 (pow_tonearest_test_data): New variable.
14773 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14774 (pow_towardzero_test_data): New variable.
14775 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14776 (pow_downward_test_data): New variable.
14777 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14778 (pow_upward_test_data): New variable.
14779 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14780 (remainder_test_data): New variable.
14781 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14782 (scalb_test_data): New variable.
14783 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14784 * sysdeps/i386/fpu/libm-test-ulps: Update.
14785
14786 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14787
14788 * math/libm-test.inc (fma_test): Use max_value instead of local
14789 variable fltmax.
14790 (nextafter_test): Likewise.
14791
14792 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14793 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14794 (acos_downward_test_data): New variable.
14795 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14796 (acos_upward_test_data): New variable.
14797 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14798 (acosh_test_data): New variable.
14799 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14800 (asin_test_data): New variable.
14801 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14802 (asin_tonearest_test_data): New variable.
14803 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14804 (asin_towardzero_test_data): New variable.
14805 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14806 (asin_downward_test_data): New variable.
14807 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14808 (asin_upward_test_data): New variable.
14809 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14810 (asinh_test_data): New variable.
14811 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14812 (atan_test_data): New variable.
14813 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14814 (atanh_test_data): New variable.
14815 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14816 (cbrt_test_data): New variable.
14817 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14818 (ceil_test_data): New variable.
14819 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14820 (cos_test_data): New variable.
14821 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14822 (cos_tonearest_test_data): New variable.
14823 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14824 (cos_towardzero_test_data): New variable.
14825 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14826 (cos_downward_test_data): New variable.
14827 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14828 (cos_upward_test_data): New variable.
14829 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14830 (cosh_test_data): New variable.
14831 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14832 (cosh_tonearest_test_data): New variable.
14833 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14834 (cosh_towardzero_test_data): New variable.
14835 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14836 (cosh_downward_test_data): New variable.
14837 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14838 (cosh_upward_test_data): New variable.
14839 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14840 (erf_test_data): New variable.
14841 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14842 (erfc_test_data): New variable.
14843 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14844 (exp_test_data): New variable.
14845 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14846 (exp_tonearest_test_data): New variable.
14847 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14848 (exp_towardzero_test_data): New variable.
14849 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14850 (exp_downward_test_data): New variable.
14851 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14852 (exp_upward_test_data): New variable.
14853 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14854 (exp10_test_data): New variable.
14855 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14856 (exp2_test_data): New variable.
14857 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14858 (expm1_test_data): New variable.
14859 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14860 (fabs_test_data): New variable.
14861 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14862 (floor_test_data): New variable.
14863 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14864 (j0_test_data): New variable.
14865 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14866 (j1_test_data): New variable.
14867 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14868 (log_test_data): New variable.
14869 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14870 (log10_test_data): New variable.
14871 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14872 (log1p_test_data): New variable.
14873 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14874 (log2_test_data): New variable.
14875 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14876 (logb_test_data): New variable.
14877 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14878 (logb_downward_test_data): New variable.
14879 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14880 (nearbyint_test_data): New variable.
14881 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14882 (rint_test_data): New variable.
14883 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14884 (rint_tonearest_test_data): New variable.
14885 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14886 (rint_towardzero_test_data): New variable.
14887 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14888 (rint_downward_test_data): New variable.
14889 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14890 (rint_upward_test_data): New variable.
14891 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14892 (round_test_data): New variable.
14893 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14894 (sin_test_data): New variable.
14895 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14896 (sin_tonearest_test_data): New variable.
14897 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14898 (sin_towardzero_test_data): New variable.
14899 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14900 (sin_downward_test_data): New variable.
14901 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14902 (sin_upward_test_data): New variable.
14903 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14904 (sinh_test_data): New variable.
14905 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14906 (sinh_tonearest_test_data): New variable.
14907 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14908 (sinh_towardzero_test_data): New variable.
14909 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14910 (sinh_downward_test_data): New variable.
14911 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14912 (sinh_upward_test_data): New variable.
14913 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14914 (sqrt_test_data): New variable.
14915 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14916 (tan_test_data): New variable.
14917 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14918 (tan_tonearest_test_data): New variable.
14919 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14920 (tan_towardzero_test_data): New variable.
14921 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14922 (tan_downward_test_data): New variable.
14923 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14924 (tan_upward_test_data): New variable.
14925 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14926 (tanh_test_data): New variable.
14927 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14928 (tgamma_test_data): New variable.
14929 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14930 (trunc_test_data): New variable.
14931 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14932 (y0_test_data): New variable.
14933 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14934 (y1_test_data): New variable.
14935 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14936 (significand_test_data): New variable.
14937 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14938
14939 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14940
14941 [BZ #12387]
14942 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14943
14944 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14945
14946 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14947
14948 2013-05-10 Andreas Jaeger <aj@suse.de>
14949
14950 [BZ #15448]
14951 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14952 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14953
14954 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14955
14956 * math/gen-libm-test.pl (adjust_arg): New function.
14957 (special_functions): Handle generating output in both functions
14958 and arrays.
14959 (parse_args): Likewise.
14960 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14961 $in_func argument to parse_args.
14962 * math/libm-test.inc (struct test_f_f_data): New type.
14963 (IF_ROUND_INIT_): New macro.
14964 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14965 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14966 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14967 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14968 (ROUND_RESTORE_): Likewise.
14969 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14970 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14971 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14972 (ROUND_RESTORE_FE_UPWARD): Likewise.
14973 (RUN_TEST_LOOP_f_f): New macro.
14974 (acos_test_data): New variable.
14975 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14976 (acos_tonearest_test_data): New variable.
14977 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14978
14979 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14980
14981 * benchtests/bench-skeleton.c (startup): Fix coding style.
14982
14983 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14984
14985 [BZ #6809]
14986 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14987 negative infinity argument.
14988 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14989 negative infinity argument.
14990 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14991 negative infinity argument.
14992 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14993 domain errors.
14994
14995 2013-05-10 Florian Weimer <fweimer@redhat.com>
14996
14997 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14998 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14999 * iconv/iconv_prog.c (main): Likewise.
15000 * locale/programs/charmap-dir.c (charmap_readdir)
15001 (fopen_uncompressed): Likewise.
15002 * locale/programs/locfile.c (siblings_uncached)
15003 (write_locale_data): Use lstat64 instead of lstat.
15004 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15005 stat.
15006
15007 2013-05-10 Andreas Jaeger <aj@suse.de>
15008
15009 [BZ #15395]
15010 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15011 localization.
15012 Include <locale.h>.
15013
15014 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15015
15016 * elf/dl-close.c (_dl_close_worker): Add comments.
15017
15018 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15019
15020 [BZ #15359]
15021 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15022 high part of pi/2.
15023 (__ieee754_rem_pio2l): Update comments.
15024
15025 [BZ #15429]
15026 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15027 high part of pi/2.
15028 (__ieee754_rem_pio2l): Update comments.
15029
15030 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15031 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15032
15033 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15034 M_PI_4l.
15035
15036 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15037 (M_PI_34_LOG10El): Likewise.
15038 (M_PI2_LOG10El): Likewise.
15039 (M_PI4_LOG10El): Likewise.
15040 (M_PI_LOG10El): Likewise.
15041
15042 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15043
15044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15045
15046 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15047
15048 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15049 (MINUS_ZERO_INIT): Likewise.
15050 (PLUS_INFTY_INIT): Likewise.
15051 (MINUS_INFTY_INIT): Likewise.
15052 (QNAN_VALUE_INIT): Likewise.
15053 (MAX_VALUE_INIT): Likewise.
15054 (MIN_VALUE_INIT): Likewise.
15055 (MIN_SUBNORM_VALUE_INIT): Likewise.
15056 (plus_zero): Initialize with PLUS_ZERO_INIT.
15057 (minus_zero): Initialize with MINUS_ZERO_INIT.
15058 (plus_infty): Initialize with PLUS_INFTY_INIT.
15059 (minus_infty): Initialize with MINUS_INFTY_INIT.
15060 (qnan_value): Initialize with QNAN_VALUE_INIT.
15061 (max_value): Initialize with MAX_VALUE_INIT.
15062 (min_value): Initialize with MIN_VALUE_INIT.
15063 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15064
15065 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15066 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15067 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15068 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15069
15070 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15071 (RUN_TEST_2_f): Likewise.
15072 (RUN_TEST_ff_f): Likewise.
15073 (RUN_TEST_fi_f): Likewise.
15074 (RUN_TEST_fl_f): Likewise.
15075 (RUN_TEST_fff_f): Likewise.
15076 (RUN_TEST_c_f): Likewise.
15077 (RUN_TEST_f_f1): Likewise.
15078 (RUN_TEST_fF_f1): Likewise.
15079 (RUN_TEST_fI_f1): Likewise.
15080 (RUN_TEST_ffI_f1): Likewise.
15081 (RUN_TEST_c_c): Likewise.
15082 (RUN_TEST_cc_c): Likewise.
15083 (RUN_TEST_f_i): Likewise.
15084 (RUN_TEST_f_i_tg): Likewise.
15085 (RUN_TEST_ff_i_tg): Likewise.
15086 (RUN_TEST_f_b): Likewise.
15087 (RUN_TEST_f_b_tg): Likewise.
15088 (RUN_TEST_f_l): Likewise.
15089 (RUN_TEST_f_L): Likewise.
15090 (RUN_TEST_sincos): Likewise.
15091 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15092 whether to show exceptions. Do not include ");\n" in return
15093 value.
15094 (special_functions): Output call to RUN_TEST_sincos instead of
15095 check_float calls. Update calls to new_test.
15096 (parse_args): Output call to single RUN_TEST_* macro instead of
15097 check_* calls and other assignments. Update calls to new_test.
15098
15099 [BZ #2546]
15100 [BZ #2560]
15101 [BZ #5159]
15102 [BZ #15426]
15103 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15104 input to result for tgamma overflow.
15105 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15106 (gamma_coeff): New variable.
15107 (NCOEFF): New macro.
15108 (gamma_positive): New function.
15109 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15110 underflow here. Use gamma_positive instead of exp (lgamma) for
15111 other arguments.
15112 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15113 (gamma_coeff): New variable.
15114 (NCOEFF): New macro.
15115 (gammaf_positive): New function.
15116 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15117 underflow here. Use gamma_positive instead of exp (lgamma) for
15118 other arguments.
15119 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15120 (gamma_coeff): New variable.
15121 (NCOEFF): New macro.
15122 (gammal_positive): New function.
15123 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15124 underflow here. Use gamma_positive instead of exp (lgamma) for
15125 other arguments.
15126 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15127 (gamma_coeff): New variable.
15128 (NCOEFF): New macro.
15129 (gammal_positive): New function.
15130 (__ieee754_gammal_r): Handle positive infinity, overflow and
15131 underflow here. Handle NaN the same as positive infinity. Remove
15132 check x < 0xffffffff for negative integers. Use gamma_positive
15133 instead of exp (lgamma) for other arguments.
15134 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15135 (gamma_coeff): New variable.
15136 (NCOEFF): New macro.
15137 (gammal_positive): New function.
15138 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15139 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15140 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15141 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15142 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15143 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15144 * sysdeps/generic/math_private.h (__gamma_productf): New
15145 prototype.
15146 (__gamma_product): Likewise.
15147 (__gamma_productl): Likewise.
15148 * math/Makefile (libm-calls): Add gamma_product.
15149 * math/libm-test.inc (tgamma_test): Add more tests.
15150 * sysdeps/i386/fpu/libm-test-ulps: Update.
15151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15152
15153 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15154
15155 * benchtests/bench-skeleton.c (main): Preheat CPU.
15156
15157 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15158
15159 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15160
15161 2013-05-07 Roland McGrath <roland@hack.frob.com>
15162
15163 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15164 and _dl_skip_args_internal.
15165
15166 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15167
15168 * manual/message.texi (Message Translation): Talk about users.
15169 Message to key mapping impacts design.
15170
15171 2013-05-06 Roland McGrath <roland@hack.frob.com>
15172
15173 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15174
15175 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15176
15177 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15178 * sysdeps/wordsize-64/glob64.c: ... here.
15179
15180 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15181 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15182 New macros.
15183
15184 * debug/getlogin_r_chk.c: Moved to ...
15185 * login/getlogin_r_chk.c: ... here.
15186 * debug/Makefile (routines): Move getlogin_r_chk to ...
15187 * login/Makefile (routines): ... here.
15188 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15189 * login/Versions (libc: GLIBC_2.4): ... here.
15190
15191 * io/poll.c (__poll): Renamed from poll.
15192 Add libc_hidden_def.
15193 (poll): Define as weak alias.
15194
15195 * debug/ptsname_r_chk.c: Moved to ...
15196 * login/ptsname_r_chk.c: ... here.
15197 * debug/Makefile (routines): Move ptsname_r_chk to ...
15198 * login/Makefile (routines): ... here.
15199 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15200 * login/Versions (libc: GLIBC_2.4): ... here.
15201
15202 * posix/getlogin.c: Moved to ...
15203 * login/getlogin.c: ... here.
15204 * posix/getlogin_r.c: Moved to ...
15205 * login/getlogin_r.c: ... here.
15206 * posix/getlogin_r.c: Moved to ...
15207 * login/getlogin_r.c: ... here.
15208 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15209 * login/Makefile (routines): ... here.
15210 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15211 * login/Versions (libc: GLIBC_2.0): ... here.
15212
15213 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15214 (setrlimit): Define as weak alias.
15215
15216 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15217 Call __ names for open, ftruncate, and close.
15218 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15219 (truncate): Define as weak alias.
15220
15221 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15222
15223 * math/gen-libm-test.pl (parse_args): Initialize x before each
15224 test of frexp, modf and remquo.
15225
15226 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15227 test signgam value.
15228
15229 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15230
15231 [BZ #15418]
15232 [BZ #15419]
15233 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15234 internal tests.
15235 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15236
15237 2013-05-06 Roland McGrath <roland@hack.frob.com>
15238
15239 * elf/dl-writev.h: New file.
15240 * elf/dl-misc.c: Include it.
15241 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15242 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15243
15244 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15245
15246 * math/libm-test.inc (noXFails): Remove variable.
15247 (noXPasses): Likewise.
15248 (BUILD_COMPLEX_INT): Remove macro.
15249 (print_screen): Remove xfail argument.
15250 (print_screen_max_error): Likewise.
15251 (update_stats): Likewise.
15252 (print_max_error): Likewise. Update calls to other affected
15253 functions.
15254 (print_complex_max_error): Likewise.
15255 (test_single_exception): Update calls to print_screen.
15256 (test_single_errno): Likewise.
15257 (check_float_internal): Remove xfail argument. Update calls to
15258 other affected functions.
15259 (check_float): Likewise.
15260 (check_complex): Likewise.
15261 (check_int): Likewise.
15262 (check_long): Likewise.
15263 (check_bool): Likewise.
15264 (check_longlong): Likewise.
15265 (main): Don't print noXFails and noXPasses.
15266 * math/gen-libm-test.pl (top level): Don't mention expected
15267 failure handling in comment.
15268 (new_test): Don't handle expected failures.
15269 (parse_args): Don't mention expected failure handling in comment.
15270 (generate_testfile): Don't handle expected failures.
15271 (parse_ulps): Likewise.
15272 (print_ulps_file): Likewise.
15273 (get_failure): Remove function.
15274 (output_test): Don't handle expected failures.
15275 * make/README.libm-test: Don't mention expected failure handling.
15276
15277 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15278 (minus_zero): Likewise.
15279 (plus_infty): Likewise.
15280 (minus_infty): Likewise.
15281 (qnan_value): Likewise.
15282 (max_value): Likewise.
15283 (min_value): Likewise.
15284 (min_subnorm_value): Likewise.
15285 (initialize): Do not initialize those variables dynamically.
15286
15287 2013-05-03 Roland McGrath <roland@hack.frob.com>
15288
15289 * io/open.c (__open_2): Moved to ...
15290 * io/open_2.c: ... this new file.
15291 * io/open64.c (__open64_2): Moved to ...
15292 * io/open64_2.c: ... this new file.
15293 * io/openat.c (__openat_2): Moved to ...
15294 * io/openat_2.c: ... this new file.
15295 * io/openat64.c (__openat64_2): Moved to ...
15296 * io/openat64_2.c: ... this new file.
15297 * io/Makefile (routines): Add them.
15298 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15299 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15300 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15301 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15302 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15303 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15304 (__openat64): Add hidden_ver.
15305 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15306 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15307
15308 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15309 Separately conditionalize setting of GLRO(dl_sysinfo) so
15310 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15311 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15312
15313 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15314
15315 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15316 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15317 definition.
15318 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15319 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15320 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15321 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15322 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15323
15324 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15325
15326 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15327 test signgam value.
15328
15329 * math/libm-test.inc (hypot_test): Do not use
15330 IGNORE_ZERO_INF_SIGN.
15331
15332 2013-05-03 Andreas Jaeger <aj@suse.de>
15333
15334 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15335 Linux 3.9.
15336 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15337 (PF_MAX): Adjust for VSOCK change.
15338
15339 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15340
15341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15342
15343 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15344
15345 [BZ #15264]
15346 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15347 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15348 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15349
15350 2013-05-02 David S. Miller <davem@davemloft.net>
15351
15352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15353
15354 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15355
15356 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15357
15358 2013-05-01 Roland McGrath <roland@hack.frob.com>
15359
15360 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15361
15362 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15363
15364 [BZ #14952]
15365 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15366 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15367 Use __attribute__ ((__gnu_inline__)).
15368 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15369 Don't use __attribute__ ((__gnu_inline__)).
15370
15371 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15372
15373 [BZ #15423]
15374 * math/s_catan.c (__catan): Handle small real or imaginary part of
15375 input specially to avoid spurious underflow.
15376 * math/s_catanf.c (__catanf): Likewise.
15377 * math/s_catanh.c (__catanh): Likewise.
15378 * math/s_catanhf.c (__catanhf): Likewise.
15379 * math/s_catanhl.c (__catanhl): Likewise.
15380 * math/s_catanl.c (__catanl): Likewise.
15381 * math/libm-test.inc (catan_test): Add more tests.
15382 (catanh_test): Likewise.
15383 * sysdeps/i386/fpu/libm-test-ulps: Update.
15384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15385
15386 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15387
15388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15389
15390 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15391
15392 [BZ #15416]
15393 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15394 accurately for denominator in atan2.
15395 * math/s_catanf.c (__catanf): Likewise.
15396 * math/s_catanh.c (__catanh): Likewise.
15397 * math/s_catanhf.c (__catanhf): Likewise.
15398 * math/s_catanhl.c (__catanhl): Likewise.
15399 * math/s_catanl.c (__catanl): Likewise.
15400 * math/libm-test.inc (catan_test): Add more tests.
15401 (catanh_test): Likewise.
15402 * sysdeps/i386/fpu/libm-test-ulps: Update.
15403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15404
15405 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15406
15407 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15408
15409 * benchtests/Makefile (bench): Remove slow benchmarks.
15410 * benchtests/atan-inputs: Add slow benchmark inputs.
15411 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15412 (BENCH_FUNC): Accept variant offset.
15413 (VARIANT): Define.
15414 * benchtests/bench-skeleton.c (main): Run benchmark for each
15415 variant.
15416 * benchtests/cos-inputs: Add slow benchmark inputs.
15417 * benchtests/exp-inputs: Likewise.
15418 * benchtests/pow-inputs: Likewise.
15419 * benchtests/sin-inputs: Likewise.
15420 * benchtests/slowatan-inputs: Remove.
15421 * benchtests/slowatan.c: Remove.
15422 * benchtests/slowcos-inputs: Remove.
15423 * benchtests/slowcos.c: Remove.
15424 * benchtests/slowexp-inputs: Remove.
15425 * benchtests/slowexp.c: Remove.
15426 * benchtests/slowpow-inputs: Remove.
15427 * benchtests/slowpow.c: Remove.
15428 * benchtests/slowsin-inputs: Remove.
15429 * benchtests/slowsin.c: Remove.
15430 * benchtests/slowtan-inputs: Remove.
15431 * benchtests/slowtan.c: Remove.
15432 * benchtests/tan-inputs: Add slow benchmark inputs.
15433 * scripts/bench.pl: Parse comments and directives.
15434
15435 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15436 in CPPFLAGS.
15437 ($(objpfx)bench-%.c): Remove *-ITER.
15438 * benchtests/bench-modf.c: Remove definition of ITER.
15439 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15440 (main): Loop for DURATION seconds instead of fixed number of
15441 iterations.
15442 * scripts/bench.pl: Don't expect iterations in parameters.
15443
15444 2013-04-29 Roland McGrath <roland@hack.frob.com>
15445
15446 * io/fchdir.c (__fchdir): Renamed from fchdir.
15447 (fchdir): Define as weak alias.
15448
15449 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15450
15451 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15452 (ERRNO_EDOM): Likewise.
15453 (ERRNO_ERANGE): Likewise.
15454 (noErrnoTests): New variable.
15455 (init_max_error): Set errno to 0.
15456 (test_single_errno): New function.
15457 (test_errno): Likewise.
15458 (check_float_internal): Call test_errno. Set errno to 0.
15459 (check_complex): Refer to errno tests in comment.
15460 (check_int): Call test_errno. Set errno to 0.
15461 (check_long): Likewise.
15462 (check_bool): Likewise.
15463 (check_longlong): Likewise.
15464 (cos_test): Use ERRNO_* flags for errno tests instead of
15465 check_int.
15466 (expm1_test): Likewise.
15467 (fmod_test): Likewise.
15468 (ilogb_test): Likewise.
15469 (lgamma_test): Likewise.
15470 (pow_test): Likewise.
15471 (remainder_test): Likewise.
15472 (sin_test): Likewise.
15473 (tan_test): Likewise.
15474 (yn_test): Likewise.
15475 (initialize): Set errno to 0.
15476 (main): Print number of errno tests.
15477 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15478
15479 2013-04-29 Andreas Jaeger <aj@suse.de>
15480
15481 [BZ #15084]
15482 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15483 and RES_USEVC.
15484
15485 [BZ #15085]
15486 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15487 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15488 unimplemented.
15489
15490 [BZ #15380]
15491 * stdlib/random.c (__initstate): Return NULL if
15492 __initstate fails.
15493
15494 [BZ #15086]
15495 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15496 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15497 RES_SNGLKUPREOP.
15498
15499 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15500
15501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15502
15503 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15504
15505 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15506 of individual tests.
15507 (casin_test): Likewise.
15508 (casinh_test): Likewise.
15509
15510 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15511
15512 [BZ #15409]
15513 * math/s_catan.c (__catan): Handle arguments with large real or
15514 imaginary part separately without squaring.
15515 * math/s_catanf.c (__catanf): Likewise.
15516 * math/s_catanh.c (__catanh): Likewise.
15517 * math/s_catanhf.c (__catanhf): Likewise.
15518 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15519 and redefine.
15520 (__catanhl): Handle arguments with large real or imaginary part
15521 separately without squaring.
15522 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15523 and redefine.
15524 (__catanl): Handle arguments with large real or imaginary part
15525 separately without squaring.
15526 * math/libm-test.inc (catan_test): Add more tests.
15527 (catanh_test): Likewise.
15528 * sysdeps/i386/fpu/libm-test-ulps: Update.
15529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15530
15531 2013-04-27 Andreas Jaeger <aj@suse.de>
15532
15533 [BZ #15007]
15534 * stdlib/stdlib.h: Update guards for qecvt.
15535 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15536 <stdlib.h>.
15537
15538 2013-04-27 Allan McRae <allan@archlinux.org>
15539
15540 * sysdeps/i386/fpu/libm-test-ulps: Update.
15541
15542 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15543
15544 [BZ #15406]
15545 * math/s_catan.c: Include <float.h>.
15546 (__catan): Ensure underflow exception occurs for underflowed
15547 result.
15548 * math/s_catanf.c: Include <float.h>.
15549 (__catanf): Ensure underflow exception occurs for underflowed
15550 result.
15551 * math/s_catanh.c: Include <float.h>.
15552 (__catanh): Ensure underflow exception occurs for underflowed
15553 result.
15554 * math/s_catanhf.c: Include <float.h>.
15555 (__catanhf): Ensure underflow exception occurs for underflowed
15556 result.
15557 * math/s_catanhl.c: Include <float.h>.
15558 (__catanhl): Ensure underflow exception occurs for underflowed
15559 result.
15560 * math/s_catanl.c: Include <float.h>.
15561 (__catanl): Ensure underflow exception occurs for underflowed
15562 result.
15563 * math/libm-test.inc (catan_test): Add more tests.
15564 (catanh_test): Likewise.
15565
15566 [BZ #15405]
15567 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15568 underflowed result.
15569 * math/s_ccoshf.c (__ccoshf): Likewise.
15570 * math/s_ccoshl.c (__ccoshl): Likewise.
15571 * math/s_csin.c (__csin): Likewise.
15572 * math/s_csinf.c (__csinf): Likewise.
15573 * math/s_csinh.c (__csinh): Likewise.
15574 * math/s_csinhf.c (__csinhf): Likewise.
15575 * math/s_csinhl.c (__csinhl): Likewise.
15576 * math/s_csinl.c (__csinl): Likewise.
15577 * math/libm-test.inc (ccos_test): Add more tests.
15578 (ccosh_test): Likewise.
15579 (csin_test): Likewise.
15580 (csinh_test): Likewise.
15581
15582 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15583
15584 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15585 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15586 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15587 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15588 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15589 powerpc/power5+/fpu folders.
15590 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15591
15592
15593 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15594
15595 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15596
15597 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15598
15599 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15600 additions to variable.
15601 [$(config-machine) = x86_64] (modules-names): Likewise.
15602 ($(objpfx)tst-audit3): Remove dependency.
15603 ($(objpfx)tst-audit3.out): Likewise.
15604 ($(objpfx)tst-audit4): Likewise.
15605 ($(objpfx)tst-audit4.out): Likewise.
15606 ($(objpfx)tst-audit5): Likewise.
15607 ($(objpfx)tst-audit5.out): Likewise.
15608 ($(objpfx)tst-audit6): Likewise.
15609 ($(objpfx)tst-audit6.out): Likewise.
15610 ($(objpfx)tst-audit7): Likewise.
15611 ($(objpfx)tst-audit7.out): Likewise.
15612 (tst-audit3-ENV): Remove variable.
15613 (tst-audit4-ENV): Likewise.
15614 (tst-audit5-ENV): Likewise.
15615 (tst-audit6-ENV): Likewise.
15616 (tst-audit7-ENV): Likewise.
15617 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15618 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15619 addition to variable.
15620 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15621 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15622 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15623 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15624 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15625 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15626 tst-audit3, tst-audit4 and tst-audit5.
15627 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15628 tst-audit6 and tst-audit7.
15629 [$(subdir) = elf] (modules-names): Add audit modules for those
15630 tests.
15631 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15632 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15633 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15634 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15635 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15636 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15637 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15638 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15639 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15640 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15641 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15642 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15643 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15644 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15645 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15646 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15647 Likewise.
15648 [$(subdir) = elf && $(config-cflags-avx) = yes]
15649 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15650 [$(subdir) = elf && $(config-cflags-avx) = yes]
15651 (CFLAGS-tst-auditmod4a.c): Likewise.
15652 [$(subdir) = elf && $(config-cflags-avx) = yes]
15653 (CFLAGS-tst-auditmod4b.c): Likewise.
15654 [$(subdir) = elf && $(config-cflags-avx) = yes]
15655 (CFLAGS-tst-auditmod6b.c): Likewise.
15656 [$(subdir) = elf && $(config-cflags-avx) = yes]
15657 (CFLAGS-tst-auditmod6c.c): Likewise.
15658 [$(subdir) = elf && $(config-cflags-avx) = yes]
15659 (CFLAGS-tst-auditmod7b.c): Likewise.
15660 * elf/tst-audit3.c: Move to ...
15661 * sysdeps/x86_64/tst-audit3.c: ... here.
15662 * elf/tst-audit4.c: Move to ...
15663 * sysdeps/x86_64/tst-audit4.c: ... here.
15664 * elf/tst-audit5.c: Move to ...
15665 * sysdeps/x86_64/tst-audit5.c: ... here.
15666 * elf/tst-audit6.c: Move to ...
15667 * sysdeps/x86_64/tst-audit6.c: ... here.
15668 * elf/tst-audit7.c: Move to ...
15669 * sysdeps/x86_64/tst-audit7.c: ... here.
15670 * elf/tst-auditmod3a.c: Move to ...
15671 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15672 * elf/tst-auditmod3b.c: Move to ...
15673 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15674 * elf/tst-auditmod4a.c: Move to ...
15675 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15676 * elf/tst-auditmod4b.c: Move to ...
15677 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15678 * elf/tst-auditmod5a.c: Move to ...
15679 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15680 * elf/tst-auditmod5b.c: Move to ...
15681 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15682 * elf/tst-auditmod6a.c: Move to ...
15683 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15684 * elf/tst-auditmod6b.c: Move to ...
15685 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15686 * elf/tst-auditmod6c.c: Move to ...
15687 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15688 * elf/tst-auditmod7a.c: Move to ...
15689 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15690 * elf/tst-auditmod7b.c: Move to ...
15691 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15692
15693 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15694
15695 [BZ #15366]
15696 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15697 define unconditionally.
15698 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15699 define unconditionally.
15700 (INT8_C, INT16_C, etc.): Likewise.
15701
15702 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15703
15704 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15705 __ehdr_start with hidden visibility.
15706
15707 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15708
15709 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15710
15711 * math/libm-test.inc (cos_test): Use accurate hex constants.
15712 (sincost_test): Likewise.
15713
15714 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15715
15716 * math/libm-test.inc (catan_test): Add more tests.
15717 (catanh_test): Likewise.
15718
15719 * math/s_catanf.c (__catanf): Use suffixed floating-point
15720 constants.
15721 * math/s_catanhf.c (__catanhf): Likewise.
15722 * math/s_catanhl.c (__catanhl): Likewise.
15723 * math/s_catanl.c (__catanl): Likewise.
15724
15725 [BZ #15394]
15726 * math/s_catan.c (__catan): Calculate imaginary part of result
15727 with log1p not log unless computing log of number close to 0.
15728 * math/s_catanf.c (__catanf): Likewise.
15729 * math/s_catanl.c (__catanl): Likewise.
15730 * math/s_catanh.c (__catanh): Calculate real part of result with
15731 log1p not log unless computing log of number close to 0.
15732 * math/s_catanhf.c (__catanhf): Likewise.
15733 * math/s_catanhl.c (__catanhl): Likewise.
15734 * math/libm-test.inc (catan_test): Add more tests.
15735 (catanh_test): Likewise.
15736 * sysdeps/i386/fpu/libm-test-ulps: Update.
15737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15738
15739 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15740
15741 * benchtests/Makefile: Mention files in which fast and slow
15742 paths of math functions are implemented.
15743
15744 2013-04-23 Roland McGrath <roland@hack.frob.com>
15745
15746 * sysdeps/posix/timespec_get.c: New file.
15747
15748 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15749
15750 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15751 POWER.
15752 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15753 for POWER.
15754 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15755 powerpc/power5/fpu folders.
15756 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15757 * benchtests/Makefile: Add modf testcase.
15758 * benchtests/bench-modf.c: New file: Benchmark test for mo
15759
15760 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15761
15762 [BZ #14888]
15763 * time/Makefile (tests): Add tst-strptime-whitespace.
15764 * time/strptime_l.c (get_number): Use ISSPACE.
15765 (__strptime_internal): Likewise.
15766 * time/tst-strptime-whitespace.c: New test case.
15767
15768 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15769
15770 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15771 member.
15772 (_nss_files_init): Set it here.
15773
15774 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15775
15776 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15777 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15778 unsigned.
15779
15780 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15781
15782 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15783
15784 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15785
15786 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15787 size just once.
15788
15789 2013-04-21 David S. Miller <davem@davemloft.net>
15790
15791 * po/ru.po: Update Russion translation from translation project.
15792
15793 2013-04-17 Adam Conrad <adconrad@0c3.net>
15794
15795 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15796 and setfsgid.
15797
15798 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15799
15800 * configure.in: Remove i386 configure warning. Remove i386 case.
15801 * configure: Regenerate.
15802 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15803 Add example to error message.
15804 * sysdeps/i386/configure: Regenerate.
15805
15806 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15807
15808 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15809 slowtan.
15810 * benchtests/cos-inputs: New file.
15811 * benchtests/slowcos-inputs: New file.
15812 * benchtests/slowcos.c: New file.
15813 * benchtests/slowtan-inputs: New file.
15814 * benchtests/slowtan.c: New file.
15815 * benchtests/tan-inputs: New file.
15816
15817 2013-04-16 Roland McGrath <roland@hack.frob.com>
15818
15819 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15820 considered kosher.
15821
15822 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15823
15824 * benchtests/Makefile: Include cppflags-iterator.mk to add
15825 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15826
15827 * Makefile.in (bench-clean): New target.
15828 * benchtests/Makefile (bench-clean): Likewise.
15829
15830 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15831
15832 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15833
15834 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15835
15836 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15837
15838 2013-04-15 Andreas Schwab <schwab@suse.de>
15839
15840 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15842 * nscd/pwdcache.c (cache_addpw): Likewise.
15843 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15844 more than recsize.
15845
15846 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15847
15848 * benchtests/Makefile (bench): Write all output to
15849 bench-out.tmp together.
15850
15851 2013-04-15 Andreas Schwab <schwab@suse.de>
15852
15853 * nscd/nscd.c (main): Don't fork again after closing files.
15854
15855 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15856
15857 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15858
15859 * benchtests/Rules (bench-deps): Collect dependencies into a
15860 single variable. Add Makefile to dependencies.
15861 ($(objpfx)bench-%.c): Depend on bench-deps.
15862
15863 2013-04-12 Roland McGrath <roland@hack.frob.com>
15864 Xavier Roche <roche+kml2@exalead.com>
15865
15866 [BZ #15361]
15867 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15868 just that it's a file descriptor.
15869 * manual/llio.texi (Synchronizing AIO Operations): Update description
15870 for EBADF error from aio_fsync.
15871
15872 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15873
15874 * Rules (bench): Move target definition...
15875 * benchtests/Makefile: ... here.
15876
15877 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15878
15879 * math/libm-test.inc (cos_test): Fix PI/2 test.
15880 (sincos_test): Likewise.
15881 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15882 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15883
15884 2013-04-11 Andreas Schwab <schwab@suse.de>
15885
15886 [BZ #13988]
15887 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15888 accept exponent character only when digits were seen.
15889 * stdio-common/Makefile (tests): Add bug26.
15890 * stdio-common/bug26.c: New file.
15891
15892 [BZ #14293]
15893 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15894 non-freeable.
15895
15896 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15897
15898 * Makeconfig (rtld-prefix): Define built linker prefix.
15899 * Rules (run-bench): Use it.
15900 * math/Makefile (run-regen-ulps): Likewise.
15901
15902 * Rules (bench): Remove eval.
15903
15904 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15905 Roland McGrath <roland@hack.frob.com>
15906 Ondrej Bilka <neleai@seznam.cz>
15907
15908 [BZ #15346]
15909 * time/getdate.c: Include ctype.h and alloca.h.
15910 (__getdate_r): Trim leading and trailing spaces of input.
15911 * time/tst-getdate.c (tests): Add tests with leading and
15912 trailing spaces.
15913
15914 2013-04-08 Roland McGrath <roland@hack.frob.com>
15915
15916 [BZ #14280]
15917 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15918 when computing value.
15919
15920 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15921
15922 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15923 Use testrun.sh to run libm tests.
15924
15925 [BZ #15309]
15926 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15927
15928 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15929
15930 [BZ #15264]
15931 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15932
15933 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15934
15935 * Makefile.in (regen-ulps): New target.
15936 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15937 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15938 [ifneq (no,$(PERL)] (regen-ulps): New target.
15939 [ifeq (no,$(PERL)] (regen-ulps): New target.
15940 * math/libm-test.inc (ulps_file_name): Define.
15941 (output_dir): New variable.
15942 (options): Add "output-dir" option.
15943 (parse_opt): Handle 'o' case.
15944 (main): If output_dir is non-NULL use it as a prefix
15945 otherwise use "".
15946 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15947
15948 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15949
15950 [BZ #10060, #10062]
15951 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15952 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15953 fail configure if __sync_val_compare_and_swap is not inlined.
15954 * sysdeps/i386/configure: Regenerate.
15955 * configure.in: Build for i686 when configured for i386.
15956 * configure: Regenerate.
15957 * README: Remove i386 reference.
15958
15959 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15960
15961 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15962 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15963
15964 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15965
15966 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15967 (lmsnanval): New variables.
15968 (F): Add conversion tests.
15969 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15970 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15971
15972 * stdio-common/tstdiomisc.c (F): Properly collect individual
15973 tests' results.
15974
15975 [BZ #14686, #15336]
15976 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15977 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15978 Instead, use input NaN values or generate a qNaN by arithmetic
15979 operation. Also fix bugs to comply with the standard.
15980 * math/libm-test.inc (remainder_test): Add more tests.
15981
15982 [BZ #15335, #15342]
15983 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15984 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15985 input NaN values or generate a qNaN by arithmetic operation.
15986
15987 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15988 unreachable code.
15989
15990 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15991 definitions.
15992
15993 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15994
15995 [BZ #14478]
15996 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15997 underflowed result.
15998 * math/s_cexpf.c (__cexpf): Likewise.
15999 * math/s_cexpl.c (__cexpl): Likewise.
16000 * math/libm-test.inc (cexp_test): Add more tests.
16001
16002 2013-04-03 Andreas Schwab <schwab@suse.de>
16003
16004 [BZ #15330]
16005 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16006 order arrays from heap if bigger than alloca cutoff.
16007
16008 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16009
16010 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16011 (SNAN_TESTS_double): Refer to GCC PR56831.
16012 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16013 GCC PR56828.
16014
16015 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16016
16017 * Rules (bench): Move bench.out after the run is complete.
16018
16019 * Rules (bench): Echo currently running benchmark.
16020
16021 * benchtests/Makefile (bench): Add atan and slowatan.
16022 * benchtests/atan-inputs: New file.
16023 * benchtests/slowatan-inputs: New file.
16024 * benchtests/slowatan.c: New file.
16025
16026 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16027 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16028 its value.
16029
16030 [BZ #15305]
16031 * sysdeps/unix/sysv/linux/kernel-features.h
16032 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16033 __ASSUME_XFS_RESTRICTED_CHOWN.
16034 * sysdeps/unix/sysv/linux/pathconf.c
16035 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16036 Save and restore errno.
16037
16038 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16039
16040 [BZ #15327]
16041 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16042 arguments using __kernel_casinh.
16043 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16044 arguments using __kernel_casinhf.
16045 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16046 arguments using __kernel_casinhl.
16047 * math/libm-test.inc (cacosh_test): Add more tests.
16048 * sysdeps/i386/fpu/libm-test-ulps: Update.
16049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16050
16051 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16052
16053 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16055
16056 * bench/Makefile (bench): Add sin and slowsin.
16057 * benchtests/sin-inputs: New file.
16058 * benchtests/slowsin-inputs: New file.
16059 * benchtests/slowsin.c: New file.
16060
16061 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16062 (bench): Add slowexp and slowpow.
16063 (exp-ITER): Increase iterations.
16064 (pow-ITER): Likewise.
16065 * benchtests/exp-inputs: Change input.
16066 * benchtests/pow-inputs: Likewise.
16067 * benchtests/slowexp-inputs: New file.
16068 * benchtests/slowexp.c: New file.
16069 * benchtests/slowpow-inputs: New file.
16070 * benchtests/slowpow.c: New file.
16071
16072 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16073
16074 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16075 instructions.
16076 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16077 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16078 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16079 * benchtests/Makefile: Add rint benchtest.
16080 * benchtests/rint-inputs: Input for rint benchtest.
16081
16082 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16083
16084 * Versions.def (libm): Add GLIBC_2.18.
16085 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16086 hidden libm prototypes.
16087 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16088 * math/Makefile (libm-calls): Add s_issignaling.
16089 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16090 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16091 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16092 declaration.
16093 * math/math.h [__USE_GNU] (issignaling): New macro.
16094 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16095 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16096 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16097 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16098 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16099 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16100 * manual/arith.texi (issignaling): New section.
16101 * manual/libm-err-tab.pl (@all_functions): Update comment.
16102 * math/gen-libm-test.pl (parse_args): Apply special handling for
16103 issignaling.
16104 * math/libm-test.inc (print_float, issignaling_test): New
16105 functions.
16106 (check_float_internal): Add issignaling checks.
16107 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16108 default definition.
16109 * sysdeps/powerpc/math-tests.h: New file.
16110 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16111 tests.
16112 * math/test-snan.c (TEST_FUNC): Likewise.
16113
16114 2013-03-30 David S. Miller <davem@davemloft.net>
16115
16116 * po/de.po: Update from translation team.
16117
16118 2013-03-30 Joseph Myers <joseph@codesourcery.com>
16119
16120 [BZ #10357]
16121 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16122 imaginary part less than 1.0 and real part less than 0.5
16123 specially.
16124 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16125 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16126 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16127 (cacos_test): Add more tests.
16128 (casin_test): Likewise.
16129 (casinh_test): Likewise.
16130 * sysdeps/i386/fpu/libm-test-ulps: Update.
16131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16132
16133 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16134
16135 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16136 ONE with its value.
16137
16138 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16139 (__pow_mp): Replace ONE and MONE with their values.
16140 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16141 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16142 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16143 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16144 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16145 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16146
16147 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16148
16149 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16150 (__pow_mp): Replace ZERO and MZERO with their values.
16151 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16152 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16153 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16155 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16156 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16157 (__sqr): Likewise.
16158
16159 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16160
16161 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16162
16163 2013-03-28 Roland McGrath <roland@hack.frob.com>
16164
16165 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16166 Declare with __attribute__ ((weak)).
16167 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16168 Call __call_tls_dtors only if it's not NULL.
16169
16170 2013-03-28 Roland McGrath <roland@hack.frob.com>
16171
16172 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16173 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16174 magic __ehdr_start linker symbol if it's defined.
16175 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16176 them up here if it was already done.
16177
16178 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16179 (_dl_aux_init): Use const in cast when setting it.
16180 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16181 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16182 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16183
16184 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16185 Declare them here.
16186 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16187 * csu/libc-tls.c: Nor here.
16188 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16189
16190 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16191 (__libc_message): Never call vsyslog.
16192
16193 2013-03-28 Alan Modra <amodra@gmail.com>
16194
16195 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16196 Define as empty.
16197 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16198 Likewise.
16199
16200 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16201
16202 [BZ #15214]
16203 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16204 underflow.
16205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16206
16207 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16208
16209 [BZ #15304]
16210 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16211 Don't add gid passed as argument.
16212
16213 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16214
16215 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16216
16217 [BZ #15307]
16218 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16219 imaginary part between 1.0 and 1.5 and real part less than 0.5
16220 specially.
16221 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16222 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16223 * math/libm-test.inc (cacos_test): Add more tests.
16224 (casin_test): Likewise.
16225 (casinh_test): Likewise.
16226 * sysdeps/i386/fpu/libm-test-ulps: Update.
16227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16228
16229 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16230
16231 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16232 constants.
16233 (norm): Likewise.
16234 (denorm): Likewise.
16235 (__dbl_mp): Likewise.
16236 (add_magnitudes): Likewise.
16237 (sub_magnitudes): Likewise.
16238 (__add): Likewise.
16239 (__sub): Likewise.
16240 (__mul): Likewise.
16241 (__sqr): Likewise.
16242 (__inv): Likewise.
16243 (__dvd): Likewise.
16244
16245 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16246 commented code.
16247 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16248 (__dubcos): Likewise.
16249 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16250 (__ieee754_acos): Likewise.
16251 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16252 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16253 (__exp1): Likewise.
16254 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16255 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16256 (log1): Likewise.
16257 (my_log2): Likewise.
16258 (checkint): Likewise.
16259 * sysdeps/ieee754/dbl-64/e_remainder.c
16260 (__ieee754_remainder): Likewise.
16261 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16263 (bsloww): Likewise.
16264 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16265
16266 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16267 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16268 MANTISSA_STORE_T to store computations on mantissa. Use
16269 macros for rounding and division.
16270 (denorm): Likewise.
16271 (__dbl_mp): Likewise.
16272 (add_magnitudes): Likewise.
16273 (sub_magnitudes): Likewise.
16274 (__mul): Likewise.
16275 (__sqr): Likewise.
16276 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16277 powers of two in terms of TWOPOW macro.
16278 (mp_no): Make type of mantissa as MANTISSA_T.
16279 [!RADIXI]: Define RADIXI.
16280 [!TWO52]: Define TWO52.
16281 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16282
16283 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16284
16285 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16286 llroundl symbol when building for PPC32.
16287
16288 2013-03-24 Mark H Weaver <mhw@netris.org>
16289
16290 * manual/arith.texi (Normalization Functions): Fix prototypes for
16291 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16292
16293 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16294
16295 [BZ #13889]
16296 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16297 high value to check if expl overflow.
16298 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16299 to check for underflow and overflow.
16300 * math/libm-test.inc: Add exp test.
16301
16302 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16303
16304 [BZ #11120]
16305 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16306 with NOT_IN_libc.
16307
16308 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16309
16310 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16311 symbol.
16312
16313 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16314
16315 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16316 wrap blocks consisting of several statements.
16317
16318 * sysdeps/generic/math-tests.h: New file.
16319 * sysdeps/i386/fpu/math-tests.h: Likewise.
16320 * math/test-snan.c: Include it.
16321 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16322
16323 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16324
16325 [BZ #15285]
16326 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16327 (__ieee754_j0l): Do not improve calculations using cos of twice
16328 input for inputs above LDBL_MAX / 2.0L.
16329 (__ieee754_y0l): Likewise.
16330 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16331 (__ieee754_j1l): Do not improve calculations using cos of twice
16332 input for inputs above LDBL_MAX / 2.0L.
16333 (__ieee754_y1l): Likewise.
16334 * math/libm-test.inc (j0_test): Add another test.
16335 (j1_test): Likewise.
16336 (y0_test): Likewise.
16337 (y1_test): Likewise.
16338 * sysdeps/i386/fpu/libm-test-ulps: Update.
16339
16340 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16341
16342 * Rules ($(objpfx)bench-%.c): Include code from a C source
16343 file.
16344
16345 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16346
16347 [BZ #15287]
16348 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16349 imaginary part 1.0 and real part less than 0.5 specially.
16350 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16351 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16352 * math/libm-test.inc (cacos_test): Add more tests.
16353 (casin_test): Likewise.
16354 (casinh_test): Likewise.
16355 * sysdeps/i386/fpu/libm-test-ulps: Update.
16356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16357
16358 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16359
16360 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16361 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16362
16363 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16364
16365 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16366 * config.make.in (config-cflags-sse4): Remove variable.
16367 (config-cflags-avx): Likewise.
16368 (config-cflags-sse2avx): Likewise.
16369 (config-cflags-novzeroupper): Likewise.
16370 (config-asflags-i686): Likewise.
16371 (have-mfma4): Likewise.
16372 (have-as-vis3): Likewise.
16373 (MIG): Likewise.
16374 * configure.in (MIG): Do not AC_SUBST.
16375 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16376 (libc_cv_cc_sse4): Do not AC_SUBST.
16377 (libc_cv_cc_avx): Likewise.
16378 (libc_cv_cc_sse2avx): Likewise.
16379 (libc_cv_cc_novzeroupper): Likewise.
16380 (libc_cv_cc_fma4): Likewise.
16381 (libc_cv_as_i686): Likewise.
16382 (libc_cv_sparc_as_vis3): Likewise.
16383 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16384 LIBC_CONFIG_VAR.
16385 (config-asflags-i686): Likewise.
16386 (config-cflags-avx): Likewise.
16387 (config-cflags-sse2avx): Likewise.
16388 (have-mfma4): Likewise.
16389 (config-cflags-novzeroupper): Likewise.
16390 * sysdeps/mach/configure.in (MIG): Likewise.
16391 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16392 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16393 LIBC_CONFIG_VAR.
16394 (config-cflags-avx): Likewise.
16395 (config-cflags-sse2avx): Likewise.
16396 (have-mfma4): Likewise.
16397 (config-cflags-novzeroupper): Likewise.
16398 * configure: Regenerated.
16399 * sysdeps/i386/configure: Likewise.
16400 * sysdeps/mach/configure: Likewise.
16401 * sysdeps/sparc/configure: Likewise.
16402 * sysdeps/x86_64/configure: Likewise.
16403
16404 2013-03-20 Roland McGrath <roland@hack.frob.com>
16405
16406 [BZ #14812]
16407 * locale/programs/localedef.c (options): Put N_ translation marker
16408 on argument names, not just descriptions.
16409
16410 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16411
16412 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16413
16414 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16415
16416 [BZ #14176]
16417 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16418
16419 2013-03-19 Roland McGrath <roland@hack.frob.com>
16420
16421 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16422 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16423 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16424 [!BEFORE_ABORT] (before_abort): New function.
16425 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16426 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16427 (writev_for_fatal): New function.
16428 (WRITEV_FOR_FATAL): New macro; call that.
16429 (backtrace_and_maps): New function.
16430 (BEFORE_ABORT): New macro; call that.
16431 (struct str_list): Type removed.
16432 (__libc_message, __libc_fatal): Functions removed.
16433 Include <sysdeps/posix/libc_fatal.c> instead.
16434
16435 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16436
16437 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16438 constants.
16439 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16440 double constants.
16441
16442 2013-03-19 Andreas Schwab <schwab@suse.de>
16443
16444 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16445 * sysdeps/gnu/configure: Regenerate.
16446
16447 * configure.in: Substitute libc_cv_rtlddir.
16448 * configure: Regenerate.
16449 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16450 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16451 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16452 * elf/Makefile (install-others, CFLAGS-interp.c)
16453 (ldso_install, common-ldd-rewrite): Likewise.
16454 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16455 $(inst_slibdir)/$(rtld-installed-name).
16456 * scripts/rellns-sh: Add -p option.
16457 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16458 for source.
16459
16460 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16461
16462 * manual/nptl.texi: Renamed to ...
16463 * manual/threads.texi: ... this.
16464 * manual/Makefile (chapters): Update.
16465
16466 2013-03-18 Roland McGrath <roland@hack.frob.com>
16467
16468 [BZ #14812]
16469 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16470 on argument names, not just descriptions.
16471 * malloc/memusagestat.c (options): Likewise.
16472 * nss/getent.c (options): Likewise.
16473
16474 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16475
16476 [BZ #14812]
16477 * iconv/iconv_prog.c (options): Put N_ translation marker
16478 on argument names, not just descriptions.
16479 * iconv/iconvconfig.c (options): Likewise.
16480
16481 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16482
16483 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16484 implementation which is faster on all x86_64 architectures.
16485 Tested on AMD, Intel Nehalem, SNB, IVB.
16486 * sysdeps/x86_64/strnlen.S: Likewise.
16487
16488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16489 Remove all multiarch strlen and strnlen versions.
16490 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16491 Remove strlen and strnlen related parts.
16492
16493 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16494 Inline strlen part.
16495 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16496
16497 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16498 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16499 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16500 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16501 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16502 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16503
16504 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16505
16506 * manual/memory.texi (Malloc Tunable Parameters):
16507 Sort parameters alphabetically. Add comments for missing entries.
16508
16509 2013-03-17 David S. Miller <davem@davemloft.net>
16510
16511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16512
16513 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16514
16515 [BZ #15283]
16516 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16517 for arguments at most half maximum finite value.
16518 * math/libm-test.inc (j0_test): Add more tests.
16519 (j1_test): Likewise.
16520 (y0_test): Likewise.
16521 (y1_test): Likewise.
16522 * sysdeps/i386/fpu/libm-test-ulps: Update.
16523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16524
16525 [BZ #14155]
16526 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16527 1 / x and functions P and Q for arguments above 0x1p256L.
16528 (__ieee754_y0l): Likewise.
16529 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16530 (__ieee754_y1l): Likewise.
16531 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16532 (j1_test): Likewise.
16533 (y0_test): Likewise.
16534 (y1_test): Likewise.
16535
16536 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16537
16538 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16539 variable.
16540
16541 2013-03-15 Roland McGrath <roland@hack.frob.com>
16542
16543 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16544 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16545 zero since it's initialized to EXEC_PAGESIZE.
16546
16547 * sysdeps/unix/sysv/linux/ldsodefs.h
16548 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16549 * sysdeps/generic/ldsodefs.h: ... here.
16550
16551 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16552
16553 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16554
16555 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16556 math/test-snan.c.
16557 * math/test-snan.c: Renamed from
16558 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16559 * math/Makefile (tests): Add test-snan.
16560 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16561 test-powerpc-snan.
16562
16563 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16564 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16565 functions.
16566 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16567 __builtin_nan family of functions.
16568 * math/libm-test.inc (initialize): Initialize qnan_value with
16569 __builtin_nan family of functions.
16570 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16571 Remove variables.
16572 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16573 Remove functions.
16574 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16575 storage class. Initialize qNaN_var and sNaN_var with
16576 __builtin_nan and __builtin_nans families of functions,
16577 respectively.
16578
16579 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16580 (sqrt_test): Remove duplicate test with qNaN input.
16581 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16582 (round_test, signbit_test, significand_test): Note missing +/-Inf
16583 as well as qNaN tests.
16584
16585 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16586 qNaN_var. Fix a few strings, too.
16587 * math/libm-test.inc (nan_value): Rename to qnan_value.
16588 * math/gen-libm-test.pl (%beautify): Adjust to that.
16589 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16590 * math/test-misc.c (main): Likewise.
16591 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16592 to __qnan_bytes, and __qnan_union, respectively.
16593 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16594 Likewise.
16595 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16596 and lqnanval, respectively.
16597 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16598 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16599 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16600 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16601
16602 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16603 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16604 doubles.
16605
16606 * math/test-misc.c (main): Fix copy'n'pastos.
16607 * misc/tst-efgcvt.c (special): Likewise.
16608
16609 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16610 Remove declarations.
16611
16612 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16613
16614 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16615 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16616 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16617 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16618
16619 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16620
16621 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16622 macro to return vdso values correctly in IFUNC implementations.
16623 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16624 Optimization by using IFUNC.
16625
16626 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16627 Richard Henderson <rth@redhat.com>
16628 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16629
16630 * Makefile.in (bench): New target.
16631 * NEWS: Mention the benchmark framework.
16632 * Rules (bench): Likewise.
16633 (binaries-bench): Generate binaries for functions to
16634 benchmark.
16635 * benchtests/Makefile: New makefile for benchmark tests.
16636 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16637 programs.
16638 * benchtests/exp-inputs: New input file for EXP function.
16639 * benchtests/pow-inputs: New input file for POW function.
16640 * scripts/bench.pl: New script to generate source files for
16641 benchmark programs.
16642
16643 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16644
16645 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16646 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16647 computations on mantissa. Use macros for rounding and
16648 division.
16649 (denorm): Likewise.
16650 (__dbl_mp): Likewise.
16651 (add_magnitudes): Likewise.
16652 (sub_magnitudes): Likewise.
16653 (__mul): Likewise.
16654 (__sqr): Likewise.
16655 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16656 powers of two in terms of TWOPOW macro.
16657 (mp_no): Make type of mantissa as MANTISSA_T.
16658 [!RADIXI]: Define RADIXI.
16659 [!TWO52]: Define TWO52.
16660 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16661
16662 * manual/nptl.texi (cindex): Modify threads to pthreads.
16663
16664 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16665
16666 * sysdeps/x86_64/preconfigure: Regenerated.
16667
16668 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16669
16670 [BZ #14155]
16671 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16672 0x1p28 and above.
16673 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16674 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16675 0x1p28 and above.
16676 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16677 * math/libm-test.inc (j0_test): Do not allow one spurious
16678 underflow exception.
16679 (y1_test): Likewise.
16680
16681 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16682
16683 * manual/Makefile (chapters): Add nptl.
16684 * manual/debug.texi (Debugging Support): Add link to Threads
16685 chapter.
16686 * manual/nptl.texi: New file.
16687
16688 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16689
16690 2013-03-14 Petr Baudis <pasky@ucw.cz>
16691
16692 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16693 for non-NULL pointer before the memory validity test. Pointed
16694 out by Holger Brunck <holger.brunck@keymile.com>.
16695
16696 2013-03-13 Andreas Schwab <schwab@suse.de>
16697
16698 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16699 instead of .os.
16700
16701 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16702
16703 * timezone/zic.c: Update from tzcode 2013b.
16704
16705 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16706
16707 * manual/install.texi (Configuring and compiling):
16708 Mention i686 and i586.
16709 * INSTALL: Regenerate.
16710
16711 2013-03-12 Roland McGrath <roland@hack.frob.com>
16712
16713 * sysdeps/init_array/elf-init.c: New file.
16714 * csu/elf-init.c
16715 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16716 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16717
16718 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16719 __gmon_start__ as global, but as static with a .preinit_array pointer.
16720 * sysdeps/init_array/gmon-start.c: New file. Use that.
16721 * sysdeps/init_array/crti.S: New file, empty except for comments.
16722 * sysdeps/init_array/crtn.S: Likewise.
16723
16724 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16725
16726 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16727 definining bcopy.
16728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16729 Remove Prefer_SSE_for_memop.
16730 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16731 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16732 HAS_PREFER_SSE_FOR_MEMOP.
16733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16734 memset-x86-64.
16735 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16736 Remove bzero, memset ifunc support.
16737 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16738 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16739 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16740 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16741
16742 2013-03-11 Andreas Schwab <schwab@suse.de>
16743
16744 [BZ #15234]
16745 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16746 by SHLIB_COMPAT.
16747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16748 (GLIBC_2.16): Remove pthread_atfork.
16749
16750 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16751
16752 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16753 (ptestcases.h): Likewise.
16754
16755 2013-03-08 Roland McGrath <roland@hack.frob.com>
16756
16757 * Makeconfig ($(common-objpfx)config.status): Depend on
16758 sysdeps/*/preconfigure{,.in} too.
16759
16760 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16761
16762 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16763 (__free_hook): Use void * instead of __malloc_ptr_t.
16764 (__malloc_hook): Likewise.
16765 (__realloc_hook): Likewise.
16766 (__memalign_hook): Likewise.
16767 (__after_morecore_hook): Likewise.
16768 * malloc/arena.c (save_malloc_hook): Likewise.
16769 (save_free_hook): Likewise.
16770 * malloc/hooks.c (malloc_hook_ini): Likewise.
16771 (realloc_hook_ini): Likewise.
16772 (memalign_hook_ini): Likewise.
16773 * malloc/malloc.c (malloc_hook_ini): Likewise.
16774 (realloc_hook_ini): Likewise.
16775 (memalign_hook_ini): Likewise.
16776 (__free_hook): Likewise.
16777 (__malloc_hook): Likewise.
16778 (__realloc_hook): Likewise.
16779 (__memalign_hook): Likewise.
16780 (__libc_malloc): Likewise.
16781 (__libc_free): Likewise.
16782 (__libc_realloc): Likewise.
16783 (__libc_memalign): Likewise.
16784 (__libc_valloc): Likewise.
16785 (__libc_pvalloc): Likewise.
16786 (__libc_calloc): Likewise.
16787 (__posix_memalign): Likewise.
16788 * malloc/morecore.c (__sbrk): Likewise.
16789 (__default_morecore): Likewise.
16790
16791 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16792
16793 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16794 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16795 __malloc_ptrdiff_t.
16796
16797 * malloc/malloc.h (__malloc_size_t): Remove macro.
16798 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16799 __malloc_size_t.
16800 (old_memalign_hook): Likewise.
16801 (old_realloc_hook): Likewise.
16802 (struct hdr): Likewise.
16803 (flood): Likewise.
16804 (mallochook): Likewise.
16805 (memalignhook): Likewise.
16806 (reallochook): Likewise.
16807 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16808 (tr_old_realloc_hook): Likewise.
16809 (tr_old_memalign_hook): Likewise.
16810 (tr_mallochook): Likewise.
16811 (tr_reallochook): Likewise.
16812 (tr_memalignhook): Likewise.
16813
16814 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16815
16816 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16817 default_ldbl_pack and using as default implementation.
16818 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16819 implementation.
16820 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16821 redundant definition.
16822 (ldbl_insert_mantissa): Likewise.
16823 (ldbl_canonicalize): Likewise.
16824 (ldbl_nearbyint): Likewise.
16825 (ldbl_pack): Rename to ldbl_pack_ppc.
16826 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16827 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16828 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16829
16830 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16831
16832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16833 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16834 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16835 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16837 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16838 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16839 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16840
16841 2013-03-07 Andreas Jaeger <aj@suse.de>
16842
16843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16844 bits/mman-linux.h.
16845
16846 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16847
16848 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16849 Include mpa.h and declare __MPEXP.
16850 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16851 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16852 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16853 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16854 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16855 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16856 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16857
16858 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16859 (__slowpow): Use long double EXPL and LOGL functions to
16860 compute POW.
16861 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16862 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16863 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16864 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16865 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16866 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16867
16868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16869 intermediate variable to calculate exponent.
16870 (__sqr): Likewise.
16871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16872 Likewise.
16873 (__sqr): Likewise.
16874
16875 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16876 [!NO__SQR]: Define __sqr.
16877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16878 and NO__SQR. Remove all code except __mul and __sqr. Include
16879 sysdeps/ieee754/dbl-64/mpa.c.
16880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16881
16882 [BZ #12723]
16883 * posix/Makefile (tests): Add tst-pathconf.
16884 * posix/tst-pathconf.c: New test case.
16885 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16886 _PC_PIPE_BUF.
16887 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16888
16889 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16890
16891 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16892
16893 2013-03-06 Andreas Jaeger <aj@suse.de>
16894
16895 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16896 definition via __MAP_ANONYMOUS.
16897
16898 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16899 it's not part of Linux headers.
16900
16901 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16902 (MAP_HUGE_MASK): Define.
16903
16904 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16905 Define.
16906 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16907 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16908 Define.
16909 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16910 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16911 Define.
16912 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16913 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16914 Define.
16915 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16916
16917 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16918 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16919 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16920 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16921 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16922 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16923
16924 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16925 Handle f2fs.
16926
16927 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16928 Handle f2fs and efivarfs.
16929
16930 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16931 f2fs.
16932
16933 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16934 (EFIVARFS_MAGIC): Add.
16935 (F2FS_LINK_MAX): Add.
16936
16937 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16938
16939 * stdio-common/vfprintf.c: Replace __builtin_expect with
16940 __glibc_unlikely.
16941
16942 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16943
16944 [BZ #13550]
16945 * sysdeps/generic/bp-sym.h: Remove file.
16946 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16947 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16948 <bp-sym.h> and <bp-asm.h>.
16949 (__longjmp): Don't use BP_SYM.
16950 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16951 and <bp-asm.h>.
16952 (memcpy): Don't use BP_SYM.
16953 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16954 <bp-sym.h> and <bp-asm.h>.
16955 (memcpy): Don't use BP_SYM.
16956 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16957 <bp-asm.h>.
16958 (memcpy): Don't use BP_SYM.
16959 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16960 <bp-asm.h>.
16961 (memset): Don't use BP_SYM.
16962 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16963 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16964 (__bzero): Don't use BP_SYM.
16965 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16966 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16967 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16968 <bp-sym.h> and <bp-asm.h>.
16969 (memcmp): Don't use BP_SYM. Remove comment about bounded
16970 pointers.
16971 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16972 <bp-sym.h> and <bp-asm.h>.
16973 (memcpy): Don't use BP_SYM.
16974 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16975 <bp-sym.h> and <bp-asm.h>.
16976 (memset): Don't use BP_SYM.
16977 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16978 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16979 (__bzero): Don't use BP_SYM.
16980 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16981 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16982 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16983 <bp-sym.h> and <bp-asm.h>.
16984 (strncmp): Don't use BP_SYM. Remove comment about bounded
16985 pointers.
16986 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16987 <bp-sym.h> and <bp-asm.h>.
16988 (memcpy): Don't use BP_SYM.
16989 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16990 <bp-sym.h> and <bp-asm.h>.
16991 (memset): Don't use BP_SYM.
16992 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16993 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16994 (__bzero): Don't use BP_SYM.
16995 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16996 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16997 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16998 <bp-sym.h> and <bp-asm.h>.
16999 (__memchr): Don't use BP_SYM.
17000 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17001 <bp-sym.h> and <bp-asm.h>.
17002 (memcmp): Don't use BP_SYM. Remove comment about bounded
17003 pointers.
17004 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17005 <bp-sym.h> and <bp-asm.h>.
17006 (memcpy): Don't use BP_SYM.
17007 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17008 <bp-sym.h> and <bp-asm.h>.
17009 (__mempcpy): Don't use BP_SYM.
17010 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17011 <bp-sym.h> and <bp-asm.h>.
17012 (__memrchr): Don't use BP_SYM.
17013 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17014 <bp-sym.h> and <bp-asm.h>.
17015 (memset): Don't use BP_SYM.
17016 (__bzero): Likewise.
17017 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17018 <bp-sym.h> and <bp-asm.h>.
17019 (__rawmemchr): Don't use BP_SYM.
17020 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17021 <bp-sym.h> and <bp-asm.h>.
17022 (__STRCMP): Don't use BP_SYM.
17023 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17024 <bp-sym.h> and <bp-asm.h>.
17025 (strchr): Don't use BP_SYM.
17026 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17027 <bp-sym.h> and <bp-asm.h>.
17028 (__strchrnul): Don't use BP_SYM.
17029 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17030 <bp-sym.h> and <bp-asm.h>.
17031 (strlen): Don't use BP_SYM.
17032 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17033 <bp-sym.h> and <bp-asm.h>.
17034 (strncmp): Don't use BP_SYM. Remove comment about bounded
17035 pointers.
17036 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17037 <bp-sym.h> and <bp-asm.h>.
17038 (__strnlen): Don't use BP_SYM.
17039 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17040 <bp-sym.h> and <bp-asm.h>.
17041 (__GI__setjmp): Don't use BP_SYM.
17042 (_setjmp): Likewise.
17043 (__sigsetjmp): Likewise.
17044 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17045 (L(start_addresses)): Don't use BP_SYM.
17046 (_start): Likewise.
17047 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17048 <bp-asm.h>.
17049 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17050 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17051 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17052 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17053 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17054 <bp-asm.h>.
17055 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17056 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17057 about bounded pointers.
17058 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17059 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17060 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17061 <bp-asm.h>.
17062 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17063 about bounded pointers. Remove GKM FIXME comments.
17064 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17065 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17066 <bp-asm.h>.
17067 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17068 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17069 Remove GKM FIXME comments.
17070 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17071 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17072 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17073 <bp-asm.h>.
17074 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17075 about bounded pointers. Remove GKM FIXME comment.
17076 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17077 and <bp-asm.h>.
17078 (strncmp): Don't use BP_SYM. Remove comment about bounded
17079 pointers.
17080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17081 <bp-sym.h> and <bp-asm.h>.
17082 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17084 <bp-sym.h> and <bp-asm.h>.
17085 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17086 comment.
17087
17088 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17089
17090 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17091 call free(NULL).
17092
17093 2013-03-05 David S. Miller <davem@davemloft.net>
17094
17095 * po/es.po: Update from translation team.
17096
17097 2013-03-05 Andreas Jaeger <aj@suse.de>
17098
17099 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17100 <bits/mman-linux.h>.
17101 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17102 is fine.
17103 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17104 <bits/mman-linux.h> to end of file.
17105 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17106 is fine.
17107 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17108 <bits/mman-linux.h> to end of file.
17109 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17110 is fine.
17111 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17112 <bits/mman-linux.h> to end of file.
17113
17114 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17115 (MCL_CURRENT, MCL_FUTURE): Define here.
17116
17117 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17118
17119 [BZ #15232]
17120 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17121 attribute_hidden.
17122 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17123
17124 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17125
17126 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17127 fourth parameter needed for rt_sigprocmask syscall.
17128 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17129 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17130 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17131 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17132 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17133 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17134
17135 2013-03-04 Joseph Myers <joseph@codesourcery.com>
17136
17137 [BZ #13550]
17138 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17139 comment about bounded pointers.
17140 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17141 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17142
17143 2013-03-04 Andreas Jaeger <aj@suse.de>
17144
17145 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17146 common definitions.
17147
17148 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17149 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17150 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17151 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17153 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17154
17155 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17156
17157 [BZ #15055]
17158 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17159 __ieee754_sqrl instead of __sqrl.
17160
17161 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17162
17163 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17164 * sysdeps/powerpc/fpu_control.h: ... here.
17165 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17166 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17167 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17168 * sysdeps/powerpc/bits/mathinline.h: ... here.
17169
17170 2013-03-01 Roland McGrath <roland@hack.frob.com>
17171
17172 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17173 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17174 to just [NEED_DL_SYSINFO_DSO].
17175 * elf/dl-support.c: Likewise.
17176 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17177 * elf/rtld.c (dl_main): Likewise.
17178 * elf/setup-vdso.h (setup_vdso): Likewise.
17179 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17180 * sysdeps/unix/sysv/linux/dl-sysdep.c
17181 (_dl_discover_osversion): Likewise.
17182
17183 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17184
17185 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17186 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17187
17188 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17189
17190 * NEWS: Mention libm performance improvements and non-x86 PI
17191 futex support.
17192
17193 * csu/libc-start.c (__pthread_initialize_minimal): Change
17194 function arguments.
17195 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17196
17197 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17198
17199 [BZ #13550]
17200 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17201 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17202 <bp-sym.h> and <bp-asm.h>.
17203 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17204 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17205 and <bp-asm.h>.
17206 (memcpy): Don't use BP_SYM.
17207 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17208 <bp-asm.h>.
17209 (__mpn_add_n): Don't use BP_SYM.
17210 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17211 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17212 and <bp-asm.h>.
17213 (__mpn_addmul_1): Don't use BP_SYM.
17214 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17215 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17216 <bp-sym.h>.
17217 (_setjmp): Don't use BP_SYM.
17218 (__novmx_setjmp): Likewise.
17219 (__GI__setjmp): Likewise.
17220 (__vmx_setjmp): Likewise.
17221 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17222 <bp-sym.h>.
17223 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17224 (__bzero): Don't use BP_SYM.
17225 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17226 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17227 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17228 <bp-sym.h> and <bp-asm.h>.
17229 (memcpy): Don't use BP_SYM.
17230 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17231 <bp-sym.h> and <bp-asm.h>.
17232 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17233 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17234 <bp-sym.h> and <bp-asm.h>.
17235 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17236 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17237 <bp-asm.h>.
17238 (__mpn_lshift): Don't use BP_SYM.
17239 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17240 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17241 <bp-asm.h>.
17242 (memset): Don't use BP_SYM.
17243 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17244 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17245 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17246 <bp-asm.h>.
17247 (__mpn_mul_1): Don't use BP_SYM.
17248 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17249 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17250 <bp-sym.h> and <bp-asm.h>.
17251 (memcmp): Don't use BP_SYM.
17252 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17253 <bp-sym.h> and <bp-asm.h>.
17254 (memcpy): Don't use BP_SYM.
17255 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17256 <bp-sym.h> and <bp-asm.h>.
17257 (memset): Don't use BP_SYM.
17258 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17259 <bp-sym.h> and <bp-asm.h>.
17260 (strncmp): Don't use BP_SYM.
17261 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17262 <bp-sym.h> and <bp-asm.h>.
17263 (memcpy): Don't use BP_SYM.
17264 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17265 <bp-sym.h> and <bp-asm.h>.
17266 (memset): Don't use BP_SYM.
17267 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17268 <bp-sym.h> and <bp-asm.h>.
17269 (__memchr): Don't use BP_SYM.
17270 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17271 <bp-sym.h> and <bp-asm.h>.
17272 (memcmp): Don't use BP_SYM.
17273 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17274 <bp-sym.h> and <bp-asm.h>.
17275 (memcpy): Don't use BP_SYM.
17276 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17277 <bp-sym.h> and <bp-asm.h>.
17278 (__mempcpy): Don't use BP_SYM.
17279 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17280 <bp-sym.h> and <bp-asm.h>.
17281 (__memrchr): Don't use BP_SYM.
17282 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17283 <bp-sym.h> and <bp-asm.h>.
17284 (memset): Don't use BP_SYM.
17285 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17286 <bp-sym.h> and <bp-asm.h>.
17287 (__rawmemchr): Don't use BP_SYM.
17288 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17289 <bp-sym.h> and <bp-asm.h>.
17290 (__STRCMP): Don't use BP_SYM.
17291 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17292 <bp-sym.h> and <bp-asm.h>.
17293 (strchr): Don't use BP_SYM.
17294 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17295 <bp-sym.h> and <bp-asm.h>.
17296 (__strchrnul): Don't use BP_SYM.
17297 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17298 <bp-sym.h> and <bp-asm.h>.
17299 (strlen): Don't use BP_SYM.
17300 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17301 <bp-sym.h> and <bp-asm.h>.
17302 (strncmp): Don't use BP_SYM.
17303 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17304 <bp-sym.h> and <bp-asm.h>.
17305 (__strnlen): Don't use BP_SYM.
17306 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17307 <bp-asm.h>.
17308 (__mpn_rshift): Don't use BP_SYM.
17309 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17310 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17311 <bp-sym.h> and <bp-asm.h>.
17312 (__sigsetjmp): Don't use BP_SYM.
17313 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17314 (L(start_addresses)): Don't use BP_SYM.
17315 (_start): Likewise.
17316 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17317 <bp-asm.h>.
17318 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17319 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17320 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17321 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17322 <bp-asm.h>.
17323 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17324 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17325 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17326 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17327 <bp-asm.h>.
17328 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17329 comments.
17330 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17331 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17332 <bp-asm.h>.
17333 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17334 FIXME comments.
17335 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17336 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17337 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17338 <bp-asm.h>.
17339 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17340 comment.
17341 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17342 and <bp-asm.h>.
17343 (strncmp): Don't use BP_SYM,
17344 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17345 <bp-asm.h>.
17346 (__mpn_sub_n): Don't use BP_SYM.
17347 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17348 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17349 and <bp-asm.h>.
17350 (__mpn_submul_1): Don't use BP_SYM.
17351 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17353 <bp-sym.h> and <bp-asm.h>.
17354 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17356 <bp-sym.h> and <bp-asm.h>.
17357 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17358 comment.
17359
17360 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17361
17362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17363 Use ZK to minimize writes to Z.
17364 (sub_magnitudes): Simplify code a bit.
17365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17366 Use ZK to minimize writes to Z.
17367 (sub_magnitudes): Simplify code a bit.
17368
17369 2013-02-27 Roland McGrath <roland@hack.frob.com>
17370
17371 * csu/gmon-start.c: Add special exception to license text.
17372
17373 2013-02-27 Richard Henderson <rth@redhat.com>
17374
17375 * scripts/config.guess: Update from config.git.
17376 * scripts/config.sub: Likewise.
17377
17378 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17379
17380 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17381
17382 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17383
17384 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17385
17386 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17387
17388 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17389
17390 2013-02-26 Roland McGrath <roland@hack.frob.com>
17391
17392 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17393 [$(build-shared = yes].
17394
17395 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17396
17397 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17398 (__mul): Reduce iterations for calculating mantissa.
17399
17400 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17401 MPTWO.
17402 (__mpranred): Likewise.
17403
17404 [BZ #15160]
17405 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17406 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17407
17408 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17409
17410 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17411 Define __attribute__.
17412
17413 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17414
17415 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17416 unused.
17417 * posix/regex_internal.h (__attribute): Remove.
17418 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17419 (re_string_context_at): Likewise.
17420 (bitset_not): Use __attribute__ and mark function as possibly
17421 unused.
17422 (bitset_merge): Likewise.
17423 (bitset_mask): Likewise.
17424 (re_string_char_size_at): Likewise.
17425 (re_string_wchar_at): Likewise.
17426 (re_string_elem_size_at): Likewise.
17427
17428 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17429
17430 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17431 code.
17432 (cc32): Likewise.
17433
17434 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17435 (__acr): Likewise.
17436 (__cpy): Likewise.
17437 (norm): Likewise.
17438 (denorm): Likewise.
17439 (__dbl_mp): Likewise.
17440 (add_magnitudes): Likewise.
17441 (sub_magnitudes): Likewise.
17442 (__mul): Likewise.
17443 (__inv): Likewise.
17444
17445 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17446 style.
17447
17448 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17449 style.
17450
17451 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17452 code.
17453
17454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17455 up changes with default code.
17456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17457 Likewise.
17458
17459 2013-02-24 Allan McRae <allan@archlinux.org>
17460
17461 * manual/socket.texi (The Internet Namespace): Order menu items
17462 to match that in the file.
17463
17464 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17465 node listing of the info page menu.
17466
17467 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17468
17469 [BZ #13550]
17470 * sysdeps/i386/bp-asm.h: Remove file.
17471 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17472 (PARMS): Do not use macros from bp-asm.h.
17473 (S1): Likewise.
17474 (S2): Likewise.
17475 (SIZE): Likewise.
17476 (__mpn_add_n): Do not use BP_SYM
17477 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17478 "bp-asm.h".
17479 (PARMS): Do not use macros from bp-asm.h.
17480 (S1): Likewise.
17481 (SIZE): Likewise.
17482 (__mpn_addmul_1): Do not use BP_SYM
17483 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17484 "bp-asm.h".
17485 (PARMS): Do not use macros from bp-asm.h.
17486 (SIGMSK): Likewise.
17487 (_setjmp): Likewise. Do not use BP_SYM.
17488 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17489 "bp-asm.h".
17490 (PARMS): Do not use macros from bp-asm.h.
17491 (SIGMSK): Likewise.
17492 (setjmp): Likewise. Do not use BP_SYM.
17493 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17494 "bp-asm.h".
17495 (PARMS): Do not use macros from bp-asm.h.
17496 (__frexp): Do not use BP_SYM.
17497 (frexp): Likewise.
17498 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17499 "bp-asm.h".
17500 (PARMS): Do not use macros from bp-asm.h.
17501 (__frexpf): Do not use BP_SYM.
17502 (frexpf): Likewise.
17503 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17504 "bp-asm.h".
17505 (PARMS): Do not use macros from bp-asm.h.
17506 (__frexpl): Do not use BP_SYM.
17507 (frexpl): Likewise.
17508 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17509 "bp-asm.h".
17510 (PARMS): Do not use macros from bp-asm.h.
17511 (__remquo): Do not use BP_SYM.
17512 (remquo): Likewise.
17513 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17514 "bp-asm.h".
17515 (PARMS): Do not use macros from bp-asm.h.
17516 (__remquof): Do not use BP_SYM.
17517 (remquof): Likewise.
17518 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17519 "bp-asm.h".
17520 (PARMS): Do not use macros from bp-asm.h.
17521 (__remquol): Do not use BP_SYM.
17522 (remquol): Likewise.
17523 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17524 "bp-asm.h".
17525 (PARMS): Do not use macros from bp-asm.h.
17526 (DEST): Likewise.
17527 (SRC): Likewise.
17528 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17529 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17530 "bp-asm.h".
17531 (PARMS): Do not use macros from bp-asm.h.
17532 (strlen): Do not use BP_SYM.
17533 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17534 "bp-asm.h".
17535 (PARMS): Do not use macros from bp-asm.h.
17536 (S1): Likewise.
17537 (S2): Likewise.
17538 (SIZE): Likewise.
17539 (__mpn_add_n): Do not use BP_SYM.
17540 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17541 "bp-asm.h".
17542 (PARMS): Do not use macros from bp-asm.h.
17543 (S1): Likewise.
17544 (SIZE): Likewise.
17545 (__mpn_addmul_1): Do not use BP_SYM.
17546 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17547 weak_alias.
17548 (bzero): Likewise.
17549 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17550 "bp-asm.h".
17551 (PARMS): Do not use macros from bp-asm.h.
17552 (S): Likewise.
17553 (SIZE): Likewise.
17554 (__mpn_lshift): Do not use BP_SYM.
17555 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17556 "bp-asm.h".
17557 (PARMS): Do not use macros from bp-asm.h.
17558 (DEST): Likewise.
17559 (SRC): Likewise.
17560 (LEN): Likewise.
17561 (memcpy): Likewise. Do not use BP_SYM.
17562 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17563 libc_hidden_def and weak_alias.
17564 (mempcpy): Do not use BP_SYM in weak_alias.
17565 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17566 "bp-asm.h".
17567 (PARMS): Do not use macros from bp-asm.h.
17568 (DEST): Likewise.
17569 (LEN): Likewise.
17570 [!BZERO_P] (CHR): Likewise.
17571 (memset): Likewise. Do not use BP_SYM.
17572 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17573 "bp-asm.h".
17574 (PARMS): Do not use macros from bp-asm.h.
17575 (S1): Likewise.
17576 (SIZE): Likewise.
17577 (__mpn_mul_1): Do not use BP_SYM.
17578 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17579 "bp-asm.h".
17580 (PARMS): Do not use macros from bp-asm.h.
17581 (S): Likewise.
17582 (SIZE): Likewise.
17583 (__mpn_rshift): Do not use BP_SYM.
17584 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17585 "bp-asm.h".
17586 (PARMS): Do not use macros from bp-asm.h.
17587 (STR): Likewise.
17588 (CHR): Likewise.
17589 (strchr): Likewise. Do not use BP_SYM.
17590 (index): Do not use BP_SYM in weak_alias.
17591 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17592 "bp-asm.h".
17593 (PARMS): Do not use macros from bp-asm.h.
17594 (DEST): Likewise.
17595 (SRC): Likewise.
17596 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17597 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17598 "bp-asm.h".
17599 (PARMS): Do not use macros from bp-asm.h.
17600 (strlen): Do not use BP_SYM.
17601 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17602 "bp-asm.h".
17603 (PARMS): Do not use macros from bp-asm.h.
17604 (S1): Likewise.
17605 (S2): Likewise.
17606 (SIZE): Likewise.
17607 (__mpn_sub_n): Do not use BP_SYM.
17608 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17609 "bp-asm.h".
17610 (PARMS): Do not use macros from bp-asm.h.
17611 (S1): Likewise.
17612 (SIZE): Likewise.
17613 (__mpn_submul_1): Do not use BP_SYM.
17614 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17615 "bp-asm.h".
17616 (PARMS): Do not use macros from bp-asm.h.
17617 (S1): Likewise.
17618 (S2): Likewise.
17619 (SIZE): Likewise.
17620 (__mpn_add_n): Do not use BP_SYM.
17621 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17622 weak_alias.
17623 (bzero): Likewise.
17624 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17625 "bp-asm.h".
17626 (PARMS): Do not use macros from bp-asm.h.
17627 (BLK2): Likewise.
17628 (LEN): Likewise.
17629 (memcmp): Do not use BP_SYM.
17630 (bcmp): Do not use BP_SYM in weak_alias.
17631 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17632 "bp-asm.h".
17633 (PARMS): Do not use macros from bp-asm.h.
17634 (DEST): Likewise.
17635 (SRC): Likewise.
17636 (LEN): Likewise.
17637 (memcpy): Likewise. Do not use BP_SYM.
17638 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17639 "bp-asm.h".
17640 (PARMS): Do not use macros from bp-asm.h.
17641 (DEST): Likewise.
17642 (SRC): Likewise.
17643 (LEN): Likewise.
17644 (memmove): Likewise. Do not use BP_SYM.
17645 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17646 "bp-asm.h".
17647 (PARMS): Do not use macros from bp-asm.h.
17648 (DEST): Likewise.
17649 (SRC): Likewise.
17650 (LEN): Likewise.
17651 (__mempcpy): Likewise. Do not use BP_SYM.
17652 (mempcpy): Do not use BP_SYM in weak_alias.
17653 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17654 "bp-asm.h".
17655 (PARMS): Do not use macros from bp-asm.h.
17656 (DEST): Likewise.
17657 (LEN): Likewise.
17658 [!BZERO_P] (CHR): Likewise.
17659 (memset): Likewise. Do not use BP_SYM.
17660 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17661 "bp-asm.h".
17662 (PARMS): Do not use macros from bp-asm.h.
17663 (STR2): Likewise.
17664 (strcmp): Do not use BP_SYM.
17665 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17666 "bp-asm.h".
17667 (PARMS): Do not use macros from bp-asm.h.
17668 (STR): Likewise.
17669 (DELIM): Likewise.
17670 [USE_AS_STRTOK_R] (SAVE): Likewise.
17671 (FUNCTION): Likewise. Do not use BP_SYM.
17672 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17673 aliases.
17674 (strtok_r): Likewise.
17675 (__GI___strtok_r): Likewise.
17676 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17677 (PARMS): Do not use macros from bp-asm.h.
17678 (S): Likewise.
17679 (SIZE): Likewise.
17680 (__mpn_lshift): Do not use BP_SYM.
17681 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17682 (PARMS): Do not use macros from bp-asm.h.
17683 (STR): Likewise.
17684 (CHR): Likewise.
17685 (__memchr): Do not use BP_SYM.
17686 (memchr): Do not use BP_SYM in weak_alias.
17687 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17688 (PARMS): Do not use macros from bp-asm.h.
17689 (BLK2): Likewise.
17690 (LEN): Likewise.
17691 (memcmp): Do not use BP_SYM.
17692 (bcmp): Do not use BP_SYM in weak_alias.
17693 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17694 (PARMS): Do not use macros from bp-asm.h.
17695 (S1): Likewise.
17696 (SIZE): Likewise.
17697 (__mpn_mul_1): Do not use BP_SYM.
17698 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17699 "bp-asm.h".
17700 (PARMS): Do not use macros from bp-asm.h.
17701 (STR): Likewise.
17702 (CHR): Likewise.
17703 (__rawmemchr): Do not use BP_SYM.
17704 (rawmemchr): Do not use BP_SYM in weak_alias.
17705 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17706 (PARMS): Do not use macros from bp-asm.h.
17707 (S): Likewise.
17708 (SIZE): Likewise.
17709 (__mpn_rshift): Do not use BP_SYM.
17710 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17711 (PARMS): Do not use macros from bp-asm.h.
17712 (SIGMSK): Likewise.
17713 (__sigsetjmp): Likewise. Do not use BP_SYM.
17714 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17715 (_start): Do not use BP_SYM.
17716 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17717 (PARMS): Do not use macros from bp-asm.h.
17718 (DEST): Likewise.
17719 (SRC): Likewise.
17720 (__stpcpy): Likewise. Do not use BP_SYM.
17721 (stpcpy): Do not use BP_SYM in weak_alias.
17722 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17723 "bp-asm.h".
17724 (PARMS): Do not use macros from bp-asm.h.
17725 (DEST): Likewise.
17726 (SRC): Likewise.
17727 (LEN): Likewise.
17728 (__stpncpy): Likewise. Do not use BP_SYM.
17729 (stpncpy): Do not use BP_SYM in weak_alias.
17730 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17731 (PARMS): Do not use macros from bp-asm.h.
17732 (STR): Likewise.
17733 (CHR): Likewise.
17734 (strchr): Likewise. Do not use BP_SYM.
17735 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17736 "bp-asm.h".
17737 (PARMS): Do not use macros from bp-asm.h.
17738 (STR): Likewise.
17739 (CHR): Likewise.
17740 (__strchrnul): Likewise. Do not use BP_SYM.
17741 (strchrnul): Do not use BP_SYM in weak_alias.
17742 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17743 "bp-asm.h".
17744 (PARMS): Do not use macros from bp-asm.h.
17745 (STOP): Likewise.
17746 (strcspn): Do not use BP_SYM.
17747 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17748 "bp-asm.h".
17749 (PARMS): Do not use macros from bp-asm.h.
17750 (STR): Likewise.
17751 (STOP): Likewise.
17752 (strpbrk): Likewise. Do not use BP_SYM.
17753 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17754 "bp-asm.h".
17755 (PARMS): Do not use macros from bp-asm.h.
17756 (STR): Likewise.
17757 (CHR): Likewise.
17758 (strrchr): Likewise. Do not use BP_SYM.
17759 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17760 (PARMS): Do not use macros from bp-asm.h.
17761 (SKIP): Likewise.
17762 (strspn): Do not use BP_SYM.
17763 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17764 (PARMS): Do not use macros from bp-asm.h.
17765 (STR): Likewise.
17766 (DELIM): Likewise.
17767 (SAVE): Likewise.
17768 (FUNCTION): Likewise. Do not use BP_SYM.
17769 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17770 aliases.
17771 (strtok_r): Likewise.
17772 (__GI___strtok_r): Likewise.
17773 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17774 (PARMS): Do not use macros from bp-asm.h.
17775 (S1): Likewise.
17776 (S2): Likewise.
17777 (SIZE): Likewise.
17778 (__mpn_sub_n): Do not use BP_SYM.
17779 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17780 "bp-asm.h".
17781 (PARMS): Do not use macros from bp-asm.h.
17782 (S1): Likewise.
17783 (SIZE): Likewise.
17784 (__mpn_submul_1): Do not use BP_SYM.
17785 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17786 <bp-sym.h>.
17787 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17788 and <bp-asm.h>.
17789 (PARMS): Do not use macros from bp-asm.h.
17790 (FLAGS): Likewise.
17791 (PTID): Likewise.
17792 (TLS): Likewise.
17793 (CTID): Likewise.
17794 (__clone): Do not use BP_SYM.
17795 (clone): Do not use BP_SYM in weak_alias.
17796 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17797 and <bp-asm.h>.
17798 (PARMS): Do not use macros from bp-asm.h.
17799 (LEN): Likewise.
17800 (__mmap64): Do not use BP_SYM.
17801 (mmap64): Do not use BP_SYM in weak_alias.
17802 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17803 <bp-sym.h> and <bp-asm.h>.
17804 (PARMS): Do not use macros from bp-asm.h.
17805 (__posix_fadvise64_l64): Do not use BP_SYM.
17806 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17807 (PARMS): Do not use macros from bp-asm.h.
17808 (NSOPS): Likewise.
17809 (semtimedop): Do not use BP_SYM.
17810 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17811 and <bp-asm.h>.
17812
17813 2013-02-21 Allan McRae <allan@archlinux.org>
17814
17815 * manual/message.texi (Charset conversion in gettext):
17816 Move @end statement to beginning of line.
17817
17818 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17819
17820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17821 static.
17822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17823 Likewise.
17824
17825 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17826 (denorm): Likewise.
17827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17829
17830 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17831
17832 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17833 tail-call to the resolved function if pltexit isn't needed.
17834
17835 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17836
17837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17838 or Y being zero as being unlikely.
17839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17840 Likewise.
17841
17842 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17843
17844 * manual/nss.texi (System Databases and Name Service Switch):
17845 Remove frobnicate @pxref.
17846
17847 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17848
17849 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17850 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17851
17852 2013-02-20 Petr Machata <pmachata@redhat.com>
17853
17854 * elf/elf.h (R_ARM_TARGET1): New macro.
17855 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17856 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17857 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17858 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17859 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17860 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17861 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17862 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17863 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17864 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17865 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17866 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17867 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17868 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17869 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17870 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17871 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17872 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17873 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17874 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17875 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17876 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17877 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17878 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17879 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17880 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17881 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17882 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17883 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17884 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17885 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17886 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17887 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17888 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17889 (R_ARM_THM_GOT_BREL12): Likewise.
17890 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17891 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17892 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17893 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17894 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17895 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17896 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17897 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17898 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17899
17900 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17901
17902 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17903 __attribute_used__ to __attribute__ ((unused)).
17904
17905 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17906
17907 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17908 powerpc mpa.c.
17909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17910 comment formatting.
17911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17912
17913 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17914
17915 [BZ #13550]
17916 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17917 Remove macro.
17918 (ENTER): Remove both macro definitions.
17919 (LEAVE): Likewise.
17920 (CHECK_BOUNDS_LOW): Likewise.
17921 (CHECK_BOUNDS_HIGH): Likewise.
17922 (CHECK_BOUNDS_BOTH): Likewise.
17923 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17924 (RETURN_BOUNDED_POINTER): Likewise.
17925 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17926 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17927 (POP_ERRNO_LOCATION_RETURN): Likewise.
17928 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17929 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17930 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17931 macros.
17932 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17933 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17934 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17935 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17936 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17937 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17938 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17939 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17940 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17941 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17942 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17943 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17944 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17945 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17946 removed macros.
17947 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17948 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17949 macros.
17950 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17951 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17952 * sysdeps/i386/i586/memset.S (memset): Likewise.
17953 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17954 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17955 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17956 macros.
17957 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17958 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17959 Change uses of L(2) to L(out).
17960 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17961 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17962 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17963 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17964 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17965 removed macros.
17966 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17967 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17968 macros.
17969 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17970 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17971 (RETURN): Do not use macro LEAVE.
17972 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17973 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17974 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17975 * sysdeps/i386/i686/memset.S (memset): Likewise.
17976 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17977 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17978 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17979 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17980 Likewise.
17981 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17982 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17983 L(1_2) and L(1_3) into L(1).
17984 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17985 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17986 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17987 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17988 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17989 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17990 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17991 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17992 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17993 macros.
17994 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17995 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17996 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17997 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17998 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17999 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18000 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18001 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18002 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18003 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18004 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18005 * sysdeps/i386/strspn.S (strspn): Likewise.
18006 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18007 conditional code.
18008 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18009 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18010 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18011 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18012 L(1_3) into L(1_1).
18013 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18014 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18015 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18016 macros.
18017 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18018
18019 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18020
18021 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18022 macro.
18023
18024 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18025
18026 * math/atest-exp.c (exp_mpn): Remove ROUND.
18027 * math/atest-exp2.c (exp_mpn): Likewise.
18028 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18029
18030 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18031 * stdlib/tst-tls-atexit-lib.c: Likewise.
18032 * stdlib/tst-tls-atexit.c: Likewise.
18033
18034 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18035
18036 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18037 and __attribute_alloc_size__.
18038
18039 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18040
18041 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18042 __attribute_alloc_size__.
18043 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18044 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18045
18046 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18047
18048 * include/programs/xmalloc.h: New file.
18049 * catgets/gencat.c: Include it.
18050 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18051 * elf/pldd.c: Likewise.
18052 * iconv/iconv_charmap.c: Likewise.
18053 * iconv/iconvconfig.c: Likewise.
18054 * iconv/strtab.c: Likewise.
18055 * locale/programs/locale.c: Likewise.
18056 * locale/programs/localedef.h: Likewise.
18057 * locale/programs/simple-hash.c: Likewise.
18058 * nscd/nscd.h: Likewise.
18059 * nss/makedb.c: Likewise.
18060 * sysdeps/generic/ldconfig.h: Likewise.
18061
18062 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18063
18064 * Versions.def: Add GLIBC_2.18.
18065 * include/link.h (struct link_map): New member l_tls_dtor_count.
18066 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18067 (__call_tls_dtors): Likewise.
18068 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18069 __cxa_thread_atexit_impl.
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18071 Likewise.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18073 Likewise.
18074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18075 Likewise.
18076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18077 Likewise.
18078 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18080 Likewise.
18081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18082 Likewise.
18083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18085 Likewise.
18086 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18087 (tests): Add test case tst-tls-atexit.
18088 (modules-names): Add shared library for tst-tls-atexit.
18089 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18090 (GLIBC_PRIVATE): Add __call_tls_dtors.
18091 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18092 for libstdc++.
18093 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18094 * stdlib/tst-tls-atexit.c: New test case.
18095 * stdlib/tst-tls-atexit-lib.c: New test case.
18096
18097 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18098
18099 * elf/Versions (ld): Add _dl_find_dso_for_object.
18100 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18101 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18102 (dl_open_worker): Use _dl_find_dso_for_object.
18103 * elf/dl-sym.c (do_sym): Likewise.
18104 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18105
18106 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18107
18108 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18109 Syntactic changes only.
18110 (_dl_runtime_profile): Do a tail-call to the resolved function.
18111
18112 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18113
18114 [BZ #13550]
18115 * sysdeps/x86_64/bp-asm.h: Remove file.
18116 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18117 <bp-sym.h> and <bp-asm.h>.
18118 (__clone): Do not use BP_SYM.
18119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18120 <bp-sym.h> and <bp-asm.h>.
18121 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18122 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18123 "bp-asm.h".
18124 (_setjmp): Do not use BP_SYM.
18125 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18126 "bp-asm.h".
18127 (setjmp): Do not use BP_SYM.
18128 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18129 libc_hidden_def.
18130 (mempcpy): Do not use BP_SYM in weak_alias.
18131 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18132 "bp-asm.h".
18133 (strchr): Do not use BP_SYM.
18134 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18135 "bp-asm.h".
18136 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18137 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18138 (_start): Do not use BP_SYM.
18139 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18140 "bp-asm.h".
18141 (strcat): Do not use BP_SYM.
18142 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18143 "bp-asm.h".
18144 (STRCMP): Do not use BP_SYM.
18145 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18146 "bp-asm.h".
18147 (STRCPY): Do not use BP_SYM.
18148 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18149 "bp-asm.h".
18150 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18151 "bp-asm.h".
18152 (FUNCTION): Do not use BP_SYM.
18153 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18154 weak_alias.
18155 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18156
18157 2013-02-17 Andreas Jaeger <aj@suse.de>
18158
18159 * time/Versions: Sort entries.
18160 * string/Versions: Likewise.
18161 * resolv/Versions: Likewise.
18162 * posix/Versions: Likewise.
18163 * iconv/Versions: Likewise.
18164 * elf/Versions: Likewise.
18165 * wcsmbs/Versions: Likewise.
18166
18167 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18168
18169 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18170 loop termination condition.
18171
18172 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18173 variable to calculate EZ.
18174 (__sqr): Likewise.
18175
18176 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18177 the lower precision input.
18178
18179 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18180
18181 [BZ #13550]
18182 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18183 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18184 (run-via-rtld-prefix): Do not handle %-bp tests.
18185 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18186 (all-object-suffixes): Remove .ob.
18187 (bppfx): Remove variable.
18188 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18189 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18190 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18191 [$(build-bounded) = yes] (libtype.ob): Likewise.
18192 * Makerules (elide-routines.ob): Remove variable.
18193 (do-tests-clean): Do not handle *-bp.out.
18194 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18195 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18196 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18197 (tests): Do not include $(tests-bp.out).
18198 (xtests): Do not include $(xtests-bp.out).
18199 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18200 [$(build-bounded) = yes] ($(addprefix
18201 $(objpfx),$(binaries-bounded))): Remove rule.
18202 ($(objpfx)%-bp.out): Remove rule.
18203 * config.make.in (build-bounded): Remove variable.
18204 * crypt/Makefile [$(build-bounded) = yes]
18205 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18206 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18207 append to variable.
18208 [$(build-bounded) = yes] (install-lib): Likewise.
18209 [$(build-bounded) = yes] (generated): Likewise.
18210 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18211 Remove rule.
18212 * intl/Makefile [$(build-bounded) = yes]
18213 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18214 * math/Makefile [$(build-bounded) = yes]
18215 ($(tests:%=$(objpfx)%-bp): Likewise.
18216 * misc/Makefile [$(build-bounded) = yes]
18217 ($(objpfx)tst-tsearch-bp): Likewise.
18218 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18219 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18220 Remove dependency.
18221 * string/Makefile (o-objects.ob): Remove variable.
18222 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18223 (CFLAGS-.ob): Remove variable.
18224 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18225 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18226 both definitions of variable.
18227 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18228 (ASFLAGS-.ob): Remove variable.
18229
18230 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18231
18232 [BZ #13550]
18233 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18234 Remove __BOUNDED_POINTERS__ from condition.
18235 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18236 * string/bits/string2.h [!__NO_STRING_INLINES &&
18237 !__BOUNDED_POINTERS__]: Likewise.
18238 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18239 Likewise.
18240 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18241 Remove conditional code.
18242 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18243 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18244 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18245 condition.
18246
18247 [BZ #13550]
18248 * csu/libc-start.c: Do not include <bp-sym.h>.
18249 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18250 * elf/dl-open.c: Do not include <bp-sym.h>.
18251 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18252 * math/fegetenv.c: Do not include <bp-sym.h>.
18253 (fegetenv): Do not use BP_SYM in versioned symbols.
18254 * nptl/sysdeps/pthread/bits/libc-lockP.h
18255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18256 <bp-sym.h>.
18257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18258 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18260 (__pthread_mutex_destroy): Likewise.
18261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18262 (__pthread_mutex_lock): Likewise.
18263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18264 (__pthread_mutex_trylock): Likewise.
18265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18266 (__pthread_mutex_unlock): Likewise.
18267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18268 (__pthread_mutexattr_init): Likewise.
18269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18270 (__pthread_mutexattr_destroy): Likewise.
18271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18272 (__pthread_mutexattr_settype): Likewise.
18273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18274 (__pthread_rwlock_init): Likewise.
18275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18276 (__pthread_rwlock_destroy): Likewise.
18277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18278 (__pthread_rwlock_rdlock): Likewise.
18279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18280 (__pthread_rwlock_tryrdlock): Likewise.
18281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18282 (__pthread_rwlock_wrlock): Likewise.
18283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18284 (__pthread_rwlock_trywrlock): Likewise.
18285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18286 (__pthread_rwlock_unlock): Likewise.
18287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18288 (__pthread_key_create): Likewise.
18289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18290 (__pthread_setspecific): Likewise.
18291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18292 (__pthread_getspecific): Likewise.
18293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18294 Likewise.
18295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18296 (_pthread_cleanup_push_defer): Likewise.
18297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18298 (_pthread_cleanup_pop_restore): Likewise.
18299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18300 (pthread_setcancelstate): Likewise.
18301 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18302 <bp-sym.h>.
18303 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18304 (memchr): Do not use BP_SYM in weak_alias.
18305 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18306 (fegetenv): Do not use BP_SYM in versioned symbols.
18307 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18308 (fesetenv): Do not use BP_SYM in versioned symbols.
18309 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18310 (feupdateenv): Do not use BP_SYM in versioned symbols.
18311 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18312 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18313 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18314 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18315 (open64): Do not use BP_SYM in weak_alias.
18316 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18317 (fegetenv): Do not use BP_SYM in versioned symbols.
18318 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18319 (fesetenv): Do not use BP_SYM in versioned symbols.
18320 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18321 (feupdateenv): Do not use BP_SYM in versioned symbols.
18322 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18323 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18324 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18325 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18326 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18327 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18328 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18329 <bp-sym.h>.
18330 (__libc_start_main): Do not use BP_SYM.
18331
18332 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18333
18334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18335 redundant return line.
18336 (norm): Likewise.
18337 (denorm): Likewise.
18338 (dbl_mp): Likewise.
18339 (sub_magnitudes): Likewise.
18340 (__add): Likewise.
18341 (__sub): Likewise.
18342 (__mul): Likewise.
18343 (__inv): Likewise.
18344 (__dvd): Likewise.
18345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18346 (norm): Likewise.
18347 (denorm): Likewise.
18348 (dbl_mp): Likewise.
18349 (sub_magnitudes): Likewise.
18350 (__add): Likewise.
18351 (__sub): Likewise.
18352 (__mul): Likewise.
18353 (__inv): Likewise.
18354 (__dvd): Likewise.
18355
18356 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18357 instead of __mul.
18358 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18359 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18360 (cc32): Likewise.
18361
18362 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18363 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18365 of __mul for squares.
18366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18367 function
18368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18369 Likewise.
18370 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18371 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18372
18373 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18374
18375 [BZ #13550]
18376 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18377 code.
18378 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18379 prototype or function definition. Rename ubp_* variables and
18380 parameters. Remove argv definitions conditional on
18381 [__BOUNDED_POINTERS__].
18382 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18383 * elf/dl-runtime.c (_dl_fixup): Likewise.
18384 * include/set-hooks.h (RUN_HOOK): Likewise.
18385 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18386 definition.
18387 * string/strcpy.c (strcpy): Do not use __unbounded.
18388 * sysdeps/generic/frame.h (struct layout): Likewise.
18389 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18390 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18391 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18392 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18393 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18394 (__backtrace): Likewise.
18395 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18396 use __ptrvalue.
18397 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18398 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18399 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18400 Likewise.
18401 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18402 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18403 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18404 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18405 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18406 Do not use __unbounded.
18407 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18408 Rename __unboundedrlimits parameter to rlimits in prototype.
18409 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18410 Do not use __unbounded.
18411 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18412 not use __ptrvalue.
18413 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18414 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18415 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18416 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18417 __ptrvalue or __unbounded.
18418 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18419 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18420 use __unbounded.
18421 (__new_msgctl): Do not use __ptrvalue.
18422 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18423 __unbounded.
18424 (__libc_msgrcv): Do not use __ptrvalue.
18425 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18426 startup_info): Do not use __unbounded.
18427 (__libc_start_main): Likewise. Rename ubp_* variables and
18428 parameters. Remove argv definitions conditional on
18429 [__BOUNDED_POINTERS__].
18430 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18431 __ptrvalue.
18432 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18433 use __unbounded.
18434 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18435 or __ptrvalue.
18436 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18437 use __unbounded.
18438 (__new_shmctl): Do not use __ptrvalue.
18439 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18440 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18441 Likewise.
18442 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18443 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18444 (__libc_sigaction): Likewise.
18445 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18446 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18447 Likewise.
18448 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18449
18450 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18451
18452 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18453
18454 * string/mempcpy.c: Implement by calling memcpy.
18455
18456 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18457
18458 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18459
18460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18461 evaluation.
18462
18463 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18464 values in the mantissa.
18465
18466 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18467 minimize writes to Z.
18468 (sub_magnitudes): Simplify code a bit.
18469
18470 2013-02-12 Roland McGrath <roland@hack.frob.com>
18471
18472 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18473 from the message. The linker prefixes all warnings with that already.
18474
18475 2013-02-12 Andreas Schwab <schwab@suse.de>
18476
18477 [BZ #15078]
18478 * posix/regexec.c (extend_buffers): Add parameter min_len.
18479 (check_matching): Pass minimum needed length.
18480 (clean_state_log_if_needed): Likewise.
18481 (get_subexp): Likewise.
18482 * posix/Makefile (tests): Add bug-regex34.
18483 (bug-regex34-ENV): Define.
18484 * posix/bug-regex34.c: New file.
18485
18486 [BZ #11561]
18487 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18488 elements compare against the byte sequence of it, not its name.
18489 * posix/Makefile (tests): Add bug-regex35.
18490 (bug-regex35-ENV): Define.
18491 * posix/bug-regex35.c: New file.
18492
18493 2013-02-11 Tom de Vries <tom@codesourcery.com>
18494
18495 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18496 comment.
18497 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18498 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18499 (CHECK_EOL): Add undef.
18500
18501 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18502
18503 * bits/stdlib-bsearch.h: New file.
18504 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18505 * stdlib/stdlib.h: Likewise.
18506
18507 2013-02-11 Roland McGrath <roland@hack.frob.com>
18508
18509 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18510 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18511 declaration.
18512 * manual/search.texi (Array Search Function): Add missing const in
18513 lfind prototype.
18514 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18515 declaration to use rlim_t.
18516 (Basic Scheduling Functions): Remove erroneous const from
18517 sched_getparam prototype. Remove erroneous * from
18518 sched_get_priority_max and sched_get_priority_min prototypes.
18519 (Resource Usage): Fix summary @comment on vtimes to refer to
18520 sys/vtimes.h rather than vtimes.h.
18521 Add missing *s in vtimes prototype.
18522 (Limits on Resources): Fix ulimit prototype to return long int.
18523 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18524 prototypes to use long int rather than double.
18525 (BSD Random): Fix initstate and setstate to use char *, not void *.
18526 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18527 prototype to make second argument 'struct aiocb64 *const[]'.
18528 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18529 (Status of AIO Operations): Remove erroneous const in aio_return and
18530 aio_return64 prototypes.
18531 (Synchronizing I/O): Fix sync prototype to return void.
18532 * manual/startup.texi (Suboptions): Remove an erroneous const in
18533 getsubopt prototype.
18534 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18535 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18536 use size_t rather than int.
18537 (Scanning All Users): Likewise for getpwent_r.
18538 (Setting Groups): Add missing const to setgroups prototype.
18539 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18540 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18541 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18542 'const void *' rather than 'const char *'.
18543 (Host Address Functions): Likewise for inet_ntop.
18544 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18545 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18546 ssize_t for return value.
18547 (Sending Data): Likewise for send, sendto, sendmsg.
18548 (Socket Option Functions): Add a missing const in setsockopt prototype.
18549 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18550 use wchar_t for the argument.
18551 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18552 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18553 take no arguments.
18554 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18555 double/float/long double for second argument.
18556 Fix return types of significand, significandf, significandl.
18557 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18558 argument in fchmod prototype.
18559 (File Owner): Use uid_t and gid_t in fchown prototype.
18560 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18561 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18562 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18563 use 'const struct dirent **' as argument types to CMP function pointer
18564 argument.
18565 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18566 (File Times): Fix summary magic @comment for struct utimbuf and utime
18567 to refer to utime.h, not time.h.
18568 * manual/string.texi (Argz Functions): Add missing const in
18569 argz_extract and argz_next prototypes.
18570 (Finding Tokens in a String): Likewise for basename.
18571 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18572 (Copying and Concatenation): Fix typo in wmemmove prototype.
18573 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18574 (Signal Stack): Remove erroneous const in sigstack prototype.
18575 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18576 prototype.
18577 (Simple Calendar Time): Likewise for stime.
18578 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18579 prototype.
18580 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18581 say sys/sysctl.h instead.
18582 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18583 and vsyslog prototypes.
18584
18585 2013-02-11 Tom de Vries <tom@codesourcery.com>
18586
18587 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18588 Remove.
18589
18590 2013-02-11 Roland McGrath <roland@hack.frob.com>
18591
18592 * misc/sys/mman.h: Fix typo in mremap comment.
18593
18594 2013-02-08 Roland McGrath <roland@hack.frob.com>
18595
18596 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18597 the '\0' terminator.
18598
18599 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18600
18601 [BZ #13550]
18602 * debug/segfault.c: Don't include <bp-checks.h>.
18603 * sysdeps/generic/bp-checks.h: Remove file.
18604 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18605 (__GETDENTS): Don't use CHECK_N.
18606 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18607 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18608 (__getgroups): Don't use CHECK_N.
18609 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18610 (setgroups): Don't use CHECK_N.
18611 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18612 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18613 (__libc_msgrcv): Don't use CHECK_N.
18614 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18615 (__libc_msgsnd): Don't use CHECK_N.
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18617 <bp-checks.h>.
18618 (__libc_pread): Don't use CHECK_N.
18619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18620 include <bp-checks.h>.
18621 (__libc_pread64): Don't use CHECK_N.
18622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18623 include <bp-checks.h>.
18624 (__libc_pwrite): Don't use CHECK_N.
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18626 include <bp-checks.h>.
18627 (__libc_pwrite64): Don't use CHECK_N.
18628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18629 <bp-checks.h>.
18630 (__libc_pread): Don't use CHECK_N.
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18632 include <bp-checks.h>.
18633 (__libc_pread64): Don't use CHECK_N.
18634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18635 include <bp-checks.h>.
18636 (__libc_pwrite): Don't use CHECK_N.
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18638 include <bp-checks.h>.
18639 (__libc_pwrite64): Don't use CHECK_N.
18640 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18641 (do_pread): Don't use CHECK_N.
18642 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18643 (do_pread64): Don't use CHECK_N.
18644 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18645 (do_pwrite): Don't use CHECK_N.
18646 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18647 (do_pwrite64): Don't use CHECK_N.
18648 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18649 (__libc_readv): Don't use CHECK_N.
18650 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18651 (semop): Don't use CHECK_N.
18652 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18653 <bp-checks.h>.
18654 (semtimedop): Don't use CHECK_N.
18655 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18656 (__libc_pread): Don't use CHECK_N.
18657 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18658 <bp-checks.h>.
18659 (__libc_pread64): Don't use CHECK_N.
18660 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18661 <bp-checks.h>.
18662 (__libc_pwrite): Don't use CHECK_N.
18663 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18664 <bp-checks.h>.
18665 (__libc_pwrite64): Don't use CHECK_N.
18666 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18667 <bp-checks.h>.
18668 (__libc_msgrcv): Don't use CHECK_N.
18669 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18670 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18671 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18672 (__libc_writev): Don't use CHECK_N.
18673
18674 2013-02-08 Roland McGrath <roland@hack.frob.com>
18675
18676 * string/strcpy.c: Removed unused variable.
18677
18678 * Makeconfig (+sysdep-includes): Define with := rather than =.
18679 Use an existing include/ subdir of each sysdeps dir before it.
18680
18681 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18682
18683 * nscd/connection.c (register_traced_file): Comment function.
18684 [HAVE_INOTIFY] (union __inev): Define.
18685 [HAVE_INOTIFY] (inotify_check_files): New function.
18686 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18687 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18688 clear_db_cache.
18689 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18690
18691 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18692
18693 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18694 loaded if not already and that a failure is permanent.
18695
18696 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18697
18698 [BZ #15006]
18699 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18700 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18701
18702 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18703
18704 [BZ #13550]
18705 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18706 (CHECK_1_NULL_OK): Likewise.
18707 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18708 (__fxstat): Do not use CHECK_1.
18709 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18710 <bp-checks.h>.
18711 (___fxstat64): Do not use CHECK_1.
18712 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18713 <bp-checks.h>.
18714 (__fxstatat): Do not use CHECK_1.
18715 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18716 <bp-checks.h>.
18717 (__fxstatat64): Do not use CHECK_1.
18718 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18719 <bp-checks.h>.
18720 (__fxstat): Do not use CHECK_1.
18721 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18722 <bp-checks.h>.
18723 (__fxstatat): Do not use CHECK_1.
18724 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18725 <bp-checks.h>.
18726 (__getresgid): Do not use CHECK_1.
18727 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18728 <bp-checks.h>.
18729 (__getresuid): Do not use CHECK_1.
18730 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18731 <bp-checks.h>.
18732 (__lxstat): Do not use CHECK_1.
18733 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18734 <bp-checks.h>.
18735 (__old_msgctl): Do not use CHECK_1.
18736 (__new_msgctl): Likewise.
18737 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18738 <bp-checks.h>.
18739 (__new_setrlimit): Do not use CHECK_1.
18740 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18741 <bp-checks.h>.
18742 (__old_shmctl): Do not use CHECK_1.
18743 (__new_shmctl): Likewise.
18744 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18745 <bp-checks.h>.
18746 (__xstat): Do not use CHECK_1.
18747 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18748 (__lxstat): Do not use CHECK_1.
18749 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18750 <bp-checks.h>.
18751 (___lxstat64): Do not use CHECK_1.
18752 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18753 (__old_msgctl): Do not use CHECK_1.
18754 (__new_msgctl): Likewise.
18755 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18756 <bp-checks.h>.
18757 (__gettimeofday): Do not use CHECK_1.
18758 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18759 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18760 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18761 <bp-checks.h>.
18762 (__gettimeofday): Do not use CHECK_1.
18763 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18764 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18765 (__new_shmctl): Do not use CHECK_1.
18766 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18767 <bp-checks.h>.
18768 (do_sigtimedwait): Do not use CHECK_1.
18769 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18770 <bp-checks.h>.
18771 (do_sigwaitinfo): Do not use CHECK_1.
18772 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18773 <bp-checks.h>.
18774 (msgctl): Do not use CHECK_1.
18775 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18776 <bp-checks.h>.
18777 (shmctl): Do not use CHECK_1.
18778 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18779 (ustat): Do not use CHECK_1.
18780 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18781 <bp-checks.h>.
18782 (__fxstat): Do not use CHECK_1.
18783 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18784 <bp-checks.h>.
18785 (__fxstatat): Do not use CHECK_1.
18786 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18787 <bp-checks.h>.
18788 (__lxstat): Do not use CHECK_1.
18789 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18790 <bp-checks.h>.
18791 (__xstat): Do not use CHECK_1.
18792 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18793 (__xstat): Do not use CHECK_1.
18794 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18795 (___xstat64): Do not use CHECK_1.
18796
18797 [BZ #13550]
18798 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18799 definitions.
18800 (CHECK_BOUNDS_HIGH): Likewise.
18801 * string/strcpy.c: Do not include <bp-checks.h>.
18802 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18803
18804 2013-02-07 Roland McGrath <roland@hack.frob.com>
18805
18806 * nscd/nscd-client.h (__nscd_drop_map_ref):
18807 Add __attribute__ ((unused)).
18808 * nis/nss-nisplus.h (niserr2nss): Likewise.
18809
18810 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18811 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18812
18813 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18814 Remove inline keyword.
18815 * include/rounding-mode.h (round_away): Likewise.
18816 * libio/wfileops.c (adjust_wide_data): Likewise.
18817 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18818 (__m128i_strloadu_tolower): Likewise.
18819 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18820 (__m128i_strloadu_tolower): Likewise.
18821 * time/mktime.c (ydhms_diff): Likewise.
18822 * locale/elem-hash.h (elem_hash): Likewise.
18823 * locale/setlocale.c (setdata): Likewise.
18824 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18825 (re_string_wchar_at): Likewise.
18826 (bitset_not, bitset_merge, bitset_mask): Likewise.
18827 [!(__GNUC__ > 3)] (inline): Remove macro.
18828 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18829 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18830 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18831 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18832 * string/memcmp.c (memcmp_bytes): Likewise.
18833 * locale/programs/locarchive.c (compute_hashval): Likewise.
18834 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18835 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18836 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18837 * nss/getent.c (print_rpc, print_protocols): Likewise.
18838 (print_passwd, print_group, print_aliases): Likewise.
18839 * nis/nss-nisplus.h (niserr2nss): Likewise.
18840 * nscd/connections.c (restart_p): Likewise.
18841 Change return type to bool.
18842
18843 2013-02-05 Roland McGrath <roland@hack.frob.com>
18844
18845 * Makeconfig (all-Depend-files): Add existing
18846 $(sorted-subdirs:=/Depend) files.
18847 (all-subdirs): Remove nss.
18848 * sysdeps/unix/inet/Subdirs: Add it here instead.
18849 * hesiod/Depend: New file.
18850
18851 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18852 instead of calling alloca.
18853
18854 * io/lseek.c (__lseek): Rename to __libc_lseek.
18855 Define __lseek as an alias.
18856
18857 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18858
18859 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18860
18861 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18862 else clause and remove check for non-standard endianness.
18863
18864 2013-02-04 David S. Miller <davem@davemloft.net>
18865
18866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18867
18868 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18869
18870 [BZ #13550]
18871 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18872 (__ubp_memchr): Remove prototype.
18873 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18874 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18875 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18876 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18877 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18878 Remove alias.
18879 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18880 (__ubp_memchr): Likewise.
18881 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18882 (__ubp_memchr): Likewise.
18883 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18884 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18885 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18886 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18887 CHECK_STRING.
18888 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18889 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18890 (__getcwd): Do not use CHECK_STRING.
18891 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18892 <bp-checks.h>.
18893 (__real_chown): Do not use CHECK_STRING.
18894 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18895 <bp-checks.h>.
18896 (fchownat): Do not use CHECK_STRING.
18897 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18898 CHECK_STRING.
18899 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18900 <bp-checks.h>.
18901 (__lchown): Do not use CHECK_STRING.
18902 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18903 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18904 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18905 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18907 include <bp-checks.h>.
18908 (truncate64): Do not use CHECK_STRING.
18909 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18910 <bp-checks.h>.
18911 (__real_chown): Do not use CHECK_STRING.
18912 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18913 <bp-checks.h>.
18914 (__lchown): Do not use CHECK_STRING.
18915 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18916 <bp-checks.h>.
18917 (__chown): Do not use CHECK_STRING.
18918 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18919 <bp-checks.h>.
18920 (truncate64): Do not use CHECK_STRING.
18921 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18922 Likewise.
18923 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18924 (__xmknod): Do not use CHECK_STRING.
18925 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18926 <bp-checks.h>.
18927 (__xmknodat): Do not use CHECK_STRING.
18928 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18929 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18930
18931 2013-02-04 Andreas Schwab <schwab@suse.de>
18932
18933 [BZ #14142]
18934 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18935 * include/netdb.h: Likewise for h_errno.
18936 * elf/tst-stackguard1.c: Include <tls.h>.
18937
18938 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18939
18940 * elf/link.h (struct link_map): Extend the l_addr comment.
18941 * include/link.h (struct link_map): Likewise.
18942
18943 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18944
18945 [BZ #13550]
18946 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18947 (BOUNDED_1): Remove macro.
18948 * debug/backtrace.c: Don't include <bp-checks.h>.
18949 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18950 (__backtrace): Likewise.
18951 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18952 <bp-checks.h>.
18953 (__backtrace): Don't use BOUNDED_1.
18954 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18955 <bp-checks.h>.
18956 (__backtrace): Don't use BOUNDED_1.
18957 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18958 (__backtrace): Don't use BOUNDED_1.
18959 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18960 (shmat): Don't use BOUNDED_N.
18961
18962 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18963
18964 [BZ #13550]
18965 * sysdeps/generic/bp-start.h: Remove file.
18966 * csu/libc-start.c: Don't include <bp-start.h>.
18967 (LIBC_START_MAIN): Set up __environ directly instead of using
18968 INIT_ARGV_and_ENVIRON.
18969 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18970 <bp-start.h>.
18971
18972 [BZ #13550]
18973 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18974 definitions.
18975 (CHECK_FCNTL): Likewise.
18976 (CHECK_N_PAGES): Likewise.
18977
18978 [BZ #13550]
18979 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18980 definitions.
18981 (CHECK_SIGSET_NULL_OK): Likewise.
18982 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18983 <bp-checks.h>.
18984 (sigpending): Don't use CHECK_SIGSET.
18985 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18986 <bp-checks.h>.
18987 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18988 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18989 <bp-checks.h>.
18990 (do_sigsuspend): Don't use CHECK_SIGSET.
18991 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18992 use CHECK_SIGSET.
18993 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18994 (do_sigwait): Don't use CHECK_SIGSET.
18995 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18996 use CHECK_SIGSET.
18997 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18998 include <bp-checks.h>.
18999 (sigpending): Don't use CHECK_SIGSET.
19000 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19001 include <bp-checks.h>.
19002 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19003 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19004 <bp-checks.h>.
19005 (sigpending): Don't use CHECK_SIGSET.
19006 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19007 <bp-checks.h>.
19008 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19009
19010 [BZ #13550]
19011 * sysdeps/generic/bp-semctl.h: Remove file.
19012 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19013 <bp-checks.h> and <bp-semctl.h>.
19014 (__old_semctl): Don't use CHECK_SEMCTL.
19015 (__new_semctl): Likewise.
19016 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19017 and <bp-semctl.h>.
19018 (__old_semctl): Don't use CHECK_SEMCTL.
19019 (__new_semctl): Likewise.
19020 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19021 <bp-checks.h> and <bp-semctl.h>.
19022 (__old_semctl): Don't use CHECK_SEMCTL.
19023 (__new_semctl): Likewise.
19024 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19025 <bp-checks.h> and <bp-semctl.h>.
19026 (semctl): Don't use CHECK_SEMCTL.
19027
19028 [BZ #13550]
19029 * Makerules (elide-bp-thunks): Remove variable.
19030 (elide-routines.oS): Don't use $(elide-bp-thunks).
19031 (elide-routines.os): Likewise.
19032 (elide-routines.o): Likewise.
19033 (elide-routines.op): Likewise.
19034 (elide-routines.og): Likewise.
19035 (objects): Don't use $(bp-thunks).
19036 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19037 include.
19038 (common-generated): Do not add s-proto-bp.d.
19039 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19040 (int): Likewise.
19041 (typ): Likewise.
19042 Do not generate makefile rules for bounded-pointer thunks.
19043 * sysdeps/generic/bp-thunks.h: Remove file.
19044 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19045 * sysdeps/unix/s-proto-bp.S: Likewise.
19046
19047 [BZ #15062]
19048 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19049 parts of result separately when argument is not close to line from
19050 -i to i and one part of argument is small.
19051 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19052 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19053 * math/libm-test.inc (cacos_test): Add more tests.
19054 (casin_test): Likewise.
19055 (casinh_test): Likewise.
19056 * sysdeps/i386/fpu/libm-test-ulps: Update.
19057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19058
19059 2013-01-31 David S. Miller <davem@davemloft.net>
19060
19061 * po/de.po: Update from translation team.
19062
19063 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19064
19065 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19066
19067 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19068
19069 * configure.in (_AC_PROG_CC_C89): New definition.
19070 * configure: Regenerate.
19071
19072 * configure.in (AC_PROG_CPP): New definition.
19073 * configure: Regenerate.
19074
19075 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19076
19077 * debug/tst-backtrace.h: New file.
19078 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19079 (ret): Remove variable.
19080 (x): Likewise.
19081 (FAIL): Remove macro.
19082 (NO_INLINE): Likewise.
19083 (fn1): Use match function instead of strstr.
19084 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19085 (ret): Remove variable.
19086 (x): Likewise.
19087 (FAIL): Remove macro.
19088 (NO_INLINE): Likewise.
19089 (fn): Use match function instead of strstr.
19090 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19091 (ret): Remove variable.
19092 (x): Likewise.
19093 (FAIL): Remove macro.
19094 (NO_INLINE): Likewise.
19095 (handle_signal): Use match function instead of strstr.
19096 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19097 (ret): Remove variable.
19098 (x): Likewise.
19099 (FAIL): Remove macro.
19100 (NO_INLINE): Likewise.
19101 (handle_signal): Use match function instead of strstr.
19102
19103 2013-01-23 Roland McGrath <roland@hack.frob.com>
19104
19105 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19106
19107 2013-01-23 David S. Miller <davem@davemloft.net>
19108
19109 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19110 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19111 argument of CAS if possible.
19112 * sysdeps/sparc/sparc64/bits/atomic.h
19113 (__arch_compare_and_exchange_val_32_acq): Likewise.
19114 (__arch_compare_and_exchange_val_64_acq): Likewise.
19115
19116 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19117
19118 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19119 * sysdeps/posix/ulimit.c: ... this.
19120 Include <limits.h>.
19121 * sysdeps/unix/bsd/ulimit.c: Remove file.
19122
19123 2013-01-23 Adam Conrad <adconrad@0c3.net>
19124
19125 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19126 (LDFLAGS-tst-array5): Likewise.
19127
19128 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19129
19130 [BZ #15036]
19131 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19132 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19133 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19134 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19135
19136 2013-01-21 David S. Miller <davem@davemloft.net>
19137
19138 * sysdeps/sparc/backtrace.c: New file.
19139 * sysdeps/sparc/sparc32/backtrace.h: New file.
19140 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19141 * sysdeps/sparc/sparc64/backtrace.h: New file.
19142 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19143 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19144 -funwind-tables.
19145
19146 2013-01-21 Andreas Schwab <schwab@suse.de>
19147
19148 [BZ #15020]
19149 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19150 closed its stdout.
19151
19152 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19153
19154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19155 "mpa2.h".
19156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19157
19158 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19159 Mark Mitchell <mark@codesourcery.com>
19160 Tom de Vries <tom@codesourcery.com>
19161 Paul Pluzhnikov <ppluzhnikov@google.com>
19162
19163 * debug/tst-backtrace2.c: New file.
19164 * debug/tst-backtrace3.c: Likewise.
19165 * debug/tst-backtrace4.c: Likewise.
19166 * debug/tst-backtrace5.c: Likewise.
19167 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19168 (CFLAGS-tst-backtrace3.c): Likewise.
19169 (CFLAGS-tst-backtrace4.c): Likewise.
19170 (CFLAGS-tst-backtrace5.c): Likewise.
19171 (LDFLAGS-tst-backtrace2): Likewise.
19172 (LDFLAGS-tst-backtrace3): Likewise.
19173 (LDFLAGS-tst-backtrace4): Likewise.
19174 (LDFLAGS-tst-backtrace5): Likewise.
19175 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19176 tst-backtrace4 and tst-backtrace5.
19177
19178 2013-01-18 Anton Blanchard <anton@samba.org>
19179 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19180
19181 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19182 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19183 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19184 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19186 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19187 "+r" and remove output regs list as redundant. Add explicit inline
19188 asm to specify register of return val to work around compiler codegen
19189 bug. Remove (int) cast on return value. Add return type parameter to
19190 use in macro so that this macro does not truncate return value for
19191 64-bit values.
19192 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19193 pass to INTERNAL_VSYSCALL_NCS.
19194 (INLINE_VSYSCALL): Add 'long int' as return type to
19195 INTERNAL_VSYSCALL_NCS macro invocation.
19196 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19197 INTERNAL_VSYSCALL_NCS macro invocation.
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19199
19200 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19201
19202 [BZ #14496]
19203 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19204 Fix application of SIMD FP exception mask.
19205
19206 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19207 mp_no from a power of two.
19208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19209 __mpexp_twomm1. Use __pow_mp.
19210
19211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19212 multiplication.
19213
19214 2013-01-17 David S. Miller <davem@davemloft.net>
19215
19216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19217
19218 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19219
19220 [BZ #15023]
19221 * include/complex.h: Condition contents on [!_COMPLEX_H].
19222 (__kernel_casinhf): New prototype.
19223 (__kernel_casinh): Likewise.
19224 (__kernel_casinhl): Likewise.
19225 * math/Makefile (libm_calls): Add k_casinh.
19226 * math/k_casinh.c: New file.
19227 * math/k_casinhf.c: Likewise.
19228 * math/k_casinhl.c: Likewise.
19229 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19230 finite nonzero arguments.
19231 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19232 finite nonzero arguments.
19233 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19234 finite nonzero arguments.
19235 * math/s_casinh.c: Do not include <float.h>.
19236 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19237 * math/s_casinhf.c: Do not include <float.h>.
19238 (__casinhf): Move code for finite nonzero arguments to
19239 k_casinhf.c.
19240 * math/s_casinhl.c: Do not include <float.h>.
19241 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19242 redefine.
19243 (__casinhl): Move code for finite nonzero arguments to
19244 k_casinhl.c.
19245 * math/libm-test.inc (cacos_test): Add more tests.
19246 * sysdeps/i386/fpu/libm-test-ulps: Update.
19247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19248
19249 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19250
19251 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19252 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19253 [!HAVE_MREMAP]: Remove [defined linux] case.
19254 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19255
19256 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19257
19258 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19259
19260 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19261
19262 * elf/elf.h (R_386_SIZE32): New relocation.
19263 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19264 R_386_SIZE32.
19265 (elf_machine_rela): Likewise.
19266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19267 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19268
19269 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19270
19271 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19272 (FP_FAST_FMA): Do not define.
19273 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19274 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19275 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19276 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19277 !_SOFT_FLOAT]: Likewise.
19278 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19279 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19280 value.
19281 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19282 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19283 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19284 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19285 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19286 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19287 file.
19288
19289 2013-01-16 Andreas Schwab <schwab@suse.de>
19290
19291 [BZ #14327]
19292 * include/stdlib.h (__mktemp): Add declaration.
19293 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19294 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19295
19296 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19297
19298 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19299 definitions.
19300 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19301 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19302 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19303 definitions here.
19304 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19305 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19306 definitions.
19307 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19308 and ONE.
19309 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19310 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19311 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19312 definitions.
19313 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19314 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19315 definitions.
19316 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19317
19318 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19319
19320 2013-01-15 David S. Miller <davem@davemloft.net>
19321
19322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19323 trunc{,f} to libm-sysdep_routes.
19324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19326 file.
19327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19329 file.
19330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19331 file.
19332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19334 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19335 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19336 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19337 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19338 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19339 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19340
19341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19342 nearbyint{,f} to libm-sysdep_routes.
19343 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19345 New file.
19346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19347 file.
19348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19349 New file.
19350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19351 file.
19352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19354 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19355 file.
19356 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19357 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19358 file.
19359 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19360 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19361 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19362
19363 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19364 libc_feholdexcept and libc_fesetenv.
19365
19366 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19367
19368 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19369
19370 2013-01-14 David S. Miller <davem@davemloft.net>
19371
19372 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19373 (SPARC_ASM_VIS2_IFUNC): Likewise.
19374 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19376 use of 'siam' instruction.
19377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19378 Likewise.
19379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19380 Likewise.
19381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19382 Likewise.
19383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19388 file.
19389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19390 file.
19391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19392 file.
19393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19394 file.
19395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19396 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19400 new VIS2 routines.
19401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19404 Likewise.
19405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19410 routines to libm-sysdep_routines.
19411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19412
19413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19414 fdim/fdimf to libm-sysdep_routines.
19415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19416 file.
19417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19419 file.
19420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19423 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19424 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19425 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19426 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19427
19428 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19429
19430 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19431 to optimize copies.
19432
19433 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19436
19437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19438 local variable MPTWO.
19439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19440 Likewise.
19441
19442 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19443
19444 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19445 GLOB_NOESCAPE.
19446
19447 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19448
19449 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19450
19451 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19452
19453 * manual/pattern.texi (glob_t): Document gl_flags.
19454 (glob64_t): Likewise.
19455
19456 2013-01-11 David S. Miller <davem@davemloft.net>
19457
19458 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19459 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19460 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19461 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19462 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19463 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19464 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19465 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19466 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19467 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19468 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19469 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19470 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19471
19472 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19473 sparc V9 rather than using V8 code.
19474 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19475 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19476
19477 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19478 Move to...
19479 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19480 Here.
19481
19482 2013-01-11 Roland McGrath <roland@hack.frob.com>
19483
19484 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19485 not in the main loop.
19486 * configure: Regenerated.
19487
19488 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19489
19490 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19491 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19492 to just #else.
19493 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19494 [!__GLIBC_HAVE_LONG_LONG] case.
19495 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19496 condition to just #else.
19497 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19498 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19499 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19500 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19501 unconditional.
19502 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19503 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19504 #elif condition to just #else.
19505 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19506 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19507 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19508 #elif condition to just #else.
19509
19510 2013-01-11 Steve Ellcey <sellcey@mips.com>
19511
19512 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19513 (EF_MIPS_ARCH_64): Fix value.
19514 (EF_MIPS_ARCH_32R2): New.
19515 (EF_MIPS_ARCH_64R2): New.
19516
19517 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19518
19519 * Makeconfig (+link-pie-before-libc): New.
19520 (+link-pie-after-libc): Likewise.
19521 (+link-pie-tests): Likewise.
19522 (+link-pie): Rewritten.
19523 (link-before-libc): Remove $(config-LDFLAGS).
19524 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19525 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19526 (config-LDFLAGS): Renamed to ...
19527 (rtld-LDFLAGS): This.
19528 (rtld-tests-LDFLAGS): New macro.
19529 (link-libc-rpath-link): Likewise.
19530 (link-libc-tests-rpath-link): Likewise.
19531 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19532 (link-libc): Prepand $(link-libc-rpath-link).
19533 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19534 (test-program-prefix): New macro.
19535 (test-via-rtld-prefix): Likewise.
19536 (test-program-cmd): Likewise.
19537 (host-test-program-cmd): Likewise.
19538 * Makefile ($(common-objpfx)testrun.sh): Replace
19539 $(run-program-prefix) with $(test-program-prefix).
19540 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19541 $(rtld-LDFLAGS).
19542 ($(common-objpfx)shlib.lds): Likewise.
19543 (build-module-helper): Likewise.
19544 ($(common-objpfx)format.lds): Likewise.
19545 * Rules (binaries-pie-tests): New.
19546 (binaries-pie-notests): Likewise.
19547 (binaries-pie): Rewritten.
19548 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19549 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19550 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19551 (make-test-out): Replace $(host-built-program-cmd) with
19552 $(host-test-program-cmd).
19553 * config.make.in (build-hardcoded-path-in-tests): New variable.
19554 * configure.in (--enable-hardcoded-path-in-tests): New configure
19555 option.
19556 (hardcoded_path_in_tests): New AC_SUBST.
19557 * configure: Regenerated.
19558 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19559 $(built-program-cmd) with $(test-program-cmd).
19560 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19561 (test_program_cmd): This.
19562 * elf/Makefile ($(objpfx)order.out): Run test with
19563 $(test-program-prefix).
19564 ($(objpfx)order2.out): Likewise.
19565 ($(objpfx)tst-initorder.out): Likewise.
19566 ($(objpfx)tst-initorder2.out): Likewise.
19567 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19568 $(test-program-cmd).
19569 ($(objpfx)tst-array1-static.out): Likewise.
19570 ($(objpfx)tst-array2.out): Likewise.
19571 ($(objpfx)tst-array3.out): Likewise.
19572 ($(objpfx)tst-array4.out): Likewise.
19573 ($(objpfx)tst-array5.out): Likewise.
19574 ($(objpfx)tst-array5-static.out): Likewise.
19575 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19576 $(test-program-cmd).
19577 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19578 $(run-program-prefix) with $(test-program-prefix).
19579 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19580 (test_program_prefix): This.
19581 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19582 $(run-program-prefix) with $(test-program-prefix).
19583 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19584 (test_program_prefix): This.
19585 * iconvdata/tst-tables.sh: Likewise.
19586 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19587 $(run-program-prefix) with $(test-program-prefix).
19588 ($(objpfx)tst-translit.out): Likewise.
19589 ($(objpfx)tst-gettext2.out): Likewise.
19590 ($(objpfx)tst-gettext4.out): Likewise.
19591 ($(objpfx)tst-gettext6.out): Likewise.
19592 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19593 (test_program_prefix): This.
19594 * intl/tst-gettext2.sh: Likewise.
19595 * intl/tst-gettext4.sh Likewise.
19596 * intl/tst-gettext6.sh: Likewise.
19597 * intl/tst-translit.sh: Likewise.
19598 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19599 with $(test-program-cmd).
19600 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19601 $(run-program-prefix) with $(test-program-prefix).
19602 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19603 (test_program_prefix): This.
19604 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19605 $(run-program-prefix) with $(test-program-prefix).
19606 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19607 (test_program_prefix): This.
19608 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19609 * posix/Makefile ($(objpfx)globtest.out): Replace
19610 $(run-via-rtld-prefix) and $(test-wrapper) with
19611 $(test-program-prefix) and $(test-via-rtld-prefix).
19612 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19613 $(test-program-prefix).
19614 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19615 $(host-test-program-cmd).
19616 (tst-spawn-ARGS): Likewise.
19617 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19618 $(test-program-prefix).
19619 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19620 (test_via_rtld_prefix): This.
19621 (test_wrapper): Renamed to ...
19622 (test_program_prefix): This.
19623 (run_program_prefix): Replaced by test_program_prefix.
19624 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19625 (test_program_prefix): This.
19626 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19627 with $(host-test-program-cmd).
19628 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19629 $(run-program-prefix) with $(test-program-prefix).
19630 ($(objpfx)tst-printf.out): Likewise.
19631 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19632 $(test-program-cmd).
19633 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19634 (test_program_prefix): This.
19635 * stdio-common/tst-unbputc.sh: Likewise.
19636 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19637 $(run-program-prefix) with $(test-program-prefix).
19638 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19639 (test_program_prefix): This.
19640 * string/Makefile ($(objpfx)tst-svc.out): Replace
19641 $(built-program-cmd) with $(test-program-cmd).
19642
19643 2013-01-11 Andreas Jaeger <aj@suse.de>
19644
19645 [BZ #15003]
19646 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19647 value. Sync with Linux 3.7.
19648
19649 2013-01-10 David S. Miller <davem@davemloft.net>
19650
19651 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19652 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19653 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19654
19655 2013-01-10 Roland McGrath <roland@hack.frob.com>
19656
19657 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19658 never set.
19659 * configure: Regenerated.
19660
19661 2013-01-10 David S. Miller <davem@davemloft.net>
19662
19663 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19664 sparc V9 rather than using V8 code.
19665 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19666 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19667
19668 2013-01-10 Roland McGrath <roland@hack.frob.com>
19669
19670 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19671 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19672 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19673 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19674 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19675 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19676 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19677 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19678 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19679 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19680 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19681 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19682 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19683 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19684 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19685 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19686 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19687 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19688 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19689 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19690 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19691 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19692 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19693 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19694 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19695 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19696 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19697
19698 2013-01-10 David S. Miller <davem@davemloft.net>
19699
19700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19701
19702 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19703
19704 * posix/Makefile (tests-static): New variable.
19705 (tests): Add $(tests-static).
19706 (tst-exec-static-ARGS): New variable.
19707 (tst-spawn-static-ARGS): Likewise.
19708 * posix/tst-exec-static.c: New file.
19709 * posix/tst-spawn-static.c: Likewise.
19710 * posix/tst-exec.c: Support run directly.
19711 * posix/tst-spawn.c: Likewise.
19712
19713 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19714
19715 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19716 long.
19717 * math/bits/mathcalls.h (llrint): Likewise.
19718 (llround): Likewise.
19719 * stdlib/stdlib.h (struct drand48_data): Likewise.
19720 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19721 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19722 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19723 Likewise.
19724 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19725 Likewise.
19726 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19727 (elf_greg_t): Likewise.
19728 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19729 (__jmp_buf): Likewise.
19730 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19731 definitions.
19732 (llrint): Likewise, for all definitions.
19733 (llrintl): Likewise.
19734
19735 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19736 Remove [__GNUC__] condition.
19737 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19738 condition to just [__USE_ISOC99].
19739 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19740
19741 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19742
19743 [BZ #14200]
19744 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19745 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19746 defined.
19747 (_POSIX_V6_ILP32_OFF32): Likewise.
19748 (_XBS5_ILP32_OFF32): Likewise.
19749 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19750 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19751
19752 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19753
19754 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19755
19756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19757 doubles __mpexp_twomm1. Adjust usage.
19758 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19759 Remove.
19760
19761 2013-01-10 Andreas Schwab <schwab@suse.de>
19762
19763 [BZ #14964]
19764 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19765 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19766
19767 2013-01-09 David S. Miller <davem@davemloft.net>
19768
19769 [BZ #15003]
19770 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19771 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19772 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19773 (TCP_FASTOPEN): Define.
19774 (tcp_repair_opt): New structure.
19775 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19776 enum values.
19777 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19778 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19779 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19780 (tcp_cookie_transactions): New structure.
19781
19782 2013-01-09 Anton Blanchard <anton@samba.org>
19783
19784 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19785 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19786 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19787 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19788
19789 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19790
19791 * include/features.h (__USE_ANSI): Remove.
19792
19793 2013-01-09 Roland McGrath <roland@hack.frob.com>
19794
19795 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19796
19797 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19798
19799 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19800
19801 * sysdeps/s390/fpu/libm-test-ulps: Update.
19802
19803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19804
19805 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19806 (__acr): Likewise.
19807 (__cpy): Likewise.
19808 (norm): Likewise.
19809 (denorm): Likewise.
19810 (__mp_dbl): Likewise.
19811 (__dbl_mp): Likewise.
19812 (add_magnitudes): Likewise.
19813 (sub_magnitudes): Likewise.
19814 (__add): Likewise.
19815 (__sub): Likewise.
19816 (__mul): Likewise.
19817 (__inv): Likewise.
19818 (__dvd): Likewise.
19819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19820 (__acr): Likewise.
19821 (__cpy): Likewise.
19822 (norm): Likewise.
19823 (denorm): Likewise.
19824 (__mp_dbl): Likewise.
19825 (__dbl_mp): Likewise.
19826 (add_magnitudes): Likewise.
19827 (sub_magnitudes): Likewise.
19828 (__add): Likewise.
19829 (__sub): Likewise.
19830 (__mul): Likewise.
19831 (__inv): Likewise.
19832 (__dvd): Likewise.
19833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19834 (__acr): Likewise.
19835 (__cpy): Likewise.
19836 (norm): Likewise.
19837 (denorm): Likewise.
19838 (__mp_dbl): Likewise.
19839 (__dbl_mp): Likewise.
19840 (add_magnitudes): Likewise.
19841 (sub_magnitudes): Likewise.
19842 (__add): Likewise.
19843 (__sub): Likewise.
19844 (__mul): Likewise.
19845 (__inv): Likewise.
19846 (__dvd): Likewise.
19847
19848 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19849
19850 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19851 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19852 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19853 2 && __USE_EXTERN_INLINES]: Likewise.
19854
19855 2013-01-08 Andreas Jaeger <aj@suse.de>
19856
19857 [BZ# 14985]
19858 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19859 Remove.
19860 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19861 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19862
19863 2013-01-07 Anton Blanchard <anton@samba.org>
19864
19865 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19866 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19867 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19868 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19869 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19870 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19871 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19872 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19874 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19875 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19876 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19877 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19878 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19879 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19880 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19881 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19882 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19883 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19884 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19885 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19886 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19887 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19888 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19889 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19890 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19891 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19892 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19894 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19895 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19897 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19898 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19899 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19900 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19901 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19902 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19903 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19904 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19905 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19906 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19907 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19908
19909 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19910
19911 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19912 (__MALLOC_PMT): Likewise.
19913 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19914 [__GNUC__], only on [_LIBC].
19915 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19916 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19917 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19918 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19919 forward declaration.
19920 (realloc_hook_ini): Likewise.
19921 (memalign_hook_ini): Likewise.
19922 (__libc_memalign): Do not use __MALLOC_PMT in variable
19923 declaration.
19924 (__libc_valloc): Likewise.
19925 (__libc_pvalloc): Likewise.
19926 (__libc_calloc): Likewise.
19927 (__posix_memalign): Likewise.
19928
19929 [BZ #14996]
19930 * math/s_casinh.c: Include <float.h>.
19931 (__casinh): Do not do computation with squaring and square root
19932 for large arguments.
19933 * math/s_casinhf.c: Include <float.h>.
19934 (__casinhf): Do not do computation with squaring and square root
19935 for large arguments.
19936 * math/s_casinhl.c: Include <float.h>.
19937 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19938 (__casinhl): Do not do computation with squaring and square root
19939 for large arguments.
19940 * math/libm-test.inc (casin_test): Add more tests.
19941 (casinh_test): Likewise.
19942 * sysdeps/i386/fpu/libm-test-ulps: Update.
19943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19944
19945 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19946
19947 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19948 (__x86_64_raw_data_cache_size): Likewise.
19949 (__x86_64_data_cache_size_half): Likewise.
19950 (__x86_64_raw_data_cache_size_half): Likewise.
19951 (__x86_64_shared_cache_size): Likewise.
19952 (__x86_64_raw_shared_cache_size): Likewise.
19953 (__x86_64_shared_cache_size_half): Likewise.
19954 (__x86_64_raw_shared_cache_size_half): Likewise.
19955 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19956 to ...
19957 (__x86_data_cache_size): This.
19958 (__x86_64_raw_data_cache_size): Renamed to ...
19959 (__x86_raw_data_cache_size): This.
19960 (__x86_64_data_cache_size_half): Renamed to ...
19961 (__x86_data_cache_size_half): This.
19962 (__x86_64_raw_data_cache_size_half): Renamed to ...
19963 (__x86_raw_data_cache_size_half): This.
19964 (__x86_64_shared_cache_size): Renamed to ...
19965 (__x86_shared_cache_size): This.
19966 (__x86_64_raw_shared_cache_size): Renamed to ...
19967 (__x86_raw_shared_cache_size): This.
19968 (__x86_64_shared_cache_size_half): Renamed to ...
19969 (__x86_shared_cache_size_half): This.
19970 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19971 (__x86_raw_shared_cache_size_half): This.
19972 * sysdeps/x86_64/memcpy.S: Updated.
19973 * sysdeps/x86_64/memset.S: Likewise.
19974 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19975 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19976 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19977
19978 2013-01-04 David S. Miller <davem@davemloft.net>
19979
19980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19981
19982 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19983
19984 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19985 1 to avoid redefinition warning.
19986 (__USE_GNU): Don't define.
19987 (init_signaling_nan): Protoize.
19988
19989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19990
19991 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19992
19993 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19995 (__cpymn): Likewise.
19996 (norm): Remove commented code.
19997 (denorm): Likewise.
19998 (__mp_dbl): Likewise.
19999 (__inv): Likewise.
20000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20001 (__cpymn): Likewise.
20002 (norm): Remove commented code.
20003 (denorm): Likewise.
20004 (__mp_dbl): Likewise.
20005 (__inv): Likewise.
20006
20007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20008 mp_no value for 1.0 and 2.0.
20009 (norm): Use RADIXI instead of radixi.d.
20010 (denorm): Likewise.
20011 (__mul): Use 0.0 instead of zero.d.
20012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20013 mp_no value for 1.0 and 2.0.
20014 (norm): Use RADIXI instead of radixi.d.
20015 (denorm): Likewise.
20016 (__mul): Use 0.0 instead of zero.d.
20017
20018 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20019
20020 [BZ #14994]
20021 * math/s_casinh.c (__casinh): Reduce finite argument to first
20022 quadrant then set signs of results at the end.
20023 * math/s_casinhf.c (__casinhf): Likewise.
20024 * math/s_casinhl.c (__casinhl): Likewise.
20025 * math/libm-test.inc (casin_test): Add more tests.
20026 (casinh_test): Likewise.
20027 * sysdeps/i386/fpu/libm-test-ulps: Update.
20028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20029
20030 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20031
20032 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20033
20034 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20035
20036 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20037 declarations.
20038 (denorm): Likewise.
20039 (__mp_dbl): Likewise.
20040 (__inv): Likewise.
20041
20042 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20043 and adjust the header comment.
20044
20045 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20046 variable name from declaration.
20047
20048 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20049
20050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20051 Initialize COMMON_CPUID_INDEX_7 element.
20052 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20053 (CPUID_RTM): Likewise.
20054 (HAS_RTM): Likewise.
20055 (COMMON_CPUID_INDEX_7): New enum.
20056
20057 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20058
20059 [BZ #14981]
20060 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20061 size is zero, record memory as freed.
20062
20063 2013-01-03 Andreas Jaeger <aj@suse.de>
20064
20065 * po/ia.po: Add new Interlingua translation.
20066
20067 2012-01-03 Allan McRae <allan@archlinux.org>
20068
20069 * locale/programs/localedef.c: Fix description of '--posix' flag.
20070
20071 2013-01-02 Joseph Myers <joseph@codesourcery.com>
20072
20073 * NEWS: Update dates in second copyright notice.
20074 * README: Update copyright dates in example.
20075 * manual/libc.texinfo: Update copyright dates.
20076 * scripts/test-installation.pl: Update copyright date in --version
20077 output.
20078
20079 * hurd/ctty-input.c: Fix copyright notice formatting.
20080 * hurd/ctty-output.c: Likewise.
20081 * hurd/dtable.c: Likewise.
20082 * hurd/hurd-raise.c: Likewise.
20083 * hurd/hurdprio.c: Likewise.
20084 * hurd/msgportdemux.c: Likewise.
20085 * misc/sys/file.h: Likewise.
20086 * misc/sys/ioctl.h: Likewise.
20087 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20088 * sysdeps/mach/hurd/chdir.c: Likewise.
20089 * sysdeps/mach/hurd/fchdir.c: Likewise.
20090 * sysdeps/mach/hurd/rename.c: Likewise.
20091 * sysdeps/mach/hurd/rmdir.c: Likewise.
20092 * sysdeps/mach/hurd/seekdir.c: Likewise.
20093 * sysdeps/mach/hurd/setsid.c: Likewise.
20094 * sysdeps/posix/wait3.c: Likewise.
20095
20096 * All files with FSF copyright notices: Update copyright dates
20097 using scripts/update-copyrights.
20098 * intl/plural.c: Regenerated.
20099 * locale/programs/charmap-kw.h: Likewise.
20100 * locale/programs/locfile-kw.h: Likewise.
20101
20102 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20103
20104 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20105 four values.
20106
20107 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20108 calculation loop and add branch prediction.
20109
20110 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20111 check access beyond bounds of m1np.
20112
20113 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20114 MPTWO.
20115 (__inv): Remove local variable MPTWO to use the global
20116 constant.
20117 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20118 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20119 variable MPTWO.
20120 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20121 MP3HALFS static const.
20122
20123 2013-01-01 David S. Miller <davem@davemloft.net>
20124
20125 * po/ca.po: Update from translation team.
20126
20127 2013-01-01 Joseph Myers <joseph@codesourcery.com>
20128
20129 * scripts/update-copyrights: New file.
20130 * Makeconfig: Reformat copyright notice.
20131 * ctype/ctype.h: Likewise.
20132 * debug/swprintf_chk.c: Likewise.
20133 * elf/dl-cache.c: Likewise.
20134 * elf/dl-debug.c: Likewise.
20135 * elf/dl-object.c: Likewise.
20136 * grp/initgroups.c: Likewise.
20137 * hurd/Makefile: Likewise.
20138 * hurd/hurd/signal.h: Likewise.
20139 * hurd/hurdfault.c: Likewise.
20140 * hurd/hurdioctl.c: Likewise.
20141 * hurd/hurdlookup.c: Likewise.
20142 * hurd/intr-msg.c: Likewise.
20143 * iconv/gconv_open.c: Likewise.
20144 * libio/swprintf.c: Likewise.
20145 * locale/lc-ctype.c: Likewise.
20146 * locale/nl_langinfo.c: Likewise.
20147 * mach/Machrules: Likewise.
20148 * mach/Makefile: Likewise.
20149 * malloc/obstack.h: Likewise.
20150 * manual/Makefile: Likewise.
20151 * manual/tsort.awk: Likewise.
20152 * misc/bits/stab.def: Likewise.
20153 * nis/nis_print_group_entry.c: Likewise.
20154 * nis/nis_table.c: Likewise.
20155 * nis/nss_compat/compat-pwd.c: Likewise.
20156 * nis/nss_compat/compat-spwd.c: Likewise.
20157 * po/Makefile: Likewise.
20158 * posix/fnmatch.c: Likewise.
20159 * posix/regex.h: Likewise.
20160 * resolv/Makefile: Likewise.
20161 * resolv/nss_dns/dns-network.c: Likewise.
20162 * resolv/res_hconf.c: Likewise.
20163 * scripts/gen-sorted.awk: Likewise.
20164 * soft-fp/soft-fp.h: Likewise.
20165 * stdio-common/printf.h: Likewise.
20166 * stdlib/monetary.h: Likewise.
20167 * stdlib/random.c: Likewise.
20168 * stdlib/random_r.c: Likewise.
20169 * sysdeps/generic/Makefile: Likewise.
20170 * sysdeps/gnu/Makefile: Likewise.
20171 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20172 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20173 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20178 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20179 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20180 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20181 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20182 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20183 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20184 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20185 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20186 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20187 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20189 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20191 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20192 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20193 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20194 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20195 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20197 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20198 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20199 * sysdeps/mach/hurd/errnos.awk: Likewise.
20200 * sysdeps/mach/hurd/fork.c: Likewise.
20201 * sysdeps/mach/hurd/getcwd.c: Likewise.
20202 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20203 * sysdeps/mach/hurd/mmap.c: Likewise.
20204 * sysdeps/mach/hurd/utimes.c: Likewise.
20205 * sysdeps/mach/hurd/xmknod.c: Likewise.
20206 * sysdeps/posix/profil.c: Likewise.
20207 * sysdeps/posix/readdir_r.c: Likewise.
20208 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20209 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20210 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20211 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20213 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20214 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20215 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20217 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20218 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20219 * sysdeps/pthread/lio_listio.c: Likewise.
20220 * sysdeps/sparc/dl-procinfo.h: Likewise.
20221 * sysdeps/unix/i386/sysdep.S: Likewise.
20222 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20223 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20224 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20225 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20227 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20228 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20229 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20230 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20231 * sysdeps/wordsize-32/divdi3.c: Likewise.
20232 * time/sys/time.h: Likewise.
20233 * wcsmbs/Makefile: Likewise.
20234
20235 2013-01-01 David S. Miller <davem@davemloft.net>
20236
20237 * po/fr.po: Update from translation team.
20238
20239 * catgets/gencat.c: Update copyright year.
20240 * csu/version.c: Likewise.
20241 * debug/catchsegv.sh: Likewise.
20242 * debug/pcprofiledump.c: Likewise.
20243 * debug/xtrace.sh: Likewise.
20244 * elf/ldconfig.c: Likewise.
20245 * elf/ldd.bash.in: Likewise.
20246 * elf/pldd.c: Likewise.
20247 * elf/sotruss.ksh: Likewise.
20248 * elf/sprof.c: Likewise.
20249 * iconv/iconv_prog.c: Likewise.
20250 * iconv/iconvconfig.c: Likewise.
20251 * locale/programs/locale.c: Likewise.
20252 * locale/programs/localedef.c: Likewise.
20253 * login/programs/pt_chown.c: Likewise.
20254 * malloc/memusage.sh: Likewise.
20255 * malloc/memusagestat.c: Likewise.
20256 * malloc/mtrace.pl: Likewise.
20257 * nscd/nscd.c: Likewise.
20258 * nss/getent.c: Likewise.
20259 * nss/makedb.c: Likewise.
20260 * posix/getconf.c: Likewise.
20261
20262 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20263
20264 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20265 numbers.
20266
20267 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20268
20269 * math/bits/mathcalls.h (modf): Use __nonnull.
20270
20271 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20272
20273 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20274 (split): Use macro CN instead of the bare value.
20275 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20276 could be used.
20277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20278 instead of the bare value.
20279 (power1): Likewise.
20280
20281 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20282
20283 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20284 __ATAN_TWOM.
20285 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20286
20287 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20288 their values.
20289 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20290 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20291 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20292 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20293
20294 2012-12-28 Andreas Jaeger <aj@suse.de>
20295
20296 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20297 values are from Linux 3.7.
20298
20299 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20300 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20301
20302 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20303
20304 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20305 TRUE case.
20306
20307 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20308 (norm): Likewise.
20309 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20310 variables with preprocessor constants.
20311 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20312 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20313 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20314
20315 2012-12-27 Bruno Haible <bruno@clisp.org>
20316
20317 [BZ #14317]
20318 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20319 only if needed.
20320
20321 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20322
20323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20324 and use variable directly.
20325 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20326
20327 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20328 MPONE.
20329 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20330 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20331 variable MPONE.
20332 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20334 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20335 include directive. Remove local variable MPONE.
20336 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20337 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20338 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20339
20340 2012-12-25 David S. Miller <davem@davemloft.net>
20341
20342 * version.h (RELEASE): Set to "development".
20343 (VERSION): Set to "2.17.90".
20344 * NEWS: Add 2.18 section.
20345
20346 2012-12-21 David S. Miller <davem@davemloft.net>
20347
20348 * po/hr.po: Update from translation team.
20349
20350 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20351
20352 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20353
20354 2012-12-19 Steve Ellcey <sellcey@mips.com>
20355
20356 * NEWS: Mention new memcpy for MIPS.
20357
20358 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20359
20360 * manual/contrib.texi (Contributors): Spelling correction.
20361
20362 2012-12-15 David S. Miller <davem@davemloft.net>
20363
20364 * po/ru.po: Update from translation team.
20365
20366 2012-12-13 David S. Miller <davem@davemloft.net>
20367
20368 * NEWS: Mention IFUNC testsuite enhancements.
20369
20370 * po/pl.po: Update from translation team.
20371 * po/bg.po: Likewise.
20372
20373 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20374 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20375
20376 2012-12-11 David S. Miller <davem@davemloft.net>
20377
20378 * po/sv.po: Update from translation team.
20379
20380 * po/vi.po: Update from translation team.
20381
20382 * po/cs.po: Update from translation team.
20383
20384 * po/de.po: Update from translation team.
20385 * po/eo.po: Likewise.
20386 * po/nl.po: Likewise.
20387
20388 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20389
20390 [BZ #14246]
20391 * manual/argp.texi (Argp Helper Functions): Move node to follow
20392 Argp Parsing State.
20393
20394 [BZ #14872]
20395 * manual/conf.texi (Limits on File System Capacity): Mention if
20396 terminating null is included in the max size.
20397
20398 2012-12-10 Andreas Jaeger <aj@suse.de>
20399
20400 * po/cs.po: Update from translation team.
20401
20402 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20403
20404 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20405 void pointer and cast to uintptr_t.
20406 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20407 path.
20408 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20409 * sysdeps/s390/s390-64/memset.S: Likewise.
20410
20411 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20412
20413 [BZ #14833]
20414 * menual/message.texi (Message Translation): Fix typos.
20415 (Helper programs for gettext): Likewise.
20416
20417 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20418
20419 [BZ #14898]
20420 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20421 Change to -1.
20422
20423 2012-12-07 David S. Miller <davem@davemloft.net>
20424
20425 * po/libc.pot: Update.
20426
20427 2012-12-07 Richard Henderson <rth@redhat.com>
20428
20429 [BZ #10114]
20430 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20431 normal/normal case to before the switch.
20432 (_FP_DIV): Likewise.
20433
20434 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20435 Mike Frysinger <vapier@gentoo.org>
20436
20437 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20438 check for __NR_fadvise64_64.
20439
20440 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20441
20442 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20443 0, not just to plain "0" as a statement.
20444 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20445 with cw.
20446
20447 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20448
20449 * NEWS: Use sourceware.org in Bugzilla URL.
20450
20451 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20452
20453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20454 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20455
20456 * stdio-common/tst-put-error.c (do_test): Add newline to the
20457 padded test to ensure flush.
20458
20459 2012-12-05 Jeff Law <law@redhat.com>
20460
20461 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20462
20463 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20464
20465 * README: Don't refer to ports add-on as distributed separately.
20466 Mention AArch64 in list of systems supported in the ports add-on.
20467
20468 * LICENSES: Add more non-FSF copyright and license notices.
20469
20470 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20471 ((unused)).
20472
20473 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20474
20475 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20476 10000 as width of padded output.
20477
20478 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20479
20480 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20481
20482 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20483 variable LX with __attribute__ ((unused)).
20484 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20485 Likewise.
20486 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20488 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20489 with __attribute__ ((unused)).
20490
20491 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20492
20493 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20494
20495 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20496
20497 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20498 (CFLAGS-nldbl-acos.c): New variable.
20499 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20500 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20501 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20502 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20503 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20504 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20505 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20506 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20507 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20508 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20509 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20510 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20511 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20512 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20513 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20514 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20515 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20516 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20517 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20518 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20519 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20520 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20521 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20522 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20523 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20524 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20525 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20526 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20527 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20528 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20529 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20530 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20531 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20532 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20533 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20534 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20535 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20536 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20537 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20538 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20539 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20540 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20541 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20542 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20543 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20544 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20545 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20546 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20547 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20548 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20549 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20550 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20551 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20552 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20553 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20554 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20555 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20556 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20557 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20558 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20559 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20560 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20561 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20562 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20563 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20564 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20565 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20566 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20567 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20568 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20569 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20570 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20571 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20572 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20573 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20574 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20575 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20576 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20577 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20578 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20579 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20580 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20581 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20582 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20583 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20584 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20585 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20586 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20587 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20588 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20589 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20590 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20591 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20592 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20593 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20594 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20595 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20596
20597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20598 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20599
20600 [BZ #14914]
20601 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20602 whole low double instead of just low 47 bits when splitting values
20603 into two parts.
20604
20605 2012-12-03 Allan McRae <allan@archlinux.org>
20606
20607 * manual/stdio.texi (Predefined Printf Handlers): Remove
20608 @hsep and @vsep usage.
20609
20610 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20611
20612 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20613 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20614
20615 2012-12-03 Jeff Law <law@redhat.com>
20616
20617 * time/sys/time.h (settimeofday): Do not mark TV argument
20618 as __nonnull.
20619
20620 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20621
20622 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20623 when currently writing and seek to current position when not.
20624 * libio/Makefile (tests): Remove bug-fclose1.
20625 * libio/bug-fclose1.c: Delete.
20626
20627 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20628
20629 * manual/arith.texi (feenableexcept): Fix typo.
20630 (fedisableexcept): Likewise.
20631
20632 2012-11-30 Roland McGrath <roland@hack.frob.com>
20633
20634 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20635 second, differently-typed declaration, rather than a cast.
20636
20637 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20638
20639 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20640 * include/rpc/svc.h: ... here.
20641
20642 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20643
20644 [BZ #13013]
20645 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20646 depending n and resplen2 to catch cases where answer
20647 equals answerp2.
20648
20649 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20650
20651 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20652 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20653
20654 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20655
20656 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20657
20658 2012-11-29 Roland McGrath <roland@hack.frob.com>
20659
20660 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20661
20662 2012-11-28 Jeff Law <law@redhat.com>
20663
20664 [BZ #13761]
20665 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20666 dataset_temporary. Track alloca usage into alloca_used.
20667 If dataset is large allocate and release it via malloc/free.
20668
20669 2012-06-04 Florian Weimer <fweimer@redhat.com>
20670
20671 [BZ #14197]
20672 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20673
20674 2012-11-28 David S. Miller <davem@davemloft.net>
20675
20676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20677
20678 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20679
20680 [BZ #14803]
20681 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20682 of pi/2 rounded to nearest to 64 bits.
20683 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20684 nearest to 64 bits.
20685 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20686 bits.
20687
20688 2012-11-28 Jeff Law <law@redhat.com>
20689 Martin Osvald <mosvald@redhat.com>
20690
20691 [BZ #14889]
20692 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20693 * sunrpc/svc.c: Include time.h.
20694 (__svc_accept_failed): New function.
20695 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20696 any reason other than EINTR, call __svc_accept_failed.
20697 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20698 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20699
20700 2012-11-28 Andreas Schwab <schwab@suse.de>
20701
20702 * scripts/abilist.awk: Also handle indirect functions in .opd
20703 section.
20704
20705 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20706
20707 [BZ #13881]
20708 * sysdeps/x86/fpu/powl_helper.c: New file.
20709 * sysdeps/x86/fpu/Makefile: Likewise.
20710 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20711 (p3): New object.
20712 (__ieee754_powl): Use __powl_helper for finite arguments except
20713 integer exponents below 8.
20714 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20715 (p3): New object.
20716 (__ieee754_powl): Use __powl_helper for finite arguments except
20717 integer exponents below 8.
20718 * math/libm-test.inc (pow_test): Add more tests and enable some
20719 previously disabled tests.
20720 * sysdeps/i386/fpu/libm-test-ulps: Update.
20721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20722
20723 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20724 Carlos O'Donell <carlos_odonell@mentor.com>
20725
20726 * nss/makedb.c (is_prime): Assert that input is odd and greater
20727 than 4. Note that fact in a comment too.
20728 (next_prime): Add 4 to input.
20729
20730 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20731
20732 [BZ #11741]
20733 * libio/Makefile (tests): Add test case tst-fwrite-error.
20734 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20735 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20736 * libio/tst-fwrite-error.c: New test case.
20737
20738 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20739
20740 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20741 before casting to void *.
20742 * include/libc-internal.h (__pointer_type): New macro.
20743 (__integer_if_pointer_type_sub): Likewise.
20744 (__integer_if_pointer_type): Likewise.
20745 (cast_to_integer): Likewise.
20746 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20747 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20748 before casting to atomic64_t.
20749 (atomic_exchange_acq): Likewise.
20750 (__arch_exchange_and_add_body): Likewise.
20751 (__arch_add_body): Likewise.
20752 (atomic_add_negative): Likewise.
20753 (atomic_add_zero): Likewise.
20754
20755 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20756
20757 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20758 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20759 (add_fdes): Likewise.
20760 (linear_search_fdes): Likewise.
20761 (binary_search_unencoded_fdes): Likewise.
20762
20763 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20764
20765 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20766
20767 2012-11-24 Adam Conrad <adconrad@0c3.net>
20768
20769 * configure.in: Autodetect C++ header directories.
20770 * configure: Regenerated.
20771
20772 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20773
20774 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20775
20776 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20777
20778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20779
20780 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20781
20782 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20783 LDBL_MANT_DIG == 106]: Disable some tests.
20784 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20785 Likewise.
20786 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20787 Likewise.
20788
20789 [BZ #14871]
20790 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20791 input for small inputs. Return +/- pi/2 for large inputs.
20792 * math/libm-test.inc (atan_test): Add more tests.
20793
20794 * sysdeps/generic/unwind-dw2-fde-glibc.c
20795 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20796 __attribute__ ((unused)).
20797
20798 [BZ #14645]
20799 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20800 x * y if x and y are nonzero and z is zero.
20801
20802 [BZ #14811]
20803 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20804 nonzero exponents with absolute value below 0x1p-117 to +/-
20805 0x1p-117.
20806
20807 [BZ #14869]
20808 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20809 up arguments below 2**-450, not just those below 2**-500.
20810 * math/libm-test.inc (hypot_test): Add another test.
20811
20812 [BZ #14868]
20813 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20814 Return a+b for ratio over 2**120, not 2**60.
20815 * math/libm-test.inc (hypot_test): Add another test.
20816
20817 * math/libm-test.inc (clog_test): Use
20818 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20819 (clog10_test): Likewise.
20820
20821 [BZ #6778]
20822 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20823
20824 2012-11-22 Andreas Schwab <schwab@suse.de>
20825
20826 * sysdeps/i386/fpu/libm-test-ulps: Update.
20827
20828 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20829
20830 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20831 printf output with newline.
20832
20833 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20834
20835 [BZ #14865]
20836 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20837 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20838 -z nodlopen, -z initfirst and -z execstack support.
20839 * configure: Regenerated.
20840
20841 * elf/elf.h (DF_1_NODIRECT): New macro.
20842 (DF_1_IGNMULDEF): Likewise.
20843 (DF_1_NOKSYMS): Likewise.
20844 (DF_1_NOHDR): Likewise.
20845 (DF_1_EDITED): Likewise.
20846 (DF_1_NORELOC): Likewise.
20847 (DF_1_SYMINTPOSE): Likewise.
20848 (DF_1_GLOBAUDIT): Likewise.
20849 (DF_1_SINGLETON): Likewise.
20850 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20851 DT_1_SUPPORTED_MASK bits.
20852 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20853
20854 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20855
20856 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20857
20858 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20859
20860 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20861 macro.
20862
20863 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20864 (sendmmsg): Move declarations...
20865 * socket/sys/socket.h: ... here.
20866 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20867 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20868 include it from...
20869 * socket/recvmmsg.c: ... this new file.
20870 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20871 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20872 definition of __sendmmsg hidden.
20873 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20874 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20875 Move ENOSYS stub into and include it from...
20876 * socket/sendmmsg.c: ... this new file.
20877 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20878 (sysdep_routines): Move recvmmsg and sendmmsg...
20879 * socket/Makefile (routines): ... here.
20880 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20881 (GLIBC_PRIVATE): Add __sendmmsg.
20882 * include/sys/socket.h (__sendmmsg): Add declarations.
20883 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20884 sendmmsg.
20885
20886 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20887
20888 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20889 variable I1 with __attribute__ ((unused)).
20890 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20891
20892 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20893
20894 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20895 DUMMY variables with __attribute__ ((unused)).
20896
20897 * bits/byteswap.h: Include <bits/types.h>.
20898 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20899
20900 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20901
20902 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20903 string_t. Do not manually set errno.
20904 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20905 length with __strnlen. Make sure to both set errno and return it on
20906 failure.
20907
20908 2012-11-19 David S. Miller <davem@davemloft.net>
20909
20910 With help from Joseph Myers.
20911 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20912 very large arguments properly.
20913 * math/libm-test.inc (atan_test): New tests.
20914 (atan2_test): New tests.
20915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20917
20918 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20919
20920 [BZ #14856]
20921 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20922 Define to 3.
20923
20924 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20925 [POSIX] (EADDRNOTAVAIL): Likewise.
20926 [POSIX] (EAFNOSUPPORT): Likewise.
20927 [POSIX] (EALREADY): Likewise.
20928 [POSIX] (ECONNABORTED): Likewise.
20929 [POSIX] (ECONNREFUSED): Likewise.
20930 [POSIX] (ECONNRESET): Likewise.
20931 [POSIX] (EDESTADDRREQ): Likewise.
20932 [POSIX] (EDQUOT): Likewise.
20933 [POSIX] (EHOSTUNREACH): Likewise.
20934 [POSIX] (EIDRM): Likewise.
20935 [POSIX] (EISCONN): Likewise.
20936 [POSIX] (ELOOP): Likewise.
20937 [POSIX] (EMULTIHOP): Likewise.
20938 [POSIX] (ENETDOWN): Likewise.
20939 [POSIX] (ENETUNREACH): Likewise.
20940 [POSIX] (ENOBUFS): Likewise.
20941 [POSIX] (ENODATA): Likewise.
20942 [POSIX] (ENOLINK): Likewise.
20943 [POSIX] (ENOMSG): Likewise.
20944 [POSIX] (ENOPROTOOPT): Likewise.
20945 [POSIX] (ENOSR): Likewise.
20946 [POSIX] (ENOSTR): Likewise.
20947 [POSIX] (ENOTCONN): Likewise.
20948 [POSIX] (ENOTSOCK): Likewise.
20949 [POSIX] (EOPNOTSUPP): Likewise.
20950 [POSIX] (EOVERFLOW): Likewise.
20951 [POSIX] (EPROTO): Likewise.
20952 [POSIX] (EPROTONOSUPPORT): Likewise.
20953 [POSIX] (EPROTOTYPE): Likewise.
20954 [POSIX] (ESTALE): Likewise.
20955 [POSIX] (ETIME): Likewise.
20956 [POSIX] (ETXTBSY): Likewise.
20957 [POSIX] (EWOULDBLOCK): Likewise.
20958 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20959 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20960 [POSIX] (SEEK_CUR): Likewise.
20961 [POSIX] (SEEK_END): Likewise.
20962 [POSIX || UNIX98] (mode_t): Do not require.
20963 [POSIX] (off_t): Likewise.
20964 [POSIX] (pid_t): Likewise.
20965 [POSIX] (sys/stat.h): Do not allow header.
20966 [POSIX] (unistd.h): Likewise.
20967 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20968 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20969 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20970 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20971 require.
20972 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20973 sigevent): Specify elements.
20974 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20975 entry.
20976 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20977 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20978
20979 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20980 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20981 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20982 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20983 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20984 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20985 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20986 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20987 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20988 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20989 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20990 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20991 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20992 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20993 Likewise.
20994 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20995 Likewise.
20996 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20997 Likewise.
20998 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20999 Likewise.
21000 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21001 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21002 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21003 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21004 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21005 Specify lower bound on value.
21006 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21007 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21008 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21009 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21010 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21011 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21012 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21013 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21014 value.
21015 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21016 as optional.
21017 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21018 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21019 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21020 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21021 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21022 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21023 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21024 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21025 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21026 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21027 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21028 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21029 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21030 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21031 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21032 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21033 entry.
21034 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21035 optional.
21036 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21037 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21038 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21039 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21040 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21041 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21042 Likewise.
21043 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21044 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21045 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21046 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21047 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21048 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21049 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21050 as optional.
21051 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21052 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21053 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21054 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21055 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21056 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21057 specify as optional.
21058 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21059 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21060 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21061 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21062 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21063 [XPG3] (NL_LANGMAX): Likewise.
21064 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21065 [POSIX || XPG3] (NL_NMAX): Likewise.
21066 [POSIX || XPG3] (NL_SETMAX): Likewise.
21067 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21068 [XPG3] (NZERO): Likewise.
21069 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21070 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21071 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21072 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21073 (REG_ERANGE): Expect.
21074 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21075 optional-constant.
21076 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21077 Use (void) in prototype.
21078 [POSIX] (*_t): Allow.
21079 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21080 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21081 (WRDE_BADVAL): Expect.
21082
21083 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21084 expect.
21085 [XPG3 || XPG4] (O_RSYNC): Likewise.
21086 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21087 Likewise.
21088 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21089 [XPG3 || XPG4] (sigqueue): Likewise.
21090 [XPG3 || XPG4] (sigtimedwait): Likewise.
21091 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21092 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21093 [XPG3 || XPG4] (vsnprintf): Likewise.
21094 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21095 Likewise.
21096 [XPG3 || XPG4] (blksize_t): Likewise.
21097 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21098 Likewise.
21099 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21100 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21101 [XPG3 || XPG4] (struct itimerspec): Likewise.
21102 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21103 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21104 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21105 [XPG3 || XPG4] (clockid_t): Likewise.
21106 [XPG3 || XPG4] (timer_t): Likewise.
21107 [XPG3 || XPG4] (clock_getres): Likewise.
21108 [XPG3 || XPG4] (clock_gettime): Likewise.
21109 [XPG3 || XPG4] (clock_settime): Likewise.
21110 [XPG3 || XPG4] (nanosleep): Likewise.
21111 [XPG3 || XPG4] (timer_create): Likewise.
21112 [XPG3 || XPG4] (timer_delete): Likewise.
21113 [XPG3 || XPG4] (timer_gettime): Likewise.
21114 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21115 [XPG3 || XPG4] (timer_settime): Likewise.
21116 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21117 [XPG3 || XPG4] (getlogin_r): Likewise.
21118 [XPG3 || XPG4] (pread): Likewise.
21119 [XPG3 || XPG4] (pthread_atfork): Likewise.
21120 [XPG3 || XPG4] (pwrite): Likewise.
21121
21122 [BZ #14835]
21123 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21124 <bits/siginfo.h>.
21125
21126 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21127
21128 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21129 finalizing MALLSTREAM.
21130
21131 * sysdeps/mach/hurd/syncfs.c: New file.
21132
21133 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21134
21135 [BZ #14719]
21136 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21137 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21138 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21139 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21140 (_nss_dns_gethostbyname4_r): Likewise.
21141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21142 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21143
21144 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21145
21146 [BZ #13763]
21147 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21148
21149 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21150
21151 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21152 * elf/cache.c (print_entry): Print ",AArch64" for
21153 FLAG_AARCH64_LIB64
21154
21155 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21156 * elf/cache.c (print_entry): Print ",hard-float" for
21157 FLAG_ARM_LIBHF.
21158
21159 2012-11-18 David S. Miller <davem@davemloft.net>
21160
21161 With help from Joseph Myers.
21162 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21163 cutoff to 2**-13.
21164 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21165 cutoff to 2**-25.
21166 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21167 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21168 small.
21169 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21170 * math/libm-test.inc (y0_test): New tests.
21171 (y1_test): New tests.
21172 * sysdeps/i386/fpu/libm-test-ulps: Update.
21173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21175
21176 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21177
21178 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21179 64-bit targets.
21180 * configure: Regenerated.
21181
21182 2012-11-17 David S. Miller <davem@davemloft.net>
21183
21184 [BZ #14811]
21185 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21186 nonzero exponents with absolute value below 0x1p-128 to +/-
21187 0x1p-128.
21188
21189 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21190
21191 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21192
21193 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21194
21195 * posix/getconf-speclist.c: New file.
21196 * posix/posix-envs.def: Likewise.
21197 * posix/confstr.c (START_ENV_GROUP): New macro.
21198 (END_ENV_GROUP): Likewise.
21199 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21200 (KNOWN_PRESENT_ENV_STRING): Likewise.
21201 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21202 (UNKNOWN_ENVIRONMENT): Likewise.
21203 (confstr): Include posix-envs.def instead of handling
21204 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21205 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21206 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21207 (END_ENV_GROUP): Likewise.
21208 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21209 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21210 (UNKNOWN_ENVIRONMENT): Likewise.
21211 (__sysconf): Include posix-envs.def instead of handling associated
21212 cases directly here.
21213 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21214 preprocessing getconf-speclist.c rather than running getconf or
21215 generating empty file.
21216
21217 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21218
21219 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21220
21221 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21222
21223 [BZ #14672]
21224 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21225
21226 2012-11-16 David S. Miller <davem@davemloft.net>
21227
21228 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21229 smaller than LDBL_EPSILON/2.0L, just return xm1.
21230
21231 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21232
21233 * elf/tst-array1.c (init): Set constructor priority to 1000.
21234 (fini): Set destructor priority to 1000.
21235 * elf/tst-array2dep.c: Likewise.
21236
21237 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21238
21239 [BZ #11741]
21240 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21241 (_IO_new_file_xsputn): Also return EOF if none of the input
21242 data was written when overflow failed.
21243 * libio/iopadn.c (_IO_padn): Likewise.
21244 * libio/iowpadn.c (_IO_wpadn): Likewise.
21245 * stdio-common/tst-put-error.c: Add copyright notice.
21246 (do_test): Add case for printing padded string.
21247 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21248 _IO_padn returned error.
21249 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21250 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21251 return EOF.
21252
21253 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21254
21255 * libio/libioP.h: Add comment note that the references to C++
21256 bits are now obsolete.
21257
21258 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21259
21260 * math/libm-test.inc (check_complex): Use asprintf.
21261
21262 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21263
21264 * debug/pcprofiledump.c (print_version): Update copyright year.
21265 * malloc/memusagestat.c (print_version): Likewise.
21266
21267 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21268
21269 [BZ #14831]
21270 * elf/Makefile (tests): Add tst-audit8.
21271 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21272 ($(objpfx)tst-audit8.out): New target.
21273 (tst-audit8-ENV): New variable.
21274 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21275 audit if l_reloc_result is NULL.
21276 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21277 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21278 * elf/tst-audit8.c: New file.
21279
21280 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21281
21282 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21283 * misc/Makefile (CFLAGS-select.c): Define.
21284 * posix/Makefile (CFLAGS-pause.c): Define.
21285
21286 2012-11-13 David S. Miller <davem@davemloft.net>
21287
21288 * crypt/Makefile: Move test targets after toplevel Rules
21289 inclusion. Grab any necessary sysdep routines when linking.
21290 * crypt/md5.c (md5_process_block): Remove define, we will always
21291 name it __md5_process_block.
21292 (md5_finish_ctx): Update md5_process_block call.
21293 (md5_stream): Likewise.
21294 (md5_process_bytes): Likewise.
21295 (md5_process_block): Rename to __md5_process_block and move to ...
21296 * crypt/md5-block.c: ... here.
21297 * crypt/sha256.c (sha256_process_block): Move to ...
21298 * crypt/sha256-block.c: ... here.
21299 * crypt/sha512.c (sha512_process_block): Move to ...
21300 * crypt/sha512-block.c: ... here.
21301 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21302 path.
21303 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21304 * sysdeps/sparc/sparc64/multiarch/Makefile
21305 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21306 crypt subdir.
21307 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21308 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21309 multiarch changes.
21310 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21311 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21312 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21313 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21314 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21315 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21316 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21317 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21318 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21319 file.
21320 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21321 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21322 file.
21323 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21324
21325 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21326
21327 * timezone/tzselect.ksh: Update from tzcode git revision
21328 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21329 * timezone/zdump.c: Likewise.
21330 * timezone/zic.c: Likewise.
21331 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21332 in TZVERSION setting, not $(PKGVERSION).
21333 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21334 REPORT_BUGS_TO settings.
21335
21336 [BZ #14838]
21337 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21338 macro.
21339
21340 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21341
21342 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21343 detection to immediately after _FP_ROUND().
21344 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21345 bits are 0.
21346
21347 2012-11-11 David S. Miller <davem@davemloft.net>
21348
21349 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21350 inttypes.h
21351 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21352 __close rather than their public counterparts.
21353
21354 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21355
21356 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21357 file.
21358 [UNIX98] (sem_timedwait): Do not expect.
21359 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21360 [XPG4 || UNIX98] (sockatmark): Do not expect.
21361 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21362 (clock_getcpuclockid): Do not expect.
21363 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21364 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21365 Do not expect.
21366 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21367 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21368 [UNIX98] (vwscanf): Likewise.
21369 [UNIX98] (vswscanf): Likewise.
21370
21371 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21372
21373 * timezone/version.h: Remove file.
21374 * timezone/README: Do not refer to version.h.
21375 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21376 $(objpfx)version.h.
21377 ($(objpfx)zdump.o): Likewise.
21378 ($(objpfx)version.h): New target.
21379
21380 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21381 2012i.
21382 * timezone/README: Don't mention modification to tzselect.ksh.
21383 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21384 work on unmodified tzselect.ksh. Substitute version numbers in
21385 tzselect.ksh.
21386
21387 * Makefile (format-me): Remove.
21388 (INSTALL): Adjust indentation. Use commands directly instead of
21389 using $(format-me).
21390
21391 * aclocal.m4 (ACX_PKGVERSION): New macro.
21392 (ACX_BUGURL): Likewise.
21393 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21394 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21395 (REPORT_BUGS_TO): Likewise.
21396 * configure: Regenerated.
21397 * config.h.in (PKGVERSION): New macro.
21398 (REPORT_BUGS_TO): Likewise.
21399 * config.make.in (PKGVERSION): New variable.
21400 (PKGVERSION_TEXI): Likewise.
21401 (REPORT_BUGS_TO): Likewise.
21402 (REPORT_BUGS_TEXI): Likewise.
21403 * Makefile (format-me): Use -I$(common-objpfx)manual.
21404 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21405 ($(common-objpfx)manual/%): New target.
21406 (manual/%): Remove target.
21407 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21408 (print_version): Use PKGVERSION.
21409 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21410 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21411 and REPORT_BUGS_TO.
21412 ($(objpfx)xtrace): Likewise.
21413 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21414 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21415 (print_version): Use PKGVERSION.
21416 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21417 (do_version): Use PKGVERSION.
21418 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21419 REPORT_BUGS_TO.
21420 (common-ldd-rewrite): Likewise.
21421 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21422 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21423 (print_version): Use PKGVERSION.
21424 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21425 * elf/pldd.c (argp_program_bug_address): Remove variable.
21426 (more_help): New function.
21427 (argp): Use more_help.
21428 (print_version): Use PKGVERSION.
21429 * elf/sln.c (main): Use PKGVERSION.
21430 (usage): Use REPORT_BUGS_TO.
21431 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21432 (top level): Use PKGVERSION.
21433 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21434 (print_version): Use PKGVERSION.
21435 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21436 (print_version): Use PKGVERSION.
21437 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21438 (print_version): Use PKGVERSION.
21439 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21440 (print_version): Use PKGVERSION.
21441 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21442 (print_version): Use PKGVERSION.
21443 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21444 (print_version): Use PKGVERSION.
21445 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21446 and BUGURL.
21447 ($(objpfx)memusage): Likewise.
21448 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21449 (do_version): Use PKGVERSION.
21450 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21451 (print_version): Use PKGVERSION.
21452 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21453 ($PKGVERSION): New variable.
21454 ($REPORT_BUGS_TO): Likewise.
21455 (usage): Use $REPORT_BUGS_TO.
21456 (top level): Use $PKGVERSION.
21457 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21458 ($(objpfx)pkgvers.texi): New rule.
21459 ($(objpfx)stamp-pkgvers): Likewise.
21460 * manual/install.texi: Include pkgvers.texi.
21461 (--with-pkgversion): Document new configure option.
21462 (--with-bugurl): Likewise.
21463 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21464 than necessarily for this particular distribution. Use
21465 REPORT_BUGS_TO for where to report bugs.
21466 * INSTALL: Regenerated.
21467 * manual/libc.texinfo: Include pkgvers.texi.
21468 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21469 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21470 (print_version): Use PKGVERSION.
21471 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21472 (print_version): Use PKGVERSION.
21473 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21474 (print_version): Use PKGVERSION.
21475 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21476 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21477 macro.
21478 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21479 (print_version): Use PKGVERSION.
21480 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21481 (print_version): Use PKGVERSION.
21482 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21483 and PKGVERSION.
21484
21485 * timezone/checktab.awk: Update from tzcode 2012i.
21486 * timezone/ialloc.c: Likewise.
21487 * timezone/private.h: Likewise.
21488 * timezone/scheck.c: Likewise.
21489 * timezone/tzfile.h: Likewise.
21490 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21491 (TZVERSION): Hardcode tzcode version number.
21492 * timezone/zdump.c: Update from tzcode 2012i.
21493 * timezone/zic.c: Likewise.
21494 * timezone/version.h: New file.
21495 * timezone/README: Describe version.h. Update upstream location.
21496
21497 [BZ #14824]
21498 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21499 (mktemp): Enable declaration.
21500 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21501 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21502 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21503 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21504 Likewise.
21505 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21506 Likewise.
21507 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21508 Likewise.
21509 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21510 Likewise.
21511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21512 Likewise.
21513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21514 Likewise.
21515
21516 [BZ #14821]
21517 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21518 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21519 for copies of such integer values.
21520 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21521 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21522
21523 2012-11-09 Andreas Jaeger <aj@suse.de>
21524
21525 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21526 definitions and declarations that are provided by
21527 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21528
21529 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21530
21531 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21532 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21533 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21534 definition.
21535
21536 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21537
21538 * elf/elf.h: Update comment before AArch64 relocations.
21539
21540 2012-11-07 David S. Miller <davem@davemloft.net>
21541
21542 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21543 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21544 (__start_context): Declare.
21545 (__makecontext_ret): Delete.
21546 (__makecontext): Hook up __start_context instead of
21547 __makecontext_ret.
21548 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21549 (sysdep_routines): Add __start_context when in stdlib.
21550
21551 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21552
21553 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21554 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21555 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21556 hardcoded "nm".
21557 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21558 (READELF): New variable. Use it instead of hardcoded "readelf".
21559
21560 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21561
21562 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21563 * sysdeps/x86/Makefile: Here.
21564 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21565 * sysdeps/x86/tst-xmmymm.sh: This.
21566
21567 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21568
21569 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21570 expectations.
21571 [UNIX98] (pthread_barrier_t): Do not expect.
21572 [UNIX98] (pthread_barrierattr_t): Likewise.
21573 [UNIX98] (pthread_spinlock_t): Likewise.
21574 [UNIX98] (pthread_barrier_destroy): Likewise.
21575 [UNIX98] (pthread_barrier_init): Likewise.
21576 [UNIX98] (pthread_barrier_wait): Likewise.
21577 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21578 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21579 [UNIX98] (pthread_barrierattr_init): Likewise.
21580 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21581 [UNIX98] (pthread_getcpuclockid): Likewise.
21582 [UNIX98] (pthread_mutex_timedlock): Likewise.
21583 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21584 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21585 [UNIX98] (pthread_sigmask): Likewise.
21586 [UNIX98] (pthread_spin_destroy): Likewise.
21587 [UNIX98] (pthread_spin_init): Likewise.
21588 [UNIX98] (pthread_spin_lock): Likewise.
21589 [UNIX98] (pthread_spin_trylock): Likewise.
21590 [UNIX98] (pthread_spin_unlock): Likewise.
21591 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21592 Do not expect.
21593 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21594 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21595 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21596 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21597 [XPG3 || XPG4] (pthread_key_t): Likewise.
21598 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21599 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21600 [XPG3 || XPG4] (pthread_once_t): Likewise.
21601 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21602 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21603 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21604 [XPG3 || XPG4] (pthread_t): Likewise.
21605
21606 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21607 not expect.
21608 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21609
21610 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21611 Change function return type to int.
21612
21613 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21614 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21615 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21616 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21617 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21618 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21619 [!POSIX] (posix_madvise): Likewise.
21620 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21621 && !UNIX98].
21622 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21623 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21624 (mode_t): Likewise.
21625 (posix_mem_offset): Likewise.
21626 (posix_typed_mem_get_info): Likewise.
21627 (posix_typed_mem_open): Likewise.
21628
21629 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21630 Change condition to [XOPEN2K8].
21631
21632 * conform/conformtest.pl: Preprocess allow-header data with -x c
21633 instead of from stdin.
21634 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21635 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21636 [C99-based standards] (cerfc): Likewise.
21637 [C99-based standards] (cexp2): Likewise.
21638 [C99-based standards] (cexpm1): Likewise.
21639 [C99-based standards] (clog10): Likewise.
21640 [C99-based standards] (clog1p): Likewise.
21641 [C99-based standards] (clog2): Likewise.
21642 [C99-based standards] (clgamma): Likewise.
21643 [C99-based standards] (ctgamma): Likewise.
21644 [C99-based standards] (cerff): Likewise.
21645 [C99-based standards] (cerfcf): Likewise.
21646 [C99-based standards] (cexp2f): Likewise.
21647 [C99-based standards] (cexpm1f): Likewise.
21648 [C99-based standards] (clog10f): Likewise.
21649 [C99-based standards] (clog1pf): Likewise.
21650 [C99-based standards] (clog2f): Likewise.
21651 [C99-based standards] (clgammaf): Likewise.
21652 [C99-based standards] (ctgammaf): Likewise.
21653 [C99-based standards] (cerfl): Likewise.
21654 [C99-based standards] (cerfcl): Likewise.
21655 [C99-based standards] (cexp2l): Likewise.
21656 [C99-based standards] (cexpm1l): Likewise.
21657 [C99-based standards] (clog10l): Likewise.
21658 [C99-based standards] (clog1pl): Likewise.
21659 [C99-based standards] (clog2l): Likewise.
21660 [C99-based standards] (clgammal): Likewise.
21661 [C99-based standards] (ctgammal): Likewise.
21662 * conform/data/inttypes.h-data [C99-based standards]: Include
21663 stdint.h-data. Remove all expectations for stdint.h contents.
21664 [C99-based standards] (PRI*): Do not allow.
21665 [C99-based standards] (SCN*): Likewise.
21666 [C99-based standards] (*_t): Likewise.
21667 [C99-based-standards] (PRId8): Expect macro.
21668 [C99-based-standards] (PRIi8): Likewise.
21669 [C99-based-standards] (PRIo8): Likewise.
21670 [C99-based-standards] (PRIu8): Likewise.
21671 [C99-based-standards] (PRIx8): Likewise.
21672 [C99-based-standards] (PRIX8): Likewise.
21673 [C99-based-standards] (SCNd8): Likewise.
21674 [C99-based-standards] (SCNi8): Likewise.
21675 [C99-based-standards] (SCNo8): Likewise.
21676 [C99-based-standards] (SCNu8): Likewise.
21677 [C99-based-standards] (SCNx8): Likewise.
21678 [C99-based-standards] (PRIdLEAST8): Likewise.
21679 [C99-based-standards] (PRIiLEAST8): Likewise.
21680 [C99-based-standards] (PRIoLEAST8): Likewise.
21681 [C99-based-standards] (PRIuLEAST8): Likewise.
21682 [C99-based-standards] (PRIxLEAST8): Likewise.
21683 [C99-based-standards] (PRIXLEAST8): Likewise.
21684 [C99-based-standards] (SCNdLEAST8): Likewise.
21685 [C99-based-standards] (SCNiLEAST8): Likewise.
21686 [C99-based-standards] (SCNoLEAST8): Likewise.
21687 [C99-based-standards] (SCNuLEAST8): Likewise.
21688 [C99-based-standards] (SCNxLEAST8): Likewise.
21689 [C99-based-standards] (PRIdFAST8): Likewise.
21690 [C99-based-standards] (PRIiFAST8): Likewise.
21691 [C99-based-standards] (PRIoFAST8): Likewise.
21692 [C99-based-standards] (PRIuFAST8): Likewise.
21693 [C99-based-standards] (PRIxFAST8): Likewise.
21694 [C99-based-standards] (PRIXFAST8): Likewise.
21695 [C99-based-standards] (SCNdFAST8): Likewise.
21696 [C99-based-standards] (SCNiFAST8): Likewise.
21697 [C99-based-standards] (SCNoFAST8): Likewise.
21698 [C99-based-standards] (SCNuFAST8): Likewise.
21699 [C99-based-standards] (SCNxFAST8): Likewise.
21700 [C99-based-standards] (PRId16): Likewise.
21701 [C99-based-standards] (PRIi16): Likewise.
21702 [C99-based-standards] (PRIo16): Likewise.
21703 [C99-based-standards] (PRIu16): Likewise.
21704 [C99-based-standards] (PRIx16): Likewise.
21705 [C99-based-standards] (PRIX16): Likewise.
21706 [C99-based-standards] (SCNd16): Likewise.
21707 [C99-based-standards] (SCNi16): Likewise.
21708 [C99-based-standards] (SCNo16): Likewise.
21709 [C99-based-standards] (SCNu16): Likewise.
21710 [C99-based-standards] (SCNx16): Likewise.
21711 [C99-based-standards] (PRIdLEAST16): Likewise.
21712 [C99-based-standards] (PRIiLEAST16): Likewise.
21713 [C99-based-standards] (PRIoLEAST16): Likewise.
21714 [C99-based-standards] (PRIuLEAST16): Likewise.
21715 [C99-based-standards] (PRIxLEAST16): Likewise.
21716 [C99-based-standards] (PRIXLEAST16): Likewise.
21717 [C99-based-standards] (SCNdLEAST16): Likewise.
21718 [C99-based-standards] (SCNiLEAST16): Likewise.
21719 [C99-based-standards] (SCNoLEAST16): Likewise.
21720 [C99-based-standards] (SCNuLEAST16): Likewise.
21721 [C99-based-standards] (SCNxLEAST16): Likewise.
21722 [C99-based-standards] (PRIdFAST16): Likewise.
21723 [C99-based-standards] (PRIiFAST16): Likewise.
21724 [C99-based-standards] (PRIoFAST16): Likewise.
21725 [C99-based-standards] (PRIuFAST16): Likewise.
21726 [C99-based-standards] (PRIxFAST16): Likewise.
21727 [C99-based-standards] (PRIXFAST16): Likewise.
21728 [C99-based-standards] (SCNdFAST16): Likewise.
21729 [C99-based-standards] (SCNiFAST16): Likewise.
21730 [C99-based-standards] (SCNoFAST16): Likewise.
21731 [C99-based-standards] (SCNuFAST16): Likewise.
21732 [C99-based-standards] (SCNxFAST16): Likewise.
21733 [C99-based-standards] (PRId32): Likewise.
21734 [C99-based-standards] (PRIi32): Likewise.
21735 [C99-based-standards] (PRIo32): Likewise.
21736 [C99-based-standards] (PRIu32): Likewise.
21737 [C99-based-standards] (PRIx32): Likewise.
21738 [C99-based-standards] (PRIX32): Likewise.
21739 [C99-based-standards] (SCNd32): Likewise.
21740 [C99-based-standards] (SCNi32): Likewise.
21741 [C99-based-standards] (SCNo32): Likewise.
21742 [C99-based-standards] (SCNu32): Likewise.
21743 [C99-based-standards] (SCNx32): Likewise.
21744 [C99-based-standards] (PRIdLEAST32): Likewise.
21745 [C99-based-standards] (PRIiLEAST32): Likewise.
21746 [C99-based-standards] (PRIoLEAST32): Likewise.
21747 [C99-based-standards] (PRIuLEAST32): Likewise.
21748 [C99-based-standards] (PRIxLEAST32): Likewise.
21749 [C99-based-standards] (PRIXLEAST32): Likewise.
21750 [C99-based-standards] (SCNdLEAST32): Likewise.
21751 [C99-based-standards] (SCNiLEAST32): Likewise.
21752 [C99-based-standards] (SCNoLEAST32): Likewise.
21753 [C99-based-standards] (SCNuLEAST32): Likewise.
21754 [C99-based-standards] (SCNxLEAST32): Likewise.
21755 [C99-based-standards] (PRIdFAST32): Likewise.
21756 [C99-based-standards] (PRIiFAST32): Likewise.
21757 [C99-based-standards] (PRIoFAST32): Likewise.
21758 [C99-based-standards] (PRIuFAST32): Likewise.
21759 [C99-based-standards] (PRIxFAST32): Likewise.
21760 [C99-based-standards] (PRIXFAST32): Likewise.
21761 [C99-based-standards] (SCNdFAST32): Likewise.
21762 [C99-based-standards] (SCNiFAST32): Likewise.
21763 [C99-based-standards] (SCNoFAST32): Likewise.
21764 [C99-based-standards] (SCNuFAST32): Likewise.
21765 [C99-based-standards] (SCNxFAST32): Likewise.
21766 [C99-based-standards] (PRId64): Likewise.
21767 [C99-based-standards] (PRIi64): Likewise.
21768 [C99-based-standards] (PRIo64): Likewise.
21769 [C99-based-standards] (PRIu64): Likewise.
21770 [C99-based-standards] (PRIx64): Likewise.
21771 [C99-based-standards] (PRIX64): Likewise.
21772 [C99-based-standards] (SCNd64): Likewise.
21773 [C99-based-standards] (SCNi64): Likewise.
21774 [C99-based-standards] (SCNo64): Likewise.
21775 [C99-based-standards] (SCNu64): Likewise.
21776 [C99-based-standards] (SCNx64): Likewise.
21777 [C99-based-standards] (PRIdLEAST64): Likewise.
21778 [C99-based-standards] (PRIiLEAST64): Likewise.
21779 [C99-based-standards] (PRIoLEAST64): Likewise.
21780 [C99-based-standards] (PRIuLEAST64): Likewise.
21781 [C99-based-standards] (PRIxLEAST64): Likewise.
21782 [C99-based-standards] (PRIXLEAST64): Likewise.
21783 [C99-based-standards] (SCNdLEAST64): Likewise.
21784 [C99-based-standards] (SCNiLEAST64): Likewise.
21785 [C99-based-standards] (SCNoLEAST64): Likewise.
21786 [C99-based-standards] (SCNuLEAST64): Likewise.
21787 [C99-based-standards] (SCNxLEAST64): Likewise.
21788 [C99-based-standards] (PRIdFAST64): Likewise.
21789 [C99-based-standards] (PRIiFAST64): Likewise.
21790 [C99-based-standards] (PRIoFAST64): Likewise.
21791 [C99-based-standards] (PRIuFAST64): Likewise.
21792 [C99-based-standards] (PRIxFAST64): Likewise.
21793 [C99-based-standards] (PRIXFAST64): Likewise.
21794 [C99-based-standards] (SCNdFAST64): Likewise.
21795 [C99-based-standards] (SCNiFAST64): Likewise.
21796 [C99-based-standards] (SCNoFAST64): Likewise.
21797 [C99-based-standards] (SCNuFAST64): Likewise.
21798 [C99-based-standards] (SCNxFAST64): Likewise.
21799 [C99-based-standards] (PRIdMAX): Likewise.
21800 [C99-based-standards] (PRIiMAX): Likewise.
21801 [C99-based-standards] (PRIoMAX): Likewise.
21802 [C99-based-standards] (PRIuMAX): Likewise.
21803 [C99-based-standards] (PRIxMAX): Likewise.
21804 [C99-based-standards] (PRIXMAX): Likewise.
21805 [C99-based-standards] (SCNdMAX): Likewise.
21806 [C99-based-standards] (SCNiMAX): Likewise.
21807 [C99-based-standards] (SCNoMAX): Likewise.
21808 [C99-based-standards] (SCNuMAX): Likewise.
21809 [C99-based-standards] (SCNxMAX): Likewise.
21810 [C99-based-standards] (PRIdPTR): Likewise.
21811 [C99-based-standards] (PRIiPTR): Likewise.
21812 [C99-based-standards] (PRIoPTR): Likewise.
21813 [C99-based-standards] (PRIuPTR): Likewise.
21814 [C99-based-standards] (PRIxPTR): Likewise.
21815 [C99-based-standards] (PRIXPTR): Likewise.
21816 [C99-based-standards] (SCNdPTR): Likewise.
21817 [C99-based-standards] (SCNiPTR): Likewise.
21818 [C99-based-standards] (SCNoPTR): Likewise.
21819 [C99-based-standards] (SCNuPTR): Likewise.
21820 [C99-based-standards] (SCNxPTR): Likewise.
21821 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21822 allow.
21823 * conform/data/stdint.h-data: Update comments to clarify
21824 requirements.
21825 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21826 type.
21827 [C99-based standards] (INT8_MAX): Likewise.
21828 [C99-based standards] (INT16_MIN): Likewise.
21829 [C99-based standards] (INT16_MAX): Likewise.
21830 [C99-based standards] (INT32_MIN): Likewise.
21831 [C99-based standards] (INT32_MAX): Likewise.
21832 [C99-based standards] (INT64_MIN): Likewise.
21833 [C99-based standards] (INT64_MAX): Likewise.
21834 [C99-based standards] (UINT8_MAX): Likewise.
21835 [C99-based standards] (UINT16_MAX): Likewise.
21836 [C99-based standards] (UINT32_MAX): Likewise.
21837 [C99-based standards] (UINT64_MAX): Likewise.
21838 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21839 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21840 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21841 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21842 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21843 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21844 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21845 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21846 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21847 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21848 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21849 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21850 [C99-based standards] (INT_FAST8_MIN): Likewise.
21851 [C99-based standards] (INT_FAST8_MAX): Likewise.
21852 [C99-based standards] (INT_FAST16_MIN): Likewise.
21853 [C99-based standards] (INT_FAST16_MAX): Likewise.
21854 [C99-based standards] (INT_FAST32_MIN): Likewise.
21855 [C99-based standards] (INT_FAST32_MAX): Likewise.
21856 [C99-based standards] (INT_FAST64_MIN): Likewise.
21857 [C99-based standards] (INT_FAST64_MAX): Likewise.
21858 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21859 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21860 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21861 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21862 [C99-based standards] (INTPTR_MIN): Likewise.
21863 [C99-based standards] (INTPTR_MAX): Likewise.
21864 [C99-based standards] (UINTPTR_MAX): Likewise.
21865 [C99-based standards] (INTMAX_MIN): Likewise.
21866 [C99-based standards] (INTMAX_MAX): Likewise.
21867 [C99-based standards] (UINTMAX_MAX): Likewise.
21868 [C99-based standards] (PTRDIFF_MIN): Likewise.
21869 [C99-based standards] (PTRDIFF_MAX): Likewise.
21870 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21871 [C99-based standards] (SIZE_MAX): Likewise.
21872 [C99-based standards] (WCHAR_MAX): Likewise.
21873 [C99-based standards] (WINT_MAX): Likewise.
21874 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21875 constraint on value.
21876 [C99-based standards] (WCHAR_MIN): Likewise.
21877 [C99-based standards] (WINT_MIN): Likewise.
21878 [C99-based standards] (*_t): Allow.
21879 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21880 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21881 Include math.h-data and complex.h-data. Remove all expectations
21882 of math.h and complex.h contents.
21883 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21884 at end of line.
21885 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21886 (struct tm): Expect tag.
21887 [C99-based-standards] (wcstof): Expect function.
21888 [C99-based-standards] (wcstold): Likewise.
21889 [C99-based-standards] (wcstoll): Likewise.
21890 [C99-based-standards] (wcstoull): Likewise.
21891 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21892 macro-int-constant. Specify type.
21893 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21894 constraint on value.
21895 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21896 Specify type.
21897 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21898 Specify value.
21899 [ISO C standards]: Do not allow headers.
21900 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21901 wcs[abcdefghijklmnopqrstuvwxyz]*.
21902 [ISO C standards] (*_t): Do not allow.
21903 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21904 Expect function.
21905 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21906 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21907 Specify type.
21908 [ISO C standards]: Do not allow headers.
21909 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21910 is[abcdefghijklmnopqrstuvwxyz]*.
21911 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21912 to[abcdefghijklmnopqrstuvwxyz]*.
21913 [ISO C standards] (*_t): Do not allow.
21914 * conform/data/stdalign.h-data: New file.
21915 * conform/data/stdbool.h-data: Likewise.
21916 * conform/data/stdnoreturn.h-data: Likewise.
21917
21918 2012-11-07 Roland McGrath <roland@hack.frob.com>
21919
21920 [BZ #14815]
21921 * manual/filesys.texi (Directory Entries): Typo fix.
21922 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21923
21924 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21925
21926 * elf/elf.h (EM_AARCH64): New macro.
21927 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21928 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21929 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21930 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21931 (R_AARCH64_TLSDESC): Likewise.
21932 (NT_ARM_TLS): Likewise.
21933 (NT_ARM_HW_BREAK): Likewise.
21934 (NT_ARM_HW_WATCH): Likewise.
21935
21936 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21937
21938 [BZ #14811]
21939 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21940 (__ieee754_powl): Saturate nonzero exponents with absolute value
21941 below 0x1p-79 to +/- 0x1p-79.
21942 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21943 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21944 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21945 nonzero exponents with absolute value below 0x1p-32 to +/-
21946 0x1p-32.
21947 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21948 (__ieee754_powl): Saturate nonzero exponents with absolute value
21949 below 0x1p-79 to +/- 0x1p-79.
21950 * math/libm-test.inc (pow_test): Add more tests.
21951
21952 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21953
21954 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21955 _dl_s390_cap_flags with kernel. Increase string length.
21956 (_dl_s390_platforms): Add z196 and zEC12.
21957
21958 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21959
21960 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21961 Change XOPEN21K to XOPEN2K.
21962
21963 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21964
21965 * string/memmove.c: Use memcpy when possible.
21966
21967 2012-11-06 Andreas Jaeger <aj@suse.de>
21968
21969 * po/eo.po: Update from translation team.
21970
21971 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21972
21973 [BZ #14793]
21974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21975 exponent and small x and y exponents, scale x or y up. Increase
21976 by 2 the exponent used in scaling up.
21977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21978 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21979 * math/libm-test.inc (fma_test): Add more tests.
21980 (fma_test_towardzero): Likewise.
21981 (fma_test_downward): Likewise.
21982 (fma_test_upward): Likewise.
21983
21984 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21985
21986 [BZ #14805]
21987 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21988 fenv_t *.
21989
21990 [BZ #14801]
21991 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21992 namespace for names of struct fields.
21993 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21994 fenv_t fields.
21995 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21996 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21997
21998 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21999
22000 [BZ #3665]
22001 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22002
22003 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22004
22005 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22006 PTR_DEMANGLE.
22007
22008 [BZ #5246]
22009 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22010 PTR_DEMANGLE.
22011
22012 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22013
22014 [BZ #14797]
22015 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22016 definitely overflow as x * y not x * y + z.
22017 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22018 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22019 * math/libm-test.inc (fma_test): Add more tests.
22020 (fma_test_towardzero): Likewise.
22021 (fma_test_downward): Likewise.
22022 (fma_test_upward): Likewise.
22023
22024 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22025
22026 [BZ #157]
22027
22028 * include/stub-tag.h: Remove file.
22029 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22030 '#include' of it.
22031 * manual/maint.texi (Porting): Don't reference it.
22032 * Makerules ($(objpfx)stubs): Likewise.
22033 * dirent/closedir.c: Don't include <stub-tag.h>.
22034 * dirent/dirfd.c: Likewise.
22035 * dirent/fdopendir.c: Likewise.
22036 * dirent/getdents.c: Likewise.
22037 * dirent/getdents64.c: Likewise.
22038 * dirent/opendir.c: Likewise.
22039 * dirent/readdir.c: Likewise.
22040 * dirent/readdir64.c: Likewise.
22041 * dirent/readdir64_r.c: Likewise.
22042 * dirent/readdir_r.c: Likewise.
22043 * dirent/rewinddir.c: Likewise.
22044 * dirent/seekdir.c: Likewise.
22045 * dirent/telldir.c: Likewise.
22046 * gmon/profil.c: Likewise.
22047 * grp/setgroups.c: Likewise.
22048 * inet/if_index.c: Likewise.
22049 * io/access.c: Likewise.
22050 * io/chdir.c: Likewise.
22051 * io/chmod.c: Likewise.
22052 * io/chown.c: Likewise.
22053 * io/close.c: Likewise.
22054 * io/dup.c: Likewise.
22055 * io/dup2.c: Likewise.
22056 * io/dup3.c: Likewise.
22057 * io/euidaccess.c: Likewise.
22058 * io/faccessat.c: Likewise.
22059 * io/fchdir.c: Likewise.
22060 * io/fchmod.c: Likewise.
22061 * io/fchmodat.c: Likewise.
22062 * io/fchown.c: Likewise.
22063 * io/fchownat.c: Likewise.
22064 * io/fcntl.c: Likewise.
22065 * io/flock.c: Likewise.
22066 * io/fstatfs.c: Likewise.
22067 * io/fstatfs64.c: Likewise.
22068 * io/fstatvfs.c: Likewise.
22069 * io/fstatvfs64.c: Likewise.
22070 * io/futimens.c: Likewise.
22071 * io/fxstat.c: Likewise.
22072 * io/fxstat64.c: Likewise.
22073 * io/fxstatat.c: Likewise.
22074 * io/fxstatat64.c: Likewise.
22075 * io/getcwd.c: Likewise.
22076 * io/isatty.c: Likewise.
22077 * io/lchmod.c: Likewise.
22078 * io/lchown.c: Likewise.
22079 * io/link.c: Likewise.
22080 * io/linkat.c: Likewise.
22081 * io/lseek.c: Likewise.
22082 * io/lseek64.c: Likewise.
22083 * io/lxstat64.c: Likewise.
22084 * io/mkdir.c: Likewise.
22085 * io/mkdirat.c: Likewise.
22086 * io/mkfifo.c: Likewise.
22087 * io/mkfifoat.c: Likewise.
22088 * io/open.c: Likewise.
22089 * io/open64.c: Likewise.
22090 * io/openat.c: Likewise.
22091 * io/openat64.c: Likewise.
22092 * io/pipe.c: Likewise.
22093 * io/pipe2.c: Likewise.
22094 * io/poll.c: Likewise.
22095 * io/posix_fadvise.c: Likewise.
22096 * io/posix_fadvise64.c: Likewise.
22097 * io/posix_fallocate.c: Likewise.
22098 * io/posix_fallocate64.c: Likewise.
22099 * io/read.c: Likewise.
22100 * io/readlink.c: Likewise.
22101 * io/readlinkat.c: Likewise.
22102 * io/rmdir.c: Likewise.
22103 * io/sendfile.c: Likewise.
22104 * io/sendfile64.c: Likewise.
22105 * io/statfs.c: Likewise.
22106 * io/statfs64.c: Likewise.
22107 * io/statvfs.c: Likewise.
22108 * io/statvfs64.c: Likewise.
22109 * io/symlink.c: Likewise.
22110 * io/symlinkat.c: Likewise.
22111 * io/ttyname.c: Likewise.
22112 * io/ttyname_r.c: Likewise.
22113 * io/umask.c: Likewise.
22114 * io/unlink.c: Likewise.
22115 * io/unlinkat.c: Likewise.
22116 * io/utime.c: Likewise.
22117 * io/utimensat.c: Likewise.
22118 * io/write.c: Likewise.
22119 * io/xmknod.c: Likewise.
22120 * io/xmknodat.c: Likewise.
22121 * io/xstat.c: Likewise.
22122 * io/xstat64.c: Likewise.
22123 * login/getpt.c: Likewise.
22124 * login/grantpt.c: Likewise.
22125 * login/unlockpt.c: Likewise.
22126 * math/e_acoshl.c: Likewise.
22127 * math/e_acosl.c: Likewise.
22128 * math/e_asinl.c: Likewise.
22129 * math/e_atan2l.c: Likewise.
22130 * math/e_atanhl.c: Likewise.
22131 * math/e_coshl.c: Likewise.
22132 * math/e_expl.c: Likewise.
22133 * math/e_fmodl.c: Likewise.
22134 * math/e_gammal_r.c: Likewise.
22135 * math/e_hypotl.c: Likewise.
22136 * math/e_j0l.c: Likewise.
22137 * math/e_j1l.c: Likewise.
22138 * math/e_jnl.c: Likewise.
22139 * math/e_lgammal_r.c: Likewise.
22140 * math/e_log10l.c: Likewise.
22141 * math/e_log2l.c: Likewise.
22142 * math/e_logl.c: Likewise.
22143 * math/e_powl.c: Likewise.
22144 * math/e_rem_pio2l.c: Likewise.
22145 * math/e_sinhl.c: Likewise.
22146 * math/e_sqrtl.c: Likewise.
22147 * math/fclrexcpt.c: Likewise.
22148 * math/fedisblxcpt.c: Likewise.
22149 * math/feenablxcpt.c: Likewise.
22150 * math/fegetenv.c: Likewise.
22151 * math/fegetexcept.c: Likewise.
22152 * math/fegetround.c: Likewise.
22153 * math/feholdexcpt.c: Likewise.
22154 * math/fesetenv.c: Likewise.
22155 * math/fesetround.c: Likewise.
22156 * math/feupdateenv.c: Likewise.
22157 * math/fgetexcptflg.c: Likewise.
22158 * math/fraiseexcpt.c: Likewise.
22159 * math/fsetexcptflg.c: Likewise.
22160 * math/ftestexcept.c: Likewise.
22161 * math/k_cosl.c: Likewise.
22162 * math/k_rem_pio2l.c: Likewise.
22163 * math/k_sinl.c: Likewise.
22164 * math/k_tanl.c: Likewise.
22165 * math/s_asinhl.c: Likewise.
22166 * math/s_atanl.c: Likewise.
22167 * math/s_cbrtl.c: Likewise.
22168 * math/s_erfl.c: Likewise.
22169 * math/s_expm1l.c: Likewise.
22170 * math/s_log1pl.c: Likewise.
22171 * math/s_tanhl.c: Likewise.
22172 * misc/acct.c: Likewise.
22173 * misc/brk.c: Likewise.
22174 * misc/chflags.c: Likewise.
22175 * misc/chroot.c: Likewise.
22176 * misc/fchflags.c: Likewise.
22177 * misc/fgetxattr.c: Likewise.
22178 * misc/flistxattr.c: Likewise.
22179 * misc/fremovexattr.c: Likewise.
22180 * misc/fsetxattr.c: Likewise.
22181 * misc/fsync.c: Likewise.
22182 * misc/ftruncate.c: Likewise.
22183 * misc/futimes.c: Likewise.
22184 * misc/futimesat.c: Likewise.
22185 * misc/getdomain.c: Likewise.
22186 * misc/getdtsz.c: Likewise.
22187 * misc/gethostid.c: Likewise.
22188 * misc/gethostname.c: Likewise.
22189 * misc/getloadavg.c: Likewise.
22190 * misc/getpagesize.c: Likewise.
22191 * misc/getsysstats.c: Likewise.
22192 * misc/getxattr.c: Likewise.
22193 * misc/gtty.c: Likewise.
22194 * misc/ioctl.c: Likewise.
22195 * misc/lgetxattr.c: Likewise.
22196 * misc/listxattr.c: Likewise.
22197 * misc/llistxattr.c: Likewise.
22198 * misc/lremovexattr.c: Likewise.
22199 * misc/lsetxattr.c: Likewise.
22200 * misc/lutimes.c: Likewise.
22201 * misc/madvise.c: Likewise.
22202 * misc/mincore.c: Likewise.
22203 * misc/mlock.c: Likewise.
22204 * misc/mlockall.c: Likewise.
22205 * misc/mmap.c: Likewise.
22206 * misc/mprotect.c: Likewise.
22207 * misc/msync.c: Likewise.
22208 * misc/munlock.c: Likewise.
22209 * misc/munlockall.c: Likewise.
22210 * misc/munmap.c: Likewise.
22211 * misc/preadv.c: Likewise.
22212 * misc/preadv64.c: Likewise.
22213 * misc/ptrace.c: Likewise.
22214 * misc/pwritev.c: Likewise.
22215 * misc/pwritev64.c: Likewise.
22216 * misc/readv.c: Likewise.
22217 * misc/reboot.c: Likewise.
22218 * misc/remap_file_pages.c: Likewise.
22219 * misc/removexattr.c: Likewise.
22220 * misc/revoke.c: Likewise.
22221 * misc/select.c: Likewise.
22222 * misc/setdomain.c: Likewise.
22223 * misc/setegid.c: Likewise.
22224 * misc/seteuid.c: Likewise.
22225 * misc/sethostid.c: Likewise.
22226 * misc/sethostname.c: Likewise.
22227 * misc/setregid.c: Likewise.
22228 * misc/setreuid.c: Likewise.
22229 * misc/setxattr.c: Likewise.
22230 * misc/sstk.c: Likewise.
22231 * misc/stty.c: Likewise.
22232 * misc/swapoff.c: Likewise.
22233 * misc/swapon.c: Likewise.
22234 * misc/sync.c: Likewise.
22235 * misc/syncfs.c: Likewise.
22236 * misc/syscall.c: Likewise.
22237 * misc/truncate.c: Likewise.
22238 * misc/ualarm.c: Likewise.
22239 * misc/usleep.c: Likewise.
22240 * misc/ustat.c: Likewise.
22241 * misc/utimes.c: Likewise.
22242 * misc/vhangup.c: Likewise.
22243 * misc/writev.c: Likewise.
22244 * posix/_exit.c: Likewise.
22245 * posix/alarm.c: Likewise.
22246 * posix/execve.c: Likewise.
22247 * posix/fexecve.c: Likewise.
22248 * posix/fork.c: Likewise.
22249 * posix/fpathconf.c: Likewise.
22250 * posix/getaddrinfo.c: Likewise.
22251 * posix/getegid.c: Likewise.
22252 * posix/geteuid.c: Likewise.
22253 * posix/getgid.c: Likewise.
22254 * posix/getgroups.c: Likewise.
22255 * posix/getlogin.c: Likewise.
22256 * posix/getlogin_r.c: Likewise.
22257 * posix/getpgid.c: Likewise.
22258 * posix/getpid.c: Likewise.
22259 * posix/getppid.c: Likewise.
22260 * posix/getresgid.c: Likewise.
22261 * posix/getresuid.c: Likewise.
22262 * posix/getsid.c: Likewise.
22263 * posix/getuid.c: Likewise.
22264 * posix/glob64.c: Likewise.
22265 * posix/nanosleep.c: Likewise.
22266 * posix/pathconf.c: Likewise.
22267 * posix/pause.c: Likewise.
22268 * posix/posix_madvise.c: Likewise.
22269 * posix/pread.c: Likewise.
22270 * posix/pread64.c: Likewise.
22271 * posix/pwrite.c: Likewise.
22272 * posix/pwrite64.c: Likewise.
22273 * posix/sched_getaffinity.c: Likewise.
22274 * posix/sched_getp.c: Likewise.
22275 * posix/sched_gets.c: Likewise.
22276 * posix/sched_primax.c: Likewise.
22277 * posix/sched_primin.c: Likewise.
22278 * posix/sched_rr_gi.c: Likewise.
22279 * posix/sched_setaffinity.c: Likewise.
22280 * posix/sched_setp.c: Likewise.
22281 * posix/sched_sets.c: Likewise.
22282 * posix/sched_yield.c: Likewise.
22283 * posix/setgid.c: Likewise.
22284 * posix/setlogin.c: Likewise.
22285 * posix/setpgid.c: Likewise.
22286 * posix/setresgid.c: Likewise.
22287 * posix/setresuid.c: Likewise.
22288 * posix/setsid.c: Likewise.
22289 * posix/setuid.c: Likewise.
22290 * posix/sleep.c: Likewise.
22291 * posix/spawni.c: Likewise.
22292 * posix/sysconf.c: Likewise.
22293 * posix/times.c: Likewise.
22294 * posix/wait.c: Likewise.
22295 * posix/wait3.c: Likewise.
22296 * posix/wait4.c: Likewise.
22297 * posix/waitpid.c: Likewise.
22298 * resolv/gai_sigqueue.c: Likewise.
22299 * resource/getpriority.c: Likewise.
22300 * resource/getrlimit.c: Likewise.
22301 * resource/getrusage.c: Likewise.
22302 * resource/nice.c: Likewise.
22303 * resource/setpriority.c: Likewise.
22304 * resource/setrlimit.c: Likewise.
22305 * resource/ulimit.c: Likewise.
22306 * rt/aio_cancel.c: Likewise.
22307 * rt/aio_fsync.c: Likewise.
22308 * rt/aio_read.c: Likewise.
22309 * rt/aio_sigqueue.c: Likewise.
22310 * rt/aio_suspend.c: Likewise.
22311 * rt/aio_write.c: Likewise.
22312 * rt/clock_getres.c: Likewise.
22313 * rt/clock_gettime.c: Likewise.
22314 * rt/clock_nanosleep.c: Likewise.
22315 * rt/clock_settime.c: Likewise.
22316 * rt/lio_listio.c: Likewise.
22317 * rt/mq_close.c: Likewise.
22318 * rt/mq_getattr.c: Likewise.
22319 * rt/mq_notify.c: Likewise.
22320 * rt/mq_open.c: Likewise.
22321 * rt/mq_receive.c: Likewise.
22322 * rt/mq_send.c: Likewise.
22323 * rt/mq_setattr.c: Likewise.
22324 * rt/mq_timedreceive.c: Likewise.
22325 * rt/mq_timedsend.c: Likewise.
22326 * rt/mq_unlink.c: Likewise.
22327 * rt/shm_open.c: Likewise.
22328 * rt/shm_unlink.c: Likewise.
22329 * rt/timer_create.c: Likewise.
22330 * rt/timer_delete.c: Likewise.
22331 * rt/timer_getoverr.c: Likewise.
22332 * rt/timer_gettime.c: Likewise.
22333 * rt/timer_settime.c: Likewise.
22334 * setjmp/__longjmp.c: Likewise.
22335 * setjmp/setjmp.c: Likewise.
22336 * signal/kill.c: Likewise.
22337 * signal/killpg.c: Likewise.
22338 * signal/raise.c: Likewise.
22339 * signal/sigaction.c: Likewise.
22340 * signal/sigaltstack.c: Likewise.
22341 * signal/sigblock.c: Likewise.
22342 * signal/sigignore.c: Likewise.
22343 * signal/sigintr.c: Likewise.
22344 * signal/signal.c: Likewise.
22345 * signal/sigpause.c: Likewise.
22346 * signal/sigpending.c: Likewise.
22347 * signal/sigqueue.c: Likewise.
22348 * signal/sigreturn.c: Likewise.
22349 * signal/sigset.c: Likewise.
22350 * signal/sigsetmask.c: Likewise.
22351 * signal/sigstack.c: Likewise.
22352 * signal/sigsuspend.c: Likewise.
22353 * signal/sigtimedwait.c: Likewise.
22354 * signal/sigvec.c: Likewise.
22355 * signal/sigwait.c: Likewise.
22356 * signal/sigwaitinfo.c: Likewise.
22357 * signal/sysv_signal.c: Likewise.
22358 * socket/accept.c: Likewise.
22359 * socket/accept4.c: Likewise.
22360 * socket/bind.c: Likewise.
22361 * socket/connect.c: Likewise.
22362 * socket/getpeername.c: Likewise.
22363 * socket/getsockname.c: Likewise.
22364 * socket/getsockopt.c: Likewise.
22365 * socket/isfdtype.c: Likewise.
22366 * socket/listen.c: Likewise.
22367 * socket/recv.c: Likewise.
22368 * socket/recvfrom.c: Likewise.
22369 * socket/recvmsg.c: Likewise.
22370 * socket/send.c: Likewise.
22371 * socket/sendmsg.c: Likewise.
22372 * socket/sendto.c: Likewise.
22373 * socket/setsockopt.c: Likewise.
22374 * socket/shutdown.c: Likewise.
22375 * socket/sockatmark.c: Likewise.
22376 * socket/socket.c: Likewise.
22377 * socket/socketpair.c: Likewise.
22378 * stdio-common/ctermid.c: Likewise.
22379 * stdio-common/cuserid.c: Likewise.
22380 * stdio-common/remove.c: Likewise.
22381 * stdio-common/rename.c: Likewise.
22382 * stdio-common/renameat.c: Likewise.
22383 * stdio-common/tempname.c: Likewise.
22384 * stdlib/getcontext.c: Likewise.
22385 * stdlib/makecontext.c: Likewise.
22386 * stdlib/setcontext.c: Likewise.
22387 * stdlib/swapcontext.c: Likewise.
22388 * stdlib/system.c: Likewise.
22389 * streams/fattach.c: Likewise.
22390 * streams/fdetach.c: Likewise.
22391 * streams/getmsg.c: Likewise.
22392 * streams/getpmsg.c: Likewise.
22393 * streams/putmsg.c: Likewise.
22394 * streams/putpmsg.c: Likewise.
22395 * sysdeps/unix/bsd/getpt.c: Likewise.
22396 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22397 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22398 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22400 Likewise.
22401 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22402 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22403 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22404 * sysvipc/msgctl.c: Likewise.
22405 * sysvipc/msgget.c: Likewise.
22406 * sysvipc/msgrcv.c: Likewise.
22407 * sysvipc/msgsnd.c: Likewise.
22408 * sysvipc/semctl.c: Likewise.
22409 * sysvipc/semget.c: Likewise.
22410 * sysvipc/semop.c: Likewise.
22411 * sysvipc/semtimedop.c: Likewise.
22412 * sysvipc/shmat.c: Likewise.
22413 * sysvipc/shmctl.c: Likewise.
22414 * sysvipc/shmdt.c: Likewise.
22415 * sysvipc/shmget.c: Likewise.
22416 * termios/tcdrain.c: Likewise.
22417 * termios/tcflow.c: Likewise.
22418 * termios/tcflush.c: Likewise.
22419 * termios/tcgetattr.c: Likewise.
22420 * termios/tcgetpgrp.c: Likewise.
22421 * termios/tcsendbrk.c: Likewise.
22422 * termios/tcsetattr.c: Likewise.
22423 * termios/tcsetpgrp.c: Likewise.
22424 * time/adjtime.c: Likewise.
22425 * time/clock.c: Likewise.
22426 * time/getitimer.c: Likewise.
22427 * time/gettimeofday.c: Likewise.
22428 * time/setitimer.c: Likewise.
22429 * time/settimeofday.c: Likewise.
22430 * time/stime.c: Likewise.
22431 * time/time.c: Likewise.
22432
22433 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22434
22435 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22436 /usr/old/bin.
22437
22438 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22439 instead of spaces.
22440 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22441
22442 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22443
22444 [BZ #14796]
22445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22446 FE_TONEAREST before applying Dekker multiplication and Knuth
22447 addition. Clear inexact exceptions and check for exact zero
22448 results afterwards.
22449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22450 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22451 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22452 * math/libm-test.inc (fma_test): Add more tests.
22453 (fma_test_towardzero): Likewise.
22454 (fma_test_downward): Likewise.
22455 (fma_test_upward): Likewise.
22456 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22457 function.
22458 (libc_fesetround): New macro.
22459 (libc_fesetroundf): Likewise.
22460 (libc_fesetroundl): Likewise.
22461 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22462 function.
22463 (libc_fesetround_387): Likewise.
22464 (libc_fesetroundf): New macro.
22465 (libc_fesetround): Likewise.
22466 (libc_fesetroundl): Likewise.
22467 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22468 function.
22469 (libc_fesetroundf): New macro.
22470 (libc_fesetround): Likewise.
22471 (libc_fesetroundl): Likewise.
22472 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22473 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22474 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22475 libm_hidden_ver.
22476 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22477 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22478 libm_hidden_def.
22479 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22480 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22481 libm_hidden_ver.
22482 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22483 libm_hidden_def.
22484
22485 [BZ #3439]
22486 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22487 integer constant usable in #if and use that to give value to enum
22488 constant.
22489 (FE_DIVBYZERO): Likewise.
22490 (FE_UNDERFLOW): Likewise.
22491 (FE_OVERFLOW): Likewise.
22492 (FE_INVALID): Likewise.
22493 (FE_INVALID_SNAN): Likewise.
22494 (FE_INVALID_ISI): Likewise.
22495 (FE_INVALID_IDI): Likewise.
22496 (FE_INVALID_ZDZ): Likewise.
22497 (FE_INVALID_IMZ): Likewise.
22498 (FE_INVALID_COMPARE): Likewise.
22499 (FE_INVALID_SOFTWARE): Likewise.
22500 (FE_INVALID_SQRT): Likewise.
22501 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22502 (FE_TONEAREST): Likewise.
22503 (FE_TOWARDZERO): Likewise.
22504 (FE_UPWARD): Likewise.
22505 (FE_DOWNWARD): Likewise.
22506 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22507 (FE_DIVBYZERO): Likewise.
22508 (FE_OVERFLOW): Likewise.
22509 (FE_UNDERFLOW): Likewise.
22510 (FE_INEXACT): Likewise.
22511 (FE_TONEAREST): Likewise.
22512 (FE_DOWNWARD): Likewise.
22513 (FE_UPWARD): Likewise.
22514 (FE_TOWARDZERO): Likewise.
22515 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22516 (FE_UNDERFLOW): Likewise.
22517 (FE_OVERFLOW): Likewise.
22518 (FE_DIVBYZERO): Likewise.
22519 (FE_INVALID): Likewise.
22520 (FE_TONEAREST): Likewise.
22521 (FE_TOWARDZERO): Likewise.
22522 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22523 (FE_OVERFLOW): Likewise.
22524 (FE_UNDERFLOW): Likewise.
22525 (FE_DIVBYZERO): Likewise.
22526 (FE_INEXACT): Likewise.
22527 (FE_TONEAREST): Likewise.
22528 (FE_TOWARDZERO): Likewise.
22529 (FE_UPWARD): Likewise.
22530 (FE_DOWNWARD): Likewise.
22531 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22532 (FE_DIVBYZERO): Likewise.
22533 (FE_OVERFLOW): Likewise.
22534 (FE_UNDERFLOW): Likewise.
22535 (FE_INEXACT): Likewise.
22536 (FE_TONEAREST): Likewise.
22537 (FE_DOWNWARD): Likewise.
22538 (FE_UPWARD): Likewise.
22539 (FE_TOWARDZERO): Likewise.
22540
22541 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22542
22543 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22544
22545 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22546
22547 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22548 commands. Quote $PWD.
22549 (blacklist_exports): Don't use remove_newlines. Replace "declare
22550 -x" by "export".
22551 (remove_newlines): Remove.
22552
22553 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22554
22555 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22556 * stdlib/stdlib.h (atof): Moved to ...
22557 * include/bits/stdlib-float.h: Here. New file.
22558 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22559 * stdlib/bits/stdlib-float.h: New file.
22560 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22561 -mno-sse -mno-mmx.
22562 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22563 <xmmintrin.h>.
22564
22565 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22566
22567 * conform/conformtest.pl (@headers): Add fenv.h.
22568 * conform/data/fenv.h-data: New file.
22569 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22570 include of <math/fenv.h>.
22571
22572 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22573 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22574 && !UNIX98]. Enables tests for XOPEN2K8.
22575 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22576 POSIX2008]: Likewise.
22577
22578 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22579 (struct rusage): Do not expect type or its members.
22580
22581 [BZ #3439]
22582 * math/math.h (FP_NAN): Define macro to integer constant usable in
22583 #if and use that to give value to enum constant.
22584 (FP_INFINITE): Likewise.
22585 (FP_ZERO): Likewise.
22586 (FP_SUBNORMAL): Likewise.
22587 (FP_NORMAL): Likewise.
22588
22589 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22590
22591 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22592 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22593 arguments.
22594
22595 2012-11-02 Roland McGrath <roland@hack.frob.com>
22596
22597 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22598 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22599 autoconf-time if not.
22600 * configure.in: Remove AC_PREREQ.
22601
22602 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22603
22604 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22605 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22606 of the internal implementation.
22607
22608 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22609
22610 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22611 except include of <misc/sys/syslog.h>.
22612
22613 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22614
22615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22616 function returns with a NULL context exit with zero.
22617
22618 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22619
22620 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22621
22622 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22623
22624 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22625 (run_program_cmd): This.
22626 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22627 (tst_langinfo): New variable. Use it.
22628
22629 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22630
22631 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22632 floating point opcodes.
22633
22634 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22635
22636 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22637 variable.
22638
22639 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22640
22641 * sysdeps/mach/hurd/powerpc: Remove directory.
22642 * sysdeps/mach/powerpc: Likewise.
22643
22644 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22645
22646 * scripts/check-local-headers.sh: Ignore c++ headers.
22647
22648 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22649
22650 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22651 __libc_cleanup_region_start argument.
22652
22653 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22654
22655 [BZ #14784]
22656 [BZ #14785]
22657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22658 x * y using scaling, not as x * y + z.
22659 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22660 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22661 * math/libm-test.inc (fma_test): Add more tests.
22662 (fma_test_towardzero): Likewise.
22663 (fma_test_downward): Likewise.
22664 (fma_test_upward): Likewise.
22665
22666 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22667
22668 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22669
22670 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22671
22672 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22673 New variable.
22674
22675 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22676
22677 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22678
22679 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22680
22681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22682 Fix sort order.
22683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22684 Likewise.
22685
22686 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22687
22688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22689 Fix the order of the list for glibc 2.17.
22690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22691 Likewise.
22692
22693 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22694
22695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22696
22697 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22698
22699 [BZ #14610]
22700 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22701 for low part of x being zero before using __atanl (y).
22702 * math/libm-test.inc (atan2_test): Add another test.
22703
22704 * manual/install.texi (Configuring and compiling): Document
22705 general use of test-wrapper and test-wrapper-env.
22706 * INSTALL: Regenerated.
22707
22708 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22709 (__fma): Do not extract and scale down low bits on after-rounding
22710 systems when result rounded to normal precision would have normal
22711 exponent.
22712 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22713 (__fmal): Do not extract and scale down low bits on after-rounding
22714 systems when result rounded to normal precision would have normal
22715 exponent.
22716 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22717 (__fmal): Do not extract and scale down low bits on after-rounding
22718 systems when result rounded to normal precision would have normal
22719 exponent.
22720 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22721 macro.
22722 (fma_test): Add more tests.
22723 (fma_test_towardzero): Likewise.
22724 (fma_test_downward): Likewise.
22725 (fma_test_upward): Likewise.
22726
22727 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22728
22729 * sysdeps/i386/tininess.h: Renamed to ...
22730 * sysdeps/x86/tininess.h: This.
22731 * sysdeps/x86_64/tininess.h: Removed.
22732
22733 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22734
22735 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22736 input. Use $(build-program-cmd).
22737 ($(objpfx)tst-array1-static.out): Likewise.
22738 ($(objpfx)tst-array2.out): Likewise.
22739 ($(objpfx)tst-array3.out): Likewise.
22740 ($(objpfx)tst-array4.out): Likewise.
22741 ($(objpfx)tst-array5.out): Likewise.
22742 ($(objpfx)tst-array5-static.out): Likewise.
22743
22744 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22745
22746 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22747 if defined.
22748
22749 * nss/nsswitch.h (nss_interface_function): Provide new
22750 macro for use with NSS functions.
22751 * grp/initgroups.c: Use new macro.
22752 * nss/getXXbyYY.c: Likewise.
22753 * nss/getXXbyYY_r.c: Likewise.
22754 * nss/getXXent.c: Likewise.
22755 * nss/getXXent_r.c: Likewise.
22756 * sysdeps/posix/getaddrinfo.c: Likewise.
22757
22758 2012-10-30 Andreas Jaeger <aj@suse.de>
22759
22760 * po/ru.po: Update Russion translation from translation project.
22761
22762 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22763
22764 [BZ #14152]
22765 [BZ #14783]
22766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22767 result and shift together with sticky bit instead of replicating
22768 round-to-nearest rounding.
22769 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22770 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22771 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22772 missing underflow exceptions.
22773 (fma_test_towardzero): Add more tests.
22774 (fma_test_downward): Likewise.
22775 (fma_test_upward): Likewise.
22776
22777 [BZ #14047]
22778 * sysdeps/generic/tininess.h: New file.
22779 * sysdeps/i386/tininess.h: Likewise.
22780 * sysdeps/sh/tininess.h: Likewise.
22781 * sysdeps/x86_64/tininess.h: Likewise.
22782 * stdlib/tst-strtod-underflow.c: Likewise.
22783 * stdlib/tst-tininess.c: Likewise.
22784 * stdlib/strtod_l.c: Include <tininess.h>.
22785 (round_and_return): Do not set errno for exact underflow cases.
22786 Force an underflow exception when setting errno for underflow.
22787 Determine underflow based on rounding to normal precision if
22788 TININESS_AFTER_ROUNDING.
22789 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22790 ERANGE for exact underflow cases.
22791 * stdlib/Makefile (tests): Add tst-tininess and
22792 tst-strtod-underflow.
22793 ($(objpfx)tst-tininess): Use $(link-libm).
22794 ($(objpfx)tst-strtod-underflow): Likewise.
22795
22796 2012-10-30 Andreas Jaeger <aj@suse.de>
22797
22798 [BZ#14767]
22799 * elf/Makefile (tests): Remove conditional for have-initfini-array
22800 since this is now always required and the variable does not exist
22801 anymore.
22802 (tests-static): Likewise.
22803 (modules-names): Likewise.
22804
22805 * po/eo.po: Add Esperanto translation from translation project.
22806
22807 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22808 merged with constructor/destructor.
22809 (init_array): Likewise.
22810 * elf/tst-array2dep.c (fini_array): Likewise.
22811 (init_array): Likewise.
22812
22813 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22814
22815 * manual/message.texi: Delete @cartouche tags.
22816
22817 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22818
22819 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22820 EOPNOTSUPP.
22821 * sysdeps/mach/hurd/fsync.c: Likewise.
22822
22823 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22824 [_POSIX_REALTIME_SIGNALS]: Change condition to
22825 [_POSIX_REALTIME_SIGNALS > 0].
22826
22827 2012-10-27 Andreas Jaeger <aj@suse.de>
22828
22829 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22830 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22832 [__WORDSIZE != 64]: Likewise.
22833
22834 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22835
22836 * iconvdata/tst-table.sh: Remove ${SHELL}.
22837 * iconvdata/tst-tables.sh: Likewise.
22838
22839 2012-10-25 David S. Miller <davem@davemloft.net>
22840
22841 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22842 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22843 of strtoull.
22844
22845 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22846 ifunc-impl-list.c
22847 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22848 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22849 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22850 file.
22851
22852 2012-10-25 Roland McGrath <roland@hack.frob.com>
22853
22854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22855 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22856 __getdirentries.
22857
22858 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22859 Jim Blandy <jimb@codesourcery.com>
22860
22861 * scripts/cross-test-ssh.sh: New file.
22862 * manual/install.texi (Configuring and compiling): Document use of
22863 cross-test-ssh.sh.
22864 * INSTALL: Regenerated.
22865
22866 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22867
22868 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22869 EOPNOTSUPP.
22870
22871 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22872
22873 * Makeconfig (run-program-prefix): Fix comment.
22874
22875 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22876 Jim Blandy <jimb@codesourcery.com>
22877
22878 * Makeconfig (test-wrapper): New variable,
22879 (test-wrapper-env): Likewise.
22880 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22881 (run-built-tests): Define to yes.
22882 (run-program-prefix): Use $(test-wrapper).
22883 (built-program-cmd): Likewise.
22884 * Rules (make-test-out): Use $(test-wrapper-env) and
22885 $(host-built-program-cmd).
22886 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22887 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22888 tst-pathopt.sh.
22889 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22890 $(test-wrapper-env) to tst-rtld-load-self.sh.
22891 ($(objpfx)order2.out): Use $(test-wrapper).
22892 ($(objpfx)tst-initorder.out): Likewise.
22893 ($(objpfx)tst-initorder2.out): Likewise.
22894 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22895 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22896 (test_wrapper_env): New variable. Use it to run ld.so.
22897 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22898 Use it to run ld.so.
22899 (test_wrapper_env): Likewise.
22900 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22901 $(test-wrapper) to run-iconv-test.sh.
22902 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22903 (ICONV): Use $test_wrapper.
22904 * posix/Makefile ($(objpfx)globtest.out): Pass
22905 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22906 globtest.sh, not $(run-program-prefix).
22907 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22908 (test_wrapper): Likewise.
22909 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22910 set together with run_via_rtld_prefix.
22911 (run_program_prefix): Define in terms of test_wrapper and
22912 run_via_rtld_prefix.
22913
22914 2012-10-24 Roland McGrath <roland@hack.frob.com>
22915
22916 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22917 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22918 Targets removed.
22919
22920 [BZ #14743]
22921 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22922 Declare __clock_getres, __clock_gettime, __clock_settime,
22923 __clock_nanosleep, and __clock_getcpuclockid.
22924 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22925 Remove librt_hidden_def (clock_gettime).
22926 * sysdeps/unix/clock_gettime.c: Likewise.
22927 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22928 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22929 * rt/clock_getres.c: Define __clock_getres as an alias.
22930 * sysdeps/posix/clock_getres.c: Likewise.
22931 * rt/clock_settime.c: Define __clock_settime as an alias.
22932 * sysdeps/unix/clock_settime.c: Likewise.
22933 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22934 * sysdeps/unix/clock_nanosleep.c: Likewise.
22935 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22936 * rt/clock-compat.c: New file.
22937 * rt/Makefile (librt-routines): Add clock-compat and move
22938 $(clock-routines) to ...
22939 (routines): ... here, new variable.
22940 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22941 Don't add get_clockfreq here.
22942 * rt/Versions (libc: GLIBC_2.17): New version set.
22943 Add clock_* symbols here.
22944 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22945 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22946 (GLIBC_2.17): Add clock_* symbols.
22947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22951 Likewise.
22952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22953 Likewise.
22954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22958 * NEWS: Mention the move.
22959
22960 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22961 Use __open, __read, __close rather than their public counterparts.
22962 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22963 (__get_clockfreq_via_cpuinfo): Likewise.
22964 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22965 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22966
22967 * config.h.in (HAVE_IFUNC): New #undef.
22968 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22969 was successful.
22970 * configure: Regenerated.
22971
22972 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22973
22974 * configure.in: Move READELF check to start of file.
22975 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22976 libc_cv_asm_gnu_indirect_function in the process.
22977 * configure: Regenerated.
22978
22979 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22980
22981 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22982 send the output to /dev/null.
22983 (libc_cv_cc_with_libunwind): Likewise.
22984 (libc_cv_as_noexecstack): Likewise.
22985 * configure: Regenerate.
22986
22987 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22988
22989 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22990
22991 * posix/globtest.sh (TMPDIR): Do not set.
22992 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22993 (testout): Likewise.
22994
22995 2012-10-24 Andreas Jaeger <aj@suse.de>
22996
22997 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22998 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22999 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23000 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23001 posix_fadvise64, posix_fallocate64.
23002
23003 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23004 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23005 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23006 Likewise.
23007 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23008 Likewise.
23009 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23010
23011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23012 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23013 <bits/fcntl-linux.h>.
23014 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23015
23016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23017 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23018 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23019 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23020 [__WORDSIZE != 64]: Likewise.
23021
23022 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23023
23024 * Makeconfig (run-built-tests): New variable.
23025 * Rules [$(cross-compiling) = yes]: Change condition to
23026 [$(run-built-tests) = no].
23027 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23028 to [$(run-built-tests) = yes].
23029 * elf/Makefile [$(cross-compiling) = no]: Likewise
23030 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23031 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23032 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23033 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23034 * io/Makefile [$(cross-compiling) = no]: Likewise.
23035 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23036 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23037 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23038 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23039 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23040 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23041 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23042 * string/Makefile [$(cross-compiling) = no]: Likewise.
23043
23044 * posix/Makefile ($(objpfx)globtest.out): Pass
23045 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23046 $(rtld-installed-name).
23047 * posix/globtest.sh (elf_objpfx): Remove variable.
23048 (rtld_installed_name): Likewise.
23049 (library_path): Likewise.
23050 (run_program_prefix): New variable. Use for running globtest
23051 binary.
23052
23053 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23054 Joseph Myers <joseph@codesourcery.com>
23055
23056 * Makeconfig (host-built-program-cmd): New variable.
23057 * elf/Makefile (tst-stackguard1-ARGS): Use
23058 $(host-built-program-cmd).
23059 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23060 (tst-spawn-ARGS): Likewise.
23061 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23062
23063 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23064 Jim Blandy <jimb@codesourcery.com>
23065
23066 * Makeconfig (run-via-rtld-prefix): New variable.
23067 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23068 (built-program-cmd): Likewise.
23069
23070 2012-10-22 Andreas Jaeger <aj@suse.de>
23071
23072 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23073 __O_RSYNC if it exists, otherwise to O_SYNC.
23074
23075 2012-10-22 Jim Blandy <jimb@codesourcery.com>
23076 Joseph Myers <joseph@codesourcery.com>
23077
23078 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23079 /dev/null.
23080 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23081 from /dev/null
23082 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23083 /dev/null.
23084
23085 2012-10-22 Andreas Jaeger <aj@suse.de>
23086
23087 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23088 Define always.
23089 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23090
23091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23092 bits/fcntl-linux.h.
23093
23094 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23095 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23096
23097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23098 to __O_LARGEFILE.
23099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23100 to __O_LARGEFILE.
23101
23102 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23103 Joseph Myers <joseph@codesourcery.com>
23104
23105 * config.make.in (NM): New variable.
23106
23107 2012-10-21 Andreas Jaeger <aj@suse.de>
23108
23109 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23110 definitions and declarations that are provided by
23111 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23112
23113 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23114
23115 [BZ #14683]
23116 * elf/Makefile (tests-static): Add tst-leaks1-static.
23117 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23118 ($(objpfx)tst-leaks1-static): New rule.
23119 ($(objpfx)tst-leaks1-static-mem): Likewise.
23120 (tst-leaks1-static-ENV): New macro.
23121 * elf/dl-open.c (dl_open_worker): Check the main application
23122 only if SHARED is defined.
23123 * elf/tst-leaks1-static.c: New file.
23124
23125 2012-10-20 Andreas Jaeger <aj@suse.de>
23126
23127 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23128 generic values for Linux.
23129 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23130 and declarations that are provided by <bits/fcntl-linux.h> and
23131 include <bits/fcntl-linux.h>.
23132 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23133 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23134
23135 2012-10-20 Roland McGrath <roland@hack.frob.com>
23136
23137 * io/fcntl.h: Move include of <bits/types.h> to the top and
23138 include it unconditionally.
23139
23140 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23141
23142 * wcsmbs/Makefile (tests-ifunc): New variable.
23143 (tests): Add $(tests-ifunc).
23144 * wcsmbs/test-wcschr-ifunc.c: New file.
23145 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23146 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23147 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23148 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23149 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23150
23151 * string/Makefile (tests-ifunc): New variable.
23152 (tests): Add $(tests-ifunc).
23153 * string/test-memccpy.c (TEST_NAME): New macro.
23154 * string/test-memchr.c (TEST_NAME): Likewise.
23155 * string/test-memcmp.c (TEST_NAME): Likewise.
23156 * string/test-memcpy.c (TEST_NAME): Likewise.
23157 * string/test-memmem.c (TEST_NAME): Likewise.
23158 * string/test-memmove.c (TEST_NAME): Likewise.
23159 * string/test-memset.c (TEST_NAME): Likewise.
23160 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23161 * string/test-stpcpy.c (TEST_NAME): Likewise.
23162 * string/test-stpncpy.c (TEST_NAME): Likewise.
23163 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23164 * string/test-strcasestr.c (TEST_NAME): Likewise.
23165 * string/test-strcat.c (TEST_NAME): Likewise.
23166 * string/test-strchr.c (TEST_NAME): Likewise.
23167 * string/test-strcmp.c(TEST_NAME): Likewise.
23168 * string/test-strcpy.c (TEST_NAME): Likewise.
23169 * string/test-strcspn.c (TEST_NAME): Likewise.
23170 * string/test-strlen.c (TEST_NAME): Likewise.
23171 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23172 * string/test-strncmp.c (TEST_NAME): Likewise.
23173 * string/test-strncpy.c (TEST_NAME): Likewise.
23174 * string/test-strnlen.c (TEST_NAME): Likewise.
23175 * string/test-strpbrk.c (TEST_NAME): Likewise.
23176 * string/test-strrchr.c (TEST_NAME): Likewise.
23177 * string/test-strspn.c (TEST_NAME): Likewise.
23178 * string/test-strstr.c (TEST_NAME): Likewise.
23179 * string/test-bcopy-ifunc.c: New file.
23180 * string/test-bzero-ifunc.c: Likewise.
23181 * string/test-memccpy-ifunc.c: Likewise.
23182 * string/test-memchr-ifunc.c: Likewise.
23183 * string/test-memcmp-ifunc.c: Likewise.
23184 * string/test-memcpy-ifunc.c: Likewise.
23185 * string/test-memmem-ifunc.c: Likewise.
23186 * string/test-memmove-ifunc.c: Likewise.
23187 * string/test-mempcpy-ifunc.c: Likewise.
23188 * string/test-memset-ifunc.c: Likewise.
23189 * string/test-rawmemchr-ifunc.c: Likewise.
23190 * string/test-stpcpy-ifunc.c: Likewise.
23191 * string/test-stpncpy-ifunc.c: Likewise.
23192 * string/test-strcasecmp-ifunc.c: Likewise.
23193 * string/test-strcasestr-ifunc.c: Likewise.
23194 * string/test-strcat-ifunc.c: Likewise.
23195 * string/test-strchr-ifunc.c: Likewise.
23196 * string/test-strchrnul-ifunc.c: Likewise.
23197 * string/test-strcmp-ifunc.c: Likewise.
23198 * string/test-strcpy-ifunc.c: Likewise.
23199 * string/test-strcspn-ifunc.c: Likewise.
23200 * string/test-strlen-ifunc.c: Likewise.
23201 * string/test-strncasecmp-ifunc.c: Likewise.
23202 * string/test-strncat-ifunc.c: Likewise.
23203 * string/test-strncmp-ifunc.c: Likewise.
23204 * string/test-strncpy-ifunc.c: Likewise.
23205 * string/test-strnlen-ifunc.c: Likewise.
23206 * string/test-strpbrk-ifunc.c: Likewise.
23207 * string/test-strrchr-ifunc.c: Likewise.
23208 * string/test-strspn-ifunc.c: Likewise.
23209 * string/test-strstr-ifunc.c: Likewise.
23210
23211 * debug/Makefile (tests-ifunc): New variable.
23212 (tests): Add $(tests-ifunc).
23213 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23214 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23215 * debug/test-stpcpy_chk-ifunc.c: New file.
23216 * debug/test-strcpy_chk-ifunc.c: Likewise.
23217
23218 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23219
23220 [BZ #13601]
23221 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23222 header is not read in.
23223
23224 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23225
23226 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23227 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23228 directly. Pass built executable to script as
23229 $(built-program-cmd).
23230 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23231 $testprogram without using LD_LIBRARY_PATH and $ldso.
23232
23233 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23234 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23235 $(rtld-installed-name).
23236 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23237 (rtld_installed_name): Likewise.
23238 (library_path): Likewise.
23239 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23240 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23241 $(run-program-prefix) to tst-tables.sh.
23242 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23243 it to run tst-table-from and tst-table-to.
23244 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23245 Pass it to tst-table.sh.
23246 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23247 $(run-program-prefix) to tst-gettext.sh.
23248 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23249 tst-translit.sh.
23250 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23251 tst-gettext2.sh.
23252 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23253 to run tst-gettext.
23254 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23255 to run tst-gettext2.
23256 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23257 to run tst-translit.
23258 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23259 $(run-program-prefix) to tst-mtrace.sh.
23260 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23261 to run tst-mtrace.
23262 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23263 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23264 $(rtld-installed-name).
23265 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23266 (rtld_installed_name): Likewise.
23267 (run_program_prefix): New variable. Use it to run wordexp-test.
23268
23269 * Makeconfig (ARCH): Remove all definitions.
23270 (machine): Likewise.
23271 [ARCH]: Remove conditional code.
23272 [!objdir]: Give error.
23273 [!objdir] (objpfx): Remove.
23274 [!objdir] (common-objpfx): Likewise.
23275 [!objdir] (common-objdir): Likewise.
23276 * configure.in (config_makefile): Remove. Hardcode Makefile in
23277 AC_CONFIG_FILES call.
23278 * configure: Regenerated.
23279
23280 [BZ #13888]
23281 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23282 or TMPDIR.
23283 (testout): Likewise.
23284
23285 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23286 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23287 $(rtld-installed-name).
23288 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23289 (rtld_installed_name): Likwise.
23290 (runit): Remove function.
23291 (run_getconf): New variable, Use it for running getconf binary.
23292
23293 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23294
23295 [BZ #14716]
23296 * string/test-memmem.c (check_result): New function.
23297 (do_one_test): Use it.
23298 (check1): New function.
23299 (test_main): Use it.
23300
23301 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23302
23303 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23304
23305 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23306
23307 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23308 (_G_LSEEK64): Likewise.
23309 (_G_MMAP64): Likewise.
23310 (_G_FSTAT64): Likewise.
23311 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23312 (_G_LSEEK64): Likewise.
23313 (_G_MMAP64): Likewise.
23314 (_G_FSTAT64): Likewise.
23315 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23316 unconditional. Call __mmap64 directly.
23317 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23318 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23319 __lseek64 directly.
23320 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23321 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23322 __mmap64 directly.
23323 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23324 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23325 __lseek64 directly.
23326 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23327 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23328 __lseek64 directly.
23329 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23330 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23331 __lseek64 directly.
23332 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23333 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23334 __fxstat64 directly.
23335 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23336 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23337 unconditional.
23338 (freopen64) [!_G_OPEN64]: Remove conditional code.
23339 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23340 unconditional.
23341 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23342 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23343 unconditional.
23344 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23345 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23346 unconditional.
23347 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23348 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23349 unconditional.
23350 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23351 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23352 unconditional.
23353 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23354 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23355 unconditional.
23356 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23357 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23358 unconditional.
23359 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23360
23361 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23362
23363 [BZ #12140]
23364 * manual/memory.texi (Malloc Tunable Parameters): Add note
23365 about free list pointers overwriting some perturb bytes.
23366 Wording suggested by Roland McGrath.
23367
23368 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23369
23370 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23371 (lgamma_test): Likewise.
23372 (tgamma_test): Likewise.
23373
23374 2012-10-16 Florian Weimer <fweimer@redhat.com>
23375
23376 [BZ #14700]
23377 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23378 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23379
23380 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23381
23382 * NEWS: Mention BZ #14716.
23383 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23384 when removing AVAILABLE1_USES_J macro.
23385
23386 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23387
23388 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23389 (__bswap_64): __uint64_t for unsigned 64-bit int.
23390
23391 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23392
23393 * include/string.h (memmem): Declare libc hidden alias.
23394 * string/memmem.c (memmem): Define libc hidden alias.
23395 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23396 __read, __close instead of open, read, close.
23397
23398 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23399
23400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23401 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23402 global and hidden.
23403 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23404 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23405 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23406 Likewise.
23407 (__rawmemchr_sse2): Likewise.
23408 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23409 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23410 (__strchr_sse2): Likewise.
23411 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23412 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23413 (__strcasecmp_sse2): Likewise.
23414 (__strncasecmp_sse2): Likewise.
23415 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23416 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23417 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23418 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23419 (__strrchr_sse2): Likewise.
23420 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23421 ifunc-impl-list.c.
23422 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23423 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23424 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23425 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23426 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23427 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23428 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23429 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23430 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23431 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23432 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23433 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23434 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23435 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23436 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23437 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23438 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23439 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23440 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23441 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23442 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23443 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23444 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23445 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23446 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23447 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23448 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23449 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23450 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23451 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23452
23453 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23454 global and hidden.
23455 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23456 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23457 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23458 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23459 Likewise.
23460 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23461 Likewise.
23462 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23463 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23464 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23465 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23466 ifunc-impl-list.c.
23467 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23468 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23469 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23470 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23471 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23472 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23473 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23474 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23475 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23476 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23477 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23478 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23479 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23480 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23481 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23482 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23483 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23484 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23485 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23486 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23487 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23488 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23489 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23490 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23491 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23492 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23493 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23494 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23495 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23496 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23497 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23498 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23499 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23500 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23501 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23502 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23503 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23504 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23505 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23506 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23507 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23508
23509 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23510 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23511 * include/ifunc-impl-list.h: New file.
23512 * misc/ifunc-impl-list.c: Likewise.
23513 * misc/Makefile (routines): Add ifunc-impl-list.
23514 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23515 * string/test-string.h: Include <ifunc-impl-list.h>.
23516 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23517 TEST_NAME]: New variables.
23518 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23519 are defined.
23520 (test_init): Call __libc_ifunc_impl_list to initialize
23521 func_list if TEST_IFUNC and TEST_NAME are defined.
23522
23523 * string/Makefile (strop-tests): Add bcopy and bzero.
23524 * string/test-bcopy.c: New file.
23525 * string/test-bzero.c: Likewise.
23526 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23527 defined.
23528 * string/test-memset.c: Support bzero test if TEST_BZERO is
23529 defined.
23530 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23531 __libc_memmove.
23532 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23533 __libc_memset.
23534 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23535 of memset.
23536
23537 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23538
23539 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23540 * configure: Regenerated.
23541
23542 * Makeconfig (+link-static-before-libc): Don't include
23543 $(link-static-libc).
23544
23545 * libio/libio.h (_IO_pos_t): Remove.
23546
23547 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23548
23549 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23550 McGrath.
23551
23552 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23553
23554 * crypt/crypt-entry.c: Include fips-private.h.
23555 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23556 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23557 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23558 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23559
23560 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23561
23562 * crypt/crypt-private.h: Include stdbool.h.
23563 (_ufc_setup_salt_r): Return bool.
23564 * crypt/crypt-entry.c: Include errno.h.
23565 (__crypt_r): Return NULL with EINVAL for bad salt.
23566 * crypt/crypt_util.c (bad_for_salt): New.
23567 (_ufc_setup_salt_r): Check that salt is long enough and within
23568 the specified alphabet.
23569 * crypt/badsalttest.c: New file.
23570 * crypt/Makefile (tests): Add it.
23571 ($(objpfx)badsalttest): New.
23572
23573 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23574
23575 * NEWS: Add entry for BZ #14602.
23576
23577 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23578
23579 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23580 type-generic.
23581 * math/libm-test.inc: Update comment listing what functions and
23582 macros are tested.
23583 (isgreater_test): New function.
23584 (isgreaterequal_test): Likewise.
23585 (isless_test): Likewise.
23586 (islessequal_test): Likewise.
23587 (islessgreater_test): Likewise.
23588 (isunordered_test): Likewise.
23589 (main): Call the new functions.
23590
23591 2012-10-09 Roland McGrath <roland@hack.frob.com>
23592
23593 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23594 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23595 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23596 * sysdeps/i386/configure: Regenerated.
23597 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23598 * sysdeps/mach/configure: Regenerated.
23599 * sysdeps/mach/hurd/configure: Regenerated.
23600 * sysdeps/powerpc/configure: Regenerated.
23601 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23602 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23603 * sysdeps/s390/s390-32/configure: Regenerated.
23604 * sysdeps/s390/s390-64/configure: Regenerated.
23605 * sysdeps/sh/configure: Regenerated.
23606 * sysdeps/sparc/configure: Regenerated.
23607 * sysdeps/unix/sysv/linux/configure: Regenerated.
23608 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23609 * sysdeps/x86_64/configure: Regenerated.
23610
23611 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23612 defined. Don't check if MAP is NULL.
23613
23614 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23615
23616 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23617 (_G_stat64): Likewise.
23618 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23619 (_G_stat64): Likewise.
23620 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23621 instead of struct _G_stat64.
23622 * libio/fileops.c (mmap_remap_check): Likewise.
23623 (decide_maybe_mmap): Likewise.
23624 (_IO_new_file_seekoff): Likewise.
23625 (_IO_file_stat): Likewise.
23626 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23627 _G_off64_t.
23628 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23629 instead of struct _G_stat64.
23630 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23631
23632 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23633
23634 [BZ #14602]
23635 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23636 Replace with ...
23637 (CHECK_EOL): New macro.
23638 (two_way_short_needle): Check beginning of haystack for EOL. Use
23639 CHECK_EOL.
23640 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23641 Replace with CHECK_EOL.
23642 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23643 Replace with CHECK_EOL.
23644
23645 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23646
23647 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23648 type-generic.
23649 * math/libm-test.inc: Update comment listing what functions and
23650 macros are tested.
23651 (finite_test): New function.
23652 (isinf_test): Likewise.
23653 (isnan_test): Likewise.
23654 (fpclassify_test): Test subnormal input.
23655 (isfinite_test): Likewise.
23656 (isnormal_test): Likewise.
23657 (main): Call the new functions.
23658
23659 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23660
23661 [BZ #14660]
23662 * Makerules (%.dynsym): Force C locale when running
23663 $(OBJDUMP) --dynamic-syms.
23664
23665 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23666
23667 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23668 <stdint.h>.
23669
23670 2012-10-06 David S. Miller <davem@davemloft.net>
23671
23672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23673 upper 32-bits of the length value in %o2 since we use branch-on-register
23674 tests which consider the entire 64-bit register.
23675
23676 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23677
23678 * string/test-strstr.c (check2): Add a test for page boundary.
23679
23680 2012-10-05 David S. Miller <davem@davemloft.net>
23681
23682 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23683 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23684 file.
23685 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23686 sysdep_routines.
23687 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23688 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23689 and bzero when HWCAP_SPARC_CRYPTO is present.
23690
23691 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23692
23693 [BZ #14602]
23694 * string/test-strstr.c (check2): New function.
23695 (test_main): Call check2.
23696
23697 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23698 and bug-strchr1.
23699 * string/bug-strcasestr1.c (do_test): Moved to ...
23700 * string/test-strcasestr.c (check1): Here. New function.
23701 (do_one_test): Break out result checking code into ...
23702 (check_result): This. New function.
23703 (do_one_test): Call check_result.
23704 (test_main): Call check1.
23705 * string/bug-strchr1.c (do_test): Moved to ...
23706 * string/test-strchr.c (check1): Here. New function.
23707 (do_one_test): Break out result checking code into ...
23708 (check_result): This. New function.
23709 (do_one_test): Call check_result.
23710 (test_main): Call check1.
23711 * string/bug-strstr1.c (main): Moved to ...
23712 * string/test-strstr.c (check1): Here. New function.
23713 (do_one_test): Break out result checking code into ...
23714 (check_result): This. New function.
23715 (do_one_test): Call check_result.
23716 (test_main): Call check1.
23717 * string/bug-strcasestr1.c: Removed.
23718 * string/bug-strchr1.c: Likewise.
23719 * string/bug-strstr1.c: Likewise.
23720
23721 * elf/Makefile (dl-routines): Add hwcaps.
23722 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23723 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23724 (_dl_important_hwcaps): Moved to ...
23725 * elf/dl-hwcaps.c: Here. New file.
23726 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23727
23728 [BZ #14557]
23729 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23730 if IS_IN_rtld isn't defined.
23731
23732 * elf/dl-support.c (_dl_sysinfo_map): New.
23733 Include "get-dynamic-info.h" and "setup-vdso.h".
23734 (_dl_non_dynamic_init): Call setup_vdso.
23735 * elf/dynamic-link.h: Don't include <assert.h>.
23736 (elf_get_dynamic_info): Moved to ...
23737 * elf/get-dynamic-info.h: Here. New file.
23738 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23739 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23740 * elf/setup-vdso.h: Here. New file.
23741 * elf/rtld.c: Include "setup-vdso.h".
23742 (dl_main): Call setup_vdso.
23743
23744 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23745
23746 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23747 creal in comment listing functions tested. List finite, isinf,
23748 isnan, isless, islessequal, isgreater, isgreaterequal,
23749 islessgreater, isunordered, lgamma_r and pow10 as functions and
23750 macros not tested. Mention which functions not tested are aliases
23751 for other functions. Fix typo. Note that signs of NaNs are not
23752 tested.
23753
23754 * scripts/config.guess: Update from config.git.
23755 * scripts/config.sub: Likewise.
23756
23757 2012-10-04 Roland McGrath <roland@hack.frob.com>
23758
23759 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23760 * misc/madvise.c (madvise): Renamed to __madvise.
23761 Make madvise a weak alias.
23762 * include/sys/mman.h: Declare __madvise.
23763 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23764 * sysdeps/unix/syscalls.list
23765 (madvise): Make __madvise the strong name, and madvise a weak alias.
23766 * sysdeps/unix/sysv/linux/syscalls.list
23767 (madvise, mmap): Remove redundant entries.
23768 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23769 * malloc/malloc.c (mtrim): Likewise.
23770 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23771
23772 2012-10-03 Roland McGrath <roland@hack.frob.com>
23773
23774 * sysdeps/mach/hurd/dl-cache.c: File removed.
23775 * config.h.in (USE_LDCONFIG): New #undef.
23776 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23777 * configure: Regenerated.
23778 * elf/Makefile (dl-routines): Add dl-cache only under
23779 [$(use-ldconfig) = yes].
23780 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23781 cache on [USE_LDCONFIG].
23782 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23783 [USE_LDCONFIG].
23784 * elf/rtld.c (dl_main): Likewise.
23785
23786 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23787
23788 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23789 _SC_LEVEL4_CACHE_LINESIZE.
23790
23791 2012-10-03 Roland McGrath <roland@hack.frob.com>
23792
23793 * sysdeps/unix/bsd/confstr.h: File removed.
23794
23795 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23796
23797 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23798 sys/sdt-config.h.
23799
23800 2012-10-02 Roland McGrath <roland@hack.frob.com>
23801
23802 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23803 Make 'mapoff' field ElfW(Off) rather than off_t.
23804
23805 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23806
23807 * nscd/Makefile: Remove nscd-cflags and all its users.
23808 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23809 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23810
23811 [BZ #10631]
23812 * malloc.c (malloc_printerr): Clarify error message.
23813
23814 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23815
23816 [BZ #14648]
23817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23818 Set bit_FMA_Usable if FMA is supported.
23819 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23820 macro.
23821 (bit_FMA4_Usable): Updated.
23822 (index_FMA_Usable): New macro.
23823 (CPUID_FMA): Likewise
23824 (HAS_FMA): Defined with bit_FMA_Usable.
23825
23826 2012-10-01 Roland McGrath <roland@hack.frob.com>
23827
23828 * bits/types.h (__swblk_t): Type removed.
23829 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23830 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23831 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23832 (__SWBLK_T_TYPE): Likewise.
23833 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23834 (__SWBLK_T_TYPE): Likewise.
23835 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23836 (__SWBLK_T_TYPE): Likewise.
23837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23838 (__SWBLK_T_TYPE): Likewise.
23839
23840 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23841 Honza Horak <hhorak@redhat.com>
23842
23843 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23844 (xdr_mapname): Use YPMAXMAP as maxsize.
23845 (xdr_peername): Use YPMAXPEER as maxsize.
23846 (xdr_keydat): Use YPAXRECORD as maxsize.
23847 (xdr_valdat): Use YPMAXRECORD as maxsize.
23848
23849 2012-10-01 Roland McGrath <roland@hack.frob.com>
23850
23851 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23852
23853 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23854 * csu/init-first.c: ... here.
23855 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23856 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23857 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23858 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23859 * sysdeps/i386/init-first.c: File removed.
23860 * sysdeps/sh/init-first.c: File removed.
23861
23862 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23863
23864 [BZ #14645]
23865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23866 if x * y might underflow to zero and z is zero.
23867 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23868 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23869 * math/libm-test.inc (min_subnorm_value): New variable.
23870 (fma_test): Add more tests.
23871 (fma_test_towardzero): Likewise.
23872 (fma_test_downward): Likewise
23873 (fma_test_upward): Likewise.
23874 (initialize): Set min_subnorm_value.
23875
23876 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23877
23878 [BZ #14638]
23879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23880 0 + 0.
23881 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23882 mode for addition resulting in exact zero.
23883 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23885 exact 0 + 0.
23886 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23887 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23888 * math/libm-test.inc (fma_test): Add more tests.
23889 (fma_test_towardzero): New function.
23890 (fma_test_downward): Likewise.
23891 (fma_test_upward): Likewise.
23892 (main): Call the new functions.
23893
23894 2012-09-28 David S. Miller <davem@davemloft.net>
23895
23896 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23897
23898 2012-09-28 Roland McGrath <roland@hack.frob.com>
23899
23900 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23901 instead of SIGALRM.
23902
23903 * sysdeps/gnu/_G_config.h: Moved to ...
23904 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23905 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23906 * sysdeps/generic/_G_config.h: ... here.
23907
23908 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23909
23910 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23911
23912 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23913 Conditionalize target on [libnss_test1.so-version].
23914
23915 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23916
23917 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23918 (elfobjdir): Move out of conditionals.
23919
23920 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23921 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23922 (__nss_lookup_function): Conditionalize label remove_from_tree on
23923 [!DO_STATIC_NSS || SHARED], matching its only use.
23924
23925 2012-09-28 David S. Miller <davem@davemloft.net>
23926
23927 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23928 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23929 file.
23930 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23931 sysdep_routines.
23932 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23933 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23934 when HWCAP_SPARC_CRYPTO is present.
23935
23936 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23937
23938 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23939
23940 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23941
23942 [BZ #6530]
23943 * stdio-common/vfprintf.c (process_string_arg): Revert
23944 2000-07-22 change.
23945
23946 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23947
23948 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23949 for testcase.
23950 * stdio-common/tst-sprintf.c: Include <locale.h>
23951 (main): Test sprintf's handling of incomplete multibyte
23952 characters.
23953
23954 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23955
23956 * elf/dl-runtime.c (VERSYMIDX): Removed.
23957 * elf/dl-version.c (VERSYMIDX): Likewise.
23958 * elf/do-rel.h (VERSYMIDX): Likewise.
23959 (VALIDX): Likewise.
23960 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23961 * elf/rtld.c (VALIDX): Likewise.
23962 (ADDRIDX): Likewise.
23963 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23964 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23965 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23966 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23967 (VALIDX): Likewise.
23968 (ADDRIDX): Likewise.
23969
23970 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23971
23972 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23973
23974 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23975
23976 [BZ #11438]
23977 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23978 to global scope.
23979 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23980 addresses are in the same scope as 192.0.2/24.
23981 * posix/gai.conf: Document new scope table defaults.
23982
23983 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23984
23985 [BZ #5298]
23986 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23987 for ftell. Compute offsets from write pointers instead.
23988 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23989
23990 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23991
23992 [BZ #14543]
23993 * libio/Makefile (tests): New test case tst-fseek.
23994 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23995 combination works in wide mode.
23996 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23997 state when the external buffer state changes.
23998
23999 2012-09-27 David S. Miller <davem@davemloft.net>
24000
24001 [BZ #14376]
24002 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24003 pass reloc->r_addend in as the 'high' argument to
24004 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24005
24006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24007
24008 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24009
24010 * rt/tst-aio2.c: Include <pthread.h>.
24011 * rt/tst-aio3.c: Likewise.
24012
24013 2012-09-27 Steve Ellcey <sellcey@mips.com>
24014
24015 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24016
24017 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24018
24019 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24020 contents on [SHARED].
24021
24022 2012-09-26 Marek Polacek <polacek@redhat.com>
24023
24024 [BZ #14530]
24025 [BZ #13741]
24026 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24027 for C++ and GCC <4.3 as well as for non GCC compilers.
24028
24029 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24030
24031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24032
24033 2012-09-25 Roland McGrath <roland@hack.frob.com>
24034
24035 * Makefile.in (all, install): Declare with .PHONY.
24036 Reported by Michael Hope <michael.hope@linaro.org>.
24037
24038 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24039
24040 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24041 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24042 system header.
24043 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24044 Likewise.
24045 (sydep_routines): Add the new and the internal functions.
24046 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24047 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24049 (GLIBC_2.17): Add the new function.
24050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24051 (GLIBC_2.17): Likewise.
24052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24053 (GLIBC_2.17): Likewise.
24054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24055 (GLIBC_2.17): Likewise.
24056 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24057
24058 2012-09-25 Alan Modra <amodra@gmail.com>
24059
24060 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24061 Add release barrier before setting once_control to say
24062 initialisation is done. Add hints on lwarx. Use macro in
24063 place of isync.
24064 (clear_once_control): Add release barrier.
24065
24066 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24067
24068 [BZ #13629]
24069 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24070 specially.
24071 * math/s_clog10.c (__clog10): Likewise.
24072 * math/s_clog10f.c (__clog10f): Likewise.
24073 * math/s_clog10l.c (__clog10l): Likewise.
24074 * math/s_clogf.c (__clogf): Likewise.
24075 * math/s_clogl.c (__clogl): Likewise.
24076 * math/Makefile (libm-calls): Add x2y2m1.
24077 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24078 (__x2y2m1): Likewise.
24079 (__x2y2m1l): Likewise.
24080 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24081 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24082 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24083 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24084 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24085 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24086 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24087 * sysdeps/i386/fpu/libm-test-ulps: Update.
24088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24089
24090 [BZ #14621]
24091 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24092 int as type of variable DEPTH.
24093 (glob): Use size_t instead of int as type of variables NEWCOUNT
24094 and OLD_PATHC.
24095
24096 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24097
24098 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24099 Add s_sincosf-sse2.
24100 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24101 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24102 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24103 macros for using routine as __sincosf_ia32.
24104 Use macro for function declaration and weak_alias.
24105 * sysdeps/i386/fpu/libm-test-ulps: Update.
24106
24107 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24109
24110 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24111 subnormal argument.
24112 * math/s_cexpf.c (__cexpf): Likewise.
24113 * math/s_csinf.c (__csinf): Likewise.
24114 * math/s_csinhf.c (__csinhf): Likewise.
24115 * math/s_ctanf.c (__ctanf): Likewise.
24116 * math/s_ctanhf.c (__ctanhf): Likewise.
24117 * math/s_ccosh.c (__ccoshf): Likewise.
24118 * math/s_cexp.c (__cexpl): Likewise.
24119 * math/s_csin.c (__csin): Likewise.
24120 * math/s_csinh.c (__csinh): Likewise.
24121 * math/s_ctan.c (__ctan): Likewise.
24122 * math/s_ctanh.c (ctanh): Likewise.
24123 * math/s_ccoshl.c (__ccoshl): Likewise.
24124 * math/s_cexpl.c (__cexpl): Likewise.
24125 * math/s_csinl.c (__csinl): Likewise.
24126 * math/s_csinhl.c (__csinhl): Likewise.
24127 * math/s_ctanl.c (__ctanl): Likewise.
24128 * math/s_ctanhl.c (__ctanhl): Likewise.
24129
24130 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24131
24132 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24133 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24134 (_IO_off_t): Define to __off_t, not _G_off_t.
24135 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24136 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24137 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24138 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24139 type of __dummy and __dummy2 fields.
24140 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24141 (_G_ssize_t): Likewise.
24142 (_G_off_t): Likewise.
24143 (_G_pid_t): Likewise.
24144 (_G_uid_t): Likewise.
24145 (_G_wchar_t): Likewise.
24146 (_G_wint_t): Likewise.
24147 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24148 (_G_ssize_t): Likewise.
24149 (_G_off_t): Likewise.
24150 (_G_pid_t): Likewise.
24151 (_G_uid_t): Likewise.
24152 (_G_wchar_t): Likewise.
24153 (_G_wint_t): Likewise.
24154 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24155 (_G_ssize_t): Likewise.
24156 (_G_off_t): Likewise.
24157 (_G_pid_t): Likewise.
24158 (_G_uid_t): Likewise.
24159 (_G_wchar_t): Likewise.
24160 (_G_wint_t): Likewise.
24161
24162 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24163
24164 * malloc/arena.c: Include malloc-sysdep.h.
24165 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24166 is sufficient to shrink the heap or an unmap is needed.
24167 * sysdeps/generic/malloc-sysdep.h: New file. Define
24168 new function check_may_shrink_heap.
24169 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24170 new function check_may_shrink_heap.
24171
24172 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24173
24174 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24175 comments.
24176
24177 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24178
24179 * catgets/test-gencat.sh: Add "set -e".
24180 * elf/tst-pathopt.sh: Likewise.
24181 * grp/tst_fgetgrent.sh: Likewise.
24182 * iconvdata/run-iconv-test.sh: Likewise.
24183 * intl/tst-gettext.sh: Likewise.
24184 * intl/tst-gettext2.sh: Likewise.
24185 * intl/tst-gettext4.sh: Likewise.
24186 * intl/tst-gettext6.sh: Likewise.
24187 * intl/tst-translit.sh: Likewise.
24188 * io/ftwtest-sh: Likewise.
24189 * libio/test-freopen.sh: Likewise.
24190 * malloc/tst-mtrace.sh: Likewise.
24191 * posix/globtest.sh: Likewise.
24192 * posix/tst-getconf.sh: Likewise.
24193 * posix/wordexp-tst.sh: Likewise.
24194 * stdio-common/tst-printf.sh: Likewise.
24195 * stdio-common/tst-unbputc.sh: Likewise.
24196 * stdlib/tst-fmtmsg.sh: Likewise.
24197 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24198 * catgets/Makefile: Do not specify -e option when running
24199 testsuite shell scripts.
24200 * elf/Makefile: Likewise.
24201 * grp/Makefile: Likewise.
24202 * iconvdata/Makefile: Likewise.
24203 * intl/Makefile: Likewise.
24204 * io/Makefile: Likewise.
24205 * libio/Makefile: Likewise.
24206 * malloc/Makefile: Likewise.
24207 * posix/Makefile: Likewise.
24208 * stdio-common/Makefile: Likewise.
24209 * stdlib/Makefile: Likewise.
24210 * sysdeps/x86_64/Makefile: Likewise.
24211
24212 * io/ftwtest-sh: Add copyright header.
24213 * posix/globtest.sh: Likewise.
24214 * posix/tst-getconf.sh: Likewise.
24215 * posix/wordexp-tst.sh: Likewise.
24216 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24217
24218 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24219
24220 [BZ #13679]
24221 * Makeconfig (+link): Defined as $(+link-static) if
24222 $(build-shared) isn't yes.
24223 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24224 isn't yes.
24225 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24226
24227 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24228
24229 [BZ #14562]
24230 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24231 new chunk size with MALLOC_ALIGN_MASK.
24232
24233 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24234
24235 [BZ #5044]
24236 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24237 <rounding-mode.h>.
24238 (__printf_fphex): Determine rounding using get_rounding_mode and
24239 round_away.
24240 * stdio-common/tst-printf-round.c (struct hex_test): New
24241 structure.
24242 (hex_tests): New variable.
24243 (test_hex_in_one_mode): New function.
24244 (do_test): Also run tests for hex float output.
24245
24246 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24247
24248 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24249 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24250 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24251 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24252 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24253 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24254 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24255 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24256
24257 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24258
24259 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24260 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24261 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24262 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24263
24264 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24265
24266 [BZ #14579]
24267 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24268 mode only.
24269 * elf/tst-rtld-load-self.sh: New test.
24270 * elf/Makefile: Run it.
24271
24272 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24273
24274 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24275 (tst-writev-ENV): Remove.
24276 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24277
24278 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24279
24280 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24281
24282 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24283
24284 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24285 unconditional.
24286 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24287 Likewise.
24288 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24289 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24290 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24291 Likewise.
24292
24293 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24294
24295 [BZ #14587]
24296 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24297 * config.make.in (have-cpp-asm-debuginfo): Removed.
24298 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24299 * configure: Regenerated.
24300
24301 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24302
24303 [BZ #5044]
24304 * stdio-common/printf_fp.c: Include <stdbool.h> and
24305 <rounding-mode.h>.
24306 (___printf_fp): Determine rounding using get_rounding_mode and
24307 round_away.
24308 * stdio-common/tst-printf-round.c: New file.
24309 * stdio-common/Makefile (tests): Add tst-printf-round.
24310 (link-libm): New variable.
24311 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24312
24313 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24314
24315 [BZ #14576]
24316 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24317 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24318 Likewise.
24319 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24320 Likewise.
24321
24322 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24323
24324 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24325 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24326 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24327 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24328
24329 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24330
24331 [BZ #14518]
24332 * include/rounding-mode.h: New file.
24333 * sysdeps/generic/get-rounding-mode.h: Likewise.
24334 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24335 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24336 (MAX_VALUE): New macro.
24337 (MIN_VALUE): Likewise.
24338 (overflow_value): New function.
24339 (underflow_value): Likewise.
24340 (round_and_return): Use overflow_value and underflow_value to
24341 determine return values in overflow and underflow cases. Use
24342 round_away to determine rounding depending on rounding mode.
24343 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24344 determine return values in overflow and underflow cases.
24345 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24346 (struct test_results): New structure.
24347 (struct test): Use struct test_results to store expected results
24348 for all rounding modes.
24349 (TEST): Include expected results for all rounding modes.
24350 (test_in_one_mode): New function.
24351 (do_test): Use test_in_one_mode to compute and check results.
24352 Check results for all rounding modes.
24353 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24354 $(link-libm).
24355
24356 2012-12-09 Allan McRae <allan@archlinux.org>
24357
24358 * sysdeps/i386/fpu/libm-test-ulps: Update
24359
24360 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24361
24362 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24363 (_G_int32_t): Likewise.
24364 (_G_uint16_t): Likewise.
24365 (_G_uint32_t): Likewise.
24366 (_G_HAVE_BOOL): Likewise.
24367 (_G_HAVE_ATEXIT): Likewise.
24368 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24369 (_G_HAVE_IO_FILE_OPEN): Likewise.
24370 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24371 (_G_int32_t): Likewise.
24372 (_G_uint16_t): Likewise.
24373 (_G_uint32_t): Likewise.
24374 (_G_HAVE_BOOL): Likewise.
24375 (_G_HAVE_ATEXIT): Likewise.
24376 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24377 (_G_HAVE_IO_FILE_OPEN): Likewise.
24378 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24379 (_G_int32_t): Likewise.
24380 (_G_uint16_t): Likewise.
24381 (_G_uint32_t): Likewise.
24382 (_G_HAVE_BOOL): Likewise.
24383 (_G_HAVE_ATEXIT): Likewise.
24384 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24385 (_G_HAVE_IO_FILE_OPEN): Likewise.
24386
24387 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24388
24389 * csu/libc-tls.c: Update copyright years.
24390
24391 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24392
24393 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24394 [!_G_USING_THUNKS]: Remove conditional code.
24395 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24396 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24397
24398 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24399 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24400 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24401 (_G_VTABLE_LABEL_PREFIX): Likewise.
24402 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24403 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24404 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24405 (_G_VTABLE_LABEL_PREFIX): Likewise.
24406 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24407 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24408 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24409 (_G_VTABLE_LABEL_PREFIX): Likewise.
24410 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24411
24412 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24413
24414 * libio/Makefile: Include ../Makeconfig before tests.
24415 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24416 only if $(build-shared) is yes.
24417
24418 * iconv/gconv_db.c: Update copyright years.
24419
24420 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24421
24422 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24423 unwind info if defined PIC. Fix special cases description.
24424 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24425
24426 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24427 DP_HI_MASK entry.
24428 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24429
24430 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24431
24432 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24433
24434 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24435 is NULL.
24436
24437 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24438 (LDLIBS-tst-chk4): This.
24439 (LDFLAGS-tst-chk5): Renamed to ...
24440 (LDLIBS-tst-chk5): This.
24441 (LDFLAGS-tst-chk6): Renamed to ...
24442 (LDLIBS-tst-chk6): This.
24443 (LDFLAGS-tst-lfschk4): Renamed to ...
24444 (LDLIBS-tst-lfschk4): This.
24445 (LDFLAGS-tst-lfschk5): Renamed to ...
24446 (LDLIBS-tst-lfschk5): This.
24447 (LDFLAGS-tst-lfschk6): Renamed to ...
24448 (LDLIBS-tst-lfschk6): This.
24449
24450 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24451 on $(common-objpfx)soversions.mk.
24452
24453 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24454
24455 [BZ #10014]
24456 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24457 example host name.
24458
24459 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24460
24461 * malloc/arena.c (arena_get_retry): New function that gets
24462 another arena for the caller to try its request on.
24463 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24464 current arena cannot fulfill the request.
24465 (__libc_memalign): Likewise.
24466 (__libc_memalign): Likewise.
24467 (__libc_pvalloc): Likewise.
24468 (__libc_calloc): Likewise.
24469
24470 2012-09-05 John Tobey <john.tobey@gmail.com>
24471
24472 [BZ #13542]
24473 * manual/arith.texi (Operations on Complex): Fix description
24474 of carg branch cut.
24475
24476 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24477
24478 [BZ #10014]
24479 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24480 host name.
24481
24482 [BZ #10038]
24483 * manual/memory.texi (Memory): Make order of menu items match
24484 order of sections.
24485
24486 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24487
24488 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24489 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24490 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24491
24492 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24493
24494 * csu/libc-tls.c (static_dtv): Renamed to ...
24495 (_dl_static_dtv): This. Make it global.
24496 (_dl_initial_dtv): Removed.
24497 (__libc_setup_tls): Updated.
24498 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24499 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24500 DL_INITIAL_DTV.
24501
24502 2012-09-06 Petr Machata <pmachata@redhat.com>
24503
24504 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24505 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24506 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24507 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24508
24509 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24510
24511 [BZ #14545]
24512 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24513 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24514 freeing dtv[-1].
24515
24516 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24517
24518 [BZ #14544]
24519 * Makeconfig (link-static-before-libc): Replace $(+prector)
24520 with $(+prectorT).
24521 (link-static-after-libc): Replace $(+postctor) with
24522 $(+postctorT).
24523 (link-bounded): Replace $(+prector)/$(+postctor) with
24524 $(+prectorT)/$(+postctorT).
24525 (+prectorT): New macro.
24526 (+postctorT): Likewise.
24527
24528 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24529
24530 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24531 (round_str): Handle values above the maximum for IBM long double
24532 as inexact.
24533 * stdlib/tst-strtod-round.c (tests): Regenerated.
24534
24535 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24536
24537 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24538 assembler flag.
24539 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24540 zarch_nohighgprs around the zarch optimized routines.
24541 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24542 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24543 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24544 for zarch.
24545
24546 2012-09-05 David S. Miller <davem@davemloft.net>
24547
24548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24549
24550 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24551 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24552 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24553 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24554 entries.
24555
24556 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24557
24558 * malloc/arena.c: Fold copyright years.
24559 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24560
24561 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24562
24563 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24564
24565 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24566
24567 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24568
24569 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24570
24571 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24572 change internal state upon failure.
24573
24574 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24575
24576 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24577 * malloc/memusage.c (mmap): Likewise.
24578 (mmap64, mremap): Likewise. Adjust name in comment.
24579
24580 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24581
24582 * libio/fileops.c: Fix typos in comments.
24583 * libio/oldfileops.c: Likewise.
24584 * libio/wfileops.c: Likewise.
24585
24586 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24587
24588 [BZ #1349]
24589 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24590 (tst-malloc-usable-ENV): Set environment for test case.
24591 * malloc/hooks.c (malloc_check_get_size): New function to get
24592 requested size.
24593 * malloc/malloc.c (musable): Use malloc_check_get_size.
24594 * malloc/tst-malloc-usable.c: New test case.
24595
24596 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24597
24598 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24599
24600 2012-09-05 Allan McRae <allan@archlinux.org>
24601
24602 [BZ #13966]
24603 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24604 determine header location.
24605 * configure: Regenerated.
24606
24607 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24608
24609 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24610 float format.
24611 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24612 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24613 format.
24614 (test): Regenerate.
24615
24616 2012-09-04 David S. Miller <davem@davemloft.net>
24617
24618 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24619 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24620 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24621
24622 2012-09-04 Florian Weimer <fweimer@redhat.com>
24623
24624 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24625 failures.
24626
24627 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24628
24629 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24630
24631 [BZ #9914]
24632 * libio/iogetdelim.c: Include <limits.h>.
24633 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24634 + len + 1 would overflow.
24635
24636 2012-09-03 Andreas Jaeger <aj@suse.de>
24637
24638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24639 * sysdeps/i386/fpu/libm-test-ulps: Update.
24640
24641 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24642
24643 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24644 Add s_sinf-sse2, s_conf-sse2.
24645
24646 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24647 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24648 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24649 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24650
24651 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24652 for using routine as __sinf_ia32.
24653 Use macro for function declaration and weak_alias.
24654 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24655 for using routine as __cosf_ia32.
24656 Use macro for function declaration and weak_alias.
24657
24658 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24659 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24660
24661 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24662 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24664
24665 * math/libm-test.inc (cos_test): Add more test cases.
24666 (sin_test): Likewise.
24667 (sincos_test): Likewise.
24668
24669 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24670
24671 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24672 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24673 hidden.
24674 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24675
24676 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24677
24678 [BZ #14538]
24679 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24680 first element of the GOT.
24681 (elf_machine_load_address): Return the difference between
24682 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24683
24684 2012-09-01 Allan McRae <allan@archlinux.org>
24685
24686 [BZ #13412]
24687 * configure.in (AWK): Require gawk version 3.0 or later.
24688 * configure: Regenerated.
24689
24690 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24691
24692 * sysdeps/unix/sysv/linux/kernel-features.h
24693 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24694 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24695 [__NR_clock_getres]: Make code unconditional.
24696 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24697 (clock_getcpuclockid): Remove code left unreachable by removal of
24698 conditionals.
24699 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24700 code unconditional.
24701 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24702 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24703 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24704 Make code unconditional.
24705 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24706 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24707 * sysdeps/unix/sysv/linux/clock_settime.c
24708 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24709 conditional code.
24710 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24711 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24712
24713 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24714
24715 [BZ #14476]
24716 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24717 scripts/test-installation.pl.
24718
24719 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24720 and $ld_so_version if it is set.
24721
24722 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24723
24724 [BZ #14516]
24725 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24726 failure if reading from procfs failed.
24727 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24728
24729 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24730
24731 * sysdeps/unix/sysv/linux/kernel-features.h
24732 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24733 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24734 Remove conditional code.
24735 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24736 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24737 Remove conditional code.
24738 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24739 * sysdeps/unix/sysv/linux/i386/fxstat.c
24740 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24741 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24742 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24743 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24744 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24745 * sysdeps/unix/sysv/linux/i386/lxstat.c
24746 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24747 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24748 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24749 Remove conditional code.
24750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24751 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24752 Remove conditional code.
24753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24754 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24755 <kernel-features.h>.
24756 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24757 Remove.
24758 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24759 Remove conditional code.
24760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24761 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24762 Remove conditional.
24763
24764 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24765
24766 [BZ #5400]
24767 * NEWS: Add fixed bug number.
24768
24769 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24770
24771 [BZ #14519]
24772 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24773 underflowing exponent in case of negative sign.
24774 * stdlib/tst-strtod-round-data: Add more tests.
24775 * stdlib/tst-strtod-round.c (tests): Regenerated.
24776
24777 [BZ #3479]
24778 * stdlib/strtod_l.c (NDIG): Remove.
24779 (HEXNDIG): Likewise.
24780 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24781 smallest representable value.
24782 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24783 lie within an exact representation of 1/2 ulp of the result.
24784 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24785 unconditionally.
24786 (TENS_P9_IDX): Define unconditionally.
24787 (TENS_P9_SIZE): Likewise.
24788 (TENS_P10_IDX): Likewise.
24789 (TENS_P10_SIZE): Likewise.
24790 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24791 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24792 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24793 entries for 10^2^13 and 10^2^14.
24794 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24795 (TENS_P13_IDX): Define.
24796 (TENS_P13_SIZE): Likewise.
24797 (TENS_P14_IDX): Likewise.
24798 (TENS_P14_SIZE): Likewise.
24799 (_fpioconst_pow10): Change array size to
24800 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24801 unconditional.
24802 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24803 1024]: Add entries for 10^2^13 and 10^2^14.
24804 [LAST_POW10 > _LAST_POW10]: Remove #error.
24805 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24806 (_fpioconst_pow10): Change array size to
24807 FPIOCONST_POW10_ARRAY_SIZE.
24808 * stdlib/gen-fpioconst.c: New file.
24809 * stdlib/gen-tst-strtod-round.c: Likewise.
24810 * stdlib/tst-strtod-round-data: Likewise.
24811 * stdlib/tst-strtod-round.c: Likewise.
24812 * stdlib/Makefile (tests): Add tst-strtod-round.
24813
24814 [BZ #14459]
24815 * stdlib/strtod_l.c: Include <stdint.h>.
24816 (NDEBUG): Do not define.
24817 (round_and_return): Change EXPONENT parameter to type intmax_t.
24818 Rearrange calculations to avoid internal overflow possibilities.
24819 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24820 Rearrange calculations to avoid internal overflow possibilities.
24821 Assert that number fits inside MPNSIZE limbs.
24822 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24823 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24824 calculations and add assertions to avoid internal overflow
24825 possibilities. Add casts to avoid signed/unsigned operations.
24826 * stdlib/tst-strtod-overflow.c: New file.
24827 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24828
24829 2012-08-25 Marek Polacek <polacek@redhat.com>
24830
24831 * time/time.h: Fix some typos in comments.
24832
24833 2012-08-23 Roland McGrath <roland@hack.frob.com>
24834
24835 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24836 * posix/tst-rfc3484-2.c: Likewise.
24837 * posix/tst-rfc3484-3.c: Likewise.
24838
24839 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24840
24841 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24842 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24843
24844 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24845
24846 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24847 #include of fxstatat64.c.
24848
24849 2012-08-22 Roland McGrath <roland@hack.frob.com>
24850
24851 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24852 * shadow/getspent_r.c: Likewise.
24853 * shadow/getspnam.c: Likewise.
24854 * shadow/getspnam_r.c: Likewise.
24855 * gshadow/getsgent.c: Likewise.
24856 * gshadow/getsgent_r.c: Likewise.
24857 * gshadow/getsgnam.c: Likewise.
24858 * gshadow/getsgnam_r.c: Likewise.
24859 * inet/getnetbyad.c: Likewise.
24860 * inet/getnetbyad_r.c: Likewise.
24861 * inet/getnetbynm.c: Likewise.
24862 * inet/getnetbynm_r.c: Likewise.
24863 * inet/getnetent.c: Likewise.
24864 * inet/getnetent_r.c: Likewise.
24865 * inet/getproto.c: Likewise.
24866 * inet/getproto_r.c: Likewise.
24867 * inet/getprtent.c: Likewise.
24868 * inet/getprtent_r.c: Likewise.
24869 * inet/getprtname.c: Likewise.
24870 * inet/getprtname_r.c: Likewise.
24871 * inet/getrpcbyname.c: Likewise.
24872 * inet/getrpcbyname_r.c: Likewise.
24873 * inet/getrpcbynumber.c: Likewise.
24874 * inet/getrpcbynumber_r.c: Likewise.
24875 * inet/getrpcent.c: Likewise.
24876 * inet/getrpcent_r.c: Likewise.
24877 * inet/getaliasent.c: Likewise.
24878 * inet/getaliasent_r.c: Likewise.
24879 * inet/getaliasname.c: Likewise.
24880 * inet/getaliasname_r.c: Likewise.
24881 * nscd/getgrgid_r.c: Likewise.
24882 * nscd/getgrnam_r.c: Likewise.
24883 * nscd/gethstbyad_r.c: Likewise.
24884 * nscd/gethstbynm3_r.c: Likewise.
24885 * nscd/getpwnam_r.c: Likewise.
24886 * nscd/getpwuid_r.c: Likewise.
24887 * nscd/getsrvbynm_r.c: Likewise.
24888 * nscd/getsrvbypt_r.c: Likewise.
24889 * nscd/gai.c: Likewise.
24890
24891 * configure.in (build_nscd): New substituted variable, set
24892 by --disable-build-nscd and defaults to $use_nscd.
24893 * configure: Regenerated.
24894 * config.make.in (build-nscd): New substituted variable.
24895 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24896 Change conditional to require [$(build-nscd) = yes] as well.
24897 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24898
24899 [BZ# 13696]
24900 * configure.in (use_nscd): New substituted variable, set by
24901 --disable-nscd. If enabled, define USE_NSCD.
24902 * configure: Regenerated.
24903 * config.h.in: Add USE_NSCD.
24904 * config.make.in (use-nscd): New substituted variable.
24905 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24906 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24907 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24908 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24909 (CFLAGS-getgrnam_r.c): Likewise.
24910 (CFLAGS-initgroups.c): Likewise.
24911 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24912 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24913 Variables removed.
24914 * inet/getnetgrent_r.c
24915 (nscd_setnetgrent): New function, broken out of ...
24916 (setnetgrent): ... here. Call it.
24917 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24918 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24919 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24920 * nscd/Makefile (routines, aux): Move definitions after include of
24921 Makeconfig. Conditionalize on [$(use-nscd) != no].
24922 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24923 Conditionalize on [USE_NSCD].
24924 (is_nscd, nscd_init_cb): Likewise.
24925 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24926 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24927 * nss/nss_db/db-init.c: Likewise.
24928 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24929 [USE_NSCD].
24930 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24931 (make_request): Use it.
24932 (cache_valid_p): New function.
24933 (__check_pf): Use it.
24934 * NEWS: Add item for --disable-nscd.
24935
24936 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24937
24938 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24939 to support sed >= 4.2.1-20-ga9bf076.
24940 * configure: Regenerated.
24941
24942 2012-08-22 Roland McGrath <roland@hack.frob.com>
24943
24944 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24945 Conditionalize whole body on [IREL].
24946
24947 2012-08-22 Jeff Law <law@redhat.com>
24948
24949 [BZ #14505]
24950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24951 if the family is PF_UNSPEC.
24952
24953 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24954
24955 * Makerules (lib-version): Rename from V.
24956 (install-lib-nosubdir): Change V to lib-version.
24957
24958 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24959
24960 [BZ #14252]
24961 * powerpc32/power6/wcschr.c: New file.
24962 * powerpc32/power6/wcscpy.c: New file.
24963 * powerpc32/power6/wcsrchr.c: New file.
24964 * powerpc64/power6/wcschr.c: New file.
24965 * powerpc64/power6/wcscpy.c: New file.
24966 * powerpc64/power6/wcsrchr.c: New file.
24967
24968 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24969
24970 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24971 (two_way_short_needle): Use it.
24972 * string/strstr.c (AVAILABLE1_USES_J): Define.
24973 * string/strcasestr.c: Likewise.
24974
24975 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24976 array references.
24977 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24978
24979 [BZ #11607]
24980 * NEWS: Add an entry.
24981 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24982 define their defaults.
24983 (two_way_short_needle): Detect end-of-string on-the-fly.
24984 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24985 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24986 * string/bug-strcasestr1.c: New test.
24987 * string/Makefile: Run it.
24988
24989 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24990
24991 [BZ #11607]
24992 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24993 the first character.
24994
24995 2012-08-21 Roland McGrath <roland@hack.frob.com>
24996
24997 * csu/elf-init.c (__libc_csu_irel): Function removed.
24998 * csu/libc-start.c (apply_irel): New function.
24999 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25000
25001 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25002
25003 * sysdeps/unix/sysv/linux/kernel-features.h
25004 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25005 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25006 <kernel-features.h>.
25007 [__NR_fadvise64_64]: Make code unconditional.
25008 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25009 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25010 !__NR_fadvise64_64)]: Likewise.
25011 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25012 !__NR_fadvise64_64))]: Likewise.
25013 [__NR_fadvise64]: Make code unconditional.
25014 [!__NR_fadvise64]: Remove conditional code.
25015 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25016 <kernel-features.h>.
25017 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25018 unconditional.
25019 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25020 conditional code.
25021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25022 not include <kernel-features.h>.
25023 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25024 unconditional.
25025 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25026 conditional code.
25027 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25028 include <kernel-features.h>.
25029 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25030 unconditional.
25031 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25032 conditional code.
25033
25034 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25035
25036 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25037 slight instruction rearrangements per scrollpipe analysis.
25038 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25039
25040 2012-08-20 Roland McGrath <roland@hack.frob.com>
25041
25042 * manual/syslog.texi (syslog; vsyslog, closelog):
25043 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25044 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25045
25046 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25047 DSOCAPS to match condition on defining it.
25048
25049 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25050
25051 * sysdeps/unix/sysv/linux/kernel-features.h
25052 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25054 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25055 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25057 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25058 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25060 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25061 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25062
25063 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25064 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25065
25066 * sysdeps/unix/sysv/linux/kernel-features.h
25067 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25068 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25069 unconditional.
25070 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25071 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25072 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25073 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25074 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25075 Make code unconditional.
25076 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25077 (__mmap64) [!__NR_mmap2]: Likewise.
25078 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25079 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25080 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25081 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25082 [__NR_mmap2]: Make code unconditional.
25083 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25084 (__mmap64) [!__NR_mmap2]: Likewise.
25085
25086 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25087
25088 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25089
25090 2012-08-18 Andreas Jaeger <aj@suse.de>
25091
25092 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25093
25094 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25095
25096 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25097 * include/unistd.h (__have_sock_cloexec): Likewise.
25098 (__have_pipe2): Likewise.
25099 (__have_dup3): Likewise.
25100
25101 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25102
25103 [BZ #9685]
25104 * include/unistd.h (__have_pipe2): Change define into an extern int.
25105 (__have_dup3): Likewise.
25106 * socket/have_sock_cloexec.c: Include fcntl.h.
25107 (__have_pipe2): New variable.
25108 (__have_dup3): Likewise.
25109
25110 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25111
25112 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25113
25114 2012-08-17 Marek Polacek <polacek@redhat.com>
25115
25116 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25117 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25118
25119 2012-08-17 Roland McGrath <roland@hack.frob.com>
25120
25121 * configure.in: Add AC_SUBST for sysheaders.
25122 * configure: Regenerated.
25123 * config.make.in (sysheaders): New substituted variable.
25124
25125 * sysdeps/unix/mkfifo.c: Moved ...
25126 * sysdeps/posix/mkfifo.c: ... here.
25127 * sysdeps/unix/mkfifoat.c: Moved ...
25128 * sysdeps/posix/mkfifoat.c: ... here.
25129
25130 * sysdeps/unix/utime.c: Moved ...
25131 * sysdeps/posix/utime.c: ... here.
25132
25133 * sysdeps/unix/time.c: Moved ...
25134 * sysdeps/posix/time.c: ... here.
25135 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25136 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25137
25138 * sysdeps/unix/nice.c: Moved ...
25139 * sysdeps/posix/nice.c: ... here.
25140
25141 * sysdeps/unix/alarm.c: Moved ...
25142 * sysdeps/posix/alarm.c: ... here.
25143
25144 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25145
25146 2012-08-17 Jeff Law <law@redhat.com>
25147
25148 * intl/Makefile (codeset_mo): New variable.
25149 ($(codeset_mo)): New target.
25150 (tst-codeset.out): Depend on that. Remove explicit rule.
25151 (tst-gettext3.out, tst-gettext5.out): Likewise.
25152 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25153 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25154 * intl/tst-codeset.sh: Remove.
25155 * intl/tst-gettext3.sh: Likewise.
25156 * intl/tst-gettext5.sh: Likewise.
25157
25158 2012-08-17 Roland McGrath <roland@hack.frob.com>
25159
25160 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25161 * sysdeps/unix/syscalls.list: ... here.
25162
25163 * sysdeps/posix/getaddrinfo.c
25164 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25165 (gaiconf_init, gaiconf_reload): Use them.
25166 [!_STATBUF_ST_NSEC]
25167 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25168 Define using time_t rather than struct timespec.
25169
25170 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25171 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25172 Macros removed.
25173 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25174 [!NO_THREADS].
25175 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25176 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25177 Likewise.
25178
25179 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25180 __libc_cleanup_push argument.
25181
25182 * bits/param.h: New file.
25183 * misc/sys/param.h: New file.
25184 * include/sys/param.h: New file.
25185 * misc/Makefile (headers): Add bits/param.h.
25186 * sysdeps/generic/sys/param.h: File removed.
25187 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25188 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25189 * sysdeps/mach/hurd/bits/param.h: New file.
25190 * sysdeps/mach/hurd/sys/param.h: File removed.
25191
25192 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25193 last change.
25194
25195 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25196 [_IO_MTSAFE_IO].
25197 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25198 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25199 New macros.
25200
25201 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25202 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25203 rather than -D_IO_MTSAFE_IO conditionally.
25204 * stdio-common/Makefile (CPPFLAGS): Likewise.
25205 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25206 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25207 Use $(libio-mtsafe).
25208 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25209 of -D_IO_MTSAFE_IO.
25210 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25211 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25212 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25213 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25214 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25215 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25216 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25217 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25218 (CFLAGS-fread_u_chk.c): Likewise.
25219 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25220 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25221 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25222 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25223 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25224 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25225 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25226 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25227 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25228
25229 * libio/Makefile: Test [$(libc-reentrant) = yes]
25230 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25231
25232 * Makeconfig
25233 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25234 * sysdeps/pthread/configure: File removed.
25235 * sysdeps/pthread/Makeconfig: New file.
25236 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25237 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25238
25239 2012-08-16 Gary Benson <gbenson@redhat.com>
25240
25241 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25242 unmapping the first object in a namespace.
25243
25244 2012-08-16 Roland McGrath <roland@hack.frob.com>
25245
25246 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25247 (__internal_setnetgrent): ... this. Add internal_function to
25248 definition. Add libc_hidden_def.
25249 (setnetgrent): Update caller.
25250 (internal_endnetgrent): Renamed to ...
25251 (__internal_endnetgrent): ... this. Add internal_function to
25252 definition. Add libc_hidden_def.
25253 (endnetgrent): Update caller.
25254 (internal_getnetgrent_r): Renamed to ...
25255 (__internal_getnetgrent_r): ... this. Add internal_function to
25256 definition. Add libc_hidden_def.
25257 (__getnetgrent_r): Update caller.
25258 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25259
25260 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25261
25262 * stdlib/longlong.h: Update from GCC.
25263
25264 2012-08-16 Roland McGrath <roland@hack.frob.com>
25265
25266 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25267 on _QL, which is set by umul_ppmm but never used.
25268 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25269 variables, which are set by GMP macros but never used.
25270 * stdio-common/_itowa.c (_itowa): Likewise.
25271 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25272 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25273
25274 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25275
25276 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25277 struct La_sh_regs is not constant.
25278 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25279 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25280 and struct La_sparc64_regs are not constant.
25281
25282 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25283
25284 * sysdeps/unix/sysv/linux/kernel-features.h
25285 (__ASSUME_POSIX_TIMERS): Remove.
25286 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25287 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25288 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25289 Make code unconditional.
25290 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25291 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25292 Make code unconditional.
25293 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25294 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25295 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25296 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25297 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25298 Make code unconditional.
25299 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25300 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25301 (__libc_missing_posix_timers): Remove.
25302
25303 2012-08-15 Roland McGrath <roland@hack.frob.com>
25304
25305 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25306 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25307
25308 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25309
25310 * elf/dl-sym.c: Include <stdlib.h>.
25311
25312 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25313 constants, which avoids warnings in 32-bit builds.
25314
25315 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25316 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25317
25318 * misc/lseek.c: File moved to ...
25319 * io/lseek.c: ... here.
25320
25321 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25322
25323 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25324 shifting LEN more than 31 bits at once.
25325
25326 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25327
25328 [BZ #14195]
25329 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25330 segmentation fault for a case of two empty input strings.
25331 * string/test-strncasecmp.c (check1): Renamed to...
25332 (bz12205): ...this.
25333 (bz14195): Add new testcase for two empty input strings and N > 0.
25334 (test_main): Call new testcase, adapt for renamed function.
25335
25336 2012-08-15 Andreas Jaeger <aj@suse.de>
25337
25338 [BZ #14090]
25339 * crypt/md5test2.c: New test, based on test supplied by Serge
25340 Belyshev <belyshev@depni.sinp.msu.ru>.
25341 * crypt/Makefile (xtests): Add md5test-giant..
25342 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25343
25344 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25345
25346 [BZ #14090]
25347 * crypt/md5.c (md5_process_block): Don't assume the buffer
25348 length is less than 2**32.
25349 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25350 length is less than 2**64.
25351
25352 2012-08-15 Roland McGrath <roland@hack.frob.com>
25353
25354 * string/str-two-way.h: Include <sys/param.h>.
25355 (MAX): Macro removed.
25356
25357 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25358 Move #define and #undef of memmove to just before and after
25359 including <string.h>.
25360
25361 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25362 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25363 and after including <string.h>. Move declarations of
25364 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25365 to before #include "string/memmove.c".
25366
25367 * include/dirent.h: Declare __getdirentries.
25368
25369 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25370 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25371
25372 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25373
25374 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25375 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25376 * sysdeps/i386/configure: Regenerated.
25377 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25378 STABS_CURRENT_FILE, and STABS_FUN.
25379 (END): Remove call to STABS_FUN_END.
25380 (STABS_CURRENT_FILE1): Delete.
25381 (STABS_CURRENT_FILE): Likewise.
25382 (STABS_FUN): Likewise.
25383 (STABS_FUN_END): Likewise.
25384 (STABS_FUN2): Likewise.
25385 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25386 * sysdeps/x86_64/configure: Regenerated.
25387
25388 2012-08-14 Roland McGrath <roland@hack.frob.com>
25389
25390 * elf/dl-open.c: Include <atomic.h>.
25391 * elf/dl-lookup.c: Likewise.
25392
25393 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25394
25395 * sysdeps/unix/sysv/linux/kernel-features.h
25396 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25397 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25398 unconditionally.
25399 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25400 unconditionally.
25401 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25402 condition on __ASSUME_CLONE_THREAD_FLAGS.
25403
25404 2012-08-14 Andreas Jaeger <aj@suse.de>
25405
25406 * sysdeps/i386/fpu/libm-test-ulps: Update.
25407
25408 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25409
25410 * include/atomic.h (atomic_exchange_and_add): Split into ...
25411 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25412 New atomic macros.
25413
25414 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25415
25416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25417
25418 2012-08-13 Jeff Law <law@redhat.com>
25419
25420 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25421 null byte in the output string.
25422
25423 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25424
25425 * sysdeps/unix/sysv/linux/kernel-features.h
25426 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25427 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25428 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25429 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25430 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25431 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25432 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25433
25434 2012-08-09 Jeff Law <law@redhat.com>
25435
25436 [BZ #13939]
25437 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25438 When avoid_arena is set, don't retry in the that arena. Pick the
25439 next one, whatever it might be.
25440 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25441 (arena_lock): Pass in new parameter to arena_get2.
25442 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25443 arena_get2.
25444 (__libc_malloc): Unify retrying after main arena failure with
25445 __libc_memalign version.
25446 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25447
25448 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25449
25450 [BZ #14166]
25451 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25452 to __redirect_strstr.
25453 (__strstr_sse42): Use typeof __redirect_strstr.
25454 (__strstr_ia32): Likewise.
25455 (__libc_strstr): New prototype.
25456 (strstr): Renamed to ...
25457 (__libc_strstr): This.
25458 (strstr): New strong alias of __libc_strstr.
25459 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25460 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25461 __redirect_time.
25462 Include <time.h>.
25463 (__libc_time): New prototype.
25464 (time_ifunc): Replace time with __libc_time.
25465 (time): New strong alias and hidden definition of __libc_time.
25466 (__GI_time): Remove strong alias.
25467 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25468 Include <stddef.h>.
25469 (memmove): Redefined to __redirect_memmove.
25470 (__memmove_sse2): Use typeof __redirect_memmove.
25471 (__memmove_ssse3): Likewise.
25472 (__memmove_ssse3_back): Likewise.
25473 (__libc_memmove): New prototype.
25474 (memmove): Renamed to ...
25475 (__libc_memmove): This.
25476 (memmove): New strong alias of __libc_memmove.
25477
25478 2012-08-08 Mark Salter <msalter@redhat.com>
25479
25480 * elf/elf.h
25481 (R_MN10300_TLS_GD): Define.
25482 (R_MN10300_TLS_LD): Likewise.
25483 (R_MN10300_TLS_LDO): Likewise.
25484 (R_MN10300_TLS_GOTIE): Likewise.
25485 (R_MN10300_TLS_IE): Likewise.
25486 (R_MN10300_TLS_LE): Likewise.
25487 (R_MN10300_TLS_DTPMOD): Likewise.
25488 (R_MN10300_TLS_DTPOFF): Likewise.
25489 (R_MN10300_TLS_TPOFF): Likewise.
25490 (R_MN10300_SYM_DIFF): Likewise.
25491 (R_MN10300_ALIGN): Likewise.
25492 (R_MN10300_NUM): Update.
25493
25494 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25495
25496 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25497 Remove.
25498
25499 2012-08-08 Roland McGrath <roland@hack.frob.com>
25500
25501 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25502
25503 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25504 sysdeps/unix -> sysdeps/posix move.
25505 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25506
25507 2012-08-07 Allan McRae <allan@archlinux.org>
25508
25509 [BZ #14303]
25510 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25511 (SUNOS_CPP): Likewise.
25512 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25513 not found.
25514 (open_input): Call CPP using execvp.
25515
25516 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25517
25518 * sysdeps/unix/sysv/linux/kernel-features.h
25519 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25520 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25521 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25522 (__ASSUME_WAITID_SYSCALL): Likewise.
25523 * sysdeps/unix/sysv/linux/dl-execstack.c
25524 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25525 code unconditional.
25526 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25527 conditional code.
25528 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25529 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25530 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25531 code.
25532 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25533 unconditional.
25534 [__ASSUME_WAITID_SYSCALL]: Likewise.
25535 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25536
25537 2012-08-07 Roland McGrath <roland@hack.frob.com>
25538
25539 * sysdeps/unix/closedir.c: Renamed to ...
25540 * sysdeps/posix/closedir.c: ... here.
25541 * sysdeps/unix/dirfd.c: Renamed to ...
25542 * sysdeps/posix/dirfd.c: ... here.
25543 * sysdeps/unix/dirstream.h: Renamed to ...
25544 * sysdeps/posix/dirstream.h: ... here.
25545 * sysdeps/unix/fdopendir.c: Renamed to ...
25546 * sysdeps/posix/fdopendir.c: ... here.
25547 * sysdeps/unix/opendir.c: Renamed to ...
25548 * sysdeps/posix/opendir.c: ... here.
25549 * sysdeps/unix/readdir.c: Renamed to ...
25550 * sysdeps/posix/readdir.c: ... here.
25551 * sysdeps/unix/readdir_r.c: Renamed to ...
25552 * sysdeps/posix/readdir_r.c: ... here.
25553 * sysdeps/unix/rewinddir.c: Renamed to ...
25554 * sysdeps/posix/rewinddir.c: ... here.
25555 * sysdeps/unix/seekdir.c: Renamed to ...
25556 * sysdeps/posix/seekdir.c: ... here.
25557 * sysdeps/unix/telldir.c: Renamed to ...
25558 * sysdeps/posix/telldir.c: ... here.
25559 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25560 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25561 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25562 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25563
25564 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25565 * bits/fcntl.h: ... here.
25566
25567 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25568 not 0.
25569 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25570 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25571 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25572 (struct flock): Move l_start, l_len to the beginning.
25573 Use __pid_t for l_pid.
25574 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25575 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25576 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25577 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25578 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25579 [__USE_LARGEFILE64] (struct flock64): New type.
25580 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25581
25582 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25583 * bits/dirent.h: ... here.
25584
25585 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25586 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25587
25588 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25589
25590 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25591 Change from 2.6.0 to 2.6.16.
25592 * sysdeps/unix/sysv/linux/configure: Regenerated.
25593 * sysdeps/unix/sysv/linux/kernel-features.h
25594 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25595 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25596 version.
25597 (__ASSUME_UTIMES): Likewise.
25598 (__ASSUME_CLONE_STOPPED): Remove.
25599 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25600 architectures, not kernel version.
25601 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25602 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25603 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25604 (__ASSUME_WAITID_SYSCALL): Likewise.
25605 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25606 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25607 * README: State 2.6.16 as minimum Linux kernel version. Do not
25608 refer to older versions.
25609
25610 2012-08-06 Roland McGrath <roland@hack.frob.com>
25611
25612 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25613 Define alphasort64 as an alias.
25614 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25615 Define versionsort64 as an alias.
25616 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25617 Define scandir64 as an alias.
25618 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25619 Define scandirat64 as an alias.
25620 * dirent/alphasort64.c (alphasort64):
25621 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25622 * dirent/versionsort64.c: Likewise.
25623 * dirent/scandir64.c: Likewise.
25624 * dirent/scandirat64.c: Likewise.
25625 * sysdeps/wordsize-64/alphasort.c: File removed.
25626 * sysdeps/wordsize-64/alphasort64.c: File removed.
25627 * sysdeps/wordsize-64/scandir.c: File removed.
25628 * sysdeps/wordsize-64/scandir64.c: File removed.
25629 * sysdeps/wordsize-64/scandirat.c: File removed.
25630 * sysdeps/wordsize-64/scandirat64.c: File removed.
25631 * sysdeps/wordsize-64/versionsort.c: File removed.
25632 * sysdeps/wordsize-64/versionsort64.c: File removed.
25633 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25634 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25635 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25636 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25637 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25638 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25640 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25641
25642 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25644 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25646 [defined __arch64__ || defined __sparcv9]
25647 (__INO_T_MATCHES_INO64_T): New macro.
25648 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25649 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25650 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25651 * sysdeps/unix/sysv/linux/bits/dirent.h
25652 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25653 (_DIRENT_MATCHES_DIRENT64): New macro.
25654
25655 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25656 Define lockf64 as an alias.
25657 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25658 Define fseeko64 as an alias.
25659 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25660 Define ftello64 as an alias.
25661 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25662 Define _IO_fgetpos64 and fgetpos64 as aliases.
25663 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25664 Define _IO_fsetpos64 and fsetpos64 as aliases.
25665 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25666 Conditionalize body on this.
25667 * libio/fseeko64.c: Likewise.
25668 * libio/ftello64.c: Likewise.
25669 * libio/iofgetpos64.c: Likewise.
25670 * libio/iofsetpos64.c: Likewise.
25671 * sysdeps/wordsize-64/lockf.c: File removed.
25672 * sysdeps/wordsize-64/lockf64.c: File removed.
25673 * sysdeps/wordsize-64/fseeko.c: File removed.
25674 * sysdeps/wordsize-64/fseeko64.c: File removed.
25675 * sysdeps/wordsize-64/ftello.c: File removed.
25676 * sysdeps/wordsize-64/ftello64.c: File removed.
25677 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25678 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25679 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25680 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25681 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25682 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25684 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25686 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25687 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25688 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25689 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25690 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25691
25692 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25694 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25696 [defined __arch64__ || defined __sparcv9]
25697 (__OFF_T_MATCHES_OFF64_T): New macro.
25698 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25699 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25701 (__OFF_T_MATCHES_OFF64_T): New macro.
25702
25703 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25704
25705 * stdlib/secure-getenv.c (__secure_getenv): Replace
25706 GLIBC_2_16 with GLIBC_2_17.
25707
25708 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25709
25710 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25711 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25712
25713 2012-08-03 David S. Miller <davem@davemloft.net>
25714
25715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25716
25717 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25718
25719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25720 Remove.
25721 (__ASSUME_CORRECT_SI_PID): Likewise.
25722 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25723 (__ASSUME_TMPFS_NAME): Likewise.
25724 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25725 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25726 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25727 (HAVE_AUX_SECURE): Make definition unconditional.
25728 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25729 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25730
25731 2012-08-03 Roland McGrath <roland@hack.frob.com>
25732
25733 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25734 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25735 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25736 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25737 __eloop_threshold instead of SYMLOOP_MAX.
25738
25739 * sysdeps/generic/eloop-threshold.h: New file.
25740 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25741 of MAXSYMLINKS.
25742 * elf/chroot_canon.c (chroot_canon): Likewise.
25743
25744 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25745
25746 [BZ #13717]
25747 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25748 Change to 2.6.0 everywhere.
25749 * sysdeps/unix/sysv/linux/configure: Regenerated.
25750 * sysdeps/unix/sysv/linux/kernel-features.h
25751 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25752 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25753 kernel versions.
25754 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25755 (__ASSUME_FUTEX_REQUEUE): Remove.
25756 (__ASSUME_STATFS64): Define unconditionally.
25757 (__ASSUME_AT_SECURE): Likewise.
25758 (__ASSUME_CORRECT_SI_PID): Likewise.
25759 (__ASSUME_TGKILL): Define without depending on kernel version for
25760 i386.
25761 (__ASSUME_UTIMES): Likewise.
25762 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25763 kernel version.
25764 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25765 (__ASSUME_TMPFS_NAME): Likewise.
25766 * README: Update reference to Linux kernel versions.
25767
25768 2012-08-02 Marek Polacek <polacek@redhat.com>
25769
25770 [BZ# 14150]
25771 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25772 libc_cv_asm_type_prefix with %.
25773 * configure: Regenerated.
25774 * include/libc-symbols.h: Remove comment about
25775 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25776 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25777 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25778 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25779 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25780 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25781 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25782 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25783 * elf/tst-unique2mod1.c: Likewise.
25784 * elf/tst-unique1mod2.c: Likewise.
25785 * elf/tst-unique1mod1.c: Likewise.
25786 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25787 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25788 Replace ASM_TYPE_DIRECTIVE with .type.
25789 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25790 * sysdeps/i386/sysdep.h: Likewise.
25791 * sysdeps/x86_64/sysdep.h: Likewise.
25792 * sysdeps/sh/sysdep.h: Likewise.
25793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25794 Do not define ASM_TYPE_DIRECTIVE.
25795 * sysdeps/powerpc/sysdep.h: Likewise.
25796 * sysdeps/powerpc/powerpc32/sysdep.h:
25797 Replace ASM_TYPE_DIRECTIVE with .type.
25798 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25799 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25800 * sysdeps/i386/fpu/e_powf.S: Likewise.
25801 * sysdeps/i386/fpu/e_expl.S: Likewise.
25802 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25803 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25804 * sysdeps/i386/fpu/e_pow.S: Likewise.
25805 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25806 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25807 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25808 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25809 * sysdeps/i386/fpu/e_log2.S: Likewise.
25810 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25811 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25812 * sysdeps/i386/fpu/e_powl.S: Likewise.
25813 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25814 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25815 * sysdeps/i386/fpu/e_logl.S: Likewise.
25816 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25817 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25818 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25819 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25820 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25821 * sysdeps/i386/fpu/e_log.S: Likewise.
25822 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25823 * sysdeps/i386/fpu/e_logf.S: Likewise.
25824 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25825 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25826 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25827 * sysdeps/i386/fpu/e_log10.S: Likewise.
25828 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25829 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25830 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25831 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25832 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25833 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25834 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25835 * sysdeps/i386/i686/strtok.S: Likewise.
25836 * sysdeps/i386/i386-mcount.S: Likewise.
25837 * sysdeps/i386/strtok.S: Likewise.
25838 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25839 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25840 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25841 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25842 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25843 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25844 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25845 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25846 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25847 * sysdeps/x86_64/_mcount.S: Likewise.
25848 * sysdeps/x86_64/strtok.S: Likewise.
25849 * sysdeps/sh/_mcount.S: Likewise.
25850
25851 2012-08-01 Roland McGrath <roland@hack.frob.com>
25852
25853 * libio/iofopen.c: Include <fcntl.h>.
25854 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25855 (_IO_fopen64, fopen64): Define as aliases.
25856 * libio/iofopen64.c: Include <fcntl.h>.
25857 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25858 Conditionalize body on this.
25859 * sysdeps/wordsize-64/iofopen.c: File removed.
25860 * sysdeps/wordsize-64/iofopen64.c: File removed.
25861
25862 2012-08-01 Marek Polacek <polacek@redhat.com>
25863
25864 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25865 Use dlfcn directly instead of a variable.
25866 (binfmt-subdir): Do not define.
25867 (dlfcn): Likewise.
25868
25869 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25870
25871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25872 Remove all definitions.
25873 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25874 <kernel-features.h>.
25875 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25876 (miss_F_GETOWN_EX): Remove all definitions.
25877 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25878 macro definition.
25879 [!__ASSUME_FCNTL64]: Remove conditional code.
25880 [__ASSUME_FCNTL64]: Make code unconditional.
25881 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25882 <kernel-features.h>.
25883 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25884 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25885 (lockf64) [__NR_fcntl64]: Make code unconditional.
25886 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25887
25888 * sysdeps/unix/sysv/linux/kernel-features.h
25889 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25890 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25891 Make code unconditional.
25892 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25893 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25895 [__NR_vfork]: Make code unconditional.
25896 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25897 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25899 [__NR_vfork]: Make code unconditional.
25900 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25901 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25902
25903 2012-08-01 Roland McGrath <roland@hack.frob.com>
25904
25905 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25906 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25907
25908 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25909 Define mkstemp64 as an alias.
25910 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25911 Define mkstemps64 as an alias.
25912 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25913 Define mkostemp64 as an alias.
25914 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25915 Define mkostemps64 as an alias.
25916 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25917 Conditionalize body on this.
25918 * misc/mkostemp64.c: Likewise.
25919 * misc/mkostemps64.c: Likewise.
25920 * misc/mkstemps64.c: Likewise.
25921 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25922 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25923 * sysdeps/wordsize-64/mkostemp.c: File removed.
25924 * sysdeps/wordsize-64/mkstemp.c: File removed.
25925 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25926 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25927 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25928 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25929
25930 [BZ #14138]
25931 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25932 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25933 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25934 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25935
25936 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25937 compat_symbol macros from <shlib-compat.h> rather than the underlying
25938 default_symbol_version and symbol_version macros, so that DEFAULT
25939 lines in shlib-versions are respected.
25940 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25941
25942 2012-08-01 Florian Weimer <fweimer@redhat.com>
25943
25944 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25945 Declare with warn_unused_result.
25946 (setgid, setregid, setegid, setresgid): Likewise.
25947 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25948 Likewise.
25949 * WUR-REPORT: Remove set*id functions.
25950
25951 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25952
25953 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25954
25955 2012-07-31 Roland McGrath <roland@hack.frob.com>
25956
25957 [BZ #10191]
25958 * include/sys/socket.h (__libc_accept, __libc_accept4):
25959 Add attribute_hidden.
25960 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25961
25962 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25963 use of PTR_MANGLE.
25964 * inet/getnetgrent_r.c (setup): Likewise.
25965
25966 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25967
25968 2012-07-31 David S. Miller <davem@davemloft.net>
25969
25970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25971
25972 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25973
25974 [BZ #13629]
25975 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25976 value between 1.0 and 2.0 and smaller part has absolute value less
25977 than 1.0.
25978 * math/s_clog10.c (__clog10): Likewise.
25979 * math/s_clog10f.c (__clog10f): Likewise.
25980 * math/s_clog10l.c (__clog10l): Likewise.
25981 * math/s_clogf.c (__clogf): Likewise.
25982 * math/s_clogl.c (__clogl): Likewise.
25983 * math/libm-test.inc (clog_test): Add more tests.
25984 (clog10_test): Likewise.
25985 * sysdeps/i386/fpu/libm-test-ulps: Update.
25986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25987
25988 2012-07-31 Florian Weimer <fweimer@redhat.com>
25989
25990 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25991 Exit with zero in case no suitable GID is found, and write a
25992 message to standard error.
25993
25994 2012-07-30 Roland McGrath <roland@hack.frob.com>
25995
25996 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25997 rather than to 1.
25998 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25999 (MAXPATHLEN): Removed.
26000 (NOGROUP, NODEV): New macros.
26001 (setbit, clrbit, isset, isclr): New macros.
26002 (howmany, roundup, powerof2): New macros.
26003 (DEV_BSIZE): New macro.
26004
26005 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26006 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26007
26008 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26009 definition on [!__NO_LONG_DOUBLE_MATH].
26010
26011 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26012 PTR_MANGLE and PTR_DEMANGLE.
26013
26014 * socket/accept4.c (accept4): Rename to __libc_accept4.
26015 Define accept4 as a weak alias.
26016
26017 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26018 on [_DIRENT_HAVE_D_TYPE].
26019 * io/ftw.c (ftw_dir): Likewise.
26020
26021 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26022
26023 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26024
26025 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26026 Use the BSD numbers rather than the arbitrary ones we had.
26027 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26028 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26029 (SIGXCPU, SIGXFSZ): New macros.
26030 (_NSIG): Now 32.
26031
26032 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26033 initializer on [_LIBC_REENTRANT].
26034
26035 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26036 definitions inside [_POSIX_MAPPED_FILES].
26037
26038 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26039
26040 * dirent/opendir.c: Include <fcntl.h>.
26041
26042 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26043 (__libc_getspecific): Likewise.
26044 (__libc_key_create): Likewise.
26045
26046 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26047 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26048 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26049 (tmpfile64): Define as alias.
26050 * sysdeps/wordsize-64/tmpfile.c: File removed.
26051 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26053 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26054
26055 * stdio-common/vfscanf.c: Include <stdbool.h>.
26056 * nss/makedb.c: Likewise.
26057 * stdio-common/_i18n_number.h: Likewise.
26058 * argp/argp-help.c: Likewise.
26059 * posix/wordexp.c: Likewise.
26060 * sysdeps/posix/spawni.c: Likewise.
26061 * nss/nss_files/files-initgroups.c: Likewise.
26062 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26063 * nss/nss_files/files-initgroups.c: Likewise.
26064 * nss/nss_db/db-netgrp.c: Likewise.
26065 * nss/nss_db/db-initgroups.c: Likewise.
26066 * io/fchmodat.c: Include <sys/stat.h>.
26067
26068 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26069 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26070
26071 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26072 [HAVE_MMAP].
26073
26074 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26075 Add multiple inclusion protection.
26076
26077 2012-07-27 David S. Miller <davem@davemloft.net>
26078
26079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26080
26081 2012-07-27 Gary Benson <gbenson@redhat.com>
26082
26083 [BZ #14298]
26084 * elf/rtld.c: Include <stap-probe.h>.
26085 (dl_main): Added static probes "init_start" and "init_complete".
26086 * elf/dl-load.c: Include <stap-probe.h>.
26087 (lose): Take new parameter "nsid".
26088 Added static probe "map_failed".
26089 (_dl_map_object_from_fd): Pass namespace id to lose.
26090 Added static probe "map_start".
26091 (open_verify): Pass namespace id to lose.
26092 * elf/dl-open.c: Include <stap-probe.h>.
26093 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26094 and "reloc_complete".
26095 * elf/dl-close.c: Include <stap-probe.h>.
26096 (_dl_close_worker): Added static probes "unmap_start" and
26097 "unmap_complete".
26098 * elf/rtld-debugger-interface.txt: New file documenting the above.
26099
26100 2012-07-26 Roland McGrath <roland@hack.frob.com>
26101
26102 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26103 rather than a string variable.
26104 * sunrpc/rpc_main.c (h_output): Likewise.
26105 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26106
26107 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26108
26109 * inet/check_native.c: New file.
26110
26111 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26112
26113 [BZ #13629]
26114 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26115 if larger part has absolute value 1.0.
26116 * math/s_clog10.c (__clog10): Likewise.
26117 * math/s_clog10f.c (__clog10f): Likewise.
26118 * math/s_clog10l.c (__clog10l): Likewise.
26119 * math/s_clogf.c (__clogf): Likewise.
26120 * math/s_clogl.c (__clogl): Likewise.
26121 * math/libm-test.inc (clog_test): Add more tests.
26122 (clog10_test): Likewise.
26123 * sysdeps/i386/fpu/libm-test-ulps: Update.
26124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26125
26126 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26127 (pltexit): Likewise.
26128 (La_regs): Likewise.
26129 (La_retval): Likewise.
26130 (int_retval): Likewise.
26131 Update #error for removed macros to refer only to definitions in
26132 tst-audit.h.
26133 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26134 macro.
26135 (pltexit): Likewise.
26136 (La_regs): Likewise.
26137 (La_retval): Likewise.
26138 (int_retval): Likewise.
26139 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26140 macro.
26141 (pltexit): Likewise.
26142 (La_regs): Likewise.
26143 (La_retval): Likewise.
26144 (int_retval): Likewise.
26145 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26146 macro.
26147 (pltexit): Likewise.
26148 (La_regs): Likewise.
26149 (La_retval): Likewise.
26150 (int_retval): Likewise.
26151 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26152 macro.
26153 (pltexit): Likewise.
26154 (La_regs): Likewise.
26155 (La_retval): Likewise.
26156 (int_retval): Likewise.
26157 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26158 macro.
26159 (pltexit): Likewise.
26160 (La_regs): Likewise.
26161 (La_retval): Likewise.
26162 (int_retval): Likewise.
26163 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26164 macro.
26165 (pltexit): Likewise.
26166 (La_regs): Likewise.
26167 (La_retval): Likewise.
26168 (int_retval): Likewise.
26169 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26170 macro definitions in tst-audit.h.
26171 * sysdeps/i386/tst-audit.h: New file.
26172 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26173 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26174 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26175 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26176 * sysdeps/sh/tst-audit.h: Likewise.
26177 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26178 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26179 * sysdeps/x86_64/tst-audit.h: Likewise.
26180
26181 2012-07-26 Andreas Jaeger <aj@suse.de>
26182
26183 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26184 ptrace.
26185
26186 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26187 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26188 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26189 PTRACE_O_MASK.
26190 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26191 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26192 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26193
26194 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26195 value.
26196
26197 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26198 _sigsys.
26199 (si_call_addr, si_syscall, si_arch): Define new macro.
26200 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26201 _sigsys.
26202 (si_call_addr, si_syscall, si_arch): Define new marcro.
26203 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26204 _sigsys.
26205 (si_call_addr, si_syscall, si_arch): Define new macro.
26206 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26207 _sigsys.
26208 (si_call_addr, si_syscall, si_arch): Define new macro.
26209
26210 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26211
26212 [BZ #13717]
26213 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26214 Change to 2.4.21 where previously 2.4.1.
26215 * sysdeps/unix/sysv/linux/configure: Regenerated.
26216 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26217 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26218 Linux kernel version.
26219 (__ASSUME_STD_AUXV): Remove.
26220 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26221 kernel version.
26222 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26223 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26224 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26225 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26226 (__ASSUME_NETLINK_SUPPORT): Likewise.
26227 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26228 (__no_netlink_support): Remove conditional definition.
26229 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26230 Remove.
26231 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26232 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26233 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26234 (if_nameindex_ioctl): Remove.
26235 (if_nameindex_netlink): Do not handle __no_netlink_support.
26236 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26237 code.
26238 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26239 Remove conditional code.
26240 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26241 code.
26242 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26243 unconditional.
26244 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26245 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26246 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26247 Remove.
26248 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26249 [!__ASSUME_STD_AUXV]: Remove conditional code.
26250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26251 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26252 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26254 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26255 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26256 code.
26257 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26259 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26260 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26261 conditional code.
26262 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26264 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26265 code.
26266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26267 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26268 conditional code.
26269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26270 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26271 code unconditional.
26272 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26273 conditional code.
26274 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26275 unconditional.
26276 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26277 conditional code.
26278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26279 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26280 unconditional.
26281 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26282 conditional code.
26283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26284 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26285 code unconditional.
26286 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26287 conditional code.
26288 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26289 unconditional.
26290 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26291 conditional code.
26292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26293 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26294 code unconditional.
26295 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26296 conditional code.
26297 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26298 unconditional.
26299 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26300 conditional code.
26301
26302 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26303
26304 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26305 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26306 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26307 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26308 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26309 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26310 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26311 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26312 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26313 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26314 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26315 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26316 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26317 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26318 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26319 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26320 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26321 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26322 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26323 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26324 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26325 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26326 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26327
26328 2012-07-25 Florian Weimer <fweimer@redhat.com>
26329
26330 * Versions.def: Add GLIBC_2.17.
26331 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26332 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26333 Introduce __libc_secure_getenv.
26334 * stdlib/Versions (2.17): Add secure_getenv
26335 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26336 * stdlib/secure-getenv.c: Rename __secure_getenv to
26337 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26338 symbol __secure_getenv for GLIBC_2.0.
26339 * stdlib/tst-secure-getenv.c: New.
26340 * stdlib/Makefile (tests): Add testcase.
26341 * manual/startup.texi (Environment Access): Document
26342 secure_getenv.
26343 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26344 __libc_secure_getenv.
26345 * inet/ruserpass.c (ruserpass): Likewise.
26346 * malloc/mtrace.c (mtrace): Likewise.
26347 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26348 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26349 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26350 * sysdeps/posix/tempname.c: Likewise. Evaluate
26351 HAVE_SECURE_GETENV.
26352 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26353 __secure_getenv to __libc_secure_getenv.
26354 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26356 Likewise.
26357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26358 Likewise.
26359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26361 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26366
26367 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26368
26369 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26370 (struct La_i86_retval): Likewise.
26371 (struct La_x86_64_regs): Likewise.
26372 (struct La_x86_64_retval): Likewise.
26373 (struct La_x32_regs): Likewise.
26374 (struct La_x32_retval): Likewise.
26375 (struct La_ppc32_regs): Likewise.
26376 (struct La_ppc32_retval): Likewise.
26377 (struct La_ppc64_regs): Likewise.
26378 (struct La_ppc64_retval): Likewise.
26379 (struct La_sh_regs): Likewise.
26380 (struct La_sh_retval): Likewise.
26381 (struct La_s390_32_regs): Likewise.
26382 (struct La_s390_32_retval): Likewise.
26383 (struct La_s390_64_regs): Likewise.
26384 (struct La_s390_64_retval): Likewise.
26385 (struct La_sparc32_regs): Likewise.
26386 (struct La_sparc32_retval): Likewise.
26387 (struct La_sparc64_regs): Likewise.
26388 (struct La_sparc64_retval): Likewise.
26389 (struct audit_ifaces): Remove architecture-specific pltenter and
26390 pltexit members.
26391 * sysdeps/i386/ldsodefs.h: New file.
26392 * sysdeps/powerpc/ldsodefs.h: Likewise.
26393 * sysdeps/s390/ldsodefs.h: Likewise.
26394 * sysdeps/sh/ldsodefs.h: Likewise.
26395 * sysdeps/sparc/ldsodefs.h: Likewise.
26396 * sysdeps/x86_64/ldsodefs.h: Likewise.
26397
26398 2012-07-25 Marek Polacek <polacek@redhat.com>
26399
26400 [BZ #6808]
26401 * math/libm-test.inc (yn_test): Add another test.
26402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26403 to ERANGE when the result is +-Inf.
26404 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26405 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26406 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26407 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26408
26409 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26410
26411 * conform/data/time.h-data (NULL): Use macro-constant. Require
26412 equal to 0.
26413 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26414 clock_t.
26415 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26416
26417 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26418
26419 * configure.in <sysdeps resolving>: Correct printing
26420 Implies_before.
26421 * configure: Regenerate.
26422
26423 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26424
26425 * math/w_ilogb.c: Include <limits.h>.
26426 * math/w_ilogbl.c: Likewise.
26427
26428 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26429
26430 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26431 va_copy. Document allowing for unavailable va_copy only as
26432 pre-C99 compatibility.
26433 * manual/string.texi (Copying and Concatenation): Use va_copy
26434 instead of __va_copy in concat example.
26435
26436 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26437
26438 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26439 (__sendto): Use create_address_port. Initialize APORT and deallocate
26440 it if not null.
26441
26442 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26443 with O_NOLINK passed to __file_name_lookup.
26444
26445 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26446 with O_NOLINK passed to __file_name_lookup.
26447
26448 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26449 negative N or less than NGIDS.
26450
26451 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26452 type to string_t. Set ERANGE as errno and return it if NAME is not big
26453 enough. Use memcpy instead of strncpy.
26454
26455 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26456
26457 * elf/Makefile (check-data): Remove.
26458 (localplt.data): New vpath directive.
26459 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26460 instead of $(check-data).
26461 * scripts/data/localplt-generic.data: Move to ...
26462 * sysdeps/generic/localplt.data: ... here.
26463 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26464 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26465 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26467 ... here.
26468 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26470 ... here.
26471 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26473 ... here.
26474 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26476 ... here.
26477 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26479 ... here.
26480 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26482 ... here.
26483
26484 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26485
26486 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26487 PPC32 and PPC64 files.
26488 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26489 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26490
26491 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26492
26493 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26494 __makecontext_ret to ...
26495 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26496 ... here and call exit if uc_link is NULL. New file.
26497 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26498 __makecontext_ret.S.
26499 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26500 __makecontext_ret to ...
26501 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26502 ... here and call exit if uc_link is NULL. New file.
26503 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26504 __makecontext_ret.S.
26505
26506 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26507
26508 * elf/elf.h (R_390_IRELATIVE): New definition.
26509 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26510 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26511 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26512 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26513 (elf_machine_lazy_rel): Likewise.
26514 * sysdeps/s390/dl-irel.h: New file.
26515 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26516 * sysdeps/s390/s390-64/memset.S: New asm code.
26517 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26518 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26519 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26520 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26521 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26522 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26523 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26524 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26525 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26526 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26527 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26528 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26529 * sysdeps/s390/s390-32/memset.S: New asm code.
26530 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26531
26532 2012-07-17 Marek Polacek <polacek@redhat.com>
26533
26534 [BZ #14349]
26535 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26536 * sysdeps/s390/s390-64/configure.in: Likewise.
26537 * sysdeps/sparc/configure.in: Likewise.
26538 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26539 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26540 * sysdeps/i386/configure.in: Likewise.
26541 * sysdeps/x86_64/configure.in: Likewise.
26542 * sysdeps/sh/configure.in: Likewise.
26543 * sysdeps/s390/s390-32/configure: Regenerated.
26544 * sysdeps/s390/s390-64/configure: Likewise.
26545 * sysdeps/x86_64/configure: Likewise.
26546 * sysdeps/sh/configure: Likewise.
26547 * sysdeps/powerpc/powerpc64/configure: Likewise.
26548 * sysdeps/powerpc/powerpc32/configure: Likewise.
26549 * sysdeps/sparc/configure: Likwise.
26550 * sysdeps/i386/configure: Likewise.
26551
26552 * elf/dl-open.c: Comment fixes.
26553
26554 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26555
26556 * Makefile [CXX] (check-data): Remove.
26557 [CXX] (c++-types.data): New vpath directive.
26558 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26559 vpath. Do not allow for C++ type data being missing.
26560 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26561 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26562 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26563 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26564 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26565 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26566 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26568 ... here.
26569 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26571 ... here.
26572 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26574 ... here.
26575 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26577 ... here.
26578 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26580 ... here.
26581 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26583 ... here.
26584 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26586 ... here.
26587 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26589
26590 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26591 definitions to architecture-specific files.
26592 (TLS_IE): Likewise.
26593 (TLS_LD): Likewise.
26594 (TLS_GD): Likewise.
26595 * sysdeps/i386/tls-macros.h: New file.
26596 * sysdeps/powerpc/tls-macros.h: Likewise.
26597 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26598 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26599 * sysdeps/sh/tls-macros.h: Likewise.
26600 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26601 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26602 * sysdeps/x86_64/tls-macros.h: Likewise.
26603
26604 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26605
26606 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26607 zero value for regular exit case.
26608
26609 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26610 (__start_context): Preserve zero value for regular exit case.
26611
26612 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26613 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26614
26615 * manual/setjmp.texi (setcontext): Clarify normal process
26616 termination when uc_link is the null pointer.
26617 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26618 exit call.
26619
26620 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26621
26622 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26623 preprocessor. Test for each exception mask separately.
26624
26625 2012-07-16 Andreas Jaeger <aj@suse.de>
26626
26627 * po/ru.po: Update from translation team.
26628
26629 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26630
26631 * conform/data/string.h-data (NULL): Use macro-constant. Require
26632 equal to 0.
26633 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26634 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26635 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26636 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26637 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26638
26639 2012-07-13 Andreas Jaeger <aj@suse.de>
26640
26641 * po/fr.po: Update from translation team.
26642
26643 2012-07-12 Marek Polacek <polacek@redhat.com>
26644
26645 [BZ #14173]
26646 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26647 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26648 loop condition.
26649
26650 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26651
26652 [BZ #13717]
26653 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26654 Change to 2.4.1 where previously 2.4.0.
26655 * sysdeps/unix/sysv/linux/configure: Regenerated.
26656 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26657 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26658 version.
26659 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26660 (__ASSUME_AT_CLKTCK): Remove.
26661 (__ASSUME_AT_PAGESIZE): Likewise.
26662 (__ASSUME_AT_XID): Likewise.
26663 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26664 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26665 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26666 unconditionally.
26667 (HAVE_AUX_PAGESIZE): Likewise.
26668 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26669 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26670 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26671
26672 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26673
26674 [BZ #14307]
26675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26676 the temporary buffer used to invoke __gethostbyname2_r,
26677 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26678 host_data / struct gaih_addrtuple.
26679 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26680 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26681 header file nss/nsswitch.h.
26682 * nss/nsswitch.h (global scope): Add definition of implementation
26683 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26684 resolv/nss_dns/dns-host.c).
26685
26686 2012-07-11 Andreas Jaeger <aj@suse.de>
26687
26688 * po/fr.po: Update from translation team.
26689
26690 * po/sv.po: Update from translation team
26691 * po/fr.po: Another update from translation team.
26692
26693 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26694
26695 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26696 for subnormals or multiply small sinh result by itself.
26697 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26699
26700 2012-07-11 David S. Miller <davem@davemloft.net>
26701
26702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26703
26704 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26705
26706 [BZ #14347]
26707 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26708 (INTERNAL_MARK): Shift it here.
26709
26710 2012-07-10 Marek Polacek <polacek@redhat.com>
26711
26712 [BZ #14151]
26713 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26714 libc_cv_asm_global_directive with .globl.
26715 * configure: Regenerated.
26716 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26717 with .globl.
26718 * sysdeps/i386/configure: Regenerated.
26719 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26720 with .globl.
26721 * sysdeps/x86_64/configure: Regenerated.
26722 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26723 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26724 * elf/tst-unique2mod2.c: Likewise.
26725 * elf/tst-unique2mod1.c: Likewise.
26726 * elf/tst-unique1mod2.c: Likewise.
26727 * elf/tst-unique1mod1.c: Likewise.
26728 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26729 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26730 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26731 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26732 * sysdeps/mach/sysdep.h: Likewise.
26733 * sysdeps/i386/sysdep.h: Likewise.
26734 * sysdeps/i386/i386-mcount.S: Likewise.
26735 * sysdeps/x86_64/_mcount.S: Likewise.
26736 * sysdeps/x86_64/sysdep.h: Likewise.
26737 * sysdeps/sh/_mcount.S: Likewise.
26738 * sysdeps/sh/sysdep.h: Likewise.
26739 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26740 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26741 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26742 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26743 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26744 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26745 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26746 * locale/localeinfo.h: Likewise.
26747 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26748 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26749
26750 2012-07-09 Roland McGrath <roland@hack.frob.com>
26751
26752 [BZ #14336]
26753 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26754 system".
26755 * manual/message.texi (The Uniforum approach): Likewise.
26756 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26757 (glibc iconv Implementation): Likewise.
26758
26759 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26760
26761 [BZ #14337]
26762 * math/s_clog.c (__clog): Avoid scaling a value down where that
26763 could result in underflow.
26764 * math/s_clog10.c (__clog10): Likewise.
26765 * math/s_clog10f.c (__clog10f): Likewise.
26766 * math/s_clog10l.c (__clog10l): Likewise.
26767 * math/s_clogf.c (__clogf): Likewise.
26768 * math/s_clogl.c (__clogl): Likewise.
26769 * math/libm-test.inc (clog_test): Add more tests.
26770 (clog10_test): Likewise.
26771 * sysdeps/i386/fpu/libm-test-ulps: Update.
26772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26773
26774 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26775
26776 [BZ #14283]
26777 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26778 by 7 not 8 to examine high bit of fractional part.
26779
26780 [BZ #14042]
26781 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26782 for call to __mcount_internal.
26783 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26784 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26785 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26786
26787 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26788
26789 [BZ #14154]
26790 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26791 approximation for values within 0x1p-13f of an odd multiple of
26792 pi/4.
26793 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26794 exception. Add more tests.
26795 * sysdeps/i386/fpu/libm-test-ulps: Update.
26796
26797 [BZ #6778]
26798 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26799 inputs and return -1 for them. Do not check for +Inf in case not
26800 reachable for +Inf.
26801 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26802 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26803 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26804 and return -1 for them. Do not check for +Inf in case not
26805 reachable for +Inf.
26806 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26807 define.
26808 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26809 and return -1 for them. Do not check for +Inf in case not
26810 reachable for +Inf.
26811 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26812 spurious underflow.
26813 * sysdeps/i386/fpu/libm-test-ulps: Update.
26814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26815
26816 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26817
26818 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26819
26820 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26821
26822 [BZ #14157]
26823 [BZ #14331]
26824 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26825 could result in spurious underflow. Scale down values above
26826 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26827 * math/s_csqrtf.c (__csqrtf): Likewise.
26828 * math/s_csqrtl.c (__csqrtl): Likewise.
26829 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26830 spurious underflow.
26831 * sysdeps/i386/fpu/libm-test-ulps: Update.
26832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26833
26834 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26835
26836 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26837 xopen-msg.sed.
26838 * catgets/xopen-msg.awk: New file.
26839 * catgets/xopen-msg.sed: Removed.
26840
26841 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26842 po2text.sed.
26843 * intl/po2test.awk: New file.
26844 * intl/po2test.sed: Removed.
26845
26846 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26847
26848 [BZ #14328]
26849 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26850 or multiply small sinh result by itself.
26851 * math/s_ctanf.c (__ctanf): Likewise.
26852 * math/s_ctanh.c (__ctanh): Likewise.
26853 * math/s_ctanhf.c (__ctanhf): Likewise.
26854 * math/s_ctanhl.c (__ctanhl): Likewise.
26855 * math/s_ctanl.c (__ctanl): Likewise.
26856 * math/libm-test.inc (ctan_test_tonearest): New function.
26857 (ctan_test_towardzero): Likewise.
26858 (ctan_test_downward): Likewise.
26859 (ctan_test_upward): Likewise.
26860 (ctanh_test_tonearest): Likewise.
26861 (ctanh_test_towardzero): Likewise.
26862 (ctanh_test_downward): Likewise.
26863 (ctanh_test_upward): Likewise.
26864 (main): Call these new functions.
26865 * sysdeps/i386/fpu/libm-test-ulps: Update.
26866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26867
26868 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26869
26870 * .gitignore: Delete /ports entry.
26871
26872 2012-07-03 Andreas Jaeger <aj@suse.de>
26873
26874 * po/bg.po: Update from translation team.
26875 * po/cs.po: Likewise.
26876 * po/de.po: Likewise.
26877 * po/hr.po: Likewise.
26878 * po/nl.pl: Likewise.
26879 * po/pl.po: Likewise.
26880 * po/vi.po: Likewise.
26881
26882 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26883
26884 * Makeconfig [!+link] (+link-before-libc): New variable.
26885 [!+link] (+link-after-libc): Likewise.
26886 [!+link] (+link-tests): Likewise.
26887 [!+link] (+link): Define in terms of $(+link-before-libc) and
26888 $(+link-after-libc).
26889 [!+link-static] (+link-static-before-libc): New variable.
26890 [!+link-static] (+link-static-after-libc): Likewise.
26891 [!+link-static] (+link-static-tests): Likewise.
26892 [!+link-static] (+link-static): Define in terms of
26893 $(+link-static-before-libc) and $(+link-static-after-libc).
26894 [build-shared] (link-libc-before-gnulib): New variable.
26895 [build-shared] (link-libc-tests): Likewise.
26896 [build-shared] (link-libc): Define in terms of
26897 $(link-libc-before-gnulib).
26898 [!build-shared] (link-libc-tests): New variable.
26899 (link-libc-static-tests): New variable.
26900 [!gnulib] (gnulib-arch): New variable.
26901 [!gnulib] (gnulib-tests): Likewise.
26902 [!gnulib] (static-gnulib-arch): Likewise.
26903 [!gnulib] (static-gnulib-tests): Likewise.
26904 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26905 Define with "=" instead of ":=".
26906 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26907 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26908 * Rules (binaries-all-notests): New variable.
26909 (binaries-all-tests): Likewise.
26910 (binaries-static-notests): Likewise.
26911 (binaries-static-tests): Likewise.
26912 (binaries-all): Define using $(binaries-all-notests) and
26913 $(binaries-all-tests).
26914 (binaries-static): Define using $(binaries-static-notests) and
26915 $(binaries-static-tests).
26916 (binaries-shared-tests): New variable.
26917 (binaries-shared-notests): Likewise.
26918 (binaries-shared): Remove variable.
26919 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26920 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26921 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26922 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26923 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26924 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26925 * elf/Makefile (sln-modules): New variable.
26926 (extra-objs): Add $(sln-modules:=.o).
26927 (ldconfig-modules): Add static-stubs.
26928 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26929 * elf/static-stubs.c: New file.
26930
26931 [BZ #14283]
26932 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26933 by 7 not 8 to examine high bit of fractional part. Use volatile
26934 variables when splitting into final array of floats if
26935 __FLT_EVAL_METHOD__ != 0.
26936 * math/libm-test.inc (cos_test): Add another test.
26937 (sin_test): Likewise.
26938 * sysdeps/i386/fpu/libm-test-ulps: Update.
26939
26940 [BZ #14273]
26941 * math/libm-test.inc (cosh_test): Add more tests.
26942
26943 * version.h (RELEASE): Set to "development".
26944 (VERSION): Set to "2.16.90".
26945
26946 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26947
26948 * NEWS: Update copyright. Remove last-updated date.
26949 Mention math library bug fixes and timezone data changes.
26950 * README: Mention GNU/Hurd, x32, and HPPA support status.
26951
26952 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26953
26954 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26955
26956 2012-06-27 Andreas Jaeger <aj@suse.de>
26957
26958 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26959
26960 2012-06-25 Andreas Jaeger <aj@suse.de>
26961
26962 * sysdeps/s390/fpu/libm-test-ulps: Update.
26963
26964 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26965 Thomas Schwinge <thomas@codesourcery.com>
26966
26967 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26968 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26969 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26970 fanotify_mark.
26971
26972 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26973
26974 * sysdeps/mach/start.c: Remove file.
26975 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26976 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26977 * sysdeps/sh/init-first.c: Likewise.
26978
26979 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26980 registers for frame unwinding purposes, add CFI directives.
26981 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26982 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26983 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26984 Likewise.
26985
26986 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26987 __fortify_fail returning.
26988 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26989
26990 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26991 sysdeps/sh/____longjmp_chk.S.
26992 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26993 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26994 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26995 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26996
26997 * sysdeps/sh/abort-instr.h: New file.
26998 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26999 process in case exit returns.
27000
27001 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27002 initialize the GOT register before use.
27003
27004 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27005 calculation of ARGC > 4.
27006
27007 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27008 meaningful names to some local labels.
27009
27010 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27011 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27012
27013 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27014 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27015 (__arch_compare_and_exchange_val_16_acq): Likewise.
27016 (__arch_compare_and_exchange_val_32_acq): Likewise.
27017 (atomic_exchange_and_add): Fix gUSA sequence.
27018 (atomic_add): Likewise.
27019 (atomic_add_negative): Likewise.
27020 (atomic_add_zero): Likewise.
27021 (atomic_bit_test_set): Likewise.
27022
27023 2012-06-22 Andreas Schwab <schwab@redhat.com>
27024
27025 [BZ #13579]
27026 * include/link.h (struct link_map): Add l_free_initfini.
27027 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27028 l_initfini.
27029 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27030 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27031 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27032 set.
27033
27034 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27035
27036 * configure.in: Use AC_LANG_SOURCE.
27037 * configure: Regenerate.
27038
27039 2012-06-22 Roland McGrath <roland@hack.frob.com>
27040
27041 * configure.in (libc_cv_localstatedir): New substituted variable.
27042 * configure: Regenerated.
27043 * config.make.in (localstatedir): New variable, substituted from
27044 libc_cv_localstatedir.
27045 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27046 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27047 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27048 * sysdeps/gnu/configure: Regenerated.
27049
27050 2012-06-21 Jeff Law <law@redhat.com>
27051
27052 [BZ #14277]
27053 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27054 free. Simplify list management for _LIBC case.
27055
27056 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27057
27058 [BZ #14273]
27059 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27060 Clear sign bit of 64-bit integer value before comparing against
27061 overflow value.
27062
27063 * sysdeps/mach/configure: Regenerated.
27064
27065 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27066
27067 [BZ #14278]
27068 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27069
27070 2012-06-21 Jeff Law <law@redhat.com>
27071
27072 [BZ #13882]
27073 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27074 uint16_t for elements in the "seen" array to avoid char overflows.
27075 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27076 * elf/dl-open.c (dl_open_worker): Likewise.
27077
27078 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27079
27080 * scripts/list-sources.sh: Scan PORTS for translations.
27081 * po/libc.pot: Regenerated.
27082
27083 2012-06-21 Andreas Jaeger <aj@suse.de>
27084
27085 [BZ #12194]
27086 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27087 warning.
27088 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27089 * bits/byteswap-16.h (__bswap_16): Likewise.
27090 * bits/byteswap.h (__bswap_constant_16): Likewise.
27091
27092 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27093
27094 [BZ #14117]
27095 * sysdeps/i386/fpu_control.h: Removed.
27096 * sysdeps/x86_64/fpu_control.h: Moved to ...
27097 * sysdeps/x86/fpu_control.h: Here.
27098
27099 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27100 (_FPU_SETCW): Likewise.
27101
27102 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27103
27104 [BZ #14117]
27105 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27106 * sysdeps/x86/fpu/bits/mathinline.h: This.
27107 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27108
27109 [BZ #14050]
27110 [BZ #14117]
27111 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27112 functions if __x86_64__ is defined.
27113
27114 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27115
27116 * string/endian.h: Add !__ASSEMBLER__ condition for including
27117 conversion interfaces.
27118
27119 2012-06-15 Joseph Myers <joseph@codesourcery.com>
27120
27121 [BZ #14241]
27122 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27123 of ABS(x) in calculating zero to negative powers other than odd
27124 integers.
27125 * math/libm-test.inc (pow_test): Add more tests.
27126
27127 2012-06-15 Andreas Jaeger <aj@suse.de>
27128
27129 * manual/contrib.texi (Contributors): Update entry of Liubov
27130 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27131 Machado Filho.
27132
27133 2012-06-15 Cyril Hrubis <metan@ucw.cz>
27134
27135 * string/string.h: Add __wur to GNU version of strerror_r.
27136
27137 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27138
27139 [BZ #14229]
27140 * string/Makefile (tests): Add tst-strtok_r.
27141 * string/tst-strtok_r.c: New file.
27142 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27143 RAX_LP/RDX_LP on SAVE_PTR.
27144
27145 2012-06-14 Roland McGrath <roland@hack.frob.com>
27146
27147 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27148
27149 2012-06-14 Joseph Myers <joseph@codesourcery.com>
27150
27151 * libm_test.inc (csqrt_test): Allow more spurious underflow
27152 exceptions.
27153 (j0_test): Likewise.
27154 (j1_test): Likewise.
27155 (y0_test): Likewise.
27156 (y1_test): Likewise.
27157
27158 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27159
27160 * po/Makefile (libc.pot): Use UTF-8 charset.
27161
27162 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27163
27164 [BZ #14210]
27165 Suppress sign-conversion warning from FD_SET.
27166 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27167 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27168 not unsigned long int.
27169 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27170
27171 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27172
27173 [BZ #14050]
27174 [BZ #14117]
27175 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27176 __extern_always_inline instead of __extern_inline.
27177 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27178 (__signbit): Likewise.
27179 (__signbitl): Support C++ namespace.
27180 (lrintf): New inline function.
27181 (lrint): Likewise.
27182 (llrintf): Likewise.
27183 (llrint): Likewise.
27184 (fmaxf): Likewise.
27185 (fmax): Likewise.
27186 (fminf): Likewise.
27187 (fmin): Likewise.
27188 (rint): Likewise.
27189 (rintf): Likewise.
27190 (ceil): Likewise.
27191 (ceilf): Likewise.
27192 (floor): Likewise.
27193 (floorf): Likewise.
27194 (nearbyint): Likewise.
27195 (nearbyintf): Likewise.
27196
27197 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27198
27199 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27200 non-default versions.
27201
27202 2012-06-11 Roland McGrath <roland@hack.frob.com>
27203
27204 [BZ #14218]
27205 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27206
27207 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27208
27209 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27210 (FE_UPWARD, FE_DOWNWARD): Don't define.
27211 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27212 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27213
27214 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27215 reading it.
27216 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27217 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27218
27219 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27220
27221 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27222 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27223 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27224 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27225
27226 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27227
27228 [BZ #14117]
27229 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27230 * sysdeps/i386/fpu/Implies: New file.
27231 * sysdeps/x86_64/fpu/Implies: Likewise.
27232 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27233 * sysdeps/x86/fpu/bits/fenv.h: This.
27234
27235 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27236 __SSE_MATH__.
27237
27238 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27239
27240 [BZ #14134]
27241 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27242 character 0xffff that matches the last element of the
27243 conversion table.
27244
27245 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27246
27247 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27248 fmodl commit.
27249
27250 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27251
27252 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27253 values higher than 25.6283.
27254
27255 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27256
27257 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27258 subnormal exponent extraction and add some __builtin_expect.
27259 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27260 Fix for subnormal mantissa calculation.
27261
27262 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27263
27264 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27265 cpu2 is -1 and errno is not ENOSYS.
27266
27267 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27268
27269 [BZ #14117]
27270 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27271 * sysdeps/x86/bits/string.h: This.
27272 * sysdeps/x86_64/bits/string.h: Removed.
27273
27274 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27275 if not compiling for x86-64, but compiling for >= i486.
27276
27277 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27278 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27279
27280 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27281 New macro from Linux kernel 3.4.0.
27282 (FP_XSTATE_MAGIC2): Likewise.
27283 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27284 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27285 (struct _fpx_sw_bytes): New struct.
27286 (struct _xsave_hdr): Likewise.
27287 (struct _ymmh_state): Likewise.
27288 (struct _xstate): Likewise.
27289
27290 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27291 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27292 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27293 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27294 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27295 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27296
27297 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27298 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27299 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27300 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27301 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27302 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27303
27304 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27305
27306 [BZ #13743]
27307 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27308 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27309 (sysdep_headers): Include sys/platform/ppc.h.
27310 * sysdeps/powerpc/test-gettimebase.c: Test for
27311 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27312 * manual/Makefile (appendices): Include platform.texi.
27313 * manual/contrib.texi (Contributors): Update @node pointers.
27314 * manual/maint.texi (Maintenance): Likewise.
27315 (Platform): New node.
27316 * manual/platform.texi: New file. Document the new features.
27317
27318 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27319 Jakub Jelinek <jakub@redhat.com>
27320
27321 [BZ #14188]
27322 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27323 where __builtin_expect is unavailable.
27324
27325 2012-06-03 David S. Miller <davem@davemloft.net>
27326
27327 * stdlib/longlong.h: Updated from GCC.
27328
27329 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27330
27331 [BZ #14042]
27332 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27333 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27334 __mcount_internal.
27335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27336 (GLIBC_2.16): Likewise.
27337
27338 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27339
27340 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27341
27342 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27343
27344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27345 (default-abi): New variable.
27346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27347 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27348 variable.
27349 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27350 Likewise.
27351 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27352 Likewise.
27353 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27354 Likewise.
27355
27356 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27357 definition. Document in comment.
27358
27359 2012-06-01 David S. Miller <davem@davemloft.net>
27360
27361 * stdlib/longlong.h: Updated from GCC.
27362
27363 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27364
27365 [BZ #14117]
27366 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27367 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27368 sys/debugreg.h sys/io.h here.
27369 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27370 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27371 sys/io.h.
27372 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27373 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27374 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27375 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27376 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27377 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27378
27379 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27380 Define only if __x86_64__ is defined.
27381
27382 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27383
27384 [BZ #14048]
27385 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27386 Use int64_t for variable i.
27387 * math/libm-test.inc (fmod_test): Add more tests.
27388
27389 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27390 z computation is not scheduled after fetestexcept.
27391 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27392 Use math_force_eval instead of asm to ensure calculation scheduled
27393 before exception test.
27394 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27395 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27396
27397 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27398
27399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27400 computation is not scheduled after fetestexcept.
27401
27402 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27403
27404 [BZ #14117]
27405 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27406 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27407
27408 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27409
27410 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27411 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27412
27413 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27414
27415 [BZ #14117]
27416 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27417 <bits/wordsize.h>.
27418 (__WCHAR_MIN): Support __WORDSIZE == 64.
27419 (__WCHAR_MAX): Likewise.
27420
27421 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27422 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27423
27424 [BZ #14183]
27425 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27426 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27427
27428 [BZ #14117]
27429 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27430 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27431
27432 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27433 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27434
27435 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27436 Defined to 1 if __x86_64__ isn't defined.
27437 (_STAT_VER_LINUX_OLD): New.
27438 (st_atime): Remove duplicate.
27439 (st_mtime): Likewise.
27440 (st_ctime): Likewise.
27441
27442 2012-05-31 David S. Miller <davem@davemloft.net>
27443
27444 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27445 entries.
27446
27447 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27448
27449 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27450 gen-libm-test.pl.
27451
27452 [BZ #14132]
27453 * elf/dl-reloc.c: Include <_itoa.h>.
27454 (_dl_reloc_bad_type): Remove use of INTUSE.
27455 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27456 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27457 * stdio-common/psiginfo.c (psiginfo): Likewise.
27458 * stdio-common/psignal.c (psignal): Likewise.
27459 * string/strsignal.c (strsignal): Likewise.
27460 * include/signal.h (_sys_siglist): Declare hidden proto.
27461 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27462 INTVARDEF with libc_hidden_data_def.
27463 * stdio-common/itoa-udigits.c: Likewise.
27464 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27465 (_itoa_lower_digits_internal): Remove declaration.
27466 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27467 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27468 (_sys_sigabbrev_internal): Remove aliases.
27469 (_sys_siglist): Define hidden alias.
27470
27471 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27472
27473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27474 bits/sysctl.h.
27475
27476 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27477
27478 [BZ #14117]
27479 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27480 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27481
27482 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27483 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27484 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27485 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27486 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27487 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27488
27489 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27490 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27491 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27492
27493 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27494 with __addr.
27495 (insw): Likewise.
27496 (insl): Likewise.
27497 (outsb): Likewise.
27498 (outsw): Likewise.
27499 (outsl): Likewise.
27500
27501 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27502 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27503 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27504
27505 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27506 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27507 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27508 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27509 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27510 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27511
27512 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27513 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27514
27515 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27516 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27517
27518 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27520 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27521
27522 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27523 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27524 to ...
27525 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27526
27527 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27528 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27529 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27530
27531 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27532 for x86-64.
27533 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27534
27535 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27536
27537 * math/math.h (M_El): Use two more decimal places.
27538 (M_LOG2El): Likewise.
27539 (M_LOG10El): Likewise.
27540 (M_LN2l): Likewise.
27541 (M_LN10l): Likewise.
27542 (M_PIl): Likewise.
27543 (M_PI_2l): Likewise.
27544 (M_PI_4l): Likewise.
27545 (M_1_PIl): Likewise.
27546 (M_2_PIl): Likewise.
27547 (M_2_SQRTPIl): Likewise.
27548 (M_SQRT2l): Likewise.
27549 (M_SQRT1_2l): Likewise.
27550
27551 2012-05-31 David S. Miller <davem@davemloft.net>
27552
27553 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27554 values between float registers.
27555 * sysdeps/sparc/sparc64/memset.S: Likewise.
27556 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27557
27558 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27559
27560 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27561 -D_FORTIFY_SOURCE=1.
27562 (CPPFLAGS-tst-longjmp_chk.c): Define.
27563 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27564 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27565 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27566 CFLAGS-tst-wchar-h.c.
27567
27568 2012-05-31 Marek Polacek <polacek@redhat.com>
27569
27570 [BZ #14132]
27571 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27572 __endmntent_internal): Remove declaration.
27573 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27574 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27575 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27576
27577 2012-05-30 David S. Miller <davem@davemloft.net>
27578
27579 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27580 (___Q_simulate_exceptions): Use real FP ops rather than writing
27581 into the %fsr.
27582 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27583 Likewise.
27584
27585 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27586
27587 [BZ #14117]
27588 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27589 * sysdeps/x86/bits/xtitypes.h: This.
27590
27591 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27592 * sysdeps/x86/bits/wordsize.h: This.
27593
27594 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27595 * sysdeps/x86/bits/huge_vall.h: This.
27596
27597 * sysdeps/i386/bits/select.h: Removed.
27598 * sysdeps/x86_64/bits/select.h: Renamed to ...
27599 * sysdeps/x86/bits/select.h: This.
27600
27601 * sysdeps/i386/bits/setjmp.h: Removed.
27602 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27603 * sysdeps/x86/bits/setjmp.h: This.
27604
27605 * sysdeps/i386/bits/mathdef.h: Removed.
27606 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27607 * sysdeps/x86/bits/mathdef.h: This.
27608
27609 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27610
27611 [BZ #14132]
27612 * include/sys/socket.h (__connect_internal)
27613 (__libc_sa_len_internal): Remove declaration.
27614 (__connect, __libc_sa_len): Declare hidden_proto.
27615 (SA_LEN): Remove use of INTUSE.
27616 * socket/connect.c: Add libc_hidden_def.
27617 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27618 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27619 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27620 alias.
27621 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27622 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27623 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27624 of adding _internal alias.
27625
27626 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27627
27628 [BZ #14117]
27629 * sysdeps/i386/bits/link.h: Removed.
27630 * sysdeps/i386/bits/linkmap.h: Likewise.
27631 * sysdeps/x86_64/bits/link.h: Renamed to ...
27632 * sysdeps/x86/bits/link.h: This.
27633 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27634 * sysdeps/x86/bits/linkmap.h: This.
27635
27636 * sysdeps/i386/bits/endian.h: Removed.
27637 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27638 * sysdeps/x86/bits/endian.h: This.
27639
27640 * sysdeps/i386/bits/byteswap.h: Removed.
27641 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27642 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27643 * sysdeps/x86/bits/byteswap.h: This.
27644 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27645 * sysdeps/x86/bits/byteswap-16.h: This.
27646 * sysdeps/i386/Implies: Add x86.
27647 * sysdeps/x86_64/Implies: Likewise.
27648
27649 2012-05-30 David S. Miller <davem@davemloft.net>
27650
27651 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27652 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27653 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27654 (FP_TRAPPING_EXCEPTIONS): Define.
27655 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27656 (FP_TRAPPING_EXCEPTIONS): Define.
27657 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27658 subnormals only when inexact has been signalled or underflow
27659 exceptions are enabled.
27660 (_FP_PACK_CANONICAL): Likewise.
27661
27662 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27663
27664 [BZ #14183]
27665 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27666 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27667
27668 2012-05-30 Richard Henderson <rth@twiddle.net>
27669
27670 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27671 with #ifndef NOT_IN_libc.
27672
27673 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27674 marked to avoid plt entry.
27675
27676 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27677
27678 [BZ #14112]
27679 * Makeconfig (default-abi): New macro.
27680 (abi-includes): Likewise.
27681 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27682 $(abi-$(default-abi)-lib-soname) for soname if defined.
27683 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27684 abi-variants.
27685 * Makefile (installed-stubs): Likewise.
27686 * include/stubs-biarch.h: Removed.
27687 * scripts/lib-names.awk: Only handle one library at a time.
27688 * scripts/soversions.awk: Remove WORDSIZE support.
27689 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27690 entries.
27691 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27692 Removed.
27693 (syscall-list-default-condition): Likewise.
27694 (syscall-list-default-condition): Likewise.
27695 (syscall-list-includes): Likewise.
27696 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27697 syscall-list-* with abi-*. Handle undefined abi-variants.
27698 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27699 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27700 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27701 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27702 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27703 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27704 Removed.
27705 (syscall-list-32-options): Likewise.
27706 (syscall-list-32-condition): Likewise.
27707 (syscall-list-64-options): Likewise.
27708 (syscall-list-64-condition): Likewise.
27709 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27710 macro.
27711 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27712 Renamed to ...
27713 (abi-*): This.
27714 (abi-64-ld-soname): New macro.
27715 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27716 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27717 Renamed to ...
27718 (abi-*): This.
27719 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27720 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27721
27722 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27723
27724 * sysdeps/unix/sysv/linux/kernel-features.h
27725 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27726 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27727 include <kernel-features.h>.
27728 [!__NR_ftruncate64]: Remove conditional code.
27729 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27730 [__NR_ftruncate64]: Make code unconditional.
27731 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27732 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27733 include <kernel-features.h>.
27734 [!__NR_ftruncate64]: Remove conditional code.
27735 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27736 [__NR_ftruncate64]: Make code unconditional.
27737 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27739 include <kernel-features.h>.
27740 [!__NR_ftruncate64]: Remove conditional code.
27741 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27742 [__NR_ftruncate64]: Make code unconditional.
27743 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27745 include <kernel-features.h>.
27746 [!__NR_ftruncate64]: Remove conditional code.
27747 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27748 [__NR_ftruncate64]: Make code unconditional.
27749 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27750
27751 * configure.in (libc_cv_fpie): Weaken to a compile test using
27752 LIBC_TRY_CC_OPTION.
27753 * configure: Regenerated.
27754
27755 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27756
27757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27761 Refreshed.
27762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27768 Refreshed.
27769
27770 2012-05-27 David S. Miller <davem@davemloft.net>
27771
27772 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27773 (___Q_zero): New.
27774 (__Q_simulate_exceptions): Return void. Change to simulate
27775 exceptions by writing into the %fsr.
27776 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27777 (__Qp_handle_exceptions): Likewise.
27778 (numbers): Delete.
27779 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27780 __Qp_handle_exceptions.
27781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27782 __Qp_handle_exceptions.
27783 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27784 as unused and give dummy FP_RND_NEAREST initializer.
27785 (FP_INHIBIT_RESULTS): Define.
27786 (___Q_simulate_exceptions): Update declaration.
27787 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27788 formatting.
27789 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27790 as unused and give dummy FP_RND_NEAREST initializer.
27791 (__Qp_handle_exceptions): Update declaration.
27792 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27793 formatting.
27794
27795 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27796
27797 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27798 the temporary FPU control word.
27799 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27800 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27801 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27802 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27803 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27804 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27805 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27806 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27807 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27808 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27809 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27810
27811 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27812
27813 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27814 fields.
27815
27816 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27817
27818 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27819 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27820 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27821 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27822 Likewise.
27823 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27824 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27825 Likewise.
27826
27827 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27828
27829 * po/h.po: Update from translation team.
27830
27831 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27832
27833 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27834
27835 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27836 handling of denormals.
27837 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27838 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27839 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27840 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27844 Likewise.
27845
27846 2012-05-26 Marek Polacek <polacek@redhat.com>
27847
27848 [BZ #14152]
27849 * math/libm-test.inc (fma_test): Don't always expect underflow
27850 exception.
27851
27852 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27853
27854 [BZ #12416]
27855 * elf/tst-execstack.c: Include stackinfo.h.
27856 (do_test): Adjust test case to ensure that pthread_getattr_np
27857 behaviour remains the same after marking stack executable.
27858
27859 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27860
27861 * sysdeps/unix/sysv/linux/kernel-features.h
27862 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27863 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27864 kernel-features.h.
27865 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27866 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27867 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27868 kernel-features.h.
27869 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27870 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27871
27872 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27873
27874 * configure.in: Define the default includes to being none.
27875 * configure: Regenerated.
27876
27877 2012-05-25 Roland McGrath <roland@hack.frob.com>
27878
27879 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27880 * sysdeps/x86_64/setjmp.S: Likewise.
27881 * sysdeps/i386/bsd-setjmp.S: Likewise.
27882 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27883 * sysdeps/i386/setjmp.S: Likewise.
27884 * sysdeps/i386/__longjmp.S: Likewise.
27885 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27886 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27887
27888 * include/stap-probe.h: New file.
27889 * configure.in: Handle --enable-systemtap.
27890 * configure: Regenerated.
27891 * config.h.in (USE_STAP_PROBE): New #undef.
27892 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27893 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27894 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27895
27896 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27897
27898 [BZ #13717]
27899 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27900 to 2.4.0 where earlier.
27901 * sysdeps/unix/sysv/linux/configure: Regenerated.
27902 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27903 <kernel-features.h>.
27904 [__ASSUME_32BITUIDS]: Make code unconditional.
27905 [!__ASSUME_32BITUIDS]: Remove conditional code.
27906 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27907 <kernel-features.h>.
27908 [__ASSUME_32BITUIDS]: Make code unconditional.
27909 [!__ASSUME_32BITUIDS]: Remove conditional code.
27910 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27911 [__ASSUME_32BITUIDS]: Make code unconditional.
27912 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27913 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27914 <kernel-features.h>.
27915 [__ASSUME_32BITUIDS]: Make code unconditional.
27916 [!__ASSUME_32BITUIDS]: Remove conditional code.
27917 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27918 <kernel-features.h>.
27919 [__ASSUME_32BITUIDS]: Make code unconditional.
27920 [!__ASSUME_32BITUIDS]: Remove conditional code.
27921 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27922 <kernel-features.h>.
27923 [__ASSUME_32BITUIDS]: Make code unconditional.
27924 [!__ASSUME_32BITUIDS]: Remove conditional code.
27925 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27926 <kernel-features.h>.
27927 [__ASSUME_32BITUIDS]: Make code unconditional.
27928 [!__ASSUME_32BITUIDS]: Remove conditional code.
27929 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27930 <kernel-features.h>.
27931 [__ASSUME_32BITUIDS]: Make code unconditional.
27932 [!__ASSUME_32BITUIDS]: Remove conditional code.
27933 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27934 <kernel-features.h>.
27935 [__ASSUME_32BITUIDS]: Make code unconditional.
27936 [!__ASSUME_32BITUIDS]: Remove conditional code.
27937 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27938 <kernel-features.h>.
27939 [__ASSUME_32BITUIDS]: Make code unconditional.
27940 [!__ASSUME_32BITUIDS]: Remove conditional code.
27941 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27942 <kernel-features.h>.
27943 [__ASSUME_32BITUIDS]: Make code unconditional.
27944 [!__ASSUME_32BITUIDS]: Remove conditional code.
27945 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27946 <kernel-features.h>.
27947 [__ASSUME_32BITUIDS]: Make code unconditional.
27948 [!__ASSUME_32BITUIDS]: Remove conditional code.
27949 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27950 <kernel-features.h>.
27951 [__ASSUME_32BITUIDS]: Make code unconditional.
27952 [!__ASSUME_32BITUIDS]: Remove conditional code.
27953 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27954 <kernel-features.h>.
27955 [__NR_setresgid] (__setresgid): Do not declare.
27956 [__ASSUME_32BITUIDS]: Make code unconditional.
27957 [!__ASSUME_32BITUIDS]: Remove conditional code.
27958 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27959 <kernel-features.h>.
27960 [__NR_setresuid] (__setresuid): Do not declare.
27961 [__ASSUME_32BITUIDS]: Make code unconditional.
27962 [!__ASSUME_32BITUIDS]: Remove conditional code.
27963 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27964 <kernel-features.h>.
27965 [__ASSUME_32BITUIDS]: Make code unconditional.
27966 [!__ASSUME_32BITUIDS]: Remove conditional code.
27967 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27968 <kernel-features.h>.
27969 [__ASSUME_32BITUIDS]: Make code unconditional.
27970 [!__ASSUME_32BITUIDS]: Remove conditional code.
27971 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27972 <kernel-features.h>.
27973 [__ASSUME_32BITUIDS]: Make code unconditional.
27974 [!__ASSUME_32BITUIDS]: Remove conditional code.
27975 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27976 <kernel-features.h>.
27977 [__ASSUME_32BITUIDS]: Make code unconditional.
27978 [!__ASSUME_32BITUIDS]: Remove conditional code.
27979 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27980 <kernel-features.h>.
27981 [__ASSUME_32BITUIDS]: Make code unconditional.
27982 [!__ASSUME_32BITUIDS]: Remove conditional code.
27983 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27984 <kernel-features.h>.
27985 [__ASSUME_32BITUIDS]: Make code unconditional.
27986 [!__ASSUME_32BITUIDS]: Remove conditional code.
27987 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27988 <kernel-features.h>.
27989 [__ASSUME_32BITUIDS]: Make code unconditional.
27990 [!__ASSUME_32BITUIDS]: Remove conditional code.
27991 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27992 <kernel-features.h>.
27993 [__ASSUME_32BITUIDS]: Make code unconditional.
27994 [!__ASSUME_32BITUIDS]: Remove conditional code.
27995 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27996 <kernel-features.h>.
27997 [__ASSUME_32BITUIDS]: Make code unconditional.
27998 [!__ASSUME_32BITUIDS]: Remove conditional code.
27999 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28000 <kernel-features.h>.
28001 [__ASSUME_32BITUIDS]: Make code unconditional.
28002 [!__ASSUME_32BITUIDS]: Remove conditional code.
28003 * sysdeps/unix/sysv/linux/kernel-features.h
28004 (__ASSUME_SETRESUID_SYSCALL): Remove.
28005 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28006 (__ASSUME_32BITUIDS): Likewise.
28007 (__ASSUME_LDT_WORKS): Likewise.
28008 (__ASSUME_O_DIRECTORY): Likewise.
28009 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28010 architecture but not kernel version.
28011 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28012 (__ASSUME_MMAP2_SYSCALL): Likewise.
28013 (__ASSUME_STAT64_SYSCALL): Likewise.
28014 (__ASSUME_IPC64): Likewise.
28015 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28016 <kernel-features.h>.
28017 [__ASSUME_32BITUIDS]: Make code unconditional.
28018 [!__ASSUME_32BITUIDS]: Remove conditional code.
28019 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28020 <kernel-features.h>.
28021 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28022 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28023 132096]: Remove conditional code.
28024 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28025 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28026 <kernel-features.h>.
28027 [__ASSUME_32BITUIDS]: Make code unconditional.
28028 [!__ASSUME_32BITUIDS]: Remove conditional code.
28029 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28030 <kernel-features.h>.
28031 [__ASSUME_32BITUIDS]: Make code unconditional.
28032 [!__ASSUME_32BITUIDS]: Remove conditional code.
28033 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28034 <kernel-features.h>.
28035 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28036 unconditional.
28037 (__setresgid): Do not declare.
28038 [__ASSUME_32BITUIDS]: Make code unconditional.
28039 [!__ASSUME_32BITUIDS]: Remove conditional code.
28040 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28041 <kernel-features.h>.
28042 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28043 unconditional.
28044 (__setresuid): Do not declare.
28045 [__ASSUME_32BITUIDS]: Make code unconditional.
28046 [!__ASSUME_32BITUIDS]: Remove conditional code.
28047 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28048 <kernel-features.h>.
28049 [__ASSUME_32BITUIDS]: Make code unconditional.
28050 [!__ASSUME_32BITUIDS]: Remove conditional code.
28051 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28052 <kernel-features.h>.
28053 [__ASSUME_32BITUIDS]: Make code unconditional.
28054 [!__ASSUME_32BITUIDS]: Remove conditional code.
28055
28056 2012-05-25 Richard Henderson <rth@twiddle.net>
28057
28058 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28059 dl_hwcap to ifunc resolver.
28060 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28061 elf_ifunc_invoke.
28062 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28063 dl_hwcap to ifunc resolver.
28064 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28065
28066 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28067
28068 [BZ #14153]
28069 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28070 for |x| <= 2**-26, not 2**-57.
28071 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28072 exception.
28073
28074 2012-05-24 Jeff Law <law@redhat.com>
28075
28076 * stdio-common/Makefile (tests): Add bug25.
28077 * stdio-common/bug25.c: New test.
28078
28079 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28080
28081 [BZ #13576]
28082 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28083 multiple of MALLOC_ALIGNMENT in size.
28084 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28085
28086 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28087
28088 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28089 Require >= 256.
28090 (FILENAME_MAX): Use macro-int-constant.
28091 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28092 (_IOFBF): Use macro-int-constant.
28093 (_IOLBF): Likewise.
28094 (_IONBF): Likewise.
28095 (SEEK_CUR): Likewise.
28096 (SEEK_END): Likewise.
28097 (SEEK_SET): Likewise.
28098 (TMP_MAX): Likewise.
28099 (EOF): Use macro-int-constant. Require < 0.
28100 (NULL): Use macro-constant. Require == 0.
28101 (stdin): Require type to be FILE *.
28102 (stdout): Likewise.
28103 (stderr): Likewise.
28104 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28105 macro-int-constant.
28106 (EXIT_SUCCESS): Likewise.
28107 (NULL): Use macro-constant. Require == 0.
28108 (RAND_MAX): Use macro-int-constant.
28109 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28110 [C99-based standards] (strtof): Require function.
28111 [C99-based standards] (strtold): Likewise.
28112 [C99-based standards] (strtoll): Likewise.
28113 [C99-based standards] (strtoull): Likewise.
28114 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28115 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28116 [ISO || ISO99 || ISO11] (math.h): Likewise.
28117 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28118 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28119 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28120
28121 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28122
28123 [BZ #14132]
28124 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28125 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28126 * intl/dgettext.c (DCGETTEXT): Likewise.
28127 * intl/gettext.c (DCGETTEXT): Likewise.
28128 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28129 * posix/regex_internal.h (gettext): Likewise.
28130 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28131 Remove declaration.
28132 * include/argz.h (__argz_count_internal)
28133 (__argz_stringify_internal): Remove declaration.
28134 (__argz_count, __argz_stringify): Declare hidden proto.
28135 * intl/dcgettext.c: Remove use of INTDEF.
28136 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28137 * string/argz-stringify.c: Likewise.
28138 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28139 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28140 Declare hidden proto.
28141 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28142 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28143 Declare hidden proto.
28144 * include/stdio.h (__asprintf_internal): Don't declare.
28145 (__asprintf): Don't define as macro. Declare hidden proto.
28146 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28147 (__fsetlocking): Declare hidden proto.
28148 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28149 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28150 hidden proto.
28151 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28152 (_IO_setlinebuf): Remove use of INTUSE.
28153 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28154 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28155 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28156 Remove declaration.
28157 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28158 (_IO_do_flush): Remove use of INTUSE.
28159 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28160 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28161 (_IO_adjust_column, _IO_least_wmarker)
28162 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28163 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28164 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28165 (_IO_default_doallocate, _IO_wdefault_doallocate)
28166 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28167 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28168 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28169 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28170 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28171 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28172 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28173 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28174 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28175 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28176 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28177 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28178 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28179 proto.
28180 (_IO_flush_all_internal, _IO_adjust_column_internal)
28181 (_IO_default_uflow_internal, _IO_default_finish_internal)
28182 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28183 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28184 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28185 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28186 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28187 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28188 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28189 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28190 (_IO_file_close_internal, _IO_file_close_it_internal)
28191 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28192 (_IO_file_init_internal, _IO_file_attach_internal)
28193 (_IO_file_fopen_internal, _IO_file_read_internal)
28194 (_IO_file_sync_internal, _IO_file_seek_internal)
28195 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28196 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28197 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28198 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28199 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28200 (_IO_list_all_internal, _IO_link_in_internal)
28201 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28202 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28203 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28204 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28205 (_IO_do_write_internal, _IO_padn_internal)
28206 (_IO_getline_info_internal, _IO_getline_internal)
28207 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28208 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28209 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28210 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28211 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28212 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28213 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28214 with libc_hidden_ver, remove use of INTUSE.
28215 * libio/genops.c: Likewise.
28216 * libio/freopen.c: Likewise.
28217 * libio/freopen64.c: Likewise.
28218 * libio/iofclose.c: Likewise.
28219 * libio/iofdopen.c: Likewise.
28220 * libio/iofflush.c: Likewise.
28221 * libio/iofflush_u.c: Likewise.
28222 * libio/iofgets.c: Likewise.
28223 * libio/iofgets_u.c: Likewise.
28224 * libio/iofopen.c: Likewise.
28225 * libio/iofopncook.c: Likewise.
28226 * libio/iofread.c: Likewise.
28227 * libio/iofread_u.c: Likewise.
28228 * libio/ioftell.c: Likewise.
28229 * libio/iofwrite.c: Likewise.
28230 * libio/iogetline.c: Likewise.
28231 * libio/iogets.c: Likewise.
28232 * libio/iogetwline.c: Likewise.
28233 * libio/iopadn.c: Likewise.
28234 * libio/iopopen.c: Likewise.
28235 * libio/ioseekoff.c: Likewise.
28236 * libio/ioseekpos.c: Likewise.
28237 * libio/iosetbuffer.c: Likewise.
28238 * libio/iosetvbuf.c: Likewise.
28239 * libio/ioungetc.c: Likewise.
28240 * libio/ioungetwc.c: Likewise.
28241 * libio/iovdprintf.c: Likewise.
28242 * libio/iovsprintf.c: Likewise.
28243 * libio/iovsscanf.c: Likewise.
28244 * libio/memstream.c: Likewise.
28245 * libio/obprintf.c: Likewise.
28246 * libio/oldfileops.c: Likewise.
28247 * libio/oldiofclose.c: Likewise.
28248 * libio/oldiofdopen.c: Likewise.
28249 * libio/oldiofopen.c: Likewise.
28250 * libio/oldiopopen.c: Likewise.
28251 * libio/oldstdfiles.c: Likewise.
28252 * libio/putc.c: Likewise.
28253 * libio/setbuf.c: Likewise.
28254 * libio/setlinebuf.c: Likewise.
28255 * libio/stdfiles.c: Likewise.
28256 * libio/strops.c: Likewise.
28257 * libio/vasprintf.c: Likewise.
28258 * libio/vscanf.c: Likewise.
28259 * libio/vsnprintf.c: Likewise.
28260 * libio/vswprintf.c: Likewise.
28261 * libio/wfiledoalloc.c: Likewise.
28262 * libio/wfileops.c: Likewise.
28263 * libio/wgenops.c: Likewise.
28264 * libio/wmemstream.c: Likewise.
28265 * libio/wstrops.c: Likewise.
28266 * libio/__fpurge.c: Likewise.
28267 * libio/__fsetlocking.c: Likewise.
28268 * assert/assert.c: Likewise.
28269 * debug/fgets_chk.c: Likewise.
28270 * debug/fgets_u_chk.c: Likewise.
28271 * debug/fread_chk.c: Likewise.
28272 * debug/fread_u_chk.c: Likewise.
28273 * debug/gets_chk.c: Likewise.
28274 * debug/obprintf_chk.c: Likewise.
28275 * debug/vasprintf_chk.c: Likewise.
28276 * debug/vdprintf_chk.c: Likewise.
28277 * debug/vsnprintf_chk.c: Likewise.
28278 * debug/vsprintf_chk.c: Likewise.
28279 * malloc/mtrace.c: Likewise.
28280 * misc/error.c: Likewise.
28281 * misc/syslog.c: Likewise.
28282 * stdio-common/asprintf.c: Likewise.
28283 * stdio-common/fxprintf.c: Likewise.
28284 * stdio-common/getw.c: Likewise.
28285 * stdio-common/isoc99_fscanf.c: Likewise.
28286 * stdio-common/isoc99_scanf.c: Likewise.
28287 * stdio-common/isoc99_vfscanf.c: Likewise.
28288 * stdio-common/isoc99_vscanf.c: Likewise.
28289 * stdio-common/isoc99_vsscanf.c: Likewise.
28290 * stdio-common/printf-prs.c: Likewise.
28291 * stdio-common/printf_fp.c: Likewise.
28292 * stdio-common/printf_fphex.c: Likewise.
28293 * stdio-common/printf_size.c: Likewise.
28294 * stdio-common/putw.c: Likewise.
28295 * stdio-common/scanf.c: Likewise.
28296 * stdio-common/sprintf.c: Likewise.
28297 * stdio-common/tmpfile.c: Likewise.
28298 * stdio-common/vfprintf.c: Likewise.
28299 * stdio-common/vfscanf.c: Likewise.
28300 * stdlib/strfmon_l.c: Likewise.
28301 * sunrpc/openchild.c: Likewise.
28302 * sunrpc/xdr_stdio.c: Likewise.
28303 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28304 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28305
28306 2012-05-24 Roland McGrath <roland@hack.frob.com>
28307
28308 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28309
28310 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28311 in the third column, to generate for the shared library an IFUNC
28312 that uses _dl_vdso_vsym.
28313 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28314 * Makeconfig (object-suffixes-noshared): New variable.
28315
28316 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28317 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28318 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28319 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28320
28321 [BZ #14132]
28322 * include/sys/time.h (__gettimeofday): Remove macro.
28323 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28324 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28325 Remove INTDEF.
28326 (__gettimeofday): Add libc_hidden_def.
28327 (gettimeofday): Add libc_hidden_weak.
28328 * sysdeps/mach/gettimeofday.c: Likewise.
28329 * sysdeps/posix/gettimeofday.c: Likewise.
28330 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28331 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28332 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28333 (__gettimeofday_internal): Remove strong_alias.
28334 (__gettimeofday): Add libc_hidden_def.
28335 (gettimeofday): Add libc_hidden_weak.
28336 * sysdeps/unix/syscalls.list (gettimeofday):
28337 Remove __gettimeofday_internal alias.
28338
28339 2012-05-24 Daniel Jacobowitz <drow@false.org>
28340 H.J. Lu <hongjiu.lu@intel.com>
28341
28342 [BZ #12495]
28343 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28344 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28345 (largebin_index_32_big): New.
28346 (largebin_index): Use it for 16-byte alignment.
28347 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28348 correction with front_misalign.
28349
28350 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28351
28352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28354 Likewise.
28355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28356 Likewise.
28357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28358 Likewise.
28359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28360 Likewise.
28361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28362 Likewise.
28363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28364 Likewise.
28365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28366 Likewise.
28367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28368 Likewise.
28369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28370 Likewise.
28371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28372 Likewise.
28373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28374 Likewise.
28375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28376 Likewise.
28377
28378 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28379 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28380
28381 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28382
28383 [BZ #10846]
28384 [BZ #14036]
28385 * math/libm-test.inc (exp_test): Add test from bug 14036.
28386 (pow_test): Add test from bug 10846.
28387
28388 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28389 and other flags.
28390 (special_function): Do not include flags in test name.
28391 (parse_args): Likewise.
28392 * sysdeps/i386/fpu/libm-test-ulps: Update.
28393 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28394 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28395 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28397
28398 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28399 exceptions.
28400 * math/libm-test.inc ("Philosophy"): Update comment about
28401 exception testing.
28402 (UNDERFLOW_EXCEPTION): New macro.
28403 (UNDERFLOW_EXCEPTION_OK): Likewise.
28404 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28405 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28406 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28407 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28408 (INVALID_EXCEPTION_OK): Update value.
28409 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28410 (OVERFLOW_EXCEPTION_OK): Likewise.
28411 (IGNORE_ZERO_INF_SIGN): Likewise.
28412 (test_exceptions): Handle underflow exceptions.
28413 (acos_test): Update for underflow exception expectations.
28414 (cexp_test): Likewise.
28415 (clog_test): Likewise.
28416 (clog10_test): Likewise.
28417 (csqrt_test): Likewise.
28418 (ctan_test): Likewise.
28419 (ctanh_test): Likewise.
28420 (exp_test): Likewise.
28421 (exp10_test): Likewise.
28422 (exp2_test): Likewise.
28423 (expm1_test): Likewise.
28424 (fma_test): Likewise.
28425 (j0_test): Likewise.
28426 (jn_test): Likewise.
28427 (nexttoward_test): Likewise.
28428 (pow_test): Likewise.
28429 (scalbn_test): Likewise.
28430 (scalbln_test): Likewise.
28431 (tan_test): Likewise.
28432 (y1_test): Likewise.
28433 * sysdeps/i386/fpu/libm-test-ulps: Update.
28434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28435
28436 2012-05-23 David S. Miller <davem@davemloft.net>
28437
28438 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28439 (__libc_sigaction): Remove unused local variables.
28440
28441 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28442
28443 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28444
28445 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28446
28447 mktime: avoid signed integer overflow
28448 * time/mktime.c (__mktime_internal): Do not mishandle the case
28449 where diff == INT_MIN.
28450
28451 mktime: simplify computation of average
28452 * time/mktime.c (ranged_convert): Use new time_t_avg function
28453 instead of rolling our own (probably-slower) code.
28454
28455 mktime: do not assume signed right shift propagates sign bit
28456 * time/mktime.c (isdst_differ): New static function.
28457 (__mktime_internal): No need to normalize tm_isdst now.
28458 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28459 tm_isdst values.
28460
28461 mktime: merge another wrapv change from gnulib
28462 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28463 from some compilers.
28464
28465 mktime: remove incorrect attempt at unusual arithmetics
28466 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28467 The code didn't really work on such machines anyway.
28468 (TYPE_MINIMUM): Assume two's complement.
28469 (twos_complement_arithmetic): Verify that long_int and time_t
28470 are two's complement (or unsigned, in the latter case).
28471
28472 mktime: check signed shifts on long_int and time_t, too
28473 * time/mktime.c (SHR): Check that shifts work as desired
28474 on the types long_int and time_t too, as SHR is used on
28475 such types.
28476
28477 mktime: do not assume 'long' is wide enough
28478 * time/mktime.c (verify): Move decl up.
28479 (long_int): New type.
28480 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28481 to remove assumption in the code that 'long' is wide enough to
28482 store year values. This assumption is not true on x32 and on
28483 some non-glibc platforms.
28484
28485 mktime: merge wrapv change from gnulib
28486 * time/mktime.c (WRAPV): New macro.
28487 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28488 (guess_time_tm, __mktime_internal): Do not assume that signed
28489 integer overflow wraps around; modern compilers generate code
28490 where this assumption is no longer valid.
28491
28492 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28493
28494 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28495 Replace "jmp L(pseudo_end)" with "ret".
28496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28497 Likewise.
28498
28499 2012-05-23 Andreas Jaeger <aj@suse.de>
28500
28501 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28502 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28503
28504 2012-05-23 Andreas Jaeger <aj@suse.de>
28505 Maximilian Attems <max@stro.at>
28506
28507 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28508 New macros.
28509
28510 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28511
28512 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28513 code so that pseudo_end is just ret and the stack pointer is
28514 correct also for static library in error case.
28515
28516 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28517
28518 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28519 move to syscalls.list.
28520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28524
28525 * manual/install.texi (Running make install): Do not mention Linux
28526 kernel version for which pt_chown is not needed.
28527 (Linux): Do not mention problems with nscd with 2.0 kernels.
28528 * INSTALL: Regenerated.
28529
28530 2012-05-23 Andreas Jaeger <aj@suse.de>
28531
28532 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28533 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28534 macro.
28535 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28536 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28537 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28538 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28539 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28540 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28541 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28542 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28543 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28544 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28545 * sysdeps/unix/sysv/linux/bits/in.h
28546 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28547
28548 2012-05-22 Roland McGrath <roland@hack.frob.com>
28549
28550 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28551 (PREPARE_VERSION): Just use assert instead, it will be elided
28552 under [NDEBUG] anyway.
28553
28554 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28555
28556 * sysdeps/unix/sysv/linux/Makefile: Include
28557 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28558 (sysdep_routines): Remove sysctl.
28559 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28560 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28561 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28562 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28563 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28564
28565 2012-05-22 Andreas Jaeger <aj@suse.de>
28566
28567 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28568 that pseudo_end is just ret and the stack pointer is correct also
28569 for static library in error case.
28570
28571 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28572
28573 [BZ #14122]
28574 * nss/nsswitch.c (defconfig_entries): New variable.
28575 (__nss_database_lookup): Don't leak defconfig entries.
28576 (nss_parse_service_list): Don't leak on error paths.
28577 (free_database_entries): New function.
28578 (free_defconfig): New function.
28579 (free_mem): Move common code to free_database_entries.
28580
28581 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28582
28583 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28584 Add arch_prctl.
28585 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28586
28587 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28588 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28590 New macro.
28591 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28592 (INTERNAL_SYSCALL_TYPES): Likewise.
28593 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28594 (LOAD_REGS_TYPES_[1-6]): Likewise.
28595 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28596 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28597
28598 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28599
28600 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28601 copysignl for GLIBC_2_0.
28602 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28603 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28604 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28605 logbl for GLIBC_2_0.
28606 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28607 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28608
28609 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28610
28611 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28612 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28613
28614 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28615 Use "neg %eax".
28616
28617 * time/mktime.c: Update copyright years.
28618
28619 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28620
28621 mktime: merge comment-quoting-style change from gnulib
28622 * time/mktime.c: Quote 'like this' in comments.
28623 The GNU coding standards suggest that we no longer quote `like this',
28624 as "`" and "'" are typically rendered asymmetrically nowadays.
28625 The typical gnulib style is to quote 'like this' when quoting
28626 code, and "like this" when quoting English.
28627
28628 * time/mktime.c (compile-command): Add "-I.".
28629
28630 mktime: merge mktime-internal.h change from gnulib
28631 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28632
28633 mktime: merge time_r change from gnulib
28634 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28635
28636 mktime: merge DEBUG change from gnulib
28637 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28638 case system <time.h> has a #define.
28639
28640 mktime: merge <sys/types.h> change from gnulib
28641 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28642 since <time.t> is now guaranteed to define time_t.
28643
28644 mktime: merge HAVE_CONFIG_H change from gnulib
28645 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28646
28647 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28648
28649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28650 Use "neg %eax".
28651
28652 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28653 __rlim_t cast.
28654 (struct rusage): Use anonymous union to pad each field to
28655 __syscall_slong_t.
28656
28657 2012-05-21 David S. Miller <davem@davemloft.net>
28658
28659 * Makefules (o-iterator): Remove .s cases.
28660 (compile-command.s): Delete.
28661 (COMPILE.s): Delete.
28662 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28663
28664 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28665
28666 * configure.in (libc_cv_predef_stack_protector): Only consider
28667 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28668 * configure: Regenerated.
28669
28670 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28671
28672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28673 New macro. Use R*LP on int and pointer.
28674 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28675 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28676 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28677 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28678
28679 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28680 [__WORDSIZE_TIME64_COMPAT32] instead of
28681 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28682 (struct utmp): Likewise.
28683 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28684 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28685 Renamed to ...
28686 (__WORDSIZE_TIME64_COMPAT32): This.
28687 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28688 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28689 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28690 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28691 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28692 (__WORDSIZE_TIME64_COMPAT32): New macro.
28693
28694 2012-05-21 Andreas Jaeger <aj@suse.de>
28695
28696 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28697 only if [SHARED]. Add prototype for __wcschr_ia32.
28698
28699 2012-05-21 Roland McGrath <roland@hack.frob.com>
28700
28701 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28702 of %rbp unmolested in the jmp_buf while mangling the low bits.
28703 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28704 unmolested high bits of %rbp while demangling the low bits.
28705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28706
28707 2012-05-21 Andreas Jaeger <aj@suse.de>
28708
28709 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28710 * sunrpc/svc_simple.c: Use it for registerrpc.
28711 * sunrpc/xcrypt.c: Use it for passwd2des.
28712
28713 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28714
28715 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28716
28717 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28718 Don't define if [__SYSCALL_WORDSIZE != 32].
28719 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28720 New macro.
28721
28722 2012-05-21 Bruno Haible <bruno@clisp.org>
28723 Andreas Jaeger <aj@suse.de>
28724
28725 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28726 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28727 inptr and inend for must_buffer_ch.
28728 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28729 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28730 * stdio-common/Makefile (tests): Remove bug15.
28731 (bug15-ENV): Remove macro.
28732 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28733 anymore.
28734
28735 2012-05-19 Andreas Jaeger <aj@suse.de>
28736 Roland McGrath <roland@hack.frob.com>
28737
28738 * manual/contrib.texi: Completely rewritten. It contains now an
28739 alphabetical list of contributors and their contributions.
28740
28741 2012-05-21 Richard Henderson <rth@twiddle.net>
28742
28743 * misc/getauxval.c (__getauxval): Use unsigned long int.
28744 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28745 (getauxval): Use unsigned long int.
28746
28747 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28748
28749 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28750
28751 2012-05-21 Roland McGrath <roland@hack.frob.com>
28752
28753 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28754 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28755 __alignof__ (long double).
28756
28757 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28758
28759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28760
28761 2012-05-20 Richard Henderson <rth@twiddle.net>
28762
28763 * misc/getauxval.c: New file.
28764 * misc/sys/auxv.h: New file.
28765 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28766 (routines): Add getauxval.
28767 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28768 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28769 * elf/dl-sysdep.c (_dl_auxv): Remove.
28770 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28771 * elf/dl-support.c (_dl_auxv): New variable.
28772 (_dl_aux_init): Initialize it.
28773 * manual/startup.texi (Auxiliary Vector): New node.
28774 * sysdeps/generic/bits/hwcap.h: New file.
28775 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28776 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28777 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28778 * sysdeps/sparc/sysdep.h: ... here. Include it.
28779 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28780 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28782 Update.
28783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28786 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28791
28792 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28793
28794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28795
28796 2012-05-19 David S. Miller <davem@davemloft.net>
28797
28798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28799
28800 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28801
28802 [BZ #14123]
28803 * math/s_ccosh.c: Include <float.h>
28804 (__ccosh): Avoid internal overflow calculating sinh and cosh
28805 values before multiplying by sin and cos values.
28806 * math/s_ccoshf.c: Likewise.
28807 * math/s_ccoshl.c: Likewise.
28808 * math/s_csin.c: Likewise.
28809 * math/s_csinf.c: Likewise.
28810 * math/s_csinl.c: Likewise.
28811 * math/s_csinh.c: Likewise.
28812 * math/s_csinhf.c: Likewise.
28813 * math/s_csinhl.c: Likewise.
28814 * math/libm-test.inc (ccos_test): Add more tests.
28815 (ccosh_test): Likewise.
28816 (csin_test): Likewise.
28817 (csinh_test): Likewise.
28818 * sysdeps/i386/fpu/libm-test-ulps: Update.
28819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28820
28821 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28822
28823 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28824 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28825
28826 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28827
28828 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28829
28830 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28831 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28832 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28833 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28834 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28835 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28836 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28837 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28838 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28839 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28840 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28841 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28842 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28843 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28844 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28845 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28846 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28847 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28848 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28849 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28850 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28851 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28852 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28853 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28854 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28855 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28856 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28857 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28858 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28859 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28860 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28861
28862 2012-05-18 Andreas Jaeger <aj@suse.de>
28863
28864 * csu/.gitignore: Delete.
28865
28866 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28867
28868 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28869 (timex): Use __syscall_slong_t.
28870
28871 2012-05-18 Andreas Jaeger <aj@suse.de>
28872 Carlos O'Donell <carlos_odonell@mentor.com>
28873
28874 * manual/install.texi (Configuring and compiling): Update
28875 description about files modified in the source directory.
28876 * INSTALL: Regenerated.
28877
28878 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28879
28880 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28881 value. Use "or" to set return value to -1.
28882 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28883 negate return value.
28884
28885 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28886
28887 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28888 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28889 failure if the compiler has Graphite support disabled.
28890 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28891 Likewise.
28892 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28893 (CFLAGS-memmove.c): Likewise.
28894 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28895 Likewise.
28896
28897 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28898
28899 * sysdeps/x86_64/x32/_itoa.h: New file.
28900
28901 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28902 getdents system call only if kernel and user dirents have the
28903 same d_ino and d_off.
28904
28905 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28906 LLONG_MAX != LONG_MAX.
28907 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28908 (_fitoa_word): Likewise.
28909
28910 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28911 years.
28912 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28913 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28914 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28915
28916 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28917 include <bits/wordsize.h>. Check __x86_64__ instead of
28918 __WORDSIZE.
28919 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28920 if __x86_64__ is defined. Use anonymous union on fpstate.
28921
28922 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28923 anonymous union.
28924
28925 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28926
28927 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28928 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28929 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28930 Refer to _rtld_local_ro instead of _rtld_global_ro.
28931 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28932 Likewise.
28933 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28934 Likewise.
28935 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28936 Likewise.
28937 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28938 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28939 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28940
28941 * sysdeps/powerpc/powerpc32/dl-machine.c
28942 (__elf_machine_runtime_setup) [PROF]: Don't reference
28943 _dl_prof_resolve.
28944
28945 2012-05-18 Andreas Jaeger <aj@suse.de>
28946
28947 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28948 function only available for GCCs before 3.4 since GCC 3.4
28949 introduced a builtin.
28950 (lrint): Likewise.
28951 (llrintf): Likewise.
28952 (llrint): Likewise.
28953 (fmaxf): Likewise.
28954 (fmax): Likewise.
28955 (fminf): Likewise.
28956 (fmin): Likewise.
28957 (rint): Likewise.
28958 (rintf): Likewise.
28959 (nearbyint): Likewise.
28960 (nearbyintf): Likewise.
28961 (ceil): Likewise.
28962 (ceilf): Likewise.
28963 (floor): Likewise.
28964 (floorf): Likewise.
28965
28966 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28967
28968 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28969 on both fields and cast pointer to __syscall_ulong_t.
28970
28971 * bits/types.h (__fsword_t): New type.
28972 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28973 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28974 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28975 (__FSWORD_T_TYPE): Likewise.
28976 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28977 (__FSWORD_T_TYPE): Likewise.
28978 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28979 (__FSWORD_T_TYPE): Likewise.
28980 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28981 (__FSWORD_T_TYPE): Likewise.
28982 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28983 __SWORD_TYPE with __fsword_t.
28984 (statfs64): Likewise.
28985
28986 2012-05-17 David S. Miller <davem@davemloft.net>
28987
28988 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28989
28990 2012-05-17 Andreas Jaeger <aj@suse.de>
28991
28992 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28993 warning.
28994
28995 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28996
28997 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28998
28999 2012-05-17 Andreas Jaeger <aj@suse.de>
29000
29001 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29002 when it is used.
29003
29004 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29005
29006 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29007
29008 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29009
29010 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29011 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29012
29013 2012-05-17 Andreas Jaeger <aj@suse.de>
29014 Carlos O'Donell <carlos_odonell@mentor.com>
29015
29016 [BZ #14059]
29017 * sysdeps/x86_64/multiarch/init-arch.h
29018 (bit_YMM_Usable): Rename to...
29019 (bit_AVX_Usable): ... this.
29020 (bit_FMA4_Usable): New macro.
29021 (bit_XMM_state): New macro.
29022 (bit_YMM_state): New macro.
29023 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29024 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29025 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29026 (CPUID_OSXSAVE): New macro.
29027 (CPUID_AVX): New macro.
29028 (CPUID_FMA4): New macro.
29029 (index_YMM_Usable): Rename to...
29030 (index_AVX_Usable): ... this.
29031 (HAS_AVX): Use HAS_ARCH_FEATURE.
29032 (HAS_FMA4): Likewise.
29033 (HAS_YMM_USABLE): Remove.
29034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29035 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29036 are present.
29037 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29038 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29039 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29040 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29041 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29042
29043 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29044
29045 * math/libm-test.c: Support platforms without multiple rounding modes.
29046 * math/bug-nextafter.c: Support platforms without FP exceptions.
29047 * math/bug-nexttoward.c: Likewise.
29048 * math/test-fenv.c: Likewise.
29049 * math/test-misc.c: Likewise.
29050 * stdlib/bug-getcontext.c: Likewise.
29051
29052 2012-05-17 Andreas Jaeger <aj@suse.de>
29053
29054 * manual/examples/search.c (critter_cmp): Change signature to
29055 avoid warnings.
29056 * manual/string.texi (Collation Functions): Likewise.
29057
29058 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29059
29060 * bits/types.h: Fold copyright years.
29061 * bits/typesizes.h: Likewise.
29062 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29066 * time/time.h: Likewise.
29067
29068 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29069
29070 [BZ #208]
29071 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29072 in instead of returning them. Return void.
29073 (__libc_mallinfo): Accumulate over all arenas.
29074 (__malloc_stats): Adjust for change in int_mallinfo interface.
29075
29076 2012-05-16 Roland McGrath <roland@hack.frob.com>
29077
29078 [BZ #10375]
29079 * configure.in (NM): Add AC_CHECK_TOOL for it.
29080 (libc_extra_cflags): New substituted variable.
29081 Check for -fstack-protector being used implicitly.
29082 * configure: Regenerated.
29083 * config.make.in (config-extra-cflags): New variable,
29084 gets @libc_extra_cflags@.
29085 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29086
29087 [BZ #10375]
29088 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29089 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29090 * configure: Regenerated.
29091 * config.make.in (CPPUNDEFS): New substituted variable.
29092 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29093 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29094 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29095
29096 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29097
29098 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29099 (mq_attr): Use __syscall_slong_t.
29100
29101 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29102
29103 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29104 Check __x86_64__ instead of __WORDSIZE.
29105 (_STAT_VER_LINUX): Likewise.
29106 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29107 __syscall_ulong_t and __syscall_slong_t.
29108 (stat64): Likewise.
29109
29110 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29111
29112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29113
29114 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29115
29116 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29117
29118 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29119
29120 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29121 __syscall_ulong_t.
29122
29123 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29124 include <bits/wordsize.h>. Check __x86_64__ instead of
29125 __WORDSIZE.
29126 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29127 defined.
29128 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29129
29130 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29131 include <bits/wordsize.h>. Check __x86_64__ instead of
29132 __WORDSIZE.
29133 (user_regs_struct): Use "__extension__ unsigned long long"
29134 instead of "unsigned long" if __x86_64__ is defined.
29135 (user): Likewise. Pad after pointer field if __ILP32__ is
29136 defined.
29137
29138 2012-05-16 Joseph Myers <joseph@codesourcery.com>
29139
29140 * configure.in (makeinfo): Require version 4.5 or later. Allow
29141 versions 5 to 9.
29142 * configure: Regenerated.
29143 * manual/install.texi (texinfo): Increase version requirement to
29144 4.5 or later.
29145 * INSTALL: Regenerated.
29146
29147 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29148
29149 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29150
29151 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29152
29153 * sysdeps/x86_64/x32/ffs.c: New file.
29154
29155 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29156 __syscall_ulong_t.
29157 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29158 defined. Use __syscall_ulong_t.
29159 (shminfo): Use __syscall_ulong_t.
29160 (shm_info): Likewise.
29161
29162 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29163 __syscall_ulong_t.
29164
29165 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29166 <bits/wordsize.h>.
29167 (msgqnum_t): Use __syscall_ulong_t.
29168 (msglen_t): Likewise.
29169 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29170 __syscall_ulong_t.
29171
29172 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29173 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29174
29175 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29176
29177 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29178 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29179
29180 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29181 __syscall_slong_t.
29182
29183 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29184 include <bits/wordsize.h>. Check __x86_64__ instead of
29185 __WORDSIZE.
29186
29187 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29188 "unsigned long long int" if __x86_64__ is defined.
29189 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29190
29191 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29192 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29193 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29194
29195 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29196 <stdint.h>.
29197 (GET_PC): Cast to uintptr_t first.
29198 (GET_FRAME): Likewise.
29199 (GET_STACK): Likewise.
29200
29201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29202 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29203 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29204 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29205 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29206 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29207 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29208 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29209 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29210 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29211 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29212 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29213 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29214 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29215 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29216 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29217 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29218 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29219 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29220 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29221 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29222 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29223 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29224 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29225 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29226 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29227 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29229 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29230
29231 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29232
29233 * Makerules (+depfiles): Also collect depfiles from .oS in
29234 $(extra-objs).
29235 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29236 .oS, $(libnldbl-routines)).
29237
29238 * Makerules (native-compile-mkdep-flags): Define.
29239 * sunrpc/Makefile (extra-objs): Add $(addprefix
29240 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29241 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29242 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29243 calling $(make-target-directory).
29244
29245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29246
29247 * bits/types.h (__snseconds_t): Removed.
29248 * time/time.h (struct timespec): Replace __snseconds_t with
29249 __syscall_slong_t.
29250 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29251 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29252 Likewise.
29253 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29254 (__SNSECONDS_T_TYPE): Likewise.
29255 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29256 (__SNSECONDS_T_TYPE): Likewise.
29257 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29258 (__SNSECONDS_T_TYPE): Likewise.
29259
29260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29261
29262 * sysdeps/mach/hurd/bits/typesizes.h
29263 (__SYSCALL_SLONG_TYPE): New macro.
29264 (__SYSCALL_ULONG_TYPE): Likewise.
29265
29266 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29267
29268 * bits/types.h (__syscall_slong_t): New type.
29269 (__syscall_ulong_t): Likewise.
29270
29271 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29272 (__SYSCALL_ULONG_TYPE): Likewise.
29273 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29274 (__SYSCALL_SLONG_TYPE): Likewise.
29275 (__SYSCALL_ULONG_TYPE): Likewise.
29276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29277 (__SYSCALL_SLONG_TYPE): Likewise.
29278 (__SYSCALL_ULONG_TYPE): Likewise.
29279 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29280 (__SYSCALL_SLONG_TYPE): Likewise.
29281 (__SYSCALL_ULONG_TYPE): Likewise.
29282
29283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29284
29285 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29286 Add sigaltstack-offsets.sym.
29287 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29288 <sigaltstack-offsets.h>.
29289 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29290 longjmp_msg pointer.
29291 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29292 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29293 signal stack.
29294 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29295
29296 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29297
29298 * elf/stackguard-macros.h: Remove file.
29299 * sysdeps/generic/stackguard-macros.h: New file.
29300 * sysdeps/i386/stackguard-macros.h: Likewise.
29301 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29302 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29303 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29304 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29305 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29306 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29307 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29308 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29309 <elf/stackguard-macros.h>.
29310
29311 [BZ #14109]
29312 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29313 __aligned__ in attribute.
29314 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29315 (gregset_t): Likewise.
29316
29317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29318
29319 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29320 * sysdeps/x86_64/64/Implies-after: Here. New file.
29321 * sysdeps/x86_64/x32/Implies-after: New file.
29322
29323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29324
29325 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29326 and access return value for _dl_profile_fixup. Use R10_LP to
29327 load frame size.
29328
29329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29330
29331 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29332
29333 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29334
29335 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29336 * sysdeps/x86_64/x32/sysdep.h: New file.
29337
29338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29339
29340 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29341 * sysdeps/x86_64/setjmp.S: Likewise.
29342
29343 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29344
29345 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29346 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29347 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29348 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29349 remove unused global constant.
29350
29351 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29352
29353 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29354 include of <not-cancel.h>.
29355
29356 2012-05-15 Roland McGrath <roland@hack.frob.com>
29357
29358 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29359
29360 2012-05-15 Jeff Law <law@redhat.com>
29361 Andreas Jaeger <aj@suse.de>
29362
29363 [BZ #13594]
29364 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29365 out from...
29366 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29367 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29368 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29369 code changing __hst_map_handle.map.
29370
29371 2012-05-15 Roland McGrath <roland@hack.frob.com>
29372
29373 * configure.in (sysnames): Look for Implies-before and Implies-after
29374 files.
29375 * configure: Regenerated.
29376
29377 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29378
29379 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29380 8-byte data alignment with LP_SIZE alignment.
29381
29382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29383
29384 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29385 into R10_LP.
29386
29387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29388
29389 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29390
29391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29392
29393 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29394 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29395 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29396 Likewise.
29397 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29398
29399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29400
29401 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29402 (stackinfo_sub_sp): Likewise.
29403
29404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29405
29406 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29407 RAX_LP.
29408
29409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29410
29411 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29412 into R*_LP.
29413
29414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29415
29416 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29417 sizes into R*_LP.
29418
29419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29420
29421 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29422
29423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29424
29425 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29426 into R11_LP and load __x86_64_shared_cache_size_half into
29427 R8_LP.
29428
29429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29430
29431 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29432 R8_LP.
29433
29434 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29435
29436 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29437 logb for POWER7.
29438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29439 logbf for POWER7.
29440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29441 logbl for POWER7.
29442 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29443 powerpc32/power7/fpu/s_logb.c via #include.
29444 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29445 powerpc32/power7/fpu/s_logbf.c via #include.
29446 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29447 powerpc32/power7/fpu/s_logbl.c via #include.
29448
29449 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29450
29451 * README.libm: Remove file.
29452
29453 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29454
29455 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29456 count for x32. Use R*_LP and omit operand-size suffix.
29457
29458 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29459
29460 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29461 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29462 * sysdeps/x86_64/x32/shlib-versions: New file.
29463
29464 2012-05-14 Roland McGrath <roland@hack.frob.com>
29465
29466 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29467 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29468 Use _dl_fatal_printf instead.
29469
29470 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29471
29472 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29473 set if not set by the user. Do not allow for being unset.
29474 * sysdeps/unix/sysv/linux/configure: Regenerated.
29475
29476 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29477
29478 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29479 the `q' suffix from lea and replace .quad with ASM_ADDR.
29480
29481 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29482
29483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29484 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29485 instead of $17.
29486 (PTR_DEMANGLE): Likewise.
29487
29488 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29489
29490 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29491 (LP_OP): Likewise.
29492 (ASM_ADDR): Likewise.
29493 (RAX_LP): Likewise.
29494 (RBP_LP): Likewise.
29495 (RBX_LP): Likewise.
29496 (RCX_LP): Likewise.
29497 (RDI_LP): Likewise.
29498 (RSI_LP): Likewise.
29499 (RSP_LP): Likewise.
29500 (R8_LP): Likewise.
29501 (R9_LP): Likewise.
29502 (R10_LP): Likewise.
29503 (R10_LP): Likewise.
29504 (R11_LP): Likewise.
29505 (R12_LP): Likewise.
29506 (R13_LP): Likewise.
29507 (R14_LP): Likewise.
29508 (R15_LP): Likewise.
29509
29510 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29511
29512 * sysdeps/x86_64/x32/dl-machine.h: New file.
29513
29514 2012-05-14 Andreas Jaeger <aj@suse.de>
29515
29516 * manual/Makefile (subdir): Remove export of subdir.
29517 (all): Remove target.
29518 (.PHONY): Remove all from list.
29519 (mkinstalldirs): Remove.
29520 (.PHONY): Remove installdirs from list.
29521 ($(inst_infodir)/libc.info): Use make-target-directory.
29522 (installdirs): Remove.
29523 (subdir_%): Remove.
29524 (glibc-targets): Remove.
29525 (lib): Remove.
29526 (stubs): Remove.
29527 ($(objpfx)stubs ../po/manual.pot): Remove.
29528 ($(objpfx)stamp%): Remove.
29529 (make-target-directory): Remove.
29530 (subdir_install): Remove.
29531 (routines): Remove.
29532 (aux): Remove.
29533 (sources): Remove.
29534 (objects): Remove.
29535 (headers): Remove.
29536
29537 [BZ #13750]
29538 * manual/.gitignore: Remove, it's not needed anymore.
29539 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29540 all files in it.
29541 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29542 directory.
29543 (texis): Renamed to $(objpfx)texis.
29544 (texis-path): New, contains path to generated files.
29545 (chapters.%): Use texis-path for complete path, add extra argument
29546 libc-texinfo.sh.
29547 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29548 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29549 (summary,texi, stamp-summary): Use complete path of
29550 files. Generate files in build dir.
29551 (dir-add.texi): Build in build dir.
29552 (libm-err.texi,stamp-libm-err): Likewise.
29553 (version.texi, stamp-version): Likewise.
29554 (.%c.texi): Likewise.
29555 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29556 (mostlyclean): Remove target.
29557 (realclean): Remove target.
29558 (generated): Add new variable with contents from mostlyclean and
29559 realclean, remove entries duplicated in common-mostlyclean, add
29560 stamp-libm-err and stamp-version.
29561 (generated-dirs): Add libc directory.
29562 ($(inst_infodir)/libc.info): Install files from build dir.
29563
29564 * manual/install.texi (Configuring and compiling): Adjust since
29565 the info files are not part of the tar ball anymore.
29566
29567 2012-05-14 Andreas Jaeger <aj@suse.de>
29568
29569 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29570 variable.
29571
29572 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29573
29574 [BZ #13717]
29575 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29576 to 2.2.0 where earlier.
29577 * sysdeps/unix/sysv/linux/configure: Regenerated.
29578 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29579 Remove conditional code.
29580 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29581 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29582 Remove conditional code.
29583 [!__NR_lchown]: Likewise.
29584 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29585 [__NR_lchown]: Likewise.
29586 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29587 comment referencing __ASSUME_LCHOWN_SYSCALL.
29588 * sysdeps/unix/sysv/linux/i386/sigaction.c
29589 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29590 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29591 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29592 Remove conditional code.
29593 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29594 (__protocol_available): Remove #if 0 code.
29595 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29596 conditional code.
29597 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29598 * sysdeps/unix/sysv/linux/kernel-features.h
29599 (__ASSUME_GETCWD_SYSCALL): Don't define.
29600 (__ASSUME_REALTIME_SIGNALS): Likewise.
29601 (__ASSUME_PREAD_SYSCALL): Likewise.
29602 (__ASSUME_PWRITE_SYSCALL): Likewise.
29603 (__ASSUME_POLL_SYSCALL): Likewise.
29604 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29605 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29606 non-SPARC.
29607 (__ASSUME_SIOCGIFNAME): Don't define.
29608 (__ASSUME_MSG_NOSIGNAL): Likewise.
29609 (__ASSUME_SENDFILE): Define unconditionally.
29610 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29611 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29612 conditional code.
29613 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29614 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29615 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29616 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29617 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29618 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29619 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29621 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29624 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29627 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29630 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29631 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29633 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29636 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29639 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29642 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29644 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29645 Remove conditional code.
29646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29647 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29648 Remove conditional code.
29649 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29650 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29651 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29652 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29653 Remove conditional code.
29654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29655 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29656 Remove conditional code.
29657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29658 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29659 Remove conditional code.
29660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29661 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29662 Remove conditional code.
29663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29664 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29665 Remove conditional code.
29666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29667 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29668 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29670 * sysdeps/unix/sysv/linux/sigaction.c
29671 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29672 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29673 * sysdeps/unix/sysv/linux/sigpending.c
29674 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29675 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29676 * sysdeps/unix/sysv/linux/sigprocmask.c
29677 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29678 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29679 * sysdeps/unix/sysv/linux/sigsuspend.c
29680 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29681 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29682 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29683 (__libc_missing_rt_sigs): Remove.
29684 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29685 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29686 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29687 Remove conditional code.
29688 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29689 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29690 return 1.
29691 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29692 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29693 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29694 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29695
29696 2012-05-14 Andreas Jaeger <aj@suse.de>
29697
29698 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29699 it's not used in glibc.
29700 (__coshm1): Likewise.
29701 (__acosh1p): Likewise.
29702 (__sgn): Likewise.
29703
29704 * manual/string.texi (Copying and Concatenation): Add missing
29705 variable in concat example.
29706 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29707
29708 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29709
29710 [BZ #14103]
29711 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29712 __builtin_clzl with __builtin_clzll.
29713
29714 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29715
29716 [BZ #14104]
29717 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29718 libc_freeres_ptr.
29719
29720 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29721
29722 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29723 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29724 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29725 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29726
29727 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29728
29729 * NEWS: Update ia64 info.
29730
29731 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29732
29733 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29734 used as bcopy.
29735
29736 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29737
29738 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29739 * sysdeps/unix/syscalls.list (dup3): Likewise.
29740 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29741 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29742
29743 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29744
29745 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29746 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29747
29748 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29749
29750 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29751 thread pointer.
29752 (TLS_IE): Use mov/add instead of movq/addq to load thread
29753 pointer.
29754 (TLS_GD_PREFIX): New.
29755 (TLS_GD): Use it.
29756
29757 2012-05-11 David S. Miller <davem@davemloft.net>
29758
29759 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29760 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29761 (_FPU_SETCW): Likewise.
29762
29763 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29764
29765 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29766 is 32-byte aligned.
29767
29768 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29769
29770 [BZ #11837]
29771 * iconvdata/gb18030.c: Update tables.
29772 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29773 characters specially.
29774 (BODY for TO_LOOP): Add encoding of missing ranges.
29775
29776 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29777
29778 [BZ #13673]
29779 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29780 * sysdeps/mach/hurd/dup3.c: Likewise.
29781 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29782 * sysdeps/powerpc/memmove.c:: Likewise.
29783
29784 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29785
29786 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29787 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29788
29789 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29790
29791 * elf/elf.h (R_X86_64_RELATIVE64): New.
29792 (R_X86_64_NUM): Updated.
29793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29794 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29795 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29796 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29797 tst-quad1pie tst-quad2pie
29798 (modules-names): Add tst-quadmod1 tst-quadmod2.
29799 ($(objpfx)tst-quad1): New dependency.
29800 ($(objpfx)tst-quad2): Likewise.
29801 ($(objpfx)tst-quad1pie): Likewise.
29802 ($(objpfx)tst-quad2pie): Likewise.
29803 * sysdeps/x86_64/tst-quad1.c: New file.
29804 * sysdeps/x86_64/tst-quad1pie.c: New file.
29805 * sysdeps/x86_64/tst-quad2.c: Likewise.
29806 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29807 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29808 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29809 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29810 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29811
29812 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29813
29814 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29815 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29816 * streams/stropts.h (t_scalar_t): Define type.
29817
29818 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29819 (_PATH_PRESERVE): Set to "/var/lib".
29820 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29821
29822 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29823 instead of int.
29824
29825 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29826 if __dir_mkfile succeeded.
29827
29828 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29829 checking for _hurd_dtablesize. Unlock it right after having
29830 finished _hurd_dtable allocation.
29831
29832 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29833
29834 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29835 * sysdeps/mach/hurd/configure: Regenerated.
29836 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29837 special-casing to...
29838 * sysdeps/gnu/configure.in: ... this new file.
29839 * sysdeps/unix/sysv/linux/configure: Regenerated.
29840 * sysdeps/gnu/configure: New generated file.
29841
29842 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29843 for Linux: use nsec instead of usec, as well as:
29844 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29845 members of type struct timespec.
29846 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29847 New macros.
29848 (struct stat64): Likewise.
29849 (_STATBUF_ST_NSEC): New macro.
29850 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29851
29852 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29853 __strtoul_internal rather than strtoul.
29854
29855 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29856
29857 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29858 and reject them.
29859
29860 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29861
29862 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29863 which preserves existing values.
29864 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29865
29866 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29867
29868 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29869 TIMEOUT values. Return EINVAL for NFDS values either negative or
29870 greater than FD_SETSIZE.
29871
29872 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29873
29874 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29875 allocated, call __vm_protect to finish enabling the existing space, and
29876 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29877 allocate the remainder.
29878
29879 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29880
29881 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29882 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29883
29884 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29885
29886 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29887 sysdeps/mach/hurd/readlink.c.
29888
29889 * posix/tst-sysconf.c (posix_options): Only use
29890 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29891 _POSIX_SYNCHRONIZED_IO when they are defined
29892 * sysdeps/mach/hurd/bits/posix_opt.h:
29893 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29894 (_XOPEN_REALTIME): Undefine macro.
29895 (_XOPEN_REALTIME_THREADS): Undefine macro.
29896 (_XOPEN_SHM): Undefine macro.
29897 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29898 macro to -1.
29899 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29900 macro to -1.
29901 (_POSIX_ASYNC_IO): Undefine macro.
29902 (_POSIX_PRIORITIZED_IO): Undefine macro.
29903 (_POSIX_SPIN_LOCKS): Define macro to -1.
29904
29905 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29906 SA_NODEFER, SA_RESETHAND.
29907 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29908 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29909 F_DUPFD_CLOEXEC.
29910
29911 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29912
29913 * elf/Makefile (pldd-modules): Define unconditionally.
29914
29915 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29916
29917 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29918
29919 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29920
29921 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29922 Return ENOENT when name is empty.
29923 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29924
29925 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29926
29927 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29928
29929 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29930
29931 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29932
29933 Fix mlock in all cases except non-readable pages.
29934 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29935 instead of VM_PROT_ALL as parameter to __vm_wire function.
29936
29937 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29938 (__mkdir): When path is `/', just fail with EEXIST.
29939 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29940
29941 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29942
29943 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29944 <sys/uio.h> (for writev).
29945 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29946 and <sys/param.h> (for MIN).
29947
29948 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29949
29950 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29951 REQUESTED_TIME. Properly set the remaining time and return EINTR
29952 if interrupted.
29953
29954 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29955
29956 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29957 Depend on against $(link-rpcuserlibs).
29958
29959 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29960
29961 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29962 (__libc_stack_end): Do not use attribute_relro.
29963 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29964 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29965 to libthread-provided value.
29966 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29967 attribute_relro.
29968
29969 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29970
29971 [BZ #3748]
29972 * bits/libc-lock.h (__libc_once_get): New macro.
29973 * sysdeps/mach/bits/libc-lock.h: Likewise.
29974 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29975 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29976 instead of using implementation details.
29977
29978 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29979 * libio/freopen.c: Likewise.
29980 * libio/freopen64.c: Likewise.
29981 * misc/syslog.c: Likewise.
29982 * nscd/connections.c: Likewise.
29983 * nscd/netgroupcache.c: Likewise.
29984 * sysdeps/posix/getcwd.c: Likewise.
29985
29986 2012-05-10 Roland McGrath <roland@hack.frob.com>
29987
29988 * math/w_ilogbf.c: Add #include <limits.h>.
29989
29990 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29991
29992 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29993 path instead of returning without unlocking.
29994
29995 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29996 immediate-write ioctls.
29997 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29998
29999 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30000
30001 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30002 __builtin_frame_address instead of making assumptions about the
30003 location of the return address relative to DATA. Force early load of
30004 the return address.
30005 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30006 __builtin_frame_address.
30007
30008 dup3 for GNU Hurd.
30009 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30010 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30011 implement dup3 and do some further code clean-ups.
30012 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30013 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30014
30015 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30016
30017 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30018
30019 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30020 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30021 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30022 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30023 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30024 d->port.lock.
30025
30026 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30027 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30028 when handler == SIG_ERR, not when handler != SIG_ERR.
30029
30030 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30031
30032 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30033 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30034 definitions.
30035
30036 accept4 for GNU Hurd.
30037 * include/sys/socket.h (__libc_accept4): New prototype.
30038 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30039 to implement __libc_accept4.
30040 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30041 __libc_accept4.
30042 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30043
30044 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30045 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30046 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30047 signal-defines.sym.
30048
30049 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30050
30051 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30052
30053 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30054
30055 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30056 assertion on O_CLOEXEC flag.
30057 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30058 * hurd/intern-fd.c: Likewise.
30059 * hurd/port2fd.c: Likewise.
30060
30061 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30062
30063 [BZ #3906]
30064 * bits/in.h (IPV6_PKTINFO): Define new macro.
30065 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30066
30067 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30068
30069 [BZ #13954]
30070 [BZ #13955]
30071 [BZ #13956]
30072 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30073 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30074 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30075 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30076 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30077 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30078 * math/libm-test.inc (logb_test) : Additional logb tests.
30079
30080 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30081 Andreas Jaeger <aj@suse.de>
30082
30083 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30084 * configure: Regenerated.
30085 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30086 * config.make.in (link-obsolete-rpc): New substituted variable.
30087 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30088 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30089 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30090 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30091 so that libc.a contains the symbols.
30092 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30093 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30094 * sunrpc/auth_none.c: Likewise.
30095 * sunrpc/auth_unix.c: Likewise.
30096 * sunrpc/authdes_prot.c: Likewise.
30097 * sunrpc/authuxprot.c: Likewise.
30098 * sunrpc/clnt_gen.c: Likewise.
30099 * sunrpc/clnt_perr.c: Likewise.
30100 * sunrpc/clnt_raw.c: Likewise.
30101 * sunrpc/clnt_simp.c: Likewise.
30102 * sunrpc/clnt_tcp.c: Likewise.
30103 * sunrpc/clnt_udp.c: Likewise.
30104 * sunrpc/clnt_unix.c: Likewise.
30105 * sunrpc/des_crypt.c: Likewise.
30106 * sunrpc/des_soft.c: Likewise.
30107 * sunrpc/get_myaddr.c: Likewise.
30108 * sunrpc/key_call.c: Likewise.
30109 * sunrpc/key_prot.c: Likewise.
30110 * sunrpc/netname.c: Likewise.
30111 * sunrpc/pm_getmaps.c: Likewise.
30112 * sunrpc/pm_getport.c: Likewise.
30113 * sunrpc/pmap_clnt.c: Likewise.
30114 * sunrpc/pmap_prot.c: Likewise.
30115 * sunrpc/pmap_prot2.c: Likewise.
30116 * sunrpc/pmap_rmt.c: Likewise.
30117 * sunrpc/publickey.c: Likewise.
30118 * sunrpc/rpc_cmsg.c: Likewise.
30119 * sunrpc/rpc_common.c: Likewise.
30120 * sunrpc/rpc_dtable.c: Likewise.
30121 * sunrpc/rpc_prot.c: Likewise.
30122 * sunrpc/rpc_thread.c: Likewise.
30123 * sunrpc/rtime.c: Likewise.
30124 * sunrpc/svc.c: Likewise.
30125 * sunrpc/svc_auth.c: Likewise.
30126 * sunrpc/svc_raw.c: Likewise.
30127 * sunrpc/svc_run.c: Likewise.
30128 * sunrpc/svc_tcp.c: Likewise.
30129 * sunrpc/svc_udp.c: Likewise.
30130 * sunrpc/svc_unix.c: Likewise.
30131 * sunrpc/svcauth_des.c: Likewise.
30132 * sunrpc/xcrypt.c: Likewise.
30133 * sunrpc/xdr.c: Likewise.
30134 * sunrpc/xdr_array.c: Likewise.
30135 * sunrpc/xdr_float.c: Likewise.
30136 * sunrpc/xdr_intXX_t.c: Likewise.
30137 * sunrpc/xdr_mem.c: Likewise.
30138 * sunrpc/xdr_rec.c: Likewise.
30139 * sunrpc/xdr_ref.c: Likewise.
30140 * sunrpc/xdr_sizeof.c: Likewise.
30141 * sunrpc/xdr_stdio.c: Likewise.
30142
30143 2012-05-10 Roland McGrath <roland@hack.frob.com>
30144
30145 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30146 change. Update copyright years.
30147
30148 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30149
30150 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30151
30152 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30153 Joseph Myers <joseph@codesourcery.com>
30154 Paul Pluzhnikov <ppluzhnikov@google.com>
30155
30156 [BZ #14012]
30157 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30158 requiring rpcgen.
30159 [cross-compiling] (extra-libs): Likewise.
30160 [cross-compiling] (extra-libs-others): Likewise.
30161 [cross-compiling] (librpcsvc-routines): Likewise.
30162 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30163 [cross-compiling] (omit-deps): Likewise.
30164 (sunrpc-CPPFLAGS): New variable.
30165 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30166 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30167 (cross-rpcgen-objs): New variable.
30168 (extra-objs): Append $(cross-rpcgen-objs).
30169 ($(cross-rpcgen-objs)): New rule.
30170 ($(objpfx)cross-rpcgen): Likewise.
30171 (rpcgen-cmd): Define to use $(built-program-file). Expand
30172 comment.
30173 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30174 ($(objpfx)x%.stmp): Likewise.
30175 * sunrpc/proto.h [IS_IN_build] (_): Define.
30176 [IS_IN_build] (_libc_intl_domainname): Likewise.
30177
30178 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30179
30180 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30181 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30182 and R_X86_64_TPOFF64.
30183
30184 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30185
30186 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30187 sysdeps/unix/sysv/syscalls.list.
30188 (stime): Likewise.
30189 (utime): Likewise.
30190 * sysdeps/unix/sysv/syscalls.list: Remove file.
30191
30192 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30193
30194 [BZ #3440]
30195 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30196 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30197 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30198 (__LC_IDENTIFICATION): Make these macros useful in #if
30199 expressions, as required by C99.
30200
30201 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30202
30203 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30204 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30205 after this.
30206
30207 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30208
30209 * stdlib/longlong.h: Updated from GCC.
30210
30211 2012-05-09 Andreas Jaeger <aj@suse.de>
30212
30213 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30214 default is first entry.
30215 (run_mode): Set type.
30216 (main): Remove informal message about syslog.
30217 (options): Fix typo.
30218
30219 [BZ #14053]
30220 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30221 to asm.
30222 (lrint): Likewise.
30223 (llrintf): Likewise.
30224 (llrint): Likewise.
30225 (rint): Likewise.
30226 (rintf): Likewise.
30227 (nearbyint): Likewise.
30228 (nearbyintf): Likewise.
30229
30230 2012-05-09 Andreas Jaeger <aj@suse.de>
30231 Pedro Alves <palves@redhat.com>
30232
30233 * nscd/nscd.c (run_mode): Use enum.
30234 (main): Cleanup coding style issue.
30235
30236 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30237 Andreas Jaeger <aj@suse.de>
30238
30239 * nscd/nscd.c (go_background): Replaced with...
30240 (run_mode): ... this.
30241 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30242 (options): Add -F --foreground.
30243 (main): Implement it.
30244 (parse_opt): Parse it.
30245
30246 2012-05-09 Andreas Jaeger <aj@suse.de>
30247
30248 [BZ #14083]
30249 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30250 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30251 -Wconversion warning.
30252 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30253 Likewise.
30254
30255 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30256
30257 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30258 == 0.
30259 (LC_ALL): Use macro-int-constant.
30260 (LC_COLLATE): Likewise.
30261 (LC_CTYPE): Likewise.
30262 (LC_MESSAGES): Likewise.
30263 (LC_MONETARY): Likewise.
30264 (LC_NUMERIC): Likewise.
30265 (LC_TIME): Likewise.
30266 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30267 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30269 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30270 Specify type.
30271 [C99-based standards] (float_t): Expect type.
30272 [C99-based standards] (double_t): Expect type.
30273 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30274 type.
30275 [C99-based standards] (HUGE_VALL): Likewise.
30276 [C99-based standards] (INFINITY): Likewise.
30277 [C99-based standards] (NAN): Likewise.
30278 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30279 [C99-based standards] (FP_NAN): Likewise.
30280 [C99-based standards] (FP_NORMAL): Likewise.
30281 [C99-based standards] (FP_SUBNORMAL): Likewise.
30282 [C99-based standards] (FP_ZERO): Likewise.
30283 [C99-based standards] (FP_FAST_FMA): Use
30284 optional-macro-int-constant. Specify type. Require == 1.
30285 [C99-based standards] (FP_FAST_FMAF): Likewise.
30286 [C99-based standards] (FP_FAST_FMAL): Likewise.
30287 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30288 [C99-based standards] (FP_ILOGBNAN): Likewise.
30289 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30290 Specify type.
30291 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30292 [C99-based standards] (math_errhandling): Specify type.
30293 [ISO99 || ISO11] (signgam): Do not allow.
30294 [non-C99-based standards] (copysignf): Do not allow.
30295 [non-C99-based standards] (exp2f): Likewise.
30296 [non-C99-based standards] (log2f): Likewise.
30297 [non-C99-based standards] (modff): Allow.
30298 [non-C99-based standards] (erff): Do not allow.
30299 [non-C99-based standards] (erfcf): Likewise.
30300 [non-C99-based standards] (gammaf): Likewise.
30301 [non-C99-based standards] (hypotf): Likewise.
30302 [non-C99-based standards] (j0f): Likewise.
30303 [non-C99-based standards] (j1f): Likewise.
30304 [non-C99-based standards] (jnf): Likewise.
30305 [non-C99-based standards] (lgammaf): Likewise.
30306 [non-C99-based standards] (tgammaf): Likewise.
30307 [non-C99-based standards] (y0f): Likewise.
30308 [non-C99-based standards] (y1f): Likewise.
30309 [non-C99-based standards] (ynf): Likewise.
30310 [non-C99-based standards] (isnanf): Likewise.
30311 [non-C99-based standards] (acoshf): Likewise.
30312 [non-C99-based standards] (asinhf): Likewise.
30313 [non-C99-based standards] (atanhf): Likewise.
30314 [non-C99-based standards] (cbrtf): Likewise.
30315 [non-C99-based standards] (expm1f): Likewise.
30316 [non-C99-based standards] (ilogbf): Likewise.
30317 [non-C99-based standards] (log1pf): Likewise.
30318 [non-C99-based standards] (logbf): Likewise.
30319 [non-C99-based standards] (nextafterf): Likewise.
30320 [non-C99-based standards] (remainderf): Likewise.
30321 [non-C99-based standards] (rintf): Likewise.
30322 [non-C99-based standards] (scalbf): Likewise.
30323 [non-C99-based standards] (copysignl): Likewise.
30324 [non-C99-based standards] (exp2l): Likewise.
30325 [non-C99-based standards] (log2l): Likewise.
30326 [non-C99-based standards] (modfl): Allow.
30327 [non-C99-based standards] (erfl): Do not allow.
30328 [non-C99-based standards] (erfcl): Likewise.
30329 [non-C99-based standards] (gammal): Likewise.
30330 [non-C99-based standards] (hypotl): Likewise.
30331 [non-C99-based standards] (j0l): Likewise.
30332 [non-C99-based standards] (j1l): Likewise.
30333 [non-C99-based standards] (jnl): Likewise.
30334 [non-C99-based standards] (lgammal): Likewise.
30335 [non-C99-based standards] (tgammal): Likewise.
30336 [non-C99-based standards] (y0l): Likewise.
30337 [non-C99-based standards] (y1l): Likewise.
30338 [non-C99-based standards] (ynl): Likewise.
30339 [non-C99-based standards] (isnanl): Likewise.
30340 [non-C99-based standards] (acoshl): Likewise.
30341 [non-C99-based standards] (asinhl): Likewise.
30342 [non-C99-based standards] (atanhl): Likewise.
30343 [non-C99-based standards] (cbrtl): Likewise.
30344 [non-C99-based standards] (expm1l): Likewise.
30345 [non-C99-based standards] (ilogbl): Likewise.
30346 [non-C99-based standards] (log1pl): Likewise.
30347 [non-C99-based standards] (logbl): Likewise.
30348 [non-C99-based standards] (nextafterl): Likewise.
30349 [non-C99-based standards] (remainderl): Likewise.
30350 [non-C99-based standards] (rintl): Likewise.
30351 [non-C99-based standards] (scalbl): Likewise.
30352 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30353 [non-C99-based standards] (FP_*): Do not allow.
30354 [C99-based standards] (FP_*): Change to
30355 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30356 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30357 allow.
30358 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30359 (SIG_ERR): Likewise.
30360 [X/Open-based standards] (SIG_HOLD): Likewise.
30361 (SIG_IGN): Likewise.
30362 (SIGABRT): Use macro-int-constant. Specify type. Require
30363 positive value.
30364 (SIGFPE): Likewise.
30365 (SIGILL): Likewise.
30366 (SIGINT): Likewise.
30367 (SIGSEGV): Likewise.
30368 (SIGTER): Likewise.
30369 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30370 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30371 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30372 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30373 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30374 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30375 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30376 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30377 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30378 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30379 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30380 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30381 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30382 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30383 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30384 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30385 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30386 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30387 [X/Open-based standards] (SIGTRAP): Likewise.
30388 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30389 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30390 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30391 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30392 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30393 allow.
30394
30395 2012-05-08 Ian Wienand <ianw@vmware.com>
30396
30397 [BZ #14080]
30398 * time/tzset.c (__tzset_parse_tz): Update default rules for
30399 daylight time changes in the Energy Policy Act of 2005.
30400
30401 2012-05-09 Andreas Jaeger <aj@suse.de>
30402
30403 [BZ #13983]
30404 * elf/ldconfig.c (parse_conf): Change string to make clear that
30405 ldconfig only issued a warning if ld.so.conf does not exist.
30406
30407 2012-05-08 David S. Miller <davem@davemloft.net>
30408
30409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30410 movxtod instead of popping the value on the stack.
30411
30412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30413
30414 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30415
30416 * config.h.in: Add HAVE_ARM_PCS_VFP.
30417
30418 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30419
30420 [BZ #13979]
30421 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30422 checking but the checks are disabled for any reason.
30423
30424 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30425
30426 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30427 and ELF64_R_TYPE with ELFW(R_TYPE).
30428
30429 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30430
30431 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30432 (ulimit): Likewise.
30433
30434 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30435 (settimeofday): Likewise.
30436
30437 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30438
30439 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30440 a struct th_u2 inside the union, and move tu_block/tu_code into
30441 a new th_u3 union of tu_block/tu_code inside of that. Move
30442 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30443 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30444 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30445 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30446 (th_stuff): Change to th_u1.tu_stuff.
30447 (th_data): Define.
30448 (th_msg): Change to th_u1.th_u2.tu_data.
30449
30450 2012-05-07 David S. Miller <davem@davemloft.net>
30451
30452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30453
30454 [BZ #14074]
30455 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30456 (SETUP_PIC_REG): Use it.
30457 (SETUP_PIC_REG_LEAF): Use it.
30458
30459 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30460
30461 [BZ #13885]
30462 [BZ #13923]
30463 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30464 USE_AS_EXPM1L.
30465 (EXPL_FINITE): Likewise.
30466 (FLDLOG): Likewise.
30467 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30468 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30469 e_expl.S.
30470 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30471 USE_AS_EXPM1L.
30472 (EXPL_FINITE): Likewise.
30473 (FLDLOG): Likewise.
30474 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30475 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30476 e_expl.S.
30477 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30478 test of -max_value argument for long double.
30479 * sysdeps/i386/fpu/libm-test-ulps: Update.
30480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30481
30482 2012-05-06 David S. Miller <davem@davemloft.net>
30483
30484 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30485 quad soft-float symbols whose references which are compiler
30486 generated.
30487 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30488
30489 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30490
30491 [BZ #13884]
30492 [BZ #13914]
30493 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30494 USE_AS_EXP10L.
30495 (EXPL_FINITE): Likewise.
30496 (FLDLOG): Likewise.
30497 (c0): Likewise.
30498 (c1): Likewise.
30499 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30500 Adjust comments for base varying.
30501 (__expl_finite): Change alias to EXPL_FINITE.
30502 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30503 e_expl.S.
30504 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30505 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30506 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30507 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30508 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30509 USE_AS_EXP10L.
30510 (EXPL_FINITE): Likewise.
30511 (FLDLOG): Likewise.
30512 (c0): Likewise.
30513 (c1): Likewise.
30514 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30515 Adjust comments for base varying.
30516 (__expl_finite): Change alias to EXPL_FINITE.
30517 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30518 tests for bugs.
30519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30520
30521 [BZ #14064]
30522 * math/libm-test.inc (check_float_internal): Correct ulp
30523 calculation for subnormal expected results.
30524
30525 2012-05-06 Andreas Jaeger <aj@suse.de>
30526
30527 * Makeconfig (+math-flags): New, set to -frounding-math.
30528 (+cflags): Add +math-flags so that all of glibc gets compiled with
30529 it.
30530
30531 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30532
30533 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30534
30535 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30536 Disable one test.
30537
30538 [BZ #13787]
30539 [BZ #13922]
30540 [BZ #14036]
30541 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30542 (__ieee754_expl): Allow for and saturate large arguments.
30543 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30544 (u_threshold): Likewise.
30545 (__exp): Call __ieee754_exp before checking for overflow and
30546 underflow.
30547 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30548 (u_threshold): Likewise.
30549 (__expf): Call __ieee754_expf before checking for overflow and
30550 underflow.
30551 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30552 (u_threshold): Likewise.
30553 (__expl): Call __ieee754_expl before checking for overflow and
30554 underflow.
30555 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30556 (__ieee754_expl): Allow for and saturate large arguments.
30557 * math/libm-test.inc (exp_test): Add another test. Do not allow
30558 missing overflow exception on overflow.
30559 (expm1_test): Do not allow missing overflow exception on overflow.
30560
30561 * sysdeps/i386/fpu/e_expl.c: Move to ...
30562 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30563 rather than using inline asm.
30564 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30565 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30566 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30567
30568 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30569 (nice): Likewise.
30570 (poll): Likewise.
30571 (signal): Likewise.
30572 (time): Likewise.
30573 (times): Likewise.
30574
30575 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30576
30577 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30578 sysdeps/unix/common/syscalls.list.
30579 (fchmod): Likewise.
30580 (fchown): Likewise.
30581 (ftruncate): Likewise.
30582 (getrusage): Likewise.
30583 (gettimeofday): Likewise.
30584 (setpgid): Likewise.
30585 (setregid): Likewise.
30586 (setreuid): Likewise.
30587 (sigaction): Likewise.
30588 (truncate): Likewise.
30589 (vhangup): Likewise.
30590 * sysdeps/unix/common/syscalls.list: Remove file.
30591 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30592 * sysdeps/unix/sysv/linux/Implies: Likewise.
30593
30594 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30595
30596 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30598 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30599 Moved to ...
30600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30601 Here.
30602 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30603 to ...
30604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30605 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30606 to ...
30607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30608 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30609 to ...
30610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30611 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30612 to ...
30613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30614 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30615 to ...
30616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30617 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30618 to ...
30619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30620 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30621 to ...
30622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30623 Here.
30624 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30625 to ...
30626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30627 Here.
30628 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30629 to ...
30630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30631 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30632 Moved to ...
30633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30634 Here.
30635 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30636 to ...
30637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30638
30639 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30640
30641 * sysdeps/unix/common/bits/dirent.h: Remove file.
30642 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30643
30644 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30645 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30646 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30647 * sysdeps/unix/bsd/isatty.c: Likewise.
30648 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30649 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30650 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30651
30652 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30653
30654 [BZ #13563]
30655 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30656 long double comparison inaccuracies.
30657 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30659
30660 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30661
30662 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30663 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30664
30665 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30666
30667 [BZ #14049]
30668 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30669 nonzero digits before rounding a hex value.
30670 * stdlib/tst-strtod.c (tests): Add another test.
30671
30672 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30673
30674 * sysdeps/s390/fpu/libm-test-ulps: Update.
30675
30676 2012-05-03 Andreas Jaeger <aj@suse.de>
30677
30678 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30679 does not get optimized out.
30680 (malloc_opt_barrier): New.
30681
30682 2012-05-03 Andreas Jaeger <aj@suse.de>
30683 Roland McGrath <roland@hack.frob.com>
30684
30685 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30686 intermediate file deletion.
30687 (generated): Add .symlist files.
30688
30689 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30690
30691 [BZ #13775]
30692 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30693 Redirect under this condition.
30694 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30695 [__USE_GNU] (__dprintf_chk): Not under this condition.
30696 [__USE_GNU] (__vdprintf_chk): Likewise.
30697 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30698 under this condition.
30699 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30700 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30701 [__USE_XOPEN2K8] (vdprintf): Likewise.
30702 [__USE_GNU] (__dprintf_chk): Not under this condition.
30703 [__USE_GNU] (__vdprintf_chk): Likewise.
30704 [__USE_GNU] (dprintf): Likewise.
30705 [__USE_GNU] (vdprintf): Likewise.
30706
30707 2012-05-03 Roland McGrath <roland@hack.frob.com>
30708
30709 * elf/Makefile (common-generated): Set this instead of generated for
30710 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30711 $(all-built-dso)-derived lists.
30712
30713 2012-05-03 Andreas Jaeger <aj@suse.de>
30714
30715 * sysdeps/i386/fpu/libm-test-ulps: Update.
30716
30717 * FAQ: Removed.
30718 * FAQ.in: Likewise.
30719 * scripts/gen-FAQ.pl: Likewise.
30720 * manual/install.texi (Installation): Point to online location of
30721 FAQ.
30722 * Makefile (files-for-dist): Remove FAQ.
30723 (FAQ): Remove.
30724
30725 2012-05-02 Allan McRae <allan@archlinux.org>
30726
30727 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30728 (LDFLAGS-reldepmod5.so): Likewise.
30729 (LDFLAGS-reldep6mod1.so): Likewise.
30730 (LDFLAGS-reldep6mod4.so): Likewise.
30731 (LDFLAGS-reldep8mod3.so): Likewise.
30732 (LDFLAGS-unload4mod1.so): Likewise.
30733 (LDFLAGS-unload4mod2.so): Likewise.
30734 (LDFLAGS-tst-initorder): Likewise.
30735 (LDFLAGS-tst-initordera2.so): Likewise.
30736 (LDFLAGS-tst-initordera3.so): Likewise.
30737 (LDFLAGS-tst-initordera4.so): Likewise.
30738 (LDFLAGS-tst-initorderb2.so): Likewise.
30739 (LDFLAGS-noload): Likewise.
30740 (LDFLAGS-next): Likewise.
30741 (LDFLAGS-order2mod1.so): Likewise.
30742 (LDFLAGS-order2mod2.so): Likewise.
30743 (LDFLAGS-tst-initorder2): Likewise.
30744 (LDFLAGS-tst-initorder2a.so): Likewise.
30745 (LDFLAGS-tst-initorder2b.so): Likewise.
30746 (LDFLAGS-tst-initorder2c.so): Likewise.
30747 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30748
30749 2012-05-02 David S. Miller <davem@davemloft.net>
30750
30751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30752
30753 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30754
30755 [BZ #14055]
30756 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30757
30758 2012-05-02 Andreas Jaeger <aj@suse.de>
30759
30760 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30761 since we manipulate rounding mode.
30762 (CPPFLAGS-test-idouble.c): Likewise.
30763 (CPPFLAGS-test-ifloat.c): Likewise.
30764 (CFLAGS-test-ldouble.c): Likewise.
30765 (CFLAGS-test-double.c): Likewise.
30766 (CFLAGS-test-float.c): Likewise.
30767 (CFLAGS-test-misc.c): Likewise.
30768 (CFLAGS-test-test-fenv.c): Likewise.
30769
30770 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30771
30772 [BZ #2550]
30773 [BZ #2570]
30774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30775 comparisons to determine direction to adjust input.
30776
30777 2012-05-01 Roland McGrath <roland@hack.frob.com>
30778
30779 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30780 output to the target.
30781
30782 * scripts/localplt.awk: New file.
30783 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30784 (check-localplt-CFLAGS): Variable removed.
30785 ($(all-built-dso:=.jmprel)): New static pattern rule.
30786 (generated): Add those targets.
30787 (localplt-built-dso): New variable.
30788 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30789
30790 * elf/check-localplt.c: File removed.
30791
30792 * scripts/check-execstack.awk: New file.
30793 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30794 (check-execstack-CFLAGS): Variable removed.
30795 ($(objpfx)check-execstack.h): Target removed.
30796 ($(objpfx)execstack-default): New target.
30797 (generated): Add that instead of check-execstack.h.
30798 ($(all-built-dso:=.phdr)): New static pattern rule.
30799 (generated): Add those targets.
30800 * elf/check-execstack.c: File removed.
30801
30802 * scripts/check-textrel.awk: New file.
30803 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30804 (check-textrel-CFLAGS): Variable removed.
30805 (all-built-dso): Use := to define.o
30806 ($(all-built-dso:=.dyn)): New static pattern rule.
30807 (generated): Add those targets.
30808 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30809 * config.make.in (READELF): New substituted variable.
30810 * elf/check-textrel.c: File removed.
30811
30812 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30813
30814 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30815 allow.
30816 * conform/data/ctype.h-data [C99-based standards] (isblank):
30817 Expect function.
30818 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30819 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30821 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30822 Specify type. Require positive value.
30823 (EILSEQ): Likewise.
30824 (ERANGE): Likewise.
30825 [ISO || POSIX] (EILSEQ): Do not expect.
30826 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30827 Specify type. Require positive value.
30828 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30829 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30830 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30831 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30832 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30833 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30834 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30835 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30836 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30837 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30838 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30839 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30840 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30841 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30842 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30843 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30844 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30845 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30846 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30847 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30848 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30849 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30850 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30851 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30852 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30853 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30854 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30855 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30856 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30857 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30858 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30859 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30860 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30861 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30862 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30863 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30864 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30865 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30866 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30867 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30868 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30869 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30870 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30871 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30872 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30873 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30874 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30875 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30876 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30877 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30878 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30879 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30880 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30881 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30882 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30883 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30884 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30885 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30886 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30887 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30888 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30889 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30890 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30891 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30892 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30893 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30894 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30895 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30896 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30897 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30898 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30899 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30900 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30901 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30902 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30903 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30904 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30905 Require >= 2.
30906 (FLT_ROUNDS): Expect as macro, not constant.
30907 (FLT_MANT_DIG): Use macro-int-constant.
30908 (DBL_MANT_DIG): Likewise.
30909 (LDBL_MANT_DIG): Likewise.
30910 (FLT_DIG): Likewise.
30911 (DBL_DIG): Likewise.
30912 (LDBL_DIG): Likewise.
30913 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30914 (DBL_MIN_EXP): Likewise.
30915 (LDBL_MIN_EXP): Likewise.
30916 (FLT_MAX_EXP): Use macro-int-constant.
30917 (DBL_MAX_EXP): Likewise.
30918 (LDBL_MAX_EXP): Likewise.
30919 (FLT_MAX_10_EXP): Likewise.
30920 (DBL_MAX_10_EXP): Likewise.
30921 (LDBL_MAX_10_EXP): Likewise.
30922 (FLT_MAX): Use macro-constant.
30923 (DBL_MAX): Likewise.
30924 (LDBL_MAX): Likewise.
30925 (FLT_EPSILON): Use macro-constant. Give upper bound.
30926 (DBL_EPSILON): Likewise.
30927 (LDBL_EPSILON): Likewise.
30928 (FLT_MIN): Likewise.
30929 (DBL_MIN): Likewise.
30930 (LDBL_MIN): Likewise.
30931 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30932 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30933 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30934 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30935 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30936 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30937 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30938 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30939 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30940 [ISO11] (FLT_TRUE_MIN): Likewise.
30941 [ISO11] (LDBL_TRUE_MIN): Likewise.
30942 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30943 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30944 (SCHAR_MIN): Use macro-int-constant. Specify type.
30945 (SCHAR_MAX): Likewise.
30946 (UCHAR_MAX): Likewise.
30947 (CHAR_MIN): Likewise.
30948 (CHAR_MAX): Likewise.
30949 (MB_LEN_MAX): Use macro-int-constant.
30950 (SHRT_MIN): Use macro-int-constant. Specify type.
30951 (SHRT_MAX): Likewise.
30952 (USHRT_MAX): Likewise.
30953 (INT_MAX): Likewise.
30954 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30955 bound negative.
30956 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30957 bound with "U".
30958 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30959 bound with "L".
30960 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30961 bound negative. Suffix upper bound with "L".
30962 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30963 bound with "UL".
30964 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30965 Specify type.
30966 [C99-based standards] (LLONG_MAX): Likewise.
30967 [C99-based standards] (ULLONG_MAX): Likewise.
30968 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30969 == 0.
30970 [ISO11] (max_align_t): Require type.
30971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30972
30973 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30974 from $CFLAGS, without defining away __attribute__ calls.
30975 (checknamespace): Use $CFLAGS_namespace.
30976
30977 * conform/conformtest.pl (@keywords): Only include C99 keywords
30978 for standards based on C99 or C11.
30979
30980 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30981 Disable tests.
30982 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30983 UNIX98]: Likewise.
30984
30985 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30986 usability of symbols in #if.
30987
30988 * conform/conformtest.pl: If macro or constant types start
30989 "promoted:", expect the symbol to be of the following type
30990 promoted by the integer promotions.
30991
30992 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30993 in one place. Also handle "macro-constant".
30994
30995 * conform/conformtest.pl: Only accept expected macro values with
30996 "==". Parse all "macro" lines in one place.
30997 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30998
30999 * conform/conformtest.pl: Handle braced types on "constant" lines
31000 instead of handling "typed-constant".
31001 * conform/data/signal.h-data: Use "constant" instead of
31002 "typed-constant".
31003
31004 * conform/conformtest.pl: Handle "optional-" at start of lines in
31005 one place rather than duplicating several cases. Handle each
31006 format of "macro" line with initial "optional-".
31007
31008 * conform/conformtest.pl: Only accept expected constant or
31009 optional-constant values with "==". Parse all "constant" lines in
31010 one place. Parse all "optional-constant" lines in one place.
31011 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31012 * conform/data/fmtmsg.h-data: Likewise.
31013 * conform/data/netinet/in.h-data: Likewise.
31014 * conform/data/tar.h-data: Likewise.
31015 * conform/data/limits.h-data: Use "==" form on "constant" and
31016 "optional-constant" lines.
31017
31018 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31019 Use -std=c99 for XOPEN2K.
31020 (@knownproblems): Remove.
31021 (newtoken): Don't check %isknown.
31022
31023 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31024 Do not expect macro.
31025 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31034 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31035 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31036 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31037 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31038 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31039 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31040 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31041 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31042 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31044 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31045 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31046 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31047 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31049 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31050 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31051 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31052 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31054 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31055 [XPG3] (acosh): Likewise.
31056 [XPG3] (asinh): Likewise.
31057 [XPG3] (atanh): Likewise.
31058 [XPG3] (cbrt): Likewise.
31059 [XPG3] (expm1): Likewise.
31060 [XPG3] (ilogb): Likewise.
31061 [XPG3] (log1p): Likewise.
31062 [XPG3] (logb): Likewise.
31063 [XPG3] (nextafter): Likewise.
31064 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31065 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31066 [XPG3] (remainder): Likewise.
31067 [XPG3] (rint): Likewise.
31068 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31069 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31070 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31071 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31072 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31073 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31074 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31075 [UNIX98 || XOPEN2K] (scalb): Expect.
31076 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31077 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31078 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31079 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31080 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31081 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31082 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31083 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31084 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31085 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31086 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31087 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31088 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31089 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31090 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31091 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31092 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31093 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31094 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31095 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31096 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31097 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31098 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31099 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31100 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31101 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31102 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31103 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31104 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31105 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31106 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31107 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31108 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31109 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31110 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31111 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31112 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31113 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31114 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31115 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31116 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31117 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31118 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31119 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31120 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31121 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31122 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31123 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31124 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31125 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31126 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31127 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31128 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31129 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31130 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31131 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31132 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31133 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31134 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31135 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31136 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31137 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31138 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31139 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31140 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31141 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31142 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31143 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31144 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31145 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31146 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31147 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31148 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31149 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31150 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31151 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31152 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31153 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31154 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31155 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31156 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31157 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31158 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31159 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31160 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31161 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31162 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31163 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31164 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31165 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31166 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31167 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31168 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31169 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31170 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31171 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31172 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31173 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31174 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31175 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31176 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31177 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31178 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31179 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31180 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31181 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31182 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31183 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31184 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31185 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31186 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31187 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31188 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31189 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31190 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31191 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31192 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31193 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31194 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31195 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31196 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31197 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31198 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31199 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31200 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31201 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31202 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31203 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31204 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31205 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31206 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31207 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31208 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31209 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31210 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31211 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31212 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31213
31214 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31215 _XOPEN_SOURCE_EXTENDED for XPG4.
31216
31217 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31218
31219 * Makeconfig (localtime): Remove variable.
31220 (inst_localtime-file): Likewise.
31221
31222 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31223
31224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31225 Update.
31226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31227 Update.
31228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31229 Update.
31230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31231 Update.
31232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31233 Update.
31234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31235 Update.
31236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31237 Update.
31238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31239 Update.
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31241 Update.
31242
31243 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31244
31245 [BZ #2550]
31246 [BZ #2570]
31247 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31248 comparisons to determine direction to adjust input.
31249 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31250 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31251 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31252 Likewise.
31253 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31254 Likewise.
31255 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31256 Likewise.
31257 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31258 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31259 Likewise.
31260 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31261 Likewise.
31262 * math/libm-test.inc (nexttoward_test): Add more tests.
31263
31264 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31265
31266 [BZ #14040]
31267 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31268 in version GLIBC_2.1, not GLIBC_2.0.
31269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31270 Likewise.
31271
31272 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31273
31274 [BZ #13942]
31275 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31276 (1 - x) * (1 + x).
31277 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31278 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31279 * math/libm-test.inc (acos_test): Add more tests.
31280 (asin_test): Likewise.
31281 * sysdeps/i386/fpu/libm-test-ulps: Update.
31282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31283
31284 [BZ #14034]
31285 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31286 of square root.
31287 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31288 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31289 * math/libm-test.inc (acos_test_tonearest): New function.
31290 (acos_test_towardzero): Likewise.
31291 (acos_test_downward): Likewise.
31292 (acos_test_upward): Likewise.
31293 (asin_test_tonearest): Likewise.
31294 (asin_test_towardzero): Likewise.
31295 (asin_test_downward): Likewise.
31296 (asin_test_upward): Likewise.
31297 (main): Call the new functions.
31298 * sysdeps/i386/fpu/libm-test-ulps: Update.
31299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31300
31301 [BZ #13884]
31302 [BZ #13924]
31303 * math/e_exp10.c: Include <float.h>.
31304 (__ieee754_exp10): Handle underflow here rather than multiplying
31305 large negative argument by M_LN10.
31306 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31307 of __ieee754_expf.
31308 * math/e_exp10l.c: Include <float.h>.
31309 (__ieee754_exp10l): Handle underflow here rather than multiplying
31310 large negative argument by M_LN10l.
31311 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31312 spurious overflow exception on underflow.
31313
31314 2012-04-29 Marek Polacek <polacek@redhat.com>
31315
31316 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31317 (__fortify_function): New macro.
31318 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31319 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31320 __extern_always_inline.
31321 * libio/bits/stdio2.h: Likewise.
31322 * libio/bits/stdio.h: Likewise.
31323 * string/string.h: Likewise.
31324 * string/bits/string3.h: Likewise.
31325 * include/stdio.h: Likewise.
31326 * stdlib/bits/stdlib.h: Likewise.
31327 * stdlib/stdlib.h: Likewise.
31328 * rt/bits/mqueue2.h: Likewise.
31329 * rt/mqueue.h: Likewise.
31330 * posix/bits/unistd.h: Likewise.
31331 * posix/unistd.h: Likewise.
31332 * io/bits/poll2.h: Likewise.
31333 * io/bits/fcntl2.h: Likewise.
31334 * io/fcntl.h: Likewise.
31335 * io/sys/poll.h: Likewise.
31336 * misc/bits/syslog.h: Likewise.
31337 * misc/bits/syslog-ldbl.h: Likewise.
31338 * misc/sys/syslog.h: Likewise.
31339 * socket/bits/socket2.h: Likewise.
31340 * socket/sys/socket.h: Likewise.
31341 * debug/tst-chk1.c: Likewise.
31342 * wcsmbs/bits/wchar2.h: Likewise.
31343 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31344 * wcsmbs/wchar.h: Likewise.
31345
31346 2012-04-29 Andreas Jaeger <aj@suse.de>
31347
31348 * Makerules (tests): Remove enable-check-abi protection.
31349 (check-abi-warn): Remove.
31350 (check-abi-%): Remove check-abi-warn usage.
31351
31352 * configure.in: Remove check-abi configure option.
31353 * configure: Regenerated.
31354 * config.make.in (enable-check-abi): Remove.
31355
31356 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31357
31358 [BZ #14033]
31359 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31360 double functions to double *_finite functions.
31361
31362 [BZ #13941]
31363 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31364 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31365 LDBL_MIN_EXP.
31366 * stdio-common/Makefile (tests): Add tst-sprintf3.
31367 * stdio-common/tst-sprintf3.c: New file.
31368
31369 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31370 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31371
31372 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31373
31374 * conform/conformtest.pl: Remove duplicate typed-constant
31375 handling.
31376
31377 2012-04-28 David S. Miller <davem@davemloft.net>
31378
31379 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31380 (check-abi-%): Remove AWK script prerequisite and explicit
31381 abilist directory.
31382 (check-abi): Rewrite to just diff the symlist with the abilist.
31383 (config-tls, config-abi-config): Delete, no longer used.
31384 (update-abi-%): Remove AWK script and explicit abilist directory.
31385 (update-abi): Rewrite to simply compare and conditionally copy the
31386 symlist and the sysdep abilist file. Remove update-abi-config
31387 checks.
31388 * abilist/ld.abilist: Remove.
31389 * abilist/libBrokenLocale.abilist: Remove.
31390 * abilist/libanl.abilist: Remove.
31391 * abilist/libcrypt.abilist: Remove.
31392 * abilist/libdl.abilist: Remove.
31393 * abilist/librt.abilist: Remove.
31394 * abilist/libthread_db.abilist: Remove.
31395 * abilist/libutil.abilist: Remove.
31396 * scripts/extract-abilist.awk: Remove.
31397 * scripts/merge-abilist.awk: Remove.
31398 * sysdeps/generic/libcidn.abilist: New file.
31399 * sysdeps/generic/libnss_compat.abilist: New file.
31400 * sysdeps/generic/libnss_db.abilist: New file.
31401 * sysdeps/generic/libnss_dns.abilist: New file.
31402 * sysdeps/generic/libnss_files.abilist: New file.
31403 * sysdeps/generic/libnss_hesiod.abilist: New file.
31404 * sysdeps/generic/libnss_nis.abilist: New file.
31405 * sysdeps/generic/libnss_nisplus.abilist: New file.
31406 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31407 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31408 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31409 file.
31410 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31411 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31412 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31413 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31414 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31415 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31416 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31417 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31418 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31419 file.
31420 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31421 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31422 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31423 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31424 file.
31425 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31426 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31427 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31428 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31429 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31430 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31431 file.
31432 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31433 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31434 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31435 file.
31436 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31438 New file.
31439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31440 New file.
31441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31442 New file.
31443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31444 New file.
31445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31446 New file.
31447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31448 New file.
31449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31450 New file.
31451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31452 New file.
31453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31454 New file.
31455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31456 New file.
31457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31458 New file.
31459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31460 New file.
31461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31462 New file.
31463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31464 file.
31465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31466 New file.
31467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31468 New file.
31469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31470 file.
31471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31472 New file.
31473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31474 New file.
31475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31476 file.
31477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31478 New file.
31479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31480 New file.
31481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31482 New file.
31483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31484 New file.
31485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31486 New file.
31487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31488 New file.
31489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31491 file.
31492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31493 New file.
31494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31495 file.
31496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31497 file.
31498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31499 file.
31500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31501 file.
31502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31503 file.
31504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31505 New file.
31506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31507 file.
31508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31509 file.
31510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31511 New file.
31512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31513 file.
31514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31516 file.
31517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31518 New file.
31519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31520 file.
31521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31522 file.
31523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31524 file.
31525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31526 file.
31527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31528 file.
31529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31530 New file.
31531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31532 file.
31533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31534 file.
31535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31536 New file.
31537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31538 file.
31539 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31540 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31541 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31542 file.
31543 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31544 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31545 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31546 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31547 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31548 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31549 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31550 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31551 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31552 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31555 file.
31556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31557 New file.
31558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31559 file.
31560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31561 file.
31562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31563 file.
31564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31565 file.
31566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31567 file.
31568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31569 New file.
31570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31571 New file.
31572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31573 file.
31574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31575 New file.
31576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31577 file.
31578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31580 file.
31581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31582 New file.
31583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31584 file.
31585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31586 file.
31587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31588 file.
31589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31590 file.
31591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31592 file.
31593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31594 New file.
31595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31596 New file.
31597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31598 file.
31599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31600 New file.
31601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31602 file.
31603
31604 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31605
31606 * conform/conformtest.pl: Fix typo in handling typed-constant from
31607 allow-header.
31608
31609 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31610
31611 * README: Cut down references to pre-2.6 Linux kernels and
31612 Linuxthreads. Update lists of configurations in libc and ports
31613 and sort alphabetically. Say "or newer" with Linux kernel version
31614 requirements.
31615
31616 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31617
31618 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31619
31620 [BZ #887]
31621 * math/libm-test.inc (logb_test_downward): New test to expose
31622 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31623 rounding mode.
31624
31625 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31626
31627 [BZ #14027]
31628 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31629 to be done.
31630 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31631 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31632
31633 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31634
31635 * sysdeps/unix/i386/brk.S: Remove file.
31636 * sysdeps/unix/i386/dl-brk.S: Likewise.
31637 * sysdeps/unix/i386/pipe.S: Likewise.
31638 * sysdeps/unix/i386/sigreturn.S: Likewise.
31639 * sysdeps/unix/i386/syscall.S: Likewise.
31640 * sysdeps/unix/i386/vfork.S: Likewise.
31641 * sysdeps/unix/i386/wait.S: Likewise.
31642
31643 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31644 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31645
31646 * configure.in (arm*-none*): Do not allow without
31647 --enable-hacker-mode.
31648 (netbsd*): Remove case setting base_os.
31649 (386bsd*): Likewise.
31650 (freebsd*): Likewise.
31651 (bsdi*): Likewise.
31652 (osf*): Likewise.
31653 (sunos*): Likewise.
31654 (ultrix*): Likewise.
31655 (newsos*): Likewise.
31656 (dynix*): Likewise.
31657 (*bsd*): Likewise.
31658 (sysv*): Likewise.
31659 (isc*): Likewise.
31660 (esix*): Likewise.
31661 (sco*): Likewise.
31662 (minix*): Likewise.
31663 (irix4*): Likewise.
31664 (irix6*): Likewise.
31665 (solaris[2-9]*): Likewise.
31666 (none): Likewise.
31667 * configure: Regenerated.
31668
31669 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31670
31671 [BZ #11521]
31672 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31673 overflow or cancellation in calculating denominator.
31674 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31675 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31676 down expression to avoid unexpected rounding in newer GCCs.
31677 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31678
31679 2012-04-26 David S. Miller <davem@davemloft.net>
31680
31681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31682 long-double compat symbols.
31683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31696
31697 2012-04-25 David S. Miller <davem@davemloft.net>
31698
31699 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31700 HWCAP_* values only after the memory barriers have been defined.
31701 (atomic_full_barrier): Define.
31702 (atomic_read_barrier): Define.
31703 (atomic_write_barrier): Define.
31704
31705 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31706
31707 * shlib-versions: Add libgcc_s version information.
31708 * sysdeps/generic/libgcc_s.h: Remove.
31709 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31710 libgcc_s.h.
31711 * sysdeps/gnu/unwind-resume.c: Likewise.
31712 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31713
31714 2012-04-25 David S. Miller <davem@davemloft.net>
31715
31716 * sysdeps/unix/sparc/brk.S: Delete.
31717 * sysdeps/unix/sparc/dl-brk.S: Delete.
31718 * sysdeps/unix/sparc/pipe.S: Delete.
31719 * sysdeps/unix/sparc/sysdep.S: Delete.
31720 * sysdeps/unix/sparc/sysdep.h: Delete.
31721 * sysdeps/unix/sparc/vfork.S: Delete.
31722 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31723 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31725 (ret_ERRVAL, r0, r1, MOVE): Define.
31726 (JUMPTARGET): Remove.
31727 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31728 sysdeps/unix/sparc/sysdep.h
31729 (ENTRY, END): Remove.
31730 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31731
31732 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31733
31734 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31735 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31736 -DIS_IN_build.
31737
31738 * timezone/README: Update upstream location and email address for
31739 tzcode and tzdata.
31740 * timezone/zdump.c: Update from tzcode 2012b.
31741 * timezone/zic.c: Likewise.
31742
31743 * configure.in (libc_cv_as_needed): Remove test.
31744 * configure: Regenerated.
31745 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31746 conditional definition.
31747 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31748 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31749 * config.make.in (have-as-needed): Remove variable.
31750
31751 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31752 Paul Pluzhnikov <ppluzhnikov@google.com>
31753
31754 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31755 strings correctly.
31756
31757 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31758
31759 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31760 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31761 * sysdeps/sh/strlen.S: Likewise.
31762
31763 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31764
31765 * sysdeps/unix/fork.S: Remove file.
31766 * sysdeps/unix/i386/fork.S: Likewise.
31767 * sysdeps/unix/sparc/fork.S: Likewise.
31768
31769 * sysdeps/unix/system.c: Remove file.
31770 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31771
31772 * sysdeps/unix/getegid.S: Remove file.
31773 * sysdeps/unix/geteuid.S: Likewise.
31774
31775 2012-04-24 Roland McGrath <roland@hack.frob.com>
31776
31777 * scripts/check-localplt.awk: New file.
31778 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31779 of diff.
31780 * scripts/data/localplt-generic.data: Add a comment.
31781
31782 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31783 NODE when __dir_mkfile failed.
31784 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31785 Reported by Ludovic Courtès <ludo@gnu.org>.
31786
31787 2012-04-24 Andreas Jaeger <aj@suse.de>
31788
31789 * Makerules (common-clean): Also remove gen-as-const-headers
31790 files.
31791
31792 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31793
31794 * Makerules (native-compile): Do not change working directory for
31795 build. Use $(OUTPUT_OPTION) in command.
31796 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31797
31798 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31799
31800 [BZ #13886]
31801 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31802 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31803 * math/libm-test.inc (floor_test): Add more tests.
31804 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31805
31806 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31807
31808 * sysdeps/unix/getdents.c: Remove file.
31809 * sysdeps/unix/sysv/getdents.c: Likewise.
31810 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31811
31812 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31813 sysdeps/unix/mman/syscalls.list.
31814 (mmap): Likewise.
31815 (mprotect): Likewise.
31816 (msync): Likewise.
31817 (munmap): Likewise.
31818 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31819 * sysdeps/unix/mman/syscalls.list: Remove.
31820 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31821
31822 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31823 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31824 * configure: Regenerated.
31825 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31826 $(libgcc_s_suffix).
31827 * config.make.in (libgcc_s_suffix): Remove variable.
31828
31829 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31830
31831 * sysdeps/unix/sysv/gethostname.c: Move to ...
31832 * sysdeps/posix/gethostname.c: ... here.
31833
31834 * sysdeps/unix/execve.S: Remove file.
31835
31836 * sysdeps/unix/_exit.S: Remove file.
31837
31838 2012-04-23 Andreas Jaeger <aj@suse.de>
31839
31840 [BZ #13739]
31841 * manual/Makefile: Remove make dist support, there's no
31842 need for a stand-alone documentation tar ball.
31843 (TEXI2DVI): Define always, it's not in Makeconfig.
31844 (dist): Removed.
31845 (tar-it): Removed.
31846 (edition): Removed.
31847 (glibc-doc-$(edition).tar): Removed
31848 (%.Z): Removed.
31849 (%.gz): Removed.
31850 (%.uu): Removed.
31851 (ETAGS): Remove, it's in Makeconfig.
31852 (move-if-change): Remove, it's in Makeconfig.
31853
31854 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31855
31856 [BZ #13970]
31857 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31858 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31859 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31860 (strtod_l, strtof_l, strtold_l): Remove __wur.
31861 It is not necessarily an error to ignore strtol's return value.
31862 One can reliably look at the stored endptr to decide whether
31863 the number had valid syntax.
31864
31865 2012-04-21 Andreas Jaeger <aj@suse.de>
31866
31867 [BZ #13739]
31868 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31869
31870 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31871
31872 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31873 * sysdeps/unix/sysv/Versions: Remove file.
31874
31875 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31876
31877 [BZ #13927]
31878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31879
31880 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31881
31882 [BZ #7064]
31883 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31884 version from __vm86.
31885
31886 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31887
31888 * sysdeps/unix/common/lxstat.c: Remove file.
31889 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31890
31891 * sysdeps/unix/sysv/Makefile: Remove file.
31892
31893 * sysdeps/unix/sysv/direct.h: Remove file.
31894
31895 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31896 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31897 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31898 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31899 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31900 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31901 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31902
31903 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31904
31905 * sysdeps/unix/xmknod.c: Remove file.
31906 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31907
31908 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31909
31910 * sysdeps/unix/sysv/i386/time.S: Remove file.
31911
31912 * sysdeps/unix/fxstat.c: Remove file.
31913 * sysdeps/unix/xstat.c: Likewise.
31914 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31915
31916 * sysdeps/unix/sysv/sigaction.c: Remove file.
31917
31918 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31919 (sysdep_headers): Remove variable.
31920 [termio.h not in sysdep_headers] (generated): Likewise.
31921 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31922 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31923 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31924 * sysdeps/unix/sysv/tcflow.c: Likewise.
31925 * sysdeps/unix/sysv/tcflush.c: Likewise.
31926 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31927 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31928 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31929 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31930 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31931
31932 * sysdeps/unix/siglist.c: Remove file.
31933
31934 * sysdeps/unix/getppid.S: Remove file.
31935
31936 * sysdeps/unix/mkdir.c: Remove file.
31937 * sysdeps/unix/rmdir.c: Likewise.
31938
31939 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31940
31941 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31942 ERR_MAX value.
31943 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31944 errlist-compat value.
31945
31946 2012-04-18 David S. Miller <davem@davemloft.net>
31947
31948 * sysdeps/generic/memcopy.h (reg_char): Delete.
31949 * debug/strcat_chk.c: Use char, not reg_char.
31950 * debug/strcpy_chk.c: Likewise.
31951 * debug/strncat_chk.c: Likewise.
31952 * debug/strncpy_chk.c: Likewise.
31953 * string/memchr.c: Likewise.
31954 * string/memrchr.c: Likewise.
31955 * string/rawmemchr.c: Likewise.
31956 * string/strcat.c: Likewise.
31957 * string/strchr.c: Likewise.
31958 * string/strchrnul.c: Likewise.
31959 * string/strcmp.c: Likewise.
31960 * string/strcpy.c: Likewise.
31961 * string/strncat.c: Likewise.
31962 * string/strncmp.c: Likewise.
31963 * string/strncpy.c: Likewise.
31964
31965 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31966
31967 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31968 __builtin_memcopy is called when src and dest ranges are known to not
31969 overlap.
31970
31971 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31972
31973 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31974 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31975 fwd_align_merge macro call.
31976 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31977 bwd_align_merge macro call.
31978 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31979
31980 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31981
31982 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31983 bwd_align_merge macros.
31984 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31985 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31986 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31987
31988 2012-04-18 David S. Miller <davem@davemloft.net>
31989
31990 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31991
31992 2012-04-18 Andreas Jaeger <aj@suse.de>
31993
31994 [BZ# 6794]
31995 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31996 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31997 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31998
31999 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32000 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32001 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32002
32003 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32004 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32005 Adjust for changed ldbl-128 files.
32006
32007 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32008 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32009 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32010
32011 2012-04-17 David S. Miller <davem@davemloft.net>
32012
32013 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32014
32015 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32016
32017 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32018 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32019 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32020 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32021 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32022 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32023
32024 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32025
32026 [BZ #6794]
32027 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32028 * math/libm-test.inc: Add ilogb errno and exception tests.
32029 * math/w_ilogb.c: New file: ilogb wrapper.
32030 * math/w_ilogbf.c: New file: ilogbf wrapper.
32031 * math/w_ilogbl.c: New file: ilogbl wrapper.
32032 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32033 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32034 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32035 exception being thrown with 0.0 as argument.
32036 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32037 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32038 exception being thrown with 0.0 as argument.
32039 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32040 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32041 exception being thrown with 0.0 as argument.
32042 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32043 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32044 exception being thrown with 0.0 as argument.
32045 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32046 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32047 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32048 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32049 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32050 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32051 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32052 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32053 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32054
32055 2012-04-17 Petr Baudis <pasky@ucw.cz>
32056
32057 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32058 with altivec.
32059
32060 2012-04-16 Marek Polacek <polacek@redhat.com>
32061
32062 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32063
32064 2012-04-16 Marek Polacek <polacek@redhat.com>
32065
32066 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32067 operands of fdivp instruction.
32068
32069 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32070
32071 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32072 * elf/tst-auditmod3b.c: Likewise.
32073 * elf/tst-auditmod4b.c: Likewise.
32074 * elf/tst-auditmod5b.c: Likewise.
32075 * elf/tst-auditmod6b.c: Likewise.
32076 * elf/tst-auditmod6c.c: Likewise.
32077 * elf/tst-auditmod7b.c: Likewise.
32078 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32079 * sysdeps/x86_64/preconfigure.in: Likewise.
32080 * sysdeps/x86_64/preconfigure: Regenerated.
32081
32082 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32083
32084 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32085 __ILP32__.
32086
32087 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
32088
32089 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32090 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32091
32092 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32093
32094 [BZ #13973]
32095 * locale/iso-639.def: Fix gl language name. Spotted by
32096 Yaron Shahrabani.
32097
32098 2012-04-12 Roland McGrath <roland@hack.frob.com>
32099
32100 [BZ #2074]
32101 * libio/libio.h (__io_write_fn): Update comment.
32102
32103 2012-04-12 Petr Baudis <pasky@ucw.cz>
32104
32105 [BZ #2074]
32106 * stdio.texi (Hook Functions): The user provided writer function
32107 is not allowed to return -1.
32108
32109 2012-04-11 David S. Miller <davem@davemloft.net>
32110
32111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32112
32113 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32114
32115 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32116 Add a leading slash to rtkaio.
32117
32118 2012-04-11 Jim Meyering <meyering@redhat.com>
32119
32120 [BZ #11959]
32121 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32122 It is not necessarily an error to ignore fwrite's return
32123 value. One can reliably use ferror to test for errors after
32124 the fact.
32125
32126 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32127
32128 * bits/types.h (__snseconds_t): New type.
32129 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32130
32131 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32133 (__SNSECONDS_T_TYPE): Likewise.
32134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32135 (__SNSECONDS_T_TYPE): Likewise.
32136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32137 (__SNSECONDS_T_TYPE): Likewise.
32138
32139 2012-04-10 Andreas Jaeger <aj@suse.de>
32140
32141 [BZ #2636]
32142 * manual/time.texi (Processor Time): Return type of times is
32143 elapsed real time since an arbitrary point in the past.
32144 (CPU Time): Move CLK_TCK from here...
32145 (Processor Time): ...to here. Correct description.
32146 * manual/conf.texi (Constants for Sysconf): Correct description of
32147 _SC_CLK_TCK.
32148
32149 2012-04-10 David S. Miller <davem@davemloft.net>
32150
32151 [BZ #13967]
32152 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32153 where the is a gap between DT_REL(A) and DT_JMPREL.
32154
32155 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32156
32157 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32158 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32159 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32160
32161 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32162
32163 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32164 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32165 (dl_main): Handle --inhibit-cache.
32166 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32167 _dl_inhibit_cache.
32168 * elf/dl-load.c (_dl_map_object): Use it.
32169 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32170
32171 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32172
32173 [BZ #13872]
32174 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32175 (__ieee754_powl): Saturate large exponents rather than testing for
32176 overflow of y*log2(x).
32177 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32178 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32179 exceptions.
32180
32181 [BZ #11521]
32182 * math/s_ctan.c: Include <float.h>.
32183 (__ctan): Avoid internal overflow or cancellation in calculating
32184 denominator.
32185 * math/s_ctanf.c: Likewise.
32186 * math/s_ctanl.c: Likewise.
32187 * math/s_ctanh.c: Likewise.
32188 * math/s_ctanhf.c: Likewise.
32189 * math/s_ctanhl.c: Likewise.
32190 * math/libm-test.inc (ctan_test): Add more tests.
32191 (ctanh_test): Likewise.
32192 * sysdeps/i386/fpu/libm-test-ulps: Update.
32193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32194
32195 2012-04-09 Andreas Jaeger <aj@suse.de>
32196
32197 [BZ #6894]
32198 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32199 is an optional BSD extension.
32200
32201 [BZ #10254]
32202 * manual/stdio.texi (Opening Streams): Document additional fopen
32203 parameters.
32204
32205 2012-04-09 Roland McGrath <roland@hack.frob.com>
32206
32207 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32208 %eax without telling the compiler.
32209
32210 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32211
32212 [BZ # 13963]
32213 * manual/install.texi: Use sourceware.org.
32214
32215 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32216
32217 [BZ #13873]
32218 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32219 (__ieee754_pow): Generate overflow and underflow using huge*huge
32220 and tiny*tiny rather than just returning constant infinity or zero
32221 for large exponents.
32222 * math/libm-test.inc (pow_test): Require overflow exceptions for
32223 applicable cases of large exponents.
32224
32225 [BZ #706]
32226 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32227 (__ieee754_pow): Use iterative multiplication algorithm only for
32228 integer exponents with absolute value below 1024. Check for odd
32229 integer exponents when using algorithm for real exponents.
32230 * math/libm-test.inc (pow_test): Add more tests.
32231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32232
32233 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32234
32235 [BZ #13705]
32236 * math/libm-test.inc (exp_test): Do not allow overflow exception
32237 on underflow test.
32238
32239 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32240
32241 [BZ #13705]
32242 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32243 instead of __kernel_standard_f.
32244
32245 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32246
32247 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32248 * sysdeps/x86_64/memset_chk.S: Likewise.
32249
32250 2012-04-08 Andreas Jaeger <aj@suse.de>
32251
32252 [BZ #10153]
32253 * manual/startup.texi (Environment Access): Describe return value
32254 for putenv and setenv.
32255
32256 [BZ #6895]
32257 * manual/filesys.texi (Directory Entries): Add description for
32258 DT_LNK.
32259
32260 [BZ #6890]
32261 * manual/filesys.texi (Directory Entries): Clarify that it's file
32262 system not operating system in the description of DT_UNKNOWN.
32263
32264 [BZ #6578]
32265 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32266
32267 2012-04-08 Stephen Compall <s11@member.fsf.org>
32268
32269 [BZ #6649]
32270 * manual/llio.texi (Opening and Closing Files): Add cross
32271 reference to explain mode argument.
32272
32273 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32274
32275 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32276 * sysdeps/x86_64/memset_chk.S: Likewise.
32277
32278 2012-04-07 David S. Miller <davem@davemloft.net>
32279
32280 * elf/elf.h (R_SPARC_WDISP10): Define.
32281 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32282 R_SPARC_SIZE32.
32283 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32284 R_SPARC_SIZE64 and R_SPARC_H34.
32285
32286 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32287
32288 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32289 conditions and remove no longer applicable assertion.
32290
32291 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32292
32293 * bits/byteswap.h: Include <features.h>.
32294 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32295 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32296
32297 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32298
32299 * bits/byteswap.h (__bswap_16): Removed.
32300 Include <bits/byteswap-16.h> to get __bswap_16.
32301 * sysdeps/i386/bits/byteswap.h: Likewise.
32302 * sysdeps/s390/bits/byteswap.h: Likewise.
32303 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32304 * bits/byteswap-16.h: New file.
32305 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32306 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32307 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32308 * string/Makefile (headers): Add bits/byteswap-16.h.
32309
32310 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32311
32312 [BZ #13895]
32313 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32314 extra indirection.
32315 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32316 * nss/tst-nss-static.c: New.
32317
32318 2012-04-06 Robert Millan <rmh@gnu.org>
32319
32320 [BZ #6486]
32321 * manual/llio.texi (File Position Primitive): lseek
32322 refers to WHENCE when it really means OFFSET.
32323
32324 2012-04-06 Andreas Jaeger <aj@suse.de>
32325
32326 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32327 strncmp declarations.
32328
32329 * abilist/libc.abilist: Add __poll and __ppoll.
32330
32331 2012-04-05 David S. Miller <davem@davemloft.net>
32332
32333 * scripts/check-local-headers.sh: Accept a host triplet in the
32334 path matched by the exclude regexp.
32335
32336 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32337 definition.
32338 * sysdeps/powerpc/powerpc32/dl-machine.h
32339 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32340 * sysdeps/s390/s390-32/dl-machine.h
32341 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32342 * sysdeps/sparc/sparc32/dl-machine.h
32343 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32344 * sysdeps/sparc/sparc64/dl-machine.h
32345 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32346
32347 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32348 lazy binding.
32349 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32350 undefined symbol errors.
32351
32352 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32353 DT_NEEDED entries.
32354
32355 2012-04-05 Michael Matz <matz@suse.de>
32356
32357 [BZ #13592]
32358 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32359
32360 2012-04-05 Andreas Jaeger <aj@suse.de>
32361
32362 [BZ #13908]
32363 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32364 comment.
32365
32366 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32367
32368 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32369 which ROUND is no valid rounding mode.
32370
32371 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32372
32373 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32374 read again.
32375 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32376
32377 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32378
32379 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32380 an exception using FPU order intentionally.
32381
32382 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32383
32384 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32385 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32386 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32387 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32388
32389 2012-04-05 Simon Josefsson <simon@josefsson.org>
32390
32391 [BZ #12340]
32392 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32393 EINVAL when BUFLEN is too smal.
32394
32395 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32396
32397 [BZ #13553]
32398 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32399 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32400
32401 2012-04-03 Andreas Jaeger <aj@suse.de>
32402
32403 [BZ #13938]
32404 * manual/setjmp.texi (System V contexts): Fix sentence.
32405
32406 [BZ #13926]
32407 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32408 New macro for this case.
32409 [!__GNUC__] (__bswap_64): New inline function for this case.
32410 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32411 * bits/byteswap.h: Likewise.
32412 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32413 ull, guard with __GLIBC_HAVE_LONG_LONG.
32414
32415 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32416 __GLIBC_HAVE_LONG_LONG.
32417
32418 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32419 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32420
32421 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32422
32423 [BZ #13691]
32424 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32425 inptr and inend, rather than using last_ch.
32426
32427 2012-04-02 David S. Miller <davem@davemloft.net>
32428
32429 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32430 * stdio-common/printf-parse.h (read_int): Change return type to
32431 'int', return -1 on INT_MAX overflow.
32432 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32433 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32434 overflows INT_MAX. Check for overflow of in-format-string precision
32435 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32436 SIZE_MAX not INT_MAX for integer overflow test.
32437 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32438 skip the construct in the format string but do not record anything.
32439 * stdio-common/bug22.c: Adjust to test both width/prevision
32440 INT_MAX overflow as well as total length INT_MAX overflow. Check
32441 explicitly for proper errno values.
32442
32443 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32444
32445 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32446 CHAR_MAX.
32447 * string/test-strcmp.c [! WIDE]: Likewise.
32448 * time/tst-mktime2.c: Likewise for INT_MAX.
32449 * string/test-string.h: #include <sys/param.h> for MIN.
32450
32451 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32452 * sysdeps/i386/init-first.c (init): Likewise.
32453 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32454 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32455 * sysdeps/sh/init-first.c (init): Likewise.
32456
32457 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32458
32459 * po/ru.po: Update from translation team.
32460 * po/vi.po: Likewise.
32461
32462 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32463
32464 * resolv/nss_dns/dns-host.c: Merge copyright years.
32465
32466 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32467
32468 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32469 Optimize memcpy with prefetch if
32470 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32471 src, dst pointers have unequal 16 byte alignments.
32472
32473 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32474
32475 [BZ #13928]
32476 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32477 from a CNAME entry and return the minimum ttl for the query.
32478 (gaih_getanswer_slice): Likewise.
32479
32480 2012-03-30 Jeff Law <law@redhat.com>
32481
32482 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32483 due to long keys.
32484 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32485 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32486
32487 * resolv/nss_dns/dns-host.c: Update copyright year.
32488
32489 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32490
32491 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32492 requests to save a system call. Fix check that all bytes are sent.
32493
32494 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32495 comments for sendmmsg.
32496
32497 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32498
32499 [BZ #13691]
32500 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32501 with only 1 character between 0x0041 and 0x01b0.
32502 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32503 * wcsmbs/tst-mbsnrtowcs.c: New file.
32504
32505 2012-03-29 David S. Miller <davem@davemloft.net>
32506
32507 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32508 small copies by hand.
32509
32510 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32511
32512 [BZ #13761]
32513 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32514 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32515 group memberships.
32516
32517 2012-03-28 David S. Miller <davem@davemloft.net>
32518
32519 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32520 that branches into memcpy.
32521 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32523 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32524 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32525 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32526 bits.
32527 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32528 implementation too.
32529 * sysdeps/sparc/mempcpy.S: New file.
32530
32531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32532 the IFUNC routine in the libc case.
32533 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32534
32535 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32536 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32537 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32538 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32539 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32540 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32541 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32542 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32543
32544 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32545 loop to 256 bytes instead of 64 bytes and fix test signedness.
32546
32547 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32548 * sysdeps/sparc/sparc32/Makefile: rather than here...
32549 * sysdeps/sparc/sparc64/Makefile: and here.
32550
32551 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32552
32553 * malloc/mallocbug.c: Avoid warnings about unused variables.
32554
32555 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32556
32557 [BZ #13760]
32558 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32559 in the right place. Discard and retry query if response is
32560 larger than input buffer size.
32561
32562 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32563
32564 [BZ #369]
32565 [BZ #2678]
32566 [BZ #3866]
32567 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32568 x for large integer exponent.
32569 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32570 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32571 sign of result as needed afterwards.
32572 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32573 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32574 result for underflowing pow the same as for overflow.
32575 (__kernel_standard_l): Handle powl overflow and underflow here
32576 rather than calling __kernel_standard.
32577 * math/libm-test.inc (pow_test): Add more tests.
32578
32579 [BZ #3868]
32580 [BZ #13879]
32581 [BZ #13910]
32582 [BZ #13911]
32583 [BZ #13912]
32584 [BZ #13913]
32585 [BZ #13915]
32586 [BZ #13916]
32587 [BZ #13917]
32588 [BZ #13918]
32589 [BZ #13919]
32590 [BZ #13920]
32591 [BZ #13921]
32592 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32593 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32594 (__kernel_standard_l): New function.
32595 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32596 __kernel_standard.
32597 * math/w_acosl.c (__acosl): Likewise.
32598 * math/w_asinl.c (__asinl): Likewise.
32599 * math/w_atan2l.c (__atan2l): Likewise.
32600 * math/w_atanhl.c (__atanhl): Likewise.
32601 * math/w_coshl.c (__coshl): Likewise.
32602 * math/w_exp10l.c (__exp10l): Likewise.
32603 * math/w_exp2l.c (__exp2l): Likewise.
32604 * math/w_fmodl.c (__fmodl): Likewise.
32605 * math/w_hypotl.c (__hypotl): Likewise.
32606 * math/w_j0l.c (__j0l, __y0l): Likewise.
32607 * math/w_j1l.c (__j1l, __y1l): Likewise.
32608 * math/w_jnl.c (__jnl, __ynl): Likewise.
32609 * math/w_lgammal.c (__lgammal): Likewise.
32610 * math/w_log10l.c (__log10l): Likewise.
32611 * math/w_log2l.c (__log2l): Likewise.
32612 * math/w_logl.c (__logl): Likewise.
32613 * math/w_powl.c (__powl): Likewise.
32614 * math/w_remainderl.c (__remainderl): Likewise.
32615 * math/w_scalbl.c (sysv_scalbl): Likewise.
32616 * math/w_sinhl.c (__sinhl): Likewise.
32617 * math/w_sqrtl.c (__sqrtl): Likewise.
32618 * math/w_tgammal.c (__tgammal): Likewise.
32619 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32620 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32621 * math/libm-test.inc (acos_test): Add more tests.
32622 (acosh_test): Likewise.
32623 (asin_test): Likewise.
32624 (atanh_test): Likewise.
32625 (exp_test): Likewise.
32626 (exp10_test): Likewise.
32627 (exp2_test): Likewise.
32628 (expm1_test): Likewise.
32629 (lgamma_test): Likewise.
32630 (log_test): Likewise.
32631 (log10_test): Likewise.
32632 (log1p_test): Likewise.
32633 (log2_test): Likewise.
32634 (pow_test): Do not allow some spurious overflow exceptions.
32635 (sqrt_test): Add more tests.
32636 (tgamma_test): Likewise.
32637 (y0_test): Likewise.
32638 (y1_test): Likewise.
32639 (yn_test): Likewise.
32640
32641 2012-03-27 Anton Blanchard <anton@samba.org>
32642
32643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32644 MAP_HUGETLB.
32645 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32646 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32647 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32648
32649 2012-03-27 David S. Miller <davem@davemloft.net>
32650
32651 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32652
32653 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32654 have-as-vis3 check.
32655
32656 2012-03-27 Andreas Jaeger <aj@suse.de>
32657
32658 * sysdeps/x86_64/elf/configure.in: Moved to ...
32659 * sysdeps/x86_64/configure.in: ... here.
32660 * sysdeps/x86_64/elf/start.S: Moved to ...
32661 * sysdeps/x86_64/start.S: ... here.
32662 * sysdeps/x86_64/elf/configure: Delete.
32663
32664 * sysdeps/x86_64/configure.in: Merge contents from
32665 sysdeps/i386/configure.in (without i686 check).
32666
32667 * sysdeps/i386/elf/Versions: Merge into ...
32668 * sysdeps/i386/Versions: ... this.
32669 * sysdeps/i386/elf/Versions: Delete file.
32670 * sysdeps/i386/elf/start.S: Moved to ...
32671 * sysdeps/i386/start.S: ...here.
32672 * sysdeps/i386/elf/configure.in: Merge into...
32673 * sysdeps/i386/configure.in: ...here.
32674 * sysdeps/i386/elf/configure.in: Delete file.
32675 * sysdeps/i386/elf/configure: Delete file.
32676
32677 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32678 * debug/backtracesyms.c: ... here.
32679 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32680 * debug/backtracesymsfd.c: ... here.
32681 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32682 * sysdeps/generic/ifunc-sel.h: ... here.
32683
32684 * sysdeps/unix/i386/start.c: Delete file.
32685 * sysdeps/unix/sparc/start.c: Delete file.
32686 * sysdeps/unix/start.c: Delete file.
32687
32688 * sysdeps/sh/elf/configure.in: Moved to ...
32689 * sysdeps/sh/configure.in: ... here.
32690 * sysdeps/sh/elf/start.S: Moved to ...
32691 * sysdeps/sh/start.S: ... here.
32692 * sysdeps/sh/elf/configure: Delete file.
32693
32694 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32695 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32696 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32697 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32698 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32699 * sysdeps/powerpc/powerpc64/start.S: here.
32700 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32701 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32702 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32703 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32704 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32705
32706 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32707 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32708 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32709 * sysdeps/powerpc/powerpc32/start.S: ... here.
32710 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32711 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32712 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32713
32714 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32715 * sysdeps/powerpc/ifunc-sel.h: ... here.
32716 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32717 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32718
32719 * sysdeps/sparc/elf/configure.in: Moved to ...
32720 * sysdeps/sparc/configure.in: ... here.
32721 * sysdeps/sparc/elf/configure: Delete file.
32722 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32723 * sysdeps/sparc/sparc32/start.S: ... here.
32724 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32725 * sysdeps/sparc/sparc64/start.S: ... here.
32726 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32727 * sysdeps/sparc/sparc32/Makefile: ... this.
32728 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32729 * sysdeps/sparc/sparc64/Makefile: ... this.
32730
32731 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32732 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32733 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32734 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32735 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32736 * sysdeps/s390/s390-32/setjmp.S: ... here.
32737 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32738 * sysdeps/s390/s390-32/configure.in: ... here.
32739 * sysdeps/s390/s390-32/elf/configure: Delete file.
32740 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32741 * sysdeps/s390/s390-32/start.S: ... here.
32742
32743 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32744 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32745 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32746 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32747 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32748 * sysdeps/s390/s390-64/setjmp.S: ... here.
32749 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32750 * sysdeps/s390/s390-64/configure.in: ... here
32751 * sysdeps/s390/s390-64/elf/configure: Delete file.
32752 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32753 * sysdeps/s390/s390-64/start.S: ... here.
32754 * sysdeps/s390/s390-64/elf/configure: Delete.
32755
32756 * configure.in: Remove support for elf directories in sysdeps.
32757
32758 * configure: Regenerated.
32759 * sysdeps/i386/configure: Regenerated.
32760 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32761 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32762 * sysdeps/s390/s390-32/configure: Regenerated.
32763 * sysdeps/s390/s390-64/configure: Regenerated.
32764 * sysdeps/sh/configure: Regenerated.
32765 * sysdeps/sparc/configure: Regenerated.
32766 * sysdeps/x86_64/configure: Regenerated.
32767
32768 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32769
32770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32771
32772 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32773 denormal result into account.
32774
32775 2012-03-25 Roland McGrath <roland@hack.frob.com>
32776
32777 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32778 Reported by Allan McRae <allan@archlinux.org>.
32779
32780 2012-03-23 Jeff Law <law@redhat.com>
32781
32782 * nss/getnssent.c (__nss_getent): Fix typo.
32783
32784 2012-03-23 David S. Miller <davem@davemloft.net>
32785
32786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32787
32788 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32789
32790 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32791 to pad to uint64_t for each field.
32792 (dl_tls_index): Replace unsigned long with uint64_t.
32793
32794 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32795 Paul Pluzhnikov <ppluzhnikov@google.com>
32796
32797 [BZ #6528]
32798 * grp/Makefile (otherlibs): Don't set it.
32799 * inet/Makefile (otherlibs): Likewise.
32800 * login/Makefile (otherlibs): Likewise.
32801 * nscd/Makefile (otherlibs): Likewise.
32802 * posix/Makefile (otherlibs): Likewise.
32803 * pwd/Makefile (otherlibs): Likewise.
32804 * rt/Makefile (otherlibs): Likewise.
32805 * sunrpc/Makefile (otherlibs): Likewise.
32806 * nss/Makefile (otherlibs): Likewise.
32807 Add libnss_files to routines and static-only-routines.
32808 ($(objpfx)getent): Remove rule.
32809 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32810 static-only-routines.
32811
32812 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32813
32814 [BZ #13892]
32815 * math/s_cexp.c: Include <float.h>.
32816 (__cexp): Handle exp result overflowing not necessarily
32817 overflowing both real and imaginary parts of result.
32818 * math/s_cexpf.c: Likewise.
32819 * math/s_cexpl.c: Likewise.
32820 * math/libm-test.inc (cexp_test): Add more tests.
32821 * sysdeps/i386/fpu/libm-test-ulps: Update.
32822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32823
32824 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32825
32826 * include/link.h (ELFW): New macro.
32827 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32828 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32829
32830 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32831
32832 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32833 with uint64_t.
32834
32835 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32836
32837 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32838 declaration.
32839 (struct La_x32_retval): Likewise.
32840
32841 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32842
32843 * sysdeps/x86_64/preconfigure.in: New file.
32844 * sysdeps/x86_64/preconfigure: New generated file.
32845
32846 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32847
32848 [BZ #13824]
32849 * math/e_exp2l.c: Include <float.h>.
32850 (__ieee754_exp2l): Handle overflow and underflow cases
32851 separately. Only pass fractional part of argument to
32852 __ieee754_expl.
32853 * math/libm-test.inc (exp2_test): Add more tests.
32854
32855 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32856 negating x to take absolute value.
32857 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32858 Likewise.
32859 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32860 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32861 Likewise.
32862 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32863 computing low part if x was negated.
32864 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32865
32866 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32867
32868 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32869 la_x32_gnu_pltexit.
32870 (pltexit): Cast int_retval to ptrdiff_t.
32871 * elf/tst-auditmod3b.c: Likewise.
32872 * elf/tst-auditmod4b.c: Likewise.
32873 * elf/tst-auditmod5b.c: Likewise.
32874 * elf/tst-auditmod6b.c: Likewise.
32875 * elf/tst-auditmod6c.c: Likewise.
32876 * elf/tst-auditmod7b.c: Likewise.
32877
32878 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32879 and x32_gnu_pltexit.
32880
32881 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32882 __ELF_NATIVE_CLASS.
32883 (La_x32_regs): New macro.
32884 (La_x32_retval): Likewise.
32885 (la_x32_gnu_pltenter): New function prototype.
32886 (la_x32_gnu_pltexit): Likewise.
32887
32888 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32889
32890 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32891 exponent.
32892
32893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32894
32895 * configure.in (libc_cv_cc_nofma): Check for option to disable
32896 generation of FMA instructions.
32897 * configure: Regenerate.
32898 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32899 * sysdeps/ieee754/dbl-64/Makefile: New file.
32900 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32901 Remove brandred-fma4.
32902 (CFLAGS-brandred-fma4.c): Remove.
32903 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32904 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32905 define.
32906 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32907 define.
32908
32909 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32910
32911 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32912 LLONG_MAX != LONG_MAX.
32913 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32914 (_fitoa_word): Likewise.
32915 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32916 LLONG_MAX != LONG_MAX.
32917 * stdio-common/_itowa.h: Include <_itoa.h>.
32918 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32919 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32920 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32921 only if not defined.
32922 (_ITOA_WORD_TYPE): Likewise.
32923 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32924 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32925
32926 2012-03-21 David S. Miller <davem@davemloft.net>
32927
32928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32929
32930 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32931
32932 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32933 of x86_64 when setting libc_cv_slibdir, libdir and
32934 libc_cv_localedir.
32935 * sysdeps/unix/sysv/linux/configure: Regenerated.
32936
32937 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32938
32939 * manual/lang.texi (Old Varargs): Remove section.
32940 (How Variadic): Update menu.
32941 (va_start): Do not mention varargs.h.
32942
32943 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32944 Joseph Myers <joseph@codesourcery.com>
32945
32946 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32947 link test.
32948 * configure: Regenerated.
32949
32950 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32951
32952 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32953 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32954 conformtest.pl
32955
32956 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32957
32958 * NOTES: Remove.
32959 * Makefile (files-for-dist): Remove NOTES.
32960 (NOTES): Remove rule.
32961 * README: Don't refer to NOTES.
32962 * manual/creature.texi: Don't include macros.texi.
32963 * manual/intro.texi (creature.texi): Remove comment referring to
32964 NOTES.
32965
32966 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32967 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32968 * configure: Regenerated.
32969 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32970 LIBC_TRY_CC_OPTION.
32971 (libc_cv_as_i686): Likewise.
32972 (libc_cv_cc_avx): Likewise.
32973 (libc_cv_cc_sse2avx): Likewise.
32974 (libc_cv_cc_fma4): Likewise.
32975 (libc_cv_cc_novzeroupper): Likewise.
32976 * sysdeps/i386/configure: Regenerated.
32977
32978 [BZ #13883]
32979 * sysdeps/i386/fpu/s_cexp.S: Remove.
32980 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32981 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32982 * math/libm-test.inc (cexp_test): Add more tests.
32983 * sysdeps/i386/fpu/libm-test-ulps: Update.
32984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32985
32986 2012-03-21 Allan McRae <allan@archlinux.org>
32987
32988 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32989
32990 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32991
32992 [BZ #13871]
32993 * math/w_exp2.c: Do not include <float.h>.
32994 (o_threshold, u_threshold): Remove.
32995 (__exp2): Calculate result before checking finiteness and calling
32996 __kernel_standard.
32997 * math/w_exp2f.c: Likewise.
32998 * math/w_exp2l.c: Likewise.
32999 * math/libm-test.inc (exp2_test): Require overflow exception for
33000 1e6 input.
33001
33002 [BZ #3866]
33003 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33004 range of signed 64-bit integers before using fistpll. Remove
33005 checks for whether integers fit in mantissa bits.
33006 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33007 the range of signed 32-bit integers before using fistpl. Remove
33008 checks for whether integers fit in mantissa bits.
33009 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33010 (__ieee754_powl): Test for y outside the range of signed 64-bit
33011 integers before using fistpll. Reduce 64-bit values to 63-bit
33012 ones as needed.
33013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33014 divide-by-zero is raised for zero to large negative powers.
33015 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33016 (__ieee754_powl): Test for y outside the range of signed 64-bit
33017 integers before using fistpll. Reduce 64-bit values to 63-bit
33018 ones as needed.
33019 * math/libm-test.inc (pow_test): Add more tests.
33020
33021 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33022
33023 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33024 <stdio-common/_itoa.h>.
33025 * debug/segfault.c: Likewise.
33026 * elf/dl-cache.c: Likewise.
33027 * elf/dl-minimal.c: Likewise.
33028 * elf/dl-misc.c: Likewise.
33029 * elf/dl-sysdep.c: Likewise.
33030 * elf/dl-version.c: Likewise.
33031 * elf/rtld.c: Likewise.
33032 * hurd/hurdsock.c: Likewise.
33033 * hurd/lookup-retry.c: Likewise.
33034 * malloc/malloc.c: Likewise.
33035 * malloc/mtrace.c: Likewise.
33036 * nscd/nscd_getgr_r.c: Likewise.
33037 * nscd/nscd_getpw_r.c: Likewise.
33038 * nscd/nscd_getserv_r.c: Likewise.
33039 * posix/getopt_init.c: Likewise.
33040 * posix/wordexp.c: Likewise.
33041 * stdio-common/_itoa.c: Likewise.
33042 * stdio-common/printf_fphex.c: Likewise.
33043 * stdio-common/vfprintf.c: Likewise.
33044 * string/_strerror.c: Likewise.
33045 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33046 * sysdeps/i386/i686/hp-timing.h: Likewise.
33047 * sysdeps/mach/_strerror.c: Likewise.
33048 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33049 * sysdeps/mach/hurd/sethostid.c: Likewise.
33050 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33051 * sysdeps/mach/xpg-strerror.c: Likewise.
33052 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33053 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33054 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33055 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33056 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33057 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33058 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33059 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33060 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33061 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33062 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33063 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33064 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33065 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33066 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33067 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33068 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33069 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33070 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33071 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33072 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33073
33074 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33075
33076 * stdio-common/_itoa.h: Moved to ...
33077 * sysdeps/generic/_itoa.h: Here.
33078
33079 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33080
33081 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33082 instead of "_itoa.h" and "_itowa.h".
33083 * stdio-common/vfprintf.: Likewise.
33084
33085 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33086
33087 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33088 <bits/wordsize.h>.
33089 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33090 (__signbit): Likwise.
33091 (llrintf): Likwise.
33092 (llrint): Likwise.
33093
33094 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33095
33096 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33097 __WORDSIZE != 64.
33098
33099 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33100
33101 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33102 OVERFLOW_EXCEPTION_OK.
33103 * math/libm-test.inc ("Philosophy"): Update comment about
33104 exception testing.
33105 (OVERFLOW_EXCEPTION): Define.
33106 (OVERFLOW_EXCEPTION_OK): Likewise.
33107 (INVALID_EXCEPTION_OK): Renumber.
33108 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33109 (IGNORE_ZERO_INF_SIGN): Likewise.
33110 (test_exceptions): Handle FE_OVERFLOW.
33111 (exp10_test): Expect overflow exceptions.
33112 (exp2_test): Likewise.
33113 (expm1_test): Likewise.
33114 (nextafter_test): Likewise.
33115 (pow_test): Likewise.
33116 (scalbn_test): Likewise.
33117 (scalbln_test): Likewise.
33118
33119 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33120
33121 * sysdeps/x86_64/bits/atomic.h
33122 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33123 64bit integer.
33124 (atomic_exchange_acq): Likewise.
33125 (__arch_exchange_and_add_body): Likewise.
33126 (__arch_add_body): Likewise.
33127 (atomic_add_negative): Likewise.
33128 (atomic_add_zero): Likewise.
33129
33130 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33131
33132 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33133 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33134
33135 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33136
33137 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33138 Check __x86_64__ instead of __WORDSIZE.
33139
33140 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33141
33142 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33143
33144 2012-03-19 David S. Miller <davem@davemloft.net>
33145
33146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33147
33148 * sysdeps/sparc/fpu/fenv_private.h: New file.
33149 * sysdeps/sparc/fpu/math_private.h: Use it.
33150 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33151 Remove.
33152 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33153 (libc_feholdexcept_setroundl): Remove.
33154 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33155 Remove.
33156 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33157 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33158
33159 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33160
33161 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33162 int64_t instead of long int.
33163 (INSERT_WORDS64): Likwise.
33164
33165 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33166
33167 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33168 _Unwind_GetCFA return to _Unwind_Ptr first.
33169
33170 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33171
33172 [BZ #13629]
33173 * math/s_clog.c: Include <float.h>.
33174 (__clog): Scale large or subnormal inputs.
33175 * math/s_clogf.c: Likewise.
33176 * math/s_clogl.c: Likewise.
33177 * math/s_clog10.c: Include <float.h>.
33178 (M_LOG10_2): Define.
33179 (__clog10): Scale large or subnormal inputs.
33180 * math/s_clog10f.c: Likewise.
33181 * math/s_clog10l.c: Likewise.
33182 * math/libm-test.inc (clog_test): Add more tests.
33183 (clog10_test): Likewise.
33184 * sysdeps/i386/fpu/libm-test-ulps: Update.
33185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33186
33187 [BZ #11451]
33188 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33189 x and y.
33190 * math/libm-test.inc (atan2_test): Add another test.
33191
33192 * Makerules (common-objdir-compile): Remove.
33193 * sysdeps/unix/Makefile (config-generated): Do not add
33194 $(unix-generated) to variable.
33195 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33196 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33197 Remove rule.
33198 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33199 Likewise.
33200 [generic bits/local_lim.h] (before-compile): Do not append to
33201 variable.
33202 [generic bits/local_lim.h] (common-generated): Likewise.
33203 [generic sys/param.h] (before-compile): Do not append to variable.
33204 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33205 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33206 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33207 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33208 include.
33209 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33210 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33211 [generic sys/param.h] ($(addprefix
33212 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33213 [generic sys/param.h] (common-generated): Do not append to
33214 variable.
33215 [generic sys/param.h] (sysdep_headers): Likewise.
33216 [generic bits/errno.h] (before-compile): Do not append to
33217 variable.
33218 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33219 rule.
33220 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33221 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33222 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33223 [generic bits/errno.h] (common-generated): Do not append to
33224 variable.
33225 [generic bits/ioctls.h] (before-compile): Do not append to
33226 variable.
33227 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33228 rule.
33229 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33230 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33231 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33232 rule.
33233 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33234 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33235 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33236 [generic bits/ioctls.h] (common-generated): Do not append to
33237 variable.
33238 [generic sys/syscall.h] (syscall.h): Remove variable.
33239 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33240 rule.
33241 [generic sys/syscall.h] (before-compile): Do not append to
33242 variable.
33243 [generic sys/syscall.h] (common-generated): Likewise.
33244 * sysdeps/unix/errnos-tmpl.c: Remove file.
33245 * sysdeps/unix/errnos.awk: Likewise.
33246 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33247 * sysdeps/unix/ioctls.awk: Likewise.
33248 * sysdeps/unix/mk-local_lim.c: Likewise.
33249 * sysdeps/unix/snarf-ioctls: Likewise.
33250
33251 2012-03-19 Richard Henderson <rth@twiddle.net>
33252
33253 * sysdeps/i386/fpu/fenv_private.h: New file.
33254 * sysdeps/i386/fpu/math_private.h: Use it.
33255 (math_opt_barrier, math_force_eval): Remove.
33256 (libc_feholdexcept_setround_53bit): Remove.
33257 (libc_feupdateenv_53bit): Remove.
33258 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33259 (math_opt_barrier, math_force_eval): Remove.
33260 (libc_feholdexcept): Remove.
33261 (libc_feholdexcept_setround): Remove.
33262 (libc_fetestexcept, libc_fesetenv): Remove.
33263 (libc_feupdateenv_test): Remove.
33264 (libc_feupdateenv, libc_feholdsetround): Remove.
33265 (libc_feresetround): Remove.
33266
33267 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33268 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33269
33270 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33271 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33272 (libc_feupdateenv_testl): New.
33273 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33274 (libc_feupdateenv_testf): New.
33275 (libc_feupdateenv): Use libc_feupdateenv_test.
33276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33277 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33278
33279 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33280 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33281 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33282 (libc_feresetround_noex): New.
33283 (libc_feresetround_noexf): New.
33284 (libc_feresetround_noexl): New.
33285 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33286 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33287 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33288 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33289 SET_RESTORE_ROUND.
33290 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33292 (__cos): Likewise.
33293 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33294 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33295 SET_RESTORE_ROUND_NOEX.
33296 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33297 SET_RESTORE_ROUND_NOEXF.
33298 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33299 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33300 (libc_feholdsetroundf): New.
33301 (libc_feresetround, libc_feresetroundf): New.
33302
33303 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33304 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33305 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33306
33307 * sysdeps/generic/math_private.h: Include <fenv.h>.
33308 (default_libc_feholdexcept): New.
33309 (default_libc_feholdexcept_setround): New.
33310 (default_libc_fesetenv, default_libc_feupdateenv): New.
33311 (libc_feholdexcept): Only define if undefined.
33312 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33313 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33314 (libc_feholdexcept_setroundl): Likewise.
33315 (libc_feholdexcept_setround_53bit): Likewise.
33316 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33317 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33318 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33319 (libc_feupdateenv_53bit): Likewise.
33320 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33321 (libc_feholdexcept): Convert from macro to inline function.
33322 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33323 (libc_fesetenv, libc_feupdateenv): Likewise.
33324
33325 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33326 not previously defined.
33327 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33328 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33329 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33330 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33331 * sysdeps/ieee754/flt-32/math_private.h: New file.
33332 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33333 math_private.h below SET_FLOAT_WORD.
33334 (__isnan, __isinf_ns, __finite): Remove.
33335 (__isnanf, __isinf_nsf, __finitef): Remove.
33336
33337 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33338
33339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33340
33341 2012-03-17 David S. Miller <davem@davemloft.net>
33342
33343 [BZ #6471]
33344 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33345 for 2.16.
33346
33347 2012-03-16 David S. Miller <davem@davemloft.net>
33348
33349 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33350 warnings.
33351
33352 [BZ #6471]
33353 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33354 properly.
33355 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33356 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33357 sysdep_routines when subdir is sysvipc.
33358 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33359 __getshmlba helper.
33360
33361 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33362
33363 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33364
33365 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33366 [__LP64__].
33367
33368 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33369
33370 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33371 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33372 (__lround): Renamed to ...
33373 (__llround): This. Replace long int with long long int.
33374 Define lround functions as aliases of llround functions.
33375 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33376
33377 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33378
33379 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33380 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33381 adresses to uintptr_t. Replace "long int" and "unsigned long
33382 int" with "greg_t" on va_arg.
33383
33384 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33385
33386 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33387 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33388
33389 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33390 Move e_machine check before EI_CLASS check. Handle x32
33391 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33392 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33393 SKIP_EM_IA_64 and include
33394 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33395
33396 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33397 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33398 (add_system_dir): New macro.
33399
33400 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33401 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33402
33403 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33404
33405 [BZ #2551]
33406 [BZ #2552]
33407 [BZ #2553]
33408 [BZ #2554]
33409 [BZ #2562]
33410 [BZ #2563]
33411 [BZ #2565]
33412 [BZ #2566]
33413 [BZ #2576]
33414 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33415 (y0): Likewise.
33416 * math/w_j0f.c (j0f): Likewise.
33417 (y0f): Likewise.
33418 * math/w_j0l.c (__j0l): Likewise.
33419 (__y0l): Likewise.
33420 * math/w_j1.c (j1): Likewise.
33421 (y1): Likewise.
33422 * math/w_j1f.c (j1f): Likewise.
33423 (y1f): Likewise.
33424 * math/w_j1l.c (__j1l): Likewise.
33425 (__y1l): Likewise.
33426 * math/w_jn.c (jn): Likewise.
33427 (yn): Likewise.
33428 * math/w_jnf.c (jnf): Likewise.
33429 (ynf): Likewise.
33430 * math/w_jnl.c (__jnl): Likewise.
33431 (__ynl): Likewise.
33432 * math/libm-test.inc (j0_test): Add more tests.
33433 (j1_test): Likewise.
33434 (jn_test): Likewise. Add trailing semicolon to existing test.
33435 (y0_test): Likewise.
33436 (y1_test): Likewise.
33437 * sysdeps/i386/fpu/libm-test-ulps: Update.
33438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33439
33440 [BZ #13851]
33441 [BZ #13854]
33442 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33443 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33444 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33445 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33446 (__tanl): Set errno for infinite argument.
33447 * sysdeps/i386/fpu/mptan.c: Remove.
33448 * sysdeps/i386/fpu/s_tan.S: Likewise.
33449 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33450 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33451 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33452 * math/libm-test.inc (tan_test): Add more tests and enable more
33453 tests for double and long double.
33454 * sysdeps/i386/fpu/libm-test-ulps: Update.
33455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33456
33457 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33458
33459 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33460 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33461
33462 2012-03-16 Roland McGrath <roland@hack.frob.com>
33463
33464 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33465 * configure.in: Use it for both main tree and add-ons.
33466 * configure: Regenerated.
33467
33468 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33469
33470 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33471
33472 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33473
33474 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33475 in comment.
33476
33477 [BZ #13851]
33478 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33479 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33480 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33481 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33482 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33483 infinite argument.
33484 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33485 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33486 != 0 for prec == 2.
33487 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33488 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33489 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33490 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33491 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33492 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33493 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33494 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33495 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33496 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33497 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33498 * math/libm-test.inc (cos_test): Add more tests and enable more
33499 tests for long double.
33500 (sin_test): Likewise.
33501 (sincos_test): Likewise.
33502 * sysdeps/i386/fpu/libm-test-ulps: Update.
33503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33504
33505 2012-03-16 David S. Miller <davem@davemloft.net>
33506
33507 * sysdeps/sparc/fpu/math_private.h: New file.
33508
33509 2012-03-15 David S. Miller <davem@davemloft.net>
33510
33511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33512 file.
33513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33515 file.
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33522 sysdep routines.
33523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33524
33525 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33526 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33527
33528 * sysdeps/sparc/sparc-ifunc.h: New file.
33529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33530 sparc-ifunc.h
33531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33533 Likewise.
33534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33535 Likewise.
33536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33540 Likewise.
33541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33546 Likewise.
33547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33548 Likewise.
33549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33556 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33567 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33568 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33570 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33573
33574 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33575
33576 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33577 scaling.
33578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33579
33580 2012-03-15 Andreas Jaeger <aj@suse.de>
33581
33582 [BZ #13852]
33583 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33584 ieee754/flt-32 implementation for sin, cos and sincos.
33585 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33586 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33587 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33588 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33589 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33590 ieee754/flt-32 implementation for tan.
33591
33592 * math/libm-test.inc (cos_test): Enable some large input tests for
33593 float as well
33594 (sin_test): Likewise.
33595 (sincos_test): Likewise.
33596 (tan_test): Add tests for large input.
33597
33598 * sysdeps/i386/fpu/libm-test-ulps: Update.
33599
33600 2012-03-15 Andreas Jaeger <aj@suse.de>
33601
33602 [BZ #13658]
33603 * math/libm-test.inc (cos_test): Add more test cases.
33604 (sin_test): Likewise.
33605 (sincos_test): Likewise.
33606
33607 2012-03-15 Andreas Jaeger <aj@suse.de>
33608
33609 [BZ #13837]
33610 * math/libm-test.inc (cos_test): Add a test case for large input
33611 value.
33612 (sin_test): Likewise.
33613 (sincos_test): Likewise.
33614
33615 2012-03-15 Andreas Jaeger <aj@suse.de>
33616 Joseph Myers <joseph@codesourcery.com>
33617
33618 [BZ #13658]
33619 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33620 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33621 * sysdeps/i386/fpu/branred.c: Likewise.
33622 * sysdeps/i386/fpu/dosincos.c: Likewise.
33623 * sysdeps/i386/fpu/mpa.c: Likewise.
33624 * sysdeps/i386/fpu/s_cos.S: Likewise.
33625 * sysdeps/i386/fpu/s_sin.S: Likewise.
33626 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33627 * sysdeps/i386/fpu/sincos32.c: Likewise.
33628
33629 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33630 Define.
33631 (libc_feupdateenv_53bit): Define.
33632 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33633 Define.
33634 (libc_feupdateenv_53bit): Define.
33635
33636 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33637 53 bit (without extend i386 double precision).
33638
33639 * math/libm-test.inc (sincos_test): Add tests for large input.
33640 (sin): Likewise.
33641 (cos): Likewise.
33642
33643 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33644
33645 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33646
33647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33648
33649 2012-03-15 David S. Miller <davem@davemloft.net>
33650
33651 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33652 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33653 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33654 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33667 file.
33668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33670 file.
33671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33673 file.
33674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33676 file.
33677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33678 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33679 fmin/fmax sysdep routines.
33680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33681
33682 2012-03-14 David S. Miller <davem@davemloft.net>
33683
33684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33687 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33689 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33691 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33707 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33710 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33711 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33712 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33713 routines.
33714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33715 file.
33716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33718 file.
33719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33721 file.
33722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33724 file.
33725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33727 file.
33728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33730 file.
33731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33732 file.
33733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33734 file.
33735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33736 file.
33737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33738 New file.
33739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33740 file.
33741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33742 file.
33743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33745 file.
33746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33748 file.
33749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33751 file.
33752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33754 VIS3 routines.
33755
33756 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33757 New file.
33758
33759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33760
33761 * sysdeps/sparc/configure.in: New file.
33762 * sysdeps/sparc/configure: Generate.
33763 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33764 * configure: Regenerate.
33765 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33766 * config.make.in (have-as-vis3): New.
33767 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33768 available use -Av9d instead of -Av9a.
33769 * sysdeps/sparc/sparc64/Makefile: Likewise.
33770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33772 New file.
33773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33774 file.
33775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33776 New file.
33777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33778 file.
33779 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33781 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33784
33785 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33786 fzeros/fnegs to load 0x80000000 into a float register instead of
33787 using the stack.
33788 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33789
33790 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33791
33792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33793 bits/syscall.h.
33794 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33795 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33796 ($(inst_includedir)/bits/syscall.h): Remove rule.
33797 ($(objpfx)bits/syscall.d): Include instead of
33798 $(objpfx)syscall-list.d.
33799 (generated): Change syscall-list.h and syscall-list.d to
33800 bits/syscall.h and bits/syscall.d.
33801
33802 2012-03-14 Roland McGrath <roland@hack.frob.com>
33803
33804 [BZ #13846]
33805 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33806
33807 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33808
33809 [BZ #13841]
33810 * math/s_csqrt.c: Include <float.h>.
33811 (__csqrt): Scale large or subnormal inputs.
33812 * math/s_csqrtf.c: Likewise.
33813 * math/s_csqrtl.c: Likewise.
33814 * math/libm-test.inc (csqrt_test): Add more tests.
33815 * sysdeps/i386/fpu/libm-test-ulps: Update.
33816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33817
33818 [BZ #13840]
33819 * math/libm-test.inc (hypot_test): Add more tests.
33820
33821 2012-03-13 David S. Miller <davem@davemloft.net>
33822
33823 [BZ #13840]
33824 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33825 double-precision for the calculation instead of scaling.
33826
33827 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33828
33829 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33830 manipulate bits before adding and subtracting TWO52[sx].
33831 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33832 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33833 Likewise.
33834 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33835
33836 2012-03-13 David S. Miller <davem@davemloft.net>
33837
33838 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33839 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33840 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33841 rtld-global-offsets.h
33842 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33843
33844 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33845 large parameters.
33846
33847 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33848
33849 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33850 'err' in the ifdef scope in which it is actually used.
33851
33852 * nss/nss_db/db-init.c: Include string.h
33853
33854 2012-03-12 David S. Miller <davem@davemloft.net>
33855
33856 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33857 masking out of the most significant byte of random value used.
33858 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33859 Fix coding style in previous change.
33860
33861 * sysdeps/unix/sysv/linux/kernel-features.h
33862 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33863 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33864 expression.
33865 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33866 later.
33867
33868 2012-03-11 David S. Miller <davem@davemloft.net>
33869
33870 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33871 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33872 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33873 for 'resultvar' otherwise things get truncated on 64-bit.
33874
33875 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33876 Fix masking out of the most significant byte of random value used.
33877
33878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33879
33880 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33881
33882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33883
33884 2012-03-09 David S. Miller <davem@davemloft.net>
33885
33886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33887 variables with appropriate CPP guards.
33888 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33889 from the frame pointer, not the stack pointer. Correct layout
33890 comments. Fix test on resulting framesize and the management of
33891 the outregs buffer for pltexit. Preserve floating point return
33892 values across _dl_call_pltexit call.
33893 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33894 framesize and the management of the outregs buffer for pltexit.
33895 Preserve floating point return values across _dl_call_pltexit
33896 call.
33897 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33898 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33899 (la_sparc64_gnu_pltexit): New functions.
33900 (print_exit): Fix format string for return register value.
33901
33902 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33903
33904 * sunrpc/Makefile (others): Add rpcgen.
33905 ($(objpfx)rpcgen): Remove special build rule and dependency on
33906 libc.
33907 * sunrpc/rpcgen.c: New file.
33908
33909 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33910
33911 [BZ #13673]
33912 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33913 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33914 * sysdeps/i386/crti.S: Likewise.
33915 * sysdeps/i386/crtn.S: Likewise.
33916 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33917 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33918 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33919 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33920 * sysdeps/sh/crti.S: Likewise.
33921 * sysdeps/sh/crtn.S: Likewise.
33922 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33923
33924 [BZ #13673]
33925 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33926 with URL.
33927 * locale/programs/locfile-kw.gperf: Likewise.
33928 * locale/programs/charmap-kw.h: Regenerated.
33929 * locale/programs/locfile-kw.h: Likewise.
33930
33931 [BZ #13673]
33932 * intl/plural.y: Replace FSF snail mail address with URL.
33933 * intl/plural.c: Regenerated.
33934
33935 2012-03-09 Richard Henderson <rth@twiddle.net>
33936
33937 * include/math_private.h: Remove file.
33938 * math/math_private.h: Move file ...
33939 * sysdeps/generic/math_private.h: ... here.
33940
33941 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33942 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33943 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33944
33945 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33946 and <math_private.h>.
33947 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33948 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33949 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33950 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33951 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33952 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33953 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33954 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33955 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33956 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33958 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33959 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33960 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33961 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33962 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33963 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33964 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33965 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33966 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33967 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33968 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33969 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33970 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33971 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33972 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33973 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33974 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33975 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33977 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33979 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33980 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33981 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33982 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33983 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33984 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33985 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33986 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33987 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33988 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33989 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33990 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33991 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33992 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33993 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33994 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33995 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33996 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33997 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33998 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33999 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34000 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34001 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34002 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34003 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34004 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34005 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34006 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34007 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34008 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34011 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34012 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34013 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34014 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34015 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34016 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34017 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34018 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34019 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34020 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34021 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34022 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34024 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34025 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34026 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34027 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34028 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34029 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34030 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34031 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34034 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34035 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34036 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34037 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34038 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34039 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34040 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34041 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34042 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34043 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34044 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34045 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34046 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34047 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34048 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34049 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34050 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34051 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34052 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34053 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34054 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34055 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34056 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34057 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34058 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34059 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34060 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34061 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34062 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34063 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34064 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34065 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34066 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34067 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34068 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34069 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34070 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34071 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34072 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34073 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34074 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34075 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34076 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34077 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34078 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34079 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34080 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34081 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34082 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34083 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34084 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34085 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34086 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34087 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34088 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34089 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34090 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34091 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34092 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34093 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34094 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34095 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34096 * sysdeps/ieee754/k_standard.c: Likewise.
34097 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34098 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34099 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34100 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34101 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34102 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34103 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34104 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34105 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34106 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34107 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34108 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34109 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34110 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34111 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34112 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34113 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34114 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34115 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34116 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34117 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34118 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34119 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34120 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34121 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34122 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34123 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34124 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34125 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34126 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34127 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34128 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34129 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34130 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34131 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34132 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34133 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34134 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34135 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34136 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34137 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34138 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34139 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34140 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34141 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34142 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34143 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34145 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34146 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34148 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34149 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34150 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34151 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34152 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34153 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34154 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34155 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34156 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34157 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34158 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34159 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34160 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34161 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34162 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34163 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34164 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34165 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34166 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34167 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34168 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34169 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34170 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34171 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34172 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34173 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34174 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34175 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34176 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34177 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34178 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34179 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34180 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34181 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34182 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34183 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34184 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34185 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34186 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34187 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34188 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34189 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34190 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34192 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34193 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34194 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34195 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34196 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34197 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34198 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34199 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34200 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34201 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34204 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34205 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34206 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34207 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34208 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34209 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34210 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34211 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34212 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34213 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34214 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34215 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34216 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34217 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34218 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34219 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34220 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34221 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34222 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34223 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34224 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34225 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34226 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34227 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34228 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34229 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34230 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34231 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34232 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34233 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34234 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34235 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34236 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34237 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34238 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34239 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34240 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34241 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34242 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34243 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34244 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34245 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34246 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34247 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34248 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34249 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34250 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34251 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34252 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34253 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34254 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34255 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34256 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34257 * sysdeps/ieee754/s_lib_version.c: Likewise.
34258 * sysdeps/ieee754/s_matherr.c: Likewise.
34259 * sysdeps/ieee754/s_signgam.c: Likewise.
34260 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34261 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34262 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34263 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34264 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34265 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34266 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34267 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34268 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34269 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34270 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34271 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34272 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34273 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34274 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34275 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34276 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34277 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34278 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34281
34282 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34283
34284 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34285 * sunrpc/rpc_main.c: Likewise.
34286 * sunrpc/rpc_svcout.c: Likewise.
34287
34288 2012-03-09 David S. Miller <davem@davemloft.net>
34289
34290 * include/math_private.h: New file.
34291
34292 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34293
34294 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34295 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34296 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34297 from <bits/socket_type.h>.
34298 (enum __socket_type): Don't define here.
34299 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34301 bits/socket_type.h.
34302
34303 [BZ #13566]
34304 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34305 checking __USE_GNU.
34306
34307 * Makerules ($(inst_includedir)/%.h): New rule.
34308 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34309 (install-others): Remove variable setting.
34310 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34311
34312 2012-03-08 Richard Henderson <rth@twiddle.net>
34313
34314 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34315 from macro to inline function; merge with the
34316 !__LIBC_INTERNAL_MATH_INLINES version.
34317 (__ieee754_sqrtf): Likewise.
34318
34319 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34320 to inline function.
34321 (__rintf, __floor, __floorf): Likewise.
34322
34323 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34324 macro to inline function.
34325 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34326
34327 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34328 not <math/math_private.h>.
34329
34330 2012-03-08 David S. Miller <davem@davemloft.net>
34331
34332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34333 copyright year.
34334 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34335
34336 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34337
34338 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34339 normalization.
34340 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34341 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34342
34343 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34344
34345 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34346 be defined individually, they must be defined as a block. Define
34347 S for printing a string instead of hidint the different by using a
34348 macro for adding the 'l'.
34349 * stdio-common/tst-fphex-wide.c: Adjust.
34350
34351 2012-03-07 Marek Polacek <polacek@redhat.com>
34352
34353 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34354
34355 2012-03-08 Marek Polacek <polacek@redhat.com>
34356
34357 [BZ #13806]
34358 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34359 * stdio-common/tst-fphex.c: Define a few macros to make the
34360 test reusable. Use them.
34361 * stdio-common/tst-fphex-wide.c: New file.
34362
34363 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34364
34365 [BZ #6911]
34366 * manual/macros.texi (gnusystems): New macro.
34367 (nongnusystems): Likewise.
34368 (gnulinuxhurdsystems): Likewise.
34369 (gnuhurdsystems): Likewise..
34370 (gnulinuxsystems): Likewise.
34371 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34372 variants of the GNU system, not "GNU system".
34373 * manual/conf.texi: Likewise.
34374 * manual/errno.texi: Likewise. Update example of errno macro
34375 expansion.
34376 * manual/filesys.texi: Likewise.
34377 (getumask): Document as specific to GNU/Hurd.
34378 * manual/install.texi: Likewise. Reword some references to
34379 GNU/Linux.
34380 * manual/intro.texi: Likewise.
34381 * manual/io.texi: Likewise.
34382 (File Name Portability): Detail which constraints are inapplicable
34383 to all GNU systems and which are only inapplicable to GNU/Hurd.
34384 * manual/job.texi: Likewise.
34385 * manual/llio.texi: Likewise.
34386 (O_NOCTTY): Document as present on GNU/Linux.
34387 * manual/maint.texi: Likewise.
34388 * manual/memory.texi: Likewise.
34389 * manual/pattern.texi: Likewise.
34390 * manual/pipe.texi: Likewise.
34391 * manual/process.texi: Likewise.
34392 * manual/resource.texi: Likewise.
34393 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34394 child on GNU/Hurd.
34395 * manual/setjmp.texi: Likewise.
34396 * manual/signal.texi: Likewise.
34397 * manual/startup.texi: Likewise.
34398 * manual/stdio.texi: Likewise.
34399 * manual/terminal.texi: Likewise.
34400 (ONLCR): Document as POSIX.
34401 (OXTABS): Document availability on GNU/Linux as XTABS.
34402 (ONOEOT): Document availability separately from other bits.
34403 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34404 * manual/time.texi: Likewise.
34405 * manual/users.texi: Likewise.
34406 * INSTALL: Regenerated.
34407 * sysdeps/gnu/errlist.c: Regenerated.
34408
34409 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34410 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34411 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34412 puts.
34413 * configure: Regenerated.
34414
34415 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34416
34417 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34418 default includes instead of AC_HEADER_CHECK.
34419 * sysdeps/i386/configure: Regenerated.
34420
34421 [BZ #10716]
34422 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34423 * math/s_cacoshf.c (__cacoshf): Likewise.
34424 * math/s_cacoshl.c (__cacoshl): Likewise.
34425 * math/s_casinh.c (__casinh): Set signs of result from argument.
34426 * math/s_casinhf.c (__casinhf): Likewise.
34427 * math/s_casinhl.c (__casinhl): Likewise.
34428 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34429 (casinh_test): Add more tests.
34430 * sysdeps/i386/fpu/libm-test-ulps: Update.
34431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34432
34433 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34434
34435 * po/zh_TW.po: Update from translation team.
34436
34437 * login/Makefile (distribute): Remove variable.
34438 * catgets/Makefile: Likewise.
34439 * mach/Makefile: Likewise.
34440 * malloc/Makefile: Likewise.
34441 * misc/Makefile: Likewise.
34442 * iconv/Makefile: Likewise.
34443 * nscd/Makefile: Likewise.
34444 * hurd/Makefile: Likewise.
34445 * manual/Makefile: Likewise.
34446 * locale/Makefile: Likewise.
34447 * intl/Makefile: Likewise.
34448 * conform/Makefile: Likewise.
34449 * nss/Makefile: Likewise.
34450 * time/Makefile: Likewise.
34451 * soft-fp/Makefile: Likewise.
34452 * dirent/Makefile: Likewise.
34453 * gmon/Makefile: Likewise.
34454 * po/Makefile: Likewise.
34455 * rt/Makefile: Likewise.
34456 * socket/Makefile: Likewise.
34457 * math/Makefile: Likewise.
34458 * signal/Makefile: Likewise.
34459 * debug/Makefile: Likewise.
34460 * elf/Makefile: Likewise.
34461 * timezone/Makefile: Likewise.
34462 * stdlib/Makefile: Likewise.
34463 * iconvdata/Makefile: Likewise.
34464 * sunrpc/Makefile: Likewise.
34465 * io/Makefile: Likewise.
34466 * argp/Makefile: Likewise.
34467 * inet/Makefile: Likewise.
34468 * hesiod/Makefile: Likewise.
34469 * grp/Makefile: Likewise.
34470 * csu/Makefile: Likewise.
34471 * wctype/Makefile: Likewise.
34472 * crypt/Makefile: Likewise.
34473 * libio/Makefile: Likewise.
34474 * string/Makefile: Likewise.
34475 * nis/Makefile: Likewise.
34476 * resolv/Makefile: Likewise.
34477 * stdio-common/Makefile: Likewise.
34478 * wcsmbs/Makefile: Likewise.
34479 * dlfcn/Makefile: Likewise.
34480 * posix/Makefile: Likewise.
34481
34482 [BZ #6959]
34483 * timezone/Makefile: Don't install timezone files, just the programs
34484 and scripts.
34485
34486 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34487
34488 * nss/databases.def: Add missing gshadow entry.
34489
34490 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34491
34492 2012-03-06 Marek Polacek <polacek@redhat.com>
34493
34494 [BZ #13726]
34495 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34496 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34497 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34498 * stdio-common/tst-long-dbl-fphex.c: New file.
34499
34500 2012-03-06 David S. Miller <davem@davemloft.net>
34501
34502 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34503 (set_obp_int): New function.
34504 (get_obp_int): New function.
34505 (__get_clockfreq_via_dev_openprom): Likewise.
34506 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34507 Avoid unused variable warnings on 'val' and use builtin_expect.
34508 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34509 __builtin_expect.
34510 (INLINE_CLONE_SYSCALL): Likewise.
34511
34512 2012-03-05 David S. Miller <davem@davemloft.net>
34513
34514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34515
34516 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34517
34518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34519
34520 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34521 only for |x| >= 40.
34522 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34523
34524 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34525
34526 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34527 Replace gettimeofday with __vdso_gettimeofday.
34528
34529 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34530 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34531 __vdso_clock_gettime and __vdso_getcpu.
34532
34533 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34534 time with __vdso_time.
34535
34536 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34537
34538 * manual/lang.texi (size_t): Note types to which size_t may be
34539 equivalent with the GNU C Library, but do not describe when
34540 differences between them are significant.
34541
34542 2012-03-05 Andreas Jaeger <aj@suse.de>
34543
34544 * sysdeps/i386/fpu/libm-test-ulps: Update.
34545
34546 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34547
34548 [BZ #3976]
34549 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34550 (__ieee754_pow): Save and restore rounding mode and use
34551 round-to-nearest for main computations.
34552 * math/libm-test.inc (pow_test_tonearest): New function.
34553 (pow_test_towardzero): Likewise.
34554 (pow_test_downward): Likewise.
34555 (pow_test_upward): Likewise.
34556 (main): Call the new functions.
34557 * sysdeps/i386/fpu/libm-test-ulps: Update.
34558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34559
34560 [BZ #3976]
34561 * math/libm-test.inc (cosh_test_tonearest): New function.
34562 (cosh_test_towardzero): Likewise.
34563 (cosh_test_downward): Likewise.
34564 (cosh_test_upward): Likewise.
34565 (sinh_test_tonearest): Likewise.
34566 (sinh_test_towardzero): Likewise.
34567 (sinh_test_downward): Likewise.
34568 (sinh_test_upward): Likewise.
34569 (main): Call the new functions.
34570 * sysdeps/i386/fpu/libm-test-ulps: Update.
34571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34572
34573 2012-03-05 Tom de Vries <tom@codesourcery.com>
34574
34575 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34576 default stack guard is set in last bytes.
34577 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34578
34579 2012-03-05 Kees Cook <keescook@chromium.org>
34580
34581 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34582
34583 [BZ #13656]
34584 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34585 possibly allocate from heap instead of stack.
34586 * stdio-common/bug-vfprintf-nargs.c: New file.
34587 * stdio-common/Makefile (tests): Add nargs overflow test.
34588
34589 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34590
34591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34592
34593 2012-03-03 Marek Polacek <polacek@redhat.com>
34594
34595 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34596 * math/math_private.h: Likewise.
34597 * stdlib/tst-strtod.c: Likewise.
34598 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34599 * sysdeps/x86_64/bits/atomic.h: Likewise.
34600
34601 2012-03-02 David S. Miller <davem@davemloft.net>
34602
34603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34607 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34608 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34609 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34610 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34611
34612 2012-03-02 Roland McGrath <roland@hack.frob.com>
34613
34614 [BZ #13792]
34615 * manual/examples/README: New file, says the example source files
34616 can be used under GPL>=2.
34617 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34618 line containing just "*/".
34619 * manual/examples/add.c: Add copyright header (GPL>=2).
34620 * manual/examples/argp-ex1.c: Likewise.
34621 * manual/examples/argp-ex2.c: Likewise.
34622 * manual/examples/argp-ex3.c: Likewise.
34623 * manual/examples/argp-ex4.c: Likewise.
34624 * manual/examples/atexit.c: Likewise.
34625 * manual/examples/db.c: Likewise.
34626 * manual/examples/dir.c: Likewise.
34627 * manual/examples/dir2.c: Likewise.
34628 * manual/examples/execinfo.c: Likewise.
34629 * manual/examples/filecli.c: Likewise.
34630 * manual/examples/filesrv.c: Likewise.
34631 * manual/examples/fmtmsgexpl.c: Likewise.
34632 * manual/examples/genpass.c: Likewise.
34633 * manual/examples/inetcli.c: Likewise.
34634 * manual/examples/inetsrv.c: Likewise.
34635 * manual/examples/isockad.c: Likewise.
34636 * manual/examples/longopt.c: Likewise.
34637 * manual/examples/memopen.c: Likewise.
34638 * manual/examples/memstrm.c: Likewise.
34639 * manual/examples/mkfsock.c: Likewise.
34640 * manual/examples/mkisock.c: Likewise.
34641 * manual/examples/mygetpass.c: Likewise.
34642 * manual/examples/pipe.c: Likewise.
34643 * manual/examples/popen.c: Likewise.
34644 * manual/examples/rprintf.c: Likewise.
34645 * manual/examples/search.c: Likewise.
34646 * manual/examples/select.c: Likewise.
34647 * manual/examples/setjmp.c: Likewise.
34648 * manual/examples/sigh1.c: Likewise.
34649 * manual/examples/sigusr.c: Likewise.
34650 * manual/examples/stpcpy.c: Likewise.
34651 * manual/examples/strdupa.c: Likewise.
34652 * manual/examples/strftim.c: Likewise.
34653 * manual/examples/strncat.c: Likewise.
34654 * manual/examples/subopt.c: Likewise.
34655 * manual/examples/swapcontext.c: Likewise.
34656 * manual/examples/termios.c: Likewise.
34657 * manual/examples/testopt.c: Likewise.
34658 * manual/examples/testpass.c: Likewise.
34659 * manual/examples/timeval_subtract.c: Likewise.
34660
34661 [BZ #13792]
34662 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34663 function to ...
34664 * manual/timeval_subtract.c.texi: ... here, new file.
34665
34666 2012-03-02 David S. Miller <davem@davemloft.net>
34667
34668 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34669
34670 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34671
34672 [BZ #3976]
34673 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34674 (__sin): Save and restore rounding mode and use round-to-nearest
34675 for all computations.
34676 (__cos): Save and restore rounding mode and use round-to-nearest
34677 for all computations.
34678 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34679 <fenv.h>.
34680 (tan): Save and restore rounding mode and use round-to-nearest for
34681 all computations.
34682 * math/libm-test.inc (cos_test_tonearest): New function.
34683 (cos_test_towardzero): Likewise.
34684 (cos_test_downward): Likewise.
34685 (cos_test_upward): Likewise.
34686 (sin_test_tonearest): Likewise.
34687 (sin_test_towardzero): Likewise.
34688 (sin_test_downward): Likewise.
34689 (sin_test_upward): Likewise.
34690 (tan_test_tonearest): Likewise.
34691 (tan_test_towardzero): Likewise.
34692 (tan_test_downward): Likewise.
34693 (tan_test_upward): Likewise.
34694 (main): Call the new functions.
34695 * sysdeps/i386/fpu/libm-test-ulps: Update.
34696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34697
34698 [BZ #10135]
34699 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34700 small n, then large n, before computing and testing k+n.
34701 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34703 Likewise.
34704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34705 Likewise.
34706 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34707 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34708 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34709 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34710 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34711 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34712 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34713 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34714 * math/libm-test.inc (scalbn_test): Add more tests.
34715 (scalbln_test): Likewise.
34716
34717 * manual/filesys.texi (mode_t): Describe constraints on size and
34718 signedness, not exact equivalence to a particular type.
34719 (ino_t): Likewise.
34720 (ino64_t): Likewise.
34721 (dev_t): Likewise.
34722 (nlink_t): Likewise.
34723 (blkcnt_t): Likewise.
34724 (blkcnt64_t): Likewise.
34725 * manual/llio.texi (off_t): Likewise.
34726
34727 [BZ #3976]
34728 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34729 (__ieee754_exp): Save and restore rounding mode and use
34730 round-to-nearest for all computations.
34731 * math/libm-test.inc (exp_test_tonearest): New function.
34732 (exp_test_towardzero): Likewise.
34733 (exp_test_downward): Likewise.
34734 (exp_test_upward): Likewise.
34735 (main): Call the new functions.
34736 * sysdeps/i386/fpu/libm-test-ulps: Update.
34737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34738
34739 2012-03-01 Chris Demetriou <cgd@google.com>
34740
34741 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34742 have predictable order.
34743
34744 2012-03-01 David S. Miller <davem@davemloft.net>
34745
34746 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34747
34748 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34749 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34750 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34751 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34752
34753 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34754 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34755 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34757 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34758 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34759 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34760 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34761 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34762
34763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34764
34765 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34766 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34767 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34768
34769 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34770 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34771 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34772 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34773 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34774 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34775 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34776 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34777 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34778 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34779 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34780 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34782 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34783 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34785 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34786 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34787 * sysdeps/sparc/elf/configure: Regenerated.
34788
34789 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34790
34791 * configure.in (AS, LD): Require binutils 2.20 or later.
34792 * configure: Regenerated.
34793 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34794 as required minimum version.
34795 * INSTALL: Regenerated.
34796
34797 [BZ #2541]
34798 [BZ #4108]
34799 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34800 before squaring exponent.
34801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34802 bottom long double and 27 bits of top long double before squaring
34803 exponent.
34804 * math/libm-test.inc (erfc_test): Add more tests.
34805 * sysdeps/i386/fpu/libm-test-ulps: Update.
34806 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34808
34809 2012-03-01 Kai Tietz <ktietz@redhat.com>
34810
34811 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34812 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34813 containing bit-fields.
34814 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34815 * soft-fp/single.h (_FP_UNION_S): Likewise.
34816 * soft-fp/double.h (_FP_UNION_D): Likewise.
34817
34818 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34819
34820 [BZ #13786]
34821 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34822 not include ../strcmp.S.
34823 [USE_AS_STRNCASECMP_L]: Likewise.
34824 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34825 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34826 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34827 (__strncasecmp_l_ia32): Define as alias to
34828 __strncasecmp_l_nonascii.
34829
34830 [BZ #5794]
34831 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34832 * sysdeps/i386/fpu/libm-test-ulps: Update.
34833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34834
34835 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34837
34838 2012-02-29 Jeff Law <law@redhat.com>
34839
34840 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34841 out of bounds read.
34842
34843 2012-02-29 Marek Polacek <polacek@redhat.com>
34844
34845 [BZ #13706]
34846 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34847 * elf/Makefile: Add rules to run tst-unused-dep.out.
34848
34849 2012-02-28 David S. Miller <davem@davemloft.net>
34850
34851 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34852 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34853 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34854 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34855 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34856 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34857
34858 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34859
34860 * math/libm-test.inc (llround_test): Move one test from
34861 lround_test. Use TEST_f_L in moved test.
34862 (lround_test): Move misplaced test to llround_test. Add testcase
34863 from bug 2561.
34864
34865 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34866
34867 * sysdeps/x86_64/fpu/e_expf.S: New file.
34868 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34869
34870 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34871
34872 [BZ #13637]
34873 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34874 of remain_len that may cause incomplete multi-byte character and
34875 false match.
34876 * posix/bug-regex33.c: New file.
34877 * posix/Makefile (tests): Add bug-regex33.
34878
34879 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34880
34881 * manual/macros.texi: New file.
34882 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34883 * manual/libc.texinfo: Include macros.texi.
34884 * manual/creatute.texi: Likewise.
34885 * manual/install.texi: Likewise.
34886 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34887 @glibcadj{} in references to the GNU C Library.
34888 * manual/charset.texi: Likewise.
34889 * manual/conf.texi: Likewise.
34890 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34891 when not using those macros.
34892 * manual/creature.texi: Likewise.
34893 * manual/crypt.texi: Likewise.
34894 * manual/errno.texi: Likewise.
34895 * manual/filesys.texi: Likewise.
34896 * manual/header.texi: Likewise.
34897 * manual/install.texi: Likewise.
34898 * manual/intro.texi: Likewise.
34899 * manual/io.texi: Likewise.
34900 * manual/job.texi: Likewise.
34901 * manual/lang.texi: Likewise.
34902 * manual/libc.texiinfo: Likewise.
34903 * manual/llio.texi: Likewise.
34904 * manual/locale.texi: Likewise.
34905 * manual/maint.texi: Likewise.
34906 * manual/math.texi: Likewise.
34907 * manual/memory.texi: Likewise.
34908 * manual/message.texi: Likewise.
34909 * manual/nss.texi: Likewise.
34910 * manual/pattern.texi: Likewise.
34911 * manual/process.texi: Likewise.
34912 * manual/resource.texi: Likewise.
34913 * manual/search.texi: Likewise.
34914 * manual/setjmp.texi: Likewise.
34915 * manual/signal.texi: Likewise.
34916 * manual/socket.texi: Likewise.
34917 * manual/startup.texi: Likewise.
34918 * manual/stdio.texi: Likewise.
34919 * manual/string.texi: Likewise.
34920 * manual/sysinfo.texi: Likewise.
34921 * manual/syslog.texi: Likewise.
34922 * manual/terminal.texi: Likewise.
34923 * manual/time.texi: Likewise.
34924 * manual/users.texi: Likewise.
34925 * INSTALL: Regenerated.
34926 * NOTES: Regenerated.
34927 * sysdeps/gnu/errlist.c: Regenerated.
34928
34929 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34930
34931 * include/dirent.h: Include <dirstream.h> before
34932 <dirent/dirent.h>.
34933
34934 2012-02-28 David S. Miller <davem@davemloft.net>
34935
34936 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34937 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34938 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34939 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34940
34941 2012-02-27 David S. Miller <davem@davemloft.net>
34942
34943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34945 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34946 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34947
34948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34949 frame pointer instead of stack pointer relative arg slot.
34950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34951 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34952 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34953
34954 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34955
34956 [BZ #3992]
34957 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34958
34959 2012-02-27 David S. Miller <davem@davemloft.net>
34960
34961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34965 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34966 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34967 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34968 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34969
34970 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34971
34972 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34973 later. Allow versions 5-9.
34974 * configure: Regenerated.
34975 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34976 required minimum version and 4.6 as recommended version. Do not
34977 mention bugs in GCC 2.7 and 2.8.
34978 * INSTALL: Regenerated.
34979
34980 2012-02-27 David S. Miller <davem@davemloft.net>
34981
34982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34986 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34987 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34988 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34989 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34990
34991 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34992 manipulate bits before adding and subtracting TWO112[sx].
34993 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34994
34995 2012-02-27 Roland McGrath <roland@hack.frob.com>
34996
34997 [BZ #13775]
34998 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34999 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35000 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35001 being in POSIX, because they are in 1003.1-2008.
35002
35003 * rt/tst-aio.c: Include <fcntl.h>.
35004 * rt/tst-aio7.c: Likewise.
35005 * rt/tst-aio64.c: Likewise.
35006
35007 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35008
35009 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35010
35011 * manual/install.texi (--with-headers): Describe headers as
35012 interface headers, not private headers.
35013 (Specific advice for GNU/Linux systems): Describe use of headers
35014 from "make headers_install", not private headers from older
35015 kernels.
35016 * INSTALL: Regenerated.
35017 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35018 Change to 2.6.19.
35019 * sysdeps/unix/sysv/linux/configure: Regenerated.
35020
35021 * manual/llio.texi (fclean): Remove documentation.
35022
35023 * manual/Makefile (libc-texi-generated): New variable. Include
35024 version.texi.
35025 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35026 $(libc-texi-generated), not duplicated list of files.
35027 (version.texi, stamp-version): New rules.
35028 (realclean): Remove $(libc-texi-generated), not individual files
35029 from that list. Do not remove dir-add.texinfo.
35030 * manual/libc.texinfo: Comment out uses of edition numbers and
35031 references to printed manual. Remove last-updated dates.
35032 (EDITION): Comment out.
35033 (ISBN): Likewise.
35034 (VERSION, UPDATED): Remove.
35035 (version.texi): Include.
35036
35037 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35038
35039 * sysdeps/posix/spawni.c: Include <signal.h>.
35040 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35041 * sysdeps/pthread/aio_fsync.c: Likewise.
35042
35043 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35044
35045 * conform/Makefile (tests): Run only when not cross-compiling and
35046 when fast-check is not defined.
35047
35048 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35049 * conform/data/limits.h-data: Fixes for POSIX2008.
35050 * conform/run-conformtest.sh: Run all tests.
35051 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35052 headers.
35053 * include/bits/dlfcn.h: Likewise.
35054 * include/langinfo.h: Likewise.
35055 * include/monetary.h: Likewise.
35056 * include/sys/poll.h: Likewise.
35057
35058 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35059 for __USE_GNU.
35060 * posix/spawn.h: Define __need_sigset_t.
35061 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35062 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35063 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35064 to get sigevent_t only.
35065 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35066 only for __USE_GNU.
35067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35068 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35069 process_vm_writev only for __USE_GNU.
35070 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35071
35072 * conform/Makefile: For now ignore errors from run-conformtest.
35073 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35074 POSIX to avoid namespace pollution. Don't prepend headers.
35075 * conform/data/aio.h-data: Fixes for POSIX testing.
35076 * conform/data/fcntl.h-data: Likewise.
35077 * conform/data/glob.h-data: Likewise.
35078 * conform/data/grp.h-data: Likewise.
35079 * conform/data/pthread.h-data: Likewise.
35080 * conform/data/pwd.h-data: Likewise.
35081 * conform/data/signal.h-data: Likewise.
35082 * conform/data/spawn.h-data: Likewise.
35083 * conform/data/stdio.h-data: Likewise.
35084 * conform/data/stdlib.h-data: Likewise.
35085 * conform/data/stropts.h-data: Likewise.
35086 * conform/data/sys/mman.h-data: Likewise.
35087 * conform/data/sys/stat.h-data: Likewise.
35088 * conform/data/sys/types.h-data: Likewise.
35089 * conform/data/sys/wait.h-data: Likewise.
35090 * conform/data/time.h-data: Likewise.
35091 * conform/data/unistd.h-data: Likewise.
35092 * conform/data/utime.h-data: Likewise.
35093
35094 * io/sys/stat.h: fchmod was always in POSIX.
35095 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35096 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35097 * rt/aio.h: Define __need_timespec before including <time.h>.
35098 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35099 struct. Add forward declaration of pthread_attr_t and use it in
35100 sigevent.
35101 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35102 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35103 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35104 always remove CLK_TCK definition.
35105
35106 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35107
35108 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35109
35110 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35111
35112 * conform/run-conformtest.sh: New file.
35113 * conform/Makefile: Run run-conformtest for tests.
35114 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35115 support.
35116
35117 * conform/data/uchar.h-data: New file.
35118 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35119 * conform/data/arpa/inet.h-data: Likewise.
35120 * conform/data/assert.h-data: Likewise.
35121 * conform/data/complex.h-data: Likewise.
35122 * conform/data/cpio.h-data: Likewise.
35123 * conform/data/ctype.h-data: Likewise.
35124 * conform/data/dirent.h-data: Likewise.
35125 * conform/data/dlfcn.h-data: Likewise.
35126 * conform/data/errno.h-data: Likewise.
35127 * conform/data/fcntl.h-data: Likewise.
35128 * conform/data/float.h-data: Likewise.
35129 * conform/data/fmtmsg.h-data: Likewise.
35130 * conform/data/fnmatch.h-data: Likewise.
35131 * conform/data/ftw.h-data: Likewise.
35132 * conform/data/glob.h-data: Likewise.
35133 * conform/data/grp.h-data: Likewise.
35134 * conform/data/iconv.h-data: Likewise.
35135 * conform/data/inttypes.h-data: Likewise.
35136 * conform/data/langinfo.h-data: Likewise.
35137 * conform/data/libgen.h-data: Likewise.
35138 * conform/data/limits.h-data: Likewise.
35139 * conform/data/locale.h-data: Likewise.
35140 * conform/data/math.h-data: Likewise.
35141 * conform/data/monetary.h-data: Likewise.
35142 * conform/data/mqueue.h-data: Likewise.
35143 * conform/data/ndbm.h-data: Likewise.
35144 * conform/data/net/if.h-data: Likewise.
35145 * conform/data/netdb.h-data: Likewise.
35146 * conform/data/netinet/in.h-data: Likewise.
35147 * conform/data/nl_types.h-data: Likewise.
35148 * conform/data/poll.h-data: Likewise.
35149 * conform/data/pthread.h-data: Likewise.
35150 * conform/data/pwd.h-data: Likewise.
35151 * conform/data/regex.h-data: Likewise.
35152 * conform/data/sched.h-data: Likewise.
35153 * conform/data/search.h-data: Likewise.
35154 * conform/data/semaphore.h-data: Likewise.
35155 * conform/data/setjmp.h-data: Likewise.
35156 * conform/data/signal.h-data: Likewise.
35157 * conform/data/spawn.h-data: Likewise.
35158 * conform/data/stdarg.h-data: Likewise.
35159 * conform/data/stdio.h-data: Likewise.
35160 * conform/data/stdlib.h-data: Likewise.
35161 * conform/data/string.h-data: Likewise.
35162 * conform/data/strings.h-data: Likewise.
35163 * conform/data/stropts.h-data: Likewise.
35164 * conform/data/sys/ipc.h-data: Likewise.
35165 * conform/data/sys/mman.h-data: Likewise.
35166 * conform/data/sys/msg.h-data: Likewise.
35167 * conform/data/sys/resource.h-data: Likewise.
35168 * conform/data/sys/select.h-data: Likewise.
35169 * conform/data/sys/sem.h-data: Likewise.
35170 * conform/data/sys/shm.h-data: Likewise.
35171 * conform/data/sys/socket.h-data: Likewise.
35172 * conform/data/sys/stat.h-data: Likewise.
35173 * conform/data/sys/statvfs.h-data: Likewise.
35174 * conform/data/sys/time.h-data: Likewise.
35175 * conform/data/sys/timeb.h-data: Likewise.
35176 * conform/data/sys/times.h-data: Likewise.
35177 * conform/data/sys/types.h-data: Likewise.
35178 * conform/data/sys/uio.h-data: Likewise.
35179 * conform/data/sys/un.h-data: Likewise.
35180 * conform/data/sys/utsname.h-data: Likewise.
35181 * conform/data/sys/wait.h-data: Likewise.
35182 * conform/data/syslog.h-data: Likewise.
35183 * conform/data/tar.h-data: Likewise.
35184 * conform/data/termios.h-data: Likewise.
35185 * conform/data/utime.h-data: Likewise.
35186 * conform/data/utmpx.h-data: Likewise.
35187 * conform/data/varargs.h-data: Likewise.
35188 * conform/data/wchar.h-data: Likewise.
35189 * conform/data/wctype.h-data: Likewise.
35190 * conform/data/wordexp.h-data: Likewise.
35191
35192 * include/stropts.h: New file.
35193 * include/uchar.h: New file.
35194 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35195 * include/assert.h: Likewise.
35196 * include/ctype.h: Likewise.
35197 * include/dirent.h: Likewise.
35198 * include/dlfcn.h: Likewise.
35199 * include/fcntl.h: Likewise.
35200 * include/fnmatch.h: Likewise.
35201 * include/glob.h: Likewise.
35202 * include/grp.h: Likewise.
35203 * include/libio.h: Likewise.
35204 * include/locale.h: Likewise.
35205 * include/math.h: Likewise.
35206 * include/net/if.h: Likewise.
35207 * include/netdb.h: Likewise.
35208 * include/netinet/in.h: Likewise.
35209 * include/pthread.h: Likewise.
35210 * include/pwd.h: Likewise.
35211 * include/regex.h: Likewise.
35212 * include/sched.h: Likewise.
35213 * include/search.h: Likewise.
35214 * include/setjmp.h: Likewise.
35215 * include/signal.h: Likewise.
35216 * include/stdio.h: Likewise.
35217 * include/stdlib.h: Likewise.
35218 * include/string.h: Likewise.
35219 * include/sys/cdefs.h: Likewise.
35220 * include/sys/mman.h: Likewise.
35221 * include/sys/msg.h: Likewise.
35222 * include/sys/resource.h: Likewise.
35223 * include/sys/select.h: Likewise.
35224 * include/sys/socket.h: Likewise.
35225 * include/sys/stat.h: Likewise.
35226 * include/sys/statvfs.h: Likewise.
35227 * include/sys/time.h: Likewise.
35228 * include/sys/times.h: Likewise.
35229 * include/sys/uio.h: Likewise.
35230 * include/sys/utsname.h: Likewise.
35231 * include/sys/wait.h: Likewise.
35232 * include/termios.h: Likewise.
35233 * include/time.h: Likewise.
35234 * include/ulimit.h: Likewise.
35235 * include/unistd.h: Likewise.
35236 * include/utime.h: Likewise.
35237 * include/wchar.h: Likewise.
35238 * include/wctype.h: Likewise.
35239 * include/wordexp.h: Likewise.
35240
35241 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35242
35243 * time/time.h: TIME_UTC must be a macro.
35244 Make timespec_get available for ISO C11 only as well.
35245
35246 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35247
35248 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35249 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35250
35251 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35252
35253 * configure.in: Use -o not -a in test for unsupported multi-arch.
35254
35255 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35256
35257 * manual/texinfo.tex: Update to version 2012-01-19.16.
35258
35259 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35260
35261 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35262
35263 2012-02-24 Roland McGrath <roland@hack.frob.com>
35264
35265 [BZ #13738]
35266 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35267 * manual/fdl-1.3.texi: New file.
35268 * manual/fdl-1.1.texi: File removed.
35269
35270 [BZ #13738]
35271 * manual/libc.texinfo (FDL_VERSION): New @set.
35272 Use it for mention of FDL in cover text.
35273 (Documentation License): Use it in @include file name.
35274
35275 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35276 Roland McGrath <roland@hack.frob.com>
35277
35278 [BZ #5461]
35279 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35280 (not LONG_LONG_MAX and LONG_LONG_MIN.
35281 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35282 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35283 name.
35284 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35285
35286 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35287
35288 [BZ #2547]
35289 [BZ #11365]
35290 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35291 manipulate bits before adding and subtracting TWO23[sx].
35292 * math/libm-test.inc (nearbyint_test): Add more tests.
35293
35294 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35295
35296 [BZ #2548]
35297 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35298 bits before adding and subtracting TWO23[sx].
35299 * math/libm-test.inc (rint_test): Add more tests.
35300 (rint_test_tonearest): Likewise.
35301 (rint_test_towardzero): Likewise.
35302 (rint_test_downward): Likewise.
35303 (rint_test_upward: Likewise.
35304
35305 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35306
35307 [BZ #10110]
35308 * include/stdc-predef.h: New file. Extracted from features.h.
35309 * include/features.h: Include stdc-predef.h.
35310 * Makefile (headers): Add stdc-predef.h.
35311 * CONFORMANCE (Compiler limitations): Update.
35312
35313 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35314
35315 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35316
35317 2012-02-21 David S. Miller <davem@davemloft.net>
35318
35319 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35320 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35321
35322 2012-02-20 David S. Miller <davem@davemloft.net>
35323
35324 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35325 using a normal save/restore sequence, rather than allocating a
35326 dummy stack frame just to store a frame pointer and restore.
35327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35328
35329 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35330
35331 * manual/install.texi: Fix stray word in line-wrapped comment.
35332
35333 2012-02-20 David S. Miller <davem@davemloft.net>
35334
35335 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35336 both binutils and gcc support GOTDATA.
35337
35338 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35339 "rd %pc" in the PIC register setup sequences.
35340
35341 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35342 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35343 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35344 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35345 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35347 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35348 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35350 (SYSCALL_ERROR_HANDLER): Likewise.
35351 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35352 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35353 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35354 (SYSCALL_ERROR_HANDLER): Likewise.
35355
35356 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35357 (HAVE_GCC_GOTDATA): New.
35358 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35359 relocation support in both binutils and gcc.
35360 * sysdeps/sparc/elf/configure: Regenerate.
35361
35362 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35363 * sysdeps/sparc/sparc32/elf/configure: Delete.
35364 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35365 * sysdeps/sparc/sparc64/elf/configure: Delete.
35366 * sysdeps/sparc/elf/configure.in: New file.
35367 * sysdeps/sparc/elf/configure: Generate.
35368
35369 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35370 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35371 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35372 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35373 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35374
35375 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35376
35377 * manual/install.texi: Do not mention specific glibc version
35378 numbers.
35379 * manual/libc.texinfo (VERSION, UPDATED): Update.
35380 (@copying): Use @copyright{} and range of years.
35381
35382 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35383
35384 [BZ #13695]
35385 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35386 [crti.S not in sysdirs] (generated): Do not append.
35387 [crti.S not in sysdirs] (omit-deps): Likewise.
35388 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35389 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35390 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35391 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35392 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35393 Likewise.
35394 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35395 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35396 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35397 * csu/defs.awk: Remove file.
35398 * sysdeps/generic/initfini.c: Likewise.
35399 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35400 variable.
35401 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35402 Likewise.
35403
35404 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35405
35406 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35407 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35408 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35409 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35411 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35412 <bits/epoll.h>.
35413 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35414 (__EPOLL_PACKED): Define to empty if not defined by
35415 <bits/epoll.h>.
35416 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35418 bits/epoll.h.
35419
35420 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35421
35422 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35423 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35424 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35425 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35426 <bits/timerfd.h>.
35427 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35429 bits/timerfd.h.
35430
35431 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35432
35433 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35434 in C locale.
35435 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35436 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35437 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35439
35440 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35441
35442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35443 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35444
35445 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35446
35447 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35448 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35449 defined.
35450 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35451 Likewise.
35452 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35453 entry for 2.16.
35454
35455 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35456
35457 * math/w_acos.c: Use non-signaling floating-point comparisons.
35458 * math/w_acosf.c: Likewise.
35459 * math/w_acosh.c: Likewise.
35460 * math/w_acoshf.c: Likewise.
35461 * math/w_acoshl.c: Likewise.
35462 * math/w_acosl.c: Likewise.
35463 * math/w_asin.c: Likewise.
35464 * math/w_asinf.c: Likewise.
35465 * math/w_asinl.c: Likewise.
35466 * math/w_atanh.c: Likewise.
35467 * math/w_atanhf.c: Likewise.
35468 * math/w_atanhl.c: Likewise.
35469 * math/w_exp2.c: Likewise.
35470 * math/w_exp2f.c: Likewise.
35471 * math/w_exp2l.c: Likewise.
35472 * math/w_j0.c: Likewise.
35473 * math/w_j0f.c: Likewise.
35474 * math/w_j0l.c: Likewise.
35475 * math/w_j1.c: Likewise.
35476 * math/w_j1f.c: Likewise.
35477 * math/w_j1l.c: Likewise.
35478 * math/w_jn.c: Likewise.
35479 * math/w_jnf.c: Likewise.
35480 * math/w_log.c: Likewise.
35481 * math/w_log10.c: Likewise.
35482 * math/w_log10f.c: Likewise.
35483 * math/w_log10l.c: Likewise.
35484 * math/w_log2.c: Likewise.
35485 * math/w_log2f.c: Likewise.
35486 * math/w_log2l.c: Likewise.
35487 * math/w_logf.c: Likewise.
35488 * math/w_logl.c: Likewise.
35489 * math/w_sqrt.c: Likewise.
35490 * math/w_sqrtf.c: Likewise.
35491 * math/w_sqrtl.c: Likewise.
35492 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35493 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35494 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35495 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35496 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35497
35498 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35499
35500 [BZ #9739]
35501 * manual/string.texi (strnlen): Use correct parameter name in
35502 equivalent expression.
35503
35504 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35505
35506 [BZ #11174]
35507 * manual/users.texi (seteuid): Consistently use neweuid for
35508 argument name.
35509
35510 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35511
35512 [BZ #13704]
35513 * manual/nss.texi (Services in the NSS configuration): Correct
35514 list of services in example configuration file.
35515
35516 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35517
35518 [BZ #11322]
35519 * manual/arith.texi: Remove statements about negative zero
35520 behaving identically to zero.
35521
35522 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35523
35524 [BZ #5993]
35525 * manual/install.texi: Do not document upgrading from libc5.
35526
35527 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35528
35529 [BZ #4596]
35530 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35531
35532 2012-02-18 David S. Miller <davem@davemloft.net>
35533
35534 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35535 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35536 %o7 across the call.
35537 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35538 instead.
35539 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35540 SETUP_PIC_REG_LEAF.
35541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35542 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35543 * sysdeps/sparc/crtn.S: Likewise.
35544
35545 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35546
35547 * aout/Makefile: Remove.
35548
35549 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35550
35551 [BZ #13058]
35552 * manual/examples/argp-ex1.c (main): Format definition in GNU
35553 style.
35554 * manual/examples/argp-ex2.c (main): Likewise.
35555 * manual/examples/argp-ex3.c (main): Likewise.
35556 * manual/examples/argp-ex4.c (main): Likewise.
35557 * manual/examples/longopt.c (main): Use new-style prototype
35558 definition.
35559 * manual/examples/strncat.c (main): Specify return type and use
35560 (void) for arguments.
35561 * manual/examples/subopt.c (main): Use char **argv argument.
35562
35563 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35564
35565 [BZ #5077]
35566 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35567 rounding modes.
35568
35569 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35570
35571 [BZ #6907]
35572 * manual/string.texi (strchr): Change when strchrnul is
35573 recommended.
35574
35575 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35576
35577 [BZ #174]
35578 * manual/locale.texi (setlocale): Document LOCPATH.
35579
35580 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35581
35582 [BZ #10210]
35583 * manual/process.texi (execle): Move @dots{} before last argument.
35584
35585 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35586
35587 [BZ #12047]
35588 * manual/charset.texi (Generic Charset Conversion): Fix typo
35589 (LC_TYPE -> LC_CTYPE).
35590
35591 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35592
35593 [BZ #5805]
35594 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35595 (scalbnf): Likewise.
35596 (scalbnl): Likewise.
35597 (scalbln): Likewise.
35598 (scalblnf): Likewise.
35599 (scalblnl): Likewise.
35600 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35601 (vwarnx): Likewise.
35602 (verr): Likewise.
35603 (verrx): Likewise.
35604 * manual/filesys.texi (telldir): Use braces around return type.
35605 * manual/llio.texi (mmap): Add space after comma.
35606 (mmap64): Likewise.
35607 * manual/math.texi (jn): Use @var{} on parameter names.
35608 (jnf): Likewise.
35609 (jnl): Likewise.
35610 (yn): Likewise.
35611 (ynf): Likewise.
35612 (ynl): Likewise.
35613 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35614 line.
35615 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35616 "...".
35617 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35618 (sched_get_priority_max): Likewise.
35619 * manual/signal.texi (sigvec): Add space after comma.
35620 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35621 names.
35622 (if_indextoname): Likewise.
35623 (if_freenameindex): Likewise.
35624 (sendto): Use ',' instead of '.' in prototype.
35625 * manual/startup.texi (syscall): Use @dots{} instead of literal
35626 "...".
35627 * manual/stdio.texi (__fpending): Separate initial words of
35628 paragraph from @deftypefun line.
35629 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35630 "...".
35631 (vsyslog): Use @var{} on parameter names.
35632 * manual/terminal.texi (stty): Use @var{} on parameter names.
35633 * manual/users.texi (getutmp): Use @var{} on parameter names.
35634 (getutmpx): Likewise.
35635
35636 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35637
35638 [BZ #6884]
35639 * manual/stdio.texi (fopen): Fix typos in description of
35640 ",ccs=STRING".
35641
35642 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35643
35644 [BZ #4026]
35645 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35646 get clock_id definition.
35647
35648 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35649
35650 [BZ #4822]
35651 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35652 (madvise): Cast every argument to void on its own.
35653
35654 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35655
35656 [BZ #9902]
35657 * manual/startup.texi (Exit Status): Fix typo.
35658
35659 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35660
35661 [BZ #10140]
35662 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35663 * manual/examples/argp-ex2.c: Likewise.
35664 * manual/examples/argp-ex3.c: Likewise.
35665
35666 2012-02-16 Richard Henderson <rth@redhat.com>
35667
35668 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35669 * sysdeps/s390/s390-32/initfini.c: Remove.
35670 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35671 * sysdeps/s390/s390-64/initfini.c: Remove.
35672
35673 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35674
35675 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35676 compiler output for sysdeps/generic/initfini.c.
35677 * sysdeps/sh/elf/initfini.c: Remove file.
35678
35679 2012-02-16 David S. Miller <davem@davemloft.net>
35680
35681 [BZ #11494]
35682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35683
35684 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35685 * sysdeps/sparc/crti.S: New file.
35686 * sysdeps/sparc/crtn.S: New file.
35687 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35688 * sysdeps/sparc/sparc64/Makefile: Likewise.
35689
35690 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35691
35692 [BZ #3335]
35693 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35694
35695 2012-02-15 Roland McGrath <roland@hack.frob.com>
35696
35697 [BZ #4822]
35698 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35699
35700 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35701 (write, read, close): Likewise.
35702 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35703
35704 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35705
35706 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35707 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35708 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35709 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35710 <bits/signalfd.h>.
35711 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35713 bits/signalfd.h.
35714
35715 2012-02-14 Marek Polacek <polacek@redhat.com>
35716
35717 * sysdeps/x86_64/crti.S: New file.
35718 * sysdeps/x86_64/crtn.S: New file.
35719 * sysdeps/x86_64/elf/initfini.c: Remove file.
35720
35721 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35722
35723 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35724 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35725 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35726 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35727 <bits/inotify.h>.
35728 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35730 bits/inotify.h.
35731
35732 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35733
35734 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35735 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35736 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35737 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35738 <bits/eventfd.h>.
35739 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35741 bits/eventfd.h.
35742
35743 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35744
35745 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35746 __feraiseexcept instead of feraiseexcept.
35747
35748 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35749 nanosleep invocations.
35750 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35751 strings, and add error checking for a nanosleep invocations.
35752
35753 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35754
35755 Replace FSF snail mail address with URLs, as per GNU coding standards.
35756 Most of the snail mail addresses were wrong anyway, and omitting
35757 them makes the source code easier to maintain. Almost all of the
35758 changes are to license notices and to locale LC_IDENTIFICATION
35759 addresses, except for this one:
35760 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35761 not its snail mail address.
35762
35763 2012-02-09 Richard Henderson <rth@twiddle.net>
35764
35765 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35766 of kernel-features.h.
35767
35768 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35769
35770 2012-02-08 Marek Polacek <polacek@redhat.com>
35771
35772 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35773 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35774 * sysdeps/gnu/_G_config.h: Likewise.
35775 * sysdeps/generic/_G_config.h: Likewise.
35776
35777 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35778
35779 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35780 tests.
35781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35782
35783 * sysdeps/powerpc/powerpc32/crti.S: New file.
35784 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35785 * sysdeps/powerpc/powerpc64/crti.S: New file.
35786 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35787
35788 * Makeconfig (have-initfini): Don't set.
35789 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35790 * configure.in (nopic_initfini): Don't substitute.
35791 * config.h.in (HAVE_INITFINI): Don't #undef.
35792 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35793 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35794
35795 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35796
35797 Support crti.S and crtn.S provided directly by architectures.
35798 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35799 [crti.S in sysdirs] (omit-deps): Likewise.
35800 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35801 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35802 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35803 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35804 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35805 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35806 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35807 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35808 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35809 compiler output for sysdeps/generic/initfini.c.
35810 * sysdeps/i386/elf/Makefile: Remove file.
35811 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35812
35813 2012-02-07 Marek Polacek <polacek@redhat.com>
35814
35815 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35816 * sysdeps/gnu/_G_config.h: Likewise.
35817 * sysdeps/mach/hurd/_G_config.h: Likewise.
35818
35819 2012-02-07 Marek Polacek <polacek@redhat.com>
35820
35821 * math/Makefile (tests): Add tst-CMPLX2.
35822 * math/tst-CMPLX2.c: New file.
35823
35824 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35825
35826 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35827
35828 * math/libm-test.inc (jn_test): Add missing L suffix.
35829
35830 2012-02-06 Marek Polacek <polacek@redhat.com>
35831
35832 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35833 * sysdeps/i386/fpu/e_powf.S: Likewise.
35834 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35835 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35836 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35837 * sysdeps/i386/fpu/e_pow.S: Likewise.
35838 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35839 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35840 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35841 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35842 * sysdeps/i386/fpu/e_log2.S: Likewise.
35843 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35844 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35845 * sysdeps/i386/fpu/e_powl.S: Likewise.
35846 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35847 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35848 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35849 * sysdeps/i386/fpu/e_logl.S: Likewise.
35850 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35851 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35852 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35853 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35854 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35855 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35856 * sysdeps/i386/fpu/e_log.S: Likewise.
35857 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35858 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35859 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35860 * sysdeps/i386/fpu/e_logf.S: Likewise.
35861 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35862 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35863 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35864 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35865 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35866 * sysdeps/i386/fpu/e_log10.S: Likewise.
35867 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35868 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35869 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35870 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35871 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35872 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35873 * sysdeps/i386/asm-syntax.h: Likewise.
35874 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35875 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35876 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35877 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35878 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35879 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35880 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35881 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35882 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35883 * sysdeps/powerpc/sysdep.h: Likewise.
35884 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35885 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35886
35887 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35888
35889 [BZ #411]
35890 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35891
35892 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35893
35894 * sysdeps/i386/sysdep.h: Include <features.h>.
35895 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35896 version.
35897
35898 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35899
35900 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35901 Define.
35902 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35903 LOAD_PIC_REG_STR.
35904
35905 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35906
35907 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35908 (SETUP_PIC_REG): Use GET_PC_THUNK.
35909 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35910 macro.
35911
35912 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35913
35914 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35915 for non-PIC compilation.
35916 (SETUP_PIC_REG): Add .p2align directive.
35917 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35918 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35919 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35920 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35921 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35922 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35923 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35924 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35925 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35926 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35927 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35928 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35929 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35930 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35931 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35932 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35933 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35934 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35935 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35936 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35937 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35938 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35939 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35940 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35943 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35944 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35945 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35946 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35947 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35948 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35949 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35950 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35951 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35952 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35953 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35954 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35955 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35956 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35957 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35958
35959 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35960
35961 * math/tst-CMPLX.c: Include <stdio.h>.
35962
35963 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35964
35965 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35966 float.
35967 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35968 * sysdeps/sparc/bits/mathdef.h: Likewise.
35969
35970 2012-01-31 Marek Polacek <polacek@redhat.com>
35971
35972 * libio/libio.h: Don't define _PARAMS.
35973 * locale/programs/config.h: Don't define PARAMS.
35974 * stdlib/strtol_l.c: Likewise.
35975 (__strtol_l): Remove PARAMS from the prototype.
35976
35977 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35978
35979 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35980 names. Just use the correct names. Remove unnecessary wrapper
35981 functions.
35982 * malloc/arena.c: Likewise.
35983 * malloc/hooks.c: Likewise.
35984
35985 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35986 ARENA_TEST says not to. Simplify test for creation of a new arena.
35987 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35988
35989 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35990
35991 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35992 into tail calls.
35993 (update_get_addr): New function.
35994 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35995 GET_ADDR_MODULE parameter.
35996
35997 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35998
35999 * crypt/cert.c: Remove __STDC__ conditionals.
36000 * crypt/crypt-entry.c: Likewise.
36001 * crypt/crypt_util.c: Likewise.
36002 * libio/filedoalloc.c: Likewise.
36003 * libio/fileops.c: Likewise.
36004 * libio/genops.c: Likewise.
36005 * libio/iofclose.c: Likewise.
36006 * libio/iofdopen.c: Likewise.
36007 * libio/iofopen.c: Likewise.
36008 * libio/iofopen64.c: Likewise.
36009 * libio/iogetdelim.c: Likewise.
36010 * libio/iopopen.c: Likewise.
36011 * libio/obprintf.c: Likewise.
36012 * libio/oldfileops.c: Likewise.
36013 * libio/oldiofclose.c: Likewise.
36014 * libio/oldiofdopen.c: Likewise.
36015 * libio/oldiofopen.c: Likewise.
36016 * libio/oldiopopen.c: Likewise.
36017 * libio/wfiledoalloc.c: Likewise.
36018 * libio/wgenops.c: Likewise.
36019 * locale/programs/xmalloc.c: Likewise.
36020 * misc/syslog.c: Likewise.
36021 * stdio-common/xbug.c: Likewise.
36022 * string/memchr.c: Likewise.
36023 * string/memcmp.c: Likewise.
36024 * string/memrchr.c: Likewise.
36025 * string/rawmemchr.c: Likewise.
36026 * sysdeps/posix/getcwd.c: Likewise.
36027 * time/strftime_l.c: Likewise.
36028
36029 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36030
36031 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36032 * config.make.in (config-cflags-sse2avx): Define.
36033 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36034 Fix typo.
36035
36036 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36037
36038 * scripts/config.guess: Update from upstream config git repository.
36039 * scripts/config.sub: Likewise.
36040
36041 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36042
36043 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36044 (EM_NUM): Update.
36045 (R_TILEPRO_*, R_TILEGX_*): New macros.
36046
36047 * scripts/firstversions.awk: Fix bug in version range handling.
36048
36049 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36050
36051 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36052
36053 * include/sys/epoll.h: New file.
36054 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36055 libc_hidden_def.
36056
36057 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36058
36059 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36060 Avoid unnecessary __WORDSIZE == 64 test.
36061 (fmaxf): Use VEX format if possible.
36062 (fmax): Likewise.
36063 (fminf): Likewise.
36064 (fmin): Likewise.
36065
36066 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36067 * math/math_private.h: Remove libc_fegetround* and
36068 libc_fesetround*.
36069 * sysdeps/i386/configure.in: Check for -msse2avx.
36070 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36071 also if SSE2AVX is defined.
36072 Remove libc_fegetround* and libc_fesetround*.
36073 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36074 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36076 of HAS_YMM_USABLE.
36077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36078 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36079 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36080 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36081 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36082
36083 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36084
36085 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36086
36087 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36088 size is not set.
36089 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36090
36091 2012-01-27 Ulrich Drepper <drepper@gmail.com>
36092
36093 [BZ #13618]
36094 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36095 relocation.
36096 * Makeconfig (libm): Define.
36097 * elf/Makefile: Add rules to build and run tst-relsort1.
36098 * elf/tst-relsort1.c: New file.
36099 * elf/tst-relsort1mod1.c: New file.
36100 * elf/tst-relsort1mod2.c: New file.
36101
36102 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36103
36104 * math/s_ldexp.c: Remove __STDC__ conditionals.
36105 * math/s_ldexpf.c: Likewise.
36106 * math/s_ldexpl.c: Likewise.
36107 * math/s_nextafter.c: Likewise.
36108 * math/s_nexttowardf.c: Likewise.
36109 * math/s_significand.c: Likewise.
36110 * math/s_significandf.c: Likewise.
36111 * math/s_significandl.c: Likewise.
36112 * math/w_jnl.c: Likewise.
36113 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36114 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36115 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36116 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36117 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36119 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36120 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36121 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36122 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36123 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36125 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36126 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36127 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36128 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36129 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36130 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36132 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36133 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36134 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36135 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36136 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36137 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36138 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36139 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36140 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36141 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36142 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36143 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36144 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36145 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36146 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36147 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36148 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36149 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36150 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36151 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36152 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36153 * sysdeps/ieee754/k_standard.c: Likewise.
36154 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36155 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36156 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36157 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36158 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36159 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36160 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36161 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36162 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36163 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36164 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36165 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36166 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36167 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36168 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36169 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36170 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36171 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36172 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36173 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36176 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36177 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36178 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36179 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36183 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36184 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36185 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36186 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36187 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36189 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36190 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36192 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36193 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36194 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36195 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36196 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36197 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36198 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36199 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36200 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36201 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36202 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36203 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36204 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36205 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36206 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36207 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36208 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36209 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36210 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36211 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36212 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36213 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36214 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36215 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36216 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36217 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36218 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36219 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36220 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36221 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36222 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36223 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36224 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36225 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36226 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36227 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36228 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36229 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36230 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36231 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36232 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36233 * sysdeps/ieee754/s_matherr.c: Likewise.
36234 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36235 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36236 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36237 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36238
36239 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36240
36241 * crypt/md5.h: Remove __STDC__ conditionals.
36242 * libio/libioP.h: Likewise.
36243 * locale/programs/config.h: Likewise.
36244 * sysdeps/generic/sysdep.h: Likewise.
36245 * sysdeps/i386/asm-syntax.h: Likewise.
36246 * sysdeps/s390/asm-syntax.h: Likewise.
36247 * sysdeps/unix/sysdep.h: Likewise.
36248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36250
36251 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36252
36253 * libio/libio.h: Remove __STDC__ conditionals.
36254 * malloc/obstack.h: Likewise.
36255 * math/complex.h: Likewise.
36256 * math/math.h: Likewise.
36257 * sysdeps/generic/_G_config.h: Likewise.
36258 * sysdeps/gnu/_G_config.h: Likewise.
36259 * sysdeps/mach/hurd/_G_config.h: Likewise.
36260 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36261 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36262 * sysdeps/sparc/bits/mathdef.h: Likewise.
36263
36264 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36265
36266 [BZ #13583]
36267 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36268 Clean up HAS_* macros.
36269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36270 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36271 possible.
36272 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36273 HAS_AVX.
36274 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36275 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36276 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36277 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36278 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36279
36280 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36281
36282 * elf/tst-unique3.cc (gets): Remove declaration.
36283 * elf/tst-unique3lib.cc (gets): Likewise.
36284 * elf/tst-unique3lib2.cc (gets): Likewise.
36285 * elf/tst-unique4.cc (gets): Likewise.
36286
36287 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36288
36289 * include/stdio.h: Add C++ protection. Add gets declarations and
36290 definitions.
36291 * debug/tst-chk1.c: Don't declare gets here.
36292 * stdio-common/tst-gets.c: Likewise.
36293
36294 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36295
36296 * posix/glob: Remove directory.
36297
36298 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36299
36300 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36301
36302 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36303
36304 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36305 of the non-standard EPFNOSUPPORT.
36306
36307 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36308
36309 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36310 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36311 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36312
36313 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36314
36315 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36316
36317 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36318
36319 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36320 transient errors.
36321 * nscd/grpcache.c (cache_addgr): Likewise.
36322 * nscd/hstcache.c (cache_addhst): Likewise.
36323 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36324 * nscd/pwdcache.c (cache_addpw): Likewise.
36325 * nscd/servicescache.c (cache_addserv): Likewise.
36326
36327 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36328
36329 * malloc/malloc.c: Various cleanups.
36330 * malloc/hooks.c: Likewise.
36331
36332 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36333 * stdlib/bug-fmtmsg1.c: New file.
36334
36335 * stdlib/fmtmsg.c (init): Add missing unlock.
36336 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36337
36338 2012-01-12 Marek Polacek <polacek@redhat.com>
36339
36340 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36341 and _GNU_SOURCE.
36342
36343 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36344
36345 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36346 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36347 macro to ensure uniqueness of label name.
36348 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36349 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36350
36351 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36352
36353 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36354
36355 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36356 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36357 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36358 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36359
36360 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36361
36362 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36363
36364 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36365 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36366 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36367
36368 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36369
36370 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36371 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36372 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36373 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36374
36375 * math/bits/math-finite.h: Add ldexp support.
36376
36377 2012-01-10 Marek Polacek <polacek@redhat.com>
36378
36379 * locale/programs/localedef.h (show_archive_content): Add noreturn
36380 attribute.
36381
36382 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36383
36384 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36385
36386 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36387
36388 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36389
36390 * io/Makefile (headers): Add bits/poll2.h.
36391
36392 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36393
36394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36395 typo #include statement.
36396
36397 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36398
36399 * include/sys/cdefs.h: Define __attribute_alloc_size.
36400 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36401 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36402 * elf/pldd.c: Likewise.
36403 * iconv/iconv_charmap.c: Likewise.
36404 * iconv/iconvconfig.c: Likewise.
36405 * iconv/strtab.c: Likewise.
36406 * locale/programs/locale.c: Likewise.
36407 * locale/programs/localedef.h: Likewise.
36408 * locale/programs/simple-hash.c: Likewise.
36409 * nscd/nscd.h: Likewise.
36410 * nss/makedb.c: Likewise.
36411 * sysdeps/generic/ldconfig.h: Likewise.
36412 * locale/programs/localedef.c: Remove xmalloc prototype.
36413 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36414
36415 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36416
36417 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36418 appropriate.
36419
36420 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36421
36422 * math/Makefile (tests): Add tst-CMPLX.
36423 * math/tst-CMPLX.c: New file.
36424
36425 * math/complex.h (CMPLXL): Fix typo.
36426
36427 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36428 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36429 GLIBC_2.16.
36430 * debug/tst-chk1.c: Add poll and ppoll tests.
36431 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36432 * include/sys/poll.h: Add hidden proto for ppoll.
36433 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36434 * sysdeps/mach/hurd/ppoll.c: Likewise.
36435 * io/ppoll.c: Likewise.
36436 * debug/poll_chk.c: New file.
36437 * debug/ppoll_chk.c: New file.
36438 * include/bits/poll2.h: New file.
36439 * io/bits/poll2.h: New file.
36440
36441 [BZ #1350]
36442 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36443
36444 * configure.in: static is always set to yes. Remove.
36445 * config.make.in: Don't set build-static.
36446 * Makeconfig: Remove use of build-static.
36447 * dlfcn/Makefile: Likewise.
36448 * elf/Makefile: Likewise.
36449 * math/Makefile: Likewise.
36450 * misc/Makefile: Likewise.
36451 * nptl/Makefile: Likewise.
36452 * sysdeps/mach/hurd/Makefile: Likewise.
36453
36454 * configure.in: PWD_P is not used anymore.
36455 * config.make.in: Remove PWD_P entry.
36456
36457 * configure.in: Remove last remnants of RANLIB.
36458 No need to check for signed size_t anymore.
36459 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36460 and IA-64.
36461 Remove __builtin_expect test because we require at least gcc 3.4.
36462 * aclocal.m4: Likewise.
36463
36464 * wcsmbs/mbrtoc16.c: Implement using towc function.
36465 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36466 * wcsmbs/wcsmbsload.c: Likewise.
36467 * iconv/gconv_simple.c: Likewise.
36468 * iconv/gconv_int.h: Likewise.
36469 * iconv/gconv_builtin.h: Likewise.
36470 * iconv/iconv_prog.c: Remove CHAR16 handling.
36471
36472 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36473
36474 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36475
36476 * configure.in: Remove --with-elf and --enable-bounded options.
36477 Dont set base_machine for ia64. More non-ELF conditions removed.
36478 Remove testing and setting of leading underscore information.
36479 * config.make.in (build-bounded): Set to no.
36480 * config.h.in: Remove NO_UNDERSCORES entry.
36481 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36482 them.
36483 * csu/start.c: Remove !NO_UNDERSCORE code.
36484 * locale/localeinfo.h: Likewise.
36485 * sysdeps/generic/machine-gmon.h: Likewise.
36486 * sysdeps/generic/sysdep.h: Likewise.
36487 * sysdeps/i386/sysdep.h: Likewise.
36488 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36489 * sysdeps/mach/sysdep.h: Likewise.
36490 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36491 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36492 * sysdeps/sh/sysdep.h: Likewise.
36493 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36494 * sysdeps/unix/i386/sysdep.S: Likewise.
36495 * sysdeps/unix/sparc/start.c: Likewise.
36496 * sysdeps/unix/sparc/sysdep.S: Likewise.
36497 * sysdeps/unix/sparc/sysdep.h: Likewise.
36498 * sysdeps/unix/start.c: Likewise.
36499 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36500 * sysdeps/x86_64/sysdep.h: Likewise.
36501
36502 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36503
36504 [BZ #13553]
36505 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36506 for non-gcc.
36507 * argp/argp-fmtstream.h: Use const instead __const.
36508 * argp/argp.h: Likewise.
36509 * assert/assert.h: Likewise.
36510 * bits/fenv.h: Likewise.
36511 * bits/sched.h: Likewise.
36512 * bits/sigset.h: Likewise.
36513 * bits/sigthread.h: Likewise.
36514 * catgets/nl_types.h: Likewise.
36515 * conform/data/pthread.h-data: Likewise.
36516 * crypt/crypt-private.h: Likewise.
36517 * crypt/crypt.h: Likewise.
36518 * crypt/crypt_util.c: Likewise.
36519 * ctype/ctype.h: Likewise.
36520 * debug/execinfo.h: Likewise.
36521 * debug/mbsnrtowcs_chk.c: Likewise.
36522 * debug/mbsrtowcs_chk.c: Likewise.
36523 * debug/wcsnrtombs_chk.c: Likewise.
36524 * debug/wcsrtombs_chk.c: Likewise.
36525 * debug/wcstombs_chk.c: Likewise.
36526 * dirent/dirent.h: Likewise.
36527 * dlfcn/dlfcn.h: Likewise.
36528 * elf/neededtest4.c: Likewise.
36529 * grp/grp.h: Likewise.
36530 * gshadow/gshadow.h: Likewise.
36531 * iconv/gconv.h: Likewise.
36532 * iconv/gconv_int.h: Likewise.
36533 * iconv/gconv_simple.c: Likewise.
36534 * iconv/iconv.h: Likewise.
36535 * iconv/loop.c: Likewise.
36536 * iconv/skeleton.c: Likewise.
36537 * include/aio.h: Likewise.
36538 * include/aliases.h: Likewise.
36539 * include/argz.h: Likewise.
36540 * include/arpa/inet.h: Likewise.
36541 * include/assert.h: Likewise.
36542 * include/dirent.h: Likewise.
36543 * include/dlfcn.h: Likewise.
36544 * include/execinfo.h: Likewise.
36545 * include/fcntl.h: Likewise.
36546 * include/fenv.h: Likewise.
36547 * include/glob.h: Likewise.
36548 * include/grp.h: Likewise.
36549 * include/libintl.h: Likewise.
36550 * include/mntent.h: Likewise.
36551 * include/netdb.h: Likewise.
36552 * include/pwd.h: Likewise.
36553 * include/rpc/netdb.h: Likewise.
36554 * include/sched.h: Likewise.
36555 * include/search.h: Likewise.
36556 * include/shadow.h: Likewise.
36557 * include/signal.h: Likewise.
36558 * include/stdio.h: Likewise.
36559 * include/stdlib.h: Likewise.
36560 * include/string.h: Likewise.
36561 * include/sys/socket.h: Likewise.
36562 * include/sys/stat.h: Likewise.
36563 * include/sys/statfs.h: Likewise.
36564 * include/sys/statvfs.h: Likewise.
36565 * include/sys/syslog.h: Likewise.
36566 * include/sys/time.h: Likewise.
36567 * include/sys/uio.h: Likewise.
36568 * include/time.h: Likewise.
36569 * include/unistd.h: Likewise.
36570 * include/utmp.h: Likewise.
36571 * include/wchar.h: Likewise.
36572 * include/wctype.h: Likewise.
36573 * inet/aliases.h: Likewise.
36574 * inet/arpa/inet.h: Likewise.
36575 * inet/netinet/ether.h: Likewise.
36576 * inet/netinet/in.h: Likewise.
36577 * intl/libintl.h: Likewise.
36578 * io/bits/fcntl2.h: Likewise.
36579 * io/fcntl.h: Likewise.
36580 * io/ftw.h: Likewise.
36581 * io/sys/poll.h: Likewise.
36582 * io/sys/stat.h: Likewise.
36583 * io/sys/statfs.h: Likewise.
36584 * io/sys/statvfs.h: Likewise.
36585 * io/utime.h: Likewise.
36586 * libio/bits/stdio.h: Likewise.
36587 * libio/bits/stdio2.h: Likewise.
36588 * libio/libio.h: Likewise.
36589 * libio/libioP.h: Likewise.
36590 * libio/stdio.h: Likewise.
36591 * locale/lc-ctype.c: Likewise.
36592 * locale/locale.h: Likewise.
36593 * login/utmp.h: Likewise.
36594 * malloc/arena.c: Likewise.
36595 * malloc/malloc.c: Likewise.
36596 * malloc/malloc.h: Likewise.
36597 * malloc/mcheck.c: Likewise.
36598 * malloc/mtrace.c: Likewise.
36599 * math/bits/mathcalls.h: Likewise.
36600 * math/fenv.h: Likewise.
36601 * math/math_private.h: Likewise.
36602 * misc/bits/error.h: Likewise.
36603 * misc/bits/syslog.h: Likewise.
36604 * misc/err.h: Likewise.
36605 * misc/error.h: Likewise.
36606 * misc/fstab.h: Likewise.
36607 * misc/mntent.h: Likewise.
36608 * misc/regexp.h: Likewise.
36609 * misc/search.h: Likewise.
36610 * misc/sgtty.h: Likewise.
36611 * misc/sys/mman.h: Likewise.
36612 * misc/sys/syslog.h: Likewise.
36613 * misc/sys/uio.h: Likewise.
36614 * misc/sys/xattr.h: Likewise.
36615 * misc/ttyent.h: Likewise.
36616 * nis/rpcsvc/ypclnt.h: Likewise.
36617 * nss/nss.h: Likewise.
36618 * posix/bits/unistd.h: Likewise.
36619 * posix/fnmatch.h: Likewise.
36620 * posix/glob.h: Likewise.
36621 * posix/sched.h: Likewise.
36622 * posix/spawn.h: Likewise.
36623 * posix/sys/wait.h: Likewise.
36624 * posix/unistd.h: Likewise.
36625 * posix/wordexp.h: Likewise.
36626 * pwd/pwd.h: Likewise.
36627 * resolv/netdb.h: Likewise.
36628 * resource/sys/resource.h: Likewise.
36629 * rt/aio.h: Likewise.
36630 * rt/bits/mqueue2.h: Likewise.
36631 * rt/mqueue.h: Likewise.
36632 * shadow/shadow.h: Likewise.
36633 * signal/signal.h: Likewise.
36634 * socket/send.c: Likewise.
36635 * socket/sendto.c: Likewise.
36636 * socket/sys/socket.h: Likewise.
36637 * stdio-common/printf.h: Likewise.
36638 * stdlib/bits/stdlib.h: Likewise.
36639 * stdlib/fmtmsg.h: Likewise.
36640 * stdlib/monetary.h: Likewise.
36641 * stdlib/stdlib.h: Likewise.
36642 * stdlib/ucontext.h: Likewise.
36643 * streams/stropts.h: Likewise.
36644 * string/argz.h: Likewise.
36645 * string/bits/string2.h: Likewise.
36646 * string/string.h: Likewise.
36647 * string/strings.h: Likewise.
36648 * sunrpc/rpc/auth.h: Likewise.
36649 * sunrpc/rpc/auth_des.h: Likewise.
36650 * sunrpc/rpc/clnt.h: Likewise.
36651 * sunrpc/rpc/netdb.h: Likewise.
36652 * sunrpc/rpc/pmap_clnt.h: Likewise.
36653 * sunrpc/rpc/xdr.h: Likewise.
36654 * sysdeps/generic/inttypes.h: Likewise.
36655 * sysdeps/generic/net/if.h: Likewise.
36656 * sysdeps/generic/sys/swap.h: Likewise.
36657 * sysdeps/gnu/net/if.h: Likewise.
36658 * sysdeps/gnu/utmpx.h: Likewise.
36659 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36660 * sysdeps/i386/i486/bits/string.h: Likewise.
36661 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36662 * sysdeps/s390/bits/string.h: Likewise.
36663 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36664 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36665 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36666 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36667 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36668 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36669 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36670 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36671 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36672 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36673 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36674 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36675 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36676 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36677 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36678 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36679 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36681 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36682 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36683 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36684 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36685 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36686 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36687 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36688 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36689 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36690 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36691 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36692 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36693 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36694 * sysvipc/sys/ipc.h: Likewise.
36695 * sysvipc/sys/msg.h: Likewise.
36696 * sysvipc/sys/sem.h: Likewise.
36697 * sysvipc/sys/shm.h: Likewise.
36698 * termios/termios.h: Likewise.
36699 * time/sys/time.h: Likewise.
36700 * time/time.h: Likewise.
36701 * wcsmbs/bits/wchar2.h: Likewise.
36702 * wcsmbs/uchar.h: Likewise.
36703 * wcsmbs/wchar.h: Likewise.
36704 * wctype/wctype.h: Likewise.
36705
36706 [BZ #13551]
36707 * Makeconfig: Remove all but ELF support including AIX support.
36708 * Makerules: Likewise.
36709 * config.h.in: Likewise.
36710 * config.make.in: Likewise.
36711 * configure: Likewise.
36712 * configure.in: Likewise.
36713 * csu/Makefile: Likewise.
36714 * csu/version.c: Likewise.
36715 * debug/Makefile: Likewise.
36716 * dlfcn/Makefile: Likewise.
36717 * elf/Makefile: Likewise.
36718 * extra-lib.mk: Likewise.
36719 * iconv/Makefile: Likewise.
36720 * include/libc-symbols.h: Likewise.
36721 * include/shlib-compat.h: Likewise.
36722 * resolv/Makefile: Likewise.
36723 * resolv/res_libc.c: Likewise.
36724 * rt/Makefile: Likewise.
36725 * sysdeps/i386/asm-syntax.h: Likewise.
36726 * sysdeps/i386/sysdep.h: Likewise.
36727 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36728 * sysdeps/mach/sysdep.h: Likewise.
36729 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36730 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36731 * sysdeps/s390/asm-syntax.h: Likewise.
36732 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36733 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36734 * sysdeps/sh/sysdep.h: Likewise.
36735 * sysdeps/unix/sparc/sysdep.h: Likewise.
36736 * sysdeps/wordsize-32/divdi3.c: Likewise.
36737 * sysdeps/x86_64/sysdep.h: Likewise.
36738
36739 * argp/Versions: Remove _argp_unlock_xxx.
36740
36741 [BZ #13559]
36742 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36743 * abilist/libBrokenLocale.abilist: Likewise.
36744 * abilist/libanl.abilist: Likewise.
36745 * abilist/libc.abilist: Likewise.
36746 * abilist/libcrypt.abilist: Likewise.
36747 * abilist/libdl.abilist: Likewise.
36748 * abilist/libm.abilist: Likewise.
36749 * abilist/libnsl.abilist: Likewise.
36750 * abilist/libpthread.abilist: Likewise.
36751 * abilist/libresolv.abilist: Likewise.
36752 * abilist/librt.abilist: Likewise.
36753 * abilist/libthread_db.abilist: Likewise.
36754 * abilist/libutil.abilist: Likewise.
36755 * abilist/libnss_db.abilist: New file.
36756
36757 * scripts/abilist.awk: Add support for indirect functions.
36758
36759 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36760
36761 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36762
36763 * shlib-versions: Remove entries for ports architectures.
36764
36765 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36766 files in ports.
36767 * elf/stackguard-macros.h: Remove support for IA-64.
36768 * elf/tst-auditmod1.c: Likewise.
36769 * sysdeps/generic/ldsodefs.h: Likewise.
36770
36771 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36772 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36773 configure files.
36774
36775 [BZ #13552]
36776 * configure.in: Remove --enable-omitfp support.
36777 * FAQ.in: Adjust.
36778 * config.make.in: Likewise.
36779 * Makeconfig: Likewise.
36780 * manual/install.texi: Likewise.
36781
36782 In case anyone cares, the IA-64 architecture could move to ports.
36783 * sysdeps/ia64/*: Removed.
36784 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36785 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36786
36787 [BZ #13555]
36788 * configure.in: Remove entries for unsupported architectures.
36789
36790 [BZ #13533]
36791 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36792 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36793 routines.
36794 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36795 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36796 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36797 fall back to using wcrtomb.
36798 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36799 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36800 renaming.
36801 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36802 * wcsmbs/tst-c16c32-1.c: New file.
36803
36804 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36805 local variable.
36806
36807 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36808
36809 * elf/tst-unique3.cc: Add explicit declaration of gets.
36810 * elf/tst-unique3lib.cc: Likewise.
36811 * elf/tst-unique3lib2.cc: Likewise.
36812 * elf/tst-unique4.cc: Likewise.
36813
36814 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36815
36816 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36817
36818 [BZ #13566]
36819 * assert/assert.h (static_assert): Don't define for C++.
36820 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36821 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36822
36823 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36824
36825 * iconv/loop.c (single loop): Fix assertion in storing of
36826 remaining bytes.
36827
36828 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36829
36830 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36831
36832 * posix/getconf.c: Update copyright year.
36833 * nss/getent.c: Likewise.
36834 * nss/makedb.c: Likewise.
36835 * iconv/iconvconfig.c: Likewise.
36836 * iconv/iconv_prog.c: Likewise.
36837 * elf/ldconfig.c: Likewise.
36838 * elf/pldd.c: Likewise.
36839 * elf/sotruss.ksh: Likewise.
36840 * catgets/gencat.c: Likewise.
36841 * csu/version.c: Likewise.
36842 * elf/ldd.bash.in: Likewise.
36843 * elf/sprof.c (print_version): Likewise.
36844 * locale/programs/locale.c: Likewise.
36845 * locale/programs/localedef.c: Likewise.
36846 * login/programs/pt_chown.c: Likewise.
36847 * nscd/nscd.c (print_version): Likewise.
36848 * debug/xtrace.sh: Likewise.
36849 * malloc/memusage.sh: Likewise.
36850 * malloc/mtrace.pl: Likewise.
36851 * debug/catchsegv.sh: Likewise.
36852
36853 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36854
36855 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36856 pure attribute.
36857
36858 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36859
36860 [BZ #13533]
36861 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36862 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36863 transformations.
36864 * iconv/gconv_int.h: Likewise.
36865 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36866 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36867 from libc for GLIBC_2.16.
36868 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36869 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36870 * wcsmbs/uchar.h: Really define mbstate_t.
36871 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36872 * wcsmbs/c16rtomb.c: New file.
36873 * wcsmbs/mbrtoc16.c: New file.
36874 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36875 for C/POSIX locale.
36876 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36877 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36878
36879 * wcsmbs/wchar.h: Add missing __restrict.
36880
36881 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36882
36883 [BZ #13532]
36884 * time/Makefile (routines): Add timespec_get.
36885 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36886 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36887 timespec for ISO C11.
36888 * time/timespec_get.c: New file.
36889 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36890 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36891
36892 [BZ #13531]
36893 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36894 * stdlib/stdlib.h: Declare aligned_alloc.
36895 * Versions.def: Add GLIBC_2.16 for libc.
36896 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36897
36898 [BZ 13527]
36899 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36900 ISO C11.
36901
36902 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36903 code.
36904
36905 [BZ #13528]
36906 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36907
36908 [BZ #13529]
36909 * assert/assert.h (static_assert): Define.
36910
36911 * version.h: Update for 2.16 development version.
36912
36913 [BZ #13526]
36914 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36915 _ISOC11_SOURCE.
36916
36917 * version.h (RELEASE): Bump for 2.15 release.
36918 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36919
36920 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36921 Patch by Marek Polacek <mpolacek@redhat.com>.
36922
36923 * bits/byteswap.h: Protect long long constants with __extension__.
36924 * sysdeps/i386/bits/byteswap.h: Likewise.
36925 * sysdeps/ia64/bits/byteswap.h: Likewise.
36926 * sysdeps/s390/bits/byteswap.h: Likewise.
36927 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36928
36929 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36930
36931 [BZ #13540]
36932 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36933 destination buffer.
36934 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36935
36936 2011-12-23 Marek Polacek <polacek@redhat.com>
36937
36938 * elf/dl-addr.c (determine_info): Add inline keyword.
36939 * elf/tst-auditmod4b.c (check_avx): Likewise.
36940 * elf/tst-auditmod6b.c (check_avx): Likewise.
36941 * elf/tst-auditmod6c.c (check_avx): Likewise.
36942 * elf/tst-auditmod7b.c (check_avx): Likewise.
36943
36944 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36945
36946 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36947 !__SSE_MATH__.
36948
36949 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36950
36951 [BZ #13540]
36952 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36953 processing for last bytes.
36954
36955 2011-08-06 Bruno Haible <bruno@clisp.org>
36956
36957 [BZ #13061]
36958 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36959 U+0385, not to U+1FEE.
36960
36961 [BZ #13062]
36962 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36963 entry for U+00A5 U+0301.
36964
36965 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36966
36967 [BZ #13166]
36968 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36969 buffer for the output is too small.
36970
36971 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36972 optimization.
36973
36974 [BZ #13185]
36975 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36976 SSE flags if possible.
36977
36978 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36979
36980 [BZ #13540]
36981 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36982 processing for last bytes.
36983
36984 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36985
36986 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36987 (syscall-list-default-options, syscall-list-default-condition)
36988 (syscall-list-includes): Define.
36989 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36990 list of ABIs and options and #if conditions for each ABI. Do not
36991 handle common syscalls between ABIs specially.
36992 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36993 Remove.
36994 (syscall-list-variants, syscall-list-32bit-options)
36995 (syscall-list-32bit-condition, syscall-list-64bit-options)
36996 (syscall-list-64bit-condition): Define.
36997 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36998 (syscall-list-variants, syscall-list-32bit-options)
36999 (syscall-list-32bit-condition, syscall-list-64bit-options)
37000 (syscall-list-64bit-condition): Define.
37001 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37002 Remove.
37003 (syscall-list-variants, syscall-list-32bit-options)
37004 (syscall-list-32bit-condition, syscall-list-64bit-options)
37005 (syscall-list-64bit-condition): Define.
37006 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37007 Remove.
37008 (syscall-list-variants, syscall-list-32bit-options)
37009 (syscall-list-32bit-condition, syscall-list-64bit-options)
37010 (syscall-list-64bit-condition): Define.
37011
37012 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37013
37014 * locale/iso-639.def: Add brx entry.
37015
37016 [BZ #13328]
37017 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37018 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37019
37020 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37021 __feraiseexcept_renamed.
37022
37023 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37024
37025 [BZ #13538]
37026 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37027 EPOLLET with unsigned values.
37028 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37029 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37030
37031 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37032 to large cancellation.
37033 * math/s_cacoshf.c: Likewise.
37034 * math/s_cacoshl.c: Likewise.
37035
37036 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37037
37038 [BZ #13305]
37039 [BZ #12786]
37040 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37041 * math/s_cacoshf.c: Likewise.
37042 * math/s_cacoshl.c: Likewise.
37043
37044 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37045
37046 [BZ #13439]
37047 * iconv/gconv.h: Define __GCONV_SWAP.
37048 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37049 * iconvdata/utf-16.c: Likewise.
37050 * iconvdata/utf-32.c: Likewise.
37051
37052 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37053
37054 [BZ #13524]
37055 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37056 numerator after shifting it by one limb.
37057
37058 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37059
37060 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37061 under [__USE_EXTERN_INLINES].
37062
37063 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37064
37065 [BZ #13446]
37066 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37067
37068 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37069
37070 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37071 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37072 optimized code.
37073 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37074 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37075 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37076 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37077 for strncasecmp/strncasecmp_l compilation.
37078 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37079 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37080
37081 2011-12-08 Marek Polacek <mpolacek@redhat.com>
37082
37083 [BZ #13484]
37084 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37085 of __asm__.
37086
37087 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37088
37089 [BZ #13506]
37090 * time/tzfile.c (__tzfile_read): Check values from file header.
37091
37092 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37093
37094 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37095 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37096 * powerpc/powerpc32/dl-start.S: Likewise.
37097 * powerpc/powerpc32/elf/start.S: Likewise.
37098 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37099 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37100 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37101 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37102 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37103 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37104 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37105 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37106 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37107 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37108 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37109 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37110 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37111 * powerpc/powerpc32/memset.S: Likewise.
37112 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37113 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37114 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37115 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37116 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37117 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37118 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37119 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37120 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37121 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37122 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37123 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37124 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37125
37126 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37127
37128 * math/libm-test.inc: Added more nearbyint tests.
37129 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37130 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37131 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37132 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37133
37134 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37135
37136 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37137 FD_CLOEXEC.
37138
37139 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37140
37141 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37142 Add wcscpy-ssse3 wcscpy-c.
37143 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37144 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37145 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37146 * sysdeps/x86_64/wcschr.S: New file.
37147 * sysdeps/x86_64/wcsrchr.S: New file.
37148 * string/test-strcmp.c: Remove checking of wcscmp function for
37149 wrong alignments.
37150 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37151 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37152 wcsrchr-sse2 wcsrchr-c.
37153 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37154 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37155 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37156 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37157 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37158 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37159 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37160 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37161 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37162 * wcsmbc/wcschr.c (WCSCHR): New macro.
37163
37164 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37165
37166 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37167 * wcsmbs/test-wcsrchr.c: New file.
37168 * string/test-strrchr.c: Add wcsrchr support.
37169 (WIDE): New macro.
37170 * wcsmbs/test-wcscpy.c: New file.
37171 * string/test-strcpy.c: Add wcscpy support.
37172 (WIDE): New macro.
37173
37174 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37175
37176 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37177 the inner loop.
37178
37179 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37180
37181 [BZ #13472]
37182 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37183
37184 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37185
37186 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37187 Minor optimizations.
37188
37189 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37190 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37191 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37192
37193 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37194
37195 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37196 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37197 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37198 for gcc to avoid warnings.
37199 * inet/Makefile (tests): Add tst-checks.
37200 * inet/tst-checks.c: New file.
37201
37202 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37203 warning.
37204
37205 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37206 __wmemcmp_sse2.
37207
37208 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37209 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37210
37211 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37212
37213 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37214
37215 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37216 problem.
37217
37218 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37219
37220 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37221
37222 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37223 conditional on GCC version.
37224 (__arch_compare_and_exchange_val_8_acq)
37225 (__arch_compare_and_exchange_val_16_acq)
37226 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37227 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37228 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37229
37230 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37231
37232 * sysdeps/sh/backtrace.c: New file.
37233
37234 2011-12-02 Andreas Schwab <schwab@redhat.com>
37235
37236 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37237 parenthesis.
37238
37239 2011-12-01 Andreas Schwab <schwab@redhat.com>
37240
37241 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37242 falling back to utime.
37243
37244 2011-11-30 Andreas Schwab <schwab@redhat.com>
37245
37246 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37247 expectations for float.
37248
37249 2011-11-29 Andreas Schwab <schwab@redhat.com>
37250
37251 * locale/weight.h (findidx): Add parameter len.
37252 * locale/weightwc.h (findidx): Likewise.
37253 * posix/fnmatch_loop.c (FCT): Adjust caller.
37254 * posix/regcomp.c (build_equiv_class): Likewise.
37255 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37256 * posix/regexec.c (check_node_accept_bytes): Likewise.
37257 * string/strcoll_l.c (STRCOLL): Likewise.
37258 * string/strxfrm_l.c (STRXFRM): Likewise.
37259
37260 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37261
37262 * Makefile.in: Remove CVSOPT handling.
37263 * configure.in: Remove use of AC_REVISION.
37264 * iconvdata/Makefile (distribute): No need to filter out CVS.
37265 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37266 handling.
37267
37268 2011-11-16 Andreas Schwab <schwab@redhat.com>
37269
37270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37271 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37272 [USE_AS_STRNCASECMP_L]: Likewise.
37273 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37274 NO_TLS_DIRECT_SEG_REFS.
37275 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37276 Fix argument offsets for non-PIC.
37277 [USE_AS_STRNCASECMP_L]: Likewise.
37278 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37279 NO_TLS_DIRECT_SEG_REFS.
37280
37281 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37282
37283 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37284 O_CLOEXEC.
37285 * locale/loadlocale.c (_nl_load_locale): Likewise.
37286
37287 2011-11-15 Andreas Schwab <schwab@redhat.com>
37288
37289 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37290 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37291 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37292 (SYSCALL_GETTIME): Set errno on error.
37293
37294 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37295 count references to noai6ai_cached.
37296
37297 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37298
37299 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37300
37301 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37302 FD_CLOEXEC for /proc/self/maps.
37303
37304 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37305 FD_CLOEXEC for /proc/meminfo.
37306
37307 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37308 gai.conf.
37309
37310 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37311 FD_CLOEXEC for given file.
37312
37313 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37314
37315 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37316 FD_CLOEXEC for /etc/hosts.
37317 (_gethtent): Likewise.
37318
37319 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37320
37321 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37322 cancellation and set FD_CLOEXEC for /etc/netgroup.
37323
37324 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37325 reading /etc/publickey.
37326
37327 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37328 allow cancellation when reading /etc/group.
37329
37330 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37331 cancellation.
37332 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37333
37334 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37335 when using data file.
37336
37337 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37338
37339 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37340 (write_nis_obj): Use "c" and "e" in fopen.
37341
37342 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37343
37344 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37345
37346 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37347
37348 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37349
37350 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37351 locale.alias.
37352
37353 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37354
37355 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37356
37357 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37358
37359 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37360 file parsing and set FD_CLOEXEC.
37361
37362 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37363
37364 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37365
37366 2011-11-14 Andreas Schwab <schwab@redhat.com>
37367
37368 * malloc/arena.c (arena_get2): Don't call reused_arena when
37369 _int_new_arena failed.
37370
37371 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37372
37373 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37374 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37375 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37376 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37377 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37378 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37379 to compile strcasecmp and strncasecmp.
37380 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37381 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37382
37383 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37384
37385 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37386
37387 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37388 locale-defines.sym to gen-as-const-headers.
37389 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37390 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37391 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37392 to compile strcasecmp and strncasecmp.
37393 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37394 strcasecmp_l and strncasecmp_l.
37395 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37396 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37397 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37398 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37399 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37400 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37401 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37402 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37403 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37404 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37405 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37406
37407 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37408
37409 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37410 result of SYSDEP_GETTIME_CPU to retval.
37411 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37412 parameter list to macro. Remove trailing semicolon. Adjust users.
37413
37414 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37415 variable.
37416
37417 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37418 mantissa words.
37419 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37420
37421 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37422 from unused variable.
37423
37424 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37425 DWARF definitions.
37426 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37427 for assembling.
37428
37429 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37430 over namespaces.
37431
37432 * sunrpc/rpc_prot.c (rejected): Fix case value.
37433
37434 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37435 unsigned long long int to avoid warnings in shift.
37436
37437 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37438 of use of trans.
37439 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37440 variable tmp.
37441
37442 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37443 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37444 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37445
37446 * nis/nis_table.c (nis_list): Use variable of correct type for
37447 result of __follow_path call.
37448
37449 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37450
37451 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37452 of math functions ceil, trunc, floor, round, and sqrt, when
37453 avaliable on the platform.
37454 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37455 name clash.
37456 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37457 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37458 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37459
37460 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37461
37462 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37463 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37464
37465 2011-11-11 Roland McGrath <roland@hack.frob.com>
37466
37467 * include/unistd.h: Fix __readlink return type.
37468 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37469
37470 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37471
37472 * stdlib/ucontext.h: Undo last change for makecontext.
37473
37474 2011-11-11 Andreas Schwab <schwab@redhat.com>
37475
37476 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37477
37478 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37479 * setjmp/setjmp.h: Mark functions as non-leaf.
37480 * setjmp/bits/setjmp2.h: Likewise.
37481 * stdlib/ucontext.h: Likewise.
37482
37483 2011-11-10 Andreas Schwab <schwab@redhat.com>
37484
37485 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37486 (reused_arena): Don't check arena limit.
37487 (arena_get2): Atomically check arena limit.
37488
37489 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37490
37491 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37492 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37493
37494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37495 instructions.
37496
37497 2011-11-07 Andreas Schwab <schwab@redhat.com>
37498
37499 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37500 handler when locking.
37501
37502 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37503 Fix size of allocated buffer.
37504
37505 2011-11-04 Andreas Schwab <schwab@redhat.com>
37506
37507 [BZ #10103]
37508 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37509 declarations for long double functions.
37510 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37511
37512 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37513
37514 2011-11-03 Andreas Schwab <schwab@redhat.com>
37515
37516 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37517 installed.
37518
37519 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37520 is disabled.
37521
37522 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37523
37524 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37525
37526 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37527
37528 * include/alloca.h (stackinfo_alloca_round): Define.
37529 (extend_alloca): Use it.
37530 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37531 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37532 here.
37533
37534 * scripts/check-local-headers.sh: Ignore libaudit.h.
37535
37536 * nscd/Makefile (extra-objs): Make recursively expanded.
37537
37538 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37539
37540 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37541 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37542
37543 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37544 * posix/tst-rfc3484-2.c: Likewise.
37545 * posix/tst-rfc3484-3.c: Likewise.
37546
37547 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37548 process_vm_writev.
37549 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37550 process_vm_writev.
37551 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37552 process_vm_writev from libc using GLIBC_2.15 version.
37553
37554 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37555
37556 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37557
37558 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37559 stack usage.
37560
37561 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37562
37563 [BZ #13367]
37564 * nss/getent.c (initgroups_keys): Show error message in case no group
37565 names are given.
37566
37567 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37568 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37569 __bump_nl_timestamp.
37570 * nscd/connections (nscd_init): When host database is served open
37571 netlink socket and request notification about configuration changes.
37572 (main_loop_poll): Track netlink file descriptor and bump timestamp
37573 in case data becomes available.
37574 (main_loop_epoll): Likewise.
37575 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37576 (database_pers_head): Add extra_data fileds.
37577 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37578 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37579 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37580 Adjust caller.
37581 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37582 in6ai data, call __free_in6ai.
37583 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37584 Add -DHAVE_NETLINK.
37585 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37586 interface information. Reuse previous data if netlink timestamp
37587 is not changed.
37588 (__bump_nl_timestamp): New function.
37589 (__free_in6ai): New function.
37590
37591 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37592
37593 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37594 close_not_cancel_no_status here.
37595 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37596
37597 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37598
37599 [BZ #13276]
37600 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37601 return value.
37602
37603 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37604 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37605 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37606
37607 2011-07-03 Andreas Jaeger <aj@suse.de>
37608
37609 [BZ #10709]
37610 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37611 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37612 * math/libm-test.inc (sin_test): Add test case.
37613
37614 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37615
37616 [BZ #13337]
37617 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37618 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37619
37620 * elf/chroot_canon.c (chroot_canon): Cleanups.
37621
37622 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37623
37624 [BZ #13335]
37625 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37626 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37627
37628 * string/test-strchr.c: Make usable for strchrnul testing.
37629 * string/test-strchrnul.c: New file.
37630 * string/Makefile (strop-tests): Add strchrnul.
37631
37632 * po/it.po: Update from translation team.
37633 * po/es.po: Likewise.
37634
37635 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37636
37637 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37638 the three constants needed as parameters. Drop the others.
37639 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37640 __m128i_strloadu_tolower.
37641 Create and initialize variable zero and use it in all the places
37642 where _mm_setzero_si128 was used.
37643
37644 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37645 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37646 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37647 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37648 anymore.
37649 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37650 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37651 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37652 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37653 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37654 __mpranred, __mptan.
37655 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37656 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37657 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37658 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37659 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37660 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37661 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37662 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37663 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37664
37665 2011-10-28 Andreas Schwab <schwab@redhat.com>
37666
37667 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37668 redefine if SHARED.
37669 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37670
37671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37672 wide char related routines to wcsmbs subdir.
37673
37674 2011-10-27 Andreas Schwab <schwab@redhat.com>
37675
37676 [BZ #13344]
37677 * misc/sys/cdefs.h (__THROWNL): Define.
37678 * posix/unistd.h: Use __THREADNL instead of __THREAD
37679 for memory synchronization functions.
37680
37681 2011-10-26 Roland McGrath <roland@hack.frob.com>
37682
37683 [BZ #13349]
37684 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37685 doesn't exist.
37686 * manual/stdio.texi (Obstack Streams): Node removed.
37687
37688 2011-10-26 Andreas Schwab <schwab@redhat.com>
37689
37690 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37691 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37692 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37693
37694 * math/math_private.h (math_force_eval): Allow non-addressable
37695 arguments.
37696 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37697
37698 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37699
37700 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37701 file is not needed.
37702
37703 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37704 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37706 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37707 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37708 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37709 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37710 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37711 Add AVX variants.
37712 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37713 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37714 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37715 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37716 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37717 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37718 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37719 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37720 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37721 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37722 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37723 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37724 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37725 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37726 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37727 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37728 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37729 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37730 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37731
37732 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37733 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37734
37735 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37736 place. Use VEX encoding when compiling for AVX.
37737
37738 2011-10-25 Andreas Schwab <schwab@redhat.com>
37739
37740 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37741 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37742
37743 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37744
37745 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37746
37747 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37748 useless if() expression.
37749 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37750 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37751 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37752 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37753 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37754 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37755 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37756 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37757 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37758 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37759 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37760 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37761 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37762 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37763 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37764 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37765 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37766 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37767 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37768
37769 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37770
37771 2011-10-25 Andreas Schwab <schwab@redhat.com>
37772
37773 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37774 condition.
37775 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37776
37777 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37778
37779 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37780 .text section. Avoid duplicate constants.
37781 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37783 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37789 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37790 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37791 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37792 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37793 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37794 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37795 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37796 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37797 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37798 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37799 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37800 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37801 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37802 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37803 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37804 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37805 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37806 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37807 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37808 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37809 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37810 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37811 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37812 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37813 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37814 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37815 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37816 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37817 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37818 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37819 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37820 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37821 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37822 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37823 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37824 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37825 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37826
37827 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37828
37829 * sysdeps/x86_64/dla.h: Move to ...
37830 * sysdeps/x86_64/fpu/dla.h: ...here.
37831 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37832 situations. Use __builtin_fma only for gcc 4.6 and up.
37833
37834 * config.make.in: Add have-mfma4 entry.
37835 * configure.in: Substitute libc_cv_cc_fma4.
37836 * math/Makefile (dbl-only-routines): Add sincostab.
37837 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37838 Use __sincostab not sincos.
37839 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37840 name is a macro.
37841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37844 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37845 using __copysign.
37846 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37847 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37848 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37849 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37850 and __inv.
37851 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37852 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37853 __copysign.
37854 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37855 define aliases when function name is a macro.
37856 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37857 sysdeps/ieee754/dbl-64/sincos.tbl.
37858 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37859 fma4-enabled routines.
37860 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37861 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37862 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37863 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37864 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37865 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37866 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37867 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37869 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37870 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37871 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37872 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37873 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37874 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37875 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37876 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37877 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37878 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37879 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37880 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37881 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37882 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37883 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37884 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37885 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37886 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37887 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37888 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37889 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37890
37891 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37892 rename.
37893 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37894 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37899 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37900 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37901
37902 2011-10-24 Andreas Schwab <schwab@redhat.com>
37903
37904 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37905
37906 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37907
37908 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37909
37910 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37911 prediction.
37912 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37913
37914 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37915 Remove unused variable magic_bits.
37916 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37917
37918 * string/strnlen.c: Define and use STRNLEN macro.
37919 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37920 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37921 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37922 * wcsmbs/wcslen.c: Define and use WCSLEN.
37923 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37924 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37925 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37926 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37927 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37928 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37929 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37930
37931 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37932
37933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37934 strnlen-sse2-no-bsf.
37935 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37936 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37937 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37938 Add strnlen support.
37939 (USE_AS_STRNLEN): New macro.
37940 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37941 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37942 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37943 * sysdeps/x86_64/wcslen.S: New file.
37944
37945 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37946
37947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37948 XMM-moves are used for copying on small sizes.
37949
37950 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37951
37952 * wcsmbs/Makefile (strop-tests): Add wcschr.
37953 * wcsmbs/test-wcschr.c: New file.
37954 * string/test-strchr.c: Update.
37955 Add wcschr support.
37956 (WIDE): New macro.
37957
37958 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37959
37960 * wcsmbs/Makefile (strop-tests): Add wcslen.
37961 * wcsmbs/test-wcslen.c: New file.
37962 * string/test-strlen.c: Update.
37963 Add wcslen support.
37964 (WIDE): New macro.
37965
37966 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37967
37968 * po/it.po: Update from translation team.
37969
37970 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37971
37972 * sysdeps/x86_64/wcscmp.S: Update.
37973 Fix wrong comparison semantics.
37974 wcscmp shall use signed comparison not unsigned.
37975 Don't use substraction to avoid overflow bug.
37976 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37977 * wcsmbc/wcscmp.c: Likewise.
37978 * string/test-strcmp.c: Likewise.
37979 Add new tests to check cases with negative values.
37980
37981 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37982
37983 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37984 * sysdeps/x86_64/dla.h: ...here. New file.
37985 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37990 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37992 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37993 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37994
37995 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37996
37997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37998 __ynl_finite aliases.
37999
38000 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38001
38002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38003
38004 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38005 define DLA_FMA.
38006 [DLA_FMA] (EMULV): Use DLA_FMA.
38007 [DLA_FMA] (MUL12): Use EMULV.
38008 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38009 that are not needed.
38010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38017
38018 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38019
38020 * math/s_nan.c: Undef __nan.
38021 * math/s_nanf.c: Undef __nanf.
38022 * math/s_nanl.c: Undef __nanl.
38023 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38024 "math_private.h".
38025
38026 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38027
38028 * math/s_catan.c: Add branch predictions.
38029 * math/s_catanf.c: Likewise.
38030 * math/s_catanh.c: Likewise.
38031 * math/s_catanhf.c: Likewise.
38032 * math/s_catanhl.c: Likewise.
38033 * math/s_catanl.c: Likewise.
38034 * math/s_cexp.c: Likewise.
38035 * math/s_cexpf.c: Likewise.
38036 * math/s_cexpl.c: Likewise.
38037 * math/s_clog.c: Likewise.
38038 * math/s_clog10.c: Likewise.
38039 * math/s_clog10f.c: Likewise.
38040 * math/s_clog10l.c: Likewise.
38041 * math/s_clogf.c: Likewise.
38042 * math/s_clogl.c: Likewise.
38043 * math/s_csqrt.c: Likewise.
38044 * math/s_csqrtf.c: Likewise.
38045 * math/s_csqrtl.c: Likewise.
38046 * math/s_ctanf.c: Likewise.
38047 * math/s_ctanh.c: Likewise.
38048 * math/s_ctanhf.c: Likewise.
38049 * math/s_ctanhl.c: Likewise.
38050 * math/s_ctanl.c: Likewise.
38051
38052 * math/math_private.h: Define __nan, __nanf, __nanl.
38053 * math/s_cacosh.c: Include <math_private.h>.
38054 * math/s_cacoshl.c: Likewise.
38055 * math/s_casinh.c: Likewise.
38056 * math/s_casinhf.c: Likewise.
38057 * math/s_casinhl.c: Likewise.
38058 * math/s_ccos.c: Rely entire on ccosh.
38059 * math/s_ccosf.c: Rely entire on ccoshf.
38060 * math/s_ccosl.c: Rely entirely on ccoshl.
38061 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38062 Remove tests for FE_INVALID.
38063 * math/s_ccoshf.c: Likewise.
38064 * math/s_ccoshl.c: Likewise.
38065 * math/s_csin.c: Likewise.
38066 * math/s_csinf.c: Likewise.
38067 * math/s_csinh.c Likewise.
38068 * math/s_csinhf.c: Likewise.
38069 * math/s_csinhl.c: Likewise.
38070 * math/s_csinl.c: Likewise.
38071 * math/s_ctan.c: Likewise.
38072 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38073 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38074 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38075
38076 2011-10-21 Ulrich Drepper <drepper@gmail.com>
38077
38078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38079 compilation problems.
38080
38081 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38082 __builtin_expect.
38083
38084 2011-10-20 Ulrich Drepper <drepper@gmail.com>
38085
38086 * sysdeps/i386/configure.in: Test for -mfma4 option.
38087 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38088 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38089 COMMON_CPUID_INDEX_80000001.
38090 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38091 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38092 use it if FMA3 is not supported.
38093 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38094
38095 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38096 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38097
38098 2011-10-20 Andreas Schwab <schwab@redhat.com>
38099
38100 [BZ #12892]
38101 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38102 it would create a cycle with a link time dependency.
38103
38104 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38105
38106 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38107 instruction.
38108 * string/Makefile (strop-tests): Add rawmemchr.
38109 * string/test-rawmemchr.c: New file.
38110
38111 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38112 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38113 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38114 when compiling str{,n}casecmp and when AVX is available. Hook up
38115 new optimized code in initializers.
38116
38117 2011-10-19 Andreas Schwab <schwab@redhat.com>
38118
38119 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38120 __feraiseexcept instead of feraiseexcept.
38121
38122 2011-10-18 Ulrich Drepper <drepper@gmail.com>
38123
38124 * math/math_private.h: Define defaults for libc_fetestexcept and
38125 libc_feupdateenv.
38126 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38127 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38128 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38129 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38130 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38131 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38132 libc_fetestexcept and libc_feupdateenv.
38133
38134 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38135 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38136 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38137 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38138 libc_feholdexcept_setround.
38139
38140 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38141 Add s_nearbyint-c and s_nearbyintf-c.
38142 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38143 nearbyintf inlines.
38144 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38145 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38146 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38147 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38148
38149 * math/math_private.h: Define defaults for libc_fegetround,
38150 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38151 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38152 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38153 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38154 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38155 standard functions.
38156 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38157 Remove comments and hacks for old compiler versions.
38158 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38159 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38160 libc_feholdexceptl.
38161
38162 2011-10-18 Andreas Schwab <schwab@redhat.com>
38163
38164 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38165 (__feraiseexcept_renamed): Add __NTH.
38166 (feraiseexcept): Add __NTH. Rename local variables to fix
38167 namespace violations.
38168
38169 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38170
38171 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38172
38173 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38174
38175 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38176 recently added interfaces.
38177 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38178
38179 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38180 about macro parameter expansion.
38181
38182 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38183 __NO_MATH_INLINES is defined. Cleanups.
38184
38185 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38186 and __floorf is target has SSE4.1.
38187 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38188 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38189 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38190 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38191
38192 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38193 name.
38194 (floorf): Likewise.
38195
38196 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38197
38198 2011-10-17 Andreas Schwab <schwab@redhat.com>
38199
38200 * misc/sys/cdefs.h: Fix last change.
38201
38202 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38203 database lookup.
38204
38205 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38206
38207 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38208
38209 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38210 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38211 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38212 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38213 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38214 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38215 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38216 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38217 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38218 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38219 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38220 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38221 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38222 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38223 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38224 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38225 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38226 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38227 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38228 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38229 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38230 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38231
38232 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38233 ceil, ceilf, floor, floorf.
38234
38235 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38236 Perform IRELATIVE relocations last.
38237
38238 * elf/do-rel.h: Add another parameter nrelative, replacing the
38239 local variable with the same name. Change name of the function
38240 to end in Rel or Rela (uppercase).
38241 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38242 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38243 elf_dynamic_do_##reloc function.
38244
38245 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38246
38247 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38248 is sufficient, at least on modern CPUs.
38249
38250 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38251
38252 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38253 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38254
38255 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38256 __expl_finite.
38257 * math/bits/math-finite.h: Add entries for exp.
38258 * math/e_expl.c: Add __*_finite alias.
38259 * sysdeps/i386/fpu/e_exp.S: Likewise.
38260 * sysdeps/i386/fpu/e_expf.S: Likewise.
38261 * sysdeps/i386/fpu/e_expl.c: Likewise.
38262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38263 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38264 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38266 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38267 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38268 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38269
38270 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38271 is sufficient, at least on modern CPUs.
38272
38273 * ctype/ctype-info.c (__ctype_init): Define.
38274 * include/ctype.h (__ctype_init): Declare.
38275 (__ctype_b_loc): The variable is always initialized.
38276 (__ctype_toupper_loc): Likewise.
38277 (__ctype_tolower_loc): Likewise.
38278 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38279 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38280
38281 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38282
38283 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38284
38285 * configure.in: Also look in $cxxmachine/include for C++ system
38286 headers.
38287
38288 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38289
38290 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38291 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38292 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38293 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38294 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38295 (USE_AS_WMEMCMP): New macro.
38296 Fixing indents.
38297 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38298 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38299 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38300 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38301 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38302 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38303 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38304 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38305 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38306 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38307 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38308 (USE_AS_WMEMCMP): New macro.
38309 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38310 * sysdeps/string/test-memcmp.c: Update.
38311 Fix simple_wmemcmp.
38312 Add new tests.
38313 * wcsmbs/wmemcmp.c: Update.
38314 (WMEMCMP): New macro.
38315 Fix overflow bug.
38316
38317 2011-10-12 Andreas Jaeger <aj@suse.de>
38318
38319 [BZ #13268]
38320 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38321
38322 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38323
38324 * libio/iofwide.c (do_length): Avoid warning.
38325
38326 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38327
38328 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38329
38330 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38331
38332 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38333 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38334 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38335 * sysdeps/i386/i686/fpu/e_log.S: New file.
38336 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38337 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38338
38339 * ctype/ctype.h: Add support for inlined isXXX functions when
38340 compiling C++ code.
38341
38342 2011-10-14 Andreas Schwab <schwab@redhat.com>
38343
38344 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38345
38346 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38347
38348 2011-10-13 Roland McGrath <roland@hack.frob.com>
38349
38350 [BZ #13291]
38351 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38352
38353 2011-10-13 Andreas Schwab <schwab@redhat.com>
38354
38355 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38356 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38357 feraiseexcept.
38358
38359 * sysdeps/x86_64/memrchr.S: Check for zero size.
38360
38361 * string/stratcliff.c: Add memrchr tests.
38362
38363 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38364
38365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38366 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38367 rawmemchr-sse2 rawmemchr-sse2-bsf.
38368 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38369 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38370 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38371 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38372 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38373 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38374 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38375 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38376 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38377 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38378 * string/memrchr.c (MEMRCHR): New macro.
38379
38380 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38381
38382 Add integration with gcc's -ffinite-math-only and optimize wrapper
38383 functions in libm.
38384 * Versions.def: Define GLIBC_2.15 version for libm.
38385 * math/Makefile (headers): Add bits/math-finite.h.
38386 * math/bits/math-finite.h: New file.
38387 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38388 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38389 * math/e_acoshl.c: Add __*_finite alias.
38390 * math/e_acosl.c: Likewise.
38391 * math/e_asinl.c: Likewise.
38392 * math/e_atan2l.c: Likewise.
38393 * math/e_atanhl.c: Likewise.
38394 * math/e_coshl.c: Likewise.
38395 * math/e_exp10.c: Likewise.
38396 * math/e_exp10f.c: Likewise.
38397 * math/e_exp10l.c: Likewise.
38398 * math/e_exp2l.c: Likewise.
38399 * math/e_fmodl.c: Likewise.
38400 * math/e_gammal_r.c: Likewise.
38401 * math/e_hypotl.c: Likewise.
38402 * math/e_j0l.c: Likewise.
38403 * math/e_j1l.c: Likewise.
38404 * math/e_jnl.c: Likewise.
38405 * math/e_lgammal_r.c: Likewise.
38406 * math/e_log10l.c: Likewise.
38407 * math/e_log2l.c: Likewise.
38408 * math/e_logl.c: Likewise.
38409 * math/e_powl.c: Likewise.
38410 * math/e_sinhl.c: Likewise.
38411 * math/e_sqrtl.c: Likewise.
38412 * math/e_scalb.c: Completely rewritten and optimized.
38413 * math/e_scalbf.c: Likewise.
38414 * math/e_scalbl.c: Likewise.
38415 * math/w_acos.c: Likewise.
38416 * math/w_acosf.c: Likewise.
38417 * math/w_acosl.c: Likewise.
38418 * math/w_acosh.c: Likewise.
38419 * math/w_acoshf.c: Likewise.
38420 * math/w_acoshl.c: Likewise.
38421 * math/w_asin.c: Likewise.
38422 * math/w_asinf.c: Likewise.
38423 * math/w_asinl.c: Likewise.
38424 * math/w_atan2.c: Likewise.
38425 * math/w_atan2f.c: Likewise.
38426 * math/w_atan2l.c: Likewise.
38427 * math/w_atanh.c: Likewise.
38428 * math/w_atanhf.c: Likewise.
38429 * math/w_atanhl.c: Likewise.
38430 * math/w_exp10.c: Likewise.
38431 * math/w_exp10f.c: Likewise.
38432 * math/w_exp10l.c: Likewise.
38433 * math/w_fmod.c: Likewise.
38434 * math/w_fmodf.c: Likewise.
38435 * math/w_fmodl.c: Likewise.
38436 * math/w_j0.c: Likewise.
38437 * math/w_j0f.c: Likewise.
38438 * math/w_j0l.c: Likewise.
38439 * math/w_j1.c: Likewise.
38440 * math/w_j1f.c: Likewise.
38441 * math/w_j1l.c: Likewise.
38442 * math/w_jn.c: Likewise.
38443 * math/w_jnf.c: Likewise.
38444 * math/w_log.c: Likewise.
38445 * math/w_logf.c: Likewise.
38446 * math/w_logl.c: Likewise.
38447 * math/w_log10.c: Likewise.
38448 * math/w_log10f.c: Likewise.
38449 * math/w_log10l.c: Likewise.
38450 * math/w_log2.c: Likewise.
38451 * math/w_log2f.c: Likewise.
38452 * math/w_log2l.c: Likewise.
38453 * math/w_pow.c: Likewise.
38454 * math/w_powf.c: Likewise.
38455 * math/w_powl.c: Likewise.
38456 * math/w_remainder.c: Likewise.
38457 * math/w_remainderf.c: Likewise.
38458 * math/w_remainderl.c: Likewise.
38459 * math/w_scalb.c: Likewise.
38460 * math/w_scalbf.c: Likewise.
38461 * math/w_scalbl.c: Likewise.
38462 * math/w_sqrt.c: Likewise.
38463 * math/w_sqrtf.c: Likewise.
38464 * math/w_sqrtl.c: Likewise.
38465 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38466 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38467 used.
38468 * math/math_private.h: Declare __kernel_standard_f.
38469 * math/w_cosh.c: Remove cruft and optimize a bit.
38470 * math/w_coshf.c: Likewise.
38471 * math/w_coshl.c: Likewise.
38472 * math/w_exp2.c: Likewise.
38473 * math/w_exp2f.c: Likewise.
38474 * math/w_exp2l.c: Likewise.
38475 * math/w_hypot.c: Likewise.
38476 * math/w_hypotf.c: Likewise.
38477 * math/w_hypotl.c: Likewise.
38478 * math/w_lgamma.c: Likewise.
38479 * math/w_lgamma_r.c: Likewise.
38480 * math/w_lgammaf.c: Likewise.
38481 * math/w_lgammaf_r.c: Likewise.
38482 * math/w_lgammal.c: Likewise.
38483 * math/w_lgammal_r.c: Likewise.
38484 * math/w_sinh.c: Likewise.
38485 * math/w_sinhf.c: Likewise.
38486 * math/w_sinhl.c: Likewise.
38487 * math/w_tgamma.c: Likewise.
38488 * math/w_tgammaf.c: Likewise.
38489 * math/w_tgammal.c: Likewise.
38490 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38492 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38493 Minor optimizations. Pretty printing. Remove cruft.
38494 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38495 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38496 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38497 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38498 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38499 * sysdeps/i386/fpu/e_asin.S: Likewise.
38500 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38501 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38502 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38503 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38504 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38505 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38506 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38507 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38508 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38509 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38510 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38511 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38512 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38513 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38514 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38515 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38516 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38517 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38518 * sysdeps/i386/fpu/e_log.S: Likewise.
38519 * sysdeps/i386/fpu/e_log10.S: Likewise.
38520 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38521 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38522 * sysdeps/i386/fpu/e_log2.S: Likewise.
38523 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38524 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38525 * sysdeps/i386/fpu/e_logf.S: Likewise.
38526 * sysdeps/i386/fpu/e_logl.S: Likewise.
38527 * sysdeps/i386/fpu/e_pow.S: Likewise.
38528 * sysdeps/i386/fpu/e_powf.S: Likewise.
38529 * sysdeps/i386/fpu/e_powl.S: Likewise.
38530 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38531 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38532 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38533 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38534 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38535 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38536 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38537 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38538 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38539 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38540 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38542 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38543 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38544 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38545 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38546 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38547 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38548 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38549 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38550 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38552 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38553 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38555 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38556 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38557 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38558 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38559 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38560 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38561 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38562 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38563 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38564 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38565 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38566 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38567 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38568 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38569 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38570 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38571 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38572 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38573 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38574 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38575 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38576 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38577 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38578 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38579 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38580 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38581 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38582 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38583 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38584 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38585 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38586 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38587 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38588 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38589 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38590 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38591 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38592 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38593 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38594 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38595 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38596 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38597 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38598 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38599 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38600 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38601 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38602 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38603 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38604 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38605 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38607 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38608 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38609 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38610 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38611 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38612 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38613 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38614 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38615 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38616 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38617 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38618 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38619 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38620 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38621 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38622 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38623 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38624 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38625 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38626 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38627 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38628 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38629 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38630 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38631 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38632 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38633 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38634 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38635 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38636 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38637 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38638 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38639 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38640 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38641 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38642 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38643 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38644 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38645 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38646 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38647 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38648 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38649 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38650 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38651 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38652 (__isnanf): Likewise.
38653 (__isinf_ns): Likewise.
38654 (__isinf_nsf): Likewise.
38655 (__finite): Likewise.
38656 (__finitef): Likewise.
38657 (__ieee754_sqrt): Define as macro.
38658 (__ieee754_sqrtf): Define as macro.
38659 (__ieee754_sqrtl): Define as macro.
38660 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38661 inlined copy.
38662 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38663 __FINITE_MATH_ONLY__ consistent.
38664 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38665
38666 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38667
38668 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38669 of rawmemchr.
38670
38671 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38672
38673 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38674
38675 * po/ja.po: Update from translation team.
38676
38677 2011-10-08 Roland McGrath <roland@hack.frob.com>
38678
38679 * locale/programs/locarchive.c (prepare_address_space): New function.
38680 (create_archive, enlarge_archive, open_archive): Use it.
38681
38682 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38683 inside [SHARED], where it is used.
38684
38685 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38686
38687 * nss/getent.c (netgroup_keys): Remove unused variable.
38688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38689
38690 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38691
38692 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38693 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38695 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38696 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38697 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38698 * math/Makefile (libm-calls): Add s_isinf_ns.
38699 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38700 * math/multc3.c: Likewise.
38701 * math/s_casin.c: Likewise.
38702 * math/s_casinf.c: Likewise.
38703 * math/s_casinl.c: Likewise.
38704 * math/s_ccos.c: Likewise.
38705 * math/s_ccosf.c: Likewise.
38706 * math/s_ccosl.c: Likewise.
38707 * math/s_ctan.c: Likewise.
38708 * math/s_ctanf.c: Likewise.
38709 * math/s_ctanh.c: Likewise.
38710 * math/s_ctanhf.c: Likewise.
38711 * math/s_ctanhl.c: Likewise.
38712 * math/s_ctanl.c: Likewise.
38713 * math/w_fmod.c: Likewise.
38714 * math/w_fmodf.c: Likewise.
38715 * math/w_fmodl.c: Likewise.
38716 * math/w_remainder.c: Likewise.
38717 * math/w_remainderf.c: Likewise.
38718 * math/w_remainderl.c: Likewise.
38719 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38720 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38721 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38723 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38724 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38725 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38726 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38727
38728 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38729 of the number.
38730 * stdio-common/printf_fphex.c: Likewise.
38731 * stdio-common/printf_size.c: Likewise.
38732
38733 * math/e_exp10.c: Include math_private.h using <...> not "...".
38734 * math/e_exp10f.c: Likewise.
38735 * math/e_exp10l.c: Likewise.
38736 * math/e_exp2l.c: Likewise.
38737 * math/e_j0l.c: Likewise.
38738 * math/e_j1l.c: Likewise.
38739 * math/e_jnl.c: Likewise.
38740 * math/e_lgammal_r.c: Likewise.
38741 * math/e_rem_pio2l.c: Likewise.
38742 * math/e_scalb.c: Likewise.
38743 * math/e_scalbf.c: Likewise.
38744 * math/e_scalbl.c: Likewise.
38745 * math/k_cosl.c: Likewise.
38746 * math/k_sinl.c: Likewise.
38747 * math/k_tanl.c: Likewise.
38748 * math/s_cacoshf.c: Likewise.
38749 * math/s_catan.c: Likewise.
38750 * math/s_catanf.c: Likewise.
38751 * math/s_catanh.c: Likewise.
38752 * math/s_catanhf.c: Likewise.
38753 * math/s_catanhl.c: Likewise.
38754 * math/s_catanl.c: Likewise.
38755 * math/s_ccosh.c: Likewise.
38756 * math/s_ccoshf.c: Likewise.
38757 * math/s_ccoshl.c: Likewise.
38758 * math/s_cexp.c: Likewise.
38759 * math/s_cexpf.c: Likewise.
38760 * math/s_cexpl.c: Likewise.
38761 * math/s_clog.c: Likewise.
38762 * math/s_clog10.c: Likewise.
38763 * math/s_clog10f.c: Likewise.
38764 * math/s_clog10l.c: Likewise.
38765 * math/s_clogf.c: Likewise.
38766 * math/s_clogl.c: Likewise.
38767 * math/s_csin.c: Likewise.
38768 * math/s_csinf.c: Likewise.
38769 * math/s_csinh.c: Likewise.
38770 * math/s_csinhf.c: Likewise.
38771 * math/s_csinhl.c: Likewise.
38772 * math/s_csinl.c: Likewise.
38773 * math/s_csqrt.c: Likewise.
38774 * math/s_csqrtf.c: Likewise.
38775 * math/s_csqrtl.c: Likewise.
38776 * math/s_ctan.c: Likewise.
38777 * math/s_ctanf.c: Likewise.
38778 * math/s_ctanh.c: Likewise.
38779 * math/s_ctanhf.c: Likewise.
38780 * math/s_ctanhl.c: Likewise.
38781 * math/s_ctanl.c: Likewise.
38782 * math/s_ldexp.c: Likewise.
38783 * math/s_ldexpf.c: Likewise.
38784 * math/s_ldexpl.c: Likewise.
38785 * math/s_significand.c: Likewise.
38786 * math/s_significandf.c: Likewise.
38787 * math/s_significandl.c: Likewise.
38788 * math/w_acos.c: Likewise.
38789 * math/w_acosf.c: Likewise.
38790 * math/w_acosh.c: Likewise.
38791 * math/w_acoshf.c: Likewise.
38792 * math/w_acoshl.c: Likewise.
38793 * math/w_acosl.c: Likewise.
38794 * math/w_asin.c: Likewise.
38795 * math/w_asinf.c: Likewise.
38796 * math/w_asinl.c: Likewise.
38797 * math/w_atan2.c: Likewise.
38798 * math/w_atan2f.c: Likewise.
38799 * math/w_atan2l.c: Likewise.
38800 * math/w_atanh.c: Likewise.
38801 * math/w_atanhf.c: Likewise.
38802 * math/w_atanhl.c: Likewise.
38803 * math/w_cosh.c: Likewise.
38804 * math/w_coshf.c: Likewise.
38805 * math/w_coshl.c: Likewise.
38806 * math/w_dremf.c: Likewise.
38807 * math/w_exp10.c: Likewise.
38808 * math/w_exp10f.c: Likewise.
38809 * math/w_exp10l.c: Likewise.
38810 * math/w_exp2.c: Likewise.
38811 * math/w_exp2f.c: Likewise.
38812 * math/w_fmod.c: Likewise.
38813 * math/w_fmodf.c: Likewise.
38814 * math/w_fmodl.c: Likewise.
38815 * math/w_hypot.c: Likewise.
38816 * math/w_hypotf.c: Likewise.
38817 * math/w_hypotl.c: Likewise.
38818 * math/w_j0.c: Likewise.
38819 * math/w_j0f.c: Likewise.
38820 * math/w_j0l.c: Likewise.
38821 * math/w_j1.c: Likewise.
38822 * math/w_j1f.c: Likewise.
38823 * math/w_j1l.c: Likewise.
38824 * math/w_jn.c: Likewise.
38825 * math/w_jnf.c: Likewise.
38826 * math/w_jnl.c: Likewise.
38827 * math/w_lgamma.c: Likewise.
38828 * math/w_lgamma_r.c: Likewise.
38829 * math/w_lgammaf.c: Likewise.
38830 * math/w_lgammaf_r.c: Likewise.
38831 * math/w_lgammal.c: Likewise.
38832 * math/w_lgammal_r.c: Likewise.
38833 * math/w_log.c: Likewise.
38834 * math/w_log10.c: Likewise.
38835 * math/w_log10f.c: Likewise.
38836 * math/w_log10l.c: Likewise.
38837 * math/w_log2.c: Likewise.
38838 * math/w_log2f.c: Likewise.
38839 * math/w_log2l.c: Likewise.
38840 * math/w_logf.c: Likewise.
38841 * math/w_logl.c: Likewise.
38842 * math/w_pow.c: Likewise.
38843 * math/w_powf.c: Likewise.
38844 * math/w_powl.c: Likewise.
38845 * math/w_remainder.c: Likewise.
38846 * math/w_remainderf.c: Likewise.
38847 * math/w_remainderl.c: Likewise.
38848 * math/w_scalb.c: Likewise.
38849 * math/w_scalbf.c: Likewise.
38850 * math/w_scalbl.c: Likewise.
38851 * math/w_sinh.c: Likewise.
38852 * math/w_sinhf.c: Likewise.
38853 * math/w_sinhl.c: Likewise.
38854 * math/w_sqrt.c: Likewise.
38855 * math/w_sqrtf.c: Likewise.
38856 * math/w_sqrtl.c: Likewise.
38857 * math/w_tgamma.c: Likewise.
38858 * math/w_tgammaf.c: Likewise.
38859 * math/w_tgammal.c: Likewise.
38860
38861 * po/ja.po: Update from translation team.
38862
38863 2011-09-29 Andreas Jaeger <aj@suse.de>
38864
38865 [BZ #13179]
38866 * sunrpc/netname.c (netname2host): Fix logic.
38867
38868 [BZ #6779]
38869 [BZ #6783]
38870 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38871 correctly.
38872 * math/w_remainder.c (__remainder): Likewise.
38873 * math/w_remainderf.c (__remainderf): Likewise.
38874 * math/libm-test.inc (remainder_test): Add test cases.
38875
38876 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38877
38878 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38879 sdiv_qrnnd.
38880
38881 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38882
38883 * string/test-memcmp.c: Avoid unncessary #defines.
38884 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38885
38886 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38887
38888 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38889 Use new sse2 version for core i3 - i7 as it's faster
38890 than sse42 version.
38891 (bit_Prefer_PMINUB_for_stringop): New.
38892 * sysdeps/x86_64/rawmemchr.S: Update.
38893 Replace with faster SSE2 version.
38894 * sysdeps/x86_64/memrchr.S: New file.
38895 * sysdeps/x86_64/memchr.S: Update.
38896 Replace with faster SSE2 version.
38897
38898 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38899
38900 * elf/dl-load.c (lose): Add cast to avoid warning.
38901
38902 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38903
38904 * po/ca.po: Update from translation team.
38905
38906 * inet/getnetgrent_r.c: Hook up nscd.
38907 * nscd/Makefile (routines): Add nscd_netgroup.
38908 (nscd-modules): Add netgroupcache.
38909 (CFLAGS-netgroupcache.c): Define.
38910 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38911 (cache_search): Add const to second parameter.
38912 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38913 INNETGR.
38914 (dbs): Add netgrdb entry.
38915 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38916 (verify_persistent_db): Handle netgrdb.
38917 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38918 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38919 GETFDNETGR.
38920 (netgroup_response_header): Define.
38921 (innetgroup_response_header): Define.
38922 (datahead): Add netgroup_response_header and innetgroup_response_header
38923 elements.
38924 * nscd/nscd.conf: Add entries for netgroup cache.
38925 * nscd/nscd.h (dbtype): Add netgrdb.
38926 (_PATH_NSCD_NETGROUP_DB): Define.
38927 (netgroup_iov_disabled): Declare.
38928 (xmalloc, xcalloc, xrealloc): Move declarations here.
38929 (cache_search): Adjust prototype.
38930 Add netgroup-related prototypes.
38931 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38932 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38933 (__nscd_innetgr): Declare.
38934 * nscd/selinux.c (perms): Use access_vector_t as element type and
38935 add netgroup-related initializers.
38936 * nscd/netgroupcache.c: New file.
38937 * nscd/nscd_netgroup.c: New file.
38938 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38939 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38940 For four parameters use innetgr.
38941 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38942 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38943 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38944 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38945
38946 * nscd/connections.c (register_traced_file): Don't register file
38947 for disabled databases.
38948
38949 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38950
38951 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38952
38953 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38954 from tree and freeing node.
38955
38956 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38957
38958 * nss/nsswitch.c (__nss_database_lookup): Handle
38959 nss_parse_service_list out of memory case.
38960
38961 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38962
38963 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38964 out of memory case.
38965
38966 2011-10-04 Andreas Schwab <schwab@redhat.com>
38967
38968 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38969 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38970 pass it down.
38971 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38972 elf_machine_rela, elf_machine_lazy_rel.
38973 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38974 (ELF_DYNAMIC_DO_REL): Likewise.
38975 (ELF_DYNAMIC_DO_RELA): Likewise.
38976 (ELF_DYNAMIC_RELOCATE): Likewise.
38977 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38978 to ELF_DYNAMIC_DO_REL.
38979 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38980 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38981 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38982 elf_machine_rela.
38983 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38984 skip_ifunc, don't call ifunc function if non-zero.
38985 (elf_machine_rela): Likewise.
38986 (elf_machine_lazy_rel): Likewise.
38987 (elf_machine_lazy_rela): Likewise.
38988 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38989 (elf_machine_lazy_rel): Likewise.
38990 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38991 Likewise.
38992 (elf_machine_lazy_rel): Likewise.
38993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38994 Likewise.
38995 (elf_machine_lazy_rel): Likewise.
38996 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38997 (elf_machine_lazy_rel): Likewise.
38998 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38999 (elf_machine_lazy_rel): Likewise.
39000 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39001 (elf_machine_lazy_rel): Likewise.
39002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39003 (elf_machine_lazy_rel): Likewise.
39004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39005 (elf_machine_lazy_rel): Likewise.
39006 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39007 (elf_machine_lazy_rel): Likewise.
39008
39009 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39010
39011 * nss/nss_files/files-init.c (_nss_files_init): Use static
39012 initialization for all the *_traced_file variables.
39013
39014 2011-09-28 Andreas Schwab <schwab@redhat.com>
39015
39016 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39017
39018 2011-09-27 Roland McGrath <roland@hack.frob.com>
39019
39020 [BZ #13226]
39021 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39022
39023 2011-09-27 Andreas Schwab <schwab@redhat.com>
39024
39025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39026 Reread the line before reparsing it.
39027
39028 2011-09-26 Andreas Schwab <schwab@redhat.com>
39029
39030 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39031
39032 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39033 Maxim Kuvyrkov <maxim@codesourcery.com>
39034 Joseph Myers <joseph@codesourcery.com>
39035
39036 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39037 if needed for __stack_chk_guard.
39038
39039 2011-09-19 Roland McGrath <roland@hack.frob.com>
39040
39041 * sysdeps/posix/spawni.c (script_execute): Always define it.
39042 It will be optimized away if unused.
39043 (maybe_script_execute): New function.
39044 (__spawni): Call it.
39045
39046 * Makerules: Don't include tls.make.
39047 (config-tls): Always set to thread.
39048 * tls.make.c: File removed.
39049
39050 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39051
39052 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39053 * config.make.in (CPPFLAGS-config): New substituted variable.
39054
39055 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39056
39057 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39058
39059 [BZ #13192]
39060 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39061 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39062
39063 2011-09-15 Roland McGrath <roland@hack.frob.com>
39064
39065 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39066 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39067 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39068 (CALL_FAIL): Likewise.
39069 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39070 (CALL_FAIL): Macro removed.
39071 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39072
39073 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39074
39075 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39076 for __FINITE_MATH_ONLY__ == 1.
39077
39078 2011-09-15 Andreas Schwab <schwab@redhat.com>
39079
39080 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39081 __ieee754_sqrt instead of sqrt.
39082 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39083 __ieee754_sqrtf instead of sqrtf.
39084 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39085 __floorf instead of floorf.
39086 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39087 __floorf, __truncf instead of floorf, truncf.
39088
39089 2011-09-14 Ulrich Drepper <drepper@gmail.com>
39090
39091 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39092
39093 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39094 __extern_always_inline.
39095 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39096 32-bit.
39097
39098 2011-09-14 Andreas Schwab <schwab@redhat.com>
39099
39100 * elf/rtld.c (dl_main): Also relocate in dependency order when
39101 doing symbol dependency testing.
39102
39103 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39104
39105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39106 Always define `refsym'.
39107
39108 2011-09-13 Andreas Schwab <schwab@redhat.com>
39109
39110 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39111 (__FD_ELT): Renamed from __FDELT.
39112 * misc/bits/select2.h (__FD_ELT): Likewise.
39113 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39114 __FD_MASK instead of __FDELT, __FDMASK.
39115 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39116 Likewise.
39117 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39118 Likewise.
39119
39120 * elf/Makefile (gen-ldd): Fix pattern.
39121
39122 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39123 (init_tls): Likewise.
39124
39125 2011-09-12 Ulrich Drepper <drepper@gmail.com>
39126
39127 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39128
39129 2011-09-12 Andreas Schwab <schwab@redhat.com>
39130
39131 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39132 `struct cmsghdr *' instead of `void *'.
39133 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39134 Likewise.
39135
39136 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39137
39138 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39139 if non-absolute.
39140 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39141 ldd_rewrite_script.
39142
39143 2011-09-11 Ulrich Drepper <drepper@gmail.com>
39144
39145 * configure.in: Remove --with-tls option.
39146 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39147 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39148 out in case it is missing.
39149 * sysdeps/ia64/elf/configure.in: Likewise.
39150 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39151 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39152 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39153 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39154 * sysdeps/sh/elf/configure.in: Likewise.
39155 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39156 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39157 * sysdeps/x86_64/elf/configure.in: Likewise.
39158 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39159 * sysdeps/mach/hurd/tls.h: Likewise.
39160
39161 [BZ #13067]
39162 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39163
39164 [BZ #13090]
39165 * configure.in: Fix use of AC_INIT.
39166
39167 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39168
39169 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39170
39171 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39172 __set_errno.
39173 * malloc/hooks.c: Likewise.
39174
39175 [BZ #11929]
39176 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39177 variables statically.
39178 (narenas): Initialize.
39179 (list_lock): Initialize.
39180 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39181 initializtion of main_arena and list_lock. Small cleanups.
39182 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39183 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39184 Add initializers to main_arena and mp_.
39185 (malloc_state): Remove pagesize member. Change all users to use
39186 GLRO(dl_pagesize).
39187
39188 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39189 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39190 is always initialized.
39191
39192 * malloc/malloc.c: Removed unused configurations and dead code.
39193 * malloc/arena.c: Likewise.
39194 * malloc/hooks.c: Likewise.
39195 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39196
39197 * include/tls.h: Removed. USE___THREAD must always be defined.
39198 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39199 * elf/dl-libc.c: Likewise.
39200 * elf/dl-tsd.c: Likewise.
39201 * include/errno.h: Likewise.
39202 * include/netdb.h: Likewise.
39203 * include/resolv.h: Likewise.
39204 * inet/herrno-loc.c: Likewise.
39205 * inet/herrno.c: Likewise.
39206 * malloc/arena.c: Likewise.
39207 * malloc/hooks.c: Likewise.
39208 * malloc/malloc.c: Likewise.
39209 * resolv/res-state.c: Likewise.
39210 * resolv/res_libc.c: Likewise.
39211 * sysdeps/i386/dl-machine.h: Likewise.
39212 * sysdeps/ia64/dl-machine.h: Likewise.
39213 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39214 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39215 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39216 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39217 * sysdeps/sh/dl-machine.h: Likewise.
39218 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39219 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39220 * sysdeps/unix/i386/sysdep.S: Likewise.
39221 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39222 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39223 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39224 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39225 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39226 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39227 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39231 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39232 * sysdeps/x86_64/dl-machine.h: Likewise.
39233 * tls.make.c: Likewise.
39234
39235 * configure.in: Remove --with-__thread option. Make tests for
39236 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39237 tls_model attribute fail if no support is available. Remove
39238 USE_IN_LIBIO.
39239 * Makeconfig: Adjust for dropped configure option. All features are
39240 now mandatory.
39241 * Makerules: Likewise.
39242 * Versions.def: Likewise.
39243 * argp/argp-fmtstream.c: Likewise.
39244 * argp/argp-fmtstream.h: Likewise.
39245 * argp/argp-help.c: Likewise.
39246 * assert/assert.c: Likewise.
39247 * config.h.in: Likewise.
39248 * config.make.in: Likewise.
39249 * configure: Likewise.
39250 * configure.in: Likewise.
39251 * csu/Versions: Likewise.
39252 * csu/init.c: Likewise.
39253 * elf/tst-audit2.c: Likewise.
39254 * elf/tst-tls10.c: Likewise.
39255 * elf/tst-tls10.h: Likewise.
39256 * elf/tst-tls11.c: Likewise.
39257 * elf/tst-tls12.c: Likewise.
39258 * elf/tst-tls14.c: Likewise.
39259 * elf/tst-tlsmod11.c: Likewise.
39260 * elf/tst-tlsmod12.c: Likewise.
39261 * elf/tst-tlsmod13.c: Likewise.
39262 * elf/tst-tlsmod13a.c: Likewise.
39263 * elf/tst-tlsmod14a.c: Likewise.
39264 * elf/tst-tlsmod15b.c: Likewise.
39265 * elf/tst-tlsmod16a.c: Likewise.
39266 * elf/tst-tlsmod16b.c: Likewise.
39267 * elf/tst-tlsmod7.c: Likewise.
39268 * elf/tst-tlsmod8.c: Likewise.
39269 * elf/tst-tlsmod9.c: Likewise.
39270 * gmon/gmon.c: Likewise.
39271 * grp/fgetgrent_r.c: Likewise.
39272 * grp/putgrent.c: Likewise.
39273 * hurd/fopenport.c: Likewise.
39274 * include/libc-symbols.h: Likewise.
39275 * include/tls.h: Likewise.
39276 * intl/gettextP.h: Likewise.
39277 * intl/loadinfo.h: Likewise.
39278 * locale/global-locale.c: Likewise.
39279 * locale/localeinfo.h: Likewise.
39280 * mach/devstream.c: Likewise.
39281 * malloc/arena.c: Likewise.
39282 * malloc/set-freeres.c: Likewise.
39283 * misc/err.c: Likewise.
39284 * misc/getttyent.c: Likewise.
39285 * misc/mntent_r.c: Likewise.
39286 * posix/getopt.c: Likewise.
39287 * posix/wordexp.c: Likewise.
39288 * pwd/fgetpwent_r.c: Likewise.
39289 * resolv/Versions: Likewise.
39290 * resolv/res_hconf.c: Likewise.
39291 * shadow/fgetspent_r.c: Likewise.
39292 * shadow/putspent.c: Likewise.
39293 * stdio-common/printf_fphex.c: Likewise.
39294 * stdio-common/tmpfile.c: Likewise.
39295 * stdlib/abort.c: Likewise.
39296 * stdlib/fmtmsg.c: Likewise.
39297 * sunrpc/auth_unix.c: Likewise.
39298 * sunrpc/clnt_perr.c: Likewise.
39299 * sunrpc/clnt_tcp.c: Likewise.
39300 * sunrpc/clnt_udp.c: Likewise.
39301 * sunrpc/clnt_unix.c: Likewise.
39302 * sunrpc/openchild.c: Likewise.
39303 * sunrpc/svc_simple.c: Likewise.
39304 * sunrpc/svc_tcp.c: Likewise.
39305 * sunrpc/svc_udp.c: Likewise.
39306 * sunrpc/svc_unix.c: Likewise.
39307 * sunrpc/xdr.c: Likewise.
39308 * sunrpc/xdr_array.c: Likewise.
39309 * sunrpc/xdr_rec.c: Likewise.
39310 * sunrpc/xdr_ref.c: Likewise.
39311 * sunrpc/xdr_stdio.c: Likewise.
39312
39313 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39314
39315 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39316
39317 2011-07-03 Andreas Jaeger <aj@suse.de>
39318
39319 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39320 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39321 regenerate with gen-libm-tests.pl.
39322
39323 2010-05-12 Petr Baudis <pasky@suse.cz>
39324
39325 [BZ #11589]
39326 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39327 around j0() zero points by switching to j1().
39328 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39331 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39332
39333 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39334
39335 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39336 instead of 0.
39337 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39338 instead of 0.
39339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39340 Patch in part by Pavel Roskin <proski@gnu.org>.
39341
39342 [BZ #13138]
39343 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39344 realloc.
39345 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39346 Free memory block if necessary.
39347
39348 [BZ #12847]
39349 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39350 be NULL. Don't lock in this case.
39351
39352 2011-09-09 Roland McGrath <roland@hack.frob.com>
39353
39354 * elf/elf.h (ELFOSABI_GNU): New macro.
39355 (ELFOSABI_LINUX): Define to that.
39356
39357 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39358
39359 * string/strncat.c (strncat): Undef the symbol in case it has been
39360 defined in bits/string.h.
39361
39362 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39363
39364 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39365
39366 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39367 link map.
39368
39369 2011-08-17 Andreas Jaeger <aj@suse.de>
39370
39371 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39372
39373 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39374 Ian Lance Taylor <iant@google.com>
39375
39376 * math/libm-test.inc (lround_test): New testcase.
39377 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39378
39379 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39380
39381 * Makefile: Remove support for automatic cvs check-ins.
39382 * Makerules: Likewise.
39383 * config.make.in: Likewise.
39384 * configure.in: Likewise.
39385 * intl/Makefile: Likewise.
39386 * locale/Makefile: Likewise.
39387 * po/Makefile: Likewise.
39388 * posix/Makefile: Likewise.
39389 * sysdeps/gnu/Makefile: Likewise.
39390 * sysdeps/mach/hurd/Makefile: Likewise.
39391 * sysdeps/sparc/sparc32/Makefile: Likewise.
39392
39393 [BZ #13118]
39394 * posix/Makefile (bug-regex32-ENV): Define.
39395 Patch by John Stanley <jpsinthemix@verizon.net>.
39396
39397 * misc/Makefile (headers): Add bits/select2.h.
39398 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39399 * misc/bits/select2.h: New file.
39400 * include/bits/select2.h: New file.
39401 * debug/Makefile (routines): Add fdelt_chk.
39402 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39403 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39404 FD_ISSET.
39405 * debug/fdelt_chk.c: New file.
39406
39407 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39408 * wcsmbs/test-wmemcmp.c: Likewise.
39409 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39410 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39411
39412 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39413
39414 * string/Makefile (strop-tests): Add memcmp.
39415 * string/test-wmemcmp.c: New file.
39416 * string/test-memcmp.c: Add wmemcmp support.
39417
39418 2011-09-08 Roland McGrath <roland@hack.frob.com>
39419
39420 [BZ #13153]
39421 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39422 2011-07-19 change.
39423
39424 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39425 garbage value in a __mach_port_mod_refs call in the cases of the
39426 task-self and thread-self ports.
39427
39428 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39429
39430 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39431
39432 2011-09-08 Andreas Schwab <schwab@redhat.com>
39433
39434 * elf/dl-load.c (lose): Check for non-null L.
39435
39436 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39437
39438 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39439
39440 * elf/dl-libc.c (dlerror_run): Pass back error code from
39441 dl_catch_error.
39442
39443 [BZ #13123]
39444 * elf/dl-load.c (lose): Free l_origin if it is valid.
39445
39446 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39447 names.
39448 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39449 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39450 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39451 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39452 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39453 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39454
39455 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39456
39457 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39458 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39459 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39460 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39461 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39462 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39463 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39464 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39465 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39466 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39467
39468 2011-08-15 Alan Modra <amodra@gmail.com>
39469
39470 [BZ #13092]
39471 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39472 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39473 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39474 ppc_mcount to static-only-routines.
39475 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39476 __mcount_internal.
39477 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39478 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39479
39480 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39481
39482 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39483 for finite and infinity parameters.
39484
39485 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39486
39487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39488 and add nop instructions for throughput optimization.
39489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39490
39491 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39492
39493 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39494 aligned copy for power7 with vector-scalar instructions.
39495 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39496
39497 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39498
39499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39500 AVX check.
39501
39502 2011-09-07 Andreas Schwab <schwab@redhat.com>
39503
39504 [BZ #13144]
39505 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39506 last change.
39507
39508 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39509
39510 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39511 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39512 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39513 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39514 clock_gettime.
39515
39516 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39517
39518 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39519 Forgot to demangle the pointer.
39520
39521 * sysdeps/i386/sysdep.h: Define atom_text_section.
39522 * sysdeps/x86_64/sysdep.h: Likewise.
39523 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39524 section with atom_text_section.
39525 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39526 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39527 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39528 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39529 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39530
39531 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39532 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39533 already be defined. Change to take two parameters and don't assign
39534 result to variable. Adjust all users.
39535 Define INTERNAL_GETTIME if not already defined.
39536 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39537 call.
39538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39539 HAVE_CLOCK_GETTIME_VSYSCALL.
39540 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39541
39542 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39543 gettimeofday vsyscall, just use time.
39544
39545 2011-09-06 Andreas Schwab <schwab@redhat.com>
39546
39547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39548 <errno.h>.
39549
39550 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39551
39552 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39553 syscall on x86-64.
39554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39555 syscall.
39556 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39557 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39558 syscall if possible.
39559
39560 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39561
39562 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39563 e_ident. Don't pass to find_mapsXX.
39564 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39565
39566 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39567
39568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39569 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39570 * sysdeps/x86_64/multiarch/strchr.S: Update.
39571 Check bit_slow_BSF bit.
39572 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39573 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39574 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39575
39576 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39577
39578 [BZ #13134]
39579 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39580 before glibc 2.15.
39581 (tryshell): Define.
39582 (__spawni): Change last parameter to be flag. Test
39583 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39584 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39585 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39586 * posix/spawni.c: Likewise.
39587 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39588 * posix/spawnp.c: Likewise. Change normal version to use
39589 SPAWN_XFLAGS_USE_PATH.
39590 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39591 SPAWN_XFLAGS_TRY_SHELL.
39592
39593 [BZ #13150]
39594 * posix/glob.h: Remove gcc 1.x support.
39595
39596 [BZ #13068]
39597 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39598
39599 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39600
39601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39602 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39603 strrchr-sse2-bsf
39604 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39605 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39606 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39607 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39608 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39609 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39610
39611 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39612
39613 * sysdeps/x86_64/wcscmp.S: New file.
39614
39615 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39616 wcscmp-c wcscmp-sse2
39617 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39618 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39619 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39620 * wcsmbs/wcscmp.c: Allow renaming.
39621
39622 2011-09-05 David S. Miller <davem@davemloft.net>
39623
39624 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39625 stack slot, rather than the struct return pointer slot.
39626 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39627 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39629 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39630
39631 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39632
39633 * po/ja.po: Update from translation team.
39634
39635 [BZ #13144]
39636 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39637 kernel in 64-bit binaries.
39638
39639 2011-09-01 David S. Miller <davem@davemloft.net>
39640
39641 * elf/elf.h (HWCAP_SPARC_*): Move to..
39642 * sysdeps/sparc/sysdep.h: this new file and add new values.
39643 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39644 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39645 _DL_HWCAP_COUNT to 24.
39646 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39647 entries.
39648 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39649 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39650 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39652 instead of magic constants.
39653 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39654
39655 2011-08-31 David S. Miller <davem@davemloft.net>
39656
39657 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39659 Reimplement to do errno handling inline.
39660 (SYSCALL_ERROR_HANDLER): New macro.
39661 (__SYSCALL_STRING): Do not do errno handling in asm.
39662 (__CLONE_SYSCALL_STRING): Delete.
39663 (__INTERNAL_SYSCALL_STRING): Delete.
39664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39665 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39666 (PSEUDO): Reimplement to do errno handling inline.
39667 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39668 (SYSCALL_ERROR_HANDLER): New macro.
39669 (__SYSCALL_STRING): Do not do errno handling in asm.
39670 (__CLONE_SYSCALL_STRING): Delete.
39671 (__INTERNAL_SYSCALL_STRING): Delete.
39672 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39673 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39674 i386.
39675 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39676 (inline_syscall*): Add 'err' argument.
39677 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39678 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39679 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39680 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39681
39682 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39683 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39684
39685 2011-08-30 Andreas Schwab <schwab@redhat.com>
39686
39687 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39688
39689 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39690
39691 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39692 directive.
39693
39694 2011-08-24 David S. Miller <davem@davemloft.net>
39695
39696 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39697
39698 2011-08-24 Andreas Schwab <schwab@redhat.com>
39699
39700 * elf/Makefile: Add rules to build and run unload8 test.
39701 * elf/unload8.c: New file.
39702 * elf/unload8mod1.c: New file.
39703 * elf/unload8mod1x.c: New file.
39704 * elf/unload8mod2.c: New file.
39705 * elf/unload8mod3.c: New file.
39706
39707 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39708 it wasn't used.
39709
39710 2011-08-23 David S. Miller <davem@davemloft.net>
39711
39712 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39713 subtract stack bias.
39714 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39715 %sp not %fp in calculations.
39716 (_JMPBUF_UNWINDS_ADJ): Likewise.
39717
39718 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39719 (aio_suspend): Call it to force an exception region around the
39720 AIO_MISC_WAIT() invocation.
39721
39722 2011-08-23 Andreas Schwab <schwab@redhat.com>
39723
39724 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39725 backslash.
39726
39727 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39728
39729 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39730 protection macro.
39731 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39732 and <dl-machine.h>.
39733 (Elf64_FuncDesc): Remove.
39734
39735 2011-08-22 David S. Miller <davem@davemloft.net>
39736
39737 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39738 sigaltstack check, add missing cfi directives.
39739 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39740 missing cfi directives, and sigaltstack handling.
39741
39742 2011-08-16 Andreas Schwab <schwab@redhat.com>
39743
39744 [BZ #11724]
39745 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39746 object is seen twice.
39747 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39748
39749 * elf/Makefile (distribute): Add tst-initorder2.c.
39750 (tests): Add tst-initorder2.
39751 (modules-names): Add tst-initorder2a tst-initorder2b
39752 tst-initorder2c tst-initorder2d. Add rules to build them.
39753 ($(objpfx)tst-initorder2.out): New rule.
39754 * elf/tst-initorder2.c: New file.
39755 * elf/tst-initorder2.exp: New file.
39756
39757 2011-08-22 Andreas Schwab <schwab@redhat.com>
39758
39759 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39760
39761 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39762 dependencies back to end of function.
39763
39764 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39765 $(elfobjdir)/ld.so.
39766
39767 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39768
39769 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39770 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39771 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39772 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39773 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39774 of __vdso_gettimeofday.
39775 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39776 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39777 attribute_hidden.
39778 (_libc_vdso_platform_setup): Remove initialization of
39779 __vdso_gettimeofday and __vdso_time.
39780
39781 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39782
39783 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39784 and fgetc_unlocked.
39785 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39786 getc_unlocked.
39787
39788 * elf/dl-open.c (add_to_global): Report additions to the global scope
39789 for LD_DEBUG=scopes.
39790 (dl_open_worker): Also print scope of newly loaded dependencies.
39791 (_dl_show_scope): Indicate if there is no scope.
39792
39793 [BZ #13114]
39794 * stdio-common/Makefile (tests): Add bug24.
39795 * stdio-common/bug24.c: New file.
39796
39797 2011-08-19 Andreas Jaeger <aj@suse.de>
39798
39799 [BZ #13114]
39800 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39801 non-existant file when using close-on-exec mode.
39802
39803 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39804
39805 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39806 the very first instruction.
39807
39808 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39809 the CFI state in the end.
39810 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39811 inclusion of dl-trampoline.h.
39812 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39813
39814 2011-08-19 Andreas Schwab <schwab@redhat.com>
39815
39816 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39817 expectations for long double.
39818
39819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39820 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39821
39822 2011-08-14 David S. Miller <davem@davemloft.net>
39823
39824 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39825 artificual limit depends upon the system page size.
39826
39827 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39828
39829 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39830 * resolv/Makefile: Define CFLAGS-libresolv.
39831
39832 2011-08-17 Andreas Schwab <schwab@redhat.com>
39833
39834 * nss/makedb.c (compute_tables): Make variables used in nested
39835 function static.
39836
39837 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39838
39839 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39840 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39841 if buffer was too small.
39842
39843 * elf/pldd.c (main): Attach to all threads in the process.
39844 Rewrite /proc handling to use *at functions.
39845
39846 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39847
39848 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39849 specifies first scope to show.
39850 (dl_open_worker): Update callers. Move printing scope of new
39851 object to before the relocation.
39852 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39853 * sysdeps/generic/ldsodefs.h: Update declaration.
39854
39855 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39856 string for the scope number.
39857
39858 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39859
39860 * nscd/servicescache.c (cache_addserv): Make sure written is always
39861 initialized.
39862
39863 2011-08-14 Roland McGrath <roland@hack.frob.com>
39864
39865 * sysdeps/i386/i486/bits/atomic.h
39866 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39867 statement expression, so as to suppress "set but not used" warning.
39868 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39869
39870 * string/strncat.c (STRNCAT): Use prototype definition.
39871
39872 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39873 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39874 -Iprograms here.
39875 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39876 (localedef-modules): Add localedef.
39877 (locale-modules): Add locale.
39878
39879 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39880 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39881 to avoid a warning.
39882
39883 2011-08-14 David S. Miller <davem@davemloft.net>
39884
39885 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39886 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39887
39888 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39889
39890 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39891 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39892 * elf/rtld.c (dl_main): Set l_name of vDSO.
39893 Call _dl_show_scope when DL_DEBUG_SCOPES.
39894 (process_dl_debug): Recognize scopes flag and also set it for all.
39895 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39896 Declare _dl_show_scope.
39897
39898 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39899 (do_dlopen): Pass caller_dlopen to dl_open.
39900 (__libc_dlopen_mode): Initialize caller_dlopen.
39901
39902 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39903 of libc. Make tolower call locale-independent. Optimize a bit by
39904 using isdigit instead of isalnum.
39905 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39906
39907 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39908
39909 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39910 was a dependency or dynamically loaded.
39911
39912 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39913
39914 * intl/l10nflist.c: Allow architecture-specific pop function.
39915 * sysdeps/x86_64/l10nflist.c: New file.
39916
39917 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39918 classification.
39919
39920 2011-08-10 Andreas Schwab <schwab@redhat.com>
39921
39922 * include/dirent.h: Add libc_hidden_proto for scandirat and
39923 scandirat64. Don't declare __scandirat64.
39924 * dirent/scandirat.c: Add libc_hidden_def.
39925 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39926 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39927
39928 2011-08-10 David S. Miller <davem@davemloft.net>
39929
39930 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39931 enum.
39932 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39933 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39935
39936 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39937
39938 * Versions.def [libc]: Add GLIBC_2.15.
39939 * dirent/Makefile (routines): Add scandirat and scandirat64.
39940 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39941 GLIBC_2.15.
39942 * dirent/dirent.h: Declare scandirat and scandirat64.
39943 * dirent/scandirat.c: New file.
39944 * dirent/scandirat64.c: New file.
39945 * sysdeps/wordsize-64/scandirat.c: New file.
39946 * sysdeps/wordsize-64/scandirat64.c: New file.
39947 * dirent/opendir.c: Define opendirat.
39948 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39949 using scandirat.
39950 * dirent/scandir64.c: Adjust for scandir.c change.
39951 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39952 __scandirat64, and __scandir_cancel_handler.
39953 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39954 additional parameter and use openat instead of open (outside of ld.so).
39955 Add new __opendir as wrapper around __opendirat.
39956 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39957 here without requiring old scandirat implementation.
39958
39959 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39960
39961 * dirent/scandir.c (cancel_handler): Renamed to
39962 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39963 defined. Adjust users.
39964 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39965 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39966
39967 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39968
39969 * string/test-string.h (IMPL): Use __STRING to expand name and then
39970 stringify it.
39971
39972 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39973 of cleanups.
39974
39975 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39976
39977 * string/Makefile: Update.
39978 (strop-tests): Append strncat.
39979 * string/test-wcscmp.c: New file.
39980 New comprehensive test for wcscmp.
39981 * string/test-strcmp.c: Update.
39982 (WIDE): New define.
39983
39984 2011-07-22 Andreas Schwab <schwab@redhat.com>
39985
39986 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39987 line.
39988
39989 2011-07-26 Andreas Schwab <schwab@redhat.com>
39990
39991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39992 encoding to ACE if AI_IDN.
39993
39994 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39995
39996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39997 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39998
39999 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40000
40001 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40002 Fix overflow bug in strncat.
40003 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40004
40005 * string/test-strncat.c: Update.
40006 Add new tests for checking overflow bugs.
40007
40008 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40009
40010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40011 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40012 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40013 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40014 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40015 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40016 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40017 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40018 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40019
40020 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40021 (USE_AS_STRCAT): Define.
40022 Add strcat and strncat support.
40023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40024
40025 2011-07-25 Andreas Schwab <schwab@redhat.com>
40026
40027 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40028 __n bigger than INT_MAX+1.
40029 (__strncmp_g): Likewise.
40030
40031 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40032
40033 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40034 * libio/stido.h: Likewise.
40035
40036 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40037 (AF_NFC): Define.
40038 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40039 (AF_NFC): Define.
40040
40041 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40042 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40043 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40044 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40045 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40046
40047 [BZ #13021]
40048 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40049 installed.
40050
40051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40052 typo.
40053 (_dl_x86_64_save_sse): Likewise.
40054
40055 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40056
40057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40058 OSXSAVE.
40059 (_dl_x86_64_save_sse): Likewise.
40060
40061 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40062
40063 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40064
40065 2011-07-21 Andreas Schwab <schwab@redhat.com>
40066
40067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40068 change.
40069 (_dl_x86_64_save_sse): Use correct AVX check.
40070
40071 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40072
40073 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40074 bug in strncpy/strncat.
40075 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40076
40077 2011-07-21 Ulrich Drepper <drepper@gmail.com>
40078
40079 * string/tester.c (test_strcat): Add tests for different alignments
40080 of source and destination.
40081 (test_strncat): Likewise.
40082
40083 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40084
40085 [BZ #12852]
40086 * posix/glob.c (glob): Check passed in values before using them in
40087 expressions to avoid some overflows.
40088 (glob_in_dir): Likewise.
40089
40090 [BZ #13007]
40091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40092 check for AVX enablement so that we don't crash with old kernels and
40093 new hardware.
40094 * elf/tst-audit4.c: Add same checks here.
40095 * elf/tst-audit6.c: Likewise.
40096
40097 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40098
40099 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40100
40101 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40102
40103 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40104
40105 * po/cs.po: Update from translation team.
40106 * po/bg.po: Likewise.
40107
40108 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40109
40110 * misc/sys/cdefs.h: Add support for const attribute.
40111 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40112 to gnu_dev_{major,minor,makedev} functions.
40113
40114 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40115
40116 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40117
40118 2011-07-20 Andreas Schwab <schwab@redhat.com>
40119
40120 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40121 strlen results.
40122
40123 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40124
40125 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40126 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40127 register in order to avoid conflicts with the soft frame pointer
40128 being held in r11 when necessary.
40129 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40130 (INTERNAL_VSYSCALL_NCS): Likewise.
40131
40132 2011-07-14 Marek Polacek <mpolacek@redhat.com>
40133
40134 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40135 * elf/dl-fini.c (_dl_fini): Adjust caller.
40136 * elf/dl-close.c (_dl_close_worker): Likewise.
40137 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40138
40139 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40140
40141 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40142 "aux_cache->nlibs < 0".
40143
40144 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40145 in the reload-count case.
40146
40147 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40148
40149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40150 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40151 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40152 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40153 * sysdeps/x86_64/multiarch/strcat.S: New file.
40154 * sysdeps/x86_64/multiarch/strncat.S: New file.
40155 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40156 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40157 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40158 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40160 (USE_AS_STRCAT): Define.
40161 Add strcat and strncat support.
40162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40163 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40164 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40165 * string/strncat.c: Update.
40166 (USE_AS_STRNCAT): Define.
40167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40168 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40169 and i7.
40170 * sysdeps/x86_64/multiarch/init-arch.h
40171 (bit_Prefer_PMINUB_for_stringop): New.
40172 (index_Prefer_PMINUB_for_stringop): Likewise.
40173 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40174 bit_Prefer_PMINUB_for_stringop.
40175
40176 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40177
40178 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40179 buffer64.
40180 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40181 of casting of buffer.
40182 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40183 buffer32 and buffer64.
40184 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40185 writes instead of casting of buffer.
40186 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40187 buffer32.
40188 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40189 casting of buffer.
40190
40191 2011-07-19 Andreas Schwab <schwab@redhat.com>
40192
40193 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40194
40195 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40196
40197 * nscd/nscd.c (termination_handler): Don't do anything for a database
40198 if it has not yet been initialized.
40199
40200 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40201
40202 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40203
40204 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40205
40206 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40207
40208 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40209
40210 * po/nl.po: Update from translation team.
40211 * po/sv.po: Likewise.
40212
40213 2011-07-16 Roland McGrath <roland@hack.frob.com>
40214
40215 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40216 now disallowed by GCC.
40217
40218 * configure.in (use-default-link): Default to yes if a test -shared
40219 link meets our qualifications.
40220 * configure: Regenerated.
40221
40222 * config.make.in (output-format): New variable.
40223 * configure.in: Check for ld --print-output-format support.
40224 * configure: Regenerated.
40225 * Makerules ($(common-objpfx)format.lds)
40226 [$(output-format) != unknown]: Just use $(output-format),
40227 instead of the linker-script munging.
40228
40229 2011-07-14 Roland McGrath <roland@hack.frob.com>
40230
40231 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40232 of $(common-objpfx)shlib.lds.
40233 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40234
40235 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40236 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40237
40238 * configure.in (-z relro check): Adjust test code to add a large
40239 writable data section after it.
40240 * configure: Regenerated.
40241
40242 2011-07-11 Roland McGrath <roland@hack.frob.com>
40243
40244 * configure.in (-z relro check): Fix test code to make the variable
40245 truly const.
40246 * configure: Regenerated.
40247
40248 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40249
40250 * nscd/nscd.h (struct traced_file): Define.
40251 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40252 elements. Add traced_files.
40253 (inotify_fd): Declare.
40254 (register_traced_file): Declare.
40255 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40256 (inotify_fd): Export.
40257 (resolv_conf_descr): Remove.
40258 (nscd_init): Move inotify descriptor creation to main.
40259 Don't register files for notification here.
40260 (register_traced_file): New function.
40261 (invalidate_cache): Don't use reset_res to determine whether to call
40262 res_init, go through the list of registered files.
40263 (main_loop_poll): The inotify descriptors are now stored in the
40264 structures for the traced files.
40265 (main_loop_epoll): Likewise
40266 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40267 to __nss_disable_nscd.
40268 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40269 for a database anymore. Check the records for all the registered
40270 files instead.
40271 * nss/Makefile (libnss_files-routines): Add files-init.
40272 (libnss_db-routines): Add db-init.
40273 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40274 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40275 * nss/nss_db/db-init.c: New file.
40276 * nss/nss_files/files-init.c: New file.
40277 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40278 __nss_lookup_function.
40279 (__nss_lookup_function): Call nss_load_library.
40280 (nss_load_all_libraries): New function.
40281 (__nss_disable_nscd): Take parameter with callback function for files
40282 to register. Set is_nscd. Load all the DSOs for the NSS modules
40283 used for the cached services.
40284 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40285 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40286 options for features to all the files in nscd.
40287
40288 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40289
40290 2011-07-10 Roland McGrath <roland@hack.frob.com>
40291
40292 * csu/elf-init.c (__libc_csu_init): Comment typo.
40293
40294 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40295
40296 * po/pl.po: Update from translation team.
40297 * po/ja.po: Likewise.
40298 * po/ru.po: Likewise.
40299 * po/ko.po: Likewise.
40300 * po/fr.po: Likewise.
40301
40302 2011-07-09 Roland McGrath <roland@hack.frob.com>
40303
40304 * configure.in (.ctors/.dtors header and trailer check):
40305 Use an empirical test on a built program.
40306 * configure: Regenerated.
40307
40308 * configure.in (-z relro check): Use an empirical test on a built DSO.
40309 Detect, but do not require, on ia64.
40310 * configure: Regenerated.
40311
40312 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40313 Update tests that use readelf to use $READELF instead.
40314 * configure: Regenerated.
40315
40316 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40317
40318 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40319 if the result is not used.
40320
40321 2011-07-05 Andreas Jaeger <aj@suse.de>
40322
40323 [BZ#9696]
40324 * stdlib/tst-strtod.c: Add testcase.
40325
40326 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40327
40328 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40329 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40330 The latter has a higher limit. Take additional parameter to pass to
40331 the new function.
40332 (__pathconf): Pass file to __statfs_link_max.
40333 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40334 __statfs_link_max.
40335 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40336 __statfs_link_max.
40337
40338 [BZ #12868]
40339 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40340 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40341 Handle Lustre.
40342 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40343 (__statfs_filesize_max): Likewise.
40344 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40345
40346 2011-07-05 Andreas Jaeger <aj@suse.de>
40347
40348 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40349
40350 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40351
40352 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40353 `status' variable.
40354 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40355 Likewise.
40356
40357 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40358
40359 * Makefile (strop-tests): Add strncat.
40360 * string/test-strncat.c: New file.
40361
40362 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40363
40364 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40365
40366 2011-06-21 Andreas Jaeger <aj@suse.de>
40367
40368 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40369 Copy rule from iconvdata/Makefile.
40370
40371 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40372
40373 [BZ #12922]
40374 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40375 but no long options are defined, just return 'W'.
40376
40377 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40378
40379 [BZ #9696]
40380 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40381
40382 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40383
40384 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40385 netgroups to read.
40386 (innetgr): Likewise.
40387
40388 2011-07-05 Roland McGrath <roland@hack.frob.com>
40389
40390 * config.make.in (install_root): Default to $(DESTDIR).
40391
40392 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40393
40394 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40395
40396 2011-07-02 Roland McGrath <roland@hack.frob.com>
40397
40398 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40399
40400 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40401 containing directory rather than embedding absolute directory names.
40402
40403 * scripts/check-local-headers.sh: Rewritten using awk.
40404 Match by word, not by line. Print error messages for matches.
40405 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40406
40407 * Makerules [shlib-lds-flags empty]:
40408 ($(common-objpfx)libc_pic.opts): New target.
40409 ($(common-objpfx)libc_pic.os.clean): New target.
40410 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40411
40412 * config.make.in (OBJCOPY): New variable.
40413 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40414 * configure: Regenerated.
40415
40416 * config.make.in (use-default-link): New variable.
40417 * configure.in (use_default_link): Grok --with-default-link to set it.
40418 * configure: Regenerated.
40419 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40420 (shlib-lds, shlib-lds-flags): Define to empty.
40421
40422 * Makerules (shlib-lds): New variable.
40423 (shlib-lds-flags): New variable.
40424 (build-shlib, build-moduile, build-module-asneeded): Use it.
40425 ($(common-objpfx)libc.so): Use $(shlib-lds).
40426 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40427 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40428
40429 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40430 DT_FLAGS/DT_FLAGS_1 with zero flags.
40431
40432 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40433 linker script munging.
40434
40435 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40436
40437 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40438 as 128-bit value.
40439 * crypt/sha512.c (sha512_process_block): Perform total addition using
40440 128-bit if possible.
40441 (__sha512_finish_ctx): Likewise.
40442 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40443 as 64-bit value.
40444 * crypt/sha256.c (SWAP64): Define.
40445 (sha256_process_block): Perform total addition using 64-bit if
40446 possible.
40447 (__sha256_finish_ctx): Likewise.
40448
40449 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40450
40451 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40452 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40453 * nscd/hstcache.c (cache_addhst): Likewise.
40454 * nscd/grpcache.c (cache_addgr): Likewise.
40455 * nscd/aicache.c (addhstaiX): Likewise
40456 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40457
40458 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40459
40460 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40462 * nscd/hstcache.c (cache_addhst): Likewise.
40463 * nscd/grpcache.c (cache_addgr): Likewise.
40464 * nscd/aicache.c (addhstaiX): Likewise
40465
40466 2011-07-01 Andreas Schwab <schwab@redhat.com>
40467
40468 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40469 domain only when needed.
40470
40471 2011-06-30 Andreas Schwab <schwab@redhat.com>
40472
40473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40474 is always restored.
40475
40476 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40477
40478 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40479 are re-adding the entry.
40480 * nscd/servicescache.c (cache_addserv): Likewise.
40481
40482 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40483
40484 * sysdeps/generic/dl-irel.h: fix protection against multiple
40485 inclusions.
40486 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40487
40488 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40489
40490 [BZ #12935]
40491 * malloc/memusage.sh: Fix quoting in message.
40492 * debug/xtrace.sh: Likewise.
40493
40494 * configure.in: Remove support for --experimental-malloc option, make
40495 it the default.
40496 * config.make.in: Likewise.
40497 * malloc/Makefile: Likewise.
40498
40499 2011-06-27 Andreas Schwab <schwab@redhat.com>
40500
40501 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40502 two-byte characters.
40503
40504 2011-06-27 Roland McGrath <roland@hack.frob.com>
40505
40506 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40507 AC_CACHE_CHECK invocation.
40508 * configure: Regenerated.
40509
40510 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40511
40512 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40513
40514 [BZ #12350]
40515 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40516 bit from old_res_options.
40517
40518 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40519
40520 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40521 value type for setfct.
40522
40523 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40524
40525 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40526 __gettimeofday instead of gettimeofday.
40527
40528 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40529
40530 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40531
40532 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40533
40534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40535
40536 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40537 info.
40538
40539 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40540
40541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40542 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40543 strcpy-sse2-unaligned strncpy-sse2-unaligned
40544 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40545 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40546 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40547 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40548 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40549 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40550 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40551 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40552 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40553 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40554 (STRCPY): Support SSE2 and SSSE3 versions.
40555
40556 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40557
40558 [BZ #12874]
40559 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40560 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40561 kernels which artificially limit size of requests.
40562
40563 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40564
40565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40566 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40567 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40568 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40569 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40570 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40571 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40572 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40573 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40574 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40575 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40576 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40577 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40578 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40579 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40581 Enable unaligned load optimization for Intel Core i3, i5 and i7
40582 processors.
40583 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40584 Define.
40585 (index_Fast_Unaligned_Load): Define.
40586 (HAS_FAST_UNALIGNED_LOAD): Define.
40587
40588 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40589
40590 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40591
40592 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40593
40594 [BZ #12907]
40595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40596 until it is clear that the information is realy needed.
40597 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40598
40599 2011-06-22 Andreas Schwab <schwab@redhat.com>
40600
40601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40602
40603 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40604
40605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40606 /sys/devices/system/cpu/online if it is usable.
40607
40608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40609 reading the information from the /proc filesystem to once a second.
40610
40611 2011-06-21 Andreas Jaeger <aj@suse.de>
40612
40613 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40614 NULL after inclusion of kernel headers.
40615
40616 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40617
40618 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40619 calls to internal_setent.
40620
40621 [BZ #12885]
40622 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40623 addresses using gethostbyname4_r ignore IPv4 addresses.
40624
40625 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40626 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40627
40628 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40629
40630 2011-06-20 David S. Miller <davem@davemloft.net>
40631
40632 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40633 inclusions.
40634 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40635
40636 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40637 (elf_irel): Use it.
40638 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40639 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40640 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40641 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40642 * sysdeps/x86_64/dl-irel.h: Likewise.
40643
40644 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40645 * elf/dl-sym.c: Likewise.
40646
40647 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40648
40649 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40650 need to dereference resplen2.
40651
40652 2011-06-14 Andreas Schwab <schwab@redhat.com>
40653
40654 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40655
40656 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40657
40658 * Makeconfig: Define vardbdir and inst_vardbdir.
40659 * nss/Makefile: Add rules to install db-Makefile.
40660
40661 * nss/nss_db/db-XXX.c: Cleanup.
40662
40663 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40664 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40665 GLIBC_PRIVATE.
40666 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40667 * nss/makedb.c: Implement -g option to specify that value strings
40668 are generated and should not be added to table iterated over for
40669 get*ent calls.
40670 * nss/nss_db/db-initgroups.c: New file.
40671
40672 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40673 interface.
40674
40675 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40676 (internal_getgrouplist): Adjust to name change.
40677 Update use_initgroups_entry if this is not the first call.
40678 * nss/databases.def: Add initgroups entry.
40679
40680 * nss/makedb.c (compute_tables): Check result of multiple hash table
40681 sizes to minimize maximum chain length.
40682
40683 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40684
40685 * Versions.def: Add entry for libnss_db.
40686 * shlib-versions: Likewise.
40687 * nss/Makefile: Add rules to build libnss_db.
40688 * nss/Versions: Add libnss_db information. Organize libnss_files
40689 entries better.
40690 * nss/db-Makefile: Add gshadow support. Change rules for the new
40691 makedb progra. Some minor improvements to generate smaller files.
40692 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40693 here from...
40694 * nss/makedb.c: ...here.
40695 Improve database format to be smaller and require less memory at
40696 runtime.
40697 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40698 db anymore.
40699 * nss/nss_db/db-netgrp.c: Likewise.
40700 * nss/nss_db/db-open.c: Likewise.
40701 * nss/nss_files/flies-XXX.x: Adjust comments.
40702 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40703 * nss/nss_files/files-grp.c: Likewise.
40704 * nss/nss_files/files-hosts.c: Likewise.
40705 * nss/nss_files/files-network.c: Likewise.
40706 * nss/nss_files/files-proto.c: Likewise.
40707 * nss/nss_files/files-pwd.c: Likewise.
40708 * nss/nss_files/files-rpc.c: Likewise.
40709 * nss/nss_files/files-service.c: Likewise.
40710 * nss/nss_files/files-sgrp.c: Likewise.
40711 * nss/nss_files/files-spwd.c: Likewise.
40712 * nss/nss_db/db-alias.c: Removed.
40713 * nss/nss_db/dummy-db.h: Removed.
40714
40715 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40716
40717 * nss/makedb.c: Rewritten to not use database library.
40718 * nss/Makefile: Update to build new makedb program.
40719
40720 2011-06-14 Andreas Jaeger <aj@suse.de>
40721
40722 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40723 memset declaration.
40724
40725 2011-06-10 Andreas Schwab <schwab@redhat.com>
40726
40727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40728 tmpbuf.
40729
40730 2011-06-10 Roland McGrath <roland@hack.frob.com>
40731
40732 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40733 * elf/Makefile ($(objpfx)ld.so): Likewise.
40734
40735 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40736 Don't list ld.so twice in dependencies.
40737
40738 * posix/bug-regex31.c: Include <stdlib.h>.
40739
40740 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40741
40742 * nis/nss_compat/compat-spwd.c
40743 (getspent_next_nss_netgr): Remove unused variable.
40744 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40745
40746 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40747 nonmembers" output to use the right array.
40748
40749 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40750
40751 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40752
40753 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40754 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40755 * catgets/gencat.c (read_input_file): Likewise.
40756 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40757
40758 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40759 variable definition inside #if's controlling its use.
40760
40761 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40762
40763 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40764
40765 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40766
40767 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40768 unreachable code.
40769
40770 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40771
40772 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40773 * configure: Regenerated.
40774
40775 * Makerules: Revert last change.
40776 * elf/Makefile: Likewise.
40777
40778 2011-06-09 Roland McGrath <roland@hack.frob.com>
40779
40780 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40781 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40782 (reloc-link): Likewise.
40783
40784 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40785
40786 * elf/Makefile: Add rules to build pldd.
40787 * elf/pldd.c: New file.
40788 * elf/pldd-xx.c: New file.
40789
40790 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40791
40792 * version.h: Update for 2.15 development version.
40793
40794 2011-06-07 David S. Miller <davem@davemloft.net>
40795
40796 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40797 ifuncs.
40798 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40799 elf_machine_lazy_rel): Likewise.
40800 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40801 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40802 elf_machine_lazy_rel): Likewise.
40803 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40804 dl_hwcap via passed in argument.
40805 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40806 Likewise.
40807
40808 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40809
40810 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40811
40812 2011-06-06 Roland McGrath <roland@hack.frob.com>
40813
40814 [BZ #12849]
40815 * manual/fdl-1.1.texi: New file, verbatim from:
40816 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40817 * manual/lgpl-2.1.texi: New file, verbatim from:
40818 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40819 * manual/Makefile (licenses): New variable, list those new file names.
40820 (texis): Use it.
40821 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40822
40823 * manual/fdl.texi: File removed.
40824 * manual/lesser.texi: File removed.
40825 * manual/libc.texinfo (Copying, Documentation License):
40826 Use new @include file names, put @appendix directive before @include.
40827
40828 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40829
40830 [BZ #12841]
40831 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40832 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40833 (mq_open): Add __NTH.
40834
40835 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40836
40837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40838 Assume Intel Core i3/i5/i7 processor if AVX is available.
40839
40840 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40841
40842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40843 typo.
40844
40845 2011-05-31 Andreas Schwab <schwab@redhat.com>
40846
40847 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40848 memory. Use alloca_account. Fix memory leak when retrying.
40849
40850 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40851
40852 * version.h (RELEASE): Bump for 2.14 release.
40853 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40854
40855 * config.make.in (RANLIB): Remove entry.
40856
40857 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40858
40859 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40860 (libc.pot): Work around missing support for .ksh extension in xgettext.
40861
40862 [BZ #12684]
40863 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40864 if both request failed.
40865 (send_dg): In case of server errors clear resplen or *resplen2.
40866
40867 [BZ #12454]
40868 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40869 when there are multiple maps.
40870 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40871 (_dl_fini): Remove test here.
40872
40873 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40874
40875 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40876
40877 [BZ #12350]
40878 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40879 bit from old_res_options.
40880 (gaih_inet): Likewise.
40881
40882 [BZ #11099]
40883 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40884 as signed.
40885
40886 * resolv/res_init.c (res_setoptions): Make the code more compact.
40887
40888 [BZ #11558]
40889 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40890 set RES_USEVC.
40891
40892 [BZ #11634]
40893 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40894
40895 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40896
40897 [BZ #11781]
40898 * malloc/malloc.h: Declare malloc hook variables as volatile.
40899
40900 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40901 in last patch.
40902
40903 [BZ #11799]
40904 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40905 raise in the comment.
40906 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40907 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40908 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40909
40910 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40911
40912 [BZ #12811]
40913 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40914 grow the buffers more if it already has to be sufficient.
40915 (build_wcs_upper_buffer): Likewise.
40916 * posix/regexec.c (check_matching): Likewise.
40917 (clean_state_log_if_needed): Likewise.
40918 (extend_buffers): Don't enlarge buffers beyond size of the input
40919 buffer.
40920 Patches mostly by Emil Wojak <emil@wojak.eu>.
40921 * posix/bug-regex32.c: New file.
40922 * posix/Makefile (tests): Add bug-regex32.
40923
40924 * locale/findlocale.c (_nl_find_locale): Return right away if
40925 _nl_explode_name failed.
40926 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40927
40928 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40929
40930 * debug/xtrace.sh: Unify messages.
40931 * malloc/memusage.sh: Likewise.
40932
40933 [BZ #12813]
40934 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40935 time symbol from vDSO. Substitute with vsyscall if not available.
40936 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40937 __vdso_time.
40938
40939 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40940 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40941 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40942 Add sendmmsg and internal_sendmmsg.
40943 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40944 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40945 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40946
40947 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40948 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40949 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40950
40951 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40952
40953 [BZ #12813]
40954 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40955 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40956 available.
40957 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40958 __vdso_getcpu.
40959
40960 [BZ #12814]
40961 * iconvdata/Makefile (tests): Add bug-iconv9.
40962 * iconvdata/bug-iconv9.c: New file.
40963
40964 2011-05-27 Andreas Schwab <schwab@redhat.com>
40965
40966 [BZ #12814]
40967 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40968
40969 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40970
40971 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40972 (struct user_regs_struct): Change intcs field back to cs.
40973
40974 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40975
40976 * po/ja.po: Update from translation team.
40977
40978 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40979
40980 [BZ #12795]
40981 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40982 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40983
40984 2011-05-20 Andreas Schwab <schwab@redhat.com>
40985
40986 * stdlib/longlong.h: Update from GCC.
40987
40988 2011-05-23 Andreas Schwab <schwab@redhat.com>
40989
40990 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40991 parameter name.
40992 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40993 Add parameter name.
40994 (__sysconf): Pass it down.
40995
40996 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40997
40998 [BZ #12671]
40999 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41000 some situations.
41001 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41002 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41003 add in in __libc_use_alloca calls. Adjust callers.
41004 (glob): Use malloc in some situations.
41005
41006 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41007 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41008 pltexit.
41009
41010 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41011
41012 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41013 and CLOCK_BOOTTIME_ALARM.
41014
41015 [BZ #12782]
41016 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41017 is returned.
41018
41019 * string/_strerror.c (__strerror_r): Print negative errors as signed
41020 numbers.
41021
41022 [BZ #12777]
41023 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41024 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41025 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41026
41027 * configure.in: Fix typo in redirection and correct removal of test
41028 files in two cases.
41029
41030 [BZ #12788]
41031 * locale/setlocale.c (new_composite_name): Fix test to check for
41032 identical name of all categories.
41033
41034 [BZ #12792]
41035 * libio/filedoalloc.c (local_isatty): New function.
41036 (_IO_file_doallocate): Use local_isatty.
41037 * stdio-common/perror.c (perror): In case a new stream is used
41038 forward the stream error.
41039 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41040 error flag.
41041
41042 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41043
41044 [BZ #11869]
41045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41046 alloca.
41047 * include/alloca.h (extend_alloca_account): Define.
41048
41049 [BZ #11857]
41050 * posix/regex.h: Fix comments with documentation of user-accessible
41051 fields after compilation and describe correct free'ing of pattern
41052 after re_compile_pattern.
41053 Patch by Reuben Thomas <rrt@sc3d.org>.
41054
41055 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41056
41057 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41058 and -mno-altivec to prevent the compiler from using Altivec and/or
41059 VSX instructions when the corresponding registers are not available.
41060
41061 2011-05-19 Andreas Schwab <schwab@redhat.com>
41062
41063 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41064
41065 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41066
41067 * libio/freopen.c (freopen): Use __dup2, not dup2.
41068 * libio/freopen64.c (freopen64): Likewise.
41069
41070 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41071
41072 [BZ #12775]
41073 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41074 * math/Makefile (tests): Add test-powl.
41075 (CFLAGS-test-powl.c): Define.
41076 * math/test-powl.c: New file.
41077
41078 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41079
41080 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41081
41082 2011-05-17 Ulrich Drepper <drepper@gmail.com>
41083
41084 [BZ #11837]
41085 * iconvdata/gb18030.c: Update to GB18020-2005.
41086
41087 2011-05-16 Ulrich Drepper <drepper@gmail.com>
41088
41089 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41090 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41091 Patch by Aharon Robbins <arnold@skeeve.com>.
41092
41093 [BZ #11892]
41094 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41095 on the stack.
41096
41097 [BZ #11895]
41098 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41099 through underflows.
41100
41101 [BZ #12766]
41102 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41103 point to strings before performing equality test for error_one_per_line
41104 mode.
41105
41106 [BZ #11697]
41107 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41108
41109 [BZ #11820]
41110 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41111 (struct user_fpregs_struct): Avoid __uint*_t types.
41112
41113 [BZ #6420]
41114 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41115 symbol info. Use it instead of calling _dl_addr locally.
41116 (lock_and_info): New function.
41117 (tr_freehook): Call lock_and_info and pass symbol info as additional
41118 parameter to tr_where.
41119 (tr_mallochook): Likewise.
41120 (tr_reallochook): Likewise.
41121 (tr_memalignhook): Likewise.
41122
41123 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41124 used and couldn't be at all thread-safe.
41125
41126 2011-05-15 Ulrich Drepper <drepper@gmail.com>
41127
41128 * libio/freopen.c (freopen): Don't close old file descriptor
41129 before the new one is opened. Instead dup the new file descriptor
41130 to the old one after the new stream is created.
41131 * libio/freopen64.c (freopen64): Likewise.
41132 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41133 * libio/fileops.c (_IO_new_file_close_it): Handle new
41134 _IO_FLAGS2_NOCLOSE flag.
41135 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41136 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41137 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41138 _IO_FLAGS2_NOCLOSE flag.
41139 * include/unistd.h: Add hidden_proto for dup3.
41140 Define __have_dup3.
41141 * io/dup3.c: Define hidden symbol.
41142 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41143
41144 [BZ #7101]
41145 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41146 when an incomplete long option is used.
41147 * posix/tst-getopt_long1.c: New file.
41148 * posix/Makefile (tests): Add tst-getopt_long1.
41149
41150 [BZ #10138]
41151 * scripts/config.guess: Update from autoconf-2.68.
41152 * scripts/config.sub: Likewise.
41153
41154 [BZ #10157]
41155 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41156 tests into ...
41157 (has_cpuclock): ...this. New function.
41158 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41159 macro here based on has_cpuclock code.
41160
41161 [BZ #10149]
41162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41163 First byte (not low byte) is now always NUL.
41164 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41165
41166 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41167 Use non-cancelable interfaces.
41168
41169 [BZ #9809]
41170 * locale/iso-639.def: Add entry for Sorani.
41171
41172 [BZ #11901]
41173 * include/stdlib.h: Move include protection to the right place.
41174 Define abort_msg_s. Declare __abort_msg with it.
41175 * stdlib/abort.c (__abort_msg): Adjust type.
41176 * assert/assert.c (__assert_fail_base): New function. Majority
41177 of code from __assert_fail. Allocate memory for __abort_msg with
41178 mmap.
41179 (__assert_fail): Now call __assert_fail_base.
41180 * assert/assert-perr.c: Remove bulk of implementation. Use
41181 __assert_fail_base.
41182 * include/assert.hL Declare __assert_fail_base.
41183 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41184 mmap.
41185 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41186
41187 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41188
41189 [BZ #11952]
41190 [BZ #12453]
41191 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41192 until all modules are registered in the DTV.
41193 * elf/Makefile: Add rules to build and run tst-tls19.
41194 * elf/tst-tls19.c: New file.
41195 * elf/tst-tls19mod1.c: New file.
41196 * elf/tst-tls19mod2.c: New file.
41197 * elf/tst-tls19mod3.c: New file.
41198 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41199
41200 [BZ #12083]
41201 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41202 correctly.
41203
41204 [BZ #12601]
41205 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41206 two-byte sequence errors.
41207 * iconvdata/Makefile (tests): Add bug-iconv8.
41208 * iconvdata/bug-iconv8.c: New file.
41209
41210 [BZ #12626]
41211 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41212 buf2 definition.
41213
41214 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41215
41216 [BZ #12432]
41217 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41218 (dummy_getcfa): New function.
41219 (init): Get _Unwind_GetCFA address, use dummy if not found.
41220 (backtrace_helper): In recursion check, also check whether CFA changes.
41221 (__backtrace): Completely initialize arg.
41222
41223 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41224 storing incomplete byte sequence in state object. Avoid testing for
41225 guaranteed too small input if we know there is enough data available.
41226
41227 2011-05-11 Andreas Schwab <schwab@redhat.com>
41228
41229 * Makeconfig (+link-pie): Indent.
41230 * Rules (binaries-pie): Define if $(have-fpie) and
41231 $(build-shared).
41232 (binaries-shared): Also filter out $(binaries-pie).
41233 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41234 * nscd/Makefile (others-pie): Add nscd.
41235 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41236 ($(objpfx)nscd): Remove command override.
41237 * login/Makefile (others-pie): Add pt_chown.
41238 ($(objpfx)pt_chown): Remove command override.
41239 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41240 remove command overrides.
41241
41242 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41243
41244 * libio/tst_putwc.c: Fix error messages.
41245
41246 [BZ #12724]
41247 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41248 currently writing and seek to current position when not.
41249 * libio/Makefile (tests): Add bug-fclose1.
41250 * libio/bug-fclose1.c: New file.
41251
41252 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41253
41254 [BZ #12511]
41255 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41256 don't set DF_1_NODELETE here.
41257 (do_lookup_x): When entering new entry test for copy relocation
41258 and if necessary set DF_1_NODELETE flag.
41259 * elf/tst-unique4.cc: New file.
41260 * elf/tst-unique4.h: New file.
41261 * elf/tst-unique4lib.cc: New file.
41262 * elf/Makefile: Add rules to build and run tst-unique4.
41263 Patch by Piotr Bury <pbury@goahead.com>.
41264
41265 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41266
41267 [BZ #12052]
41268 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41269
41270 [BZ #12625]
41271 * misc/mntent_r.c (addmntent): Flush the stream after the output
41272
41273 [BZ #12393]
41274 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41275 (is_trusted_path_normalize): Skip initial colon. Append slash
41276 to empty buffer. Duplicate is_trusted_path code but allow
41277 constructed patch to be prefix.
41278 (is_dst): Allow $ORIGIN followed by /.
41279 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41280 Correct testing of result of is_trusted_path_normalize
41281 (decompose_rpath): Fix warning.
41282
41283 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41284
41285 [BZ #11257]
41286 * grp/initgroups.c (internal_getgrouplist): When we found the service
41287 list through the initgroups entry in nsswitch.conf do not always
41288 continue on a successful lookup. Don't always use the
41289 __nss_group_database value if it is set.
41290 * nss/nsswitch.conf (initgroups): Change action for successful db
41291 lookup to continue for compatibility.
41292
41293 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41294
41295 [BZ #11532]
41296 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41297 and CP774 modules.
41298 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41299 and CP774 modules.
41300 * iconvdata/tst-tables.sh: Likewise.
41301 * iconvdata/cp770.c: New file.
41302 * iconvdata/cp771.c: New file.
41303 * iconvdata/cp772.c: New file.
41304 * iconvdata/cp773.c: New file.
41305 * iconvdata/cp774.c: New file.
41306 * iconvdata/testdata/CP770: New file.
41307 * iconvdata/testdata/CP770..UTF8: New file.
41308 * iconvdata/testdata/CP771: New file.
41309 * iconvdata/testdata/CP771..UTF8: New file.
41310 * iconvdata/testdata/CP772: New file.
41311 * iconvdata/testdata/CP772..UTF8: New file.
41312 * iconvdata/testdata/CP773: New file.
41313 * iconvdata/testdata/CP773..UTF8: New file.
41314 * iconvdata/testdata/CP774: New file.
41315 * iconvdata/testdata/CP774..UTF8: New file.
41316
41317 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41318 END CHARMAP line.
41319 * iconvdata/gen-8bit-gap.sh: Likewise.
41320 * iconvdata/gen-8bit.sh: Likewise.
41321
41322 * locale/iso-639.def: Add ary entry.
41323
41324 [BZ #11258]
41325 * locale/C-translit.h.in: Add U20A1 transliteration.
41326
41327 [BZ #12178]
41328 * locale/iso-639.def: Add wae entry.
41329 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41330
41331 [BZ #12545]
41332 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41333 for n.
41334
41335 [BZ #12711]
41336 * locale/C-translit.h.in: Add entry for U20B9.
41337 Patch by pravin.d.s@gmail.com.
41338
41339 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41340
41341 [BZ #12713]
41342 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41343 ENAMETOOLONG use generic getcwd.
41344 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41345 in rtld. Use *stat64.
41346 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41347 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41348 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41349 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41350 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41351 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41352 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41353 __fstatat64 macros.
41354 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41355 * dirent/rewinddir.c: Add libc_hidden_def.
41356 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41357 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41358
41359 * include/dirent.h (__alloc_dir): Add flags parameter.
41360 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41361 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41362 __alloc_dir.
41363 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41364 from fdopendir if O_CLOEXEC is already set.
41365
41366 2011-03-15 Alan Modra <amodra@gmail.com>
41367
41368 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41369 l_tls_firstbyte_offset non-zero. Save padding offset in
41370 l_tls_firstbyte_offset for later use.
41371 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41372 freeing static tls block.
41373
41374 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41375
41376 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41377 where #ifdef was intended. The intent is to prevent ARG_MAX from
41378 being defined by the kernel headers.
41379
41380 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41381
41382 [BZ #12734]
41383 * resolv/resolv.h: Define RES_NOTLDQUERY.
41384 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41385 no-tld-query and set RES_NOTLDQUERY.
41386 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41387 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41388 modern BIND to search name as TLD unless forbidden.
41389
41390 2011-05-07 Petr Baudis <pasky@suse.cz>
41391 Ulrich Drepper <drepper@gmail.com>
41392
41393 [BZ #12393]
41394 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41395 (is_trusted_path): ...to here.
41396 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41397 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41398 using is_trusted_path_normalize() in setuid scripts.
41399
41400 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41401
41402 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41403 __BEGIN/__END_DECLS.
41404
41405 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41406
41407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41408 NSS_STATUS_NOTFOUND if no record was found.
41409
41410 2011-05-05 Andreas Schwab <schwab@redhat.com>
41411
41412 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41413 (headers-not-in-tirpc): Remove rpc/netdb.h
41414 * resolv/netdb.h: Revert last change.
41415
41416 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41417
41418 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41419 circular dependency between libgcc.a and libc.a.
41420
41421 2011-05-05 Andreas Schwab <schwab@redhat.com>
41422
41423 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41424 * nis/Makefile: Don't install rpcsvc/*.
41425 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41426 instead of <rpc/types.h>.
41427 (MAXHOSTNAMELEN): Define.
41428
41429 2011-05-03 Andreas Schwab <schwab@redhat.com>
41430
41431 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41432
41433 2011-04-28 Maciej Babinski <mbabinski@google.com>
41434
41435 [BZ #12714]
41436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41437 gethostbyname4_r when IPv6 results are possible.
41438
41439 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41440
41441 [BZ #12723]
41442 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41443 _PC_PIPE_BUF handling.
41444
41445 2011-04-30 Bruno Haible <bruno@clisp.org>
41446
41447 [BZ #12717]
41448 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41449 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41450 to 'int'.
41451 * inet/getnameinfo.c (getnameinfo): Likewise.
41452
41453 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41454
41455 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41456 to groups setting in database lookup.
41457 * nss/nsswitch.conf: Add initgroups entry.
41458
41459 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41460
41461 [BZ #12685]
41462 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41463 mode string.
41464 Patch by Eric Blake <eblake@redhat.com>.
41465
41466 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41467
41468 * sunrpc/Makefile (need-export-routines): Add svc_run.
41469 (routines): Remove svc_run.
41470 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41471 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41472 * sunrpc/svc_run.c (svc_run): Likewise.
41473 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41474
41475 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41476
41477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41478 problem in reallocation in last patch.
41479
41480 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41481
41482 * sunrpc/Makefile: Move inclusion of Rules.
41483
41484 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41485
41486 * nss/nss_files/files-initgroups.c: New file.
41487 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41488 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41489 _nss_files_initgroups_dyn.
41490
41491 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41492
41493 * elf/elf.h (R_ARM_IRELATIVE): Define.
41494
41495 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41496
41497 * po/ru.po: Update from translation team.
41498
41499 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41500
41501 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41502 dependencies.
41503
41504 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41505
41506 [BZ #12653]
41507 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41508 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41509 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41510 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41511 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41512
41513 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41514
41515 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41516 differing bytes.
41517 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41518 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41519 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41520
41521 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41522
41523 [BZ #12420]
41524 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41525 storing it.
41526 * stdlib/bug-getcontext.c: New file.
41527 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41528
41529 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41530
41531 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41532 instructions into .machine "z9-109".
41533 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41534 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41535
41536 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41537
41538 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41539 between environment variables and auxiliary vector.
41540
41541 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41542
41543 * Makefile: Add rules to build linkobj/libc.so.
41544 * include/libc-symbols.h: Define libc_hidden_nolink.
41545 * include/rpc/auth.h: Mark functions which are to be hidden.
41546 * include/rpc/auth_des.h: Likewise.
41547 * include/rpc/auth_unix.h: Likewise.
41548 * include/rpc/clnt.h: Likewise.
41549 * include/rpc/des_crypt.h: Likewise.
41550 * include/rpc/key_prot.h: Likewise.
41551 * include/rpc/pmap_clnt.h: Likewise.
41552 * include/rpc/pmap_prot.h: Likewise.
41553 * include/rpc/pmap_rmt.h: Likewise.
41554 * include/rpc/rpc_msg.h: Likewise.
41555 * include/rpc/svc.h: Likewise.
41556 * include/rpc/svc_auth.h: Likewise.
41557 * include/rpc/xdr.h: Likewise.
41558 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41559 * nss/Makefile: Likewise.
41560 * sunrpc/Makefile: Don't install headers. Build library with normal
41561 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41562 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41563 for the compat linking library. Remove use of INTDEF/INTUSE.
41564 * sunrpc/auth_none.c: Likewise.
41565 * sunrpc/auth_unix.c: Likewise.
41566 * sunrpc/authdes_prot.c: Likewise.
41567 * sunrpc/authuxprot.c: Likewise.
41568 * sunrpc/clnt_gen.c: Likewise.
41569 * sunrpc/clnt_perr.c: Likewise.
41570 * sunrpc/clnt_raw.c: Likewise.
41571 * sunrpc/clnt_simp.c: Likewise.
41572 * sunrpc/clnt_tcp.c: Likewise.
41573 * sunrpc/clnt_udp.c: Likewise.
41574 * sunrpc/clnt_unix.c: Likewise.
41575 * sunrpc/des_crypt.c: Likewise.
41576 * sunrpc/des_soft.c: Likewise.
41577 * sunrpc/get_myaddr.c: Likewise.
41578 * sunrpc/key_call.c: Likewise.
41579 * sunrpc/key_prot.c: Likewise.
41580 * sunrpc/netname.c: Likewise.
41581 * sunrpc/pm_getmaps.c: Likewise.
41582 * sunrpc/pm_getport.c: Likewise.
41583 * sunrpc/pmap_clnt.c: Likewise.
41584 * sunrpc/pmap_prot.c: Likewise.
41585 * sunrpc/pmap_prot2.c: Likewise.
41586 * sunrpc/pmap_rmt.c: Likewise.
41587 * sunrpc/publickey.c: Likewise.
41588 * sunrpc/rpc_cmsg.c: Likewise.
41589 * sunrpc/rpc_common.c: Likewise.
41590 * sunrpc/rpc_dtable.c: Likewise.
41591 * sunrpc/rpc_prot.c: Likewise.
41592 * sunrpc/rpc_thread.c: Likewise.
41593 * sunrpc/rtime.c: Likewise.
41594 * sunrpc/svc.c: Likewise.
41595 * sunrpc/svc_auth.c: Likewise.
41596 * sunrpc/svc_authux.c: Likewise.
41597 * sunrpc/svc_raw.c: Likewise.
41598 * sunrpc/svc_run.c: Likewise.
41599 * sunrpc/svc_simple.c: Likewise.
41600 * sunrpc/svc_tcp.c: Likewise.
41601 * sunrpc/svc_udp.c: Likewise.
41602 * sunrpc/svc_unix.c: Likewise.
41603 * sunrpc/svcauth_des.c: Likewise.
41604 * sunrpc/xcrypt.c: Likewise.
41605 * sunrpc/xdr.c: Likewise.
41606 * sunrpc/xdr_array.c: Likewise.
41607 * sunrpc/xdr_float.c: Likewise.
41608 * sunrpc/xdr_intXX_t.c: Likewise.
41609 * sunrpc/xdr_mem.c: Likewise.
41610 * sunrpc/xdr_rec.c: Likewise.
41611 * sunrpc/xdr_ref.c: Likewise.
41612 * sunrpc/xdr_sizeof.c: Likewise.
41613 * sunrpc/xdr_stdio.c: Likewise.
41614
41615 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41616
41617 [BZ #12650]
41618 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41619 * sysdeps/ia64/dl-tls.h: Likewise.
41620 * sysdeps/powerpc/dl-tls.h: Likewise.
41621 * sysdeps/s390/dl-tls.h: Likewise.
41622 * sysdeps/sh/dl-tls.h: Likewise.
41623 * sysdeps/sparc/dl-tls.h: Likewise.
41624 * sysdeps/x86_64/dl-tls.h: Likewise.
41625 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41626
41627 2011-03-14 Andreas Schwab <schwab@redhat.com>
41628
41629 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41630 rpath element also skip the following colon.
41631 (expand_dynamic_string_token): Add is_path parameter and pass
41632 down to DL_DST_REQUIRED and _dl_dst_substitute.
41633 (decompose_rpath): Call expand_dynamic_string_token with
41634 non-zero is_path. Ignore empty rpaths.
41635 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41636 with zero is_path.
41637
41638 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41639
41640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41641 Make cancelable.
41642
41643 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41644
41645 [BZ #12655]
41646 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41647 Patch by Filipe David Manana <fdmanana@apache.org>.
41648
41649 2011-04-07 Andreas Schwab <schwab@redhat.com>
41650
41651 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41652 Maintain aligned stack.
41653 (CHECK_RSP): Remove unused macro.
41654
41655 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41656
41657 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41658 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41659
41660 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41661
41662 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41663
41664 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41665
41666 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41667
41668 [BZ #12518]
41669 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41670 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41671 * sysdeps/x86_64/memmove.c: New file.
41672 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41673 (memcpy): Renamed to ...
41674 (__new_memcpy): This.
41675 (memcpy): Provide GLIBC_2_14 memcpy.
41676 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41677 (memcpy): Provide GLIBC_2_2_5 memcpy.
41678
41679 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41680
41681 [BZ #12631]
41682 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41683
41684 2011-03-30 Andreas Schwab <schwab@redhat.com>
41685
41686 * misc/syncfs.c: New file.
41687 * misc/Makefile (routines): Add syncfs.
41688 * posix/unistd.h: Declare syncfs.
41689 * sysdeps/unix/syscalls.list: Add syncfs.
41690
41691 2011-04-01 Andreas Schwab <schwab@redhat.com>
41692
41693 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41694 open_by_handle_at.
41695 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41696 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41698 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41700 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41702
41703 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41704
41705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41706 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41707 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41709 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41712
41713 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41714 sync_file_range.c with -fexceptions.
41715 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41716 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41717 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41718 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41719 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41720 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41721 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41722 sync_file_range as cancellation point
41723 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41724 now a wrapper around __call_sync_file_range with cancellation handling.
41725 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41726 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41727 function name to __call_sync_file_range.
41728 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41729 Add call_sync_file_range.
41730
41731 2011-04-01 Andreas Schwab <schwab@redhat.com>
41732
41733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41734 bits/timex.h.
41735
41736 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41737
41738 * iconv/iconv.h: Fix typo in comment.
41739 * io/fcntl.h: Likewise.
41740 * libio/stdio.h: Likewise.
41741 * posix/spawn.h: Likewise.
41742 * posix/unistd.h: Likewise.
41743 * stdlib/stdlib.h: Likewise.
41744 * time/time.h: Likewise.
41745 * wcsmbs/wchar.h: Likewise.
41746
41747 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41748 open_by_handle): Add.
41749 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41750 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41751 Augment a few comments.
41752 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41754 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41756 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41757 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41758 open_by_handle.
41759
41760 * io/fcntl.h (AT_EMPTY_PATH): Define.
41761
41762 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41763
41764 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41765 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41766 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41767 to...
41768 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41769 * Versions.def: Add GLIBC_2.14.
41770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41771 Export.
41772
41773 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41774
41775 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41776 round counter.
41777 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41778
41779 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41780
41781 [BZ #12597]
41782 * string/test-strncmp.c (do_page_test): New function.
41783 (check2): Likewise.
41784 (test_main): Call check2.
41785 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41786
41787 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41788
41789 [BZ #12587]
41790 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41791 Handle cache information in CPU leaf 4.
41792 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41793
41794 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41795
41796 [BZ #12583]
41797 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41798 character representation.
41799 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41800
41801 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41802
41803 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41804 END(__isnan) to END(__isnanf) to match function entry point/label
41805 EALIGN(__isnanf,...).
41806
41807 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41808
41809 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41810
41811 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41812
41813 [BZ #12510]
41814 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41815 copy from the symbol referenced in the relocation to initialize the
41816 used variable.
41817 Patch by Piotr Bury <pbury@goahead.com>.
41818 * elf/Makefile: Add rules to build and tst-unique3.
41819 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41820 * elf/tst-unique3.cc: New file.
41821 * elf/tst-unique3.h: New file.
41822 * elf/tst-unique3lib.cc: New file.
41823 * elf/tst-unique3lib2.cc: New file.
41824
41825 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41826
41827 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41828
41829 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41830 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41831 to _start.
41832
41833 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41834
41835 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41836 to-be-loaded object along a path to loader is ld.so.
41837
41838 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41839 Ulrich Drepper <drepper@gmail.com>
41840
41841 * sysdeps/x86_64/memset.S: After aligning destination, code
41842 branches to different locations depending on the value of
41843 misalignment, when multiarch is enabled. Fix this.
41844
41845 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41846
41847 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41848 Set _x86_64_preferred_memory_instruction for AMD processsors.
41849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41850 Set bit_Prefer_SSE_for_memop for AMD processors.
41851
41852 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41853
41854 * libio/fmemopen.c (fmemopen): Optimize a bit.
41855
41856 2011-03-03 Andreas Schwab <schwab@redhat.com>
41857
41858 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41859
41860 2011-03-03 Roland McGrath <roland@redhat.com>
41861
41862 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41863
41864 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41865
41866 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41867 __bzero_ultra1 instead of __memset_ultra1.
41868
41869 2011-02-23 Andreas Schwab <schwab@redhat.com>
41870 Ulrich Drepper <drepper@gmail.com>
41871
41872 [BZ #12509]
41873 * include/link.h (struct link_map): Add l_orig_initfini.
41874 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41875 returning unsuccessfully.
41876 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41877 close of a file loaded at startup, restore the original l_initfini
41878 list.
41879 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41880 list, store the pointer.
41881 * elf/Makefile ($(objpfx)noload-mem): New rule.
41882 (noload-ENV): Define.
41883 (tests): Add $(objpfx)noload-mem.
41884 * elf/noload.c: Include <memcheck.h>.
41885 (main): Call mtrace. Close all opened handles.
41886
41887 2011-02-17 Andreas Schwab <schwab@redhat.com>
41888
41889 [BZ #12454]
41890 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41891 dependencies are missing.
41892
41893 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41894
41895 Fix __if_freereq crash: Unlike the generic version which uses free,
41896 Hurd needs munmap.
41897 * sysdeps/mach/hurd/ifreq.h: New file.
41898
41899 2011-01-27 Petr Baudis <pasky@suse.cz>
41900 Ulrich Drepper <drepper@gmail.com>
41901
41902 [BZ 12445]#
41903 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41904 to extend_alloca().
41905 * stdio-common/bug23.c: New file.
41906 * stdio-common/Makefile (tests): Add bug23.
41907
41908 2010-09-28 Andreas Schwab <schwab@redhat.com>
41909 Ulrich Drepper <drepper@gmail.com>
41910
41911 [BZ #12489]
41912 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41913 before performing relro protection. At old place add assertion
41914 to make sure nothing changed.
41915
41916 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41917 Glauber de Oliveira Costa <glommer@gmail.com>
41918
41919 * elf/elf.h: Add new ARM TLS relocs.
41920
41921 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41922
41923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41924 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41925 cast from r3.
41926 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41927 'tests' variable.
41928 * sysdeps/wordsize-64/tst-writev.c: New file.
41929
41930 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41931
41932 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41933 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41934 insns in _dl_start to prevent a TOC reference before relocs are
41935 resolved.
41936
41937 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41938
41939 [BZ #12469]
41940 * Makeconfig: Remove RANLIB definition.
41941 * Makerules: Don't use RANLIB.
41942 * aclocal.m4: Remove ranlib test.
41943 * configure.in: No need to check for ranlib.
41944 * elf/rtld-Rules: Don't use RANLIB.
41945
41946 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41947
41948 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41949 protection macro.
41950 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41951 inclusion protection macro.
41952
41953 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41954 SIGRTMIN and SIGRTMAX and print information in that case only when
41955 SIGRTMIN is defined.
41956
41957 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41958
41959 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41960 arginfo fn returning -1.
41961
41962 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41963 and thousands string is zero terminated.
41964
41965 2011-02-03 Andreas Schwab <schwab@redhat.com>
41966
41967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41968 sysdeps/unix/sysv/linux/bits/socket.h.
41969
41970 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41971
41972 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41973 (__CPU_COUNT): Remove old macros.
41974 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41975 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41976 (__CPU_ALLOC, __CPU_FREE): Add macros.
41977 (__sched_cpualloc, __sched_cpufree): Add declarations.
41978
41979 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41980
41981 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41982 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41983 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41984 (readdhstai): Return value of addhstaiX call.
41985 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41986 (addgrbyX): Return value returned by cache_addgr.
41987 (readdgrbyname): Return value returned by addgrbyX.
41988 (readdgrbygid): Likewise.
41989 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41990 (addpwbyX): Return value returned by cache_addpw.
41991 (readdpwbyname): Return value returned by addhstbyX.
41992 (readdpwbyuid): Likewise.
41993 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41994 (addservbyX): Return value returned by cache_addserv.
41995 (readdservbyname): Return value returned by addservbyX:
41996 (readdservbyport): Likewise.
41997 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41998 (addhstbyX): Return value returned by cache_addhst.
41999 (readdhstbyname): Return value returned by addhstbyX.
42000 (readdhstbyaddr): Likewise.
42001 (readdhstbynamev6): Likewise.
42002 (readdhstbyaddrv6): Likewise.
42003 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42004 (readdinitgroups): Return value returned by addinitgroupsX.
42005 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42006 (prune_cache): Keep track of timeout value of re-added entries.
42007 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42008 * nscd/nscd.h: Adjust prototypes of readd* functions.
42009
42010 2011-02-04 Roland McGrath <roland@redhat.com>
42011
42012 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42013 (nis_stats): Likewise.
42014 * nis/nis_modify.c (nis_modify): Likewise.
42015 * nis/nis_remove.c (nis_remove): Likewise.
42016 * nis/nis_add.c (nis_add): Likewise.
42017
42018 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42019
42020 * posix/fnmatch_loop.c: Add some consts.
42021
42022 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42023
42024 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42025
42026 [BZ #12460]
42027 * config.make.in (config-cflags-novzeroupper): Define.
42028 * configure.in: Substitute libc_cv_cc_novzeroupper.
42029 * elf/Makefile (AVX-CFLAGS): Define.
42030 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42031 (CFLAGS-tst-auditmod4a.c): Likewise.
42032 (CFLAGS-tst-auditmod4b.c): Likewise.
42033 (CFLAGS-tst-auditmod6b.c): Likewise.
42034 (CFLAGS-tst-auditmod6c.c): Likewise.
42035 (CFLAGS-tst-auditmod7b.c): Likewise.
42036 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42037
42038 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42039
42040 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42041 function to the callback.
42042 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42043
42044 2011-02-02 Andreas Schwab <schwab@redhat.com>
42045
42046 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42047 of errno.
42048
42049 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42050
42051 [BZ #11724]
42052 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42053 of constructors.
42054 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42055 of destructors.
42056 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42057
42058 [BZ #11724]
42059 * elf/Makefile: Add rules to build and run new test.
42060 * elf/tst-initorder.c: New file.
42061 * elf/tst-initorder.exp: New file.
42062 * elf/tst-initordera1.c: New file.
42063 * elf/tst-initordera2.c: New file.
42064 * elf/tst-initordera3.c: New file.
42065 * elf/tst-initordera4.c: New file.
42066 * elf/tst-initorderb1.c: New file.
42067 * elf/tst-initorderb2.c: New file.
42068 * elf/tst-order-a1.c: New file.
42069 * elf/tst-order-a2.c: New file.
42070 * elf/tst-order-a3.c: New file.
42071 * elf/tst-order-a4.c: New file.
42072 * elf/tst-order-b1.c: New file.
42073 * elf/tst-order-b2.c: New file.
42074 * elf/tst-order-main.c: New file.
42075 New test case by George Gensure <werkt0@gmail.com>.
42076
42077 2010-10-01 Andreas Schwab <schwab@redhat.com>
42078
42079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42080 decoding ACE if AI_CANONIDN.
42081
42082 2011-01-18 Ulrich Drepper <drepper@gmail.com>
42083
42084 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42085
42086 2011-01-17 Ulrich Drepper <drepper@gmail.com>
42087
42088 * version.h (RELEASE): Bump for 2.13 release.
42089 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42090
42091 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42092
42093 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42094 MADV_NOHUGEPAGE.
42095 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42096 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42097 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42098 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42099 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42100 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42101
42102 * posix/getconf.c: Update copyright year.
42103 * catgets/gencat.c: Likewise.
42104 * csu/version.c: Likewise.
42105 * debug/catchsegv.sh: Likewise.
42106 * debug/xtrace.sh: Likewise.
42107 * elf/ldconfig.c: Likewise.
42108 * elf/ldd.bash.in: Likewise.
42109 * elf/sprof.c (print_version): Likewise.
42110 * iconv/iconv_prog.c: Likewise.
42111 * iconv/iconvconfig.c: Likewise.
42112 * locale/programs/locale.c: Likewise.
42113 * locale/programs/localedef.c: Likewise.
42114 * malloc/memusage.sh: Likewise.
42115 * malloc/mtrace.pl: Likewise.
42116 * nscd/nscd.c (print_version): Likewise.
42117 * nss/getent.c: Likewise.
42118
42119 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42120 PF_CAIF, and PF_ALG.
42121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42122
42123 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42124
42125 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42126 (modules-names): Use them.
42127 (ifunc-test-modules, ifunc-pie-tests): Define.
42128 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42129 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42130 (test-extras): Likewise.
42131 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42132 $(compile-command.c).
42133 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42134 (all-built-dso): Define.
42135 (check-textrel.out, check-execstack.out): Depend on it.
42136
42137 * configure.in: Don't override --enable-multi-arch.
42138
42139 2011-01-15 Ulrich Drepper <drepper@gmail.com>
42140
42141 [BZ #6812]
42142 * nscd/hstcache.c (tryagain): Define.
42143 (cache_addhst): Return tryagain not notfound for temporary errors.
42144 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42145 failed.
42146
42147 2011-01-14 Ulrich Drepper <drepper@gmail.com>
42148
42149 [BZ #10563]
42150 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42151 to make the syscall.
42152 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42153
42154 [BZ #12378]
42155 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42156 and fall back to matching as normal character if the string ends before
42157 the matching ']' is found. This is what POSIX requires.
42158 * posix/testfnm.c: Adjust test result.
42159 * posix/globtest.sh: Adjust test result. Add new test.
42160 * posix/tst-fnmatch.input: Likewise.
42161 * posix/tst-fnmatch2.c: Add new test.
42162
42163 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42164
42165 * elf/Makefile (check-execstack): Revert last change. Depend on
42166 check-execstack.h.
42167 (check-execstack.h): New target.
42168 (generated): Add check-execstack.h.
42169 * elf/check-execstack.c: Include "check-execstack.h".
42170 (main): Revert last change.
42171 (handle_file): Return zero if GNU_STACK is absent and
42172 DEFAULT_STACK_PERMS doesn't include PF_X.
42173
42174 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42175
42176 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42177 in child fails because the descriptor is already closed.
42178 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42179 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42180 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42181
42182 [BZ #12397]
42183 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42184 syscall.
42185
42186 [BZ #10484]
42187 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42188 temporary buffer used to handle multi lookups locally.
42189 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42190
42191 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42192
42193 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42194 loader is ld.so.
42195
42196 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42197
42198 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42199 alignment for SSE2.
42200
42201 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42202
42203 [BZ #12394]
42204 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42205 characters. When rounding increased number of integer digits recompute
42206 number of groups.
42207 * stdio-common/tst-grouping.c: New file.
42208 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42209
42210 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42211
42212 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42213 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42214
42215 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42216 void.
42217 * bits/select.h: Likewise.
42218
42219 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42220
42221 * po/ja.po: Update from translation team.
42222
42223 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42224
42225 [BZ #11155]
42226 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42227 implementation just like for lxstat, fxstatat, et al.
42228
42229 2010-12-27 Jim Meyering <meyering@redhat.com>
42230
42231 [BZ #12348]
42232 * posix/regexec.c (build_trtable): Return failure indication upon
42233 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42234
42235 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42236
42237 [BZ #12201]
42238 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42239 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42240 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42241 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42242
42243 [BZ #12207]
42244 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42245
42246 [BZ #12204]
42247 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42248 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42249
42250 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42251
42252 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42253 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42254 script has SORT_BY_INIT_PRIORITY.
42255 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42256 NO_CTORS_DTORS_SECTIONS is defined.
42257 * elf/soinit.c: Likewise.
42258 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42259 NO_CTORS_DTORS_SECTIONS is defined.
42260 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42261 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42262 * sysdeps/sh/init-first.c: Likewise.
42263 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42264
42265 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42266
42267 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42268 always use the slow path.
42269
42270 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42271
42272 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42273 similar rule which adds the sysdep directories to the header search in
42274 order to pick up the correct platform stackinfo.h.
42275 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42276 perform test if it is, otherwise return successfully without testing.
42277 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42278 DEFAULT_STACK_PERMS define in stackinfo.h.
42279 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42280 defined in stackinfo.h.
42281 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42282 DEFAULT_STACK_PERMS defined in stackinfo.h.
42283 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42284 * sysdeps/ia64/stackinfo.h: Likewise.
42285 * sysdeps/s390/stackinfo.h: Likewise.
42286 * sysdeps/sh/stackinfo.h: Likewise.
42287 * sysdeps/sparc/stackinfo.h: Likewise.
42288 * sysdeps/x86_64/stackinfo.h: Likewise.
42289 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42290 PF_X for powerpc64. Retain PF_X for powerpc32.
42291
42292 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42293
42294 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42295 accurately.
42296 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42297 GETDENTS_64BIT_ALIGNED.
42298
42299 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42300
42301 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42302
42303 2010-12-10 Andreas Schwab <schwab@redhat.com>
42304
42305 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42306 _GNU_SOURCE.
42307
42308 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42309 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42310 Remove __restrict.
42311 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42312 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42313
42314 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42315
42316 [BZ #11655]
42317 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42318 are initialized.
42319
42320 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42321
42322 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42323
42324 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42325
42326 * po/it.po: Update from translation team.
42327
42328 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42329
42330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42331 unused codes.
42332
42333 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42334
42335 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42336
42337 2010-11-24 Andreas Schwab <schwab@redhat.com>
42338
42339 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42340 specially.
42341 (gaih_getanswer_slice): Likewise.
42342
42343 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42344
42345 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42346
42347 2010-05-31 Petr Baudis <pasky@suse.cz>
42348
42349 [BZ #11149]
42350 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42351 silently even in the chroot mode.
42352
42353 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42354
42355 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42356 last patch a bit. Pretty printing
42357
42358 2010-05-31 Petr Baudis <pasky@suse.cz>
42359
42360 [BZ #10085]
42361 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42362 initialization of skip_initgroups_dyn.
42363
42364 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42365
42366 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42367 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42368
42369 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42370
42371 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42372
42373 2010-11-11 Andreas Schwab <schwab@redhat.com>
42374
42375 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42376 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42377 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42378 ($(objpfx)tst-fnmatch-mem): New rule.
42379 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42380 * posix/tst-fnmatch.c (main): Call mtrace.
42381
42382 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42383
42384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42385 Support Intel processor model 6 and model 0x2c.
42386
42387 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42388
42389 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42390 signed comparison.
42391
42392 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42393
42394 [BZ #12205]
42395 * string/test-strncasecmp.c (check_result): New function.
42396 (do_one_test): Use it.
42397 (check1): New function.
42398 (test_main): Use it.
42399 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42400 Support strcasecmp and strncasecmp.
42401
42402 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42403
42404 [BZ #12194]
42405 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42406 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42407
42408 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42409
42410 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42411 IFUNC support.
42412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42413 memset-x86-64.
42414 * sysdeps/x86_64/multiarch/bzero.S: New file.
42415 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42416 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42417 * sysdeps/x86_64/multiarch/memset.S: New file.
42418 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42420 Set bit_Prefer_SSE_for_memop for Intel processors.
42421 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42422 Define.
42423 (index_Prefer_SSE_for_memop): Define.
42424 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42425
42426 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42427
42428 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42429 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42430
42431 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42432
42433 [BZ #12191]
42434 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42435 (__x86_64_raw_data_cache_size_half): Likewise.
42436 (__x86_64_raw_shared_cache_size): Likewise.
42437 (__x86_64_raw_shared_cache_size_half): Likewise.
42438
42439 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42440 (__x86_64_raw_data_cache_size_half): Likewise.
42441 (__x86_64_raw_shared_cache_size): Likewise.
42442 (__x86_64_raw_shared_cache_size_half): Likewise.
42443 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42444 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42445 and __x86_64_raw_shared_cache_size_half. Round
42446 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42447 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42448 to multiple of 256 bytes.
42449
42450 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42451
42452 [BZ #12167]
42453 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42454 of inacessible symlinks. Verify result of symlink before returning it.
42455 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42456 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42457
42458 2010-10-28 Erich Ritz <erichritz@gmail.com>
42459
42460 * math/math.h (isinf): Fix typo in comment.
42461
42462 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42463
42464 * po/da.po: Update from translation team.
42465
42466 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42467
42468 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42469 is added to the list.
42470
42471 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42472 Ulrich Drepper <drepper@gmail.com>
42473
42474 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42475 the global list here. Move code to...
42476 (_dl_add_to_namespace_list): ...here. New function.
42477 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42478 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42479 * elf/dl-load.c (lose): Don't remove the element from the list.
42480 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42481 (_dl_map_object): Likewise.
42482
42483 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42484
42485 [BZ #12159]
42486 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42487 into all bytes of SSE register.
42488 Patch by Richard Li <richardpku@gmail.com>.
42489
42490 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42491
42492 [BZ #12140]
42493 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42494 perturbing.
42495
42496 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42497
42498 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42499 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42500 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42501 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42503 submachine.
42504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42505
42506 2010-10-22 Andreas Schwab <schwab@redhat.com>
42507
42508 * include/dlfcn.h (__RTLD_SECURE): Define.
42509 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42510 mode & __RTLD_SECURE instead.
42511 (open_path): Rename preloaded parameter to secure.
42512 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42513 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42514 * elf/dl-deps.c (openaux): Likewise.
42515 * elf/rtld.c (struct map_args): Remove is_preloaded.
42516 (map_doit): Don't use it.
42517 (dl_main): Likewise.
42518 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42519 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42520
42521 2010-09-09 Andreas Schwab <schwab@redhat.com>
42522
42523 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42524 (sysd-rules-targets): Remove duplicates.
42525 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42526 rtld-%.$o dependency.
42527
42528 2010-10-18 Andreas Schwab <schwab@redhat.com>
42529
42530 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42531 _dl_map_object do it.
42532
42533 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42534
42535 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42536 fast fma builtins, define the macros in the C99 standard.
42537 (FP_FAST_FMAF): Likewise.
42538 (FP_FAST_FMAL): Likewise.
42539 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42540
42541 * bits/mathdef.h: Update copyright year.
42542 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42543
42544 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42545
42546 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42547 builtins, define the macros in the C99 standard.
42548 (FP_FAST_FMAF): Likewise.
42549 (FP_FAST_FMAL): Likewise.
42550 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42551 multiply/add.
42552 (FP_FAST_FMAF): Likewise.
42553
42554 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42555
42556 [BZ #3268]
42557 * math/libm-test.inc (fma_test): Some new testcases.
42558 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42559 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42560 y and infinite z. Do multiplication by C already in long double.
42561 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42563 y and infinite z. Do bitwise or of inexact bit into u.d.
42564 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42565 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42566 * sysdeps/i386/fpu/s_fma.S: Removed.
42567 * sysdeps/i386/fpu/s_fmal.S: Removed.
42568
42569 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42570
42571 [BZ #3268]
42572 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42574 computation is not scheduled after fetestexcept. Fix value
42575 of minimum denormal long double.
42576
42577 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42578
42579 [BZ #3268]
42580 * math/libm-test.inc (fma_test): Add some more tests.
42581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42582 correctly.
42583
42584 2010-10-15 Andreas Schwab <schwab@redhat.com>
42585
42586 * scripts/data/localplt-s390-linux-gnu.data: New file.
42587 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42588
42589 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42590
42591 [BZ #3268]
42592 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42593 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42594 instead of dbl-64.
42595 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42596 inlines.
42597 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42599 if one of x and y is very large and the other is subnormal.
42600 * sysdeps/s390/fpu/s_fmaf.c: New file.
42601 * sysdeps/s390/fpu/s_fma.c: New file.
42602 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42603 * sysdeps/powerpc/fpu/s_fma.S: New file.
42604 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42605 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42606 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42607
42608 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42609
42610 [BZ #3268]
42611 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42612 fma tests.
42613 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42614 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42615 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42616 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42617 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42618 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42619 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42620
42621 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42622
42623 [BZ #12078]
42624 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42625 * posix/bug-regex31.input: Add test case.
42626
42627 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42628
42629 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42630 * posix/bug-regex31.input: New file.
42631
42632 [BZ #12078]
42633 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42634 (parse_sub_exp): Fix last change, use postorder.
42635
42636 * posix/bug-regex31.c: New file.
42637 * posix/Makefile: Add rules to build and run bug-regex31.
42638
42639 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42640
42641 [BZ #12078]
42642 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42643
42644 [BZ #12108]
42645 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42646 to have entries in sys_siglist.
42647
42648 [BZ #12093]
42649 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42650 be NULL.
42651
42652 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42653
42654 [BZ #3268]
42655 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42656 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42657 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42658 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42659 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42660 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42661 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42662 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42663 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42664 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42665 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42666 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42667 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42668 * math/ftestexcept.c (fetestexcept): Likewise.
42669 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42670 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42671 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42672 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42673 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42674 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42675 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42676
42677 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42678
42679 [BZ #12107]
42680 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42681 newline.
42682
42683 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42684
42685 * string/bug-strstr1.c: New file.
42686 * string/Makefile: Add rules to build and run bug-strstr1.
42687
42688 2010-10-05 Eric Blake <eblake@redhat.com>
42689
42690 [BZ #12092]
42691 * string/str-two-way.h (two_way_long_needle): Always clear memory
42692 when skipping input due to the shift table.
42693
42694 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42695
42696 [BZ #12005]
42697 * malloc/mcheck.c: Handle large requests.
42698
42699 [BZ #12077]
42700 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42701 for strncmp and strncasecmp.
42702 * string/stratcliff.c: Add tests for strcmp and strncmp.
42703 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42704
42705 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42706
42707 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42708 __set_fpscr.
42709
42710 2010-09-30 Andreas Jaeger <aj@suse.de>
42711
42712 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42713 (CGROUP_SUPER_MAGIC): Define.
42714 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42715 Handle btrfs and cgroup file systems.
42716 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42717 Likewise.
42718
42719 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42720
42721 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42722 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42723
42724 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42725
42726 [BZ #12067]
42727 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42728 trying to locate the ELF header.
42729
42730 2010-09-27 Andreas Schwab <schwab@redhat.com>
42731
42732 [BZ #11611]
42733 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42734 Mask out sign-bit copies when constructing f_fsid.
42735
42736 2010-09-24 Petr Baudis <pasky@suse.cz>
42737
42738 * debug/stack_chk_fail_local.c: Add missing licence exception.
42739 * debug/warning-nop.c: Likewise.
42740
42741 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42742
42743 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42744 implementing getdents64 using getdents syscall, set d_type if
42745 __ASSUME_GETDENTS32_D_TYPE.
42746
42747 2010-09-16 Andreas Schwab <schwab@redhat.com>
42748
42749 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42750 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42751
42752 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42753
42754 [BZ #12037]
42755 * posix/unistd.h: Undo change of feature selection for ftruncate from
42756 2010-01-11.
42757
42758 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42759
42760 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42761 detection.
42762
42763 2010-09-20 Andreas Schwab <schwab@redhat.com>
42764
42765 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42766 fanotify_mark.
42767 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42768
42769 2010-09-14 Andreas Schwab <schwab@redhat.com>
42770
42771 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42772 variables after CHECK_SP call.
42773 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42774
42775 2010-09-13 Andreas Schwab <schwab@redhat.com>
42776 Ulrich Drepper <drepper@redhat.com>
42777
42778 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42779 re-relocationg ld.so.
42780 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42781 _dl_init_paths call.
42782 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42783 here anymore.
42784
42785 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42786
42787 * resolv/res_init.c (__res_vinit): Count the default server we added.
42788
42789 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42790 Ulrich Drepper <drepper@redhat.com>
42791
42792 [BZ #11968]
42793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42794 (____longjmp_chk): Use %ebx for saving value across system call.
42795 Add unwind info.
42796
42797 2010-09-06 Andreas Schwab <schwab@redhat.com>
42798
42799 * manual/Makefile: Don't mix pattern rules with normal rules.
42800
42801 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42802
42803 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42804 operation.
42805 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42806 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42807 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42808 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42809 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42810 Likewise.
42811
42812 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42813
42814 [BZ #11979]
42815 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42816 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42817
42818 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42819
42820 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42821 * sysdeps/x86_64/addmul_1.S: Likewise.
42822 * sysdeps/x86_64/lshift.S: Likewise.
42823 * sysdeps/x86_64/mul_1.S: Likewise.
42824 * sysdeps/x86_64/rshift.S: Likewise.
42825 * sysdeps/x86_64/sub_n.S: Likewise.
42826 * sysdeps/x86_64/submul_1.S: Likewise.
42827
42828 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42829
42830 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42831 Define __sched_param instead of SCHED_* and sched_param when
42832 <bits/sched.h> is included with __need_schedparam defined.
42833 * bits/sched.h [__need_schedparam]
42834 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42835 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42836 (__defined_schedparam): Define to 1.
42837 (__sched_param): New structure, identical to sched_param.
42838 (__need_schedparam): Undefine.
42839
42840 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42841
42842 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42843 (epoll_create1): Declare.
42844
42845 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42846
42847 2010-08-31 Andreas Schwab <schwab@redhat.com>
42848
42849 [BZ #7066]
42850 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42851 shifting retval into place.
42852
42853 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42854
42855 * nis/rpcsvc/nis.h: Update copyright notice.
42856 * nis/rpcsvc/nis.x: Likewise.
42857 * nis/rpcsvc/nis_callback.h: Likewise.
42858 * nis/rpcsvc/nis_callback.x: Likewise.
42859 * nis/rpcsvc/nis_object.x: Likewise.
42860 * nis/rpcsvc/nis_tags.h: Likewise.
42861 * nis/rpcsvc/yp.h: Likewise.
42862 * nis/rpcsvc/yp.x: Likewise.
42863 * nis/rpcsvc/ypupd.h: Likewise.
42864 * nis/yp_xdr.c: Likewise.
42865 * nis/ypupdate_xdr.c: Likewise.
42866
42867 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42868 mainly the body of pmap_getport. Add parameters to specify timeouts.
42869 (pmap_getport): Use __libc_rpc_getport.
42870 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42871 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42872 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42873
42874 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42875
42876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42877 fanotify_mark.
42878
42879 2010-08-27 Roland McGrath <roland@redhat.com>
42880
42881 * sysdeps/i386/i686/multiarch/Makefile
42882 (CFLAGS-varshift.c): New variable.
42883
42884 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42885
42886 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42887 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42888
42889 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42890
42891 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42892
42893 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42894
42895 * sysdeps/x86_64/strlen.S: Unroll the loop.
42896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42897 strlen-sse2 strlen-sse2-bsf.
42898 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42899 __strlen_no_bsf if bit_Slow_BSF is set.
42900 (__strlen_sse42): Removed.
42901 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42902 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42903
42904 2010-08-25 Roland McGrath <roland@redhat.com>
42905
42906 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42907 * sysdeps/x86_64/multiarch/varshift.c: New file.
42908 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42909 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42910 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42911 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42912
42913 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42914
42915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42916 strlen-sse2 strlen-sse2-bsf.
42917 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42918 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42919 (__strlen_sse2): Removed.
42920 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42921 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42923 bit_Slow_BSF for Atom.
42924 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42925 (index_Slow_BSF): Define.
42926 (HAS_SLOW_BSF): Define.
42927
42928 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42929
42930 [BZ #10851]
42931 * resolv/res_init.c (__res_vinit): When no server address at all
42932 is given default to loopback.
42933
42934 2010-08-24 Roland McGrath <roland@redhat.com>
42935
42936 * configure.in: Remove config-name.h generation.
42937 * configure: Regenerated.
42938 * config-name.in: File removed.
42939 * scripts/config-uname.sh: New file.
42940 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42941 ($(objdir)config-name.h): New target.
42942
42943 * sunrpc/rpc_parse.h: Avoid nested comment.
42944
42945 2010-08-24 Richard Henderson <rth@redhat.com>
42946 Ulrich Drepper <drepper@redhat.com>
42947 H.J. Lu <hongjiu.lu@intel.com>
42948
42949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42951 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42952 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42953 _mm_alignr_epi8 with _mm_loadu_si128.
42954 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42955 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42956 (__m128i_shift_right): Removed.
42957 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42958 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42959 * sysdeps/x86_64/multiarch/varshift.h: New file.
42960 * sysdeps/x86_64/multiarch/varshift.S: New file.
42961
42962 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42963
42964 * configure.in: Move assembler checks to before sysdep dir checking.
42965
42966 2010-08-20 Petr Baudis <pasky@suse.cz>
42967
42968 * LICENSES: Sync the sunrpc license.
42969
42970 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42971
42972 * sunrpc/auth_des.c: Update copyright notice once again.
42973 * sunrpc/auth_none.c: Likewise.
42974 * sunrpc/auth_unix.c: Likewise.
42975 * sunrpc/authdes_prot.c: Likewise.
42976 * sunrpc/authuxprot.c: Likewise.
42977 * sunrpc/bindrsvprt.c: Likewise.
42978 * sunrpc/clnt_gen.c: Likewise.
42979 * sunrpc/clnt_perr.c: Likewise.
42980 * sunrpc/clnt_raw.c: Likewise.
42981 * sunrpc/clnt_simp.c: Likewise.
42982 * sunrpc/clnt_tcp.c: Likewise.
42983 * sunrpc/clnt_udp.c: Likewise.
42984 * sunrpc/clnt_unix.c: Likewise.
42985 * sunrpc/des_crypt.c: Likewise.
42986 * sunrpc/des_soft.c: Likewise.
42987 * sunrpc/get_myaddr.c: Likewise.
42988 * sunrpc/getrpcport.c: Likewise.
42989 * sunrpc/key_call.c: Likewise.
42990 * sunrpc/key_prot.c: Likewise.
42991 * sunrpc/openchild.c: Likewise.
42992 * sunrpc/pm_getmaps.c: Likewise.
42993 * sunrpc/pm_getport.c: Likewise.
42994 * sunrpc/pmap_clnt.c: Likewise.
42995 * sunrpc/pmap_prot.c: Likewise.
42996 * sunrpc/pmap_prot2.c: Likewise.
42997 * sunrpc/pmap_rmt.c: Likewise.
42998 * sunrpc/rpc/auth.h: Likewise.
42999 * sunrpc/rpc/auth_unix.h: Likewise.
43000 * sunrpc/rpc/clnt.h: Likewise.
43001 * sunrpc/rpc/des_crypt.h: Likewise.
43002 * sunrpc/rpc/key_prot.h: Likewise.
43003 * sunrpc/rpc/netdb.h: Likewise.
43004 * sunrpc/rpc/pmap_clnt.h: Likewise.
43005 * sunrpc/rpc/pmap_prot.h: Likewise.
43006 * sunrpc/rpc/pmap_rmt.h: Likewise.
43007 * sunrpc/rpc/rpc.h: Likewise.
43008 * sunrpc/rpc/rpc_des.h: Likewise.
43009 * sunrpc/rpc/rpc_msg.h: Likewise.
43010 * sunrpc/rpc/svc.h: Likewise.
43011 * sunrpc/rpc/svc_auth.h: Likewise.
43012 * sunrpc/rpc/types.h: Likewise.
43013 * sunrpc/rpc/xdr.h: Likewise.
43014 * sunrpc/rpc_clntout.c: Likewise.
43015 * sunrpc/rpc_cmsg.c: Likewise.
43016 * sunrpc/rpc_common.c: Likewise.
43017 * sunrpc/rpc_cout.c: Likewise.
43018 * sunrpc/rpc_dtable.c: Likewise.
43019 * sunrpc/rpc_hout.c: Likewise.
43020 * sunrpc/rpc_main.c: Likewise.
43021 * sunrpc/rpc_parse.c: Likewise.
43022 * sunrpc/rpc_parse.h: Likewise.
43023 * sunrpc/rpc_prot.c: Likewise.
43024 * sunrpc/rpc_sample.c: Likewise.
43025 * sunrpc/rpc_scan.c: Likewise.
43026 * sunrpc/rpc_scan.h: Likewise.
43027 * sunrpc/rpc_svcout.c: Likewise.
43028 * sunrpc/rpc_tblout.c: Likewise.
43029 * sunrpc/rpc_util.c: Likewise.
43030 * sunrpc/rpc_util.h: Likewise.
43031 * sunrpc/rpcinfo.c: Likewise.
43032 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43033 * sunrpc/rpcsvc/key_prot.x: Likewise.
43034 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43035 * sunrpc/rpcsvc/mount.x: Likewise.
43036 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43037 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43038 * sunrpc/rpcsvc/rex.x: Likewise.
43039 * sunrpc/rpcsvc/rstat.x: Likewise.
43040 * sunrpc/rpcsvc/rusers.x: Likewise.
43041 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43042 * sunrpc/rpcsvc/spray.x: Likewise.
43043 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43044 * sunrpc/rtime.c: Likewise.
43045 * sunrpc/svc.c: Likewise.
43046 * sunrpc/svc_auth.c: Likewise.
43047 * sunrpc/svc_authux.c: Likewise.
43048 * sunrpc/svc_raw.c: Likewise.
43049 * sunrpc/svc_run.c: Likewise.
43050 * sunrpc/svc_simple.c: Likewise.
43051 * sunrpc/svc_tcp.c: Likewise.
43052 * sunrpc/svc_udp.c: Likewise.
43053 * sunrpc/svc_unix.c: Likewise.
43054 * sunrpc/svcauth_des.c: Likewise.
43055 * sunrpc/xcrypt.c: Likewise.
43056 * sunrpc/xdr.c: Likewise.
43057 * sunrpc/xdr_array.c: Likewise.
43058 * sunrpc/xdr_float.c: Likewise.
43059 * sunrpc/xdr_mem.c: Likewise.
43060 * sunrpc/xdr_rec.c: Likewise.
43061 * sunrpc/xdr_ref.c: Likewise.
43062 * sunrpc/xdr_sizeof.c: Likewise.
43063 * sunrpc/xdr_stdio.c: Likewise.
43064
43065 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43066 handling.
43067
43068 2010-08-19 Andreas Schwab <schwab@redhat.com>
43069
43070 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43071
43072 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
43073
43074 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43075 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43076 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43077 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43078 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43079 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43080 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43081 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43082 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43083 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43084 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43085 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43086 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43087 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43088
43089 2010-07-26 Anton Blanchard <anton@samba.org>
43090
43091 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43092 * malloc/arena.c (heap_trim): Likewise.
43093
43094 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43095
43096 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43097 here. Not...
43098 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43099 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43100
43101 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43102
43103 * sysdeps/i386/elf/Makefile: New file.
43104
43105 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43106
43107 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43108 from fanotify_init.
43109 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43111
43112 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43113
43114 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43115 of strncasecmp_l.
43116 * sysdeps/multiarch/strcmp.S: Likewise.
43117
43118 2010-08-14 Ulrich Drepper <drepper@redhat.com>
43119
43120 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43121 strncase_l-nonascii.
43122 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43123 Add strncase_l-ssse3.
43124 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43125 * sysdeps/x86_64/strcmp.S: Likewise.
43126 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43127 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43128 * sysdeps/x86_64/strncase.S: New file.
43129 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43130 * sysdeps/x86_64/strncase_l.S: New file.
43131 * string/Makefile (strop-tests): Add strncasecmp.
43132 * string/test-strncasecmp.c: New file.
43133
43134 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43135 warning.
43136
43137 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43138 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43139
43140 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43141
43142 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43143
43144 2010-08-12 Ulrich Drepper <drepper@redhat.com>
43145
43146 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43147 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43148 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43149
43150 2010-05-01 Alan Modra <amodra@gmail.com>
43151
43152 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43153 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43154 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43155 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43156 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43157 tidying. Don't tail-call __sigjmp_save for static lib.
43158 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43159 save location.
43160 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43161 (CALL_MCOUNT): Add eh info, and nop after bl.
43162 (TAIL_CALL_SYSCALL_ERROR): New macro.
43163 (PSEUDO_RET): Use it.
43164 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43165 Correct save location of integer regs and cr.
43166 (_dl_profile_resolve): Correct cr save location. Delete nops
43167 after bl when SHARED. Reduce cfi size a little by better
43168 placement of cfi directives.
43169 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43170 make a stack frame. Instead use parm save area as a temp.
43171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43172 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43174 Don't make a stack frame for parent, use parm save area.
43175 Increase child stack frame to 112 bytes. Don't save unused reg,
43176 and adjust reg usage. Set up cfi on error recovery and
43177 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43179 (__makecontext): Add dummy nop after jump to exit.
43180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43181 Use correct parm save area and cr save, reduce stack frame.
43182 Correct cfi for possible PSEUDO_RET frame setup.
43183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43184 Branch to local label emitted by PSEUDO_RET rather than
43185 __syscall_error.
43186
43187 2010-08-12 Andreas Schwab <schwab@redhat.com>
43188
43189 [BZ #11904]
43190 * locale/programs/locale.c (print_assignment): New function.
43191 (show_locale_vars): Use it.
43192
43193 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43194
43195 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43196 field.
43197 (struct statfs64): Likewise.
43198 (_STATFS_F_FLAGS): Define.
43199 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43200 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43201 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43202 (ST_VALID): Define locally.
43203 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43204 __statvfs_getflags, use the provided value.
43205 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43206 __ASSUME_STATFS_F_FLAGS.
43207
43208 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43209
43210 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43211 Add sys/fanotify.h.
43212 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43213 fanotify_mask for GLIBC_2.13.
43214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43215 fanotify_init and fanotify_mark.
43216 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43217 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43218
43219 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43220 Add prlimit.
43221 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43222 prlimit64 for GLIBC_2.13.
43223 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43224 prlimit64.
43225 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43226 syscall.
43227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43228 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43229 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43230 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43231 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43232 add prlimit alias.
43233 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43234
43235 [BZ #11903]
43236 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43237 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43238
43239 * nss/Makefile: Add rules to build and run tst-nss-test1.
43240 * shlib-versions: Add entry for libnss_test1.
43241 * nss/nss_test1.c: New file.
43242 * nss/tst-nss-test1.c: New file.
43243
43244 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43245 (__nss_configure_lookup): Set appropriate entry in
43246 __nss_configure_lookup to true.
43247 * nss/nsswitch.h: Define enum with indeces of databases in
43248 databases and __nss_database_custom arrays. Declare
43249 __nss_database_custom.
43250 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43251 to avoid using nscd when custom rules are installed.
43252 * nss/getXXbyYY_r.c: Likewise.
43253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43254
43255 * nss/nss_files/files-parse.c: Whitespace fixes.
43256
43257 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43258
43259 [BZ #11883]
43260 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43261 * posix/fnmatch_loop.c: Likewise.
43262
43263 2010-07-17 Andi Kleen <ak@linux.intel.com>
43264
43265 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43266 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43267 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43268 * Versions.def [GLIBC_2.13]: Add.
43269
43270 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43271
43272 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43273 Also fail if tpwd after pwuid call is NULL.
43274
43275 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43276
43277 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43278 when converting to ms.
43279
43280 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43281
43282 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43283 EOPNOTSUPP errors with ENOTTY.
43284 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43285 EOPNOTSUPP errors with ENOTTY.
43286
43287 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43288
43289 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43290 Add strcasecmp_l-ssse3.
43291 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43292 strcasecmp.
43293 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43294 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43295 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43296
43297 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43298
43299 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43300
43301 * string/Makefile (strop-tests): Add strcasecmp.
43302 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43303 strcasecmp_l-nonascii.
43304 (gen-as-const-headers): Add locale-defines.sym.
43305 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43306 * sysdeps/x86_64/strcasecmp.S: New file.
43307 * sysdeps/x86_64/strcasecmp_l.S: New file.
43308 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43309 * sysdeps/x86_64/locale-defines.sym: New file.
43310 * string/test-strcasecmp.c: New file.
43311
43312 * string/test-strcasestr.c: Test both ends of the range of characters.
43313 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43314
43315 2010-07-29 Roland McGrath <roland@redhat.com>
43316
43317 [BZ #11856]
43318 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43319
43320 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43321
43322 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43323 for ld.so.
43324
43325 2010-07-27 Andreas Schwab <schwab@redhat.com>
43326
43327 * manual/memory.texi (Malloc Tunable Parameters): Document
43328 M_PERTURB.
43329
43330 2010-07-26 Roland McGrath <roland@redhat.com>
43331
43332 [BZ #11840]
43333 * configure.in (-fgnu89-inline check): Set and substitute
43334 gnu89_inline, not libc_cv_gnu89_inline.
43335 * configure: Regenerated.
43336 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43337
43338 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43339
43340 * string/test-strnlen.c: New file.
43341 * string/Makefile (strop-tests): Add strnlen.
43342 * string/tester.c (test_strnlen): Add a few more test cases.
43343 * string/tst-strlen.c: Better error reporting.
43344
43345 * sysdeps/x86_64/strnlen.S: New file.
43346
43347 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43348
43349 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43350 lower-latency instructions.
43351
43352 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43353
43354 * string/test-strcasestr.c: New file.
43355 * string/test-strstr.c: New file.
43356 * string/Makefile (strop-tests): Add strstr and strcasestr.
43357 * string/str-two-way.h: Don't undefine MAX.
43358 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43359
43360 2010-07-21 Andreas Schwab <schwab@redhat.com>
43361
43362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43363 strcasestr-nonascii.
43364 (CFLAGS-strcasestr-nonascii.c): Define.
43365 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43366 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43367 Remove unused attribute.
43368
43369 2010-07-20 Roland McGrath <roland@redhat.com>
43370
43371 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43372 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43373 ld.so.cache was broken. With it, there is no way to disable dsocaps
43374 like LD_HWCAP_MASK can disable hwcaps.
43375
43376 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43377
43378 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43379
43380 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43381
43382 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43383 call in strcasestr.
43384 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43385 __strcasestr_sse42_nonascii.
43386 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43387 strcasestr-nonascii.c.
43388 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43389
43390 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43391
43392 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43393 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43394 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43395 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43396
43397 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43398
43399 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43400 fcntl.
43401
43402 2010-07-06 Andreas Schwab <schwab@redhat.com>
43403
43404 [BZ #11577]
43405 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43406 dl_signal_cerror.
43407
43408 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43409
43410 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43411 _PC_PIPE_BUF using F_GETPIPE_SZ.
43412
43413 2010-07-05 Roland McGrath <roland@redhat.com>
43414
43415 * manual/arith.texi (Rounding Functions): Fix rint description
43416 implicit in round description.
43417
43418 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43419
43420 * elf/Makefile: Fix linking for a few tests to make recent linker
43421 happy.
43422
43423 2010-06-30 Andreas Schwab <schwab@redhat.com>
43424
43425 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43426 $(common-objpfx)libc_nonshared.a.
43427
43428 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43429
43430 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43431 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43432 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43433 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43434 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43435 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43436 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43437 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43452 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43453 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43454 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43455 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43456 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43457 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43458 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43459 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43460 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43461 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43462 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43463 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43478
43479 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43480
43481 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43482 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43483 * string/memmove.c (memmove): Renamed to ...
43484 (MEMMOVE): ...this. Default to memmove.
43485 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43486 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43487 (END_CHK): Define.
43488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43489 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43490 mempcpy-ssse3-back memmove-ssse3-back.
43491 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43492 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43493 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43494 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43495 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43496 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43497 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43498 * sysdeps/x86_64/multiarch/memmove.c: New file.
43499 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43500 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43501 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43502 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43503 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43504 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43505 Define.
43506 (index_Fast_Copy_Backward): Define.
43507 (HAS_ARCH_FEATURE): Define.
43508 (HAS_FAST_REP_STRING): Define.
43509 (HAS_FAST_COPY_BACKWARD): Define.
43510
43511 2010-06-21 Andreas Schwab <schwab@redhat.com>
43512
43513 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43514 Restore proper fallback handling.
43515
43516 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43517
43518 [BZ #11701]
43519 * posix/group_member.c (__group_member): Correct checking loop.
43520
43521 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43522 OOM in getpwuid_r correctly. Return error number when the caller
43523 should return, otherwise -1.
43524 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43525 call returning > 0 value.
43526 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43527
43528 2010-06-07 Andreas Schwab <schwab@redhat.com>
43529
43530 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43531 libc_nonshared.a from targets in modules-names.
43532
43533 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43534
43535 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43536 requires it.
43537
43538 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43539
43540 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43541 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43542 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43544
43545 2010-06-02 Andreas Schwab <schwab@redhat.com>
43546
43547 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43548
43549 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43550
43551 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43552 and F_GETPIPE_SZ.
43553 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43554 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43557 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43558 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43559
43560 2010-06-14 Roland McGrath <roland@redhat.com>
43561
43562 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43563
43564 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43565
43566 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43567 __REDIRECT followed by __THROW.
43568 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43569 * posix/getopt.h (getopt): Likewise.
43570
43571 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43572
43573 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43574 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43575 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43576 in AT_FLAGS.
43577 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43578 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43579
43580 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43581
43582 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43583
43584 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43585
43586 [BZ #11640]
43587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43588 Properly check family and model.
43589
43590 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43591
43592 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43593
43594 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43595
43596 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43597
43598 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43599
43600 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43601 symbol reference.
43602
43603 2010-05-19 Andreas Schwab <schwab@redhat.com>
43604
43605 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43606 symbol reference.
43607
43608 2010-05-21 Andreas Schwab <schwab@redhat.com>
43609
43610 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43611 and internal_recvmmsg.
43612 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43613 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43614 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43615 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43616
43617 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43618 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43619 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43620
43621 2010-05-20 Andreas Schwab <schwab@redhat.com>
43622
43623 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43624
43625 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43626
43627 POWER7 optimizations.
43628 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43629 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43630
43631 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43632
43633 * version.h: Update for 2.13 development version.
43634
43635 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43636
43637 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43638 exceptions. Return 0.
43639
43640 2010-05-07 Roland McGrath <roland@redhat.com>
43641
43642 * elf/ldconfig.c (main): Add a const.
43643
43644 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43645
43646 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43647 (args_options): Add no-idn option.
43648 (ahosts_keys_int): Add idn_flags to ai_flags.
43649 (parse_option): Handle 'i' option to clear idn_flags.
43650
43651 * malloc/malloc.c (_int_free): Possible race in the most recently
43652 added check. Only act on the data if no current modification
43653 happened.
43654
43655 See ChangeLog.17 for earlier changes.